Changeset 3374166
- Timestamp:
- 10/07/2025 07:48:14 AM (3 months ago)
- Location:
- frontend-editor-acf/trunk
- Files:
-
- 5 edited
-
assets/feacf-frontend.css (modified) (1 diff)
-
assets/feacf-frontend.js (modified) (1 diff)
-
frontend-editor-acf.php (modified) (2 diffs)
-
includes/Ajax/SaveACFData.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
frontend-editor-acf/trunk/assets/feacf-frontend.css
r3366230 r3374166 1 .feacf-floating-btn[data-v-dd21ace5]{position:fixed;right:-45px;top:50%;transform:translateY(-50%) rotate(-90deg);background:#2563eb;color:#fff;padding:16px 20px;border-radius:8px 8px 0 0;box-shadow:0 2px 8px #0000001f;z-index:9999;border:none;cursor:pointer;display:flex;align-items:center}.feacf-btn-content[data-v-dd21ace5]{display:flex;align-items:center;gap:8px}.feacf-pen-icon[data-v-dd21ace5]{margin-right:4px}.feacf-btn[data-v-478304e7]{background:#f3f4f6;border-radius:6px;padding:6px 16px;font-size:15px;color:#222;border:1px solid #e5e7eb;cursor:pointer;transition:background .2s}.feacf-btn[data-v-478304e7]:hover{background:#e5e7eb}.feacf-image-preview[data-v-478304e7]{margin-top:10px;position:relative;display:inline-block}.feacf-icon-btn[data-v-478304e7]{background:rgba(255,255,255,.85);border:1px solid #e5e7eb;border-radius:50%;padding:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 4px #0000000a;transition:background .2s}.feacf-icon-btn[data-v-478304e7]:hover{background:#f3f4f6!important}.fe-acf-colorpicker-action-row[data-v-30c4078f]{display:flex;flex-direction:row;justify-content:flex-end;gap:5px;margin-top:8px}.fe-acf-colorpicker-popup-panel[data-v-30c4078f]{position:relative;width:200px;background:#fff;padding:5px;border-radius:5px;border:1px solid #efefef}.fe-acf-colorpicker-popup-close-icon[data-v-30c4078f]{margin-top:8px;padding:6px 10px;border:1px solid #e5e7eb;border-radius:4px;background:#f3f4f6;color:#444;font-size:13px;cursor:pointer;line-height:1}.fe-acf-colorpicker-popup-input-row[data-v-30c4078f]{display:flex;align-items:center;gap:8px;margin:8px 0 0}.fe-acf-colorpicker-root[data-v-30c4078f]{display:flex;flex-direction:column;gap:12px;max-width:340px;font-family:inherit}.fe-acf-colorpicker-satbox[data-v-30c4078f]{width:180px;height:120px;border-radius:6px;border:1px solid #e5e7eb;position:relative;cursor:crosshair;background:linear-gradient(to right,#fff,red),linear-gradient(to top,#000,transparent);margin-bottom:8px;overflow:hidden}.fe-acf-colorpicker-satbox-cursor[data-v-30c4078f]{position:absolute;width:16px;height:16px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 2px #0003;pointer-events:none;transform:translate(-8px,-8px)}.fe-acf-colorpicker-slider-row[data-v-30c4078f]{display:flex;align-items:center;gap:8px;margin-bottom:2px}.fe-acf-colorpicker-slider-label[data-v-30c4078f]{width:38px;font-size:13px;color:#444}.fe-acf-colorpicker-slider[data-v-30c4078f]{height:14px;width:180px;border-radius:6px;position:relative;cursor:pointer;background:#eee;overflow:hidden}.fe-acf-colorpicker-hue[data-v-30c4078f]{background:linear-gradient(to right,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}.fe-acf-colorpicker-slider-cursor[data-v-30c4078f]{position:absolute;top:50%;width:14px;height:14px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 2px #0003;pointer-events:none;transform:translate(-7px,-50%)}.fe-acf-colorpicker-preview-row[data-v-30c4078f]{display:flex;align-items:center;gap:4px;margin-top:8px}.fe-acf-colorpicker-preview-bg[data-v-30c4078f]{width:28px;height:28px;border-radius:4px;background:#fff;display:flex;align-items:center;justify-content:center;border:1px solid #efefef}.fe-acf-colorpicker-preview[data-v-30c4078f]{width:24px;height:24px;border-radius:4px;border:1px solid #e5e7eb}.fe-acf-colorpicker-input[data-v-30c4078f]{width:70px;padding:4px 8px;border:1px solid #e5e7eb;border-radius:4px;font-size:11px}.fe-acf-colorpicker-format[data-v-30c4078f]{margin-left:4px;padding:4px 6px;border:1px solid #e5e7eb;border-radius:4px;font-size:11px;background:#fafbfc;width:60px;height:28px}.fe-acf-colorpicker-alpha-input[data-v-30c4078f]{width:28px;padding:4px 6px;border:1px solid #e5e7eb;border-radius:4px;font-size:11px;margin-left:4px;height:28px}.fe-acf-colorpicker-alpha-percent[data-v-30c4078f]{font-size:13px;color:#444;margin-left:2px}.fe-acf-colorpicker-clear[data-v-30c4078f]{margin-top:8px;padding:6px 10px;border:1px solid #e5e7eb;border-radius:4px;background:#f3f4f6;color:#444;font-size:13px;cursor:pointer;line-height:1}.fe-acf-colorpicker-clear[data-v-30c4078f]:hover{background:#ffeaea}.feacf-btn[data-v- 59d52de0]{background:#f3f4f6;border-radius:6px;padding:6px 16px;font-size:15px;color:#222;border:1px solid #e5e7eb;cursor:pointer;transition:background .2s}svg.fe-acf-success-icon[data-v-12f7ebaa]{stroke:green!important}svg.fe-acf-fail-icon[data-v-12f7ebaa]{stroke:red!important}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.fe-acf-fixed{position:fixed}.fe-acf-absolute{position:absolute}.fe-acf-relative{position:relative}.fe-acf-sticky{position:sticky}.fe-acf-inset-0{top:0;right:0;bottom:0;left:0}.fe-acf-bottom-0{bottom:0}.fe-acf-left-0\.5{left:.125rem}.fe-acf-left-1{left:.25rem}.fe-acf-right-0{right:0}.fe-acf-right-1{right:.25rem}.fe-acf-right-2{right:.5rem}.fe-acf-top-0{top:0}.fe-acf-top-0\.5{top:.125rem}.fe-acf-top-1{top:.25rem}.fe-acf-z-50{z-index:50}.fe-acf-z-\[10000001\]{z-index:10000001}.fe-acf-z-\[10000002\]{z-index:10000002}.fe-acf-mx-auto{margin-left:auto;margin-right:auto}.fe-acf-mb-0{margin-bottom:0}.fe-acf-mb-1{margin-bottom:.25rem}.fe-acf-mb-4{margin-bottom:1rem}.fe-acf-ml-2{margin-left:.5rem}.fe-acf-ml-4{margin-left:1rem}.fe-acf-mt-4{margin-top:1rem}.fe-acf-block{display:block}.fe-acf-flex{display:flex}.fe-acf-h-10{height:2.5rem}.fe-acf-h-12{height:3rem}.fe-acf-h-16{height:4rem}.fe-acf-h-4{height:1rem}.fe-acf-h-5{height:1.25rem}.fe-acf-h-6{height:1.5rem}.fe-acf-h-96{height:24rem}.fe-acf-h-full{height:100%}.fe-acf-w-10{width:2.5rem}.fe-acf-w-12{width:3rem}.fe-acf-w-16{width:4rem}.fe-acf-w-4{width:1rem}.fe-acf-w-5{width:1.25rem}.fe-acf-w-96{width:24rem}.fe-acf-w-full{width:100%}.fe-acf-max-w-xl{max-width:36rem}.fe-acf-flex-1{flex:1 1 0%}.fe-acf-translate-x-6{--tw-translate-x: 1.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes fe-acf-spin{to{transform:rotate(360deg)}}.fe-acf-animate-spin{animation:fe-acf-spin 1s linear infinite}.fe-acf-cursor-pointer{cursor:pointer}.fe-acf-flex-col{flex-direction:column}.fe-acf-flex-wrap{flex-wrap:wrap}.fe-acf-items-center{align-items:center}.fe-acf-justify-center{justify-content:center}.fe-acf-justify-between{justify-content:space-between}.fe-acf-gap-2{gap:.5rem}.fe-acf-gap-4{gap:1rem}.fe-acf-space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.fe-acf-overflow-scroll{overflow:scroll}.fe-acf-overflow-y-scroll{overflow-y:scroll}.fe-acf-rounded{border-radius:.25rem}.fe-acf-rounded-full{border-radius:9999px}.fe-acf-rounded-lg{border-radius:.5rem}.fe-acf-border{border-width:1px}.fe-acf-border-0{border-width:0px}.fe-acf-border-b{border-bottom-width:1px}.fe-acf-border-l{border-left-width:1px}.fe-acf-border-t{border-top-width:1px}.fe-acf-border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.fe-acf-bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity, 1))}.fe-acf-bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.fe-acf-bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.fe-acf-bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.fe-acf-bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.fe-acf-bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.fe-acf-bg-transparent{background-color:transparent}.fe-acf-bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.fe-acf-bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity, 1))}.fe-acf-bg-opacity-80{--tw-bg-opacity: .8}.fe-acf-p-1{padding:.25rem}.fe-acf-p-4{padding:1rem}.fe-acf-p-6{padding:1.5rem}.fe-acf-px-2{padding-left:.5rem;padding-right:.5rem}.fe-acf-px-3{padding-left:.75rem;padding-right:.75rem}.fe-acf-px-4{padding-left:1rem;padding-right:1rem}.fe-acf-px-6{padding-left:1.5rem;padding-right:1.5rem}.fe-acf-py-1{padding-top:.25rem;padding-bottom:.25rem}.fe-acf-py-2{padding-top:.5rem;padding-bottom:.5rem}.fe-acf-py-4{padding-top:1rem;padding-bottom:1rem}.fe-acf-pb-32{padding-bottom:8rem}.fe-acf-pr-10{padding-right:2.5rem}.fe-acf-text-center{text-align:center}.fe-acf-text-2xl{font-size:1.5rem;line-height:2rem}.fe-acf-text-lg{font-size:1.125rem;line-height:1.75rem}.fe-acf-text-xl{font-size:1.25rem;line-height:1.75rem}.fe-acf-text-xs{font-size:.75rem;line-height:1rem}.fe-acf-font-bold{font-weight:700}.fe-acf-font-semibold{font-weight:600}.fe-acf-text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.fe-acf-text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.fe-acf-text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.fe-acf-text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.fe-acf-text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.fe-acf-text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.fe-acf-text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.fe-acf-text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.fe-acf-text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.fe-acf-text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.fe-acf-text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.fe-acf-text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.fe-acf-text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.fe-acf-text-yellow-700{--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity, 1))}.fe-acf-opacity-25{opacity:.25}.fe-acf-opacity-75{opacity:.75}.fe-acf-shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.fe-acf-shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.fe-acf-outline-none{outline:2px solid transparent;outline-offset:2px}.fe-acf-transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fe-acf-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fe-acf-transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fe-acf-duration-300{transition-duration:.3s}:root{--feacf-primary-color: #2563eb;--feacf-secondary-color: #f3f4f6;--feacf-text-color: #000000;--feacf-label-color: #374151}.fe-acf-panel{z-index:9999999;font-size:16px!important}.media-modal{z-index:10000000!important}#fe-acf-app .fe-acf-panel label{color:var(--feacf-label-color);font-weight:600;font-size:16px!important}#fe-acf-app .fe-acf-panel input[type=text],#fe-acf-app .fe-acf-panel input[type=number],#fe-acf-app .fe-acf-panel input[type=email],#fe-acf-app .fe-acf-panel input[type=url],#fe-acf-app .fe-acf-panel input[type=password],#fe-acf-app .fe-acf-panel input[type=search],#fe-acf-app .fe-acf-panel input[type=reset],#fe-acf-app .fe-acf-panel input[type=time],#fe-acf-app .fe-acf-panel input[type=date]{background-color:#fff;border:1px solid #e1e8ed;box-shadow:unset;border-radius:3px;width:100%;color:var(--feacf-text-color)}#fe-acf-app .fe-acf-panel textarea{border:1px solid #e1e8ed;border-radius:3px;height:170px;box-shadow:unset;background-color:#fff;width:100%}#fe-acf-app .fe-acf-panel input[type=range]{width:unset;margin:unset;-webkit-appearance:auto;box-shadow:unset}#fe-acf-app .fe-acf-panel button{border:unset;box-shadow:unset}#fe-acf-app .fe-acf-panel .feacf-file-upload-button:hover,#fe-acf-app .fe-acf-panel .feacf-file-edit-button:hover,#fe-acf-app .fe-acf-panel .feacf-file-delete-button:hover,#fe-acf-app .fe-acf-panel button:hover{background-color:unset;color:#000}#fe-acf-app .fe-acf-panel button.fe-acf-active:hover,#fe-acf-app .fe-acf-panel button.fe-acf-active:focus{background-color:color-mix(in srgb,var(--feacf-primary-color) 80%,black);color:#fff}#fe-acf-app .fe-acf-panel .fe-acf-save-button,#fe-acf-app .fe-acf-panel .fe-acf-save-button:hover{background-color:var(--feacf-primary-color);color:#fff;border-radius:3px}#fe-acf-app .fe-acf-panel .fe-acf-save-button:hover{background-color:color-mix(in srgb,var(--feacf-primary-color) 80%,black)}#fe-acf-app .fe-acf-panel .fe-acf-cancel-button,#fe-acf-app .fe-acf-panel .fe-acf-cancel-button:hover{background-color:var(--feacf-secondary-color);color:var(--feacf-text-color)}#fe-acf-app .fe-acf-panel .fe-acf-cancel-button:hover{background-color:color-mix(in srgb,var(--feacf-secondary-color) 80%,black)}#fe-acf-app .fe-acf-panel svg{stroke:var(--feacf-text-color)}#fe-acf-app .fe-acf-panel .fe-acf-field-select select{width:100%}#fe-acf-app .fe-acf-panel .fe-acf-field-checkbox .fe-acf-checkbox-items label,#fe-acf-app .fe-acf-panel .fe-acf-field-radio .fe-acf-radio-items label{font-weight:400}#fe-acf-app .fe-acf-panel .fe-acf-field-true_false button[aria-pressed=true]:hover,#fe-acf-app .fe-acf-panel .fe-acf-field-true_false button[aria-pressed=true]:focus{background-color:color-mix(in srgb,var(--feacf-primary-color) 80%,black)!important}#fe-acf-app .fe-acf-panel .fe-acf-field-true_false button[aria-pressed=false]:hover,#fe-acf-app .fe-acf-panel .fe-acf-field-true_false button[aria-pressed=false]:focus{background-color:var(--feacf-secondary-color)!important}#fe-acf-app .fe-acf-panel .fe-acf-field-button_group button:not(:last-child){border-right:1px solid #e1e8ed}#fe-acf-app .fe-acf-panel .fe-acf-field-button_group button{border-radius:0}#fe-acf-app .fe-acf-panel .fe-acf-field-file button,#fe-acf-app .fe-acf-panel .fe-acf-field-image button{color:var(--feacf-text-color)}#fe-acf-app .fe-acf-panel .fe-acf-field-file button:hover,#fe-acf-app .fe-acf-panel .fe-acf-field-image button:hover{background-color:color-mix(in srgb,var(--feacf-secondary-color) 80%,black)}#fe-acf-app .fe-acf-panel .fe-acf-field-file button.feacf-file-edit-button:hover,#fe-acf-app .fe-acf-panel .fe-acf-field-file button.feacf-file-delete-button:hover{background-color:unset}.hover\:fe-acf-bg-blue-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.hover\:fe-acf-bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity, 1))}.hover\:fe-acf-text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.focus\:fe-acf-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:fe-acf-ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:fe-acf-ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}1 .feacf-floating-btn[data-v-dd21ace5]{position:fixed;right:-45px;top:50%;transform:translateY(-50%) rotate(-90deg);background:#2563eb;color:#fff;padding:16px 20px;border-radius:8px 8px 0 0;box-shadow:0 2px 8px #0000001f;z-index:9999;border:none;cursor:pointer;display:flex;align-items:center}.feacf-btn-content[data-v-dd21ace5]{display:flex;align-items:center;gap:8px}.feacf-pen-icon[data-v-dd21ace5]{margin-right:4px}.feacf-btn[data-v-478304e7]{background:#f3f4f6;border-radius:6px;padding:6px 16px;font-size:15px;color:#222;border:1px solid #e5e7eb;cursor:pointer;transition:background .2s}.feacf-btn[data-v-478304e7]:hover{background:#e5e7eb}.feacf-image-preview[data-v-478304e7]{margin-top:10px;position:relative;display:inline-block}.feacf-icon-btn[data-v-478304e7]{background:rgba(255,255,255,.85);border:1px solid #e5e7eb;border-radius:50%;padding:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 4px #0000000a;transition:background .2s}.feacf-icon-btn[data-v-478304e7]:hover{background:#f3f4f6!important}.fe-acf-colorpicker-action-row[data-v-30c4078f]{display:flex;flex-direction:row;justify-content:flex-end;gap:5px;margin-top:8px}.fe-acf-colorpicker-popup-panel[data-v-30c4078f]{position:relative;width:200px;background:#fff;padding:5px;border-radius:5px;border:1px solid #efefef}.fe-acf-colorpicker-popup-close-icon[data-v-30c4078f]{margin-top:8px;padding:6px 10px;border:1px solid #e5e7eb;border-radius:4px;background:#f3f4f6;color:#444;font-size:13px;cursor:pointer;line-height:1}.fe-acf-colorpicker-popup-input-row[data-v-30c4078f]{display:flex;align-items:center;gap:8px;margin:8px 0 0}.fe-acf-colorpicker-root[data-v-30c4078f]{display:flex;flex-direction:column;gap:12px;max-width:340px;font-family:inherit}.fe-acf-colorpicker-satbox[data-v-30c4078f]{width:180px;height:120px;border-radius:6px;border:1px solid #e5e7eb;position:relative;cursor:crosshair;background:linear-gradient(to right,#fff,red),linear-gradient(to top,#000,transparent);margin-bottom:8px;overflow:hidden}.fe-acf-colorpicker-satbox-cursor[data-v-30c4078f]{position:absolute;width:16px;height:16px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 2px #0003;pointer-events:none;transform:translate(-8px,-8px)}.fe-acf-colorpicker-slider-row[data-v-30c4078f]{display:flex;align-items:center;gap:8px;margin-bottom:2px}.fe-acf-colorpicker-slider-label[data-v-30c4078f]{width:38px;font-size:13px;color:#444}.fe-acf-colorpicker-slider[data-v-30c4078f]{height:14px;width:180px;border-radius:6px;position:relative;cursor:pointer;background:#eee;overflow:hidden}.fe-acf-colorpicker-hue[data-v-30c4078f]{background:linear-gradient(to right,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}.fe-acf-colorpicker-slider-cursor[data-v-30c4078f]{position:absolute;top:50%;width:14px;height:14px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 2px #0003;pointer-events:none;transform:translate(-7px,-50%)}.fe-acf-colorpicker-preview-row[data-v-30c4078f]{display:flex;align-items:center;gap:4px;margin-top:8px}.fe-acf-colorpicker-preview-bg[data-v-30c4078f]{width:28px;height:28px;border-radius:4px;background:#fff;display:flex;align-items:center;justify-content:center;border:1px solid #efefef}.fe-acf-colorpicker-preview[data-v-30c4078f]{width:24px;height:24px;border-radius:4px;border:1px solid #e5e7eb}.fe-acf-colorpicker-input[data-v-30c4078f]{width:70px;padding:4px 8px;border:1px solid #e5e7eb;border-radius:4px;font-size:11px}.fe-acf-colorpicker-format[data-v-30c4078f]{margin-left:4px;padding:4px 6px;border:1px solid #e5e7eb;border-radius:4px;font-size:11px;background:#fafbfc;width:60px;height:28px}.fe-acf-colorpicker-alpha-input[data-v-30c4078f]{width:28px;padding:4px 6px;border:1px solid #e5e7eb;border-radius:4px;font-size:11px;margin-left:4px;height:28px}.fe-acf-colorpicker-alpha-percent[data-v-30c4078f]{font-size:13px;color:#444;margin-left:2px}.fe-acf-colorpicker-clear[data-v-30c4078f]{margin-top:8px;padding:6px 10px;border:1px solid #e5e7eb;border-radius:4px;background:#f3f4f6;color:#444;font-size:13px;cursor:pointer;line-height:1}.fe-acf-colorpicker-clear[data-v-30c4078f]:hover{background:#ffeaea}.feacf-btn[data-v-c147dccd]{background:#f3f4f6;border-radius:6px;padding:6px 16px;font-size:15px;color:#222;border:1px solid #e5e7eb;cursor:pointer;transition:background .2s}svg.fe-acf-success-icon[data-v-12f7ebaa]{stroke:green!important}svg.fe-acf-fail-icon[data-v-12f7ebaa]{stroke:red!important}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.fe-acf-fixed{position:fixed}.fe-acf-absolute{position:absolute}.fe-acf-relative{position:relative}.fe-acf-sticky{position:sticky}.fe-acf-inset-0{top:0;right:0;bottom:0;left:0}.fe-acf-bottom-0{bottom:0}.fe-acf-left-0\.5{left:.125rem}.fe-acf-left-1{left:.25rem}.fe-acf-right-0{right:0}.fe-acf-right-1{right:.25rem}.fe-acf-right-2{right:.5rem}.fe-acf-top-0{top:0}.fe-acf-top-0\.5{top:.125rem}.fe-acf-top-1{top:.25rem}.fe-acf-z-50{z-index:50}.fe-acf-z-\[10000001\]{z-index:10000001}.fe-acf-z-\[10000002\]{z-index:10000002}.fe-acf-mx-auto{margin-left:auto;margin-right:auto}.fe-acf-mb-0{margin-bottom:0}.fe-acf-mb-1{margin-bottom:.25rem}.fe-acf-mb-4{margin-bottom:1rem}.fe-acf-ml-2{margin-left:.5rem}.fe-acf-ml-4{margin-left:1rem}.fe-acf-mt-4{margin-top:1rem}.fe-acf-block{display:block}.fe-acf-flex{display:flex}.fe-acf-h-10{height:2.5rem}.fe-acf-h-12{height:3rem}.fe-acf-h-16{height:4rem}.fe-acf-h-4{height:1rem}.fe-acf-h-5{height:1.25rem}.fe-acf-h-6{height:1.5rem}.fe-acf-h-96{height:24rem}.fe-acf-h-full{height:100%}.fe-acf-w-10{width:2.5rem}.fe-acf-w-12{width:3rem}.fe-acf-w-16{width:4rem}.fe-acf-w-4{width:1rem}.fe-acf-w-5{width:1.25rem}.fe-acf-w-96{width:24rem}.fe-acf-w-full{width:100%}.fe-acf-max-w-xl{max-width:36rem}.fe-acf-flex-1{flex:1 1 0%}.fe-acf-translate-x-6{--tw-translate-x: 1.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes fe-acf-spin{to{transform:rotate(360deg)}}.fe-acf-animate-spin{animation:fe-acf-spin 1s linear infinite}.fe-acf-cursor-pointer{cursor:pointer}.fe-acf-flex-col{flex-direction:column}.fe-acf-flex-wrap{flex-wrap:wrap}.fe-acf-items-center{align-items:center}.fe-acf-justify-center{justify-content:center}.fe-acf-justify-between{justify-content:space-between}.fe-acf-gap-2{gap:.5rem}.fe-acf-gap-4{gap:1rem}.fe-acf-space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.fe-acf-overflow-scroll{overflow:scroll}.fe-acf-overflow-y-scroll{overflow-y:scroll}.fe-acf-rounded{border-radius:.25rem}.fe-acf-rounded-full{border-radius:9999px}.fe-acf-rounded-lg{border-radius:.5rem}.fe-acf-border{border-width:1px}.fe-acf-border-0{border-width:0px}.fe-acf-border-b{border-bottom-width:1px}.fe-acf-border-l{border-left-width:1px}.fe-acf-border-t{border-top-width:1px}.fe-acf-border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.fe-acf-bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity, 1))}.fe-acf-bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.fe-acf-bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.fe-acf-bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.fe-acf-bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.fe-acf-bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.fe-acf-bg-transparent{background-color:transparent}.fe-acf-bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.fe-acf-bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity, 1))}.fe-acf-bg-opacity-80{--tw-bg-opacity: .8}.fe-acf-p-1{padding:.25rem}.fe-acf-p-4{padding:1rem}.fe-acf-p-6{padding:1.5rem}.fe-acf-px-2{padding-left:.5rem;padding-right:.5rem}.fe-acf-px-3{padding-left:.75rem;padding-right:.75rem}.fe-acf-px-4{padding-left:1rem;padding-right:1rem}.fe-acf-px-6{padding-left:1.5rem;padding-right:1.5rem}.fe-acf-py-1{padding-top:.25rem;padding-bottom:.25rem}.fe-acf-py-2{padding-top:.5rem;padding-bottom:.5rem}.fe-acf-py-4{padding-top:1rem;padding-bottom:1rem}.fe-acf-pb-32{padding-bottom:8rem}.fe-acf-pr-10{padding-right:2.5rem}.fe-acf-text-center{text-align:center}.fe-acf-text-2xl{font-size:1.5rem;line-height:2rem}.fe-acf-text-lg{font-size:1.125rem;line-height:1.75rem}.fe-acf-text-xl{font-size:1.25rem;line-height:1.75rem}.fe-acf-text-xs{font-size:.75rem;line-height:1rem}.fe-acf-font-bold{font-weight:700}.fe-acf-font-semibold{font-weight:600}.fe-acf-text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.fe-acf-text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.fe-acf-text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.fe-acf-text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.fe-acf-text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.fe-acf-text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.fe-acf-text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.fe-acf-text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.fe-acf-text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.fe-acf-text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.fe-acf-text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.fe-acf-text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.fe-acf-text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.fe-acf-text-yellow-700{--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity, 1))}.fe-acf-opacity-25{opacity:.25}.fe-acf-opacity-75{opacity:.75}.fe-acf-shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.fe-acf-shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.fe-acf-outline-none{outline:2px solid transparent;outline-offset:2px}.fe-acf-transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fe-acf-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fe-acf-transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fe-acf-duration-300{transition-duration:.3s}:root{--feacf-primary-color: #2563eb;--feacf-secondary-color: #f3f4f6;--feacf-text-color: #000000;--feacf-label-color: #374151}.fe-acf-panel{z-index:9999999;font-size:16px!important}.media-modal{z-index:10000000!important}#fe-acf-app .fe-acf-panel label{color:var(--feacf-label-color);font-weight:600;font-size:16px!important}#fe-acf-app .fe-acf-panel input[type=text],#fe-acf-app .fe-acf-panel input[type=number],#fe-acf-app .fe-acf-panel input[type=email],#fe-acf-app .fe-acf-panel input[type=url],#fe-acf-app .fe-acf-panel input[type=password],#fe-acf-app .fe-acf-panel input[type=search],#fe-acf-app .fe-acf-panel input[type=reset],#fe-acf-app .fe-acf-panel input[type=time],#fe-acf-app .fe-acf-panel input[type=date]{background-color:#fff;border:1px solid #e1e8ed;box-shadow:unset;border-radius:3px;width:100%;color:var(--feacf-text-color)}#fe-acf-app .fe-acf-panel textarea{border:1px solid #e1e8ed;border-radius:3px;height:170px;box-shadow:unset;background-color:#fff;width:100%}#fe-acf-app .fe-acf-panel input[type=range]{width:unset;margin:unset;-webkit-appearance:auto;box-shadow:unset}#fe-acf-app .fe-acf-panel button{border:unset;box-shadow:unset}#fe-acf-app .fe-acf-panel .feacf-file-upload-button:hover,#fe-acf-app .fe-acf-panel .feacf-file-edit-button:hover,#fe-acf-app .fe-acf-panel .feacf-file-delete-button:hover,#fe-acf-app .fe-acf-panel button:hover{background-color:unset;color:#000}#fe-acf-app .fe-acf-panel button.fe-acf-active:hover,#fe-acf-app .fe-acf-panel button.fe-acf-active:focus{background-color:color-mix(in srgb,var(--feacf-primary-color) 80%,black);color:#fff}#fe-acf-app .fe-acf-panel .fe-acf-save-button,#fe-acf-app .fe-acf-panel .fe-acf-save-button:hover{background-color:var(--feacf-primary-color);color:#fff;border-radius:3px}#fe-acf-app .fe-acf-panel .fe-acf-save-button:hover{background-color:color-mix(in srgb,var(--feacf-primary-color) 80%,black)}#fe-acf-app .fe-acf-panel .fe-acf-cancel-button,#fe-acf-app .fe-acf-panel .fe-acf-cancel-button:hover{background-color:var(--feacf-secondary-color);color:var(--feacf-text-color)}#fe-acf-app .fe-acf-panel .fe-acf-cancel-button:hover{background-color:color-mix(in srgb,var(--feacf-secondary-color) 80%,black)}#fe-acf-app .fe-acf-panel svg{stroke:var(--feacf-text-color)}#fe-acf-app .fe-acf-panel .fe-acf-field-select select{width:100%}#fe-acf-app .fe-acf-panel .fe-acf-field-checkbox .fe-acf-checkbox-items label,#fe-acf-app .fe-acf-panel .fe-acf-field-radio .fe-acf-radio-items label{font-weight:400}#fe-acf-app .fe-acf-panel .fe-acf-field-true_false button[aria-pressed=true]:hover,#fe-acf-app .fe-acf-panel .fe-acf-field-true_false button[aria-pressed=true]:focus{background-color:color-mix(in srgb,var(--feacf-primary-color) 80%,black)!important}#fe-acf-app .fe-acf-panel .fe-acf-field-true_false button[aria-pressed=false]:hover,#fe-acf-app .fe-acf-panel .fe-acf-field-true_false button[aria-pressed=false]:focus{background-color:var(--feacf-secondary-color)!important}#fe-acf-app .fe-acf-panel .fe-acf-field-button_group button:not(:last-child){border-right:1px solid #e1e8ed}#fe-acf-app .fe-acf-panel .fe-acf-field-button_group button{border-radius:0}#fe-acf-app .fe-acf-panel .fe-acf-field-file button,#fe-acf-app .fe-acf-panel .fe-acf-field-image button{color:var(--feacf-text-color)}#fe-acf-app .fe-acf-panel .fe-acf-field-file button:hover,#fe-acf-app .fe-acf-panel .fe-acf-field-image button:hover{background-color:color-mix(in srgb,var(--feacf-secondary-color) 80%,black)}#fe-acf-app .fe-acf-panel .fe-acf-field-file button.feacf-file-edit-button:hover,#fe-acf-app .fe-acf-panel .fe-acf-field-file button.feacf-file-delete-button:hover,#fe-acf-app .fe-acf-panel .fe-acf-field-file button.feacf-file-edit-button:focus,#fe-acf-app .fe-acf-panel .fe-acf-field-file button.feacf-file-delete-button:focus{background-color:unset}#fe-acf-app .fe-acf-panel .fe-acf-field-file a span{word-wrap:break-word;max-width:200px;pointer-events:none}.hover\:fe-acf-bg-blue-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.hover\:fe-acf-bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity, 1))}.hover\:fe-acf-text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.focus\:fe-acf-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:fe-acf-ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:fe-acf-ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))} -
frontend-editor-acf/trunk/assets/feacf-frontend.js
r3366230 r3374166 3 3 * (c) 2018-present Yuxi (Evan) You and Vue contributors 4 4 * @license MIT 5 **//*! #__NO_SIDE_EFFECTS__ */function as(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const le={},It=[],Ue=()=>{},Vl=()=>!1,Sn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),cs=e=>e.startsWith("onUpdate:"),be=Object.assign,us=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Sl=Object.prototype.hasOwnProperty,X=(e,t)=>Sl.call(e,t),R=Array.isArray,Ot=e=>sn(e)==="[object Map]",Cn=e=>sn(e)==="[object Set]",Ts=e=>sn(e)==="[object Date]",B=e=>typeof e=="function",pe=e=>typeof e=="string",Ye=e=>typeof e=="symbol",fe=e=>e!==null&&typeof e=="object",ci=e=>(fe(e)||B(e))&&B(e.then)&&B(e.catch),ui=Object.prototype.toString,sn=e=>ui.call(e),Cl=e=>sn(e).slice(8,-1),di=e=>sn(e)==="[object Object]",ds=e=>pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Bt=as(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Mn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ml=/-(\w)/g,yt=Mn(e=>e.replace(Ml,(t,n)=>n?n.toUpperCase():"")),$l=/\B([A-Z])/g,Mt=Mn(e=>e.replace($l,"-$1").toLowerCase()),pi=Mn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Dn=Mn(e=>e?`on${pi(e)}`:""),gt=(e,t)=>!Object.is(e,t),dn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Yn=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},gn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Is;const $n=()=>Is||(Is=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function it(e){if(R(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],i=pe(s)?Il(s):it(s);if(i)for(const l in i)t[l]=i[l]}return t}else if(pe(e)||fe(e))return e}const El=/;(?![^(]*\))/g,Fl=/:([^]+)/,Tl=/\/\*[^]*?\*\//g;function Il(e){const t={};return e.replace(Tl,"").split(El).forEach(n=>{if(n){const s=n.split(Fl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function rt(e){let t="";if(pe(e))t=e;else if(R(e))for(let n=0;n<e.length;n++){const s=rt(e[n]);s&&(t+=s+" ")}else if(fe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Ol="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Pl=as(Ol);function hi(e){return!!e||e===""}function jl(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=En(e[s],t[s]);return n}function En(e,t){if(e===t)return!0;let n=Ts(e),s=Ts(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Ye(e),s=Ye(t),n||s)return e===t;if(n=R(e),s=R(t),n||s)return n&&s?jl(e,t):!1;if(n=fe(e),s=fe(t),n||s){if(!n||!s)return!1;const i=Object.keys(e).length,l=Object.keys(t).length;if(i!==l)return!1;for(const o in e){const r=e.hasOwnProperty(o),f=t.hasOwnProperty(o);if(r&&!f||!r&&f||!En(e[o],t[o]))return!1}}return String(e)===String(t)}function Al(e,t){return e.findIndex(n=>En(n,t))}const gi=e=>!!(e&&e.__v_isRef===!0),Je=e=>pe(e)?e:e==null?"":R(e)||fe(e)&&(e.toString===ui||!B(e.toString))?gi(e)?Je(e.value):JSON.stringify(e,mi,2):String(e),mi=(e,t)=>gi(t)?mi(e,t.value):Ot(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],l)=>(n[Ln(s,l)+" =>"]=i,n),{})}:Cn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ln(n))}:Ye(t)?Ln(t):fe(t)&&!R(t)&&!di(t)?String(t):t,Ln=(e,t="")=>{var n;return Ye(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**5 **//*! #__NO_SIDE_EFFECTS__ */function us(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const le={},Ot=[],Ue=()=>{},Cl=()=>!1,Mn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ds=e=>e.startsWith("onUpdate:"),ve=Object.assign,ps=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ml=Object.prototype.hasOwnProperty,X=(e,t)=>Ml.call(e,t),R=Array.isArray,It=e=>ln(e)==="[object Map]",Fn=e=>ln(e)==="[object Set]",Is=e=>ln(e)==="[object Date]",N=e=>typeof e=="function",pe=e=>typeof e=="string",Ye=e=>typeof e=="symbol",fe=e=>e!==null&&typeof e=="object",ui=e=>(fe(e)||N(e))&&N(e.then)&&N(e.catch),di=Object.prototype.toString,ln=e=>di.call(e),Fl=e=>ln(e).slice(8,-1),pi=e=>ln(e)==="[object Object]",hs=e=>pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Kt=us(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),En=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},El=/-(\w)/g,yt=En(e=>e.replace(El,(t,n)=>n?n.toUpperCase():"")),$l=/\B([A-Z])/g,Mt=En(e=>e.replace($l,"-$1").toLowerCase()),hi=En(e=>e.charAt(0).toUpperCase()+e.slice(1)),Un=En(e=>e?`on${hi(e)}`:""),gt=(e,t)=>!Object.is(e,t),pn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Zn=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},mn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ps;const $n=()=>Ps||(Ps=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function it(e){if(R(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],i=pe(s)?Pl(s):it(s);if(i)for(const l in i)t[l]=i[l]}return t}else if(pe(e)||fe(e))return e}const Tl=/;(?![^(]*\))/g,Ol=/:([^]+)/,Il=/\/\*[^]*?\*\//g;function Pl(e){const t={};return e.replace(Il,"").split(Tl).forEach(n=>{if(n){const s=n.split(Ol);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function rt(e){let t="";if(pe(e))t=e;else if(R(e))for(let n=0;n<e.length;n++){const s=rt(e[n]);s&&(t+=s+" ")}else if(fe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const jl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Al=us(jl);function gi(e){return!!e||e===""}function Rl(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Tn(e[s],t[s]);return n}function Tn(e,t){if(e===t)return!0;let n=Is(e),s=Is(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Ye(e),s=Ye(t),n||s)return e===t;if(n=R(e),s=R(t),n||s)return n&&s?Rl(e,t):!1;if(n=fe(e),s=fe(t),n||s){if(!n||!s)return!1;const i=Object.keys(e).length,l=Object.keys(t).length;if(i!==l)return!1;for(const o in e){const r=e.hasOwnProperty(o),f=t.hasOwnProperty(o);if(r&&!f||!r&&f||!Tn(e[o],t[o]))return!1}}return String(e)===String(t)}function Dl(e,t){return e.findIndex(n=>Tn(n,t))}const mi=e=>!!(e&&e.__v_isRef===!0),Je=e=>pe(e)?e:e==null?"":R(e)||fe(e)&&(e.toString===di||!N(e.toString))?mi(e)?Je(e.value):JSON.stringify(e,yi,2):String(e),yi=(e,t)=>mi(t)?yi(e,t.value):It(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],l)=>(n[Hn(s,l)+" =>"]=i,n),{})}:Fn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Hn(n))}:Ye(t)?Hn(t):fe(t)&&!R(t)&&!pi(t)?String(t):t,Hn=(e,t="")=>{var n;return Ye(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** 6 6 * @vue/reactivity v3.5.18 7 7 * (c) 2018-present Yuxi (Evan) You and Vue contributors 8 8 * @license MIT 9 **/let we;class yi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=we,!t&&we&&(this.index=(we.scopes||(we.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=we;try{return we=this,t()}finally{we=n}}}on(){++this._on===1&&(this.prevScope=we,we=this)}off(){this._on>0&&--this._on===0&&(we=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function vi(e){return new yi(e)}function bi(){return we}function Rl(e,t=!1){we&&we.cleanups.push(e)}let re;const Un=new WeakSet;class _i{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,we&&we.active&&we.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Un.has(this)&&(Un.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||xi(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Os(this),ki(this);const t=re,n=He;re=this,He=!0;try{return this.fn()}finally{Vi(this),re=t,He=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)gs(t);this.deps=this.depsTail=void 0,Os(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Un.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Xn(this)&&this.run()}get dirty(){return Xn(this)}}let wi=0,Nt,Kt;function xi(e,t=!1){if(e.flags|=8,t){e.next=Kt,Kt=e;return}e.next=Nt,Nt=e}function ps(){wi++}function hs(){if(--wi>0)return;if(Kt){let t=Kt;for(Kt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Nt;){let t=Nt;for(Nt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function ki(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Vi(e){let t,n=e.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),gs(s),Dl(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}e.deps=t,e.depsTail=n}function Xn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Si(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Si(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Xt)||(e.globalVersion=Xt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Xn(e))))return;e.flags|=2;const t=e.dep,n=re,s=He;re=e,He=!0;try{ki(e);const i=e.fn(e._value);(t.version===0||gt(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{re=n,He=s,Vi(e),e.flags&=-3}}function gs(e,t=!1){const{dep:n,prevSub:s,nextSub:i}=e;if(s&&(s.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let l=n.computed.deps;l;l=l.nextDep)gs(l,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Dl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let He=!0;const Ci=[];function ft(){Ci.push(He),He=!1}function at(){const e=Ci.pop();He=e===void 0?!0:e}function Os(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=re;re=void 0;try{t()}finally{re=n}}}let Xt=0;class Ll{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ms{constructor(t){this.computed=t,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}track(t){if(!re||!He||re===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==re)n=this.activeLink=new Ll(re,this),re.deps?(n.prevDep=re.depsTail,re.depsTail.nextDep=n,re.depsTail=n):re.deps=re.depsTail=n,Mi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=re.depsTail,n.nextDep=void 0,re.depsTail.nextDep=n,re.depsTail=n,re.deps===n&&(re.deps=s)}return n}trigger(t){this.version++,Xt++,this.notify(t)}notify(t){ps();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{hs()}}}function Mi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Mi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const mn=new WeakMap,St=Symbol(""),Zn=Symbol(""),Zt=Symbol("");function xe(e,t,n){if(He&&re){let s=mn.get(e);s||mn.set(e,s=new Map);let i=s.get(n);i||(s.set(n,i=new ms),i.map=s,i.key=n),i.track()}}function lt(e,t,n,s,i,l){const o=mn.get(e);if(!o){Xt++;return}const r=f=>{f&&f.trigger()};if(ps(),t==="clear")o.forEach(r);else{const f=R(e),d=f&&ds(n);if(f&&n==="length"){const c=Number(s);o.forEach((p,h)=>{(h==="length"||h===Zt||!Ye(h)&&h>=c)&&r(p)})}else switch((n!==void 0||o.has(void 0))&&r(o.get(n)),d&&r(o.get(Zt)),t){case"add":f?d&&r(o.get("length")):(r(o.get(St)),Ot(e)&&r(o.get(Zn)));break;case"delete":f||(r(o.get(St)),Ot(e)&&r(o.get(Zn)));break;case"set":Ot(e)&&r(o.get(St));break}}hs()}function Ul(e,t){const n=mn.get(e);return n&&n.get(t)}function Et(e){const t=Y(e);return t===e?t:(xe(t,"iterate",Zt),De(e)?t:t.map(ve))}function Fn(e){return xe(e=Y(e),"iterate",Zt),e}const Hl={__proto__:null,[Symbol.iterator](){return Hn(this,Symbol.iterator,ve)},concat(...e){return Et(this).concat(...e.map(t=>R(t)?Et(t):t))},entries(){return Hn(this,"entries",e=>(e[1]=ve(e[1]),e))},every(e,t){return tt(this,"every",e,t,void 0,arguments)},filter(e,t){return tt(this,"filter",e,t,n=>n.map(ve),arguments)},find(e,t){return tt(this,"find",e,t,ve,arguments)},findIndex(e,t){return tt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return tt(this,"findLast",e,t,ve,arguments)},findLastIndex(e,t){return tt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return tt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Bn(this,"includes",e)},indexOf(...e){return Bn(this,"indexOf",e)},join(e){return Et(this).join(e)},lastIndexOf(...e){return Bn(this,"lastIndexOf",e)},map(e,t){return tt(this,"map",e,t,void 0,arguments)},pop(){return Dt(this,"pop")},push(...e){return Dt(this,"push",e)},reduce(e,...t){return Ps(this,"reduce",e,t)},reduceRight(e,...t){return Ps(this,"reduceRight",e,t)},shift(){return Dt(this,"shift")},some(e,t){return tt(this,"some",e,t,void 0,arguments)},splice(...e){return Dt(this,"splice",e)},toReversed(){return Et(this).toReversed()},toSorted(e){return Et(this).toSorted(e)},toSpliced(...e){return Et(this).toSpliced(...e)},unshift(...e){return Dt(this,"unshift",e)},values(){return Hn(this,"values",ve)}};function Hn(e,t,n){const s=Fn(e),i=s[t]();return s!==e&&!De(e)&&(i._next=i.next,i.next=()=>{const l=i._next();return l.value&&(l.value=n(l.value)),l}),i}const Bl=Array.prototype;function tt(e,t,n,s,i,l){const o=Fn(e),r=o!==e&&!De(e),f=o[t];if(f!==Bl[t]){const p=f.apply(e,l);return r?ve(p):p}let d=n;o!==e&&(r?d=function(p,h){return n.call(this,ve(p),h,e)}:n.length>2&&(d=function(p,h){return n.call(this,p,h,e)}));const c=f.call(o,d,s);return r&&i?i(c):c}function Ps(e,t,n,s){const i=Fn(e);let l=n;return i!==e&&(De(e)?n.length>3&&(l=function(o,r,f){return n.call(this,o,r,f,e)}):l=function(o,r,f){return n.call(this,o,ve(r),f,e)}),i[t](l,...s)}function Bn(e,t,n){const s=Y(e);xe(s,"iterate",Zt);const i=s[t](...n);return(i===-1||i===!1)&&bs(n[0])?(n[0]=Y(n[0]),s[t](...n)):i}function Dt(e,t,n=[]){ft(),ps();const s=Y(e)[t].apply(e,n);return hs(),at(),s}const Nl=as("__proto__,__v_isRef,__isVue"),$i=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ye));function Kl(e){Ye(e)||(e=String(e));const t=Y(this);return xe(t,"has",e),t.hasOwnProperty(e)}class Ei{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,l=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return l;if(n==="__v_raw")return s===(i?l?eo:Oi:l?Ii:Ti).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=R(t);if(!i){let f;if(o&&(f=Hl[n]))return f;if(n==="hasOwnProperty")return Kl}const r=Reflect.get(t,n,de(t)?t:s);return(Ye(n)?$i.has(n):Nl(n))||(i||xe(t,"get",n),l)?r:de(r)?o&&ds(n)?r:r.value:fe(r)?i?Pi(r):Tn(r):r}}class Fi extends Ei{constructor(t=!1){super(!1,t)}set(t,n,s,i){let l=t[n];if(!this._isShallow){const f=vt(l);if(!De(s)&&!vt(s)&&(l=Y(l),s=Y(s)),!R(t)&&de(l)&&!de(s))return f?!1:(l.value=s,!0)}const o=R(t)&&ds(n)?Number(n)<t.length:X(t,n),r=Reflect.set(t,n,s,de(t)?t:i);return t===Y(i)&&(o?gt(s,l)&<(t,"set",n,s):lt(t,"add",n,s)),r}deleteProperty(t,n){const s=X(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&s&<(t,"delete",n,void 0),i}has(t,n){const s=Reflect.has(t,n);return(!Ye(n)||!$i.has(n))&&xe(t,"has",n),s}ownKeys(t){return xe(t,"iterate",R(t)?"length":St),Reflect.ownKeys(t)}}class Wl extends Ei{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const ql=new Fi,zl=new Wl,Gl=new Fi(!0);const Qn=e=>e,an=e=>Reflect.getPrototypeOf(e);function Jl(e,t,n){return function(...s){const i=this.__v_raw,l=Y(i),o=Ot(l),r=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,d=i[e](...s),c=n?Qn:t?yn:ve;return!t&&xe(l,"iterate",f?Zn:St),{next(){const{value:p,done:h}=d.next();return h?{value:p,done:h}:{value:r?[c(p[0]),c(p[1])]:c(p),done:h}},[Symbol.iterator](){return this}}}}function cn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Yl(e,t){const n={get(i){const l=this.__v_raw,o=Y(l),r=Y(i);e||(gt(i,r)&&xe(o,"get",i),xe(o,"get",r));const{has:f}=an(o),d=t?Qn:e?yn:ve;if(f.call(o,i))return d(l.get(i));if(f.call(o,r))return d(l.get(r));l!==o&&l.get(i)},get size(){const i=this.__v_raw;return!e&&xe(Y(i),"iterate",St),Reflect.get(i,"size",i)},has(i){const l=this.__v_raw,o=Y(l),r=Y(i);return e||(gt(i,r)&&xe(o,"has",i),xe(o,"has",r)),i===r?l.has(i):l.has(i)||l.has(r)},forEach(i,l){const o=this,r=o.__v_raw,f=Y(r),d=t?Qn:e?yn:ve;return!e&&xe(f,"iterate",St),r.forEach((c,p)=>i.call(l,d(c),d(p),o))}};return be(n,e?{add:cn("add"),set:cn("set"),delete:cn("delete"),clear:cn("clear")}:{add(i){!t&&!De(i)&&!vt(i)&&(i=Y(i));const l=Y(this);return an(l).has.call(l,i)||(l.add(i),lt(l,"add",i,i)),this},set(i,l){!t&&!De(l)&&!vt(l)&&(l=Y(l));const o=Y(this),{has:r,get:f}=an(o);let d=r.call(o,i);d||(i=Y(i),d=r.call(o,i));const c=f.call(o,i);return o.set(i,l),d?gt(l,c)&<(o,"set",i,l):lt(o,"add",i,l),this},delete(i){const l=Y(this),{has:o,get:r}=an(l);let f=o.call(l,i);f||(i=Y(i),f=o.call(l,i)),r&&r.call(l,i);const d=l.delete(i);return f&<(l,"delete",i,void 0),d},clear(){const i=Y(this),l=i.size!==0,o=i.clear();return l&<(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Jl(i,e,t)}),n}function ys(e,t){const n=Yl(e,t);return(s,i,l)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(X(n,i)&&i in s?n:s,i,l)}const Xl={get:ys(!1,!1)},Zl={get:ys(!1,!0)},Ql={get:ys(!0,!1)};const Ti=new WeakMap,Ii=new WeakMap,Oi=new WeakMap,eo=new WeakMap;function to(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function no(e){return e.__v_skip||!Object.isExtensible(e)?0:to(Cl(e))}function Tn(e){return vt(e)?e:vs(e,!1,ql,Xl,Ti)}function so(e){return vs(e,!1,Gl,Zl,Ii)}function Pi(e){return vs(e,!0,zl,Ql,Oi)}function vs(e,t,n,s,i){if(!fe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=no(e);if(l===0)return e;const o=i.get(e);if(o)return o;const r=new Proxy(e,l===2?s:n);return i.set(e,r),r}function mt(e){return vt(e)?mt(e.__v_raw):!!(e&&e.__v_isReactive)}function vt(e){return!!(e&&e.__v_isReadonly)}function De(e){return!!(e&&e.__v_isShallow)}function bs(e){return e?!!e.__v_raw:!1}function Y(e){const t=e&&e.__v_raw;return t?Y(t):e}function _s(e){return!X(e,"__v_skip")&&Object.isExtensible(e)&&Yn(e,"__v_skip",!0),e}const ve=e=>fe(e)?Tn(e):e,yn=e=>fe(e)?Pi(e):e;function de(e){return e?e.__v_isRef===!0:!1}function ue(e){return io(e,!1)}function io(e,t){return de(e)?e:new lo(e,t)}class lo{constructor(t,n){this.dep=new ms,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Y(t),this._value=n?t:ve(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||De(t)||vt(t);t=s?t:Y(t),gt(t,n)&&(this._rawValue=t,this._value=s?t:ve(t),this.dep.trigger())}}function L(e){return de(e)?e.value:e}const oo={get:(e,t,n)=>t==="__v_raw"?e:L(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return de(i)&&!de(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function ji(e){return mt(e)?e:new Proxy(e,oo)}function ro(e){const t=R(e)?new Array(e.length):{};for(const n in e)t[n]=ao(e,n);return t}class fo{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Ul(Y(this._object),this._key)}}function ao(e,t,n){const s=e[t];return de(s)?s:new fo(e,t,n)}class co{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ms(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Xt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&re!==this)return xi(this,!0),!0}get value(){const t=this.dep.track();return Si(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function uo(e,t,n=!1){let s,i;return B(e)?s=e:(s=e.get,i=e.set),new co(s,i,n)}const un={},vn=new WeakMap;let kt;function po(e,t=!1,n=kt){if(n){let s=vn.get(n);s||vn.set(n,s=[]),s.push(e)}}function ho(e,t,n=le){const{immediate:s,deep:i,once:l,scheduler:o,augmentJob:r,call:f}=n,d=A=>i?A:De(A)||i===!1||i===0?ot(A,1):ot(A);let c,p,h,b,P=!1,H=!1;if(de(e)?(p=()=>e.value,P=De(e)):mt(e)?(p=()=>d(e),P=!0):R(e)?(H=!0,P=e.some(A=>mt(A)||De(A)),p=()=>e.map(A=>{if(de(A))return A.value;if(mt(A))return d(A);if(B(A))return f?f(A,2):A()})):B(e)?t?p=f?()=>f(e,2):e:p=()=>{if(h){ft();try{h()}finally{at()}}const A=kt;kt=c;try{return f?f(e,3,[b]):e(b)}finally{kt=A}}:p=Ue,t&&i){const A=p,J=i===!0?1/0:i;p=()=>ot(A(),J)}const ne=bi(),G=()=>{c.stop(),ne&&ne.active&&us(ne.effects,c)};if(l&&t){const A=t;t=(...J)=>{A(...J),G()}}let se=H?new Array(e.length).fill(un):un;const ie=A=>{if(!(!(c.flags&1)||!c.dirty&&!A))if(t){const J=c.run();if(i||P||(H?J.some((me,he)=>gt(me,se[he])):gt(J,se))){h&&h();const me=kt;kt=c;try{const he=[J,se===un?void 0:H&&se[0]===un?[]:se,b];se=J,f?f(t,3,he):t(...he)}finally{kt=me}}}else c.run()};return r&&r(ie),c=new _i(p),c.scheduler=o?()=>o(ie,!1):ie,b=A=>po(A,!1,c),h=c.onStop=()=>{const A=vn.get(c);if(A){if(f)f(A,4);else for(const J of A)J();vn.delete(c)}},t?s?ie(!0):se=c.run():o?o(ie.bind(null,!0),!0):c.run(),G.pause=c.pause.bind(c),G.resume=c.resume.bind(c),G.stop=G,G}function ot(e,t=1/0,n){if(t<=0||!fe(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,de(e))ot(e.value,t,n);else if(R(e))for(let s=0;s<e.length;s++)ot(e[s],t,n);else if(Cn(e)||Ot(e))e.forEach(s=>{ot(s,t,n)});else if(di(e)){for(const s in e)ot(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&ot(e[s],t,n)}return e}/**9 **/let we;class bi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=we,!t&&we&&(this.index=(we.scopes||(we.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=we;try{return we=this,t()}finally{we=n}}}on(){++this._on===1&&(this.prevScope=we,we=this)}off(){this._on>0&&--this._on===0&&(we=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function vi(e){return new bi(e)}function _i(){return we}function Ll(e,t=!1){we&&we.cleanups.push(e)}let re;const Nn=new WeakSet;class wi{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,we&&we.active&&we.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Nn.has(this)&&(Nn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||ki(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,js(this),Vi(this);const t=re,n=He;re=this,He=!0;try{return this.fn()}finally{Si(this),re=t,He=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ys(t);this.deps=this.depsTail=void 0,js(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Nn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Qn(this)&&this.run()}get dirty(){return Qn(this)}}let xi=0,Wt,qt;function ki(e,t=!1){if(e.flags|=8,t){e.next=qt,qt=e;return}e.next=Wt,Wt=e}function gs(){xi++}function ms(){if(--xi>0)return;if(qt){let t=qt;for(qt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Wt;){let t=Wt;for(Wt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Vi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Si(e){let t,n=e.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),ys(s),Ul(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}e.deps=t,e.depsTail=n}function Qn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ci(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ci(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Qt)||(e.globalVersion=Qt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Qn(e))))return;e.flags|=2;const t=e.dep,n=re,s=He;re=e,He=!0;try{Vi(e);const i=e.fn(e._value);(t.version===0||gt(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{re=n,He=s,Si(e),e.flags&=-3}}function ys(e,t=!1){const{dep:n,prevSub:s,nextSub:i}=e;if(s&&(s.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let l=n.computed.deps;l;l=l.nextDep)ys(l,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ul(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let He=!0;const Mi=[];function ft(){Mi.push(He),He=!1}function at(){const e=Mi.pop();He=e===void 0?!0:e}function js(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=re;re=void 0;try{t()}finally{re=n}}}let Qt=0;class Hl{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class bs{constructor(t){this.computed=t,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}track(t){if(!re||!He||re===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==re)n=this.activeLink=new Hl(re,this),re.deps?(n.prevDep=re.depsTail,re.depsTail.nextDep=n,re.depsTail=n):re.deps=re.depsTail=n,Fi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=re.depsTail,n.nextDep=void 0,re.depsTail.nextDep=n,re.depsTail=n,re.deps===n&&(re.deps=s)}return n}trigger(t){this.version++,Qt++,this.notify(t)}notify(t){gs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ms()}}}function Fi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Fi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const yn=new WeakMap,St=Symbol(""),es=Symbol(""),en=Symbol("");function xe(e,t,n){if(He&&re){let s=yn.get(e);s||yn.set(e,s=new Map);let i=s.get(n);i||(s.set(n,i=new bs),i.map=s,i.key=n),i.track()}}function lt(e,t,n,s,i,l){const o=yn.get(e);if(!o){Qt++;return}const r=f=>{f&&f.trigger()};if(gs(),t==="clear")o.forEach(r);else{const f=R(e),u=f&&hs(n);if(f&&n==="length"){const c=Number(s);o.forEach((p,h)=>{(h==="length"||h===en||!Ye(h)&&h>=c)&&r(p)})}else switch((n!==void 0||o.has(void 0))&&r(o.get(n)),u&&r(o.get(en)),t){case"add":f?u&&r(o.get("length")):(r(o.get(St)),It(e)&&r(o.get(es)));break;case"delete":f||(r(o.get(St)),It(e)&&r(o.get(es)));break;case"set":It(e)&&r(o.get(St));break}}ms()}function Nl(e,t){const n=yn.get(e);return n&&n.get(t)}function Et(e){const t=Y(e);return t===e?t:(xe(t,"iterate",en),De(e)?t:t.map(be))}function On(e){return xe(e=Y(e),"iterate",en),e}const Bl={__proto__:null,[Symbol.iterator](){return Bn(this,Symbol.iterator,be)},concat(...e){return Et(this).concat(...e.map(t=>R(t)?Et(t):t))},entries(){return Bn(this,"entries",e=>(e[1]=be(e[1]),e))},every(e,t){return tt(this,"every",e,t,void 0,arguments)},filter(e,t){return tt(this,"filter",e,t,n=>n.map(be),arguments)},find(e,t){return tt(this,"find",e,t,be,arguments)},findIndex(e,t){return tt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return tt(this,"findLast",e,t,be,arguments)},findLastIndex(e,t){return tt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return tt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Kn(this,"includes",e)},indexOf(...e){return Kn(this,"indexOf",e)},join(e){return Et(this).join(e)},lastIndexOf(...e){return Kn(this,"lastIndexOf",e)},map(e,t){return tt(this,"map",e,t,void 0,arguments)},pop(){return Lt(this,"pop")},push(...e){return Lt(this,"push",e)},reduce(e,...t){return As(this,"reduce",e,t)},reduceRight(e,...t){return As(this,"reduceRight",e,t)},shift(){return Lt(this,"shift")},some(e,t){return tt(this,"some",e,t,void 0,arguments)},splice(...e){return Lt(this,"splice",e)},toReversed(){return Et(this).toReversed()},toSorted(e){return Et(this).toSorted(e)},toSpliced(...e){return Et(this).toSpliced(...e)},unshift(...e){return Lt(this,"unshift",e)},values(){return Bn(this,"values",be)}};function Bn(e,t,n){const s=On(e),i=s[t]();return s!==e&&!De(e)&&(i._next=i.next,i.next=()=>{const l=i._next();return l.value&&(l.value=n(l.value)),l}),i}const Kl=Array.prototype;function tt(e,t,n,s,i,l){const o=On(e),r=o!==e&&!De(e),f=o[t];if(f!==Kl[t]){const p=f.apply(e,l);return r?be(p):p}let u=n;o!==e&&(r?u=function(p,h){return n.call(this,be(p),h,e)}:n.length>2&&(u=function(p,h){return n.call(this,p,h,e)}));const c=f.call(o,u,s);return r&&i?i(c):c}function As(e,t,n,s){const i=On(e);let l=n;return i!==e&&(De(e)?n.length>3&&(l=function(o,r,f){return n.call(this,o,r,f,e)}):l=function(o,r,f){return n.call(this,o,be(r),f,e)}),i[t](l,...s)}function Kn(e,t,n){const s=Y(e);xe(s,"iterate",en);const i=s[t](...n);return(i===-1||i===!1)&&ws(n[0])?(n[0]=Y(n[0]),s[t](...n)):i}function Lt(e,t,n=[]){ft(),gs();const s=Y(e)[t].apply(e,n);return ms(),at(),s}const Wl=us("__proto__,__v_isRef,__isVue"),Ei=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ye));function ql(e){Ye(e)||(e=String(e));const t=Y(this);return xe(t,"has",e),t.hasOwnProperty(e)}class $i{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,l=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return l;if(n==="__v_raw")return s===(i?l?no:Pi:l?Ii:Oi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=R(t);if(!i){let f;if(o&&(f=Bl[n]))return f;if(n==="hasOwnProperty")return ql}const r=Reflect.get(t,n,de(t)?t:s);return(Ye(n)?Ei.has(n):Wl(n))||(i||xe(t,"get",n),l)?r:de(r)?o&&hs(n)?r:r.value:fe(r)?i?ji(r):In(r):r}}class Ti extends $i{constructor(t=!1){super(!1,t)}set(t,n,s,i){let l=t[n];if(!this._isShallow){const f=bt(l);if(!De(s)&&!bt(s)&&(l=Y(l),s=Y(s)),!R(t)&&de(l)&&!de(s))return f?!1:(l.value=s,!0)}const o=R(t)&&hs(n)?Number(n)<t.length:X(t,n),r=Reflect.set(t,n,s,de(t)?t:i);return t===Y(i)&&(o?gt(s,l)&<(t,"set",n,s):lt(t,"add",n,s)),r}deleteProperty(t,n){const s=X(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&s&<(t,"delete",n,void 0),i}has(t,n){const s=Reflect.has(t,n);return(!Ye(n)||!Ei.has(n))&&xe(t,"has",n),s}ownKeys(t){return xe(t,"iterate",R(t)?"length":St),Reflect.ownKeys(t)}}class Gl extends $i{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const zl=new Ti,Jl=new Gl,Yl=new Ti(!0);const ts=e=>e,cn=e=>Reflect.getPrototypeOf(e);function Xl(e,t,n){return function(...s){const i=this.__v_raw,l=Y(i),o=It(l),r=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,u=i[e](...s),c=n?ts:t?bn:be;return!t&&xe(l,"iterate",f?es:St),{next(){const{value:p,done:h}=u.next();return h?{value:p,done:h}:{value:r?[c(p[0]),c(p[1])]:c(p),done:h}},[Symbol.iterator](){return this}}}}function un(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Zl(e,t){const n={get(i){const l=this.__v_raw,o=Y(l),r=Y(i);e||(gt(i,r)&&xe(o,"get",i),xe(o,"get",r));const{has:f}=cn(o),u=t?ts:e?bn:be;if(f.call(o,i))return u(l.get(i));if(f.call(o,r))return u(l.get(r));l!==o&&l.get(i)},get size(){const i=this.__v_raw;return!e&&xe(Y(i),"iterate",St),Reflect.get(i,"size",i)},has(i){const l=this.__v_raw,o=Y(l),r=Y(i);return e||(gt(i,r)&&xe(o,"has",i),xe(o,"has",r)),i===r?l.has(i):l.has(i)||l.has(r)},forEach(i,l){const o=this,r=o.__v_raw,f=Y(r),u=t?ts:e?bn:be;return!e&&xe(f,"iterate",St),r.forEach((c,p)=>i.call(l,u(c),u(p),o))}};return ve(n,e?{add:un("add"),set:un("set"),delete:un("delete"),clear:un("clear")}:{add(i){!t&&!De(i)&&!bt(i)&&(i=Y(i));const l=Y(this);return cn(l).has.call(l,i)||(l.add(i),lt(l,"add",i,i)),this},set(i,l){!t&&!De(l)&&!bt(l)&&(l=Y(l));const o=Y(this),{has:r,get:f}=cn(o);let u=r.call(o,i);u||(i=Y(i),u=r.call(o,i));const c=f.call(o,i);return o.set(i,l),u?gt(l,c)&<(o,"set",i,l):lt(o,"add",i,l),this},delete(i){const l=Y(this),{has:o,get:r}=cn(l);let f=o.call(l,i);f||(i=Y(i),f=o.call(l,i)),r&&r.call(l,i);const u=l.delete(i);return f&<(l,"delete",i,void 0),u},clear(){const i=Y(this),l=i.size!==0,o=i.clear();return l&<(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Xl(i,e,t)}),n}function vs(e,t){const n=Zl(e,t);return(s,i,l)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(X(n,i)&&i in s?n:s,i,l)}const Ql={get:vs(!1,!1)},eo={get:vs(!1,!0)},to={get:vs(!0,!1)};const Oi=new WeakMap,Ii=new WeakMap,Pi=new WeakMap,no=new WeakMap;function so(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function io(e){return e.__v_skip||!Object.isExtensible(e)?0:so(Fl(e))}function In(e){return bt(e)?e:_s(e,!1,zl,Ql,Oi)}function lo(e){return _s(e,!1,Yl,eo,Ii)}function ji(e){return _s(e,!0,Jl,to,Pi)}function _s(e,t,n,s,i){if(!fe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=io(e);if(l===0)return e;const o=i.get(e);if(o)return o;const r=new Proxy(e,l===2?s:n);return i.set(e,r),r}function mt(e){return bt(e)?mt(e.__v_raw):!!(e&&e.__v_isReactive)}function bt(e){return!!(e&&e.__v_isReadonly)}function De(e){return!!(e&&e.__v_isShallow)}function ws(e){return e?!!e.__v_raw:!1}function Y(e){const t=e&&e.__v_raw;return t?Y(t):e}function xs(e){return!X(e,"__v_skip")&&Object.isExtensible(e)&&Zn(e,"__v_skip",!0),e}const be=e=>fe(e)?In(e):e,bn=e=>fe(e)?ji(e):e;function de(e){return e?e.__v_isRef===!0:!1}function ue(e){return oo(e,!1)}function oo(e,t){return de(e)?e:new ro(e,t)}class ro{constructor(t,n){this.dep=new bs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Y(t),this._value=n?t:be(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||De(t)||bt(t);t=s?t:Y(t),gt(t,n)&&(this._rawValue=t,this._value=s?t:be(t),this.dep.trigger())}}function L(e){return de(e)?e.value:e}const fo={get:(e,t,n)=>t==="__v_raw"?e:L(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return de(i)&&!de(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function Ai(e){return mt(e)?e:new Proxy(e,fo)}function ao(e){const t=R(e)?new Array(e.length):{};for(const n in e)t[n]=uo(e,n);return t}class co{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Nl(Y(this._object),this._key)}}function uo(e,t,n){const s=e[t];return de(s)?s:new co(e,t,n)}class po{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new bs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Qt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&re!==this)return ki(this,!0),!0}get value(){const t=this.dep.track();return Ci(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ho(e,t,n=!1){let s,i;return N(e)?s=e:(s=e.get,i=e.set),new po(s,i,n)}const dn={},vn=new WeakMap;let kt;function go(e,t=!1,n=kt){if(n){let s=vn.get(n);s||vn.set(n,s=[]),s.push(e)}}function mo(e,t,n=le){const{immediate:s,deep:i,once:l,scheduler:o,augmentJob:r,call:f}=n,u=A=>i?A:De(A)||i===!1||i===0?ot(A,1):ot(A);let c,p,h,v,P=!1,H=!1;if(de(e)?(p=()=>e.value,P=De(e)):mt(e)?(p=()=>u(e),P=!0):R(e)?(H=!0,P=e.some(A=>mt(A)||De(A)),p=()=>e.map(A=>{if(de(A))return A.value;if(mt(A))return u(A);if(N(A))return f?f(A,2):A()})):N(e)?t?p=f?()=>f(e,2):e:p=()=>{if(h){ft();try{h()}finally{at()}}const A=kt;kt=c;try{return f?f(e,3,[v]):e(v)}finally{kt=A}}:p=Ue,t&&i){const A=p,J=i===!0?1/0:i;p=()=>ot(A(),J)}const ne=_i(),z=()=>{c.stop(),ne&&ne.active&&ps(ne.effects,c)};if(l&&t){const A=t;t=(...J)=>{A(...J),z()}}let se=H?new Array(e.length).fill(dn):dn;const ie=A=>{if(!(!(c.flags&1)||!c.dirty&&!A))if(t){const J=c.run();if(i||P||(H?J.some((me,he)=>gt(me,se[he])):gt(J,se))){h&&h();const me=kt;kt=c;try{const he=[J,se===dn?void 0:H&&se[0]===dn?[]:se,v];se=J,f?f(t,3,he):t(...he)}finally{kt=me}}}else c.run()};return r&&r(ie),c=new wi(p),c.scheduler=o?()=>o(ie,!1):ie,v=A=>go(A,!1,c),h=c.onStop=()=>{const A=vn.get(c);if(A){if(f)f(A,4);else for(const J of A)J();vn.delete(c)}},t?s?ie(!0):se=c.run():o?o(ie.bind(null,!0),!0):c.run(),z.pause=c.pause.bind(c),z.resume=c.resume.bind(c),z.stop=z,z}function ot(e,t=1/0,n){if(t<=0||!fe(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,de(e))ot(e.value,t,n);else if(R(e))for(let s=0;s<e.length;s++)ot(e[s],t,n);else if(Fn(e)||It(e))e.forEach(s=>{ot(s,t,n)});else if(pi(e)){for(const s in e)ot(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&ot(e[s],t,n)}return e}/** 10 10 * @vue/runtime-core v3.5.18 11 11 * (c) 2018-present Yuxi (Evan) You and Vue contributors 12 12 * @license MIT 13 **/function ln(e,t,n,s){try{return s?e(...s):e()}catch(i){In(i,t,n)}}function Xe(e,t,n,s){if(B(e)){const i=ln(e,t,n,s);return i&&ci(i)&&i.catch(l=>{In(l,t,n)}),i}if(R(e)){const i=[];for(let l=0;l<e.length;l++)i.push(Xe(e[l],t,n,s));return i}}function In(e,t,n,s=!0){const i=t?t.vnode:null,{errorHandler:l,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||le;if(t){let r=t.parent;const f=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){const c=r.ec;if(c){for(let p=0;p<c.length;p++)if(c[p](e,f,d)===!1)return}r=r.parent}if(l){ft(),ln(l,null,10,[e,f,d]),at();return}}go(e,n,i,s,o)}function go(e,t,n,s=!0,i=!1){if(i)throw e;console.error(e)}const Ve=[];let ze=-1;const Pt=[];let pt=null,Tt=0;const Ai=Promise.resolve();let bn=null;function ws(e){const t=bn||Ai;return e?t.then(this?e.bind(this):e):t}function mo(e){let t=ze+1,n=Ve.length;for(;t<n;){const s=t+n>>>1,i=Ve[s],l=Qt(i);l<e||l===e&&i.flags&2?t=s+1:n=s}return t}function xs(e){if(!(e.flags&1)){const t=Qt(e),n=Ve[Ve.length-1];!n||!(e.flags&2)&&t>=Qt(n)?Ve.push(e):Ve.splice(mo(t),0,e),e.flags|=1,Ri()}}function Ri(){bn||(bn=Ai.then(Li))}function yo(e){R(e)?Pt.push(...e):pt&&e.id===-1?pt.splice(Tt+1,0,e):e.flags&1||(Pt.push(e),e.flags|=1),Ri()}function js(e,t,n=ze+1){for(;n<Ve.length;n++){const s=Ve[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Ve.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Di(e){if(Pt.length){const t=[...new Set(Pt)].sort((n,s)=>Qt(n)-Qt(s));if(Pt.length=0,pt){pt.push(...t);return}for(pt=t,Tt=0;Tt<pt.length;Tt++){const n=pt[Tt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}pt=null,Tt=0}}const Qt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Li(e){const t=Ue;try{for(ze=0;ze<Ve.length;ze++){const n=Ve[ze];n&&!(n.flags&8)&&(n.flags&4&&(n.flags&=-2),ln(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2))}}finally{for(;ze<Ve.length;ze++){const n=Ve[ze];n&&(n.flags&=-2)}ze=-1,Ve.length=0,Di(),bn=null,(Ve.length||Pt.length)&&Li()}}let Ae=null,Ui=null;function _n(e){const t=Ae;return Ae=e,Ui=e&&e.type.__scopeId||null,t}function vo(e,t=Ae,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&Ns(-1);const l=_n(t);let o;try{o=e(...i)}finally{_n(l),s._d&&Ns(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function en(e,t){if(Ae===null)return e;const n=An(Ae),s=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[l,o,r,f=le]=t[i];l&&(B(l)&&(l={mounted:l,updated:l}),l.deep&&ot(o),s.push({dir:l,instance:n,value:o,oldValue:void 0,arg:r,modifiers:f}))}return e}function wt(e,t,n,s){const i=e.dirs,l=t&&t.dirs;for(let o=0;o<i.length;o++){const r=i[o];l&&(r.oldValue=l[o].value);let f=r.dir[s];f&&(ft(),Xe(f,n,8,[e.el,r,e,t]),at())}}const bo=Symbol("_vte"),_o=e=>e.__isTeleport;function ks(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ks(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Hi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Wt(e,t,n,s,i=!1){if(R(e)){e.forEach((P,H)=>Wt(P,t&&(R(t)?t[H]:t),n,s,i));return}if(qt(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Wt(e,t,n,s.component.subTree);return}const l=s.shapeFlag&4?An(s.component):s.el,o=i?null:l,{i:r,r:f}=e,d=t&&t.r,c=r.refs===le?r.refs={}:r.refs,p=r.setupState,h=Y(p),b=p===le?()=>!1:P=>X(h,P);if(d!=null&&d!==f&&(pe(d)?(c[d]=null,b(d)&&(p[d]=null)):de(d)&&(d.value=null)),B(f))ln(f,r,12,[o,c]);else{const P=pe(f),H=de(f);if(P||H){const ne=()=>{if(e.f){const G=P?b(f)?p[f]:c[f]:f.value;i?R(G)&&us(G,l):R(G)?G.includes(l)||G.push(l):P?(c[f]=[l],b(f)&&(p[f]=c[f])):(f.value=[l],e.k&&(c[e.k]=f.value))}else P?(c[f]=o,b(f)&&(p[f]=o)):H&&(f.value=o,e.k&&(c[e.k]=o))};o?(ne.id=-1,Oe(ne,n)):ne()}}}$n().requestIdleCallback;$n().cancelIdleCallback;const qt=e=>!!e.type.__asyncLoader,Bi=e=>e.type.__isKeepAlive;function wo(e,t){Ni(e,"a",t)}function xo(e,t){Ni(e,"da",t)}function Ni(e,t,n=Ce){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(On(t,s,n),n){let i=n.parent;for(;i&&i.parent;)Bi(i.parent.vnode)&&ko(s,t,n,i),i=i.parent}}function ko(e,t,n,s){const i=On(t,e,s,!0);qi(()=>{us(s[t],i)},n)}function On(e,t,n=Ce,s=!1){if(n){const i=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...o)=>{ft();const r=rn(n),f=Xe(t,n,e,o);return r(),at(),f});return s?i.unshift(l):i.push(l),l}}const ct=e=>(t,n=Ce)=>{(!nn||e==="sp")&&On(e,(...s)=>t(...s),n)},Vo=ct("bm"),Ki=ct("m"),So=ct("bu"),Co=ct("u"),Wi=ct("bum"),qi=ct("um"),Mo=ct("sp"),$o=ct("rtg"),Eo=ct("rtc");function Fo(e,t=Ce){On("ec",e,t)}const To=Symbol.for("v-ndc");function on(e,t,n,s){let i;const l=n&&n[s],o=R(e);if(o||pe(e)){const r=o&&mt(e);let f=!1,d=!1;r&&(f=!De(e),d=vt(e),e=Fn(e)),i=new Array(e.length);for(let c=0,p=e.length;c<p;c++)i[c]=t(f?d?yn(ve(e[c])):ve(e[c]):e[c],c,void 0,l&&l[c])}else if(typeof e=="number"){i=new Array(e);for(let r=0;r<e;r++)i[r]=t(r+1,r,void 0,l&&l[r])}else if(fe(e))if(e[Symbol.iterator])i=Array.from(e,(r,f)=>t(r,f,void 0,l&&l[f]));else{const r=Object.keys(e);i=new Array(r.length);for(let f=0,d=r.length;f<d;f++){const c=r[f];i[f]=t(e[c],c,f,l&&l[f])}}else i=[];return n&&(n[s]=i),i}const es=e=>e?hl(e)?An(e):es(e.parent):null,zt=be(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>es(e.parent),$root:e=>es(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Vs(e),$forceUpdate:e=>e.f||(e.f=()=>{xs(e.update)}),$nextTick:e=>e.n||(e.n=ws.bind(e.proxy)),$watch:e=>er.bind(e)}),Nn=(e,t)=>e!==le&&!e.__isScriptSetup&&X(e,t),Io={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:l,accessCache:o,type:r,appContext:f}=e;let d;if(t[0]!=="$"){const b=o[t];if(b!==void 0)switch(b){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return l[t]}else{if(Nn(s,t))return o[t]=1,s[t];if(i!==le&&X(i,t))return o[t]=2,i[t];if((d=e.propsOptions[0])&&X(d,t))return o[t]=3,l[t];if(n!==le&&X(n,t))return o[t]=4,n[t];ts&&(o[t]=0)}}const c=zt[t];let p,h;if(c)return t==="$attrs"&&xe(e.attrs,"get",""),c(e);if((p=r.__cssModules)&&(p=p[t]))return p;if(n!==le&&X(n,t))return o[t]=4,n[t];if(h=f.config.globalProperties,X(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:i,ctx:l}=e;return Nn(i,t)?(i[t]=n,!0):s!==le&&X(s,t)?(s[t]=n,!0):X(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,propsOptions:l}},o){let r;return!!n[o]||e!==le&&X(e,o)||Nn(t,o)||(r=l[0])&&X(r,o)||X(s,o)||X(zt,o)||X(i.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:X(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function As(e){return R(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ts=!0;function Oo(e){const t=Vs(e),n=e.proxy,s=e.ctx;ts=!1,t.beforeCreate&&Rs(t.beforeCreate,e,"bc");const{data:i,computed:l,methods:o,watch:r,provide:f,inject:d,created:c,beforeMount:p,mounted:h,beforeUpdate:b,updated:P,activated:H,deactivated:ne,beforeDestroy:G,beforeUnmount:se,destroyed:ie,unmounted:A,render:J,renderTracked:me,renderTriggered:he,errorCaptured:K,serverPrefetch:W,expose:ce,inheritAttrs:Me,components:je,directives:Ke,filters:_t}=t;if(d&&Po(d,s,null),o)for(const N in o){const Z=o[N];B(Z)&&(s[N]=Z.bind(n))}if(i){const N=i.call(n,n);fe(N)&&(e.data=Tn(N))}if(ts=!0,l)for(const N in l){const Z=l[N],Ze=B(Z)?Z.bind(n,n):B(Z.get)?Z.get.bind(n,n):Ue,$t=!B(Z)&&B(Z.set)?Z.set.bind(n):Ue,Qe=nt({get:Ze,set:$t});Object.defineProperty(s,N,{enumerable:!0,configurable:!0,get:()=>Qe.value,set:ye=>Qe.value=ye})}if(r)for(const N in r)zi(r[N],s,n,N);if(f){const N=B(f)?f.call(n):f;Reflect.ownKeys(N).forEach(Z=>{Uo(Z,N[Z])})}c&&Rs(c,e,"c");function ae(N,Z){R(Z)?Z.forEach(Ze=>N(Ze.bind(n))):Z&&N(Z.bind(n))}if(ae(Vo,p),ae(Ki,h),ae(So,b),ae(Co,P),ae(wo,H),ae(xo,ne),ae(Fo,K),ae(Eo,me),ae($o,he),ae(Wi,se),ae(qi,A),ae(Mo,W),R(ce))if(ce.length){const N=e.exposed||(e.exposed={});ce.forEach(Z=>{Object.defineProperty(N,Z,{get:()=>n[Z],set:Ze=>n[Z]=Ze,enumerable:!0})})}else e.exposed||(e.exposed={});J&&e.render===Ue&&(e.render=J),Me!=null&&(e.inheritAttrs=Me),je&&(e.components=je),Ke&&(e.directives=Ke),W&&Hi(e)}function Po(e,t,n=Ue){R(e)&&(e=ns(e));for(const s in e){const i=e[s];let l;fe(i)?"default"in i?l=Gt(i.from||s,i.default,!0):l=Gt(i.from||s):l=Gt(i),de(l)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>l.value,set:o=>l.value=o}):t[s]=l}}function Rs(e,t,n){Xe(R(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function zi(e,t,n,s){let i=s.includes(".")?ol(n,s):()=>n[s];if(pe(e)){const l=t[e];B(l)&&Se(i,l)}else if(B(e))Se(i,e.bind(n));else if(fe(e))if(R(e))e.forEach(l=>zi(l,t,n,s));else{const l=B(e.handler)?e.handler.bind(n):t[e.handler];B(l)&&Se(i,l,e)}}function Vs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:l,config:{optionMergeStrategies:o}}=e.appContext,r=l.get(t);let f;return r?f=r:!i.length&&!n&&!s?f=t:(f={},i.length&&i.forEach(d=>wn(f,d,o,!0)),wn(f,t,o)),fe(t)&&l.set(t,f),f}function wn(e,t,n,s=!1){const{mixins:i,extends:l}=t;l&&wn(e,l,n,!0),i&&i.forEach(o=>wn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const r=jo[o]||n&&n[o];e[o]=r?r(e[o],t[o]):t[o]}return e}const jo={data:Ds,props:Ls,emits:Ls,methods:Ut,computed:Ut,beforeCreate:ke,created:ke,beforeMount:ke,mounted:ke,beforeUpdate:ke,updated:ke,beforeDestroy:ke,beforeUnmount:ke,destroyed:ke,unmounted:ke,activated:ke,deactivated:ke,errorCaptured:ke,serverPrefetch:ke,components:Ut,directives:Ut,watch:Ro,provide:Ds,inject:Ao};function Ds(e,t){return t?e?function(){return be(B(e)?e.call(this,this):e,B(t)?t.call(this,this):t)}:t:e}function Ao(e,t){return Ut(ns(e),ns(t))}function ns(e){if(R(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ke(e,t){return e?[...new Set([].concat(e,t))]:t}function Ut(e,t){return e?be(Object.create(null),e,t):t}function Ls(e,t){return e?R(e)&&R(t)?[...new Set([...e,...t])]:be(Object.create(null),As(e),As(t??{})):t}function Ro(e,t){if(!e)return t;if(!t)return e;const n=be(Object.create(null),e);for(const s in t)n[s]=ke(e[s],t[s]);return n}function Gi(){return{app:null,config:{isNativeTag:Vl,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Do=0;function Lo(e,t){return function(s,i=null){B(s)||(s=be({},s)),i!=null&&!fe(i)&&(i=null);const l=Gi(),o=new WeakSet,r=[];let f=!1;const d=l.app={_uid:Do++,_component:s,_props:i,_container:null,_context:l,_instance:null,version:br,get config(){return l.config},set config(c){},use(c,...p){return o.has(c)||(c&&B(c.install)?(o.add(c),c.install(d,...p)):B(c)&&(o.add(c),c(d,...p))),d},mixin(c){return l.mixins.includes(c)||l.mixins.push(c),d},component(c,p){return p?(l.components[c]=p,d):l.components[c]},directive(c,p){return p?(l.directives[c]=p,d):l.directives[c]},mount(c,p,h){if(!f){const b=d._ceVNode||Be(s,i);return b.appContext=l,h===!0?h="svg":h===!1&&(h=void 0),p&&t?t(b,c):e(b,c,h),f=!0,d._container=c,c.__vue_app__=d,An(b.component)}},onUnmount(c){r.push(c)},unmount(){f&&(Xe(r,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(c,p){return l.provides[c]=p,d},runWithContext(c){const p=Ct;Ct=d;try{return c()}finally{Ct=p}}};return d}}let Ct=null;function Uo(e,t){if(Ce){let n=Ce.provides;const s=Ce.parent&&Ce.parent.provides;s===n&&(n=Ce.provides=Object.create(s)),n[e]=t}}function Gt(e,t,n=!1){const s=pl();if(s||Ct){let i=Ct?Ct._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&B(t)?t.call(s&&s.proxy):t}}function Ho(){return!!(pl()||Ct)}const Ji={},Yi=()=>Object.create(Ji),Xi=e=>Object.getPrototypeOf(e)===Ji;function Bo(e,t,n,s=!1){const i={},l=Yi();e.propsDefaults=Object.create(null),Zi(e,t,i,l);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=s?i:so(i):e.type.props?e.props=i:e.props=l,e.attrs=l}function No(e,t,n,s){const{props:i,attrs:l,vnode:{patchFlag:o}}=e,r=Y(i),[f]=e.propsOptions;let d=!1;if((s||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let p=0;p<c.length;p++){let h=c[p];if(Pn(e.emitsOptions,h))continue;const b=t[h];if(f)if(X(l,h))b!==l[h]&&(l[h]=b,d=!0);else{const P=yt(h);i[P]=ss(f,r,P,b,e,!1)}else b!==l[h]&&(l[h]=b,d=!0)}}}else{Zi(e,t,i,l)&&(d=!0);let c;for(const p in r)(!t||!X(t,p)&&((c=Mt(p))===p||!X(t,c)))&&(f?n&&(n[p]!==void 0||n[c]!==void 0)&&(i[p]=ss(f,r,p,void 0,e,!0)):delete i[p]);if(l!==r)for(const p in l)(!t||!X(t,p))&&(delete l[p],d=!0)}d&<(e.attrs,"set","")}function Zi(e,t,n,s){const[i,l]=e.propsOptions;let o=!1,r;if(t)for(let f in t){if(Bt(f))continue;const d=t[f];let c;i&&X(i,c=yt(f))?!l||!l.includes(c)?n[c]=d:(r||(r={}))[c]=d:Pn(e.emitsOptions,f)||(!(f in s)||d!==s[f])&&(s[f]=d,o=!0)}if(l){const f=Y(n),d=r||le;for(let c=0;c<l.length;c++){const p=l[c];n[p]=ss(i,f,p,d[p],e,!X(d,p))}}return o}function ss(e,t,n,s,i,l){const o=e[n];if(o!=null){const r=X(o,"default");if(r&&s===void 0){const f=o.default;if(o.type!==Function&&!o.skipFactory&&B(f)){const{propsDefaults:d}=i;if(n in d)s=d[n];else{const c=rn(i);s=d[n]=f.call(null,t),c()}}else s=f;i.ce&&i.ce._setProp(n,s)}o[0]&&(l&&!r?s=!1:o[1]&&(s===""||s===Mt(n))&&(s=!0))}return s}const Ko=new WeakMap;function Qi(e,t,n=!1){const s=n?Ko:t.propsCache,i=s.get(e);if(i)return i;const l=e.props,o={},r=[];let f=!1;if(!B(e)){const c=p=>{f=!0;const[h,b]=Qi(p,t,!0);be(o,h),b&&r.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!l&&!f)return fe(e)&&s.set(e,It),It;if(R(l))for(let c=0;c<l.length;c++){const p=yt(l[c]);Us(p)&&(o[p]=le)}else if(l)for(const c in l){const p=yt(c);if(Us(p)){const h=l[c],b=o[p]=R(h)||B(h)?{type:h}:be({},h),P=b.type;let H=!1,ne=!0;if(R(P))for(let G=0;G<P.length;++G){const se=P[G],ie=B(se)&&se.name;if(ie==="Boolean"){H=!0;break}else ie==="String"&&(ne=!1)}else H=B(P)&&P.name==="Boolean";b[0]=H,b[1]=ne,(H||X(b,"default"))&&r.push(p)}}const d=[o,r];return fe(e)&&s.set(e,d),d}function Us(e){return e[0]!=="$"&&!Bt(e)}const Ss=e=>e==="_"||e==="__"||e==="_ctx"||e==="$stable",Cs=e=>R(e)?e.map(Ge):[Ge(e)],Wo=(e,t,n)=>{if(t._n)return t;const s=vo((...i)=>Cs(t(...i)),n);return s._c=!1,s},el=(e,t,n)=>{const s=e._ctx;for(const i in e){if(Ss(i))continue;const l=e[i];if(B(l))t[i]=Wo(i,l,s);else if(l!=null){const o=Cs(l);t[i]=()=>o}}},tl=(e,t)=>{const n=Cs(t);e.slots.default=()=>n},nl=(e,t,n)=>{for(const s in t)(n||!Ss(s))&&(e[s]=t[s])},qo=(e,t,n)=>{const s=e.slots=Yi();if(e.vnode.shapeFlag&32){const i=t.__;i&&Yn(s,"__",i,!0);const l=t._;l?(nl(s,t,n),n&&Yn(s,"_",l,!0)):el(t,s)}else t&&tl(e,t)},zo=(e,t,n)=>{const{vnode:s,slots:i}=e;let l=!0,o=le;if(s.shapeFlag&32){const r=t._;r?n&&r===1?l=!1:nl(i,t,n):(l=!t.$stable,el(t,i)),o=t}else t&&(tl(e,t),o={default:1});if(l)for(const r in i)!Ss(r)&&o[r]==null&&delete i[r]},Oe=rr;function Go(e){return Jo(e)}function Jo(e,t){const n=$n();n.__VUE__=!0;const{insert:s,remove:i,patchProp:l,createElement:o,createText:r,createComment:f,setText:d,setElementText:c,parentNode:p,nextSibling:h,setScopeId:b=Ue,insertStaticContent:P}=e,H=(a,u,g,_=null,m=null,v=null,M=void 0,V=null,k=!!u.dynamicChildren)=>{if(a===u)return;a&&!Lt(a,u)&&(_=j(a),ye(a,m,v,!0),a=null),u.patchFlag===-2&&(k=!1,u.dynamicChildren=null);const{type:w,ref:I,shapeFlag:$}=u;switch(w){case jn:ne(a,u,g,_);break;case bt:G(a,u,g,_);break;case qn:a==null&&se(u,g,_,M);break;case Ee:je(a,u,g,_,m,v,M,V,k);break;default:$&1?J(a,u,g,_,m,v,M,V,k):$&6?Ke(a,u,g,_,m,v,M,V,k):($&64||$&128)&&w.process(a,u,g,_,m,v,M,V,k,te)}I!=null&&m?Wt(I,a&&a.ref,v,u||a,!u):I==null&&a&&a.ref!=null&&Wt(a.ref,null,v,a,!0)},ne=(a,u,g,_)=>{if(a==null)s(u.el=r(u.children),g,_);else{const m=u.el=a.el;u.children!==a.children&&d(m,u.children)}},G=(a,u,g,_)=>{a==null?s(u.el=f(u.children||""),g,_):u.el=a.el},se=(a,u,g,_)=>{[a.el,a.anchor]=P(a.children,u,g,_,a.el,a.anchor)},ie=({el:a,anchor:u},g,_)=>{let m;for(;a&&a!==u;)m=h(a),s(a,g,_),a=m;s(u,g,_)},A=({el:a,anchor:u})=>{let g;for(;a&&a!==u;)g=h(a),i(a),a=g;i(u)},J=(a,u,g,_,m,v,M,V,k)=>{u.type==="svg"?M="svg":u.type==="math"&&(M="mathml"),a==null?me(u,g,_,m,v,M,V,k):W(a,u,m,v,M,V,k)},me=(a,u,g,_,m,v,M,V)=>{let k,w;const{props:I,shapeFlag:$,transition:T,dirs:D}=a;if(k=a.el=o(a.type,v,I&&I.is,I),$&8?c(k,a.children):$&16&&K(a.children,k,null,_,m,Kn(a,v),M,V),D&&wt(a,null,_,"created"),he(k,a,a.scopeId,M,_),I){for(const oe in I)oe!=="value"&&!Bt(oe)&&l(k,oe,null,I[oe],v,_);"value"in I&&l(k,"value",null,I.value,v),(w=I.onVnodeBeforeMount)&&qe(w,_,a)}D&&wt(a,null,_,"beforeMount");const z=Yo(m,T);z&&T.beforeEnter(k),s(k,u,g),((w=I&&I.onVnodeMounted)||z||D)&&Oe(()=>{w&&qe(w,_,a),z&&T.enter(k),D&&wt(a,null,_,"mounted")},m)},he=(a,u,g,_,m)=>{if(g&&b(a,g),_)for(let v=0;v<_.length;v++)b(a,_[v]);if(m){let v=m.subTree;if(u===v||fl(v.type)&&(v.ssContent===u||v.ssFallback===u)){const M=m.vnode;he(a,M,M.scopeId,M.slotScopeIds,m.parent)}}},K=(a,u,g,_,m,v,M,V,k=0)=>{for(let w=k;w<a.length;w++){const I=a[w]=V?ht(a[w]):Ge(a[w]);H(null,I,u,g,_,m,v,M,V)}},W=(a,u,g,_,m,v,M)=>{const V=u.el=a.el;let{patchFlag:k,dynamicChildren:w,dirs:I}=u;k|=a.patchFlag&16;const $=a.props||le,T=u.props||le;let D;if(g&&xt(g,!1),(D=T.onVnodeBeforeUpdate)&&qe(D,g,u,a),I&&wt(u,a,g,"beforeUpdate"),g&&xt(g,!0),($.innerHTML&&T.innerHTML==null||$.textContent&&T.textContent==null)&&c(V,""),w?ce(a.dynamicChildren,w,V,g,_,Kn(u,m),v):M||Z(a,u,V,null,g,_,Kn(u,m),v,!1),k>0){if(k&16)Me(V,$,T,g,m);else if(k&2&&$.class!==T.class&&l(V,"class",null,T.class,m),k&4&&l(V,"style",$.style,T.style,m),k&8){const z=u.dynamicProps;for(let oe=0;oe<z.length;oe++){const ee=z[oe],$e=$[ee],_e=T[ee];(_e!==$e||ee==="value")&&l(V,ee,$e,_e,m,g)}}k&1&&a.children!==u.children&&c(V,u.children)}else!M&&w==null&&Me(V,$,T,g,m);((D=T.onVnodeUpdated)||I)&&Oe(()=>{D&&qe(D,g,u,a),I&&wt(u,a,g,"updated")},_)},ce=(a,u,g,_,m,v,M)=>{for(let V=0;V<u.length;V++){const k=a[V],w=u[V],I=k.el&&(k.type===Ee||!Lt(k,w)||k.shapeFlag&198)?p(k.el):g;H(k,w,I,null,_,m,v,M,!0)}},Me=(a,u,g,_,m)=>{if(u!==g){if(u!==le)for(const v in u)!Bt(v)&&!(v in g)&&l(a,v,u[v],null,m,_);for(const v in g){if(Bt(v))continue;const M=g[v],V=u[v];M!==V&&v!=="value"&&l(a,v,V,M,m,_)}"value"in g&&l(a,"value",u.value,g.value,m)}},je=(a,u,g,_,m,v,M,V,k)=>{const w=u.el=a?a.el:r(""),I=u.anchor=a?a.anchor:r("");let{patchFlag:$,dynamicChildren:T,slotScopeIds:D}=u;D&&(V=V?V.concat(D):D),a==null?(s(w,g,_),s(I,g,_),K(u.children||[],g,I,m,v,M,V,k)):$>0&&$&64&&T&&a.dynamicChildren?(ce(a.dynamicChildren,T,g,m,v,M,V),(u.key!=null||m&&u===m.subTree)&&sl(a,u,!0)):Z(a,u,g,I,m,v,M,V,k)},Ke=(a,u,g,_,m,v,M,V,k)=>{u.slotScopeIds=V,a==null?u.shapeFlag&512?m.ctx.activate(u,g,_,M,k):_t(u,g,_,m,v,M,k):ut(a,u,k)},_t=(a,u,g,_,m,v,M)=>{const V=a.component=pr(a,_,m);if(Bi(a)&&(V.ctx.renderer=te),hr(V,!1,M),V.asyncDep){if(m&&m.registerDep(V,ae,M),!a.el){const k=V.subTree=Be(bt);G(null,k,u,g),a.placeholder=k.el}}else ae(V,a,u,g,m,v,M)},ut=(a,u,g)=>{const _=u.component=a.component;if(lr(a,u,g))if(_.asyncDep&&!_.asyncResolved){N(_,u,g);return}else _.next=u,_.update();else u.el=a.el,_.vnode=u},ae=(a,u,g,_,m,v,M)=>{const V=()=>{if(a.isMounted){let{next:$,bu:T,u:D,parent:z,vnode:oe}=a;{const Te=il(a);if(Te){$&&($.el=oe.el,N(a,$,M)),Te.asyncDep.then(()=>{a.isUnmounted||V()});return}}let ee=$,$e;xt(a,!1),$?($.el=oe.el,N(a,$,M)):$=oe,T&&dn(T),($e=$.props&&$.props.onVnodeBeforeUpdate)&&qe($e,z,$,oe),xt(a,!0);const _e=Wn(a),Le=a.subTree;a.subTree=_e,H(Le,_e,p(Le.el),j(Le),a,m,v),$.el=_e.el,ee===null&&or(a,_e.el),D&&Oe(D,m),($e=$.props&&$.props.onVnodeUpdated)&&Oe(()=>qe($e,z,$,oe),m)}else{let $;const{el:T,props:D}=u,{bm:z,m:oe,parent:ee,root:$e,type:_e}=a,Le=qt(u);if(xt(a,!1),z&&dn(z),!Le&&($=D&&D.onVnodeBeforeMount)&&qe($,ee,u),xt(a,!0),T&&et){const Te=()=>{a.subTree=Wn(a),et(T,a.subTree,a,m,null)};Le&&_e.__asyncHydrate?_e.__asyncHydrate(T,a,Te):Te()}else{$e.ce&&$e.ce._def.shadowRoot!==!1&&$e.ce._injectChildStyle(_e);const Te=a.subTree=Wn(a);H(null,Te,g,_,a,m,v),u.el=Te.el}if(oe&&Oe(oe,m),!Le&&($=D&&D.onVnodeMounted)){const Te=u;Oe(()=>qe($,ee,Te),m)}(u.shapeFlag&256||ee&&qt(ee.vnode)&&ee.vnode.shapeFlag&256)&&a.a&&Oe(a.a,m),a.isMounted=!0,u=g=_=null}};a.scope.on();const k=a.effect=new _i(V);a.scope.off();const w=a.update=k.run.bind(k),I=a.job=k.runIfDirty.bind(k);I.i=a,I.id=a.uid,k.scheduler=()=>xs(I),xt(a,!0),w()},N=(a,u,g)=>{u.component=a;const _=a.vnode.props;a.vnode=u,a.next=null,No(a,u.props,_,g),zo(a,u.children,g),ft(),js(a),at()},Z=(a,u,g,_,m,v,M,V,k=!1)=>{const w=a&&a.children,I=a?a.shapeFlag:0,$=u.children,{patchFlag:T,shapeFlag:D}=u;if(T>0){if(T&128){$t(w,$,g,_,m,v,M,V,k);return}else if(T&256){Ze(w,$,g,_,m,v,M,V,k);return}}D&8?(I&16&&E(w,m,v),$!==w&&c(g,$)):I&16?D&16?$t(w,$,g,_,m,v,M,V,k):E(w,m,v,!0):(I&8&&c(g,""),D&16&&K($,g,_,m,v,M,V,k))},Ze=(a,u,g,_,m,v,M,V,k)=>{a=a||It,u=u||It;const w=a.length,I=u.length,$=Math.min(w,I);let T;for(T=0;T<$;T++){const D=u[T]=k?ht(u[T]):Ge(u[T]);H(a[T],D,g,null,m,v,M,V,k)}w>I?E(a,m,v,!0,!1,$):K(u,g,_,m,v,M,V,k,$)},$t=(a,u,g,_,m,v,M,V,k)=>{let w=0;const I=u.length;let $=a.length-1,T=I-1;for(;w<=$&&w<=T;){const D=a[w],z=u[w]=k?ht(u[w]):Ge(u[w]);if(Lt(D,z))H(D,z,g,null,m,v,M,V,k);else break;w++}for(;w<=$&&w<=T;){const D=a[$],z=u[T]=k?ht(u[T]):Ge(u[T]);if(Lt(D,z))H(D,z,g,null,m,v,M,V,k);else break;$--,T--}if(w>$){if(w<=T){const D=T+1,z=D<I?u[D].el:_;for(;w<=T;)H(null,u[w]=k?ht(u[w]):Ge(u[w]),g,z,m,v,M,V,k),w++}}else if(w>T)for(;w<=$;)ye(a[w],m,v,!0),w++;else{const D=w,z=w,oe=new Map;for(w=z;w<=T;w++){const Ie=u[w]=k?ht(u[w]):Ge(u[w]);Ie.key!=null&&oe.set(Ie.key,w)}let ee,$e=0;const _e=T-z+1;let Le=!1,Te=0;const Rt=new Array(_e);for(w=0;w<_e;w++)Rt[w]=0;for(w=D;w<=$;w++){const Ie=a[w];if($e>=_e){ye(Ie,m,v,!0);continue}let We;if(Ie.key!=null)We=oe.get(Ie.key);else for(ee=z;ee<=T;ee++)if(Rt[ee-z]===0&&Lt(Ie,u[ee])){We=ee;break}We===void 0?ye(Ie,m,v,!0):(Rt[We-z]=w+1,We>=Te?Te=We:Le=!0,H(Ie,u[We],g,null,m,v,M,V,k),$e++)}const $s=Le?Xo(Rt):It;for(ee=$s.length-1,w=_e-1;w>=0;w--){const Ie=z+w,We=u[Ie],Es=u[Ie+1],Fs=Ie+1<I?Es.el||Es.placeholder:_;Rt[w]===0?H(null,We,g,Fs,m,v,M,V,k):Le&&(ee<0||w!==$s[ee]?Qe(We,g,Fs,2):ee--)}}},Qe=(a,u,g,_,m=null)=>{const{el:v,type:M,transition:V,children:k,shapeFlag:w}=a;if(w&6){Qe(a.component.subTree,u,g,_);return}if(w&128){a.suspense.move(u,g,_);return}if(w&64){M.move(a,u,g,te);return}if(M===Ee){s(v,u,g);for(let $=0;$<k.length;$++)Qe(k[$],u,g,_);s(a.anchor,u,g);return}if(M===qn){ie(a,u,g);return}if(_!==2&&w&1&&V)if(_===0)V.beforeEnter(v),s(v,u,g),Oe(()=>V.enter(v),m);else{const{leave:$,delayLeave:T,afterLeave:D}=V,z=()=>{a.ctx.isUnmounted?i(v):s(v,u,g)},oe=()=>{$(v,()=>{z(),D&&D()})};T?T(v,z,oe):oe()}else s(v,u,g)},ye=(a,u,g,_=!1,m=!1)=>{const{type:v,props:M,ref:V,children:k,dynamicChildren:w,shapeFlag:I,patchFlag:$,dirs:T,cacheIndex:D}=a;if($===-2&&(m=!1),V!=null&&(ft(),Wt(V,null,g,a,!0),at()),D!=null&&(u.renderCache[D]=void 0),I&256){u.ctx.deactivate(a);return}const z=I&1&&T,oe=!qt(a);let ee;if(oe&&(ee=M&&M.onVnodeBeforeUnmount)&&qe(ee,u,a),I&6)C(a.component,g,_);else{if(I&128){a.suspense.unmount(g,_);return}z&&wt(a,null,u,"beforeUnmount"),I&64?a.type.remove(a,u,g,te,_):w&&!w.hasOnce&&(v!==Ee||$>0&&$&64)?E(w,u,g,!1,!0):(v===Ee&&$&384||!m&&I&16)&&E(k,u,g),_&&S(a)}(oe&&(ee=M&&M.onVnodeUnmounted)||z)&&Oe(()=>{ee&&qe(ee,u,a),z&&wt(a,null,u,"unmounted")},g)},S=a=>{const{type:u,el:g,anchor:_,transition:m}=a;if(u===Ee){x(g,_);return}if(u===qn){A(a);return}const v=()=>{i(g),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(a.shapeFlag&1&&m&&!m.persisted){const{leave:M,delayLeave:V}=m,k=()=>M(g,v);V?V(a.el,v,k):k()}else v()},x=(a,u)=>{let g;for(;a!==u;)g=h(a),i(a),a=g;i(u)},C=(a,u,g)=>{const{bum:_,scope:m,job:v,subTree:M,um:V,m:k,a:w,parent:I,slots:{__:$}}=a;Hs(k),Hs(w),_&&dn(_),I&&R($)&&$.forEach(T=>{I.renderCache[T]=void 0}),m.stop(),v&&(v.flags|=8,ye(M,a,u,g)),V&&Oe(V,u),Oe(()=>{a.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},E=(a,u,g,_=!1,m=!1,v=0)=>{for(let M=v;M<a.length;M++)ye(a[M],u,g,_,m)},j=a=>{if(a.shapeFlag&6)return j(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const u=h(a.anchor||a.el),g=u&&u[bo];return g?h(g):u};let U=!1;const Q=(a,u,g)=>{a==null?u._vnode&&ye(u._vnode,null,null,!0):H(u._vnode||null,a,u,null,null,null,g),u._vnode=a,U||(U=!0,js(),Di(),U=!1)},te={p:H,um:ye,m:Qe,r:S,mt:_t,mc:K,pc:Z,pbc:ce,n:j,o:e};let q,et;return t&&([q,et]=t(te)),{render:Q,hydrate:q,createApp:Lo(Q,q)}}function Kn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function xt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Yo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function sl(e,t,n=!1){const s=e.children,i=t.children;if(R(s)&&R(i))for(let l=0;l<s.length;l++){const o=s[l];let r=i[l];r.shapeFlag&1&&!r.dynamicChildren&&((r.patchFlag<=0||r.patchFlag===32)&&(r=i[l]=ht(i[l]),r.el=o.el),!n&&r.patchFlag!==-2&&sl(o,r)),r.type===jn&&(r.el=o.el),r.type===bt&&!r.el&&(r.el=o.el)}}function Xo(e){const t=e.slice(),n=[0];let s,i,l,o,r;const f=e.length;for(s=0;s<f;s++){const d=e[s];if(d!==0){if(i=n[n.length-1],e[i]<d){t[s]=i,n.push(s);continue}for(l=0,o=n.length-1;l<o;)r=l+o>>1,e[n[r]]<d?l=r+1:o=r;d<e[n[l]]&&(l>0&&(t[s]=n[l-1]),n[l]=s)}}for(l=n.length,o=n[l-1];l-- >0;)n[l]=o,o=t[o];return n}function il(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:il(t)}function Hs(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Zo=Symbol.for("v-scx"),Qo=()=>Gt(Zo);function Se(e,t,n){return ll(e,t,n)}function ll(e,t,n=le){const{immediate:s,deep:i,flush:l,once:o}=n,r=be({},n),f=t&&s||!t&&l!=="post";let d;if(nn){if(l==="sync"){const b=Qo();d=b.__watcherHandles||(b.__watcherHandles=[])}else if(!f){const b=()=>{};return b.stop=Ue,b.resume=Ue,b.pause=Ue,b}}const c=Ce;r.call=(b,P,H)=>Xe(b,c,P,H);let p=!1;l==="post"?r.scheduler=b=>{Oe(b,c&&c.suspense)}:l!=="sync"&&(p=!0,r.scheduler=(b,P)=>{P?b():xs(b)}),r.augmentJob=b=>{t&&(b.flags|=4),p&&(b.flags|=2,c&&(b.id=c.uid,b.i=c))};const h=ho(e,t,r);return nn&&(d?d.push(h):f&&h()),h}function er(e,t,n){const s=this.proxy,i=pe(e)?e.includes(".")?ol(s,e):()=>s[e]:e.bind(s,s);let l;B(t)?l=t:(l=t.handler,n=t);const o=rn(this),r=ll(i,l.bind(s),n);return o(),r}function ol(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i<n.length&&s;i++)s=s[n[i]];return s}}const tr=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${yt(t)}Modifiers`]||e[`${Mt(t)}Modifiers`];function nr(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||le;let i=n;const l=t.startsWith("update:"),o=l&&tr(s,t.slice(7));o&&(o.trim&&(i=n.map(c=>pe(c)?c.trim():c)),o.number&&(i=n.map(gn)));let r,f=s[r=Dn(t)]||s[r=Dn(yt(t))];!f&&l&&(f=s[r=Dn(Mt(t))]),f&&Xe(f,e,6,i);const d=s[r+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[r])return;e.emitted[r]=!0,Xe(d,e,6,i)}}function rl(e,t,n=!1){const s=t.emitsCache,i=s.get(e);if(i!==void 0)return i;const l=e.emits;let o={},r=!1;if(!B(e)){const f=d=>{const c=rl(d,t,!0);c&&(r=!0,be(o,c))};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!l&&!r?(fe(e)&&s.set(e,null),null):(R(l)?l.forEach(f=>o[f]=null):be(o,l),fe(e)&&s.set(e,o),o)}function Pn(e,t){return!e||!Sn(t)?!1:(t=t.slice(2).replace(/Once$/,""),X(e,t[0].toLowerCase()+t.slice(1))||X(e,Mt(t))||X(e,t))}function Wn(e){const{type:t,vnode:n,proxy:s,withProxy:i,propsOptions:[l],slots:o,attrs:r,emit:f,render:d,renderCache:c,props:p,data:h,setupState:b,ctx:P,inheritAttrs:H}=e,ne=_n(e);let G,se;try{if(n.shapeFlag&4){const A=i||s,J=A;G=Ge(d.call(J,A,c,p,b,h,P)),se=r}else{const A=t;G=Ge(A.length>1?A(p,{attrs:r,slots:o,emit:f}):A(p,null)),se=t.props?r:sr(r)}}catch(A){Jt.length=0,In(A,e,1),G=Be(bt)}let ie=G;if(se&&H!==!1){const A=Object.keys(se),{shapeFlag:J}=ie;A.length&&J&7&&(l&&A.some(cs)&&(se=ir(se,l)),ie=At(ie,se,!1,!0))}return n.dirs&&(ie=At(ie,null,!1,!0),ie.dirs=ie.dirs?ie.dirs.concat(n.dirs):n.dirs),n.transition&&ks(ie,n.transition),G=ie,_n(ne),G}const sr=e=>{let t;for(const n in e)(n==="class"||n==="style"||Sn(n))&&((t||(t={}))[n]=e[n]);return t},ir=(e,t)=>{const n={};for(const s in e)(!cs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function lr(e,t,n){const{props:s,children:i,component:l}=e,{props:o,children:r,patchFlag:f}=t,d=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&f>=0){if(f&1024)return!0;if(f&16)return s?Bs(s,o,d):!!o;if(f&8){const c=t.dynamicProps;for(let p=0;p<c.length;p++){const h=c[p];if(o[h]!==s[h]&&!Pn(d,h))return!0}}}else return(i||r)&&(!r||!r.$stable)?!0:s===o?!1:s?o?Bs(s,o,d):!0:!!o;return!1}function Bs(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let i=0;i<s.length;i++){const l=s[i];if(t[l]!==e[l]&&!Pn(n,l))return!0}return!1}function or({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const fl=e=>e.__isSuspense;function rr(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):yo(e)}const Ee=Symbol.for("v-fgt"),jn=Symbol.for("v-txt"),bt=Symbol.for("v-cmt"),qn=Symbol.for("v-stc"),Jt=[];let Pe=null;function F(e=!1){Jt.push(Pe=e?null:[])}function fr(){Jt.pop(),Pe=Jt[Jt.length-1]||null}let tn=1;function Ns(e,t=!1){tn+=e,e<0&&Pe&&t&&(Pe.hasOnce=!0)}function al(e){return e.dynamicChildren=tn>0?Pe||It:null,fr(),tn>0&&Pe&&Pe.push(e),e}function O(e,t,n,s,i,l){return al(y(e,t,n,s,i,l,!0))}function ge(e,t,n,s,i){return al(Be(e,t,n,s,i,!0))}function cl(e){return e?e.__v_isVNode===!0:!1}function Lt(e,t){return e.type===t.type&&e.key===t.key}const ul=({key:e})=>e??null,pn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?pe(e)||de(e)||B(e)?{i:Ae,r:e,k:t,f:!!n}:e:null);function y(e,t=null,n=null,s=0,i=null,l=e===Ee?0:1,o=!1,r=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ul(t),ref:t&&pn(t),scopeId:Ui,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ae};return r?(Ms(f,n),l&128&&e.normalize(f)):n&&(f.shapeFlag|=pe(n)?8:16),tn>0&&!o&&Pe&&(f.patchFlag>0||l&6)&&f.patchFlag!==32&&Pe.push(f),f}const Be=ar;function ar(e,t=null,n=null,s=0,i=null,l=!1){if((!e||e===To)&&(e=bt),cl(e)){const r=At(e,t,!0);return n&&Ms(r,n),tn>0&&!l&&Pe&&(r.shapeFlag&6?Pe[Pe.indexOf(e)]=r:Pe.push(r)),r.patchFlag=-2,r}if(vr(e)&&(e=e.__vccOpts),t){t=cr(t);let{class:r,style:f}=t;r&&!pe(r)&&(t.class=rt(r)),fe(f)&&(bs(f)&&!R(f)&&(f=be({},f)),t.style=it(f))}const o=pe(e)?1:fl(e)?128:_o(e)?64:fe(e)?4:B(e)?2:0;return y(e,t,n,s,i,o,l,!0)}function cr(e){return e?bs(e)||Xi(e)?be({},e):e:null}function At(e,t,n=!1,s=!1){const{props:i,ref:l,patchFlag:o,children:r,transition:f}=e,d=t?Re(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&ul(d),ref:t&&t.ref?n&&l?R(l)?l.concat(pn(t)):[l,pn(t)]:pn(t):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ee?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&At(e.ssContent),ssFallback:e.ssFallback&&At(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&s&&ks(c,f.clone(c)),c}function dl(e=" ",t=0){return Be(jn,null,e,t)}function Ne(e="",t=!1){return t?(F(),ge(bt,null,e)):Be(bt,null,e)}function Ge(e){return e==null||typeof e=="boolean"?Be(bt):R(e)?Be(Ee,null,e.slice()):cl(e)?ht(e):Be(jn,null,String(e))}function ht(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:At(e)}function Ms(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(R(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),Ms(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Xi(t)?t._ctx=Ae:i===3&&Ae&&(Ae.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else B(t)?(t={default:t,_ctx:Ae},n=32):(t=String(t),s&64?(n=16,t=[dl(t)]):n=8);e.children=t,e.shapeFlag|=n}function Re(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const i in s)if(i==="class")t.class!==s.class&&(t.class=rt([t.class,s.class]));else if(i==="style")t.style=it([t.style,s.style]);else if(Sn(i)){const l=t[i],o=s[i];o&&l!==o&&!(R(l)&&l.includes(o))&&(t[i]=l?[].concat(l,o):o)}else i!==""&&(t[i]=s[i])}return t}function qe(e,t,n,s=null){Xe(e,t,7,[n,s])}const ur=Gi();let dr=0;function pr(e,t,n){const s=e.type,i=(t?t.appContext:e.appContext)||ur,l={uid:dr++,vnode:e,type:s,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new yi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Qi(s,i),emitsOptions:rl(s,i),emit:null,emitted:null,propsDefaults:le,inheritAttrs:s.inheritAttrs,ctx:le,data:le,props:le,attrs:le,slots:le,refs:le,setupState:le,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return l.ctx={_:l},l.root=t?t.root:l,l.emit=nr.bind(null,l),e.ce&&e.ce(l),l}let Ce=null;const pl=()=>Ce||Ae;let xn,is;{const e=$n(),t=(n,s)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(s),l=>{i.length>1?i.forEach(o=>o(l)):i[0](l)}};xn=t("__VUE_INSTANCE_SETTERS__",n=>Ce=n),is=t("__VUE_SSR_SETTERS__",n=>nn=n)}const rn=e=>{const t=Ce;return xn(e),e.scope.on(),()=>{e.scope.off(),xn(t)}},Ks=()=>{Ce&&Ce.scope.off(),xn(null)};function hl(e){return e.vnode.shapeFlag&4}let nn=!1;function hr(e,t=!1,n=!1){t&&is(t);const{props:s,children:i}=e.vnode,l=hl(e);Bo(e,s,l,t),qo(e,i,n||t);const o=l?gr(e,t):void 0;return t&&is(!1),o}function gr(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Io);const{setup:s}=n;if(s){ft();const i=e.setupContext=s.length>1?yr(e):null,l=rn(e),o=ln(s,e,0,[e.props,i]),r=ci(o);if(at(),l(),(r||e.sp)&&!qt(e)&&Hi(e),r){if(o.then(Ks,Ks),t)return o.then(f=>{Ws(e,f,t)}).catch(f=>{In(f,e,0)});e.asyncDep=o}else Ws(e,o,t)}else gl(e,t)}function Ws(e,t,n){B(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:fe(t)&&(e.setupState=ji(t)),gl(e,n)}let qs;function gl(e,t,n){const s=e.type;if(!e.render){if(!t&&qs&&!s.render){const i=s.template||Vs(e).template;if(i){const{isCustomElement:l,compilerOptions:o}=e.appContext.config,{delimiters:r,compilerOptions:f}=s,d=be(be({isCustomElement:l,delimiters:r},o),f);s.render=qs(i,d)}}e.render=s.render||Ue}{const i=rn(e);ft();try{Oo(e)}finally{at(),i()}}}const mr={get(e,t){return xe(e,"get",""),e[t]}};function yr(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,mr),slots:e.slots,emit:e.emit,expose:t}}function An(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ji(_s(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in zt)return zt[n](e)},has(t,n){return n in t||n in zt}})):e.proxy}function vr(e){return B(e)&&"__vccOpts"in e}const nt=(e,t)=>uo(e,t,nn),br="3.5.18";/**13 **/function on(e,t,n,s){try{return s?e(...s):e()}catch(i){Pn(i,t,n)}}function Xe(e,t,n,s){if(N(e)){const i=on(e,t,n,s);return i&&ui(i)&&i.catch(l=>{Pn(l,t,n)}),i}if(R(e)){const i=[];for(let l=0;l<e.length;l++)i.push(Xe(e[l],t,n,s));return i}}function Pn(e,t,n,s=!0){const i=t?t.vnode:null,{errorHandler:l,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||le;if(t){let r=t.parent;const f=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){const c=r.ec;if(c){for(let p=0;p<c.length;p++)if(c[p](e,f,u)===!1)return}r=r.parent}if(l){ft(),on(l,null,10,[e,f,u]),at();return}}yo(e,n,i,s,o)}function yo(e,t,n,s=!0,i=!1){if(i)throw e;console.error(e)}const Ve=[];let Ge=-1;const Pt=[];let pt=null,Tt=0;const Ri=Promise.resolve();let _n=null;function ks(e){const t=_n||Ri;return e?t.then(this?e.bind(this):e):t}function bo(e){let t=Ge+1,n=Ve.length;for(;t<n;){const s=t+n>>>1,i=Ve[s],l=tn(i);l<e||l===e&&i.flags&2?t=s+1:n=s}return t}function Vs(e){if(!(e.flags&1)){const t=tn(e),n=Ve[Ve.length-1];!n||!(e.flags&2)&&t>=tn(n)?Ve.push(e):Ve.splice(bo(t),0,e),e.flags|=1,Di()}}function Di(){_n||(_n=Ri.then(Ui))}function vo(e){R(e)?Pt.push(...e):pt&&e.id===-1?pt.splice(Tt+1,0,e):e.flags&1||(Pt.push(e),e.flags|=1),Di()}function Rs(e,t,n=Ge+1){for(;n<Ve.length;n++){const s=Ve[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Ve.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Li(e){if(Pt.length){const t=[...new Set(Pt)].sort((n,s)=>tn(n)-tn(s));if(Pt.length=0,pt){pt.push(...t);return}for(pt=t,Tt=0;Tt<pt.length;Tt++){const n=pt[Tt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}pt=null,Tt=0}}const tn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Ui(e){const t=Ue;try{for(Ge=0;Ge<Ve.length;Ge++){const n=Ve[Ge];n&&!(n.flags&8)&&(n.flags&4&&(n.flags&=-2),on(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2))}}finally{for(;Ge<Ve.length;Ge++){const n=Ve[Ge];n&&(n.flags&=-2)}Ge=-1,Ve.length=0,Li(),_n=null,(Ve.length||Pt.length)&&Ui()}}let Ae=null,Hi=null;function wn(e){const t=Ae;return Ae=e,Hi=e&&e.type.__scopeId||null,t}function _o(e,t=Ae,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&Ws(-1);const l=wn(t);let o;try{o=e(...i)}finally{wn(l),s._d&&Ws(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function At(e,t){if(Ae===null)return e;const n=Dn(Ae),s=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[l,o,r,f=le]=t[i];l&&(N(l)&&(l={mounted:l,updated:l}),l.deep&&ot(o),s.push({dir:l,instance:n,value:o,oldValue:void 0,arg:r,modifiers:f}))}return e}function wt(e,t,n,s){const i=e.dirs,l=t&&t.dirs;for(let o=0;o<i.length;o++){const r=i[o];l&&(r.oldValue=l[o].value);let f=r.dir[s];f&&(ft(),Xe(f,n,8,[e.el,r,e,t]),at())}}const wo=Symbol("_vte"),xo=e=>e.__isTeleport;function Ss(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ss(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ni(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Gt(e,t,n,s,i=!1){if(R(e)){e.forEach((P,H)=>Gt(P,t&&(R(t)?t[H]:t),n,s,i));return}if(zt(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Gt(e,t,n,s.component.subTree);return}const l=s.shapeFlag&4?Dn(s.component):s.el,o=i?null:l,{i:r,r:f}=e,u=t&&t.r,c=r.refs===le?r.refs={}:r.refs,p=r.setupState,h=Y(p),v=p===le?()=>!1:P=>X(h,P);if(u!=null&&u!==f&&(pe(u)?(c[u]=null,v(u)&&(p[u]=null)):de(u)&&(u.value=null)),N(f))on(f,r,12,[o,c]);else{const P=pe(f),H=de(f);if(P||H){const ne=()=>{if(e.f){const z=P?v(f)?p[f]:c[f]:f.value;i?R(z)&&ps(z,l):R(z)?z.includes(l)||z.push(l):P?(c[f]=[l],v(f)&&(p[f]=c[f])):(f.value=[l],e.k&&(c[e.k]=f.value))}else P?(c[f]=o,v(f)&&(p[f]=o)):H&&(f.value=o,e.k&&(c[e.k]=o))};o?(ne.id=-1,Ie(ne,n)):ne()}}}$n().requestIdleCallback;$n().cancelIdleCallback;const zt=e=>!!e.type.__asyncLoader,Bi=e=>e.type.__isKeepAlive;function ko(e,t){Ki(e,"a",t)}function Vo(e,t){Ki(e,"da",t)}function Ki(e,t,n=Ce){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(jn(t,s,n),n){let i=n.parent;for(;i&&i.parent;)Bi(i.parent.vnode)&&So(s,t,n,i),i=i.parent}}function So(e,t,n,s){const i=jn(t,e,s,!0);Gi(()=>{ps(s[t],i)},n)}function jn(e,t,n=Ce,s=!1){if(n){const i=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...o)=>{ft();const r=fn(n),f=Xe(t,n,e,o);return r(),at(),f});return s?i.unshift(l):i.push(l),l}}const ct=e=>(t,n=Ce)=>{(!sn||e==="sp")&&jn(e,(...s)=>t(...s),n)},Co=ct("bm"),Wi=ct("m"),Mo=ct("bu"),Fo=ct("u"),qi=ct("bum"),Gi=ct("um"),Eo=ct("sp"),$o=ct("rtg"),To=ct("rtc");function Oo(e,t=Ce){jn("ec",e,t)}const Io=Symbol.for("v-ndc");function rn(e,t,n,s){let i;const l=n&&n[s],o=R(e);if(o||pe(e)){const r=o&&mt(e);let f=!1,u=!1;r&&(f=!De(e),u=bt(e),e=On(e)),i=new Array(e.length);for(let c=0,p=e.length;c<p;c++)i[c]=t(f?u?bn(be(e[c])):be(e[c]):e[c],c,void 0,l&&l[c])}else if(typeof e=="number"){i=new Array(e);for(let r=0;r<e;r++)i[r]=t(r+1,r,void 0,l&&l[r])}else if(fe(e))if(e[Symbol.iterator])i=Array.from(e,(r,f)=>t(r,f,void 0,l&&l[f]));else{const r=Object.keys(e);i=new Array(r.length);for(let f=0,u=r.length;f<u;f++){const c=r[f];i[f]=t(e[c],c,f,l&&l[f])}}else i=[];return n&&(n[s]=i),i}const ns=e=>e?gl(e)?Dn(e):ns(e.parent):null,Jt=ve(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ns(e.parent),$root:e=>ns(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Cs(e),$forceUpdate:e=>e.f||(e.f=()=>{Vs(e.update)}),$nextTick:e=>e.n||(e.n=ks.bind(e.proxy)),$watch:e=>nr.bind(e)}),Wn=(e,t)=>e!==le&&!e.__isScriptSetup&&X(e,t),Po={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:l,accessCache:o,type:r,appContext:f}=e;let u;if(t[0]!=="$"){const v=o[t];if(v!==void 0)switch(v){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return l[t]}else{if(Wn(s,t))return o[t]=1,s[t];if(i!==le&&X(i,t))return o[t]=2,i[t];if((u=e.propsOptions[0])&&X(u,t))return o[t]=3,l[t];if(n!==le&&X(n,t))return o[t]=4,n[t];ss&&(o[t]=0)}}const c=Jt[t];let p,h;if(c)return t==="$attrs"&&xe(e.attrs,"get",""),c(e);if((p=r.__cssModules)&&(p=p[t]))return p;if(n!==le&&X(n,t))return o[t]=4,n[t];if(h=f.config.globalProperties,X(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:i,ctx:l}=e;return Wn(i,t)?(i[t]=n,!0):s!==le&&X(s,t)?(s[t]=n,!0):X(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,propsOptions:l}},o){let r;return!!n[o]||e!==le&&X(e,o)||Wn(t,o)||(r=l[0])&&X(r,o)||X(s,o)||X(Jt,o)||X(i.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:X(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ds(e){return R(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ss=!0;function jo(e){const t=Cs(e),n=e.proxy,s=e.ctx;ss=!1,t.beforeCreate&&Ls(t.beforeCreate,e,"bc");const{data:i,computed:l,methods:o,watch:r,provide:f,inject:u,created:c,beforeMount:p,mounted:h,beforeUpdate:v,updated:P,activated:H,deactivated:ne,beforeDestroy:z,beforeUnmount:se,destroyed:ie,unmounted:A,render:J,renderTracked:me,renderTriggered:he,errorCaptured:K,serverPrefetch:W,expose:ce,inheritAttrs:Me,components:je,directives:Ke,filters:_t}=t;if(u&&Ao(u,s,null),o)for(const B in o){const Z=o[B];N(Z)&&(s[B]=Z.bind(n))}if(i){const B=i.call(n,n);fe(B)&&(e.data=In(B))}if(ss=!0,l)for(const B in l){const Z=l[B],Ze=N(Z)?Z.bind(n,n):N(Z.get)?Z.get.bind(n,n):Ue,Ft=!N(Z)&&N(Z.set)?Z.set.bind(n):Ue,Qe=nt({get:Ze,set:Ft});Object.defineProperty(s,B,{enumerable:!0,configurable:!0,get:()=>Qe.value,set:ye=>Qe.value=ye})}if(r)for(const B in r)zi(r[B],s,n,B);if(f){const B=N(f)?f.call(n):f;Reflect.ownKeys(B).forEach(Z=>{No(Z,B[Z])})}c&&Ls(c,e,"c");function ae(B,Z){R(Z)?Z.forEach(Ze=>B(Ze.bind(n))):Z&&B(Z.bind(n))}if(ae(Co,p),ae(Wi,h),ae(Mo,v),ae(Fo,P),ae(ko,H),ae(Vo,ne),ae(Oo,K),ae(To,me),ae($o,he),ae(qi,se),ae(Gi,A),ae(Eo,W),R(ce))if(ce.length){const B=e.exposed||(e.exposed={});ce.forEach(Z=>{Object.defineProperty(B,Z,{get:()=>n[Z],set:Ze=>n[Z]=Ze,enumerable:!0})})}else e.exposed||(e.exposed={});J&&e.render===Ue&&(e.render=J),Me!=null&&(e.inheritAttrs=Me),je&&(e.components=je),Ke&&(e.directives=Ke),W&&Ni(e)}function Ao(e,t,n=Ue){R(e)&&(e=is(e));for(const s in e){const i=e[s];let l;fe(i)?"default"in i?l=Yt(i.from||s,i.default,!0):l=Yt(i.from||s):l=Yt(i),de(l)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>l.value,set:o=>l.value=o}):t[s]=l}}function Ls(e,t,n){Xe(R(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function zi(e,t,n,s){let i=s.includes(".")?rl(n,s):()=>n[s];if(pe(e)){const l=t[e];N(l)&&Se(i,l)}else if(N(e))Se(i,e.bind(n));else if(fe(e))if(R(e))e.forEach(l=>zi(l,t,n,s));else{const l=N(e.handler)?e.handler.bind(n):t[e.handler];N(l)&&Se(i,l,e)}}function Cs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:l,config:{optionMergeStrategies:o}}=e.appContext,r=l.get(t);let f;return r?f=r:!i.length&&!n&&!s?f=t:(f={},i.length&&i.forEach(u=>xn(f,u,o,!0)),xn(f,t,o)),fe(t)&&l.set(t,f),f}function xn(e,t,n,s=!1){const{mixins:i,extends:l}=t;l&&xn(e,l,n,!0),i&&i.forEach(o=>xn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const r=Ro[o]||n&&n[o];e[o]=r?r(e[o],t[o]):t[o]}return e}const Ro={data:Us,props:Hs,emits:Hs,methods:Nt,computed:Nt,beforeCreate:ke,created:ke,beforeMount:ke,mounted:ke,beforeUpdate:ke,updated:ke,beforeDestroy:ke,beforeUnmount:ke,destroyed:ke,unmounted:ke,activated:ke,deactivated:ke,errorCaptured:ke,serverPrefetch:ke,components:Nt,directives:Nt,watch:Lo,provide:Us,inject:Do};function Us(e,t){return t?e?function(){return ve(N(e)?e.call(this,this):e,N(t)?t.call(this,this):t)}:t:e}function Do(e,t){return Nt(is(e),is(t))}function is(e){if(R(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ke(e,t){return e?[...new Set([].concat(e,t))]:t}function Nt(e,t){return e?ve(Object.create(null),e,t):t}function Hs(e,t){return e?R(e)&&R(t)?[...new Set([...e,...t])]:ve(Object.create(null),Ds(e),Ds(t??{})):t}function Lo(e,t){if(!e)return t;if(!t)return e;const n=ve(Object.create(null),e);for(const s in t)n[s]=ke(e[s],t[s]);return n}function Ji(){return{app:null,config:{isNativeTag:Cl,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Uo=0;function Ho(e,t){return function(s,i=null){N(s)||(s=ve({},s)),i!=null&&!fe(i)&&(i=null);const l=Ji(),o=new WeakSet,r=[];let f=!1;const u=l.app={_uid:Uo++,_component:s,_props:i,_container:null,_context:l,_instance:null,version:wr,get config(){return l.config},set config(c){},use(c,...p){return o.has(c)||(c&&N(c.install)?(o.add(c),c.install(u,...p)):N(c)&&(o.add(c),c(u,...p))),u},mixin(c){return l.mixins.includes(c)||l.mixins.push(c),u},component(c,p){return p?(l.components[c]=p,u):l.components[c]},directive(c,p){return p?(l.directives[c]=p,u):l.directives[c]},mount(c,p,h){if(!f){const v=u._ceVNode||Ne(s,i);return v.appContext=l,h===!0?h="svg":h===!1&&(h=void 0),p&&t?t(v,c):e(v,c,h),f=!0,u._container=c,c.__vue_app__=u,Dn(v.component)}},onUnmount(c){r.push(c)},unmount(){f&&(Xe(r,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,p){return l.provides[c]=p,u},runWithContext(c){const p=Ct;Ct=u;try{return c()}finally{Ct=p}}};return u}}let Ct=null;function No(e,t){if(Ce){let n=Ce.provides;const s=Ce.parent&&Ce.parent.provides;s===n&&(n=Ce.provides=Object.create(s)),n[e]=t}}function Yt(e,t,n=!1){const s=hl();if(s||Ct){let i=Ct?Ct._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&N(t)?t.call(s&&s.proxy):t}}function Bo(){return!!(hl()||Ct)}const Yi={},Xi=()=>Object.create(Yi),Zi=e=>Object.getPrototypeOf(e)===Yi;function Ko(e,t,n,s=!1){const i={},l=Xi();e.propsDefaults=Object.create(null),Qi(e,t,i,l);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=s?i:lo(i):e.type.props?e.props=i:e.props=l,e.attrs=l}function Wo(e,t,n,s){const{props:i,attrs:l,vnode:{patchFlag:o}}=e,r=Y(i),[f]=e.propsOptions;let u=!1;if((s||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let p=0;p<c.length;p++){let h=c[p];if(An(e.emitsOptions,h))continue;const v=t[h];if(f)if(X(l,h))v!==l[h]&&(l[h]=v,u=!0);else{const P=yt(h);i[P]=ls(f,r,P,v,e,!1)}else v!==l[h]&&(l[h]=v,u=!0)}}}else{Qi(e,t,i,l)&&(u=!0);let c;for(const p in r)(!t||!X(t,p)&&((c=Mt(p))===p||!X(t,c)))&&(f?n&&(n[p]!==void 0||n[c]!==void 0)&&(i[p]=ls(f,r,p,void 0,e,!0)):delete i[p]);if(l!==r)for(const p in l)(!t||!X(t,p))&&(delete l[p],u=!0)}u&<(e.attrs,"set","")}function Qi(e,t,n,s){const[i,l]=e.propsOptions;let o=!1,r;if(t)for(let f in t){if(Kt(f))continue;const u=t[f];let c;i&&X(i,c=yt(f))?!l||!l.includes(c)?n[c]=u:(r||(r={}))[c]=u:An(e.emitsOptions,f)||(!(f in s)||u!==s[f])&&(s[f]=u,o=!0)}if(l){const f=Y(n),u=r||le;for(let c=0;c<l.length;c++){const p=l[c];n[p]=ls(i,f,p,u[p],e,!X(u,p))}}return o}function ls(e,t,n,s,i,l){const o=e[n];if(o!=null){const r=X(o,"default");if(r&&s===void 0){const f=o.default;if(o.type!==Function&&!o.skipFactory&&N(f)){const{propsDefaults:u}=i;if(n in u)s=u[n];else{const c=fn(i);s=u[n]=f.call(null,t),c()}}else s=f;i.ce&&i.ce._setProp(n,s)}o[0]&&(l&&!r?s=!1:o[1]&&(s===""||s===Mt(n))&&(s=!0))}return s}const qo=new WeakMap;function el(e,t,n=!1){const s=n?qo:t.propsCache,i=s.get(e);if(i)return i;const l=e.props,o={},r=[];let f=!1;if(!N(e)){const c=p=>{f=!0;const[h,v]=el(p,t,!0);ve(o,h),v&&r.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!l&&!f)return fe(e)&&s.set(e,Ot),Ot;if(R(l))for(let c=0;c<l.length;c++){const p=yt(l[c]);Ns(p)&&(o[p]=le)}else if(l)for(const c in l){const p=yt(c);if(Ns(p)){const h=l[c],v=o[p]=R(h)||N(h)?{type:h}:ve({},h),P=v.type;let H=!1,ne=!0;if(R(P))for(let z=0;z<P.length;++z){const se=P[z],ie=N(se)&&se.name;if(ie==="Boolean"){H=!0;break}else ie==="String"&&(ne=!1)}else H=N(P)&&P.name==="Boolean";v[0]=H,v[1]=ne,(H||X(v,"default"))&&r.push(p)}}const u=[o,r];return fe(e)&&s.set(e,u),u}function Ns(e){return e[0]!=="$"&&!Kt(e)}const Ms=e=>e==="_"||e==="__"||e==="_ctx"||e==="$stable",Fs=e=>R(e)?e.map(ze):[ze(e)],Go=(e,t,n)=>{if(t._n)return t;const s=_o((...i)=>Fs(t(...i)),n);return s._c=!1,s},tl=(e,t,n)=>{const s=e._ctx;for(const i in e){if(Ms(i))continue;const l=e[i];if(N(l))t[i]=Go(i,l,s);else if(l!=null){const o=Fs(l);t[i]=()=>o}}},nl=(e,t)=>{const n=Fs(t);e.slots.default=()=>n},sl=(e,t,n)=>{for(const s in t)(n||!Ms(s))&&(e[s]=t[s])},zo=(e,t,n)=>{const s=e.slots=Xi();if(e.vnode.shapeFlag&32){const i=t.__;i&&Zn(s,"__",i,!0);const l=t._;l?(sl(s,t,n),n&&Zn(s,"_",l,!0)):tl(t,s)}else t&&nl(e,t)},Jo=(e,t,n)=>{const{vnode:s,slots:i}=e;let l=!0,o=le;if(s.shapeFlag&32){const r=t._;r?n&&r===1?l=!1:sl(i,t,n):(l=!t.$stable,tl(t,i)),o=t}else t&&(nl(e,t),o={default:1});if(l)for(const r in i)!Ms(r)&&o[r]==null&&delete i[r]},Ie=ar;function Yo(e){return Xo(e)}function Xo(e,t){const n=$n();n.__VUE__=!0;const{insert:s,remove:i,patchProp:l,createElement:o,createText:r,createComment:f,setText:u,setElementText:c,parentNode:p,nextSibling:h,setScopeId:v=Ue,insertStaticContent:P}=e,H=(a,d,g,_=null,m=null,b=null,M=void 0,V=null,k=!!d.dynamicChildren)=>{if(a===d)return;a&&!Ut(a,d)&&(_=j(a),ye(a,m,b,!0),a=null),d.patchFlag===-2&&(k=!1,d.dynamicChildren=null);const{type:w,ref:O,shapeFlag:F}=d;switch(w){case Rn:ne(a,d,g,_);break;case vt:z(a,d,g,_);break;case zn:a==null&&se(d,g,_,M);break;case Ee:je(a,d,g,_,m,b,M,V,k);break;default:F&1?J(a,d,g,_,m,b,M,V,k):F&6?Ke(a,d,g,_,m,b,M,V,k):(F&64||F&128)&&w.process(a,d,g,_,m,b,M,V,k,te)}O!=null&&m?Gt(O,a&&a.ref,b,d||a,!d):O==null&&a&&a.ref!=null&&Gt(a.ref,null,b,a,!0)},ne=(a,d,g,_)=>{if(a==null)s(d.el=r(d.children),g,_);else{const m=d.el=a.el;d.children!==a.children&&u(m,d.children)}},z=(a,d,g,_)=>{a==null?s(d.el=f(d.children||""),g,_):d.el=a.el},se=(a,d,g,_)=>{[a.el,a.anchor]=P(a.children,d,g,_,a.el,a.anchor)},ie=({el:a,anchor:d},g,_)=>{let m;for(;a&&a!==d;)m=h(a),s(a,g,_),a=m;s(d,g,_)},A=({el:a,anchor:d})=>{let g;for(;a&&a!==d;)g=h(a),i(a),a=g;i(d)},J=(a,d,g,_,m,b,M,V,k)=>{d.type==="svg"?M="svg":d.type==="math"&&(M="mathml"),a==null?me(d,g,_,m,b,M,V,k):W(a,d,m,b,M,V,k)},me=(a,d,g,_,m,b,M,V)=>{let k,w;const{props:O,shapeFlag:F,transition:T,dirs:D}=a;if(k=a.el=o(a.type,b,O&&O.is,O),F&8?c(k,a.children):F&16&&K(a.children,k,null,_,m,qn(a,b),M,V),D&&wt(a,null,_,"created"),he(k,a,a.scopeId,M,_),O){for(const oe in O)oe!=="value"&&!Kt(oe)&&l(k,oe,null,O[oe],b,_);"value"in O&&l(k,"value",null,O.value,b),(w=O.onVnodeBeforeMount)&&qe(w,_,a)}D&&wt(a,null,_,"beforeMount");const G=Zo(m,T);G&&T.beforeEnter(k),s(k,d,g),((w=O&&O.onVnodeMounted)||G||D)&&Ie(()=>{w&&qe(w,_,a),G&&T.enter(k),D&&wt(a,null,_,"mounted")},m)},he=(a,d,g,_,m)=>{if(g&&v(a,g),_)for(let b=0;b<_.length;b++)v(a,_[b]);if(m){let b=m.subTree;if(d===b||al(b.type)&&(b.ssContent===d||b.ssFallback===d)){const M=m.vnode;he(a,M,M.scopeId,M.slotScopeIds,m.parent)}}},K=(a,d,g,_,m,b,M,V,k=0)=>{for(let w=k;w<a.length;w++){const O=a[w]=V?ht(a[w]):ze(a[w]);H(null,O,d,g,_,m,b,M,V)}},W=(a,d,g,_,m,b,M)=>{const V=d.el=a.el;let{patchFlag:k,dynamicChildren:w,dirs:O}=d;k|=a.patchFlag&16;const F=a.props||le,T=d.props||le;let D;if(g&&xt(g,!1),(D=T.onVnodeBeforeUpdate)&&qe(D,g,d,a),O&&wt(d,a,g,"beforeUpdate"),g&&xt(g,!0),(F.innerHTML&&T.innerHTML==null||F.textContent&&T.textContent==null)&&c(V,""),w?ce(a.dynamicChildren,w,V,g,_,qn(d,m),b):M||Z(a,d,V,null,g,_,qn(d,m),b,!1),k>0){if(k&16)Me(V,F,T,g,m);else if(k&2&&F.class!==T.class&&l(V,"class",null,T.class,m),k&4&&l(V,"style",F.style,T.style,m),k&8){const G=d.dynamicProps;for(let oe=0;oe<G.length;oe++){const ee=G[oe],Fe=F[ee],_e=T[ee];(_e!==Fe||ee==="value")&&l(V,ee,Fe,_e,m,g)}}k&1&&a.children!==d.children&&c(V,d.children)}else!M&&w==null&&Me(V,F,T,g,m);((D=T.onVnodeUpdated)||O)&&Ie(()=>{D&&qe(D,g,d,a),O&&wt(d,a,g,"updated")},_)},ce=(a,d,g,_,m,b,M)=>{for(let V=0;V<d.length;V++){const k=a[V],w=d[V],O=k.el&&(k.type===Ee||!Ut(k,w)||k.shapeFlag&198)?p(k.el):g;H(k,w,O,null,_,m,b,M,!0)}},Me=(a,d,g,_,m)=>{if(d!==g){if(d!==le)for(const b in d)!Kt(b)&&!(b in g)&&l(a,b,d[b],null,m,_);for(const b in g){if(Kt(b))continue;const M=g[b],V=d[b];M!==V&&b!=="value"&&l(a,b,V,M,m,_)}"value"in g&&l(a,"value",d.value,g.value,m)}},je=(a,d,g,_,m,b,M,V,k)=>{const w=d.el=a?a.el:r(""),O=d.anchor=a?a.anchor:r("");let{patchFlag:F,dynamicChildren:T,slotScopeIds:D}=d;D&&(V=V?V.concat(D):D),a==null?(s(w,g,_),s(O,g,_),K(d.children||[],g,O,m,b,M,V,k)):F>0&&F&64&&T&&a.dynamicChildren?(ce(a.dynamicChildren,T,g,m,b,M,V),(d.key!=null||m&&d===m.subTree)&&il(a,d,!0)):Z(a,d,g,O,m,b,M,V,k)},Ke=(a,d,g,_,m,b,M,V,k)=>{d.slotScopeIds=V,a==null?d.shapeFlag&512?m.ctx.activate(d,g,_,M,k):_t(d,g,_,m,b,M,k):ut(a,d,k)},_t=(a,d,g,_,m,b,M)=>{const V=a.component=gr(a,_,m);if(Bi(a)&&(V.ctx.renderer=te),mr(V,!1,M),V.asyncDep){if(m&&m.registerDep(V,ae,M),!a.el){const k=V.subTree=Ne(vt);z(null,k,d,g),a.placeholder=k.el}}else ae(V,a,d,g,m,b,M)},ut=(a,d,g)=>{const _=d.component=a.component;if(rr(a,d,g))if(_.asyncDep&&!_.asyncResolved){B(_,d,g);return}else _.next=d,_.update();else d.el=a.el,_.vnode=d},ae=(a,d,g,_,m,b,M)=>{const V=()=>{if(a.isMounted){let{next:F,bu:T,u:D,parent:G,vnode:oe}=a;{const Te=ll(a);if(Te){F&&(F.el=oe.el,B(a,F,M)),Te.asyncDep.then(()=>{a.isUnmounted||V()});return}}let ee=F,Fe;xt(a,!1),F?(F.el=oe.el,B(a,F,M)):F=oe,T&&pn(T),(Fe=F.props&&F.props.onVnodeBeforeUpdate)&&qe(Fe,G,F,oe),xt(a,!0);const _e=Gn(a),Le=a.subTree;a.subTree=_e,H(Le,_e,p(Le.el),j(Le),a,m,b),F.el=_e.el,ee===null&&fr(a,_e.el),D&&Ie(D,m),(Fe=F.props&&F.props.onVnodeUpdated)&&Ie(()=>qe(Fe,G,F,oe),m)}else{let F;const{el:T,props:D}=d,{bm:G,m:oe,parent:ee,root:Fe,type:_e}=a,Le=zt(d);if(xt(a,!1),G&&pn(G),!Le&&(F=D&&D.onVnodeBeforeMount)&&qe(F,ee,d),xt(a,!0),T&&et){const Te=()=>{a.subTree=Gn(a),et(T,a.subTree,a,m,null)};Le&&_e.__asyncHydrate?_e.__asyncHydrate(T,a,Te):Te()}else{Fe.ce&&Fe.ce._def.shadowRoot!==!1&&Fe.ce._injectChildStyle(_e);const Te=a.subTree=Gn(a);H(null,Te,g,_,a,m,b),d.el=Te.el}if(oe&&Ie(oe,m),!Le&&(F=D&&D.onVnodeMounted)){const Te=d;Ie(()=>qe(F,ee,Te),m)}(d.shapeFlag&256||ee&&zt(ee.vnode)&&ee.vnode.shapeFlag&256)&&a.a&&Ie(a.a,m),a.isMounted=!0,d=g=_=null}};a.scope.on();const k=a.effect=new wi(V);a.scope.off();const w=a.update=k.run.bind(k),O=a.job=k.runIfDirty.bind(k);O.i=a,O.id=a.uid,k.scheduler=()=>Vs(O),xt(a,!0),w()},B=(a,d,g)=>{d.component=a;const _=a.vnode.props;a.vnode=d,a.next=null,Wo(a,d.props,_,g),Jo(a,d.children,g),ft(),Rs(a),at()},Z=(a,d,g,_,m,b,M,V,k=!1)=>{const w=a&&a.children,O=a?a.shapeFlag:0,F=d.children,{patchFlag:T,shapeFlag:D}=d;if(T>0){if(T&128){Ft(w,F,g,_,m,b,M,V,k);return}else if(T&256){Ze(w,F,g,_,m,b,M,V,k);return}}D&8?(O&16&&E(w,m,b),F!==w&&c(g,F)):O&16?D&16?Ft(w,F,g,_,m,b,M,V,k):E(w,m,b,!0):(O&8&&c(g,""),D&16&&K(F,g,_,m,b,M,V,k))},Ze=(a,d,g,_,m,b,M,V,k)=>{a=a||Ot,d=d||Ot;const w=a.length,O=d.length,F=Math.min(w,O);let T;for(T=0;T<F;T++){const D=d[T]=k?ht(d[T]):ze(d[T]);H(a[T],D,g,null,m,b,M,V,k)}w>O?E(a,m,b,!0,!1,F):K(d,g,_,m,b,M,V,k,F)},Ft=(a,d,g,_,m,b,M,V,k)=>{let w=0;const O=d.length;let F=a.length-1,T=O-1;for(;w<=F&&w<=T;){const D=a[w],G=d[w]=k?ht(d[w]):ze(d[w]);if(Ut(D,G))H(D,G,g,null,m,b,M,V,k);else break;w++}for(;w<=F&&w<=T;){const D=a[F],G=d[T]=k?ht(d[T]):ze(d[T]);if(Ut(D,G))H(D,G,g,null,m,b,M,V,k);else break;F--,T--}if(w>F){if(w<=T){const D=T+1,G=D<O?d[D].el:_;for(;w<=T;)H(null,d[w]=k?ht(d[w]):ze(d[w]),g,G,m,b,M,V,k),w++}}else if(w>T)for(;w<=F;)ye(a[w],m,b,!0),w++;else{const D=w,G=w,oe=new Map;for(w=G;w<=T;w++){const Oe=d[w]=k?ht(d[w]):ze(d[w]);Oe.key!=null&&oe.set(Oe.key,w)}let ee,Fe=0;const _e=T-G+1;let Le=!1,Te=0;const Dt=new Array(_e);for(w=0;w<_e;w++)Dt[w]=0;for(w=D;w<=F;w++){const Oe=a[w];if(Fe>=_e){ye(Oe,m,b,!0);continue}let We;if(Oe.key!=null)We=oe.get(Oe.key);else for(ee=G;ee<=T;ee++)if(Dt[ee-G]===0&&Ut(Oe,d[ee])){We=ee;break}We===void 0?ye(Oe,m,b,!0):(Dt[We-G]=w+1,We>=Te?Te=We:Le=!0,H(Oe,d[We],g,null,m,b,M,V,k),Fe++)}const $s=Le?Qo(Dt):Ot;for(ee=$s.length-1,w=_e-1;w>=0;w--){const Oe=G+w,We=d[Oe],Ts=d[Oe+1],Os=Oe+1<O?Ts.el||Ts.placeholder:_;Dt[w]===0?H(null,We,g,Os,m,b,M,V,k):Le&&(ee<0||w!==$s[ee]?Qe(We,g,Os,2):ee--)}}},Qe=(a,d,g,_,m=null)=>{const{el:b,type:M,transition:V,children:k,shapeFlag:w}=a;if(w&6){Qe(a.component.subTree,d,g,_);return}if(w&128){a.suspense.move(d,g,_);return}if(w&64){M.move(a,d,g,te);return}if(M===Ee){s(b,d,g);for(let F=0;F<k.length;F++)Qe(k[F],d,g,_);s(a.anchor,d,g);return}if(M===zn){ie(a,d,g);return}if(_!==2&&w&1&&V)if(_===0)V.beforeEnter(b),s(b,d,g),Ie(()=>V.enter(b),m);else{const{leave:F,delayLeave:T,afterLeave:D}=V,G=()=>{a.ctx.isUnmounted?i(b):s(b,d,g)},oe=()=>{F(b,()=>{G(),D&&D()})};T?T(b,G,oe):oe()}else s(b,d,g)},ye=(a,d,g,_=!1,m=!1)=>{const{type:b,props:M,ref:V,children:k,dynamicChildren:w,shapeFlag:O,patchFlag:F,dirs:T,cacheIndex:D}=a;if(F===-2&&(m=!1),V!=null&&(ft(),Gt(V,null,g,a,!0),at()),D!=null&&(d.renderCache[D]=void 0),O&256){d.ctx.deactivate(a);return}const G=O&1&&T,oe=!zt(a);let ee;if(oe&&(ee=M&&M.onVnodeBeforeUnmount)&&qe(ee,d,a),O&6)C(a.component,g,_);else{if(O&128){a.suspense.unmount(g,_);return}G&&wt(a,null,d,"beforeUnmount"),O&64?a.type.remove(a,d,g,te,_):w&&!w.hasOnce&&(b!==Ee||F>0&&F&64)?E(w,d,g,!1,!0):(b===Ee&&F&384||!m&&O&16)&&E(k,d,g),_&&S(a)}(oe&&(ee=M&&M.onVnodeUnmounted)||G)&&Ie(()=>{ee&&qe(ee,d,a),G&&wt(a,null,d,"unmounted")},g)},S=a=>{const{type:d,el:g,anchor:_,transition:m}=a;if(d===Ee){x(g,_);return}if(d===zn){A(a);return}const b=()=>{i(g),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(a.shapeFlag&1&&m&&!m.persisted){const{leave:M,delayLeave:V}=m,k=()=>M(g,b);V?V(a.el,b,k):k()}else b()},x=(a,d)=>{let g;for(;a!==d;)g=h(a),i(a),a=g;i(d)},C=(a,d,g)=>{const{bum:_,scope:m,job:b,subTree:M,um:V,m:k,a:w,parent:O,slots:{__:F}}=a;Bs(k),Bs(w),_&&pn(_),O&&R(F)&&F.forEach(T=>{O.renderCache[T]=void 0}),m.stop(),b&&(b.flags|=8,ye(M,a,d,g)),V&&Ie(V,d),Ie(()=>{a.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},E=(a,d,g,_=!1,m=!1,b=0)=>{for(let M=b;M<a.length;M++)ye(a[M],d,g,_,m)},j=a=>{if(a.shapeFlag&6)return j(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const d=h(a.anchor||a.el),g=d&&d[wo];return g?h(g):d};let U=!1;const Q=(a,d,g)=>{a==null?d._vnode&&ye(d._vnode,null,null,!0):H(d._vnode||null,a,d,null,null,null,g),d._vnode=a,U||(U=!0,Rs(),Li(),U=!1)},te={p:H,um:ye,m:Qe,r:S,mt:_t,mc:K,pc:Z,pbc:ce,n:j,o:e};let q,et;return t&&([q,et]=t(te)),{render:Q,hydrate:q,createApp:Ho(Q,q)}}function qn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function xt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Zo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function il(e,t,n=!1){const s=e.children,i=t.children;if(R(s)&&R(i))for(let l=0;l<s.length;l++){const o=s[l];let r=i[l];r.shapeFlag&1&&!r.dynamicChildren&&((r.patchFlag<=0||r.patchFlag===32)&&(r=i[l]=ht(i[l]),r.el=o.el),!n&&r.patchFlag!==-2&&il(o,r)),r.type===Rn&&(r.el=o.el),r.type===vt&&!r.el&&(r.el=o.el)}}function Qo(e){const t=e.slice(),n=[0];let s,i,l,o,r;const f=e.length;for(s=0;s<f;s++){const u=e[s];if(u!==0){if(i=n[n.length-1],e[i]<u){t[s]=i,n.push(s);continue}for(l=0,o=n.length-1;l<o;)r=l+o>>1,e[n[r]]<u?l=r+1:o=r;u<e[n[l]]&&(l>0&&(t[s]=n[l-1]),n[l]=s)}}for(l=n.length,o=n[l-1];l-- >0;)n[l]=o,o=t[o];return n}function ll(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ll(t)}function Bs(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const er=Symbol.for("v-scx"),tr=()=>Yt(er);function Se(e,t,n){return ol(e,t,n)}function ol(e,t,n=le){const{immediate:s,deep:i,flush:l,once:o}=n,r=ve({},n),f=t&&s||!t&&l!=="post";let u;if(sn){if(l==="sync"){const v=tr();u=v.__watcherHandles||(v.__watcherHandles=[])}else if(!f){const v=()=>{};return v.stop=Ue,v.resume=Ue,v.pause=Ue,v}}const c=Ce;r.call=(v,P,H)=>Xe(v,c,P,H);let p=!1;l==="post"?r.scheduler=v=>{Ie(v,c&&c.suspense)}:l!=="sync"&&(p=!0,r.scheduler=(v,P)=>{P?v():Vs(v)}),r.augmentJob=v=>{t&&(v.flags|=4),p&&(v.flags|=2,c&&(v.id=c.uid,v.i=c))};const h=mo(e,t,r);return sn&&(u?u.push(h):f&&h()),h}function nr(e,t,n){const s=this.proxy,i=pe(e)?e.includes(".")?rl(s,e):()=>s[e]:e.bind(s,s);let l;N(t)?l=t:(l=t.handler,n=t);const o=fn(this),r=ol(i,l.bind(s),n);return o(),r}function rl(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i<n.length&&s;i++)s=s[n[i]];return s}}const sr=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${yt(t)}Modifiers`]||e[`${Mt(t)}Modifiers`];function ir(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||le;let i=n;const l=t.startsWith("update:"),o=l&&sr(s,t.slice(7));o&&(o.trim&&(i=n.map(c=>pe(c)?c.trim():c)),o.number&&(i=n.map(mn)));let r,f=s[r=Un(t)]||s[r=Un(yt(t))];!f&&l&&(f=s[r=Un(Mt(t))]),f&&Xe(f,e,6,i);const u=s[r+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[r])return;e.emitted[r]=!0,Xe(u,e,6,i)}}function fl(e,t,n=!1){const s=t.emitsCache,i=s.get(e);if(i!==void 0)return i;const l=e.emits;let o={},r=!1;if(!N(e)){const f=u=>{const c=fl(u,t,!0);c&&(r=!0,ve(o,c))};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!l&&!r?(fe(e)&&s.set(e,null),null):(R(l)?l.forEach(f=>o[f]=null):ve(o,l),fe(e)&&s.set(e,o),o)}function An(e,t){return!e||!Mn(t)?!1:(t=t.slice(2).replace(/Once$/,""),X(e,t[0].toLowerCase()+t.slice(1))||X(e,Mt(t))||X(e,t))}function Gn(e){const{type:t,vnode:n,proxy:s,withProxy:i,propsOptions:[l],slots:o,attrs:r,emit:f,render:u,renderCache:c,props:p,data:h,setupState:v,ctx:P,inheritAttrs:H}=e,ne=wn(e);let z,se;try{if(n.shapeFlag&4){const A=i||s,J=A;z=ze(u.call(J,A,c,p,v,h,P)),se=r}else{const A=t;z=ze(A.length>1?A(p,{attrs:r,slots:o,emit:f}):A(p,null)),se=t.props?r:lr(r)}}catch(A){Xt.length=0,Pn(A,e,1),z=Ne(vt)}let ie=z;if(se&&H!==!1){const A=Object.keys(se),{shapeFlag:J}=ie;A.length&&J&7&&(l&&A.some(ds)&&(se=or(se,l)),ie=Rt(ie,se,!1,!0))}return n.dirs&&(ie=Rt(ie,null,!1,!0),ie.dirs=ie.dirs?ie.dirs.concat(n.dirs):n.dirs),n.transition&&Ss(ie,n.transition),z=ie,wn(ne),z}const lr=e=>{let t;for(const n in e)(n==="class"||n==="style"||Mn(n))&&((t||(t={}))[n]=e[n]);return t},or=(e,t)=>{const n={};for(const s in e)(!ds(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function rr(e,t,n){const{props:s,children:i,component:l}=e,{props:o,children:r,patchFlag:f}=t,u=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&f>=0){if(f&1024)return!0;if(f&16)return s?Ks(s,o,u):!!o;if(f&8){const c=t.dynamicProps;for(let p=0;p<c.length;p++){const h=c[p];if(o[h]!==s[h]&&!An(u,h))return!0}}}else return(i||r)&&(!r||!r.$stable)?!0:s===o?!1:s?o?Ks(s,o,u):!0:!!o;return!1}function Ks(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let i=0;i<s.length;i++){const l=s[i];if(t[l]!==e[l]&&!An(n,l))return!0}return!1}function fr({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const al=e=>e.__isSuspense;function ar(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):vo(e)}const Ee=Symbol.for("v-fgt"),Rn=Symbol.for("v-txt"),vt=Symbol.for("v-cmt"),zn=Symbol.for("v-stc"),Xt=[];let Pe=null;function $(e=!1){Xt.push(Pe=e?null:[])}function cr(){Xt.pop(),Pe=Xt[Xt.length-1]||null}let nn=1;function Ws(e,t=!1){nn+=e,e<0&&Pe&&t&&(Pe.hasOnce=!0)}function cl(e){return e.dynamicChildren=nn>0?Pe||Ot:null,cr(),nn>0&&Pe&&Pe.push(e),e}function I(e,t,n,s,i,l){return cl(y(e,t,n,s,i,l,!0))}function ge(e,t,n,s,i){return cl(Ne(e,t,n,s,i,!0))}function ul(e){return e?e.__v_isVNode===!0:!1}function Ut(e,t){return e.type===t.type&&e.key===t.key}const dl=({key:e})=>e??null,hn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?pe(e)||de(e)||N(e)?{i:Ae,r:e,k:t,f:!!n}:e:null);function y(e,t=null,n=null,s=0,i=null,l=e===Ee?0:1,o=!1,r=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&dl(t),ref:t&&hn(t),scopeId:Hi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ae};return r?(Es(f,n),l&128&&e.normalize(f)):n&&(f.shapeFlag|=pe(n)?8:16),nn>0&&!o&&Pe&&(f.patchFlag>0||l&6)&&f.patchFlag!==32&&Pe.push(f),f}const Ne=ur;function ur(e,t=null,n=null,s=0,i=null,l=!1){if((!e||e===Io)&&(e=vt),ul(e)){const r=Rt(e,t,!0);return n&&Es(r,n),nn>0&&!l&&Pe&&(r.shapeFlag&6?Pe[Pe.indexOf(e)]=r:Pe.push(r)),r.patchFlag=-2,r}if(_r(e)&&(e=e.__vccOpts),t){t=dr(t);let{class:r,style:f}=t;r&&!pe(r)&&(t.class=rt(r)),fe(f)&&(ws(f)&&!R(f)&&(f=ve({},f)),t.style=it(f))}const o=pe(e)?1:al(e)?128:xo(e)?64:fe(e)?4:N(e)?2:0;return y(e,t,n,s,i,o,l,!0)}function dr(e){return e?ws(e)||Zi(e)?ve({},e):e:null}function Rt(e,t,n=!1,s=!1){const{props:i,ref:l,patchFlag:o,children:r,transition:f}=e,u=t?Re(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&dl(u),ref:t&&t.ref?n&&l?R(l)?l.concat(hn(t)):[l,hn(t)]:hn(t):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ee?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Rt(e.ssContent),ssFallback:e.ssFallback&&Rt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&s&&Ss(c,f.clone(c)),c}function pl(e=" ",t=0){return Ne(Rn,null,e,t)}function Be(e="",t=!1){return t?($(),ge(vt,null,e)):Ne(vt,null,e)}function ze(e){return e==null||typeof e=="boolean"?Ne(vt):R(e)?Ne(Ee,null,e.slice()):ul(e)?ht(e):Ne(Rn,null,String(e))}function ht(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Rt(e)}function Es(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(R(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),Es(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Zi(t)?t._ctx=Ae:i===3&&Ae&&(Ae.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else N(t)?(t={default:t,_ctx:Ae},n=32):(t=String(t),s&64?(n=16,t=[pl(t)]):n=8);e.children=t,e.shapeFlag|=n}function Re(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const i in s)if(i==="class")t.class!==s.class&&(t.class=rt([t.class,s.class]));else if(i==="style")t.style=it([t.style,s.style]);else if(Mn(i)){const l=t[i],o=s[i];o&&l!==o&&!(R(l)&&l.includes(o))&&(t[i]=l?[].concat(l,o):o)}else i!==""&&(t[i]=s[i])}return t}function qe(e,t,n,s=null){Xe(e,t,7,[n,s])}const pr=Ji();let hr=0;function gr(e,t,n){const s=e.type,i=(t?t.appContext:e.appContext)||pr,l={uid:hr++,vnode:e,type:s,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new bi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:el(s,i),emitsOptions:fl(s,i),emit:null,emitted:null,propsDefaults:le,inheritAttrs:s.inheritAttrs,ctx:le,data:le,props:le,attrs:le,slots:le,refs:le,setupState:le,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return l.ctx={_:l},l.root=t?t.root:l,l.emit=ir.bind(null,l),e.ce&&e.ce(l),l}let Ce=null;const hl=()=>Ce||Ae;let kn,os;{const e=$n(),t=(n,s)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(s),l=>{i.length>1?i.forEach(o=>o(l)):i[0](l)}};kn=t("__VUE_INSTANCE_SETTERS__",n=>Ce=n),os=t("__VUE_SSR_SETTERS__",n=>sn=n)}const fn=e=>{const t=Ce;return kn(e),e.scope.on(),()=>{e.scope.off(),kn(t)}},qs=()=>{Ce&&Ce.scope.off(),kn(null)};function gl(e){return e.vnode.shapeFlag&4}let sn=!1;function mr(e,t=!1,n=!1){t&&os(t);const{props:s,children:i}=e.vnode,l=gl(e);Ko(e,s,l,t),zo(e,i,n||t);const o=l?yr(e,t):void 0;return t&&os(!1),o}function yr(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Po);const{setup:s}=n;if(s){ft();const i=e.setupContext=s.length>1?vr(e):null,l=fn(e),o=on(s,e,0,[e.props,i]),r=ui(o);if(at(),l(),(r||e.sp)&&!zt(e)&&Ni(e),r){if(o.then(qs,qs),t)return o.then(f=>{Gs(e,f,t)}).catch(f=>{Pn(f,e,0)});e.asyncDep=o}else Gs(e,o,t)}else ml(e,t)}function Gs(e,t,n){N(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:fe(t)&&(e.setupState=Ai(t)),ml(e,n)}let zs;function ml(e,t,n){const s=e.type;if(!e.render){if(!t&&zs&&!s.render){const i=s.template||Cs(e).template;if(i){const{isCustomElement:l,compilerOptions:o}=e.appContext.config,{delimiters:r,compilerOptions:f}=s,u=ve(ve({isCustomElement:l,delimiters:r},o),f);s.render=zs(i,u)}}e.render=s.render||Ue}{const i=fn(e);ft();try{jo(e)}finally{at(),i()}}}const br={get(e,t){return xe(e,"get",""),e[t]}};function vr(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,br),slots:e.slots,emit:e.emit,expose:t}}function Dn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ai(xs(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Jt)return Jt[n](e)},has(t,n){return n in t||n in Jt}})):e.proxy}function _r(e){return N(e)&&"__vccOpts"in e}const nt=(e,t)=>ho(e,t,sn),wr="3.5.18";/** 14 14 * @vue/runtime-dom v3.5.18 15 15 * (c) 2018-present Yuxi (Evan) You and Vue contributors 16 16 * @license MIT 17 **/let ls;const zs=typeof window<"u"&&window.trustedTypes;if(zs)try{ls=zs.createPolicy("vue",{createHTML:e=>e})}catch{}const ml=ls?e=>ls.createHTML(e):e=>e,_r="http://www.w3.org/2000/svg",wr="http://www.w3.org/1998/Math/MathML",st=typeof document<"u"?document:null,Gs=st&&st.createElement("template"),xr={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const i=t==="svg"?st.createElementNS(_r,e):t==="mathml"?st.createElementNS(wr,e):n?st.createElement(e,{is:n}):st.createElement(e);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>st.createTextNode(e),createComment:e=>st.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>st.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,l){const o=n?n.previousSibling:t.lastChild;if(i&&(i===l||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===l||!(i=i.nextSibling)););else{Gs.innerHTML=ml(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const r=Gs.content;if(s==="svg"||s==="mathml"){const f=r.firstChild;for(;f.firstChild;)r.appendChild(f.firstChild);r.removeChild(f)}t.insertBefore(r,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},kr=Symbol("_vtc");function Vr(e,t,n){const s=e[kr];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Js=Symbol("_vod"),Sr=Symbol("_vsh"),Cr=Symbol(""),Mr=/(^|;)\s*display\s*:/;function $r(e,t,n){const s=e.style,i=pe(n);let l=!1;if(n&&!i){if(t)if(pe(t))for(const o of t.split(";")){const r=o.slice(0,o.indexOf(":")).trim();n[r]==null&&hn(s,r,"")}else for(const o in t)n[o]==null&&hn(s,o,"");for(const o in n)o==="display"&&(l=!0),hn(s,o,n[o])}else if(i){if(t!==n){const o=s[Cr];o&&(n+=";"+o),s.cssText=n,l=Mr.test(n)}}else t&&e.removeAttribute("style");Js in e&&(e[Js]=l?s.display:"",e[Sr]&&(s.display="none"))}const Ys=/\s*!important$/;function hn(e,t,n){if(R(n))n.forEach(s=>hn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Er(e,t);Ys.test(n)?e.setProperty(Mt(s),n.replace(Ys,""),"important"):e[s]=n}}const Xs=["Webkit","Moz","ms"],zn={};function Er(e,t){const n=zn[t];if(n)return n;let s=yt(t);if(s!=="filter"&&s in e)return zn[t]=s;s=pi(s);for(let i=0;i<Xs.length;i++){const l=Xs[i]+s;if(l in e)return zn[t]=l}return t}const Zs="http://www.w3.org/1999/xlink";function Qs(e,t,n,s,i,l=Pl(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Zs,t.slice(6,t.length)):e.setAttributeNS(Zs,t,n):n==null||l&&!hi(n)?e.removeAttribute(t):e.setAttribute(t,l?"":Ye(n)?String(n):n)}function ei(e,t,n,s,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?ml(n):n);return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const r=l==="OPTION"?e.getAttribute("value")||"":e.value,f=n==null?e.type==="checkbox"?"on":"":String(n);(r!==f||!("_value"in e))&&(e.value=f),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const r=typeof e[t];r==="boolean"?n=hi(n):n==null&&r==="string"?(n="",o=!0):r==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function Vt(e,t,n,s){e.addEventListener(t,n,s)}function Fr(e,t,n,s){e.removeEventListener(t,n,s)}const ti=Symbol("_vei");function Tr(e,t,n,s,i=null){const l=e[ti]||(e[ti]={}),o=l[t];if(s&&o)o.value=s;else{const[r,f]=Ir(t);if(s){const d=l[t]=jr(s,i);Vt(e,r,d,f)}else o&&(Fr(e,r,o,f),l[t]=void 0)}}const ni=/(?:Once|Passive|Capture)$/;function Ir(e){let t;if(ni.test(e)){t={};let s;for(;s=e.match(ni);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Mt(e.slice(2)),t]}let Gn=0;const Or=Promise.resolve(),Pr=()=>Gn||(Or.then(()=>Gn=0),Gn=Date.now());function jr(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Xe(Ar(s,n.value),t,5,[s])};return n.value=e,n.attached=Pr(),n}function Ar(e,t){if(R(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>i=>!i._stopped&&s&&s(i))}else return t}const si=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Rr=(e,t,n,s,i,l)=>{const o=i==="svg";t==="class"?Vr(e,s,o):t==="style"?$r(e,n,s):Sn(t)?cs(t)||Tr(e,t,n,s,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Dr(e,t,s,o))?(ei(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Qs(e,t,s,o,l,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!pe(s))?ei(e,yt(t),s,l,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Qs(e,t,s,o))};function Dr(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&si(t)&&B(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return si(t)&&pe(n)?!1:t in e}const kn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return R(t)?n=>dn(t,n):t};function Lr(e){e.target.composing=!0}function ii(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const jt=Symbol("_assign"),os={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e[jt]=kn(i);const l=s||i.props&&i.props.type==="number";Vt(e,t?"change":"input",o=>{if(o.target.composing)return;let r=e.value;n&&(r=r.trim()),l&&(r=gn(r)),e[jt](r)}),n&&Vt(e,"change",()=>{e.value=e.value.trim()}),t||(Vt(e,"compositionstart",Lr),Vt(e,"compositionend",ii),Vt(e,"change",ii))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:i,number:l}},o){if(e[jt]=kn(o),e.composing)return;const r=(l||e.type==="number")&&!/^0\d/.test(e.value)?gn(e.value):e.value,f=t??"";r!==f&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||i&&e.value.trim()===f)||(e.value=f))}},yl={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const i=Cn(t);Vt(e,"change",()=>{const l=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?gn(Vn(o)):Vn(o));e[jt](e.multiple?i?new Set(l):l:l[0]),e._assigning=!0,ws(()=>{e._assigning=!1})}),e[jt]=kn(s)},mounted(e,{value:t}){li(e,t)},beforeUpdate(e,t,n){e[jt]=kn(n)},updated(e,{value:t}){e._assigning||li(e,t)}};function li(e,t){const n=e.multiple,s=R(t);if(!(n&&!s&&!Cn(t))){for(let i=0,l=e.options.length;i<l;i++){const o=e.options[i],r=Vn(o);if(n)if(s){const f=typeof r;f==="string"||f==="number"?o.selected=t.some(d=>String(d)===String(r)):o.selected=Al(t,r)>-1}else o.selected=t.has(r);else if(En(Vn(o),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Vn(e){return"_value"in e?e._value:e.value}const Ur=["ctrl","shift","alt","meta"],Hr={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Ur.some(n=>e[`${n}Key`]&&!t.includes(n))},Ht=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(i,...l)=>{for(let o=0;o<t.length;o++){const r=Hr[t[o]];if(r&&r(i,t))return}return e(i,...l)})},Br=be({patchProp:Rr},xr);let oi;function Nr(){return oi||(oi=Go(Br))}const Kr=(...e)=>{const t=Nr().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=qr(s);if(!i)return;const l=t._component;!B(l)&&!l.render&&!l.template&&(l.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,Wr(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t};function Wr(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function qr(e){return pe(e)?document.querySelector(e):e}/*!17 **/let rs;const Js=typeof window<"u"&&window.trustedTypes;if(Js)try{rs=Js.createPolicy("vue",{createHTML:e=>e})}catch{}const yl=rs?e=>rs.createHTML(e):e=>e,xr="http://www.w3.org/2000/svg",kr="http://www.w3.org/1998/Math/MathML",st=typeof document<"u"?document:null,Ys=st&&st.createElement("template"),Vr={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const i=t==="svg"?st.createElementNS(xr,e):t==="mathml"?st.createElementNS(kr,e):n?st.createElement(e,{is:n}):st.createElement(e);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>st.createTextNode(e),createComment:e=>st.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>st.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,l){const o=n?n.previousSibling:t.lastChild;if(i&&(i===l||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===l||!(i=i.nextSibling)););else{Ys.innerHTML=yl(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const r=Ys.content;if(s==="svg"||s==="mathml"){const f=r.firstChild;for(;f.firstChild;)r.appendChild(f.firstChild);r.removeChild(f)}t.insertBefore(r,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Sr=Symbol("_vtc");function Cr(e,t,n){const s=e[Sr];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Vn=Symbol("_vod"),bl=Symbol("_vsh"),Mr={beforeMount(e,{value:t},{transition:n}){e[Vn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ht(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Ht(e,!0),s.enter(e)):s.leave(e,()=>{Ht(e,!1)}):Ht(e,t))},beforeUnmount(e,{value:t}){Ht(e,t)}};function Ht(e,t){e.style.display=t?e[Vn]:"none",e[bl]=!t}const Fr=Symbol(""),Er=/(^|;)\s*display\s*:/;function $r(e,t,n){const s=e.style,i=pe(n);let l=!1;if(n&&!i){if(t)if(pe(t))for(const o of t.split(";")){const r=o.slice(0,o.indexOf(":")).trim();n[r]==null&&gn(s,r,"")}else for(const o in t)n[o]==null&&gn(s,o,"");for(const o in n)o==="display"&&(l=!0),gn(s,o,n[o])}else if(i){if(t!==n){const o=s[Fr];o&&(n+=";"+o),s.cssText=n,l=Er.test(n)}}else t&&e.removeAttribute("style");Vn in e&&(e[Vn]=l?s.display:"",e[bl]&&(s.display="none"))}const Xs=/\s*!important$/;function gn(e,t,n){if(R(n))n.forEach(s=>gn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Tr(e,t);Xs.test(n)?e.setProperty(Mt(s),n.replace(Xs,""),"important"):e[s]=n}}const Zs=["Webkit","Moz","ms"],Jn={};function Tr(e,t){const n=Jn[t];if(n)return n;let s=yt(t);if(s!=="filter"&&s in e)return Jn[t]=s;s=hi(s);for(let i=0;i<Zs.length;i++){const l=Zs[i]+s;if(l in e)return Jn[t]=l}return t}const Qs="http://www.w3.org/1999/xlink";function ei(e,t,n,s,i,l=Al(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Qs,t.slice(6,t.length)):e.setAttributeNS(Qs,t,n):n==null||l&&!gi(n)?e.removeAttribute(t):e.setAttribute(t,l?"":Ye(n)?String(n):n)}function ti(e,t,n,s,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?yl(n):n);return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const r=l==="OPTION"?e.getAttribute("value")||"":e.value,f=n==null?e.type==="checkbox"?"on":"":String(n);(r!==f||!("_value"in e))&&(e.value=f),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const r=typeof e[t];r==="boolean"?n=gi(n):n==null&&r==="string"?(n="",o=!0):r==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function Vt(e,t,n,s){e.addEventListener(t,n,s)}function Or(e,t,n,s){e.removeEventListener(t,n,s)}const ni=Symbol("_vei");function Ir(e,t,n,s,i=null){const l=e[ni]||(e[ni]={}),o=l[t];if(s&&o)o.value=s;else{const[r,f]=Pr(t);if(s){const u=l[t]=Rr(s,i);Vt(e,r,u,f)}else o&&(Or(e,r,o,f),l[t]=void 0)}}const si=/(?:Once|Passive|Capture)$/;function Pr(e){let t;if(si.test(e)){t={};let s;for(;s=e.match(si);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Mt(e.slice(2)),t]}let Yn=0;const jr=Promise.resolve(),Ar=()=>Yn||(jr.then(()=>Yn=0),Yn=Date.now());function Rr(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Xe(Dr(s,n.value),t,5,[s])};return n.value=e,n.attached=Ar(),n}function Dr(e,t){if(R(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>i=>!i._stopped&&s&&s(i))}else return t}const ii=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Lr=(e,t,n,s,i,l)=>{const o=i==="svg";t==="class"?Cr(e,s,o):t==="style"?$r(e,n,s):Mn(t)?ds(t)||Ir(e,t,n,s,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ur(e,t,s,o))?(ti(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ei(e,t,s,o,l,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!pe(s))?ti(e,yt(t),s,l,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ei(e,t,s,o))};function Ur(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&ii(t)&&N(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return ii(t)&&pe(n)?!1:t in e}const Sn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return R(t)?n=>pn(t,n):t};function Hr(e){e.target.composing=!0}function li(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const jt=Symbol("_assign"),fs={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e[jt]=Sn(i);const l=s||i.props&&i.props.type==="number";Vt(e,t?"change":"input",o=>{if(o.target.composing)return;let r=e.value;n&&(r=r.trim()),l&&(r=mn(r)),e[jt](r)}),n&&Vt(e,"change",()=>{e.value=e.value.trim()}),t||(Vt(e,"compositionstart",Hr),Vt(e,"compositionend",li),Vt(e,"change",li))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:i,number:l}},o){if(e[jt]=Sn(o),e.composing)return;const r=(l||e.type==="number")&&!/^0\d/.test(e.value)?mn(e.value):e.value,f=t??"";r!==f&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||i&&e.value.trim()===f)||(e.value=f))}},vl={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const i=Fn(t);Vt(e,"change",()=>{const l=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?mn(Cn(o)):Cn(o));e[jt](e.multiple?i?new Set(l):l:l[0]),e._assigning=!0,ks(()=>{e._assigning=!1})}),e[jt]=Sn(s)},mounted(e,{value:t}){oi(e,t)},beforeUpdate(e,t,n){e[jt]=Sn(n)},updated(e,{value:t}){e._assigning||oi(e,t)}};function oi(e,t){const n=e.multiple,s=R(t);if(!(n&&!s&&!Fn(t))){for(let i=0,l=e.options.length;i<l;i++){const o=e.options[i],r=Cn(o);if(n)if(s){const f=typeof r;f==="string"||f==="number"?o.selected=t.some(u=>String(u)===String(r)):o.selected=Dl(t,r)>-1}else o.selected=t.has(r);else if(Tn(Cn(o),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Cn(e){return"_value"in e?e._value:e.value}const Nr=["ctrl","shift","alt","meta"],Br={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Nr.some(n=>e[`${n}Key`]&&!t.includes(n))},Bt=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(i,...l)=>{for(let o=0;o<t.length;o++){const r=Br[t[o]];if(r&&r(i,t))return}return e(i,...l)})},Kr=ve({patchProp:Lr},Vr);let ri;function Wr(){return ri||(ri=Yo(Kr))}const qr=(...e)=>{const t=Wr().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=zr(s);if(!i)return;const l=t._component;!N(l)&&!l.render&&!l.template&&(l.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,Gr(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t};function Gr(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function zr(e){return pe(e)?document.querySelector(e):e}/*! 18 18 * pinia v3.0.3 19 19 * (c) 2025 Eduardo San Martin Morote 20 20 * @license MIT 21 */let vl;const Rn=e=>vl=e,bl=Symbol();function rs(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Yt;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Yt||(Yt={}));function zr(){const e=vi(!0),t=e.run(()=>ue({}));let n=[],s=[];const i=_s({install(l){Rn(i),i._a=l,l.provide(bl,i),l.config.globalProperties.$pinia=i,s.forEach(o=>n.push(o)),s=[]},use(l){return this._a?n.push(l):s.push(l),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const _l=()=>{};function ri(e,t,n,s=_l){e.push(t);const i=()=>{const l=e.indexOf(t);l>-1&&(e.splice(l,1),s())};return!n&&bi()&&Rl(i),i}function Ft(e,...t){e.slice().forEach(n=>{n(...t)})}const Gr=e=>e(),fi=Symbol(),Jn=Symbol();function fs(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],i=e[n];rs(i)&&rs(s)&&e.hasOwnProperty(n)&&!de(s)&&!mt(s)?e[n]=fs(i,s):e[n]=s}return e}const Jr=Symbol();function Yr(e){return!rs(e)||!Object.prototype.hasOwnProperty.call(e,Jr)}const{assign:dt}=Object;function Xr(e){return!!(de(e)&&e.effect)}function Zr(e,t,n,s){const{state:i,actions:l,getters:o}=t,r=n.state.value[e];let f;function d(){r||(n.state.value[e]=i?i():{});const c=ro(n.state.value[e]);return dt(c,l,Object.keys(o||{}).reduce((p,h)=>(p[h]=_s(nt(()=>{Rn(n);const b=n._s.get(e);return o[h].call(b,b)})),p),{}))}return f=wl(e,d,t,n,s,!0),f}function wl(e,t,n={},s,i,l){let o;const r=dt({actions:{}},n),f={deep:!0};let d,c,p=[],h=[],b;const P=s.state.value[e];!l&&!P&&(s.state.value[e]={}),ue({});let H;function ne(K){let W;d=c=!1,typeof K=="function"?(K(s.state.value[e]),W={type:Yt.patchFunction,storeId:e,events:b}):(fs(s.state.value[e],K),W={type:Yt.patchObject,payload:K,storeId:e,events:b});const ce=H=Symbol();ws().then(()=>{H===ce&&(d=!0)}),c=!0,Ft(p,W,s.state.value[e])}const G=l?function(){const{state:W}=n,ce=W?W():{};this.$patch(Me=>{dt(Me,ce)})}:_l;function se(){o.stop(),p=[],h=[],s._s.delete(e)}const ie=(K,W="")=>{if(fi in K)return K[Jn]=W,K;const ce=function(){Rn(s);const Me=Array.from(arguments),je=[],Ke=[];function _t(N){je.push(N)}function ut(N){Ke.push(N)}Ft(h,{args:Me,name:ce[Jn],store:J,after:_t,onError:ut});let ae;try{ae=K.apply(this&&this.$id===e?this:J,Me)}catch(N){throw Ft(Ke,N),N}return ae instanceof Promise?ae.then(N=>(Ft(je,N),N)).catch(N=>(Ft(Ke,N),Promise.reject(N))):(Ft(je,ae),ae)};return ce[fi]=!0,ce[Jn]=W,ce},A={_p:s,$id:e,$onAction:ri.bind(null,h),$patch:ne,$reset:G,$subscribe(K,W={}){const ce=ri(p,K,W.detached,()=>Me()),Me=o.run(()=>Se(()=>s.state.value[e],je=>{(W.flush==="sync"?c:d)&&K({storeId:e,type:Yt.direct,events:b},je)},dt({},f,W)));return ce},$dispose:se},J=Tn(A);s._s.set(e,J);const he=(s._a&&s._a.runWithContext||Gr)(()=>s._e.run(()=>(o=vi()).run(()=>t({action:ie}))));for(const K in he){const W=he[K];if(de(W)&&!Xr(W)||mt(W))l||(P&&Yr(W)&&(de(W)?W.value=P[K]:fs(W,P[K])),s.state.value[e][K]=W);else if(typeof W=="function"){const ce=ie(W,K);he[K]=ce,r.actions[K]=W}}return dt(J,he),dt(Y(J),he),Object.defineProperty(J,"$state",{get:()=>s.state.value[e],set:K=>{ne(W=>{dt(W,K)})}}),s._p.forEach(K=>{dt(J,o.run(()=>K({store:J,app:s._a,pinia:s,options:r})))}),P&&l&&n.hydrate&&n.hydrate(J.$state,P),d=!0,c=!0,J}/*! #__NO_SIDE_EFFECTS__ */function Qr(e,t,n){let s;const i=typeof t=="function";s=i?n:t;function l(o,r){const f=Ho();return o=o||(f?Gt(bl,null):null),o&&Rn(o),o=vl,o._s.has(e)||(i?wl(e,t,s,o):Zr(e,s,o)),o._s.get(e)}return l.$id=e,l}const xl={async fetchFields(e){if(e==null)throw new Error("Post ID is required");const t=typeof window<"u"&&window.feacfData&&window.feacfData.nonce?window.feacfData.nonce:null;if(!t)throw new Error("Nonce not found in window.feacfData");const n=new FormData;n.append("action","feacf_get_fields"),n.append("post_id",e),n.append("_ajax_nonce",t);const s=await fetch("/wp-admin/admin-ajax.php",{method:"POST",credentials:"same-origin",body:n});if(!s.ok)throw new Error("Failed to fetch fields");return await s.json()},async submitFields(e,t){if(e==null)throw new Error("Post ID is required");const n=typeof window<"u"&&window.feacfData&&window.feacfData.nonce?window.feacfData.nonce:null;if(!n)throw new Error("Nonce not found in window.feacfData");const s=new FormData;s.append("action","feacf_save_fields"),s.append("post_id",e),s.append("_ajax_nonce",n),typeof t=="string"?s.append("fields",t):s.append("fields",JSON.stringify(t));const i=await fetch("/wp-admin/admin-ajax.php",{method:"POST",credentials:"same-origin",body:s});if(!i.ok)throw new Error("Failed to save fields");return await i.json()}};window.useAcfFields=xl;const Fe=Qr("editor",{state:()=>({showPanel:!1,fields:[],fieldValues:{},originalValues:{},loading:!1,saving:!1,error:null,success:null,selectedField:null,mediaModalOpen:!1,panelMode:"edit",showResult:!1,resultSuccess:!1,resultMessage:"",fieldValidity:{},fieldValidationMessages:{},validationTrigger:!1}),actions:{setFieldValidity(e,t){this.fieldValidity={...this.fieldValidity,[e]:t}},setFieldValidationMessage(e,t){this.fieldValidationMessages={...this.fieldValidationMessages,[e]:t}},setFields(e){this.fields=e},setFieldValue(e,t){const n=this.fields.find(s=>s.key===e);n&&n.type==="image"?t&&typeof t=="object"&&t.id?this.fieldValues[e]=t.id:this.fieldValues[e]=t:this.fieldValues[e]=t},setOriginalValues(e){this.originalValues=e},setLoading(e){this.loading=e},async openPanel(){var t;this.showPanel=!0;const e=(t=window.feacfData)==null?void 0:t.postId;if(!e){console.error("Post ID not found in feacfData"),this.error="Unable to load fields: Post ID not found";return}await this.loadFields(e)},async loadFields(e){this.loading=!0;let t;try{t=await xl.fetchFields(e)}catch{this.fields=[],this.loading=!1;return}t&&t.success&&t.data?(this.fields=Object.values(t.data.fields||t.data).filter(n=>n&&n.key),this.fields.forEach(n=>{let s=n.value;s==null&&n.default_value!==void 0&&n.default_value!==null&&n.default_value!==""&&(s=n.default_value),this.fieldValues[n.key]=s}),this.originalValues={...this.fieldValues}):this.fields=[],this.loading=!1},validateAllFields(){let e=!0;return this.fields.forEach(t=>{const n=this.fieldValues[t.key];let s=!0,i="";if(t.required&&(n===null||n===!1||n===void 0||n===""||Array.isArray(n)&&n.length===0)&&(s=!1,i=t.validationMessage||t.validation_message||"This field is required."),s&&t.type==="email"&&n&&(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n)||(s=!1,i=t.validationMessage||t.validation_message||"Please enter a valid email address.")),s&&(t.type==="url"||t.type==="oembed")&&n)try{const l=new URL(n);if(l.protocol!=="http:"&&l.protocol!=="https:")throw new Error("bad protocol")}catch{s=!1,i=t.validationMessage||t.validation_message||"Please enter a valid URL (http/https)."}if(s&&t.type==="page_link"&&n){const l=typeof n=="number"||/^\d+$/.test(String(n)),o=typeof n=="string"&&/^(https?:\/\/|\/)/i.test(n);!l&&!o&&(s=!1,i=t.validationMessage||t.validation_message||"Please enter a valid page link.")}this.setFieldValidity(t.key,s),this.setFieldValidationMessage(t.key,s?"":i),s||(e=!1)}),e}},getters:{isFormValid(e){return e.fields.length?e.fields.every(t=>{const n=e.fieldValidity[t.key],s=e.fieldValues[t.key];return t.required||s!=null&&s!==""?n===!0:!0}):!0},getFieldValidationMessage:e=>t=>e.fieldValidationMessages[t]||""}});const fn=(e,t)=>{const n=e.__vccOpts||e;for(const[s,i]of t)n[s]=i;return n},ef={__name:"FloatingButton",setup(e){const t=Fe();function n(){t.openPanel()}return(s,i)=>(F(),O("button",{type:"button",class:"feacf-floating-btn",onClick:n},i[0]||(i[0]=[y("span",{class:"feacf-btn-content"},[y("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",class:"feacf-pen-icon"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15.232 5.232l3.536 3.536M9 13l6.586-6.586a2 2 0 112.828 2.828L11.828 15.828a2 2 0 01-2.828 0L9 13zm0 0L7.586 14.414a2 2 0 002.828 2.828L13 15"})]),y("span",null,"Edit Fields")],-1)])))}},tf=fn(ef,[["__scopeId","data-v-dd21ace5"]]),nf=["id","name","type","value"],ai={__name:"TextInput",props:{field:Object,type:String},setup(e){const t=Fe(),n=e;function s(i){t.setFieldValue(n.field.key,i.target.value)}return(i,l)=>(F(),O("input",Re({id:n.field.key,name:n.field.name,type:n.type,value:L(t).fieldValues[n.field.key],onInput:l[0]||(l[0]=o=>s(o))},n.field.attrs,{class:"fe-acf-border fe-acf-rounded fe-acf-px-3 fe-acf-py-2 fe-acf-bg-gray-50 fe-acf-text-gray-900 focus:fe-acf-outline-none focus:fe-acf-ring-2 focus:fe-acf-ring-blue-500"}),null,16,nf))}},sf=["id","name","value","placeholder"],lf={__name:"EmailInput",props:{field:{type:Object,required:!0},modelValue:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t;return(s,i)=>(F(),O("input",Re({id:e.field.key,name:e.field.name,type:"email",value:e.modelValue,onInput:i[0]||(i[0]=l=>n("update:modelValue",l.target.value))},e.field.attrs,{class:"fe-acf-border fe-acf-rounded fe-acf-px-3 fe-acf-py-2 fe-acf-bg-gray-50 fe-acf-text-gray-900 focus:fe-acf-outline-none focus:fe-acf-ring-2 focus:fe-acf-ring-blue-500",placeholder:e.field.placeholder||"Enter email"}),null,16,sf))}},of=["id","name","multiple"],rf={key:0,value:""},ff=["value"],af={__name:"SelectInput",props:{field:Object,multiple:Boolean},setup(e){const t=Fe(),n=e;return(s,i)=>en((F(),O("select",Re({id:n.field.key,name:n.field.name,multiple:n.multiple,"onUpdate:modelValue":i[0]||(i[0]=l=>L(t).fieldValues[n.field.key]=l)},n.field.attrs,{style:n.multiple?"min-height:100px;height:100px;":"",class:"fe-acf-border fe-acf-rounded fe-acf-px-3 fe-acf-py-2 fe-acf-bg-gray-50 fe-acf-text-gray-900 focus:fe-acf-outline-none focus:fe-acf-ring-2 focus:fe-acf-ring-blue-500"}),[n.field.allow_null&&!n.multiple?(F(),O("option",rf,"-Select-")):Ne("",!0),(F(!0),O(Ee,null,on(n.field.choices,(l,o)=>(F(),O("option",{key:o,value:o},Je(l),9,ff))),128))],16,of)),[[yl,L(t).fieldValues[n.field.key]]])}},cf={class:"fe-acf-flex fe-acf-gap-4 fe-acf-flex-wrap fe-acf-checkbox-items"},uf=["id","name","value","checked","onChange"],df=["for"],pf={__name:"CheckboxInput",props:{field:Object},setup(e){const t=Fe(),n=e;function s(i,l){let o=Array.isArray(t.fieldValues[n.field.key])?[...t.fieldValues[n.field.key]]:[];l.target.checked?o.includes(i)||o.push(i):o=o.filter(r=>r!==i),t.setFieldValue(n.field.key,o)}return(i,l)=>(F(),O("div",cf,[(F(!0),O(Ee,null,on(n.field.choices,(o,r)=>(F(),O("div",{key:r,class:"fe-acf-flex fe-acf-items-center"},[y("input",Re({type:"checkbox",id:n.field.key+"-"+r,name:n.field.name,value:r,checked:Array.isArray(L(t).fieldValues[n.field.key])?L(t).fieldValues[n.field.key].includes(r):!1,onChange:f=>s(r,f)},{ref_for:!0},n.field.attrs),null,16,uf),y("label",{for:n.field.key+"-"+r,class:"fe-acf-ml-2"},Je(o),9,df)]))),128))]))}};const hf={key:0,class:"feacf-image-preview",style:{position:"relative",display:"inline-block"}},gf=["src"],mf={key:1},yf={__name:"ImageField",props:{field:Object},setup(e){const t=Fe(),n=e,s=ue("");async function i(r){if(!r)return"";switch(typeof r){case"object":return r!==null&&r.url?r.url:"";case"number":try{const d=await fetch(`${feacfData.rest_url}wp/v2/media/${r}`,{method:"GET",headers:{"X-WP-Nonce":feacfData.rest_nonce,"Content-Type":"application/json"}});if(d.ok)return(await d.json()).source_url||"";console.error(`Failed to fetch media ${r}: ${d.status}`)}catch(d){console.error("Error fetching media:",d)}return"";case"string":return r;default:return""}}Se(()=>t.fieldValues[n.field.key],async r=>{s.value=await i(r)},{immediate:!0});function l(){if(!window.wp||!window.wp.media){alert("WordPress media library not available.");return}const r={jpg:{mime:"image/jpeg",ext:"jpg,jpeg"},jpeg:{mime:"image/jpeg",ext:"jpg,jpeg"},png:{mime:"image/png",ext:"png"},gif:{mime:"image/gif",ext:"gif"},webp:{mime:"image/webp",ext:"webp"},svg:{mime:"image/svg+xml",ext:"svg"}};let f=[];n.field.mime_types?f=n.field.mime_types.split(",").map(h=>h.trim().toLowerCase()).map(h=>r[h]).filter(Boolean):f=Object.values(r);const d=f.map(h=>h.mime),c=f.map(h=>h.ext).join(","),p=window.wp.media({title:"Select Image",multiple:!1,library:d.length?{post_mime_type:d}:{type:"image"},button:{text:"Use this image"}});p.on("open",()=>{const h=p.uploader&&p.uploader.options&&p.uploader.options.uploader;h&&h.plupload&&f.length&&h.plupload.setOption("filters",[{title:"Allowed images",extensions:c}]);const b=t.fieldValues[n.field.key];let P=null;if(typeof b=="object"&&b!==null&&b.id?P=b.id:(typeof b=="number"||typeof b=="string")&&(P=b),P){const H=p.state().get("selection"),ne=window.wp.media.attachment(P);ne.fetch(),H.add(ne)}}),p.on("select",()=>{const h=p.state().get("selection").first().toJSON(),b=h.mime||h.mime_type||h.mimeType||"";if(d.length&&!d.includes(b)){alert("This file type is not allowed. Please select a supported image format."),p.close();return}t.setFieldValue(n.field.key,h.id),s.value=h.url}),p.open()}function o(){t.setFieldValue(n.field.key,null),s.value=""}return(r,f)=>(F(),O("div",null,[s.value?(F(),O("div",hf,[y("img",{src:s.value,alt:"Selected Image",style:{"max-width":"100px","border-radius":"6px"}},null,8,gf),y("div",{style:{position:"absolute",top:"8px",right:"8px",display:"flex",gap:"6px"}},[y("button",{type:"button",onClick:l,class:"feacf-icon-btn",title:"Edit image"},f[0]||(f[0]=[y("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15.232 5.232l3.536 3.536M9 13l6.586-6.586a2 2 0 112.828 2.828L11.828 15.828a2 2 0 01-2.828 0L9 13zm0 0L7.586 14.414a2 2 0 002.828 2.828L13 15"})],-1)])),y("button",{type:"button",onClick:o,class:"feacf-icon-btn",title:"Delete image"},f[1]||(f[1]=[y("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)]))])])):(F(),O("div",mf,[y("button",{type:"button",onClick:l,class:"feacf-btn"},"Upload Image")]))]))}},vf=fn(yf,[["__scopeId","data-v-478304e7"]]);const bf={class:"fe-acf-colorpicker-root"},_f={class:"fe-acf-colorpicker-popup-panel"},wf={class:"fe-acf-colorpicker-slider-row"},xf={class:"fe-acf-colorpicker-slider-row"},kf={class:"fe-acf-colorpicker-popup-input-row"},Vf=["value","placeholder"],Sf={class:"fe-acf-colorpicker-popup-btn-row fe-acf-colorpicker-action-row"},Cf={__name:"ColorPicker",props:{modelValue:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:t}){const n=nt(()=>{const[S,x,C]=ne(o.value,r.value,f.value);return{background:`linear-gradient(90deg, rgba(${S},${x},${C},0) 0%, rgb(${S},${x},${C}) 100%)`}}),s=ue(!1),i=e,l=t,o=ue(0),r=ue(100),f=ue(100),d=ue(1),c=ue("hex"),p=ue(""),h=ue(100),b=ue(null),P=ue(null),H=ue(null);function ne(S,x,C){x/=100,C/=100;let E=0,j=0,U=0,Q=Math.floor(S/60),te=S/60-Q,q=C*(1-x),et=C*(1-x*te),a=C*(1-x*(1-te));switch(Q%6){case 0:E=C,j=a,U=q;break;case 1:E=et,j=C,U=q;break;case 2:E=q,j=C,U=a;break;case 3:E=q,j=et,U=C;break;case 4:E=a,j=q,U=C;break;case 5:E=C,j=q,U=et;break}return[Math.round(E*255),Math.round(j*255),Math.round(U*255)]}function G(S,x,C){S/=255,x/=255,C/=255;let E=Math.max(S,x,C),j=Math.min(S,x,C),U,Q,te=E,q=E-j;if(Q=E===0?0:q/E,E===j)U=0;else{switch(E){case S:U=(x-C)/q+(x<C?6:0);break;case x:U=(C-S)/q+2;break;case C:U=(S-x)/q+4;break}U*=60}return[Math.round(U),Math.round(Q*100),Math.round(te*100)]}function se(S,x,C){return"#"+[S,x,C].map(E=>{const j=E.toString(16);return j.length===1?"0"+j:j}).join("")}function ie(S){S=S.replace(/^#/,""),S.length===3&&(S=S.split("").map(C=>C+C).join(""));const x=parseInt(S,16);return[x>>16,x>>8&255,x&255]}function A(S,x,C){S/=255,x/=255,C/=255;let E=Math.max(S,x,C),j=Math.min(S,x,C),U,Q,te=(E+j)/2;if(E===j)U=Q=0;else{let q=E-j;switch(Q=te>.5?q/(2-E-j):q/(E+j),E){case S:U=(x-C)/q+(x<C?6:0);break;case x:U=(C-S)/q+2;break;case C:U=(S-x)/q+4;break}U*=60}return[Math.round(U),Math.round(Q*100),Math.round(te*100)]}function J(S,x,C){x/=100,C/=100;let E=(1-Math.abs(2*C-1))*x,j=E*(1-Math.abs(S/60%2-1)),U=C-E/2,Q=0,te=0,q=0;return S<60?(Q=E,te=j,q=0):S<120?(Q=j,te=E,q=0):S<180?(Q=0,te=E,q=j):S<240?(Q=0,te=j,q=E):S<300?(Q=j,te=0,q=E):(Q=E,te=0,q=j),Q=Math.round((Q+U)*255),te=Math.round((te+U)*255),q=Math.round((q+U)*255),[Q,te,q]}function me(S,x,C){return Math.max(x,Math.min(C,S))}const he=nt(()=>c.value==="hex"?"#RRGGBB":c.value==="rgb"?"rgb(255,255,255)":"hsl(0,100%,100%)");function K(){const[S,x,C]=ne(o.value,r.value,f.value);if(c.value==="hex")return d.value<1?se(S,x,C)+Math.round(d.value*255).toString(16).padStart(2,"0"):se(S,x,C);if(c.value==="rgb")return d.value<1?`rgba(${S},${x},${C},${parseFloat(d.value.toFixed(2))})`:`rgb(${S},${x},${C})`;const[E,j,U]=A(S,x,C);return d.value<1?`hsla(${E},${j}%,${U}%,${parseFloat(d.value.toFixed(2))})`:`hsl(${E},${j}%,${U}%)`}function W(S){if(S=S.trim(),/^#([0-9a-f]{3,8})$/i.test(S)){let E=S.replace(/^#/,"");E.length===3&&(E=E.split("").map(Q=>Q+Q).join(""));let j=ie("#"+E.slice(0,6)),U=1;E.length===8&&(U=parseInt(E.slice(6,8),16)/255),[o.value,r.value,f.value]=G(...j),d.value=U,h.value=Math.round(U*100);return}let x=S.match(/^rgba?\(([^)]+)\)$/i);if(x){let E=x[1].split(",").map(q=>q.trim()),j=parseInt(E[0]),U=parseInt(E[1]),Q=parseInt(E[2]),te=E[3]!==void 0?parseFloat(E[3]):1;[o.value,r.value,f.value]=G(j,U,Q),d.value=me(te,0,1),h.value=Math.round(d.value*100);return}let C=S.match(/^hsla?\(([^)]+)\)$/i);if(C){let E=C[1].split(",").map(et=>et.trim().replace("%","")),j=parseFloat(E[0]),U=parseFloat(E[1]),Q=parseFloat(E[2]),te=E[3]!==void 0?parseFloat(E[3]):1,q=J(j,U,Q);[o.value,r.value,f.value]=G(...q),d.value=me(te,0,1),h.value=Math.round(d.value*100);return}}const ce=nt(()=>{const[S,x,C]=ne(o.value,r.value,f.value);return`rgba(${S},${x},${C},${d.value})`}),Me=nt(()=>{const[S,x,C]=ne(o.value,100,100);return{background:`21 */let _l;const Ln=e=>_l=e,wl=Symbol();function as(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Zt;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Zt||(Zt={}));function Jr(){const e=vi(!0),t=e.run(()=>ue({}));let n=[],s=[];const i=xs({install(l){Ln(i),i._a=l,l.provide(wl,i),l.config.globalProperties.$pinia=i,s.forEach(o=>n.push(o)),s=[]},use(l){return this._a?n.push(l):s.push(l),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const xl=()=>{};function fi(e,t,n,s=xl){e.push(t);const i=()=>{const l=e.indexOf(t);l>-1&&(e.splice(l,1),s())};return!n&&_i()&&Ll(i),i}function $t(e,...t){e.slice().forEach(n=>{n(...t)})}const Yr=e=>e(),ai=Symbol(),Xn=Symbol();function cs(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],i=e[n];as(i)&&as(s)&&e.hasOwnProperty(n)&&!de(s)&&!mt(s)?e[n]=cs(i,s):e[n]=s}return e}const Xr=Symbol();function Zr(e){return!as(e)||!Object.prototype.hasOwnProperty.call(e,Xr)}const{assign:dt}=Object;function Qr(e){return!!(de(e)&&e.effect)}function ef(e,t,n,s){const{state:i,actions:l,getters:o}=t,r=n.state.value[e];let f;function u(){r||(n.state.value[e]=i?i():{});const c=ao(n.state.value[e]);return dt(c,l,Object.keys(o||{}).reduce((p,h)=>(p[h]=xs(nt(()=>{Ln(n);const v=n._s.get(e);return o[h].call(v,v)})),p),{}))}return f=kl(e,u,t,n,s,!0),f}function kl(e,t,n={},s,i,l){let o;const r=dt({actions:{}},n),f={deep:!0};let u,c,p=[],h=[],v;const P=s.state.value[e];!l&&!P&&(s.state.value[e]={}),ue({});let H;function ne(K){let W;u=c=!1,typeof K=="function"?(K(s.state.value[e]),W={type:Zt.patchFunction,storeId:e,events:v}):(cs(s.state.value[e],K),W={type:Zt.patchObject,payload:K,storeId:e,events:v});const ce=H=Symbol();ks().then(()=>{H===ce&&(u=!0)}),c=!0,$t(p,W,s.state.value[e])}const z=l?function(){const{state:W}=n,ce=W?W():{};this.$patch(Me=>{dt(Me,ce)})}:xl;function se(){o.stop(),p=[],h=[],s._s.delete(e)}const ie=(K,W="")=>{if(ai in K)return K[Xn]=W,K;const ce=function(){Ln(s);const Me=Array.from(arguments),je=[],Ke=[];function _t(B){je.push(B)}function ut(B){Ke.push(B)}$t(h,{args:Me,name:ce[Xn],store:J,after:_t,onError:ut});let ae;try{ae=K.apply(this&&this.$id===e?this:J,Me)}catch(B){throw $t(Ke,B),B}return ae instanceof Promise?ae.then(B=>($t(je,B),B)).catch(B=>($t(Ke,B),Promise.reject(B))):($t(je,ae),ae)};return ce[ai]=!0,ce[Xn]=W,ce},A={_p:s,$id:e,$onAction:fi.bind(null,h),$patch:ne,$reset:z,$subscribe(K,W={}){const ce=fi(p,K,W.detached,()=>Me()),Me=o.run(()=>Se(()=>s.state.value[e],je=>{(W.flush==="sync"?c:u)&&K({storeId:e,type:Zt.direct,events:v},je)},dt({},f,W)));return ce},$dispose:se},J=In(A);s._s.set(e,J);const he=(s._a&&s._a.runWithContext||Yr)(()=>s._e.run(()=>(o=vi()).run(()=>t({action:ie}))));for(const K in he){const W=he[K];if(de(W)&&!Qr(W)||mt(W))l||(P&&Zr(W)&&(de(W)?W.value=P[K]:cs(W,P[K])),s.state.value[e][K]=W);else if(typeof W=="function"){const ce=ie(W,K);he[K]=ce,r.actions[K]=W}}return dt(J,he),dt(Y(J),he),Object.defineProperty(J,"$state",{get:()=>s.state.value[e],set:K=>{ne(W=>{dt(W,K)})}}),s._p.forEach(K=>{dt(J,o.run(()=>K({store:J,app:s._a,pinia:s,options:r})))}),P&&l&&n.hydrate&&n.hydrate(J.$state,P),u=!0,c=!0,J}/*! #__NO_SIDE_EFFECTS__ */function tf(e,t,n){let s;const i=typeof t=="function";s=i?n:t;function l(o,r){const f=Bo();return o=o||(f?Yt(wl,null):null),o&&Ln(o),o=_l,o._s.has(e)||(i?kl(e,t,s,o):ef(e,s,o)),o._s.get(e)}return l.$id=e,l}const Vl={async fetchFields(e){if(e==null)throw new Error("Post ID is required");const t=typeof window<"u"&&window.feacfData&&window.feacfData.nonce?window.feacfData.nonce:null;if(!t)throw new Error("Nonce not found in window.feacfData");const n=new FormData;n.append("action","feacf_get_fields"),n.append("post_id",e),n.append("_ajax_nonce",t);const s=await fetch("/wp-admin/admin-ajax.php",{method:"POST",credentials:"same-origin",body:n});if(!s.ok)throw new Error("Failed to fetch fields");return await s.json()},async submitFields(e,t){if(e==null)throw new Error("Post ID is required");const n=typeof window<"u"&&window.feacfData&&window.feacfData.nonce?window.feacfData.nonce:null;if(!n)throw new Error("Nonce not found in window.feacfData");const s=new FormData;s.append("action","feacf_save_fields"),s.append("post_id",e),s.append("_ajax_nonce",n),typeof t=="string"?s.append("fields",t):s.append("fields",JSON.stringify(t));const i=await fetch("/wp-admin/admin-ajax.php",{method:"POST",credentials:"same-origin",body:s});if(!i.ok)throw new Error("Failed to save fields");return await i.json()}};window.useAcfFields=Vl;const $e=tf("editor",{state:()=>({showPanel:!1,fields:[],fieldValues:{},originalValues:{},loading:!1,saving:!1,error:null,success:null,selectedField:null,mediaModalOpen:!1,panelMode:"edit",showResult:!1,resultSuccess:!1,resultMessage:"",fieldValidity:{},fieldValidationMessages:{},validationTrigger:!1,visibleFields:{}}),actions:{evaluateConditionalLogic(e){return!e.conditional_logic||!Array.isArray(e.conditional_logic)?!0:e.conditional_logic.some(t=>t.every(n=>{const s=this.fieldValues[n.field],i=n.value;switch(n.operator){case"==":return s==i;case"!=":return s!=i;case">":return parseFloat(s)>parseFloat(i);case"<":return parseFloat(s)<parseFloat(i);case">=":return parseFloat(s)>=parseFloat(i);case"<=":return parseFloat(s)<=parseFloat(i);case"contains":return String(s).includes(String(i));case"!contains":return!String(s).includes(String(i));case"empty":return!s||s==="";case"!empty":return s&&s!=="";default:return!0}}))},setFieldValidity(e,t){this.fieldValidity={...this.fieldValidity,[e]:t}},setFieldValidationMessage(e,t){this.fieldValidationMessages={...this.fieldValidationMessages,[e]:t}},setFields(e){this.fields=e},updateFieldVisibility(){this.fields.forEach(e=>{this.visibleFields[e.key]=this.evaluateConditionalLogic(e)})},setFieldValue(e,t){const n=this.fields.find(s=>s.key===e);n&&n.type==="image"?t&&typeof t=="object"&&t.id?this.fieldValues[e]=t.id:this.fieldValues[e]=t:this.fieldValues[e]=t,this.updateFieldVisibility()},setOriginalValues(e){this.originalValues=e},setLoading(e){this.loading=e},async openPanel(){var t;this.showPanel=!0;const e=(t=window.feacfData)==null?void 0:t.postId;if(!e){console.error("Post ID not found in feacfData"),this.error="Unable to load fields: Post ID not found";return}await this.loadFields(e)},async loadFields(e){this.loading=!0;let t;try{t=await Vl.fetchFields(e)}catch{this.fields=[],this.loading=!1;return}t&&t.success&&t.data?(this.fields=Object.values(t.data.fields||t.data).filter(n=>n&&n.key),this.fields.forEach(n=>{let s=n.value;s==null&&n.default_value!==void 0&&n.default_value!==null&&n.default_value!==""&&(s=n.default_value),this.fieldValues[n.key]=s}),this.originalValues={...this.fieldValues},this.updateFieldVisibility()):this.fields=[],this.loading=!1},validateAllFields(){let e=!0;return this.fields.forEach(t=>{const n=this.fieldValues[t.key];let s=!0,i="";if(t.required&&(n===null||n===!1||n===void 0||n===""||Array.isArray(n)&&n.length===0)&&(s=!1,i=t.validationMessage||t.validation_message||"This field is required."),s&&t.type==="email"&&n&&(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n)||(s=!1,i=t.validationMessage||t.validation_message||"Please enter a valid email address.")),s&&(t.type==="url"||t.type==="oembed")&&n)try{const l=new URL(n);if(l.protocol!=="http:"&&l.protocol!=="https:")throw new Error("bad protocol")}catch{s=!1,i=t.validationMessage||t.validation_message||"Please enter a valid URL (http/https)."}if(s&&t.type==="page_link"&&n){const l=typeof n=="number"||/^\d+$/.test(String(n)),o=typeof n=="string"&&/^(https?:\/\/|\/)/i.test(n);!l&&!o&&(s=!1,i=t.validationMessage||t.validation_message||"Please enter a valid page link.")}this.setFieldValidity(t.key,s),this.setFieldValidationMessage(t.key,s?"":i),s||(e=!1)}),e}},getters:{isFormValid(e){return e.fields.length?e.fields.every(t=>{const n=e.fieldValidity[t.key],s=e.fieldValues[t.key];return t.required||s!=null&&s!==""?n===!0:!0}):!0},getFieldValidationMessage:e=>t=>e.fieldValidationMessages[t]||"",isFieldVisible:e=>t=>e.visibleFields[t]!==!1}});const an=(e,t)=>{const n=e.__vccOpts||e;for(const[s,i]of t)n[s]=i;return n},nf={__name:"FloatingButton",setup(e){const t=$e();function n(){t.openPanel()}return(s,i)=>($(),I("button",{type:"button",class:"feacf-floating-btn",onClick:n},i[0]||(i[0]=[y("span",{class:"feacf-btn-content"},[y("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",class:"feacf-pen-icon"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15.232 5.232l3.536 3.536M9 13l6.586-6.586a2 2 0 112.828 2.828L11.828 15.828a2 2 0 01-2.828 0L9 13zm0 0L7.586 14.414a2 2 0 002.828 2.828L13 15"})]),y("span",null,"Edit Fields")],-1)])))}},sf=an(nf,[["__scopeId","data-v-dd21ace5"]]),lf=["id","name","type","value"],ci={__name:"TextInput",props:{field:Object,type:String},setup(e){const t=$e(),n=e;function s(i){t.setFieldValue(n.field.key,i.target.value)}return(i,l)=>($(),I("input",Re({id:n.field.key,name:n.field.name,type:n.type,value:L(t).fieldValues[n.field.key],onInput:l[0]||(l[0]=o=>s(o))},n.field.attrs,{class:"fe-acf-border fe-acf-rounded fe-acf-px-3 fe-acf-py-2 fe-acf-bg-gray-50 fe-acf-text-gray-900 focus:fe-acf-outline-none focus:fe-acf-ring-2 focus:fe-acf-ring-blue-500"}),null,16,lf))}},of=["id","name","value","placeholder"],rf={__name:"EmailInput",props:{field:{type:Object,required:!0},modelValue:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t;return(s,i)=>($(),I("input",Re({id:e.field.key,name:e.field.name,type:"email",value:e.modelValue,onInput:i[0]||(i[0]=l=>n("update:modelValue",l.target.value))},e.field.attrs,{class:"fe-acf-border fe-acf-rounded fe-acf-px-3 fe-acf-py-2 fe-acf-bg-gray-50 fe-acf-text-gray-900 focus:fe-acf-outline-none focus:fe-acf-ring-2 focus:fe-acf-ring-blue-500",placeholder:e.field.placeholder||"Enter email"}),null,16,of))}},ff=["id","name","multiple"],af={key:0,value:""},cf=["value"],uf={__name:"SelectInput",props:{field:Object,multiple:Boolean},setup(e){const t=$e(),n=e;return(s,i)=>At(($(),I("select",Re({id:n.field.key,name:n.field.name,multiple:n.multiple,"onUpdate:modelValue":i[0]||(i[0]=l=>L(t).fieldValues[n.field.key]=l)},n.field.attrs,{style:n.multiple?"min-height:100px;height:100px;":"",class:"fe-acf-border fe-acf-rounded fe-acf-px-3 fe-acf-py-2 fe-acf-bg-gray-50 fe-acf-text-gray-900 focus:fe-acf-outline-none focus:fe-acf-ring-2 focus:fe-acf-ring-blue-500"}),[n.field.allow_null&&!n.multiple?($(),I("option",af,"-Select-")):Be("",!0),($(!0),I(Ee,null,rn(n.field.choices,(l,o)=>($(),I("option",{key:o,value:o},Je(l),9,cf))),128))],16,ff)),[[vl,L(t).fieldValues[n.field.key]]])}},df={class:"fe-acf-flex fe-acf-gap-4 fe-acf-flex-wrap fe-acf-checkbox-items"},pf=["id","name","value","checked","onChange"],hf=["for"],gf={__name:"CheckboxInput",props:{field:Object},setup(e){const t=$e(),n=e;function s(i,l){let o=Array.isArray(t.fieldValues[n.field.key])?[...t.fieldValues[n.field.key]]:[];l.target.checked?o.includes(i)||o.push(i):o=o.filter(r=>r!==i),t.setFieldValue(n.field.key,o)}return(i,l)=>($(),I("div",df,[($(!0),I(Ee,null,rn(n.field.choices,(o,r)=>($(),I("div",{key:r,class:"fe-acf-flex fe-acf-items-center"},[y("input",Re({type:"checkbox",id:n.field.key+"-"+r,name:n.field.name,value:r,checked:Array.isArray(L(t).fieldValues[n.field.key])?L(t).fieldValues[n.field.key].includes(r):!1,onChange:f=>s(r,f)},{ref_for:!0},n.field.attrs),null,16,pf),y("label",{for:n.field.key+"-"+r,class:"fe-acf-ml-2"},Je(o),9,hf)]))),128))]))}};const mf={key:0,class:"feacf-image-preview",style:{position:"relative",display:"inline-block"}},yf=["src"],bf={key:1},vf={__name:"ImageField",props:{field:Object},setup(e){const t=$e(),n=e,s=ue("");async function i(r){if(!r)return"";switch(typeof r){case"object":return r!==null&&r.url?r.url:"";case"number":try{const u=await fetch(`${feacfData.rest_url}wp/v2/media/${r}`,{method:"GET",headers:{"X-WP-Nonce":feacfData.rest_nonce,"Content-Type":"application/json"}});if(u.ok)return(await u.json()).source_url||"";console.error(`Failed to fetch media ${r}: ${u.status}`)}catch(u){console.error("Error fetching media:",u)}return"";case"string":return r;default:return""}}Se(()=>t.fieldValues[n.field.key],async r=>{s.value=await i(r)},{immediate:!0});function l(){if(!window.wp||!window.wp.media){alert("WordPress media library not available.");return}const r={jpg:{mime:"image/jpeg",ext:"jpg,jpeg"},jpeg:{mime:"image/jpeg",ext:"jpg,jpeg"},png:{mime:"image/png",ext:"png"},gif:{mime:"image/gif",ext:"gif"},webp:{mime:"image/webp",ext:"webp"},svg:{mime:"image/svg+xml",ext:"svg"}};let f=[];n.field.mime_types?f=n.field.mime_types.split(",").map(h=>h.trim().toLowerCase()).map(h=>r[h]).filter(Boolean):f=Object.values(r);const u=f.map(h=>h.mime),c=f.map(h=>h.ext).join(","),p=window.wp.media({title:"Select Image",multiple:!1,library:u.length?{post_mime_type:u}:{type:"image"},button:{text:"Use this image"}});p.on("open",()=>{const h=p.uploader&&p.uploader.options&&p.uploader.options.uploader;h&&h.plupload&&f.length&&h.plupload.setOption("filters",[{title:"Allowed images",extensions:c}]);const v=t.fieldValues[n.field.key];let P=null;if(typeof v=="object"&&v!==null&&v.id?P=v.id:(typeof v=="number"||typeof v=="string")&&(P=v),P){const H=p.state().get("selection"),ne=window.wp.media.attachment(P);ne.fetch(),H.add(ne)}}),p.on("select",()=>{const h=p.state().get("selection").first().toJSON(),v=h.mime||h.mime_type||h.mimeType||"";if(u.length&&!u.includes(v)){alert("This file type is not allowed. Please select a supported image format."),p.close();return}t.setFieldValue(n.field.key,h.id),s.value=h.url}),p.open()}function o(){t.setFieldValue(n.field.key,null),s.value=""}return(r,f)=>($(),I("div",null,[s.value?($(),I("div",mf,[y("img",{src:s.value,alt:"Selected Image",style:{"max-width":"100px","border-radius":"6px"}},null,8,yf),y("div",{style:{position:"absolute",top:"8px",right:"8px",display:"flex",gap:"6px"}},[y("button",{type:"button",onClick:l,class:"feacf-icon-btn",title:"Edit image"},f[0]||(f[0]=[y("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15.232 5.232l3.536 3.536M9 13l6.586-6.586a2 2 0 112.828 2.828L11.828 15.828a2 2 0 01-2.828 0L9 13zm0 0L7.586 14.414a2 2 0 002.828 2.828L13 15"})],-1)])),y("button",{type:"button",onClick:o,class:"feacf-icon-btn",title:"Delete image"},f[1]||(f[1]=[y("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)]))])])):($(),I("div",bf,[y("button",{type:"button",onClick:l,class:"feacf-btn"},"Upload Image")]))]))}},_f=an(vf,[["__scopeId","data-v-478304e7"]]);const wf={class:"fe-acf-colorpicker-root"},xf={class:"fe-acf-colorpicker-popup-panel"},kf={class:"fe-acf-colorpicker-slider-row"},Vf={class:"fe-acf-colorpicker-slider-row"},Sf={class:"fe-acf-colorpicker-popup-input-row"},Cf=["value","placeholder"],Mf={class:"fe-acf-colorpicker-popup-btn-row fe-acf-colorpicker-action-row"},Ff={__name:"ColorPicker",props:{modelValue:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:t}){const n=nt(()=>{const[S,x,C]=ne(o.value,r.value,f.value);return{background:`linear-gradient(90deg, rgba(${S},${x},${C},0) 0%, rgb(${S},${x},${C}) 100%)`}}),s=ue(!1),i=e,l=t,o=ue(0),r=ue(100),f=ue(100),u=ue(1),c=ue("hex"),p=ue(""),h=ue(100),v=ue(null),P=ue(null),H=ue(null);function ne(S,x,C){x/=100,C/=100;let E=0,j=0,U=0,Q=Math.floor(S/60),te=S/60-Q,q=C*(1-x),et=C*(1-x*te),a=C*(1-x*(1-te));switch(Q%6){case 0:E=C,j=a,U=q;break;case 1:E=et,j=C,U=q;break;case 2:E=q,j=C,U=a;break;case 3:E=q,j=et,U=C;break;case 4:E=a,j=q,U=C;break;case 5:E=C,j=q,U=et;break}return[Math.round(E*255),Math.round(j*255),Math.round(U*255)]}function z(S,x,C){S/=255,x/=255,C/=255;let E=Math.max(S,x,C),j=Math.min(S,x,C),U,Q,te=E,q=E-j;if(Q=E===0?0:q/E,E===j)U=0;else{switch(E){case S:U=(x-C)/q+(x<C?6:0);break;case x:U=(C-S)/q+2;break;case C:U=(S-x)/q+4;break}U*=60}return[Math.round(U),Math.round(Q*100),Math.round(te*100)]}function se(S,x,C){return"#"+[S,x,C].map(E=>{const j=E.toString(16);return j.length===1?"0"+j:j}).join("")}function ie(S){S=S.replace(/^#/,""),S.length===3&&(S=S.split("").map(C=>C+C).join(""));const x=parseInt(S,16);return[x>>16,x>>8&255,x&255]}function A(S,x,C){S/=255,x/=255,C/=255;let E=Math.max(S,x,C),j=Math.min(S,x,C),U,Q,te=(E+j)/2;if(E===j)U=Q=0;else{let q=E-j;switch(Q=te>.5?q/(2-E-j):q/(E+j),E){case S:U=(x-C)/q+(x<C?6:0);break;case x:U=(C-S)/q+2;break;case C:U=(S-x)/q+4;break}U*=60}return[Math.round(U),Math.round(Q*100),Math.round(te*100)]}function J(S,x,C){x/=100,C/=100;let E=(1-Math.abs(2*C-1))*x,j=E*(1-Math.abs(S/60%2-1)),U=C-E/2,Q=0,te=0,q=0;return S<60?(Q=E,te=j,q=0):S<120?(Q=j,te=E,q=0):S<180?(Q=0,te=E,q=j):S<240?(Q=0,te=j,q=E):S<300?(Q=j,te=0,q=E):(Q=E,te=0,q=j),Q=Math.round((Q+U)*255),te=Math.round((te+U)*255),q=Math.round((q+U)*255),[Q,te,q]}function me(S,x,C){return Math.max(x,Math.min(C,S))}const he=nt(()=>c.value==="hex"?"#RRGGBB":c.value==="rgb"?"rgb(255,255,255)":"hsl(0,100%,100%)");function K(){const[S,x,C]=ne(o.value,r.value,f.value);if(c.value==="hex")return u.value<1?se(S,x,C)+Math.round(u.value*255).toString(16).padStart(2,"0"):se(S,x,C);if(c.value==="rgb")return u.value<1?`rgba(${S},${x},${C},${parseFloat(u.value.toFixed(2))})`:`rgb(${S},${x},${C})`;const[E,j,U]=A(S,x,C);return u.value<1?`hsla(${E},${j}%,${U}%,${parseFloat(u.value.toFixed(2))})`:`hsl(${E},${j}%,${U}%)`}function W(S){if(S=S.trim(),/^#([0-9a-f]{3,8})$/i.test(S)){let E=S.replace(/^#/,"");E.length===3&&(E=E.split("").map(Q=>Q+Q).join(""));let j=ie("#"+E.slice(0,6)),U=1;E.length===8&&(U=parseInt(E.slice(6,8),16)/255),[o.value,r.value,f.value]=z(...j),u.value=U,h.value=Math.round(U*100);return}let x=S.match(/^rgba?\(([^)]+)\)$/i);if(x){let E=x[1].split(",").map(q=>q.trim()),j=parseInt(E[0]),U=parseInt(E[1]),Q=parseInt(E[2]),te=E[3]!==void 0?parseFloat(E[3]):1;[o.value,r.value,f.value]=z(j,U,Q),u.value=me(te,0,1),h.value=Math.round(u.value*100);return}let C=S.match(/^hsla?\(([^)]+)\)$/i);if(C){let E=C[1].split(",").map(et=>et.trim().replace("%","")),j=parseFloat(E[0]),U=parseFloat(E[1]),Q=parseFloat(E[2]),te=E[3]!==void 0?parseFloat(E[3]):1,q=J(j,U,Q);[o.value,r.value,f.value]=z(...q),u.value=me(te,0,1),h.value=Math.round(u.value*100);return}}const ce=nt(()=>{const[S,x,C]=ne(o.value,r.value,f.value);return`rgba(${S},${x},${C},${u.value})`}),Me=nt(()=>{const[S,x,C]=ne(o.value,100,100);return{background:` 22 22 linear-gradient(to right, #fff, rgb(${S},${x},${C})), 23 23 linear-gradient(to top, #000, transparent) 24 `}}),je=nt(()=>({left:`${r.value/100*180}px`,top:`${(1-f.value/100)*120}px`})),Ke=nt(()=>({left:`${o.value/360*180}px`})),_t=nt(()=>({left:`${ d.value*180}px`}));function ut(S,x){const C=x.getBoundingClientRect();let E,j;return S.touches?(E=S.touches[0].clientX-C.left,j=S.touches[0].clientY-C.top):(E=S.clientX-C.left,j=S.clientY-C.top),[me(E,0,180),me(j,0,120)]}function ae(S){function x(E){const[j,U]=ut(E,b.value);r.value=Math.round(j/180*100),f.value=Math.round(100-U/120*100),ye()}x(S),window.addEventListener("mousemove",x),window.addEventListener("touchmove",x),window.addEventListener("mouseup",C,{once:!0}),window.addEventListener("touchend",C,{once:!0});function C(){window.removeEventListener("mousemove",x),window.removeEventListener("touchmove",x)}}function N(S){function x(E){let j=ut(E,P.value)[0];o.value=Math.round(j/180*360),ye()}x(S),window.addEventListener("mousemove",x),window.addEventListener("touchmove",x),window.addEventListener("mouseup",C,{once:!0}),window.addEventListener("touchend",C,{once:!0});function C(){window.removeEventListener("mousemove",x),window.removeEventListener("touchmove",x)}}function Z(S){function x(E){let j=ut(E,H.value)[0];d.value=me(j/180,0,1),h.value=Math.round(d.value*100),ye()}x(S),window.addEventListener("mousemove",x),window.addEventListener("touchmove",x),window.addEventListener("mouseup",C,{once:!0}),window.addEventListener("touchend",C,{once:!0});function C(){window.removeEventListener("mousemove",x),window.removeEventListener("touchmove",x)}}function Ze(S){const x=S.target.value.trim();W(x),ye()}function $t(S){d.value=me(h.value/100,0,1),ye()}function Qe(){o.value=0,r.value=100,f.value=100,d.value=0,h.value=0,p.value="",l("update:modelValue","")}function ye(){if(d.value===0){p.value="",l("update:modelValue","");return}p.value=K(),l("update:modelValue",p.value)}return Se(()=>i.modelValue,S=>{if(!S){o.value=0,r.value=100,S.value=100,d.value=0,h.value=0,p.value="";return}W(S),p.value=K()},{immediate:!0}),Se([o,r,f,d],ye),Se(c,()=>{p.value=K()}),Se(d,()=>{h.value=Math.round(d.value*100)}),Se(h,()=>{d.value=me(h.value/100,0,1)}),(S,x)=>(F(),O("div",bf,[y("div",{class:"fe-acf-colorpicker-preview-bg",onClick:x[0]||(x[0]=C=>s.value=!s.value)},[y("div",{class:"fe-acf-colorpicker-preview",style:it({background:ce.value})},null,4)]),s.value?(F(),O("div",{key:0,class:"fe-acf-colorpicker-popup-overlay",onMousedown:x[4]||(x[4]=Ht(C=>s.value=!1,["self"]))},[y("div",_f,[y("div",{class:"fe-acf-colorpicker-satbox",ref_key:"satBox",ref:b,style:it(Me.value),onMousedown:ae,onTouchstart:Ht(ae,["prevent"])},[y("div",{class:"fe-acf-colorpicker-satbox-cursor",style:it(je.value)},null,4)],36),y("div",wf,[y("div",{class:"fe-acf-colorpicker-slider fe-acf-colorpicker-hue",ref_key:"hueSlider",ref:P,onMousedown:N,onTouchstart:Ht(N,["prevent"])},[y("div",{class:"fe-acf-colorpicker-slider-cursor",style:it(Ke.value)},null,4)],544)]),y("div",xf,[y("div",{class:"fe-acf-colorpicker-slider fe-acf-colorpicker-alpha",ref_key:"alphaSlider",ref:H,style:it(n.value),onMousedown:Z,onTouchstart:Ht(Z,["prevent"])},[y("div",{class:"fe-acf-colorpicker-slider-cursor",style:it(_t.value)},null,4)],36)]),y("div",kf,[y("input",{class:"fe-acf-colorpicker-input",value:p.value,onInput:Ze,placeholder:he.value,spellcheck:"false"},null,40,Vf),en(y("select",{class:"fe-acf-colorpicker-format","onUpdate:modelValue":x[1]||(x[1]=C=>c.value=C)},x[5]||(x[5]=[y("option",{value:"hex"},"HEX",-1),y("option",{value:"rgb"},"RGB",-1),y("option",{value:"hsl"},"HSL",-1)]),512),[[yl,c.value]]),en(y("input",{class:"fe-acf-colorpicker-alpha-input",type:"text","onUpdate:modelValue":x[2]||(x[2]=C=>h.value=C),onInput:$t},null,544),[[os,h.value,void 0,{number:!0}]])]),y("div",Sf,[y("button",{type:"button",class:"fe-acf-colorpicker-clear",onClick:Qe,title:"Clear"},"Clear"),y("button",{class:"fe-acf-colorpicker-popup-close-icon",onClick:x[3]||(x[3]=C=>s.value=!1),title:"Close"},"Close")])])],32)):Ne("",!0)]))}},Mf=fn(Cf,[["__scopeId","data-v-30c4078f"]]),$f={class:"fe-acf-relative fe-acf-flex fe-acf-items-center"},Ef=["id","name","type","value","aria-describedby"],Ff=["aria-label"],Tf={key:0},If={key:1},Of={__name:"PasswordInput",props:{field:Object,modelValue:String},setup(e){const t=ue(!1);return(n,s)=>(F(),O("div",$f,[y("input",Re({id:e.field.key,name:e.field.name,type:t.value?"text":"password",value:e.modelValue,onInput:s[0]||(s[0]=i=>n.$emit("update:modelValue",i.target.value))},e.field.attrs,{autocomplete:"current-password","aria-describedby":e.field.describedby,class:"fe-acf-block fe-acf-w-full fe-acf-pr-10"}),null,16,Ef),y("button",{type:"button",class:"fe-acf-absolute fe-acf-right-2 fe-acf-text-xs fe-acf-bg-transparent fe-acf-border-0 fe-acf-cursor-pointer",onClick:s[1]||(s[1]=i=>t.value=!t.value),"aria-label":t.value?"Hide password":"Show password"},[t.value?(F(),O("span",Tf,s[2]||(s[2]=[y("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"none",viewBox:"0 0 24 24"},[y("path",{stroke:"#555","stroke-width":"2",d:"M1.5 12S5.5 5.5 12 5.5 22.5 12 22.5 12 18.5 18.5 12 18.5 1.5 12 1.5 12Z"}),y("circle",{cx:"12",cy:"12",r:"3.5",stroke:"#555","stroke-width":"2"})],-1)]))):(F(),O("span",If,s[3]||(s[3]=[y("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"none",viewBox:"0 0 24 24"},[y("path",{stroke:"#555","stroke-width":"2",d:"M3 3l18 18M1.5 12S5.5 5.5 12 5.5c2.1 0 4.1.7 5.8 1.8M22.5 12s-4 6.5-10.5 6.5c-2.1 0-4.1-.7-5.8-1.8"}),y("circle",{cx:"12",cy:"12",r:"3.5",stroke:"#555","stroke-width":"2"}),y("path",{stroke:"#555","stroke-width":"2",d:"M9.5 9.5l5 5"})],-1)])))],8,Ff)]))}};const Pf={class:"fe-acf-flex fe-acf-flex-col fe-acf-gap-2"},jf={key:0},Af={class:"fe-acf-flex fe-acf-items-center fe-acf-gap-2"},Rf=["href"],Df={key:1},Lf={__name:"FileField",props:{field:Object},setup(e){const t=Fe(),n=e,s=ue(null);Se(()=>t.fieldValues[n.field.key],async o=>{var r;if(!o||typeof o=="object"&&Object.keys(o).length===0){s.value=null,t.fieldValues[n.field.key]!==null&&t.setFieldValue(n.field.key,null);return}if(typeof o=="object"&&o!==null&&o.url){s.value=o;return}if(typeof o=="number"&&window.wp&&window.wp.apiFetch){try{const f=await window.wp.apiFetch({path:`/wp/v2/media/${o}`});s.value={id:f.id,url:f.source_url,title:((r=f.title)==null?void 0:r.rendered)||f.filename||"",filename:f.filename||"",mime_type:f.mime_type,alt:f.alt_text||""}}catch(f){console.error(`Failed to fetch media details for ID ${o}:`,f),s.value=null}return}if(typeof o=="string"){s.value={url:o,title:o};return}s.value=null,t.fieldValues[n.field.key]!==null&&t.setFieldValue(n.field.key,null)},{immediate:!0});function i(){if(!window.wp||!window.wp.media)return;let o={},r=!1;n.field&&n.field.library==="uploadedTo"&&n.field.post&&(o.uploadedTo=n.field.post,r=!0);const f=window.wp.media({title:"Select or Upload File",button:{text:"Use this file"},multiple:!1,library:o,uploadToPost:r});f.on("open",()=>{const d=t.fieldValues[n.field.key],c=typeof d=="object"&&d.id?d.id:d;if(c){const p=f.state().get("selection"),h=window.wp.media.attachment(c);h.fetch(),p.add(h)}}),f.on("select",()=>{const d=f.state().get("selection").first().toJSON();t.setFieldValue(n.field.key,d)}),f.open()}function l(){s.value=null,t.setFieldValue(n.field.key,null)}return(o,r)=>(F(),O("div",Pf,[s.value?(F(),O("div",jf,[y("div",Af,[y("a",{href:s.value.url,target:"_blank",rel:"noopener",class:"fe-acf-flex fe-acf-items-center fe-acf-gap-2 fe-acf-px-3 fe-acf-py-2 fe-acf-bg-gray-50 fe-acf-border fe-acf-rounded hover:fe-acf-bg-blue-50 fe-acf-transition"},[r[0]||(r[0]=y("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 16v-4m0 0V8m0 4h4m-4 0H8m8 8H8a2 2 0 01-2-2V8a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2z"})],-1)),y("span",null,Je(s.value.title||s.value.filename),1)],8,Rf),y("button",{type:"button",class:"fe-acf-text-xs fe-acf-ml-2 fe-acf-bg-transparent fe-acf-border-0 fe-acf-cursor-pointer feacf-file-edit-button",onClick:i,"aria-label":"Edit file details"},r[1]||(r[1]=[y("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",viewBox:"0 0 24 24"},[y("path",{d:"M16.862 3.487a2.5 2.5 0 0 1 3.535 3.535l-1.414 1.414-3.535-3.535 1.414-1.414ZM14.035 6.314l3.535 3.535-10.607 10.607a2 2 0 0 1-.707.464l-3.182 1.061a.5.5 0 0 1-.632-.632l1.06-3.182a2 2 0 0 1 .465-.707L14.035 6.314Z",stroke:"#555","stroke-width":"1.5"})],-1)])),y("button",{type:"button",class:"fe-acf-text-xs fe-acf-ml-2 fe-acf-bg-transparent fe-acf-border-0 fe-acf-cursor-pointer feacf-file-delete-button",onClick:l,"aria-label":"Delete file"},r[2]||(r[2]=[y("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",viewBox:"0 0 24 24"},[y("path",{d:"M6 7h12M9 7V5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2m2 0v12a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V7h12Z",stroke:"#d32f2f","stroke-width":"1.5"}),y("path",{d:"M10 11v4M14 11v4",stroke:"#d32f2f","stroke-width":"1.5"})],-1)]))])])):(F(),O("div",Df,[y("button",{type:"button",class:"feacf-btn feacf-btn-secondary fe-acf-flex fe-acf-items-center fe-acf-gap-2 feacf-file-upload-button",onClick:i},r[3]||(r[3]=[y("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 16v-4m0 0V8m0 4h4m-4 0H8m8 8H8a2 2 0 01-2-2V8a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2z"})],-1),y("span",null,"Select or Upload File",-1)]))]))]))}},Uf=fn(Lf,[["__scopeId","data-v-59d52de0"]]),Hf={class:"fe-acf-flex fe-acf-gap-4 fe-acf-flex-wrap fe-acf-radio-items"},Bf=["id","name","value","checked","onChange","onClick"],Nf=["for"],Kf={__name:"RadioInput",props:{field:Object},setup(e){const t=Fe(),n=e;function s(l){t.setFieldValue(n.field.key,l)}function i(l){const o=t.fieldValues[n.field.key];n.field.allow_null&&o===l&&t.setFieldValue(n.field.key,null)}return(l,o)=>(F(),O("div",Hf,[(F(!0),O(Ee,null,on(n.field.choices,(r,f)=>(F(),O("div",{key:f,class:"fe-acf-flex fe-acf-items-center"},[y("input",Re({type:"radio",id:n.field.key+"-"+f,name:n.field.name,value:f,checked:L(t).fieldValues[n.field.key]===f,onChange:d=>s(f),onClick:d=>i(f)},{ref_for:!0},n.field.attrs),null,16,Bf),y("label",{for:n.field.key+"-"+f,class:"fe-acf-ml-2"},Je(r),9,Nf)]))),128))]))}},Wf={class:"fe-acf-flex fe-acf-border fe-acf-rounded fe-acf-overflow-scroll"},qf=["onClick","aria-pressed"],zf={__name:"ButtonGroupInput",props:{field:Object},setup(e){const t=Fe(),n=e;(!n.field||!n.field.key||!n.field.choices)&&console.warn("ButtonGroupInput: Invalid field data",n.field);function s(i){if(!n.field||!n.field.key)return;const l=t.fieldValues[n.field.key];n.field.allow_null&&l===i?t.setFieldValue(n.field.key,null):t.setFieldValue(n.field.key,i)}return(i,l)=>(F(),O("div",Wf,[(F(!0),O(Ee,null,on(n.field.choices,(o,r,f)=>(F(),O("button",{key:r,type:"button",class:rt(["fe-acf-px-4 fe-acf-py-2 fe-acf-font-semibold fe-acf-border-0 fe-acf-transition-colors fe-acf-outline-none",L(t).fieldValues[n.field.key]===r?"fe-acf-bg-blue-600 fe-acf-text-white fe-acf-active":"fe-acf-bg-white fe-acf-text-gray-700 hover:fe-acf-bg-blue-50",f!==0?"fe-acf-border-l fe-acf-border-gray-200":""]),onClick:d=>s(r),"aria-pressed":L(t).fieldValues[n.field.key]===r},Je(o),11,qf))),128))]))}},Gf={key:0,class:"fe-acf-flex fe-acf-items-center fe-acf-gap-2"},Jf=["aria-pressed","aria-label"],Yf={key:0,class:"fe-acf-absolute fe-acf-left-1 fe-acf-top-1 fe-acf-flex fe-acf-items-center fe-acf-justify-center"},Xf={key:1,class:"fe-acf-absolute fe-acf-right-1 fe-acf-top-1 fe-acf-flex fe-acf-items-center fe-acf-justify-center"},Zf={key:1},Qf={__name:"TrueFalseInput",props:{field:Object},setup(e){const t=Fe(),n=e,s=n==null?void 0:n.field;function i(){s&&s.key&&t.setFieldValue(s.key,!t.fieldValues[s.key])}return(l,o)=>L(s)&&L(s).key?(F(),O("div",Gf,[y("button",{type:"button",class:rt(["fe-acf-toggle fe-acf-relative fe-acf-w-12 fe-acf-h-6 fe-acf-rounded-full fe-acf-transition-colors",L(t).fieldValues[L(s).key]?"fe-acf-bg-blue-600":"fe-acf-bg-gray-200"]),onClick:i,"aria-pressed":L(t).fieldValues[L(s).key],"aria-label":L(t).fieldValues[L(s).key]?"True":"False"},[L(t).fieldValues[L(s).key]?(F(),O("span",Yf,o[0]||(o[0]=[y("svg",{class:"fe-acf-h-4 fe-acf-w-4 fe-acf-text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M5 13l4 4L19 7"})],-1)]))):Ne("",!0),y("span",{class:rt(["fe-acf-toggle-knob fe-acf-absolute fe-acf-top-0.5 fe-acf-left-0.5 fe-acf-w-5 fe-acf-h-5 fe-acf-bg-white fe-acf-rounded-full fe-acf-shadow fe-acf-transition-transform",L(t).fieldValues[L(s).key]?"fe-acf-translate-x-6":""])},null,2),L(t).fieldValues[L(s).key]?Ne("",!0):(F(),O("span",Xf,o[1]||(o[1]=[y("svg",{class:"fe-acf-h-4 fe-acf-w-4 fe-acf-text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M6 18L18 6M6 6l12 12"})],-1)])))],10,Jf)])):(F(),O("div",Zf,o[2]||(o[2]=[y("span",{class:"fe-acf-text-red-600"},"Invalid field data",-1)])))}},ea={__name:"WysiwygField",props:{field:Object,modelValue:String},emits:["update:modelValue"],setup(e,{emit:t}){const n=Fe(),s=e,i=t;(!s.field||!s.field.key)&&console.warn("WysiwygField: Invalid field data",s.field);const l=`editor-${s.field&&s.field.key?s.field.key:"invalid"}`;ue(null);const o=ue(!1),r=()=>{typeof wp<"u"&&wp.editor&&wp.editor.initialize(l,{tinymce:{wpautop:!0,plugins:"lists paste wordpress image link",toolbar1:"formatselect bold italic underline bullist numlist blockquote alignleft aligncenter alignright link unlink image",toolbar2:"",relative_urls:!1,remove_script_host:!1,convert_urls:!0,directionality:"ltr",setup:p=>{p.on("init",()=>{var b;const h=((b=n.fieldValues)==null?void 0:b[s.field.key])??s.modelValue??"";p.setContent(h||""),setTimeout(()=>{const P=p.getBody();P&&(P.style.direction="ltr",P.style.unicodeBidi="normal")},100),f(p)})}},quicktags:!0,mediaButtons:!0})},f=p=>{p.on("change keyup paste input",()=>{const h=p.getContent();c(h)})},d=()=>{const p=window.tinymce?window.tinymce.get(l):null;p&&p.remove()};Ki(()=>{r()}),Wi(()=>{d()}),Se(()=>n.fieldValues[s.field.key],p=>{if(!o&&window.tinymce&&window.tinymce.get(l)){window.tinymce.get(l).setContent(p||"");const h=window.tinymce.get(l).getBody();h&&(h.style.direction="ltr",h.style.unicodeBidi="normal")}o.value=!1});function c(p){const h=typeof p=="string"?p:"";n.setFieldValue(s.field.key,h),i("update:modelValue",h)}return(p,h)=>(F(),O("div",null,[y("textarea",{id:l,style:{direction:"ltr"}})]))}},ta=["id","name","value"],na={__name:"UrlInput",props:{field:{type:Object,required:!0},modelValue:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t;return(s,i)=>(F(),O("input",Re({id:e.field.key,name:e.field.name,type:"url",value:e.modelValue,onInput:i[0]||(i[0]=l=>n("update:modelValue",l.target.value))},e.field.attrs,{class:"fe-acf-border fe-acf-rounded fe-acf-px-3 fe-acf-py-2 fe-acf-bg-gray-50 fe-acf-text-gray-900 focus:fe-acf-outline-none focus:fe-acf-ring-2 focus:fe-acf-ring-blue-500",autocomplete:"off"}),null,16,ta))}},sa={class:"fe-acf-flex fe-acf-gap-2"},ia=["id","name"],la=["id","name"],oa={__name:"DateTimePicker",props:{modelValue:{type:String,default:""},field:{type:Object,default:null}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,s=t,i=ue(""),l=ue("");Se(()=>n.modelValue,r=>{if(!r){i.value="",l.value="";return}const[f,d]=r.split(" ");i.value=f||"",l.value=d?d.slice(0,5):""},{immediate:!0});function o(){i.value&&l.value?s("update:modelValue",`${i.value} ${l.value}:00`):i.value?s("update:modelValue",`${i.value} 00:00:00`):s("update:modelValue","")}return(r,f)=>{var d,c,p,h;return F(),O("div",sa,[en(y("input",{type:"date",id:((d=e.field)==null?void 0:d.key)+"-date",name:((c=e.field)==null?void 0:c.name)+"-date","onUpdate:modelValue":f[0]||(f[0]=b=>i.value=b),onChange:o,class:"fe-acf-border fe-acf-rounded fe-acf-px-2 fe-acf-py-1"},null,40,ia),[[os,i.value]]),en(y("input",{type:"time",id:((p=e.field)==null?void 0:p.key)+"-time",name:((h=e.field)==null?void 0:h.name)+"-time","onUpdate:modelValue":f[1]||(f[1]=b=>l.value=b),step:"60",onChange:o,class:"fe-acf-border fe-acf-rounded fe-acf-px-2 fe-acf-py-1"},null,40,la),[[os,l.value]])])}}},ra=["for"],fa={key:0,class:"fe-acf-text-red-600"},aa={key:0,class:"fe-acf-text-xs fe-acf-text-red-600 fe-acf-mb-1"},ca=["id","name","value"],ua=["id","name","value"],da=["id","name","value"],pa={key:16,class:"fe-acf-flex fe-acf-items-center fe-acf-gap-2"},ha=["id","name","min","max","value"],ga={class:"fe-acf-ml-2 fe-acf-text-xs"},ma={__name:"FieldRenderer",props:{field:{type:Object,required:!0},modelValue:{required:!1,default:null},type:{type:String,default:"text"},changed:{type:Boolean,default:!1},inputClass:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:t}){const n=Fe(),s=e,i=t,l=ue("");function o(p){return p==null||p===!1?!0:Array.isArray(p)?p.length===0:typeof p=="string"?p.replace(/<[^>]+>/g,"").replace(/ /g,"").trim()===""||p.replace(/\s|<br\s*\/?>(<\/p>)?/gi,"").replace(/<[^>]+>/g,"").trim()==="":p===""}function r(p){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(p)}function f(p){return/^(https?:\/\/)[^\s/$.?#].[^\s]*$/i.test(p)}function d(p){let h=s.field.validationMessage||s.field.validation_message;return s.field.required&&o(p)?(l.value=h||"This field is required.",n.setFieldValidity(s.field.key,!1),n.setFieldValidationMessage(s.field.key,l.value),!1):s.field.type==="email"&&p&&!r(p)?(l.value=h||"Please enter a valid email address.",n.setFieldValidity(s.field.key,!1),n.setFieldValidationMessage(s.field.key,l.value),!1):(s.field.type==="url"||s.field.type==="page_link"||s.field.type==="oembed")&&p&&!f(p)?(l.value=h||"Please enter a valid URL (must start with http:// or https://)",n.setFieldValidity(s.field.key,!1),n.setFieldValidationMessage(s.field.key,l.value),!1):(l.value="",n.setFieldValidity(s.field.key,!0),n.setFieldValidationMessage(s.field.key,""),!0)}function c(p){let h=p&&p.target?p.target.value:p;s.field.type==="oembed"&&d(h),i("update:modelValue",h)}return Se(()=>s.modelValue,p=>{d(p)},{immediate:!0}),Se(()=>n.validationTrigger,p=>{p&&(d(s.modelValue),s.field.required&&n.fieldValidity[s.field.key]===!1&&n.setFieldValidationMessage(s.field.key,n.fieldValidationMessages[s.field.key]||"This field is required."))},{immediate:!0}),(p,h)=>(F(),O("div",{class:rt(["fe-acf-mb-4","fe-acf-field-"+e.field.type])},[y("label",{for:e.field.key,class:"fe-acf-block fe-acf-font-bold fe-acf-mb-1"},[dl(Je(e.field.label)+" ",1),e.field.required?(F(),O("span",fa,"*")):Ne("",!0)],8,ra),L(n).validationTrigger&&L(n).fieldValidity[e.field.key]===!1?(F(),O("div",aa,Je(L(n).fieldValidationMessages[e.field.key]||"Invalid value."),1)):Ne("",!0),["text","number"].includes(e.field.type)?(F(),ge(ai,{key:1,field:e.field,type:e.field.type==="number"?"number":"text",modelValue:e.modelValue,"onUpdate:modelValue":c},null,8,["field","type","modelValue"])):e.field.type==="email"?(F(),ge(lf,{key:2,field:e.field,modelValue:e.modelValue,"onUpdate:modelValue":c},null,8,["field","modelValue"])):["url","page_link","oembed"].includes(e.field.type)?(F(),ge(na,{key:3,field:e.field,modelValue:e.modelValue,"onUpdate:modelValue":c},null,8,["field","modelValue"])):e.field.type==="password"?(F(),ge(Of,{key:4,field:e.field,modelValue:e.modelValue,"onUpdate:modelValue":c},null,8,["field","modelValue"])):e.field.type==="textarea"?(F(),O("textarea",Re({key:5,id:e.field.key,name:e.field.name,value:e.modelValue,onInput:h[0]||(h[0]=b=>c(b))},e.field.attrs,{class:"fe-acf-border fe-acf-rounded fe-acf-px-3 fe-acf-py-2 fe-acf-bg-gray-50 fe-acf-text-gray-900 focus:fe-acf-outline-none focus:fe-acf-ring-2 focus:fe-acf-ring-blue-500"}),null,16,ca)):["select"].includes(e.field.type)?(F(),ge(af,{key:6,field:e.field,modelValue:e.modelValue,multiple:e.field.multiple,"onUpdate:modelValue":c},null,8,["field","modelValue","multiple"])):e.field.type==="checkbox"?(F(),ge(pf,{key:7,field:e.field,modelValue:e.modelValue,"onUpdate:modelValue":c},null,8,["field","modelValue"])):e.field.type==="radio"?(F(),ge(Kf,{key:8,field:e.field,modelValue:e.modelValue,"onUpdate:modelValue":c},null,8,["field","modelValue"])):e.field.type==="button_group"?(F(),ge(zf,{key:9,field:e.field,modelValue:e.modelValue,"onUpdate:modelValue":c},null,8,["field","modelValue"])):e.field.type==="true_false"?(F(),ge(Qf,{key:10,field:e.field,modelValue:e.modelValue,"onUpdate:modelValue":c},null,8,["field","modelValue"])):e.field.type==="date_picker"?(F(),O("input",Re({key:11,type:"date",id:e.field.key,name:e.field.name,value:e.modelValue,onInput:h[1]||(h[1]=b=>c(b))},e.field.attrs,{class:"fe-acf-border fe-acf-rounded fe-acf-px-3 fe-acf-py-2 fe-acf-bg-gray-50 fe-acf-text-gray-900 focus:fe-acf-outline-none focus:fe-acf-ring-2 focus:fe-acf-ring-blue-500"}),null,16,ua)):e.field.type==="time_picker"?(F(),O("input",Re({key:12,type:"time",id:e.field.key,name:e.field.name,value:e.modelValue,onInput:h[2]||(h[2]=b=>c(b))},e.field.attrs,{class:"fe-acf-border fe-acf-rounded fe-acf-px-3 fe-acf-py-2 fe-acf-bg-gray-50 fe-acf-text-gray-900 focus:fe-acf-outline-none focus:fe-acf-ring-2 focus:fe-acf-ring-blue-500"}),null,16,da)):e.field.type==="color_picker"?(F(),ge(Mf,{key:13,field:e.field,modelValue:e.modelValue,"onUpdate:modelValue":c},null,8,["field","modelValue"])):e.field.type==="file"?(F(),ge(Uf,{key:14,modelValue:e.modelValue,field:e.field,"onUpdate:modelValue":c},null,8,["modelValue","field"])):e.field.type==="image"?(F(),ge(vf,{key:15,modelValue:e.modelValue,field:e.field,"onUpdate:modelValue":c},null,8,["modelValue","field"])):e.field.type==="range"?(F(),O("div",pa,[y("input",Re({type:"range",id:e.field.key,name:e.field.name,min:e.field.min||0,max:e.field.max||100,value:e.modelValue,onInput:h[3]||(h[3]=b=>c(b))},e.field.attrs,{class:"fe-acf-block"}),null,16,ha),y("span",ga,Je(e.modelValue),1)])):e.field.type==="wysiwyg"?(F(),ge(ea,{key:17,modelValue:e.modelValue,field:e.field,"onUpdate:modelValue":c},null,8,["modelValue","field"])):e.field.type==="date_time_picker"?(F(),ge(oa,{key:18,field:e.field,modelValue:e.modelValue,"onUpdate:modelValue":c},null,8,["field","modelValue"])):(F(),ge(ai,{key:19,field:e.field,type:"text",modelValue:e.modelValue,"onUpdate:modelValue":c},null,8,["field","modelValue"]))],2))}};const ya={key:0,class:"fe-acf-flex fe-acf-flex-col fe-acf-items-center fe-acf-justify-center fe-acf-h-96"},va={key:1},ba={key:0,class:"fe-acf-p-4 fe-acf-text-gray-500 fe-acf-text-center fe-acf-border fe-acf-rounded fe-acf-bg-yellow-50"},_a={key:0,class:"fe-acf-fixed fe-acf-inset-0 fe-acf-flex fe-acf-items-center fe-acf-justify-center fe-acf-bg-white fe-acf-bg-opacity-80 fe-acf-z-[10000001]"},wa={key:1,class:"fe-acf-fixed fe-acf-inset-0 fe-acf-flex fe-acf-items-center fe-acf-justify-center fe-acf-bg-white fe-acf-bg-opacity-80 fe-acf-z-[10000002]"},xa={class:"fe-acf-flex fe-acf-flex-col fe-acf-items-center fe-acf-justify-center"},ka={key:0,class:"fe-acf-h-16 fe-acf-w-16 fe-acf-text-green-500 fe-acf-success-icon",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},Va={key:1,class:"fe-acf-h-16 fe-acf-w-16 fe-acf-text-red-500 fe-acf-fail-icon",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},Sa={class:"fe-acf-panel-actions fe-acf-fixed fe-acf-bottom-0 fe-acf-right-0 fe-acf-w-96 fe-acf-bg-white fe-acf-px-6 fe-acf-py-4 fe-acf-border-t fe-acf-border-gray-200 fe-acf-flex fe-acf-gap-4 fe-acf-z-50"},Ca=["disabled"],Ma=["disabled"],$a={__name:"FormPanel",setup(e){const t=Fe();async function n(){if(t.validationTrigger=!0,!t.validateAllFields()){t.resultSuccess=!1,t.resultMessage="Please fill all required fields correctly.",t.showResult=!0,setTimeout(()=>{t.showResult=!1},1800);return}t.setLoading(!0),t.saving=!0,t.showResult=!1,t.resultSuccess=!1,t.resultMessage="";let l;try{l=await window.useAcfFields.submitFields(window.feacfData.postId,t.fieldValues),t.setLoading(!1),t.saving=!1,t.showResult=!0,l&&l.success?(t.resultSuccess=!0,t.resultMessage=l.data&&l.data.message||l.message||"Saved successfully!"):(t.resultSuccess=!1,l&&l.data&&l.data.message?t.resultMessage=l.data.message:l&&l.message?t.resultMessage=l.message:l&&l.status===404?t.resultMessage="Error 404: Data Not Saved":t.resultMessage="Error: Data Not Saved")}catch(o){t.setLoading(!1),t.saving=!1,t.showResult=!0,t.resultSuccess=!1,t.resultMessage=o&&o.message?o.message:"Error: Data Not Saved"}setTimeout(()=>{t.showResult=!1,t.resultSuccess&&t.setOriginalValues({...t.fieldValues})},1800)}function s(){t.showPanel=!1}return(i,l)=>(F(),O("div",null,[L(t).loading?(F(),O("div",ya,l[0]||(l[0]=[y("svg",{class:"fe-acf-animate-spin fe-acf-h-10 fe-acf-w-10 fe-acf-text-blue-500",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[y("circle",{class:"fe-acf-opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),y("path",{class:"fe-acf-opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"})],-1),y("div",{class:"fe-acf-mt-4 fe-acf-text-gray-400 fe-acf-text-lg"},"Loading fields...",-1)]))):(F(),O("div",va,[y("form",{onSubmit:Ht(n,["prevent"]),class:"fe-acf-space-y-6 fe-acf-bg-white fe-acf-p-6 fe-acf-rounded-lg fe-acf-max-w-xl fe-acf-mx-auto fe-acf-pb-32"},[L(t).fields.length===0?(F(),O("div",ba,l[1]||(l[1]=[y("span",{class:"fe-acf-font-semibold fe-acf-text-yellow-700"},"No fields found or unsupported field types.",-1)]))):Ne("",!0),(F(!0),O(Ee,null,on(L(t).fields,o=>(F(),ge(ma,{key:o.key,field:o,modelValue:L(t).fieldValues[o.key],"onUpdate:modelValue":r=>L(t).setFieldValue(o.key,r),type:o.type||"text","input-class":"fe-acf-border fe-acf-rounded fe-acf-px-3 fe-acf-py-2 fe-acf-bg-gray-50 fe-acf-text-gray-900 focus:fe-acf-outline-none focus:fe-acf-ring-2 focus:fe-acf-ring-blue-500"},null,8,["field","modelValue","onUpdate:modelValue","type"]))),128))],32),L(t).saving?(F(),O("div",_a,l[2]||(l[2]=[y("svg",{class:"fe-acf-animate-spin fe-acf-h-12 fe-acf-w-12 fe-acf-text-blue-500",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[y("circle",{class:"fe-acf-opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),y("path",{class:"fe-acf-opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"})],-1),y("span",{class:"fe-acf-ml-4 fe-acf-text-lg fe-acf-text-blue-600"},"Saving...",-1)]))):Ne("",!0),L(t).showResult?(F(),O("div",wa,[y("div",xa,[L(t).resultSuccess?(F(),O("svg",ka,l[3]||(l[3]=[y("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M5 13l4 4L19 7"},null,-1)]))):(F(),O("svg",Va,l[4]||(l[4]=[y("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M6 18L18 6M6 6l12 12"},null,-1)]))),y("div",{class:rt([L(t).resultSuccess?"fe-acf-text-green-600":"fe-acf-text-red-600","fe-acf-mt-4 fe-acf-text-xl fe-acf-font-semibold"])},Je(L(t).resultMessage),3)])])):Ne("",!0)])),y("div",Sa,[y("button",{type:"button",class:rt(["fe-acf-save-button",["fe-acf-text-white fe-acf-px-4 fe-acf-py-2 fe-acf-rounded fe-acf-font-semibold transition fe-acf-flex-1",L(t).saving?"fe-acf-bg-blue-300 cursor-not-allowed":"fe-acf-bg-blue-600 hover:fe-acf-bg-blue-700"]]),onClick:n,disabled:L(t).saving}," Save ",10,Ca),y("button",{type:"button",class:"fe-acf-cancel-button fe-acf-text-gray-700 fe-acf-px-4 fe-acf-py-2 fe-acf-rounded fe-acf-font-semibold transition fe-acf-flex-1",onClick:s,disabled:L(t).saving},"Close",8,Ma)])]))}},Ea=fn($a,[["__scopeId","data-v-12f7ebaa"]]),Fa={key:0,class:"fe-acf-panel fe-acf-fixed fe-acf-top-0 fe-acf-right-0 fe-acf-h-full fe-acf-w-96 fe-acf-bg-white fe-acf-shadow-lg fe-acf-z-50 fe-acf-transition-transform fe-acf-duration-300 fe-acf-overflow-y-scroll fe-acf-border-l fe-acf-border-gray-200"},Ta={class:"fe-acf-panel-header fe-acf-sticky fe-acf-top-0 fe-acf-z-50 fe-acf-flex fe-acf-items-center fe-acf-justify-between fe-acf-bg-gray-50 fe-acf-px-6 fe-acf-py-4 fe-acf-border-b fe-acf-border-gray-200"},Ia={__name:"EditorPanel",setup(e){const t=Fe();function n(){t.showPanel=!1}return(s,i)=>L(t).showPanel?(F(),O("div",Fa,[y("div",Ta,[i[1]||(i[1]=y("h2",{class:"fe-acf-text-lg fe-acf-font-semibold fe-acf-text-gray-800 fe-acf-mb-0"},"Edit ACF Fields",-1)),y("button",{class:"fe-acf-text-2xl fe-acf-text-gray-400 hover:fe-acf-text-gray-600 fe-acf-transition-colors fe-acf-rounded fe-acf-p-1 focus:fe-acf-outline-none",onClick:i[0]||(i[0]=l=>n()),"aria-label":"Close"},"×")]),Be(Ea)])):Ne("",!0)}},Oa={__name:"App",setup(e){const t=Fe();return(n,s)=>(F(),O("div",null,[Be(tf,{onOpen:s[0]||(s[0]=i=>L(t).openPanel())}),L(t).showPanel?(F(),ge(Ia,{key:0,onClose:s[1]||(s[1]=i=>L(t).closePanel())})):Ne("",!0)]))}};const kl=Kr(Oa);kl.use(zr());kl.mount("#fe-acf-app");24 `}}),je=nt(()=>({left:`${r.value/100*180}px`,top:`${(1-f.value/100)*120}px`})),Ke=nt(()=>({left:`${o.value/360*180}px`})),_t=nt(()=>({left:`${u.value*180}px`}));function ut(S,x){const C=x.getBoundingClientRect();let E,j;return S.touches?(E=S.touches[0].clientX-C.left,j=S.touches[0].clientY-C.top):(E=S.clientX-C.left,j=S.clientY-C.top),[me(E,0,180),me(j,0,120)]}function ae(S){function x(E){const[j,U]=ut(E,v.value);r.value=Math.round(j/180*100),f.value=Math.round(100-U/120*100),ye()}x(S),window.addEventListener("mousemove",x),window.addEventListener("touchmove",x),window.addEventListener("mouseup",C,{once:!0}),window.addEventListener("touchend",C,{once:!0});function C(){window.removeEventListener("mousemove",x),window.removeEventListener("touchmove",x)}}function B(S){function x(E){let j=ut(E,P.value)[0];o.value=Math.round(j/180*360),ye()}x(S),window.addEventListener("mousemove",x),window.addEventListener("touchmove",x),window.addEventListener("mouseup",C,{once:!0}),window.addEventListener("touchend",C,{once:!0});function C(){window.removeEventListener("mousemove",x),window.removeEventListener("touchmove",x)}}function Z(S){function x(E){let j=ut(E,H.value)[0];u.value=me(j/180,0,1),h.value=Math.round(u.value*100),ye()}x(S),window.addEventListener("mousemove",x),window.addEventListener("touchmove",x),window.addEventListener("mouseup",C,{once:!0}),window.addEventListener("touchend",C,{once:!0});function C(){window.removeEventListener("mousemove",x),window.removeEventListener("touchmove",x)}}function Ze(S){const x=S.target.value.trim();W(x),ye()}function Ft(S){u.value=me(h.value/100,0,1),ye()}function Qe(){o.value=0,r.value=100,f.value=100,u.value=0,h.value=0,p.value="",l("update:modelValue","")}function ye(){if(u.value===0){p.value="",l("update:modelValue","");return}p.value=K(),l("update:modelValue",p.value)}return Se(()=>i.modelValue,S=>{if(!S){o.value=0,r.value=100,S.value=100,u.value=0,h.value=0,p.value="";return}W(S),p.value=K()},{immediate:!0}),Se([o,r,f,u],ye),Se(c,()=>{p.value=K()}),Se(u,()=>{h.value=Math.round(u.value*100)}),Se(h,()=>{u.value=me(h.value/100,0,1)}),(S,x)=>($(),I("div",wf,[y("div",{class:"fe-acf-colorpicker-preview-bg",onClick:x[0]||(x[0]=C=>s.value=!s.value)},[y("div",{class:"fe-acf-colorpicker-preview",style:it({background:ce.value})},null,4)]),s.value?($(),I("div",{key:0,class:"fe-acf-colorpicker-popup-overlay",onMousedown:x[4]||(x[4]=Bt(C=>s.value=!1,["self"]))},[y("div",xf,[y("div",{class:"fe-acf-colorpicker-satbox",ref_key:"satBox",ref:v,style:it(Me.value),onMousedown:ae,onTouchstart:Bt(ae,["prevent"])},[y("div",{class:"fe-acf-colorpicker-satbox-cursor",style:it(je.value)},null,4)],36),y("div",kf,[y("div",{class:"fe-acf-colorpicker-slider fe-acf-colorpicker-hue",ref_key:"hueSlider",ref:P,onMousedown:B,onTouchstart:Bt(B,["prevent"])},[y("div",{class:"fe-acf-colorpicker-slider-cursor",style:it(Ke.value)},null,4)],544)]),y("div",Vf,[y("div",{class:"fe-acf-colorpicker-slider fe-acf-colorpicker-alpha",ref_key:"alphaSlider",ref:H,style:it(n.value),onMousedown:Z,onTouchstart:Bt(Z,["prevent"])},[y("div",{class:"fe-acf-colorpicker-slider-cursor",style:it(_t.value)},null,4)],36)]),y("div",Sf,[y("input",{class:"fe-acf-colorpicker-input",value:p.value,onInput:Ze,placeholder:he.value,spellcheck:"false"},null,40,Cf),At(y("select",{class:"fe-acf-colorpicker-format","onUpdate:modelValue":x[1]||(x[1]=C=>c.value=C)},x[5]||(x[5]=[y("option",{value:"hex"},"HEX",-1),y("option",{value:"rgb"},"RGB",-1),y("option",{value:"hsl"},"HSL",-1)]),512),[[vl,c.value]]),At(y("input",{class:"fe-acf-colorpicker-alpha-input",type:"text","onUpdate:modelValue":x[2]||(x[2]=C=>h.value=C),onInput:Ft},null,544),[[fs,h.value,void 0,{number:!0}]])]),y("div",Mf,[y("button",{type:"button",class:"fe-acf-colorpicker-clear",onClick:Qe,title:"Clear"},"Clear"),y("button",{class:"fe-acf-colorpicker-popup-close-icon",onClick:x[3]||(x[3]=C=>s.value=!1),title:"Close"},"Close")])])],32)):Be("",!0)]))}},Ef=an(Ff,[["__scopeId","data-v-30c4078f"]]),$f={class:"fe-acf-relative fe-acf-flex fe-acf-items-center"},Tf=["id","name","type","value","aria-describedby"],Of=["aria-label"],If={key:0},Pf={key:1},jf={__name:"PasswordInput",props:{field:Object,modelValue:String},setup(e){const t=ue(!1);return(n,s)=>($(),I("div",$f,[y("input",Re({id:e.field.key,name:e.field.name,type:t.value?"text":"password",value:e.modelValue,onInput:s[0]||(s[0]=i=>n.$emit("update:modelValue",i.target.value))},e.field.attrs,{autocomplete:"current-password","aria-describedby":e.field.describedby,class:"fe-acf-block fe-acf-w-full fe-acf-pr-10"}),null,16,Tf),y("button",{type:"button",class:"fe-acf-absolute fe-acf-right-2 fe-acf-text-xs fe-acf-bg-transparent fe-acf-border-0 fe-acf-cursor-pointer",onClick:s[1]||(s[1]=i=>t.value=!t.value),"aria-label":t.value?"Hide password":"Show password"},[t.value?($(),I("span",If,s[2]||(s[2]=[y("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"none",viewBox:"0 0 24 24"},[y("path",{stroke:"#555","stroke-width":"2",d:"M1.5 12S5.5 5.5 12 5.5 22.5 12 22.5 12 18.5 18.5 12 18.5 1.5 12 1.5 12Z"}),y("circle",{cx:"12",cy:"12",r:"3.5",stroke:"#555","stroke-width":"2"})],-1)]))):($(),I("span",Pf,s[3]||(s[3]=[y("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"none",viewBox:"0 0 24 24"},[y("path",{stroke:"#555","stroke-width":"2",d:"M3 3l18 18M1.5 12S5.5 5.5 12 5.5c2.1 0 4.1.7 5.8 1.8M22.5 12s-4 6.5-10.5 6.5c-2.1 0-4.1-.7-5.8-1.8"}),y("circle",{cx:"12",cy:"12",r:"3.5",stroke:"#555","stroke-width":"2"}),y("path",{stroke:"#555","stroke-width":"2",d:"M9.5 9.5l5 5"})],-1)])))],8,Of)]))}};const Af={class:"fe-acf-flex fe-acf-flex-col fe-acf-gap-2"},Rf={key:0},Df={class:"fe-acf-flex fe-acf-items-center fe-acf-gap-2"},Lf={target:"_blank",rel:"noopener",class:"fe-acf-flex fe-acf-items-center fe-acf-gap-2 fe-acf-px-3 fe-acf-py-2 fe-acf-bg-gray-50 fe-acf-border fe-acf-rounded hover:fe-acf-bg-blue-50 fe-acf-transition"},Uf={key:1},Hf={__name:"FileField",props:{field:Object},setup(e){const t=$e(),n=e,s=ue(null);Se(()=>t.fieldValues[n.field.key],async o=>{var r;if(!o||typeof o=="object"&&Object.keys(o).length===0){s.value=null,t.fieldValues[n.field.key]!==null&&t.setFieldValue(n.field.key,null);return}if(typeof o=="object"&&o!==null&&o.url){s.value=o;return}if(typeof o=="number"){try{const f=await fetch(`${feacfData.rest_url}wp/v2/media/${o}`,{method:"GET",headers:{"X-WP-Nonce":feacfData.rest_nonce,"Content-Type":"application/json"}});if(f.ok){const u=await f.json();s.value={id:u.id,url:u.source_url,title:((r=u.title)==null?void 0:r.rendered)||u.filename||"",filename:u.filename||"",mime_type:u.mime_type,alt:u.alt_text||""}}}catch(f){console.error("Error fetching media:",f)}return}if(typeof o=="string"){s.value={url:o,title:o};return}s.value=null,t.fieldValues[n.field.key]!==null&&t.setFieldValue(n.field.key,null)},{immediate:!0});function i(){if(!window.wp||!window.wp.media)return;let o={},r=!1;n.field&&n.field.library==="uploadedTo"&&n.field.post&&(o.uploadedTo=n.field.post,r=!0);const f=window.wp.media({title:"Select or Upload File",button:{text:"Use this file"},multiple:!1,library:o,uploadToPost:r});f.on("open",()=>{const u=t.fieldValues[n.field.key],c=typeof u=="object"&&u.id?u.id:u;if(c){const p=f.state().get("selection"),h=window.wp.media.attachment(c);h.fetch(),p.add(h)}}),f.on("select",()=>{const u=f.state().get("selection").first().toJSON();t.setFieldValue(n.field.key,u)}),f.open()}function l(){s.value=null,t.setFieldValue(n.field.key,null)}return(o,r)=>($(),I("div",Af,[s.value?($(),I("div",Rf,[y("div",Df,[y("a",Lf,[r[0]||(r[0]=y("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 16v-4m0 0V8m0 4h4m-4 0H8m8 8H8a2 2 0 01-2-2V8a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2z"})],-1)),y("span",null,Je(s.value.title||s.value.filename),1)]),y("button",{type:"button",class:"fe-acf-text-xs fe-acf-ml-2 fe-acf-bg-transparent fe-acf-border-0 fe-acf-cursor-pointer feacf-file-edit-button",onClick:i,"aria-label":"Edit file details"},r[1]||(r[1]=[y("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",viewBox:"0 0 24 24"},[y("path",{d:"M16.862 3.487a2.5 2.5 0 0 1 3.535 3.535l-1.414 1.414-3.535-3.535 1.414-1.414ZM14.035 6.314l3.535 3.535-10.607 10.607a2 2 0 0 1-.707.464l-3.182 1.061a.5.5 0 0 1-.632-.632l1.06-3.182a2 2 0 0 1 .465-.707L14.035 6.314Z",stroke:"#555","stroke-width":"1.5"})],-1)])),y("button",{type:"button",class:"fe-acf-text-xs fe-acf-ml-2 fe-acf-bg-transparent fe-acf-border-0 fe-acf-cursor-pointer feacf-file-delete-button",onClick:l,"aria-label":"Delete file"},r[2]||(r[2]=[y("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",viewBox:"0 0 24 24"},[y("path",{d:"M6 7h12M9 7V5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2m2 0v12a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V7h12Z",stroke:"#d32f2f","stroke-width":"1.5"}),y("path",{d:"M10 11v4M14 11v4",stroke:"#d32f2f","stroke-width":"1.5"})],-1)]))])])):($(),I("div",Uf,[y("button",{type:"button",class:"feacf-btn feacf-btn-secondary fe-acf-flex fe-acf-items-center fe-acf-gap-2 feacf-file-upload-button",onClick:i},r[3]||(r[3]=[y("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 16v-4m0 0V8m0 4h4m-4 0H8m8 8H8a2 2 0 01-2-2V8a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2z"})],-1),y("span",null,"Select or Upload File",-1)]))]))]))}},Nf=an(Hf,[["__scopeId","data-v-c147dccd"]]),Bf={class:"fe-acf-flex fe-acf-gap-4 fe-acf-flex-wrap fe-acf-radio-items"},Kf=["id","name","value","checked","onChange","onClick"],Wf=["for"],qf={__name:"RadioInput",props:{field:Object},setup(e){const t=$e(),n=e;function s(l){t.setFieldValue(n.field.key,l)}function i(l){const o=t.fieldValues[n.field.key];n.field.allow_null&&o===l&&t.setFieldValue(n.field.key,null)}return(l,o)=>($(),I("div",Bf,[($(!0),I(Ee,null,rn(n.field.choices,(r,f)=>($(),I("div",{key:f,class:"fe-acf-flex fe-acf-items-center"},[y("input",Re({type:"radio",id:n.field.key+"-"+f,name:n.field.name,value:f,checked:L(t).fieldValues[n.field.key]===f,onChange:u=>s(f),onClick:u=>i(f)},{ref_for:!0},n.field.attrs),null,16,Kf),y("label",{for:n.field.key+"-"+f,class:"fe-acf-ml-2"},Je(r),9,Wf)]))),128))]))}},Gf={class:"fe-acf-flex fe-acf-border fe-acf-rounded fe-acf-overflow-scroll"},zf=["onClick","aria-pressed"],Jf={__name:"ButtonGroupInput",props:{field:Object},setup(e){const t=$e(),n=e;(!n.field||!n.field.key||!n.field.choices)&&console.warn("ButtonGroupInput: Invalid field data",n.field);function s(i){if(!n.field||!n.field.key)return;const l=t.fieldValues[n.field.key];n.field.allow_null&&l===i?t.setFieldValue(n.field.key,null):t.setFieldValue(n.field.key,i)}return(i,l)=>($(),I("div",Gf,[($(!0),I(Ee,null,rn(n.field.choices,(o,r,f)=>($(),I("button",{key:r,type:"button",class:rt(["fe-acf-px-4 fe-acf-py-2 fe-acf-font-semibold fe-acf-border-0 fe-acf-transition-colors fe-acf-outline-none",L(t).fieldValues[n.field.key]===r?"fe-acf-bg-blue-600 fe-acf-text-white fe-acf-active":"fe-acf-bg-white fe-acf-text-gray-700 hover:fe-acf-bg-blue-50",f!==0?"fe-acf-border-l fe-acf-border-gray-200":""]),onClick:u=>s(r),"aria-pressed":L(t).fieldValues[n.field.key]===r},Je(o),11,zf))),128))]))}},Yf={key:0,class:"fe-acf-flex fe-acf-items-center fe-acf-gap-2"},Xf=["aria-pressed","aria-label"],Zf={key:0,class:"fe-acf-absolute fe-acf-left-1 fe-acf-top-1 fe-acf-flex fe-acf-items-center fe-acf-justify-center"},Qf={key:1,class:"fe-acf-absolute fe-acf-right-1 fe-acf-top-1 fe-acf-flex fe-acf-items-center fe-acf-justify-center"},ea={key:1},ta={__name:"TrueFalseInput",props:{field:Object},setup(e){const t=$e(),n=e,s=n==null?void 0:n.field;function i(){s&&s.key&&t.setFieldValue(s.key,!t.fieldValues[s.key])}return(l,o)=>L(s)&&L(s).key?($(),I("div",Yf,[y("button",{type:"button",class:rt(["fe-acf-toggle fe-acf-relative fe-acf-w-12 fe-acf-h-6 fe-acf-rounded-full fe-acf-transition-colors",L(t).fieldValues[L(s).key]?"fe-acf-bg-blue-600":"fe-acf-bg-gray-200"]),onClick:i,"aria-pressed":L(t).fieldValues[L(s).key],"aria-label":L(t).fieldValues[L(s).key]?"True":"False"},[L(t).fieldValues[L(s).key]?($(),I("span",Zf,o[0]||(o[0]=[y("svg",{class:"fe-acf-h-4 fe-acf-w-4 fe-acf-text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M5 13l4 4L19 7"})],-1)]))):Be("",!0),y("span",{class:rt(["fe-acf-toggle-knob fe-acf-absolute fe-acf-top-0.5 fe-acf-left-0.5 fe-acf-w-5 fe-acf-h-5 fe-acf-bg-white fe-acf-rounded-full fe-acf-shadow fe-acf-transition-transform",L(t).fieldValues[L(s).key]?"fe-acf-translate-x-6":""])},null,2),L(t).fieldValues[L(s).key]?Be("",!0):($(),I("span",Qf,o[1]||(o[1]=[y("svg",{class:"fe-acf-h-4 fe-acf-w-4 fe-acf-text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M6 18L18 6M6 6l12 12"})],-1)])))],10,Xf)])):($(),I("div",ea,o[2]||(o[2]=[y("span",{class:"fe-acf-text-red-600"},"Invalid field data",-1)])))}},na={__name:"WysiwygField",props:{field:Object,modelValue:String},emits:["update:modelValue"],setup(e,{emit:t}){const n=$e(),s=e,i=t;(!s.field||!s.field.key)&&console.warn("WysiwygField: Invalid field data",s.field);const l=`editor-${s.field&&s.field.key?s.field.key:"invalid"}`;ue(null);const o=ue(!1),r=()=>{typeof wp<"u"&&wp.editor&&wp.editor.initialize(l,{tinymce:{wpautop:!0,plugins:"lists paste wordpress image link",toolbar1:"formatselect bold italic underline bullist numlist blockquote alignleft aligncenter alignright link unlink image",toolbar2:"",relative_urls:!1,remove_script_host:!1,convert_urls:!0,directionality:"ltr",setup:p=>{p.on("init",()=>{var v;const h=((v=n.fieldValues)==null?void 0:v[s.field.key])??s.modelValue??"";p.setContent(h||""),setTimeout(()=>{const P=p.getBody();P&&(P.style.direction="ltr",P.style.unicodeBidi="normal")},100),f(p)})}},quicktags:!0,mediaButtons:!0})},f=p=>{p.on("change keyup paste input",()=>{const h=p.getContent();c(h)})},u=()=>{const p=window.tinymce?window.tinymce.get(l):null;p&&p.remove()};Wi(()=>{r()}),qi(()=>{u()}),Se(()=>n.fieldValues[s.field.key],p=>{if(!o&&window.tinymce&&window.tinymce.get(l)){window.tinymce.get(l).setContent(p||"");const h=window.tinymce.get(l).getBody();h&&(h.style.direction="ltr",h.style.unicodeBidi="normal")}o.value=!1});function c(p){const h=typeof p=="string"?p:"";n.setFieldValue(s.field.key,h),i("update:modelValue",h)}return(p,h)=>($(),I("div",null,[y("textarea",{id:l,style:{direction:"ltr"}})]))}},sa=["id","name","value"],ia={__name:"UrlInput",props:{field:{type:Object,required:!0},modelValue:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t;return(s,i)=>($(),I("input",Re({id:e.field.key,name:e.field.name,type:"url",value:e.modelValue,onInput:i[0]||(i[0]=l=>n("update:modelValue",l.target.value))},e.field.attrs,{class:"fe-acf-border fe-acf-rounded fe-acf-px-3 fe-acf-py-2 fe-acf-bg-gray-50 fe-acf-text-gray-900 focus:fe-acf-outline-none focus:fe-acf-ring-2 focus:fe-acf-ring-blue-500",autocomplete:"off"}),null,16,sa))}},la={class:"fe-acf-flex fe-acf-gap-2"},oa=["id","name"],ra=["id","name"],fa={__name:"DateTimePicker",props:{modelValue:{type:String,default:""},field:{type:Object,default:null}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,s=t,i=ue(""),l=ue("");Se(()=>n.modelValue,r=>{if(!r){i.value="",l.value="";return}const[f,u]=r.split(" ");i.value=f||"",l.value=u?u.slice(0,5):""},{immediate:!0});function o(){i.value&&l.value?s("update:modelValue",`${i.value} ${l.value}:00`):i.value?s("update:modelValue",`${i.value} 00:00:00`):s("update:modelValue","")}return(r,f)=>{var u,c,p,h;return $(),I("div",la,[At(y("input",{type:"date",id:((u=e.field)==null?void 0:u.key)+"-date",name:((c=e.field)==null?void 0:c.name)+"-date","onUpdate:modelValue":f[0]||(f[0]=v=>i.value=v),onChange:o,class:"fe-acf-border fe-acf-rounded fe-acf-px-2 fe-acf-py-1"},null,40,oa),[[fs,i.value]]),At(y("input",{type:"time",id:((p=e.field)==null?void 0:p.key)+"-time",name:((h=e.field)==null?void 0:h.name)+"-time","onUpdate:modelValue":f[1]||(f[1]=v=>l.value=v),step:"60",onChange:o,class:"fe-acf-border fe-acf-rounded fe-acf-px-2 fe-acf-py-1"},null,40,ra),[[fs,l.value]])])}}},aa=["for"],ca={key:0,class:"fe-acf-text-red-600"},ua={key:0,class:"fe-acf-text-xs fe-acf-text-red-600 fe-acf-mb-1"},da=["id","name","value"],pa=["id","name","value"],ha=["id","name","value"],ga={key:16,class:"fe-acf-flex fe-acf-items-center fe-acf-gap-2"},ma=["id","name","min","max","value"],ya={class:"fe-acf-ml-2 fe-acf-text-xs"},ba={__name:"FieldRenderer",props:{field:{type:Object,required:!0},modelValue:{required:!1,default:null},type:{type:String,default:"text"},changed:{type:Boolean,default:!1},inputClass:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:t}){const n=$e(),s=e,i=t,l=ue("");function o(p){return p==null||p===!1?!0:Array.isArray(p)?p.length===0:typeof p=="string"?p.replace(/<[^>]+>/g,"").replace(/ /g,"").trim()===""||p.replace(/\s|<br\s*\/?>(<\/p>)?/gi,"").replace(/<[^>]+>/g,"").trim()==="":p===""}function r(p){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(p)}function f(p){return/^(https?:\/\/)[^\s/$.?#].[^\s]*$/i.test(p)}function u(p){let h=s.field.validationMessage||s.field.validation_message;return s.field.required&&o(p)?(l.value=h||"This field is required.",n.setFieldValidity(s.field.key,!1),n.setFieldValidationMessage(s.field.key,l.value),!1):s.field.type==="email"&&p&&!r(p)?(l.value=h||"Please enter a valid email address.",n.setFieldValidity(s.field.key,!1),n.setFieldValidationMessage(s.field.key,l.value),!1):(s.field.type==="url"||s.field.type==="page_link"||s.field.type==="oembed")&&p&&!f(p)?(l.value=h||"Please enter a valid URL (must start with http:// or https://)",n.setFieldValidity(s.field.key,!1),n.setFieldValidationMessage(s.field.key,l.value),!1):(l.value="",n.setFieldValidity(s.field.key,!0),n.setFieldValidationMessage(s.field.key,""),!0)}function c(p){let h=p&&p.target?p.target.value:p;s.field.type==="oembed"&&u(h),n.setFieldValue(s.field.key,h),i("update:modelValue",h)}return Se(()=>s.modelValue,p=>{u(p)},{immediate:!0}),Se(()=>n.validationTrigger,p=>{p&&(u(s.modelValue),s.field.required&&n.fieldValidity[s.field.key]===!1&&n.setFieldValidationMessage(s.field.key,n.fieldValidationMessages[s.field.key]||"This field is required."))},{immediate:!0}),(p,h)=>At(($(),I("div",{class:rt(["fe-acf-mb-4","fe-acf-field-"+e.field.type])},[y("label",{for:e.field.key,class:"fe-acf-block fe-acf-font-bold fe-acf-mb-1"},[pl(Je(e.field.label)+" ",1),e.field.required?($(),I("span",ca,"*")):Be("",!0)],8,aa),L(n).validationTrigger&&L(n).fieldValidity[e.field.key]===!1?($(),I("div",ua,Je(L(n).fieldValidationMessages[e.field.key]||"Invalid value."),1)):Be("",!0),["text","number"].includes(e.field.type)?($(),ge(ci,{key:1,field:e.field,type:e.field.type==="number"?"number":"text",modelValue:e.modelValue,"onUpdate:modelValue":c},null,8,["field","type","modelValue"])):e.field.type==="email"?($(),ge(rf,{key:2,field:e.field,modelValue:e.modelValue,"onUpdate:modelValue":c},null,8,["field","modelValue"])):["url","page_link","oembed"].includes(e.field.type)?($(),ge(ia,{key:3,field:e.field,modelValue:e.modelValue,"onUpdate:modelValue":c},null,8,["field","modelValue"])):e.field.type==="password"?($(),ge(jf,{key:4,field:e.field,modelValue:e.modelValue,"onUpdate:modelValue":c},null,8,["field","modelValue"])):e.field.type==="textarea"?($(),I("textarea",Re({key:5,id:e.field.key,name:e.field.name,value:e.modelValue,onInput:h[0]||(h[0]=v=>c(v))},e.field.attrs,{class:"fe-acf-border fe-acf-rounded fe-acf-px-3 fe-acf-py-2 fe-acf-bg-gray-50 fe-acf-text-gray-900 focus:fe-acf-outline-none focus:fe-acf-ring-2 focus:fe-acf-ring-blue-500"}),null,16,da)):["select"].includes(e.field.type)?($(),ge(uf,{key:6,field:e.field,modelValue:e.modelValue,multiple:e.field.multiple,"onUpdate:modelValue":c},null,8,["field","modelValue","multiple"])):e.field.type==="checkbox"?($(),ge(gf,{key:7,field:e.field,modelValue:e.modelValue,"onUpdate:modelValue":c},null,8,["field","modelValue"])):e.field.type==="radio"?($(),ge(qf,{key:8,field:e.field,modelValue:e.modelValue,"onUpdate:modelValue":c},null,8,["field","modelValue"])):e.field.type==="button_group"?($(),ge(Jf,{key:9,field:e.field,modelValue:e.modelValue,"onUpdate:modelValue":c},null,8,["field","modelValue"])):e.field.type==="true_false"?($(),ge(ta,{key:10,field:e.field,modelValue:e.modelValue,"onUpdate:modelValue":c},null,8,["field","modelValue"])):e.field.type==="date_picker"?($(),I("input",Re({key:11,type:"date",id:e.field.key,name:e.field.name,value:e.modelValue,onInput:h[1]||(h[1]=v=>c(v))},e.field.attrs,{class:"fe-acf-border fe-acf-rounded fe-acf-px-3 fe-acf-py-2 fe-acf-bg-gray-50 fe-acf-text-gray-900 focus:fe-acf-outline-none focus:fe-acf-ring-2 focus:fe-acf-ring-blue-500"}),null,16,pa)):e.field.type==="time_picker"?($(),I("input",Re({key:12,type:"time",id:e.field.key,name:e.field.name,value:e.modelValue,onInput:h[2]||(h[2]=v=>c(v))},e.field.attrs,{class:"fe-acf-border fe-acf-rounded fe-acf-px-3 fe-acf-py-2 fe-acf-bg-gray-50 fe-acf-text-gray-900 focus:fe-acf-outline-none focus:fe-acf-ring-2 focus:fe-acf-ring-blue-500"}),null,16,ha)):e.field.type==="color_picker"?($(),ge(Ef,{key:13,field:e.field,modelValue:e.modelValue,"onUpdate:modelValue":c},null,8,["field","modelValue"])):e.field.type==="file"?($(),ge(Nf,{key:14,modelValue:e.modelValue,field:e.field,"onUpdate:modelValue":c},null,8,["modelValue","field"])):e.field.type==="image"?($(),ge(_f,{key:15,modelValue:e.modelValue,field:e.field,"onUpdate:modelValue":c},null,8,["modelValue","field"])):e.field.type==="range"?($(),I("div",ga,[y("input",Re({type:"range",id:e.field.key,name:e.field.name,min:e.field.min||0,max:e.field.max||100,value:e.modelValue,onInput:h[3]||(h[3]=v=>c(v))},e.field.attrs,{class:"fe-acf-block"}),null,16,ma),y("span",ya,Je(e.modelValue),1)])):e.field.type==="wysiwyg"?($(),ge(na,{key:17,modelValue:e.modelValue,field:e.field,"onUpdate:modelValue":c},null,8,["modelValue","field"])):e.field.type==="date_time_picker"?($(),ge(fa,{key:18,field:e.field,modelValue:e.modelValue,"onUpdate:modelValue":c},null,8,["field","modelValue"])):($(),ge(ci,{key:19,field:e.field,type:"text",modelValue:e.modelValue,"onUpdate:modelValue":c},null,8,["field","modelValue"]))],2)),[[Mr,L(n).isFieldVisible(e.field.key)]])}};const va={key:0,class:"fe-acf-flex fe-acf-flex-col fe-acf-items-center fe-acf-justify-center fe-acf-h-96"},_a={key:1},wa={key:0,class:"fe-acf-p-4 fe-acf-text-gray-500 fe-acf-text-center fe-acf-border fe-acf-rounded fe-acf-bg-yellow-50"},xa={key:0,class:"fe-acf-fixed fe-acf-inset-0 fe-acf-flex fe-acf-items-center fe-acf-justify-center fe-acf-bg-white fe-acf-bg-opacity-80 fe-acf-z-[10000001]"},ka={key:1,class:"fe-acf-fixed fe-acf-inset-0 fe-acf-flex fe-acf-items-center fe-acf-justify-center fe-acf-bg-white fe-acf-bg-opacity-80 fe-acf-z-[10000002]"},Va={class:"fe-acf-flex fe-acf-flex-col fe-acf-items-center fe-acf-justify-center"},Sa={key:0,class:"fe-acf-h-16 fe-acf-w-16 fe-acf-text-green-500 fe-acf-success-icon",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},Ca={key:1,class:"fe-acf-h-16 fe-acf-w-16 fe-acf-text-red-500 fe-acf-fail-icon",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},Ma={class:"fe-acf-panel-actions fe-acf-fixed fe-acf-bottom-0 fe-acf-right-0 fe-acf-w-96 fe-acf-bg-white fe-acf-px-6 fe-acf-py-4 fe-acf-border-t fe-acf-border-gray-200 fe-acf-flex fe-acf-gap-4 fe-acf-z-50"},Fa=["disabled"],Ea=["disabled"],$a={__name:"FormPanel",setup(e){const t=$e();async function n(){if(t.validationTrigger=!0,!t.validateAllFields()){t.resultSuccess=!1,t.resultMessage="Please fill all required fields correctly.",t.showResult=!0,setTimeout(()=>{t.showResult=!1},1800);return}t.setLoading(!0),t.saving=!0,t.showResult=!1,t.resultSuccess=!1,t.resultMessage="";let l;try{l=await window.useAcfFields.submitFields(window.feacfData.postId,t.fieldValues),t.setLoading(!1),t.saving=!1,t.showResult=!0,l&&l.success?(t.resultSuccess=!0,t.resultMessage=l.data&&l.data.message||l.message||"Saved successfully!"):(t.resultSuccess=!1,l&&l.data&&l.data.message?t.resultMessage=l.data.message:l&&l.message?t.resultMessage=l.message:l&&l.status===404?t.resultMessage="Error 404: Data Not Saved":t.resultMessage="Error: Data Not Saved")}catch(o){t.setLoading(!1),t.saving=!1,t.showResult=!0,t.resultSuccess=!1,t.resultMessage=o&&o.message?o.message:"Error: Data Not Saved"}setTimeout(()=>{t.showResult=!1,t.resultSuccess&&t.setOriginalValues({...t.fieldValues})},1800)}function s(){t.showPanel=!1}return(i,l)=>($(),I("div",null,[L(t).loading?($(),I("div",va,l[0]||(l[0]=[y("svg",{class:"fe-acf-animate-spin fe-acf-h-10 fe-acf-w-10 fe-acf-text-blue-500",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[y("circle",{class:"fe-acf-opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),y("path",{class:"fe-acf-opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"})],-1),y("div",{class:"fe-acf-mt-4 fe-acf-text-gray-400 fe-acf-text-lg"},"Loading fields...",-1)]))):($(),I("div",_a,[y("form",{onSubmit:Bt(n,["prevent"]),class:"fe-acf-space-y-6 fe-acf-bg-white fe-acf-p-6 fe-acf-rounded-lg fe-acf-max-w-xl fe-acf-mx-auto fe-acf-pb-32"},[L(t).fields.length===0?($(),I("div",wa,l[1]||(l[1]=[y("span",{class:"fe-acf-font-semibold fe-acf-text-yellow-700"},"No fields found or unsupported field types.",-1)]))):Be("",!0),($(!0),I(Ee,null,rn(L(t).fields,o=>($(),ge(ba,{key:o.key,field:o,modelValue:L(t).fieldValues[o.key],"onUpdate:modelValue":r=>L(t).setFieldValue(o.key,r),type:o.type||"text","input-class":"fe-acf-border fe-acf-rounded fe-acf-px-3 fe-acf-py-2 fe-acf-bg-gray-50 fe-acf-text-gray-900 focus:fe-acf-outline-none focus:fe-acf-ring-2 focus:fe-acf-ring-blue-500"},null,8,["field","modelValue","onUpdate:modelValue","type"]))),128))],32),L(t).saving?($(),I("div",xa,l[2]||(l[2]=[y("svg",{class:"fe-acf-animate-spin fe-acf-h-12 fe-acf-w-12 fe-acf-text-blue-500",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[y("circle",{class:"fe-acf-opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),y("path",{class:"fe-acf-opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"})],-1),y("span",{class:"fe-acf-ml-4 fe-acf-text-lg fe-acf-text-blue-600"},"Saving...",-1)]))):Be("",!0),L(t).showResult?($(),I("div",ka,[y("div",Va,[L(t).resultSuccess?($(),I("svg",Sa,l[3]||(l[3]=[y("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M5 13l4 4L19 7"},null,-1)]))):($(),I("svg",Ca,l[4]||(l[4]=[y("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M6 18L18 6M6 6l12 12"},null,-1)]))),y("div",{class:rt([L(t).resultSuccess?"fe-acf-text-green-600":"fe-acf-text-red-600","fe-acf-mt-4 fe-acf-text-xl fe-acf-font-semibold"])},Je(L(t).resultMessage),3)])])):Be("",!0)])),y("div",Ma,[y("button",{type:"button",class:rt(["fe-acf-save-button",["fe-acf-text-white fe-acf-px-4 fe-acf-py-2 fe-acf-rounded fe-acf-font-semibold transition fe-acf-flex-1",L(t).saving?"fe-acf-bg-blue-300 cursor-not-allowed":"fe-acf-bg-blue-600 hover:fe-acf-bg-blue-700"]]),onClick:n,disabled:L(t).saving}," Save ",10,Fa),y("button",{type:"button",class:"fe-acf-cancel-button fe-acf-text-gray-700 fe-acf-px-4 fe-acf-py-2 fe-acf-rounded fe-acf-font-semibold transition fe-acf-flex-1",onClick:s,disabled:L(t).saving},"Close",8,Ea)])]))}},Ta=an($a,[["__scopeId","data-v-12f7ebaa"]]),Oa={key:0,class:"fe-acf-panel fe-acf-fixed fe-acf-top-0 fe-acf-right-0 fe-acf-h-full fe-acf-w-96 fe-acf-bg-white fe-acf-shadow-lg fe-acf-z-50 fe-acf-transition-transform fe-acf-duration-300 fe-acf-overflow-y-scroll fe-acf-border-l fe-acf-border-gray-200"},Ia={class:"fe-acf-panel-header fe-acf-sticky fe-acf-top-0 fe-acf-z-50 fe-acf-flex fe-acf-items-center fe-acf-justify-between fe-acf-bg-gray-50 fe-acf-px-6 fe-acf-py-4 fe-acf-border-b fe-acf-border-gray-200"},Pa={__name:"EditorPanel",setup(e){const t=$e();function n(){t.showPanel=!1}return(s,i)=>L(t).showPanel?($(),I("div",Oa,[y("div",Ia,[i[1]||(i[1]=y("h2",{class:"fe-acf-text-lg fe-acf-font-semibold fe-acf-text-gray-800 fe-acf-mb-0"},"Edit ACF Fields",-1)),y("button",{class:"fe-acf-text-2xl fe-acf-text-gray-400 hover:fe-acf-text-gray-600 fe-acf-transition-colors fe-acf-rounded fe-acf-p-1 focus:fe-acf-outline-none",onClick:i[0]||(i[0]=l=>n()),"aria-label":"Close"},"×")]),Ne(Ta)])):Be("",!0)}},ja={__name:"App",setup(e){const t=$e();return(n,s)=>($(),I("div",null,[Ne(sf,{onOpen:s[0]||(s[0]=i=>L(t).openPanel())}),L(t).showPanel?($(),ge(Pa,{key:0,onClose:s[1]||(s[1]=i=>L(t).closePanel())})):Be("",!0)]))}};const Sl=qr(ja);Sl.use(Jr());Sl.mount("#fe-acf-app"); -
frontend-editor-acf/trunk/frontend-editor-acf.php
r3366230 r3374166 4 4 * Plugin URI: https://wpvibes.com 5 5 * Description: Edit ACF fields from the frontend via a floating Vue sidebar. 6 * Version: 1.0. 06 * Version: 1.0.1 7 7 * Author: WPVibes 8 8 * License: GPLv2 … … 17 17 // Define plugin constants 18 18 if (!defined('FEACF_VERSION')) { 19 define('FEACF_VERSION', '1.0. 0');19 define('FEACF_VERSION', '1.0.1'); 20 20 } 21 21 -
frontend-editor-acf/trunk/includes/Ajax/SaveACFData.php
r3366230 r3374166 30 30 continue; 31 31 } 32 32 33 // Improved image/file normalization 33 34 if (in_array($field_object['type'], ['image', 'file'], true)) { -
frontend-editor-acf/trunk/readme.txt
r3374165 r3374166 1 1 === Frontend Editor ACF === 2 Contributors: wpvibes, anandau14 , hardiksharma2 Contributors: wpvibes, anandau14 3 3 Tags: acf, advanced custom field, frontend editing 4 4 Requires at least: 5.6 … … 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html 10 10 11 The frontend editor for Advanced Custom Field. I thelps you to quickly edit post custom fields (created using Advanced Custom Fields) from the frontend.11 The frontend editor for Advanced Custom Field. I helps you to quickly edit post custom fields (created using Advanced Custom Fields) from the frontend. 12 12 13 13 == Description == … … 50 50 51 51 == Changelog == 52 = 1.0.1 = 53 * Enhancement: Added support for field conditional logics. 52 54 53 55 = 1.0.0 =
Note: See TracChangeset
for help on using the changeset viewer.