UNPKG

arcpay-sdk

Version:

arcpay is a web3 payment processor, facilitating the use of royalty points to purchase digital and real-world assets. The sdk provides a plug and play interface with arcpay contracts and enable users to create and purchase listings.

10 lines 492 kB
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('*,: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}:root{--background: 0 0% 100%;--foreground: 222.2 84% 4.9%;--card: 0 0% 100%;--card-foreground: 222.2 84% 4.9%;--popover: 0 0% 100%;--popover-foreground: 222.2 84% 4.9%;--primary: 222.2 47.4% 11.2%;--primary-foreground: 210 40% 98%;--secondary: 210 40% 96.1%;--secondary-foreground: 222.2 47.4% 11.2%;--muted: 210 40% 96.1%;--muted-foreground: 215.4 16.3% 46.9%;--accent: 210 40% 96.1%;--accent-foreground: 222.2 47.4% 11.2%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 210 40% 98%;--border: 214.3 31.8% 91.4%;--input: 214.3 31.8% 91.4%;--ring: 221.2 83.2% 53.3%;--radius: 1rem;--gradient: linear-gradient(45deg, rgb(65, 88, 208) 0%, rgb(200, 80, 192) 46%, rgb(255, 204, 112) 100%)}.ap-dark{--background: 222.2 84% 4.9%;--foreground: 210 40% 98%;--card: 222.2 84% 4.9%;--card-foreground: 210 40% 98%;--popover: 222.2 84% 4.9%;--popover-foreground: 210 40% 98%;--primary: 210 40% 98%;--primary-foreground: 222.2 47.4% 11.2%;--secondary: 217.2 32.6% 17.5%;--secondary-foreground: 210 40% 98%;--muted: 217.2 32.6% 17.5%;--muted-foreground: 215 20.2% 65.1%;--accent: 217.2 32.6% 17.5%;--accent-foreground: 210 40% 98%;--destructive: 0 79% 40%;--destructive-foreground: 210 40% 98%;--border: 217.2 32.6% 17.5%;--input: 217.2 32.6% 17.5%;--ring: 224.3 76.3% 48%}[id^=arcpay]{background-color:hsl(var(--background));color:hsl(var(--foreground))}.ap-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.ap-fixed{position:fixed}.ap-absolute{position:absolute}.ap-relative{position:relative}.-ap-bottom-12{bottom:-3rem}.ap-bottom-0{bottom:0}.ap-left-0{left:0}.ap-right-0{right:0}.ap-right-4{right:1rem}.ap-top-0{top:0}.ap-top-1\\/2{top:50%}.ap-top-4{top:1rem}.ap-z-0{z-index:0}.ap-z-10{z-index:10}.ap-z-50{z-index:50}.-ap-mx-1{margin-left:-.25rem;margin-right:-.25rem}.ap-mx-1{margin-left:.25rem;margin-right:.25rem}.ap-mx-auto{margin-left:auto;margin-right:auto}.-ap-ml-\\[11px\\]{margin-left:-11px}.ap-mb-1{margin-bottom:.25rem}.ap-mb-10{margin-bottom:2.5rem}.ap-mb-16{margin-bottom:4rem}.ap-mb-2{margin-bottom:.5rem}.ap-mb-6{margin-bottom:1.5rem}.ap-mb-8{margin-bottom:2rem}.ap-me-1{margin-inline-end:.25rem}.ap-ml-1{margin-left:.25rem}.ap-ml-2{margin-left:.5rem}.ap-ml-4{margin-left:1rem}.ap-ml-\\[1px\\]{margin-left:1px}.ap-ml-auto{margin-left:auto}.ap-mr-0\\.5{margin-right:.125rem}.ap-mr-1{margin-right:.25rem}.ap-mr-2{margin-right:.5rem}.ap-ms-1{margin-inline-start:.25rem}.ap-mt-1{margin-top:.25rem}.ap-mt-10{margin-top:2.5rem}.ap-mt-2{margin-top:.5rem}.ap-mt-4{margin-top:1rem}.ap-mt-6{margin-top:1.5rem}.ap-mt-8{margin-top:2rem}.ap-block{display:block}.ap-inline-block{display:inline-block}.ap-flex{display:flex}.ap-inline-flex{display:inline-flex}.ap-table{display:table}.ap-grid{display:grid}.ap-hidden{display:none}.ap-aspect-square{aspect-ratio:1 / 1}.ap-size-4{width:1rem;height:1rem}.ap-h-1\\.5{height:.375rem}.ap-h-10{height:2.5rem}.ap-h-12{height:3rem}.ap-h-2{height:.5rem}.ap-h-2\\.5{height:.625rem}.ap-h-3\\.5{height:.875rem}.ap-h-4{height:1rem}.ap-h-5{height:1.25rem}.ap-h-6{height:1.5rem}.ap-h-7{height:1.75rem}.ap-h-8{height:2rem}.ap-h-9{height:2.25rem}.ap-h-\\[120px\\]{height:120px}.ap-h-\\[136px\\]{height:136px}.ap-h-\\[20px\\]{height:20px}.ap-h-\\[250px\\]{height:250px}.ap-h-\\[25px\\]{height:25px}.ap-h-\\[275px\\]{height:275px}.ap-h-\\[300px\\]{height:300px}.ap-h-\\[333px\\]{height:333px}.ap-h-\\[400px\\]{height:400px}.ap-h-\\[74px\\]{height:74px}.ap-h-dvh{height:100dvh}.ap-h-full{height:100%}.ap-h-px{height:1px}.ap-max-h-\\[275px\\]{max-height:275px}.ap-max-h-\\[80dvh\\]{max-height:80dvh}.ap-w-1\\.5{width:.375rem}.ap-w-12{width:3rem}.ap-w-2{width:.5rem}.ap-w-2\\.5{width:.625rem}.ap-w-24{width:6rem}.ap-w-3\\.5{width:.875rem}.ap-w-4{width:1rem}.ap-w-5{width:1.25rem}.ap-w-6{width:1.5rem}.ap-w-72{width:18rem}.ap-w-9{width:2.25rem}.ap-w-\\[120px\\]{width:120px}.ap-w-\\[20px\\]{width:20px}.ap-w-\\[25px\\]{width:25px}.ap-w-\\[275px\\]{width:275px}.ap-w-\\[326px\\]{width:326px}.ap-w-\\[327px\\]{width:327px}.ap-w-\\[333px\\]{width:333px}.ap-w-\\[334px\\]{width:334px}.ap-w-\\[350px\\]{width:350px}.ap-w-dvw{width:100dvw}.ap-w-full{width:100%}.ap-min-w-0{min-width:0px}.ap-max-w-72{max-width:18rem}.ap-max-w-\\[275px\\]{max-width:275px}.ap-max-w-full{max-width:100%}.ap-flex-1{flex:1 1 0%}.ap-flex-shrink-0,.ap-shrink-0{flex-shrink:0}.ap-grow-0{flex-grow:0}.-ap-translate-y-1\\/2{--tw-translate-y: -50%;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 ap-ping{75%,to{transform:scale(2);opacity:0}}.ap-animate-ping{animation:ap-ping 1s cubic-bezier(0,0,.2,1) infinite}@keyframes ap-pulse{50%{opacity:.5}}.ap-animate-pulse{animation:ap-pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes ap-spin{to{transform:rotate(360deg)}}.ap-animate-spin{animation:ap-spin 1s linear infinite}.ap-cursor-default{cursor:default}.ap-cursor-pointer{cursor:pointer}.ap-touch-none{touch-action:none}.ap-select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.ap-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.ap-flex-col{flex-direction:column}.ap-flex-col-reverse{flex-direction:column-reverse}.ap-items-end{align-items:flex-end}.ap-items-center{align-items:center}.ap-items-baseline{align-items:baseline}.ap-items-stretch{align-items:stretch}.ap-justify-start{justify-content:flex-start}.ap-justify-center{justify-content:center}.ap-justify-between{justify-content:space-between}.ap-justify-stretch{justify-content:stretch}.ap-gap-1{gap:.25rem}.ap-gap-1\\.5{gap:.375rem}.ap-gap-2{gap:.5rem}.ap-gap-4{gap:1rem}.ap-gap-\\[17px\\]{gap:17px}.ap-gap-y-1\\.5{row-gap:.375rem}.ap-overflow-hidden{overflow:hidden}.ap-overflow-x-hidden{overflow-x:hidden}.ap-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-whitespace-nowrap{white-space:nowrap}.ap-whitespace-pre-line{white-space:pre-line}.ap-break-all{word-break:break-all}.ap-rounded{border-radius:.25rem}.ap-rounded-2xl{border-radius:1rem}.ap-rounded-3xl{border-radius:1.5rem}.ap-rounded-\\[inherit\\]{border-radius:inherit}.ap-rounded-full{border-radius:9999px}.ap-rounded-md{border-radius:calc(var(--radius) - 2px)}.ap-rounded-sm{border-radius:calc(var(--radius) - 4px)}.ap-border{border-width:1px}.ap-border-2{border-width:2px}.ap-border-b{border-bottom-width:1px}.ap-border-l{border-left-width:1px}.ap-border-l-2{border-left-width:2px}.ap-border-t{border-top-width:1px}.ap-border-border{border-color:hsl(var(--border))}.ap-border-input{border-color:hsl(var(--input))}.ap-border-muted{border-color:hsl(var(--muted))}.ap-border-muted-foreground\\/40{border-color:hsl(var(--muted-foreground) / .4)}.ap-border-primary{border-color:hsl(var(--primary))}.ap-border-l-transparent{border-left-color:transparent}.ap-border-t-transparent{border-top-color:transparent}.ap-bg-background{background-color:hsl(var(--background))}.ap-bg-background\\/20{background-color:hsl(var(--background) / .2)}.ap-bg-background\\/35{background-color:hsl(var(--background) / .35)}.ap-bg-background\\/50{background-color:hsl(var(--background) / .5)}.ap-bg-background\\/70{background-color:hsl(var(--background) / .7)}.ap-bg-border{background-color:hsl(var(--border))}.ap-bg-destructive{background-color:hsl(var(--destructive))}.ap-bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.ap-bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity, 1))}.ap-bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.ap-bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.ap-bg-muted{background-color:hsl(var(--muted))}.ap-bg-popover{background-color:hsl(var(--popover))}.ap-bg-purple-100\\/60{background-color:#f3e8ff99}.ap-bg-purple-500{--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity, 1))}.ap-bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.ap-bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.ap-bg-secondary{background-color:hsl(var(--secondary))}.ap-bg-slate-100\\/55{background-color:#f1f5f98c}.ap-bg-transparent{background-color:transparent}.ap-bg-gradient{background-image:var(--gradient)}.ap-fill-primary{fill:hsl(var(--primary))}.ap-object-cover{-o-object-fit:cover;object-fit:cover}.ap-p-0{padding:0}.ap-p-1{padding:.25rem}.ap-p-2{padding:.5rem}.ap-p-3{padding:.75rem}.ap-p-4{padding:1rem}.ap-p-px{padding:1px}.ap-px-1{padding-left:.25rem;padding-right:.25rem}.ap-px-2{padding-left:.5rem;padding-right:.5rem}.ap-px-2\\.5{padding-left:.625rem;padding-right:.625rem}.ap-px-3{padding-left:.75rem;padding-right:.75rem}.ap-px-4{padding-left:1rem;padding-right:1rem}.ap-px-8{padding-left:2rem;padding-right:2rem}.ap-py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.ap-py-1{padding-top:.25rem;padding-bottom:.25rem}.ap-py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.ap-py-2{padding-top:.5rem;padding-bottom:.5rem}.ap-py-3{padding-top:.75rem;padding-bottom:.75rem}.ap-py-6{padding-top:1.5rem;padding-bottom:1.5rem}.ap-pb-4{padding-bottom:1rem}.ap-pl-2{padding-left:.5rem}.ap-pt-4{padding-top:1rem}.ap-text-left{text-align:left}.ap-text-center{text-align:center}.ap-text-2xl{font-size:1.5rem;line-height:2rem}.ap-text-3xl{font-size:1.875rem;line-height:2.25rem}.ap-text-lg{font-size:1.125rem;line-height:1.75rem}.ap-text-sm{font-size:.875rem;line-height:1.25rem}.ap-text-xl{font-size:1.25rem;line-height:1.75rem}.ap-text-xs{font-size:.75rem;line-height:1rem}.ap-font-bold{font-weight:700}.ap-font-extrabold{font-weight:800}.ap-font-medium{font-weight:500}.ap-font-normal{font-weight:400}.ap-font-semibold{font-weight:600}.ap-uppercase{text-transform:uppercase}.ap-leading-none{line-height:1}.ap-tracking-tight{letter-spacing:-.025em}.ap-tracking-widest{letter-spacing:.1em}.ap-text-\\[white\\]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.ap-text-destructive{color:hsl(var(--destructive))}.ap-text-destructive-foreground{color:hsl(var(--destructive-foreground))}.ap-text-foreground{color:hsl(var(--foreground))}.ap-text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.ap-text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.ap-text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity, 1))}.ap-text-muted-foreground{color:hsl(var(--muted-foreground))}.ap-text-muted-foreground\\/30{color:hsl(var(--muted-foreground) / .3)}.ap-text-muted-foreground\\/50{color:hsl(var(--muted-foreground) / .5)}.ap-text-popover-foreground{color:hsl(var(--popover-foreground))}.ap-text-primary{color:hsl(var(--primary))}.ap-text-purple-800{--tw-text-opacity: 1;color:rgb(107 33 168 / var(--tw-text-opacity, 1))}.ap-text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.ap-text-secondary-foreground{color:hsl(var(--secondary-foreground))}.ap-text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.ap-underline{text-decoration-line:underline}.ap-underline-offset-4{text-underline-offset:4px}.ap-opacity-0{opacity:0}.ap-opacity-100{opacity:1}.ap-opacity-50{opacity:.5}.ap-opacity-70{opacity:.7}.ap-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)}.ap-shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ap-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)}.ap-shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ap-shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ap-outline-none{outline:2px solid transparent;outline-offset:2px}.ap-outline-0{outline-width:0px}.ap-backdrop-blur-lg{--tw-backdrop-blur: blur(16px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.ap-backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.ap-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}.ap-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ap-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}.ap-transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ap-delay-75{transition-delay:75ms}.ap-duration-200{transition-duration:.2s}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.ap-animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.ap-animate-out{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.ap-fade-in{--tw-enter-opacity: 0}.ap-slide-in-from-bottom{--tw-enter-translate-y: 100%}.ap-slide-in-from-bottom-2{--tw-enter-translate-y: .5rem}.ap-slide-out-to-top-2{--tw-exit-translate-y: -.5rem}.ap-duration-200{animation-duration:.2s}.ap-delay-75{animation-delay:75ms}.ap-fill-mode-both{animation-fill-mode:both}.file\\:ap-border-0::file-selector-button{border-width:0px}.file\\:ap-bg-transparent::file-selector-button{background-color:transparent}.file\\:ap-text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:ap-font-medium::file-selector-button{font-weight:500}.placeholder\\:ap-text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\\:ap-text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.hover\\:ap-bg-accent:hover{background-color:hsl(var(--accent))}.hover\\:ap-bg-background:hover{background-color:hsl(var(--background))}.hover\\:ap-bg-destructive\\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\\:ap-bg-primary\\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\\:ap-bg-secondary\\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\\:ap-text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\\:ap-text-foreground:hover{color:hsl(var(--foreground))}.hover\\:ap-underline:hover{text-decoration-line:underline}.hover\\:ap-opacity-100:hover{opacity:1}.hover\\:ap-shadow-2xl:hover{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\\:ap-shadow-\\[\\#e99796\\]:hover{--tw-shadow-color: #e99796;--tw-shadow: var(--tw-shadow-colored)}.focus\\:ap-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:ap-outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:ap-ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ap-ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.disabled\\:ap-pointer-events-none:disabled{pointer-events:none}.disabled\\:ap-cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:ap-opacity-20:disabled{opacity:.2}.disabled\\:ap-opacity-50:disabled{opacity:.5}.ap-peer:disabled~.peer-disabled\\:ap-cursor-not-allowed{cursor:not-allowed}.ap-peer:disabled~.peer-disabled\\:ap-opacity-70{opacity:.7}.data-\\[disabled\\]\\:ap-pointer-events-none[data-disabled]{pointer-events:none}.data-\\[highlighted\\]\\:ap-bg-accent[data-highlighted],.data-\\[state\\=open\\]\\:ap-bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\\[highlighted\\]\\:ap-text-accent-foreground[data-highlighted]{color:hsl(var(--accent-foreground))}.data-\\[state\\=open\\]\\:ap-text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\\[disabled\\]\\:ap-opacity-50[data-disabled]{opacity:.5}.data-\\[state\\=open\\]\\:ap-animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\\[state\\=closed\\]\\:ap-animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\\[state\\=closed\\]\\:ap-fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\\[state\\=open\\]\\:ap-fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\\[state\\=closed\\]\\:ap-zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\\[state\\=open\\]\\:ap-zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\\[side\\=bottom\\]\\:ap-slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\\[side\\=left\\]\\:ap-slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\\[side\\=right\\]\\:ap-slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\\[side\\=top\\]\\:ap-slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\\[state\\=closed\\]\\:ap-slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y: 100%}.data-\\[state\\=open\\]\\:ap-slide-in-from-bottom[data-state=open]{--tw-enter-translate-y: 100%}.dark\\:ap-bg-gray-700:is(.ap-dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.dark\\:ap-bg-green-900:is(.ap-dark *){--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity, 1))}.dark\\:ap-bg-purple-900:is(.ap-dark *){--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity, 1))}.dark\\:ap-bg-red-900:is(.ap-dark *){--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity, 1))}.dark\\:ap-bg-slate-900\\/80:is(.ap-dark *){background-color:#0f172acc}.dark\\:ap-text-gray-300:is(.ap-dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.dark\\:ap-text-green-300:is(.ap-dark *){--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity, 1))}.dark\\:ap-text-purple-300:is(.ap-dark *){--tw-text-opacity: 1;color:rgb(216 180 254 / var(--tw-text-opacity, 1))}.dark\\:ap-text-red-300:is(.ap-dark *){--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity, 1))}@media (min-width: 640px){.sm\\:ap-flex{display:flex}.sm\\:ap-w-96{width:24rem}.sm\\:ap-w-\\[590px\\]{width:590px}.sm\\:ap-w-auto{width:auto}.sm\\:ap-flex-row{flex-direction:row}.sm\\:ap-items-center{align-items:center}.sm\\:ap-items-stretch{align-items:stretch}.sm\\:ap-justify-end{justify-content:flex-end}.sm\\:ap-justify-center{justify-content:center}.sm\\:ap-gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.sm\\:ap-px-6{padding-left:1.5rem;padding-right:1.5rem}.data-\\[state\\=closed\\]\\:sm\\:ap-zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\\[state\\=open\\]\\:sm\\:ap-zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\\[state\\=open\\]\\:sm\\:ap-slide-in-from-bottom-16[data-state=open]{--tw-enter-translate-y: 4rem}}@media (min-width: 768px){.md\\:ap-flex-row{flex-direction:row}.md\\:ap-gap-8{gap:2rem}.md\\:ap-text-left{text-align:left}}.\\[\\&\\>\\[data-slot\\=input\\]\\]\\:has-\\[\\[data-slot\\=decrement\\]\\]\\:ap-pl-5:has([data-slot=decrement])>[data-slot=input]{padding-left:1.25rem}.\\[\\&\\>\\[data-slot\\=input\\]\\]\\:has-\\[\\[data-slot\\=increment\\]\\]\\:ap-pr-5:has([data-slot=increment])>[data-slot=input]{padding-right:1.25rem}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:ap-px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:ap-py-1\\.5 [cmdk-group-heading]{padding-top:.375rem;padding-bottom:.375rem}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:ap-text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:ap-font-medium [cmdk-group-heading]{font-weight:500}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:ap-text-muted-foreground [cmdk-group-heading]{color:hsl(var(--muted-foreground))}.\\[\\&_\\[cmdk-group\\]\\:not\\(\\[hidden\\]\\)_\\~\\[cmdk-group\\]\\]\\:ap-pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\\[\\&_\\[cmdk-group\\]\\]\\:ap-px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\\[\\&_\\[cmdk-input-wrapper\\]_svg\\]\\:ap-h-5 [cmdk-input-wrapper] svg{height:1.25rem}.\\[\\&_\\[cmdk-input-wrapper\\]_svg\\]\\:ap-w-5 [cmdk-input-wrapper] svg{width:1.25rem}.\\[\\&_\\[cmdk-input\\]\\]\\:ap-h-12 [cmdk-input]{height:3rem}.\\[\\&_\\[cmdk-item\\]\\]\\:ap-px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\\[\\&_\\[cmdk-item\\]\\]\\:ap-py-3 [cmdk-item]{padding-top:.75rem;padding-bottom:.75rem}.\\[\\&_\\[cmdk-item\\]_svg\\]\\:ap-h-5 [cmdk-item] svg{height:1.25rem}.\\[\\&_\\[cmdk-item\\]_svg\\]\\:ap-w-5 [cmdk-item] svg{width:1.25rem}.spinner[data-v-2437d8e8]{width:100px;height:100px;border-radius:50%;display:block;position:relative;top:5px;right:5px;margin:0 auto}.spinner__circle[data-v-2437d8e8]{stroke-dasharray:166;stroke-dashoffset:166;stroke-width:2;stroke-miterlimit:10;stroke:url(#gradient);animation:stroke-2437d8e8 .6s linear forwards,rotate-2437d8e8 .9s linear .6s infinite;transform-origin:50% 50%}@keyframes stroke-2437d8e8{to{stroke-dashoffset:25}}@keyframes rotate-2437d8e8{to{transform:rotate(360deg)}}.checkmark[data-v-ccc7099e]{width:100px;height:100px;border-radius:50%;display:block;stroke-width:2;stroke:url(#gradient);stroke-miterlimit:10;animation:fill .4s ease-in-out .4s forwards,scale-ccc7099e .3s ease-in-out .9s both;position:relative;top:5px;right:5px;margin:0 auto}.checkmark__circle[data-v-ccc7099e]{stroke-dasharray:166;stroke-dashoffset:166;stroke-width:2;stroke-miterlimit:10;stroke:url(#gradient);animation:stroke-ccc7099e .6s cubic-bezier(.65,0,.45,1) forwards}.checkmark__check[data-v-ccc7099e]{transform-origin:50% 50%;stroke-dasharray:48;stroke-dashoffset:48;animation:stroke-ccc7099e .3s cubic-bezier(.65,0,.45,1) .8s forwards}@keyframes stroke-ccc7099e{to{stroke-dashoffset:0}}@keyframes scale-ccc7099e{0%,to{transform:none}50%{transform:scale3d(1.1,1.1,1)}}.checkmark[data-v-09e00baa]{width:100px;height:100px;border-radius:50%;display:block;stroke-width:2;stroke:url(#gradient);stroke-miterlimit:10;animation:fill .4s ease-in-out .4s forwards,scale-09e00baa .3s ease-in-out .9s both;position:relative;top:5px;right:5px;margin:0 auto}.checkmark__circle[data-v-09e00baa]{stroke-dasharray:166;stroke-dashoffset:166;stroke-width:2;stroke-miterlimit:10;stroke:url(#gradient);animation:stroke-09e00baa .6s cubic-bezier(.65,0,.45,1) forwards}.checkmark__check[data-v-09e00baa]{transform-origin:50% 50%;stroke-dasharray:48;stroke-dashoffset:48;animation:stroke-09e00baa .3s cubic-bezier(.65,0,.45,1) .8s forwards}@keyframes stroke-09e00baa{to{stroke-dashoffset:0}}@keyframes scale-09e00baa{0%,to{transform:none}50%{transform:scale3d(1.1,1.1,1)}}#review-settings[data-v-1e5ba551] .animated-button{position:relative;display:flex;align-items:center;gap:4px;padding:14px 32px;border:4px solid transparent;font-size:12px;background-color:inherit;border-radius:100px;font-weight:600;box-shadow:0 0 0 2px hsla(var(--muted-foreground)/.1);cursor:pointer;overflow:hidden;transition:all .6s cubic-bezier(.23,1,.32,1);color:hsla(var(--muted-foreground)/.7)}#review-settings[data-v-1e5ba551] .animated-button svg{position:absolute;width:24px;z-index:9;transition:all .8s cubic-bezier(.23,1,.32,1);color:hsla(var(--muted-foreground)/.7)}#review-settings[data-v-1e5ba551] .animated-button .arr-1{right:16px}#review-settings[data-v-1e5ba551] .animated-button .arr-2{left:-25%}#review-settings[data-v-1e5ba551] .animated-button .circle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:20px;height:20px;background:var(--gradient);border-radius:50%;opacity:0;transition:all .8s cubic-bezier(.23,1,.32,1)}#review-settings[data-v-1e5ba551] .animated-button .text{position:relative;z-index:1;transform:translate(-12px);transition:all .8s cubic-bezier(.23,1,.32,1);max-width:220px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#review-settings[data-v-1e5ba551] .animated-button:hover{box-shadow:0 0 0 12px transparent;color:#fff;transform:scale(1.1)}#review-settings[data-v-1e5ba551] .animated-button:hover .arr-1{right:-25%}#review-settings[data-v-1e5ba551] .animated-button:hover .arr-2{left:16px}#review-settings[data-v-1e5ba551] .animated-button:hover .text{transform:translate(12px)}#review-settings[data-v-1e5ba551] .animated-button:hover svg{color:#fff}#review-settings[data-v-1e5ba551] .animated-button:active{scale:.95;box-shadow:0 0 0 4px hsl(var(--border))}#review-settings[data-v-1e5ba551] .animated-button:hover .circle{opacity:1;width:100%;padding-top:100%}.router-link-exact-active[data-v-e669b3a2]{border-color:transparent;background-image:linear-gradient(hsl(var(--background)),hsl(var(--background))),var(--gradient);background-origin:border-box;background-clip:content-box,border-box;color:hsl(var(--foreground))}')),document.head.appendChild(t)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})(); (function(te,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue"),require("radix-vue"),require("algosdk"),require("@txnlab/use-wallet")):typeof define=="function"&&define.amd?define(["exports","vue","radix-vue","algosdk","@txnlab/use-wallet"],a):(te=typeof globalThis<"u"?globalThis:te||self,a(te.arcpay={},te.vue,te["radix-vue"],te.algosdk,te.useWallet))})(this,function(te,a,I,S,Z){"use strict";var Q_=Object.defineProperty;var H_=(te,a,I)=>a in te?Q_(te,a,{enumerable:!0,configurable:!0,writable:!0,value:I}):te[a]=I;var j=(te,a,I)=>H_(te,typeof a!="symbol"?a+"":a,I);var Ql;const oe=[];for(let t=0;t<256;++t)oe.push((t+256).toString(16).slice(1));function Wl(t,e=0){return(oe[t[e+0]]+oe[t[e+1]]+oe[t[e+2]]+oe[t[e+3]]+"-"+oe[t[e+4]]+oe[t[e+5]]+"-"+oe[t[e+6]]+oe[t[e+7]]+"-"+oe[t[e+8]]+oe[t[e+9]]+"-"+oe[t[e+10]]+oe[t[e+11]]+oe[t[e+12]]+oe[t[e+13]]+oe[t[e+14]]+oe[t[e+15]]).toLowerCase()}let xr;const Jl=new Uint8Array(16);function Yl(){if(!xr){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");xr=crypto.getRandomValues.bind(crypto)}return xr(Jl)}const vo={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function Kl(t,e,n){if(vo.randomUUID&&!e&&!t)return vo.randomUUID();t=t||{};const r=t.random||(t.rng||Yl)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,Wl(r)}const Xe=(t,e)=>{const n=t.__vccOpts||t;for(const[r,s]of e)n[r]=s;return n},Zl={};function Xl(t,e){const n=a.resolveComponent("router-view");return a.openBlock(),a.createBlock(n)}const ed=Xe(Zl,[["render",Xl]]);function td(){return Ao().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Ao(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const nd=typeof Proxy=="function",rd="devtools-plugin:setup",sd="plugin:settings:set";let bt,vr;function od(){var t;return bt!==void 0||(typeof window<"u"&&window.performance?(bt=!0,vr=window.performance):typeof globalThis<"u"&&(!((t=globalThis.perf_hooks)===null||t===void 0)&&t.performance)?(bt=!0,vr=globalThis.perf_hooks.performance):bt=!1),bt}function ad(){return od()?vr.now():Date.now()}class id{constructor(e,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=n;const r={};if(e.settings)for(const i in e.settings){const c=e.settings[i];r[i]=c.defaultValue}const s=`__vue-devtools-plugin-settings__${e.id}`;let o=Object.assign({},r);try{const i=localStorage.getItem(s),c=JSON.parse(i);Object.assign(o,c)}catch{}this.fallbacks={getSettings(){return o},setSettings(i){try{localStorage.setItem(s,JSON.stringify(i))}catch{}o=i},now(){return ad()}},n&&n.on(sd,(i,c)=>{i===this.plugin.id&&this.fallbacks.setSettings(c)}),this.proxiedOn=new Proxy({},{get:(i,c)=>this.target?this.target.on[c]:(...l)=>{this.onQueue.push({method:c,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,c)=>this.target?this.target[c]:c==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(c)?(...l)=>(this.targetQueue.push({method:c,args:l,resolve:()=>{}}),this.fallbacks[c](...l)):(...l)=>new Promise(d=>{this.targetQueue.push({method:c,args:l,resolve:d})})})}async setRealTarget(e){this.target=e;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function cd(t,e){const n=t,r=Ao(),s=td(),o=nd&&n.enableEarlyProxy;if(s&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))s.emit(rd,t,e);else{const i=o?new id(n,s):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:i}),i&&e(i.proxiedTarget)}}/*! * vue-router v4.5.0 * (c) 2024 Eduardo San Martin Morote * @license MIT */const Te=typeof document<"u";function ko(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function ld(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&ko(t.default)}const $=Object.assign;function Ar(t,e){const n={};for(const r in e){const s=e[r];n[r]=he(s)?s.map(t):t(s)}return n}const qt=()=>{},he=Array.isArray;function U(t){const e=Array.from(arguments).slice(1);console.warn.apply(console,["[Vue Router warn]: "+t].concat(e))}const Eo=/#/g,dd=/&/g,ud=/\//g,pd=/=/g,fd=/\?/g,Co=/\+/g,hd=/%5B/g,md=/%5D/g,So=/%5E/g,gd=/%60/g,To=/%7B/g,yd=/%7C/g,Oo=/%7D/g,bd=/%20/g;function kr(t){return encodeURI(""+t).replace(yd,"|").replace(hd,"[").replace(md,"]")}function wd(t){return kr(t).replace(To,"{").replace(Oo,"}").replace(So,"^")}function Er(t){return kr(t).replace(Co,"%2B").replace(bd,"+").replace(Eo,"%23").replace(dd,"%26").replace(gd,"`").replace(To,"{").replace(Oo,"}").replace(So,"^")}function _d(t){return Er(t).replace(pd,"%3D")}function xd(t){return kr(t).replace(Eo,"%23").replace(fd,"%3F")}function vd(t){return t==null?"":xd(t).replace(ud,"%2F")}function wt(t){try{return decodeURIComponent(""+t)}catch{process.env.NODE_ENV!=="production"&&U(`Error decoding "${t}". Using original value`)}return""+t}const Ad=/\/$/,kd=t=>t.replace(Ad,"");function Cr(t,e,n="/"){let r,s={},o="",i="";const c=e.indexOf("#");let l=e.indexOf("?");return c<l&&c>=0&&(l=-1),l>-1&&(r=e.slice(0,l),o=e.slice(l+1,c>-1?c:e.length),s=t(o)),c>-1&&(r=r||e.slice(0,c),i=e.slice(c,e.length)),r=Sd(r??e,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:wt(i)}}function Ed(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function No(t,e,n){const r=e.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Ve(e.matched[r],n.matched[s])&&Io(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Ve(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Io(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!Cd(t[n],e[n]))return!1;return!0}function Cd(t,e){return he(t)?Ro(t,e):he(e)?Ro(e,t):t===e}function Ro(t,e){return he(e)?t.length===e.length&&t.every((n,r)=>n===e[r]):t.length===1&&t[0]===e}function Sd(t,e){if(t.startsWith("/"))return t;if(process.env.NODE_ENV!=="production"&&!e.startsWith("/"))return U(`Cannot resolve a relative location without an absolute path. Trying to resolve "${t}" from "${e}". It should look like "/${e}".`),t;if(!t)return e;const n=e.split("/"),r=t.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,c;for(i=0;i<r.length;i++)if(c=r[i],c!==".")if(c==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const Me={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var $t;(function(t){t.pop="pop",t.push="push"})($t||($t={}));var kn;(function(t){t.back="back",t.forward="forward",t.unknown=""})(kn||(kn={}));const Sr="";function Td(t){if(!t)if(Te){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),kd(t)}const Od=/^[^#]+#/;function Nd(t,e){return t.replace(Od,"#")+e}function Id(t,e){const n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{behavior:e.behavior,left:r.left-n.left-(e.left||0),top:r.top-n.top-(e.top||0)}}const Rd=()=>({left:window.scrollX,top:window.scrollY});function Pd(t){let e;if("el"in t){const n=t.el,r=typeof n=="string"&&n.startsWith("#");if(process.env.NODE_ENV!=="production"&&typeof t.el=="string"&&(!r||!document.getElementById(t.el.slice(1))))try{const o=document.querySelector(t.el);if(r&&o){U(`The selector "${t.el}" should be passed as "el: document.querySelector('${t.el}')" because it starts with "#".`);return}}catch{U(`The selector "${t.el}" is invalid. If you are using an id selector, make sure to escape it. You can find more information about escaping characters in selectors at https://mathiasbynens.be/notes/css-escapes or use CSS.escape (https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape).`);return}const s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s){process.env.NODE_ENV!=="production"&&U(`Couldn't find element using selector "${t.el}" returned by scrollBehavior.`);return}e=Id(s,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function Po(t,e){return(history.state?history.state.position-e:-1)+t}const Tr=new Map;function Bd(t,e){Tr.set(t,e)}function Vd(t){const e=Tr.get(t);return Tr.delete(t),e}function Md(t=""){let e=[],n=[Sr],r=0;t=Td(t);function s(c){r++,r!==n.length&&n.splice(r),n.push(c)}function o(c,l,{direction:d,delta:u}){const f={direction:d,delta:u,type:$t.pop};for(const p of e)p(c,l,f)}const i={location:Sr,state:{},base:t,createHref:Nd.bind(null,t),replace(c){n.splice(r--,1),s(c)},push(c,l){s(c)},listen(c){return e.push(c),()=>{const l=e.indexOf(c);l>-1&&e.splice(l,1)}},destroy(){e=[],n=[Sr],r=0},go(c,l=!0){const d=this.location,u=c<0?kn.back:kn.forward;r=Math.max(0,Math.min(r+c,n.length-1)),l&&o(this.location,d,{direction:u,delta:c})}};return Object.defineProperty(i,"location",{enumerable:!0,get:()=>n[r]}),i}function En(t){return typeof t=="string"||t&&typeof t=="object"}function Bo(t){return typeof t=="string"||typeof t=="symbol"}const Or=Symbol(process.env.NODE_ENV!=="production"?"navigation failure":"");var Vo;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Vo||(Vo={}));const Dd={1({location:t,currentLocation:e}){return`No match for ${JSON.stringify(t)}${e?` while being at `+JSON.stringify(e):""}`},2({from:t,to:e}){return`Redirected from "${t.fullPath}" to "${Ld(e)}" via a navigation guard.`},4({from:t,to:e}){return`Navigation aborted from "${t.fullPath}" to "${e.fullPath}" via a navigation guard.`},8({from:t,to:e}){return`Navigation cancelled from "${t.fullPath}" to "${e.fullPath}" with a new navigation.`},16({from:t,to:e}){return`Avoided redundant navigation to current location: "${t.fullPath}".`}};function _t(t,e){return process.env.NODE_ENV!=="production"?$(new Error(Dd[t](e)),{type:t,[Or]:!0},e):$(new Error,{type:t,[Or]:!0},e)}function Oe(t,e){return t instanceof Error&&Or in t&&(e==null||!!(t.type&e))}const jd=["params","query","hash"];function Ld(t){if(typeof t=="string")return t;if(t.path!=null)return t.path;const e={};for(const n of jd)n in t&&(e[n]=t[n]);return JSON.stringify(e,null,2)}const Mo="[^/]+?",Ud={sensitive:!1,strict:!1,start:!0,end:!0},Fd=/[.+*?^${}()[\]/\\]/g;function zd(t,e){const n=$({},Ud,e),r=[];let s=n.start?"^":"";const o=[];for(const d of t){const u=d.length?[]:[90];n.strict&&!d.length&&(s+="/");for(let f=0;f<d.length;f++){const p=d[f];let h=40+(n.sensitive?.25:0);if(p.type===0)f||(s+="/"),s+=p.value.replace(Fd,"\\$&"),h+=40;else if(p.type===1){const{value:m,repeatable:y,optional:g,regexp:b}=p;o.push({name:m,repeatable:y,optional:g});const w=b||Mo;if(w!==Mo){h+=10;try{new RegExp(`(${w})`)}catch(v){throw new Error(`Invalid custom RegExp for param "${m}" (${w}): `+v.message)}}let _=y?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;f||(_=g&&d.length<2?`(?:/${_})`:"/"+_),g&&(_+="?"),s+=_,h+=20,g&&(h+=-8),y&&(h+=-20),w===".*"&&(h+=-50)}u.push(h)}r.push(u)}if(n.strict&&n.end){const d=r.length-1;r[d][r[d].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function c(d){const u=d.match(i),f={};if(!u)return null;for(let p=1;p<u.length;p++){const h=u[p]||"",m=o[p-1];f[m.name]=h&&m.repeatable?h.split("/"):h}return f}function l(d){let u="",f=!1;for(const p of t){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const h of p)if(h.type===0)u+=h.value;else if(h.type===1){const{value:m,repeatable:y,optional:g}=h,b=m in d?d[m]:"";if(he(b)&&!y)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const w=he(b)?b.join("/"):b;if(!w)if(g)p.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${m}"`);u+=w}}return u||"/"}return{re:i,score:r,keys:o,parse:c,stringify:l}}function Gd(t,e){let n=0;for(;n<t.length&&n<e.length;){const r=e[n]-t[n];if(r)return r;n++}return t.length<e.length?t.length===1&&t[0]===80?-1:1:t.length>e.length?e.length===1&&e[0]===80?1:-1:0}function Do(t,e){let n=0;const r=t.score,s=e.score;for(;n<r.length&&n<s.length;){const o=Gd(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(jo(r))return 1;if(jo(s))return-1}return s.length-r.length}function jo(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const qd={type:0,value:""},$d=/[a-zA-Z0-9_]/;function Qd(t){if(!t)return[[]];if(t==="/")return[[qd]];if(!t.startsWith("/"))throw new Error(process.env.NODE_ENV!=="production"?`Route paths should start with a "/": "${t}" should be "/${t}".`:`Invalid path "${t}"`);function e(h){throw new Error(`ERR (${n})/"${d}": ${h}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let c=0,l,d="",u="";function f(){d&&(n===0?o.push({type:0,value:d}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:d,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),d="")}function p(){d+=l}for(;c<t.length;){if(l=t[c++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(d&&f(),i()):l===":"?(f(),n=1):p();break;case 4:p(),n=r;break;case 1:l==="("?n=2:$d.test(l)?p():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&c--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&c--,u="";break;default:e("Unknown state");break}}return n===2&&e(`Unfinished custom RegExp for param "${d}"`),f(),i(),s}function Hd(t,e,n){const r=zd(Qd(t.path),n);if(process.env.NODE_ENV!=="production"){const o=new Set;for(const i of r.keys)o.has(i.name)&&U(`Found duplicated params with name "${i.name}" for path "${t.path}". Only the last one will be available on "$route.params".`),o.add(i.name)}const s=$(r,{record:t,parent:e,children:[],alias:[]});return e&&!s.record.aliasOf==!e.record.aliasOf&&e.children.push(s),s}function Wd(t,e){const n=[],r=new Map;e=zo({strict:!1,end:!0,sensitive:!1},e);function s(f){return r.get(f)}function o(f,p,h){const m=!h,y=Uo(f);process.env.NODE_ENV!=="production"&&Zd(y,p),y.aliasOf=h&&h.record;const g=zo(e,f),b=[y];if("alias"in f){const v=typeof f.alias=="string"?[f.alias]:f.alias;for(const k of v)b.push(Uo($({},y,{components:h?h.record.components:y.components,path:k,aliasOf:h?h.record:y})))}let w,_;for(const v of b){const{path:k}=v;if(p&&k[0]!=="/"){const R=p.record.path,P=R[R.length-1]==="/"?"":"/";v.path=p.record.path+(k&&P+k)}if(process.env.NODE_ENV!=="production"&&v.path==="*")throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp. See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.`);if(w=Hd(v,p,g),process.env.NODE_ENV!=="production"&&p&&k[0]==="/"&&eu(w,p),h?(h.alias.push(w),process.env.NODE_ENV!=="production"&&Kd(h,w)):(_=_||w,_!==w&&_.alias.push(w),m&&f.name&&!Fo(w)&&(process.env.NODE_ENV!=="production"&&Xd(f,p),i(f.name))),Go(w)&&l(w),y.children){const R=y.children;for(let P=0;P<R.length;P++)o(R[P],w,h&&h.children[P])}h=h||w}return _?()=>{i(_)}:qt}function i(f){if(Bo(f)){const p=r.get(f);p&&(r.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function c(){return n}function l(f){const p=tu(f,n);n.splice(p,0,f),f.record.name&&!Fo(f)&&r.set(f.record.name,f)}function d(f,p){let h,m={},y,g;if("name"in f&&f.name){if(h=r.get(f.name),!h)throw _t(1,{location:f});if(process.env.NODE_ENV!=="production"){const _=Object.keys(f.params||{}).filter(v=>!h.keys.find(k=>k.name===v));_.length&&U(`Discarded invalid param(s) "${_.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`)}g=h.record.name,m=$(Lo(p.params,h.keys.filter(_=>!_.optional).concat(h.parent?h.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),f.params&&Lo(f.params,h.keys.map(_=>_.name))),y=h.stringify(m)}else if(f.path!=null)y=f.path,process.env.NODE_ENV!=="production"&&!y.startsWith("/")&&U(`The Matcher cannot resolve relative paths but received "${y}". Unless you directly called \`matcher.resolve("${y}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`),h=n.find(_=>_.re.test(y)),h&&(m=h.parse(y),g=h.record.name);else{if(h=p.name?r.get(p.name):n.find(_=>_.re.test(p.path)),!h)throw _t(1,{location:f,currentLocation:p});g=h.record.name,m=$({},p.params,f.params),y=h.stringify(m)}const b=[];let w=h;for(;w;)b.unshift(w.record),w=w.parent;return{name:g,path:y,params:m,matched:b,meta:Yd(b)}}t.forEach(f=>o(f));functi