N.Achyuth Reddy
commited on
Commit
·
1e40ada
1
Parent(s):
abf3326
Upload 22 files
Browse files- css/dce4b6d3a0cfc7c6.css +1 -0
- favicon.ico +0 -0
- fonts/05a31a2ca4975f99-s.woff2 +0 -0
- fonts/513657b02c5c193f-s.woff2 +0 -0
- fonts/51ed15f9841b9f9d-s.woff2 +0 -0
- fonts/c9a5bc6a7c948fb0-s.p.woff2 +0 -0
- fonts/d6b16ce4a6175f26-s.woff2 +0 -0
- fonts/ec159349637c90ad-s.woff2 +0 -0
- fonts/fd4db3eb5472fc27-s.woff2 +0 -0
- index.html +2 -19
- js/542b50fd-07ebedc579cef971.js +0 -0
- js/798-657c03e3eee6dfc7.js +0 -0
- js/7da7f64b-8b691ffbeb0806cf.js +0 -0
- js/_app-93a655a594ddeda3.js +0 -0
- js/_buildManifest.js +1 -0
- js/_ssgManifest.js +1 -0
- js/framework-73b8966a3c579ab0.js +0 -0
- js/index-75430ada0581e9c8.js +1 -0
- js/main-2adf7bfc339317d4.js +1 -0
- js/polyfills-c67a75d1b6f99dc8.js +1 -0
- js/rocket-loader.min.js +1 -0
- js/webpack-a2653feb91c432cc.js +1 -0
css/dce4b6d3a0cfc7c6.css
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align: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-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color: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,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(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: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(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: }.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=As]):not(:where([class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=as]):not(:where([class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=Is]):not(:where([class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=is]):not(:where([class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(hr):not(:where([class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"\201C""\201D""\2018""\2019";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(figure>*):not(:where([class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose :where(code):not(:where([class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose] *)){vertical-align:top}.prose{--tw-prose-body:#374151;--tw-prose-headings:#111827;--tw-prose-lead:#4b5563;--tw-prose-links:#111827;--tw-prose-bold:#111827;--tw-prose-counters:#6b7280;--tw-prose-bullets:#d1d5db;--tw-prose-hr:#e5e7eb;--tw-prose-quotes:#111827;--tw-prose-quote-borders:#e5e7eb;--tw-prose-captions:#6b7280;--tw-prose-code:#111827;--tw-prose-pre-code:#e5e7eb;--tw-prose-pre-bg:#1f2937;--tw-prose-th-borders:#d1d5db;--tw-prose-td-borders:#e5e7eb;--tw-prose-invert-body:#d1d5db;--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:#9ca3af;--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:#9ca3af;--tw-prose-invert-bullets:#4b5563;--tw-prose-invert-hr:#374151;--tw-prose-invert-quotes:#f3f4f6;--tw-prose-invert-quote-borders:#374151;--tw-prose-invert-captions:#9ca3af;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:#d1d5db;--tw-prose-invert-pre-bg:rgba(0,0,0,.5);--tw-prose-invert-th-borders:#4b5563;--tw-prose-invert-td-borders:#374151;font-size:1rem;line-height:1.75}.prose :where(video):not(:where([class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(figure):not(:where([class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(hr+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose :where(.prose>:first-child):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose] *)){margin-bottom:0}.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}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-0{bottom:0}.bottom-12{bottom:3rem}.bottom-14{bottom:3.5rem}.bottom-4{bottom:1rem}.bottom-full{bottom:100%}.left-0{left:0}.left-2{left:.5rem}.left-\[270px\]{left:270px}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-4{right:1rem}.right-\[270px\]{right:270px}.top-0{top:0}.top-2{top:.5rem}.top-2\.5{top:.625rem}.top-5{top:1.25rem}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.m-0{margin:0}.m-auto{margin:auto}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-5{margin-left:1.25rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-12{margin-right:3rem}.mr-4{margin-right:1rem}.mr-8{margin-right:2rem}.mr-auto{margin-right:auto}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-\[-2px\]{margin-top:-2px}.inline-block{display:inline-block}.\!inline{display:inline!important}.inline{display:inline}.flex{display:flex}.table{display:table}.hidden{display:none}.h-12{height:3rem}.h-4{height:1rem}.h-7{height:1.75rem}.h-\[162px\]{height:162px}.h-\[20px\]{height:20px}.h-\[40px\]{height:40px}.h-full{height:100%}.h-screen{height:100vh}.max-h-5{max-height:1.25rem}.max-h-52{max-height:13rem}.max-h-\[400px\]{max-height:400px}.max-h-full{max-height:100%}.min-h-screen{min-height:100vh}.w-4{width:1rem}.w-7{width:1.75rem}.w-\[190px\]{width:190px}.w-\[260px\]{width:260px}.w-\[300px\]{width:300px}.w-\[40px\]{width:40px}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.min-w-\[20px\]{min-width:20px}.min-w-\[40px\]{min-width:40px}.max-w-\[240px\]{max-width:240px}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.border-collapse{border-collapse:collapse}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-10>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(2.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2.5rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.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))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-ellipsis,.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.border{border-width:1px}.border-0{border-width:0}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-t-2{border-top-width:2px}.border-none{border-style:none}.border-black{--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity))}.border-black\/10{border-color:rgba(0,0,0,.1)}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-neutral-200{--tw-border-opacity:1;border-color:rgb(229 229 229/var(--tw-border-opacity))}.border-neutral-300{--tw-border-opacity:1;border-color:rgb(212 212 212/var(--tw-border-opacity))}.border-neutral-400{--tw-border-opacity:1;border-color:rgb(163 163 163/var(--tw-border-opacity))}.border-neutral-500{--tw-border-opacity:1;border-color:rgb(115 115 115/var(--tw-border-opacity))}.border-neutral-600{--tw-border-opacity:1;border-color:rgb(82 82 82/var(--tw-border-opacity))}.border-neutral-800{--tw-border-opacity:1;border-color:rgb(38 38 38/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-white\/20{border-color:hsla(0,0%,100%,.2)}.border-b-neutral-300{--tw-border-opacity:1;border-bottom-color:rgb(212 212 212/var(--tw-border-opacity))}.bg-\[\#202123\]{--tw-bg-opacity:1;background-color:rgb(32 33 35/var(--tw-bg-opacity))}.bg-\[\#343541\]\/90{background-color:rgba(52,53,65,.9)}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-neutral-100{--tw-bg-opacity:1;background-color:rgb(245 245 245/var(--tw-bg-opacity))}.bg-neutral-300{--tw-bg-opacity:1;background-color:rgb(212 212 212/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-opacity-10{--tw-bg-opacity:0.1}.bg-opacity-50{--tw-bg-opacity:0.5}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-none{background-image:none}.from-transparent{--tw-gradient-from:transparent;--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.via-white{--tw-gradient-to:hsla(0,0%,100%,0);--tw-gradient-stops:var(--tw-gradient-from),#fff,var(--tw-gradient-to)}.to-white{--tw-gradient-to:#fff}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-\[24px\]{padding-left:24px;padding-right:24px}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pb-2{padding-bottom:.5rem}.pb-20{padding-bottom:5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-8{padding-bottom:2rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pr-1{padding-right:.25rem}.pr-10{padding-right:2.5rem}.pr-12{padding-right:3rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pr-8{padding-right:2rem}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-\[48px\]{padding-top:48px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-bottom{vertical-align:bottom}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\[12\.5px\]{font-size:12.5px}.text-\[12px\]{font-size:12px}.text-\[14px\]{font-size:14px}.text-\[16px\]{font-size:16px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.lowercase{text-transform:lowercase}.italic{font-style:italic}.leading-3{line-height:.75rem}.leading-normal{line-height:1.5}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-black\/50{color:rgba(0,0,0,.5)}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.text-neutral-200{--tw-text-opacity:1;color:rgb(229 229 229/var(--tw-text-opacity))}.text-neutral-300{--tw-text-opacity:1;color:rgb(212 212 212/var(--tw-text-opacity))}.text-neutral-400{--tw-text-opacity:1;color:rgb(163 163 163/var(--tw-text-opacity))}.text-neutral-500{--tw-text-opacity:1;color:rgb(115 115 115/var(--tw-text-opacity))}.text-neutral-700{--tw-text-opacity:1;color:rgb(64 64 64/var(--tw-text-opacity))}.text-neutral-800{--tw-text-opacity:1;color:rgb(38 38 38/var(--tw-text-opacity))}.text-neutral-900{--tw-text-opacity:1;color:rgb(23 23 23/var(--tw-text-opacity))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-\[0_0_10px_rgba\(0\2c 0\2c 0\2c 0\.10\)\]{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-\[0_0_10px_rgba\(0\2c 0\2c 0\2c 0\.10\)\]{--tw-shadow:0 0 10px rgba(0,0,0,.1);--tw-shadow-colored:0 0 10px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-md,.shadow-xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color)}.outline-none{outline:2px solid transparent;outline-offset:2px}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.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}.duration-200{transition-duration:.2s}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:10px}::-webkit-scrollbar-thumb:hover{background-color:#aaa}::-webkit-scrollbar-track:hover{background-color:#f2f2f2}::-webkit-scrollbar-corner{background-color:transparent}::-webkit-scrollbar{width:6px;height:6px}html{background:#202123}@media(max-width:720px){pre{width:calc(100vw - 110px)}}pre:has(div.codeblock){padding:0}.dark .dark\:prose-invert{--tw-prose-body:var(--tw-prose-invert-body);--tw-prose-headings:var(--tw-prose-invert-headings);--tw-prose-lead:var(--tw-prose-invert-lead);--tw-prose-links:var(--tw-prose-invert-links);--tw-prose-bold:var(--tw-prose-invert-bold);--tw-prose-counters:var(--tw-prose-invert-counters);--tw-prose-bullets:var(--tw-prose-invert-bullets);--tw-prose-hr:var(--tw-prose-invert-hr);--tw-prose-quotes:var(--tw-prose-invert-quotes);--tw-prose-quote-borders:var(--tw-prose-invert-quote-borders);--tw-prose-captions:var(--tw-prose-invert-captions);--tw-prose-code:var(--tw-prose-invert-code);--tw-prose-pre-code:var(--tw-prose-invert-pre-code);--tw-prose-pre-bg:var(--tw-prose-invert-pre-bg);--tw-prose-th-borders:var(--tw-prose-invert-th-borders);--tw-prose-td-borders:var(--tw-prose-invert-td-borders)}.last\:mb-2:last-child{margin-bottom:.5rem}.hover\:bg-\[\#343541\]\/90:hover{background-color:rgba(52,53,65,.9)}.hover\:bg-gray-500\/10:hover{background-color:hsla(220,9%,46%,.1)}.hover\:bg-neutral-100:hover{--tw-bg-opacity:1;background-color:rgb(245 245 245/var(--tw-bg-opacity))}.hover\:bg-neutral-200:hover{--tw-bg-opacity:1;background-color:rgb(229 229 229/var(--tw-bg-opacity))}.hover\:text-gray-400:hover{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.hover\:text-neutral-100:hover{--tw-text-opacity:1;color:rgb(245 245 245/var(--tw-text-opacity))}.hover\:text-neutral-400:hover{--tw-text-opacity:1;color:rgb(163 163 163/var(--tw-text-opacity))}.hover\:text-neutral-900:hover{--tw-text-opacity:1;color:rgb(23 23 23/var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-50:hover{opacity:.5}.hover\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(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)}.focus\:visible:focus{visibility:visible}.focus\:border-neutral-100:focus{--tw-border-opacity:1;border-color:rgb(245 245 245/var(--tw-border-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\: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\:ring-blue-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(59 130 246/var(--tw-ring-opacity))}.enabled\:hover\:bg-blue-600:hover:enabled{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:visible{visibility:visible}.dark .dark\:border-none{border-style:none}.dark .dark\:border-gray-900\/50{border-color:rgba(17,24,39,.5)}.dark .dark\:border-neutral-100{--tw-border-opacity:1;border-color:rgb(245 245 245/var(--tw-border-opacity))}.dark .dark\:border-neutral-500{--tw-border-opacity:1;border-color:rgb(115 115 115/var(--tw-border-opacity))}.dark .dark\:border-neutral-600{--tw-border-opacity:1;border-color:rgb(82 82 82/var(--tw-border-opacity))}.dark .dark\:border-neutral-700{--tw-border-opacity:1;border-color:rgb(64 64 64/var(--tw-border-opacity))}.dark .dark\:border-neutral-800{--tw-border-opacity:1;border-color:rgb(38 38 38/var(--tw-border-opacity))}.dark .dark\:border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.dark .dark\:border-white\/20{border-color:hsla(0,0%,100%,.2)}.dark .dark\:border-opacity-50{--tw-border-opacity:0.5}.dark .dark\:bg-\[\#202123\]{--tw-bg-opacity:1;background-color:rgb(32 33 35/var(--tw-bg-opacity))}.dark .dark\:bg-\[\#343541\]{--tw-bg-opacity:1;background-color:rgb(52 53 65/var(--tw-bg-opacity))}.dark .dark\:bg-\[\#40414F\]{--tw-bg-opacity:1;background-color:rgb(64 65 79/var(--tw-bg-opacity))}.dark .dark\:bg-\[\#444654\]{--tw-bg-opacity:1;background-color:rgb(68 70 84/var(--tw-bg-opacity))}.dark .dark\:bg-gray-700{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.dark .dark\:bg-transparent{background-color:transparent}.dark .dark\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.dark .dark\:bg-opacity-50{--tw-bg-opacity:0.5}.dark .dark\:via-\[\#343541\]{--tw-gradient-to:rgba(52,53,65,0);--tw-gradient-stops:var(--tw-gradient-from),#343541,var(--tw-gradient-to)}.dark .dark\:to-\[\#343541\]{--tw-gradient-to:#343541}.dark .dark\:text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.dark .dark\:text-gray-100{--tw-text-opacity:1;color:rgb(243 244 246/var(--tw-text-opacity))}.dark .dark\:text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.dark .dark\:text-green-400{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.dark .dark\:text-neutral-100{--tw-text-opacity:1;color:rgb(245 245 245/var(--tw-text-opacity))}.dark .dark\:text-neutral-200{--tw-text-opacity:1;color:rgb(229 229 229/var(--tw-text-opacity))}.dark .dark\:text-neutral-300{--tw-text-opacity:1;color:rgb(212 212 212/var(--tw-text-opacity))}.dark .dark\:text-neutral-400{--tw-text-opacity:1;color:rgb(163 163 163/var(--tw-text-opacity))}.dark .dark\:text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.dark .dark\:text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.dark .dark\:text-white\/50{color:hsla(0,0%,100%,.5)}.dark .dark\:shadow-\[0_0_15px_rgba\(0\2c 0\2c 0\2c 0\.10\)\]{--tw-shadow:0 0 15px rgba(0,0,0,.1);--tw-shadow-colored:0 0 15px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.dark .dark\:hover\:bg-neutral-300:hover{--tw-bg-opacity:1;background-color:rgb(212 212 212/var(--tw-bg-opacity))}.dark .dark\:hover\:bg-neutral-800:hover{--tw-bg-opacity:1;background-color:rgb(38 38 38/var(--tw-bg-opacity))}.dark .dark\:hover\:text-gray-300:hover{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.dark .dark\:hover\:text-neutral-200:hover{--tw-text-opacity:1;color:rgb(229 229 229/var(--tw-text-opacity))}@media(min-width:640px){.sm\:absolute{position:absolute}.sm\:relative{position:relative}.sm\:bottom-8{bottom:2rem}.sm\:left-\[280px\]{left:280px}.sm\:top-0{top:0}.sm\:top-0\.5{top:.125rem}.sm\:mx-4{margin-left:1rem;margin-right:1rem}.sm\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\:block{display:block}.sm\:inline-block{display:inline-block}.sm\:hidden{display:none}.sm\:h-8{height:2rem}.sm\:h-screen{height:100vh}.sm\:max-h-\[600px\]{max-height:600px}.sm\:w-1\/2{width:50%}.sm\:w-8{width:2rem}.sm\:w-\[600px\]{width:600px}.sm\:w-full{width:100%}.sm\:max-w-\[600px\]{max-width:600px}.sm\:max-w-lg{max-width:32rem}.sm\:p-0{padding:0}.sm\:p-6{padding:1.5rem}.sm\:pt-0{padding-top:0}.sm\:align-middle{vertical-align:middle}.sm\:text-neutral-700{--tw-text-opacity:1;color:rgb(64 64 64/var(--tw-text-opacity))}}@media(min-width:768px){.md\:mx-4{margin-left:1rem;margin-right:1rem}.md\:mx-auto{margin-left:auto;margin-right:auto}.md\:-mr-8{margin-right:-2rem}.md\:mb-0{margin-bottom:0}.md\:mb-4{margin-bottom:1rem}.md\:ml-0{margin-left:0}.md\:mt-2{margin-top:.5rem}.md\:mt-\[52px\]{margin-top:52px}.md\:max-w-2xl{max-width:42rem}.md\:max-w-xl{max-width:36rem}.md\:flex-row{flex-direction:row}.md\:items-start{align-items:flex-start}.md\:justify-start{justify-content:flex-start}.md\:justify-end{justify-content:flex-end}.md\:gap-1{gap:.25rem}.md\:gap-6{gap:1.5rem}.md\:space-y-10>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(2.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2.5rem * var(--tw-space-y-reverse))}.md\:rounded-lg{border-radius:.5rem}.md\:border{border-width:1px}.md\:px-4{padding-left:1rem;padding-right:1rem}.md\:py-3{padding-top:.75rem;padding-bottom:.75rem}.md\:py-6{padding-top:1.5rem}.md\:pb-6,.md\:py-6{padding-bottom:1.5rem}.md\:pl-10{padding-left:2.5rem}.md\:pt-12{padding-top:3rem}.md\:pt-2{padding-top:.5rem}.md\:pt-3{padding-top:.75rem}.md\:pt-6{padding-top:1.5rem}.md\:last\:mb-6:last-child{margin-bottom:1.5rem}}@media(min-width:1024px){.lg\:-right-10{right:-2.5rem}.lg\:bottom-0{bottom:0}.lg\:left-\[200px\]{left:200px}.lg\:mx-auto{margin-left:auto;margin-right:auto}.lg\:max-w-2xl{max-width:42rem}.lg\:max-w-3xl{max-width:48rem}.lg\:px-0{padding-left:0;padding-right:0}}@media(min-width:1280px){.xl\:max-w-3xl{max-width:48rem}}@font-face{font-family:__Inter_a64ecd;font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/ec159349637c90ad-s.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__Inter_a64ecd;font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/513657b02c5c193f-s.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__Inter_a64ecd;font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/fd4db3eb5472fc27-s.woff2) format("woff2");unicode-range:U+1f??}@font-face{font-family:__Inter_a64ecd;font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/51ed15f9841b9f9d-s.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__Inter_a64ecd;font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/05a31a2ca4975f99-s.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__Inter_a64ecd;font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/d6b16ce4a6175f26-s.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__Inter_a64ecd;font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/c9a5bc6a7c948fb0-s.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__Inter_Fallback_a64ecd;src:local("Arial");ascent-override:90%;descent-override:22.43%;line-gap-override:0%;size-adjust:107.64%}.__className_a64ecd{font-family:__Inter_a64ecd,__Inter_Fallback_a64ecd;font-style:normal}
|
favicon.ico
ADDED
|
fonts/05a31a2ca4975f99-s.woff2
ADDED
Binary file (10.5 kB). View file
|
|
fonts/513657b02c5c193f-s.woff2
ADDED
Binary file (17.6 kB). View file
|
|
fonts/51ed15f9841b9f9d-s.woff2
ADDED
Binary file (22.5 kB). View file
|
|
fonts/c9a5bc6a7c948fb0-s.p.woff2
ADDED
Binary file (46.6 kB). View file
|
|
fonts/d6b16ce4a6175f26-s.woff2
ADDED
Binary file (80 kB). View file
|
|
fonts/ec159349637c90ad-s.woff2
ADDED
Binary file (27.3 kB). View file
|
|
fonts/fd4db3eb5472fc27-s.woff2
ADDED
Binary file (12.8 kB). View file
|
|
index.html
CHANGED
@@ -1,19 +1,2 @@
|
|
1 |
-
<!DOCTYPE html>
|
2 |
-
|
3 |
-
<head>
|
4 |
-
<meta charset="utf-8" />
|
5 |
-
<meta name="viewport" content="width=device-width" />
|
6 |
-
<title>My static Space</title>
|
7 |
-
<link rel="stylesheet" href="style.css" />
|
8 |
-
</head>
|
9 |
-
<body>
|
10 |
-
<div class="card">
|
11 |
-
<h1>Welcome to your static Space!</h1>
|
12 |
-
<p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
|
13 |
-
<p>
|
14 |
-
Also don't forget to check the
|
15 |
-
<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
|
16 |
-
</p>
|
17 |
-
</div>
|
18 |
-
</body>
|
19 |
-
</html>
|
|
|
1 |
+
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Chatbot UI</title><meta name="description" content="ChatGPT but better."><meta name="viewport" content="height=device-height ,width=device-width, initial-scale=1, user-scalable=no"><link rel="icon" href="favicon.ico"><meta name="next-head-count" content="5"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-title" content="Chatbot UI"><link rel="preload" href="/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2" as="font" type="font/woff2" crossorigin="anonymous" data-next-font="size-adjust"><link rel="preload" href="/_next/static/css/dce4b6d3a0cfc7c6.css" as="style"><link rel="stylesheet" href="css/dce4b6d3a0cfc7c6.css" data-n-g=""><noscript data-n-css=""></noscript><script defer="" nomodule="" src="js/polyfills-c67a75d1b6f99dc8.js" type="6600fa4cc3d6766d2aa7912b-text/javascript"></script><script src="js/webpack-a2653feb91c432cc.js" defer="" type="6600fa4cc3d6766d2aa7912b-text/javascript"></script><script src="js/framework-73b8966a3c579ab0.js" defer="" type="6600fa4cc3d6766d2aa7912b-text/javascript"></script><script src="js/main-2adf7bfc339317d4.js" defer="" type="6600fa4cc3d6766d2aa7912b-text/javascript"></script><script src="js/_app-93a655a594ddeda3.js" defer="" type="6600fa4cc3d6766d2aa7912b-text/javascript"></script><script src="js/7da7f64b-8b691ffbeb0806cf.js" defer="" type="6600fa4cc3d6766d2aa7912b-text/javascript"></script><script src="js/542b50fd-07ebedc579cef971.js" defer="" type="6600fa4cc3d6766d2aa7912b-text/javascript"></script><script src="js/798-657c03e3eee6dfc7.js" defer="" type="6600fa4cc3d6766d2aa7912b-text/javascript"></script><script src="js/index-75430ada0581e9c8.js" defer="" type="6600fa4cc3d6766d2aa7912b-text/javascript"></script><script src="js/_buildManifest.js" defer="" type="6600fa4cc3d6766d2aa7912b-text/javascript"></script><script src="js/_ssgManifest.js" defer="" type="6600fa4cc3d6766d2aa7912b-text/javascript"></script></head><body><div id="__next"><div class="__className_a64ecd"><div style="position:fixed;z-index:9999;top:16px;left:16px;right:16px;bottom:16px;pointer-events:none"></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"serverSideApiKeyIsSet":true,"defaultModelId":"gpt-3.5-turbo","serverSidePluginKeysSet":false,"_nextI18Next":{"initialI18nStore":{"en":{"common":{},"chat":{},"sidebar":{},"markdown":{},"promptbar":{},"settings":{}}},"initialLocale":"en","ns":["common","chat","sidebar","markdown","promptbar","settings"],"userConfig":{"i18n":{"defaultLocale":"en","locales":["bn","de","en","es","fr","he","id","it","ja","ko","pl","pt","ru","ro","sv","te","vi","zh","ar","tr","ca","fi"]},"localePath":"/var/task/public/locales","default":{"i18n":{"defaultLocale":"en","locales":["bn","de","en","es","fr","he","id","it","ja","ko","pl","pt","ru","ro","sv","te","vi","zh","ar","tr","ca","fi"]},"localePath":"/var/task/public/locales"}}}},"__N_SSP":true},"page":"/","query":{},"buildId":"DaWU0j0tdVfuskaI5NgSR","isFallback":false,"gssp":true,"locale":"en","locales":["en","bn","de","es","fr","he","id","it","ja","ko","pl","pt","ru","ro","sv","te","vi","zh","ar","tr","ca","fi"],"defaultLocale":"en","scriptLoader":[]}</script><script src="js/rocket-loader.min.js" data-cf-settings="6600fa4cc3d6766d2aa7912b-|49" defer=""></script><script>(function(){var js = "window['__CF$cv$params']={r:'80b2c12b68b70b85',t:'MTY5NTQ3MTc2Mi4wMDcwMDA='};_cpo=document.createElement('script');_cpo.nonce='',_cpo.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js',document.getElementsByTagName('head')[0].appendChild(_cpo);";var _0xh = document.createElement('iframe');_0xh.height = 1;_0xh.width = 1;_0xh.style.position = 'absolute';_0xh.style.top = 0;_0xh.style.left = 0;_0xh.style.border = 'none';_0xh.style.visibility = 'hidden';document.body.appendChild(_0xh);function handler() {var _0xi = _0xh.contentDocument || _0xh.contentWindow.document;if (_0xi) {var _0xj = _0xi.createElement('script');_0xj.innerHTML = js;_0xi.getElementsByTagName('head')[0].appendChild(_0xj);}}if (document.readyState !== 'loading') {handler();} else if (window.addEventListener) {document.addEventListener('DOMContentLoaded', handler);} else {var prev = document.onreadystatechange || function () {};document.onreadystatechange = function (e) {prev(e);if (document.readyState !== 'loading') {document.onreadystatechange = prev;handler();}};}})();</script><iframe height="1" width="1" style="position: absolute; top: 0px; left: 0px; border: none; visibility: hidden;"></iframe><script defer="" src="https://static.cloudflareinsights.com/beacon.min.js/v8b253dfea2ab4077af8c6f58422dfbfd1689876627854" data-cf-beacon="{" rayid":"80b2c12b68b70b85","version":"2023.8.0","r":1,"token":"042a36f6c8624d0fac93a627e3ba70ed","si":100}"="" crossorigin="anonymous"></script>
|
2 |
+
</body></html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/542b50fd-07ebedc579cef971.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
js/798-657c03e3eee6dfc7.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
js/7da7f64b-8b691ffbeb0806cf.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
js/_app-93a655a594ddeda3.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
js/_buildManifest.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/7da7f64b-8b691ffbeb0806cf.js","static/chunks/542b50fd-07ebedc579cef971.js","static/chunks/798-657c03e3eee6dfc7.js","static/chunks/pages/index-75430ada0581e9c8.js"],"/_error":["static/chunks/pages/_error-3f6d1c55bb8051ab.js"],sortedPages:["/","/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
js/_ssgManifest.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
self.__SSG_MANIFEST=new Set,self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB();
|
js/framework-73b8966a3c579ab0.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
js/index-75430ada0581e9c8.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{48312:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return r(42603)}])},87766:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var a=r(85893);var l=e=>{let{handleClick:t,children:r}=e;return(0,a.jsx)("button",{className:"min-w-[20px] p-1 text-neutral-400 hover:text-neutral-100",onClick:t,children:r})}},5782:function(e,t,r){"use strict";r.a(e,(async function(e,a){try{r.d(t,{e:function(){return j}});var l=r(85893),n=r(33111),s=r(51668),o=r(67294),i=r(86501),d=r(61162),c=r(17172),u=r(62716),m=r(97450),x=r(88990),p=r(79408),h=r(39817),f=r(79420),g=r(84378),v=r(11085),b=r(11046),y=r(41347),k=r(10094),w=e([h]);h=(w.then?(await w)():w)[0];let j=(0,o.memo)((e=>{let{stopConversationRef:t}=e,{t:r}=(0,d.$G)("chat"),{state:{selectedConversation:a,conversations:w,models:j,apiKey:C,pluginKeys:N,serverSideApiKeyIsSet:S,messageIsStreaming:_,modelError:E,loading:I,prompts:P},handleUpdateConversation:O,dispatch:L}=(0,o.useContext)(x.Z),[G,T]=(0,o.useState)(),[Z,A]=(0,o.useState)(!0),[K,D]=(0,o.useState)(!1),[z,R]=(0,o.useState)(!1),M=(0,o.useRef)(null),U=(0,o.useRef)(null),F=(0,o.useRef)(null),H=(0,o.useCallback)((async function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(a){let m,x;if(r){let t=[...a.messages];for(let e=0;e<r;e++)t.pop();m={...a,messages:[...t,e]}}else m={...a,messages:[...a.messages,e]};L({field:"selectedConversation",value:m}),L({field:"loading",value:!0}),L({field:"messageIsStreaming",value:!0});let p={model:m.model,messages:m.messages,key:C,prompt:m.prompt,temperature:m.temperature},h=(0,c.O)(l);var n,s,o,d;if(l)x=JSON.stringify({...p,googleAPIKey:null===(n=null===(s=N.find((e=>"google-search"===e.pluginId)))||void 0===s?void 0:s.requiredKeys.find((e=>"GOOGLE_API_KEY"===e.key)))||void 0===n?void 0:n.value,googleCSEId:null===(o=null===(d=N.find((e=>"google-search"===e.pluginId)))||void 0===d?void 0:d.requiredKeys.find((e=>"GOOGLE_CSE_ID"===e.key)))||void 0===o?void 0:o.value});else x=JSON.stringify(p);let f=new AbortController,g=await fetch(h,{method:"POST",headers:{"Content-Type":"application/json"},signal:f.signal,body:x});if(!g.ok)return L({field:"loading",value:!1}),L({field:"messageIsStreaming",value:!1}),void i.ZP.error(g.statusText);let v=g.body;if(!v)return L({field:"loading",value:!1}),void L({field:"messageIsStreaming",value:!1});if(l){let{answer:e}=await g.json(),t=[...m.messages,{role:"assistant",content:e}];m={...m,messages:t},L({field:"selectedConversation",value:m}),(0,u.m7)(m);let r=w.map((e=>e.id===a.id?m:e));0===r.length&&r.push(m),L({field:"conversations",value:r}),(0,u.fB)(r),L({field:"loading",value:!1}),L({field:"messageIsStreaming",value:!1})}else{if(1===m.messages.length){let{content:t}=e,r=t.length>30?t.substring(0,30)+"...":t;m={...m,name:r}}L({field:"loading",value:!1});let r=v.getReader(),l=new TextDecoder,n=!1,s=!0,o="";for(;!n;){if(!0===t.current){f.abort(),n=!0;break}let{value:e,done:a}=await r.read();n=a;let i=l.decode(e);if(o+=i,s){s=!1;let e=[...m.messages,{role:"assistant",content:i}];m={...m,messages:e},L({field:"selectedConversation",value:m})}else{let e=m.messages.map(((e,t)=>t===m.messages.length-1?{...e,content:o}:e));m={...m,messages:e},L({field:"selectedConversation",value:m})}}(0,u.m7)(m);let i=w.map((e=>e.id===a.id?m:e));0===i.length&&i.push(m),L({field:"conversations",value:i}),(0,u.fB)(i),L({field:"messageIsStreaming",value:!1})}}}),[C,w,N,a,t]);(0,o.useCallback)((()=>{var e,t;Z&&(null===(e=M.current)||void 0===e||e.scrollIntoView({behavior:"smooth"}),null===(t=F.current)||void 0===t||t.focus())}),[Z]);let J=(0,m.P)((()=>{var e;Z&&(null===(e=M.current)||void 0===e||e.scrollIntoView(!0))}),250);return(0,o.useEffect)((()=>{J(),a&&T(a.messages[a.messages.length-2])}),[a,J]),(0,o.useEffect)((()=>{let e=new IntersectionObserver((e=>{let[t]=e;var r;(A(t.isIntersecting),t.isIntersecting)&&(null===(r=F.current)||void 0===r||r.focus())}),{root:null,threshold:.5}),t=M.current;return t&&e.observe(t),()=>{t&&e.unobserve(t)}}),[M]),(0,l.jsx)("div",{className:"relative flex-1 overflow-hidden bg-white dark:bg-[#343541]",children:C||S?E?(0,l.jsx)(g.Y,{error:E}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"max-h-full overflow-x-hidden",ref:U,onScroll:()=>{if(U.current){let{scrollTop:e,scrollHeight:t,clientHeight:r}=U.current;e+r<t-30?(A(!1),R(!0)):(A(!0),R(!1))}},children:0===(null==a?void 0:a.messages.length)?(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"mx-auto flex flex-col space-y-5 md:space-y-10 px-3 pt-5 md:pt-12 sm:max-w-[600px]",children:[(0,l.jsx)("div",{className:"text-center text-3xl font-semibold text-gray-800 dark:text-gray-100",children:0===j.length?(0,l.jsx)("div",{children:(0,l.jsx)(p.Z,{size:"16px",className:"mx-auto"})}):"Chatbot UI"}),j.length>0&&(0,l.jsxs)("div",{className:"flex h-full flex-col space-y-4 rounded-lg border border-neutral-200 p-4 dark:border-neutral-600",children:[(0,l.jsx)(b.q,{}),(0,l.jsx)(y.r,{conversation:a,prompts:P,onChangePrompt:e=>O(a,{key:"prompt",value:e})}),(0,l.jsx)(k.$,{label:r("Temperature"),onChangeTemperature:e=>O(a,{key:"temperature",value:e})})]})]})}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"sticky top-0 z-10 flex justify-center border border-b-neutral-300 bg-neutral-100 py-2 text-sm text-neutral-500 dark:border-none dark:bg-[#444654] dark:text-neutral-200",children:[r("Model"),": ",null==a?void 0:a.model.name," | ",r("Temp"),": ",null==a?void 0:a.temperature," |",(0,l.jsx)("button",{className:"ml-2 cursor-pointer hover:opacity-50",onClick:()=>{D(!K)},children:(0,l.jsx)(n.Z,{size:18})}),(0,l.jsx)("button",{className:"ml-2 cursor-pointer hover:opacity-50",onClick:()=>{confirm(r("Are you sure you want to clear all messages?"))&&a&&O(a,{key:"messages",value:[]})},children:(0,l.jsx)(s.Z,{size:18})})]}),K&&(0,l.jsx)("div",{className:"flex flex-col space-y-10 md:mx-auto md:max-w-xl md:gap-6 md:py-3 md:pt-6 lg:max-w-2xl lg:px-0 xl:max-w-3xl",children:(0,l.jsx)("div",{className:"flex h-full flex-col space-y-4 border-b border-neutral-200 p-4 dark:border-neutral-600 md:rounded-lg md:border",children:(0,l.jsx)(b.q,{})})}),null==a?void 0:a.messages.map(((e,t)=>(0,l.jsx)(v.m,{message:e,messageIndex:t,onEdit:e=>{T(e),H(e,(null==a?void 0:a.messages.length)-t)}},t))),I&&(0,l.jsx)(f.G,{}),(0,l.jsx)("div",{className:"h-[162px] bg-white dark:bg-[#343541]",ref:M})]})}),(0,l.jsx)(h.x,{stopConversationRef:t,textareaRef:F,onSend:(e,t)=>{T(e),H(e,0,t)},onScrollDownClick:()=>{var e;null===(e=U.current)||void 0===e||e.scrollTo({top:U.current.scrollHeight,behavior:"smooth"})},onRegenerate:()=>{G&&H(G,2,null)},showScrollDownButton:z})]}):(0,l.jsxs)("div",{className:"mx-auto flex h-full w-[300px] flex-col justify-center space-y-6 sm:w-[600px]",children:[(0,l.jsx)("div",{className:"text-center text-4xl font-bold text-black dark:text-white",children:"Welcome to Chatbot UI"}),(0,l.jsxs)("div",{className:"text-center text-lg text-black dark:text-white",children:[(0,l.jsx)("div",{className:"mb-8",children:"Chatbot UI is an open source clone of OpenAI's ChatGPT UI."}),(0,l.jsx)("div",{className:"mb-2 font-bold",children:"Important: Chatbot UI is 100% unaffiliated with OpenAI."})]}),(0,l.jsxs)("div",{className:"text-center text-gray-500 dark:text-gray-400",children:[(0,l.jsx)("div",{className:"mb-2",children:"Chatbot UI allows you to plug in your API key to use this UI with their API."}),(0,l.jsxs)("div",{className:"mb-2",children:["It is ",(0,l.jsx)("span",{className:"italic",children:"only"})," used to communicate with their API."]}),(0,l.jsx)("div",{className:"mb-2",children:r("Please set your OpenAI API key in the bottom left of the sidebar.")}),(0,l.jsxs)("div",{children:[r("If you don't have an OpenAI API key, you can get one here: "),(0,l.jsx)("a",{href:"https://platform.openai.com/account/api-keys",target:"_blank",rel:"noreferrer",className:"text-blue-500 hover:underline",children:"openai.com"})]})]})]})})}));j.displayName="Chat",a()}catch(e){a(e)}}))},39817:function(e,t,r){"use strict";r.a(e,(async function(e,a){try{r.d(t,{x:function(){return b}});var l=r(85893),n=r(94568),s=r(21223),o=r(19695),i=r(59348),d=r(23461),c=r(63072),u=r(67294),m=r(61162),x=r(88990),p=r(84362),h=r(68452),f=r(9707),g=r(97939),v=e([p]);p=(v.then?(await v)():v)[0];let b=e=>{var t;let{onSend:r,onRegenerate:a,onScrollDownClick:v,stopConversationRef:b,textareaRef:y,showScrollDownButton:k}=e,{t:w}=(0,m.$G)("chat"),{state:{selectedConversation:j,messageIsStreaming:C,prompts:N},dispatch:S}=(0,u.useContext)(x.Z),[_,E]=(0,u.useState)(),[I,P]=(0,u.useState)(!1),[O,L]=(0,u.useState)(!1),[G,T]=(0,u.useState)(0),[Z,A]=(0,u.useState)(""),[K,D]=(0,u.useState)([]),[z,R]=(0,u.useState)(!1),[M,U]=(0,u.useState)(!1),[F,H]=(0,u.useState)(null),J=(0,u.useRef)(null),$=N.filter((e=>e.name.toLowerCase().includes(Z.toLowerCase()))),B=()=>{if(!C){if(!_)return void alert(w("Please enter a message"));r({role:"user",content:_},F),E(""),H(null),window.innerWidth<640&&y&&y.current&&y.current.blur()}},q=()=>{let e=$[G];e&&(E((t=>null==t?void 0:t.replace(/\/\w*$/,e.content))),V(e)),L(!1)},Y=(0,u.useCallback)((e=>{let t=e.match(/\/\w*$/);t?(L(!0),A(t[0].slice(1))):(L(!1),A(""))}),[]),V=e=>{let t=(e=>{let t,r=/{{(.*?)}}/g,a=[];for(;null!==(t=r.exec(e));)a.push(t[1]);return a})(e.content);D(t),t.length>0?R(!0):(E((t=>null==t?void 0:t.replace(/\/\w*$/,e.content))),Y(e.content))};return(0,u.useEffect)((()=>{J.current&&(J.current.scrollTop=30*G)}),[G]),(0,u.useEffect)((()=>{var e,t;y&&y.current&&(y.current.style.height="inherit",y.current.style.height="".concat(null===(e=y.current)||void 0===e?void 0:e.scrollHeight,"px"),y.current.style.overflow="".concat((null==y||null===(t=y.current)||void 0===t?void 0:t.scrollHeight)>400?"auto":"hidden"))}),[_]),(0,u.useEffect)((()=>{let e=e=>{J.current&&!J.current.contains(e.target)&&L(!1)};return window.addEventListener("click",e),()=>{window.removeEventListener("click",e)}}),[]),(0,l.jsxs)("div",{className:"absolute bottom-0 left-0 w-full border-transparent bg-gradient-to-b from-transparent via-white to-white pt-6 dark:border-white/20 dark:via-[#343541] dark:to-[#343541] md:pt-2",children:[(0,l.jsxs)("div",{className:"stretch mx-2 mt-4 flex flex-row gap-3 last:mb-2 md:mx-4 md:mt-[52px] md:last:mb-6 lg:mx-auto lg:max-w-3xl",children:[C&&(0,l.jsxs)("button",{className:"absolute top-0 left-0 right-0 mx-auto mb-3 flex w-fit items-center gap-3 rounded border border-neutral-200 bg-white py-2 px-4 text-black hover:opacity-50 dark:border-neutral-600 dark:bg-[#343541] dark:text-white md:mb-0 md:mt-2",onClick:()=>{b.current=!0,setTimeout((()=>{b.current=!1}),1e3)},children:[(0,l.jsx)(n.Z,{size:16})," ",w("Stop Generating")]}),!C&&j&&j.messages.length>0&&(0,l.jsxs)("button",{className:"absolute top-0 left-0 right-0 mx-auto mb-3 flex w-fit items-center gap-3 rounded border border-neutral-200 bg-white py-2 px-4 text-black hover:opacity-50 dark:border-neutral-600 dark:bg-[#343541] dark:text-white md:mb-0 md:mt-2",onClick:a,children:[(0,l.jsx)(s.Z,{size:16})," ",w("Regenerate response")]}),(0,l.jsxs)("div",{className:"relative mx-2 flex w-full flex-grow flex-col rounded-md border border-black/10 bg-white shadow-[0_0_10px_rgba(0,0,0,0.10)] dark:border-gray-900/50 dark:bg-[#40414F] dark:text-white dark:shadow-[0_0_15px_rgba(0,0,0,0.10)] sm:mx-4",children:[(0,l.jsx)("button",{className:"absolute p-1 rounded-sm left-2 top-2 text-neutral-800 opacity-60 hover:bg-neutral-200 hover:text-neutral-900 dark:bg-opacity-50 dark:text-neutral-100 dark:hover:text-neutral-200",onClick:()=>U(!M),onKeyDown:e=>{},children:F?(0,l.jsx)(o.Z,{size:20}):(0,l.jsx)(i.Z,{size:20})}),M&&(0,l.jsx)("div",{className:"absolute left-0 bottom-14 rounded bg-white dark:bg-[#343541]",children:(0,l.jsx)(h.V,{plugin:F,onKeyDown:e=>{var t;"Escape"===e.key&&(e.preventDefault(),U(!1),null===(t=y.current)||void 0===t||t.focus())},onPluginChange:e=>{H(e),U(!1),y&&y.current&&y.current.focus()}})}),(0,l.jsx)("div",{className:"absolute flex justify-center w-full mx-auto mb-12 pointer-events-none bottom-full md:mb-4 md:justify-end",children:(0,l.jsx)(p.s,{content:_})}),(0,l.jsx)("textarea",{ref:y,className:"w-full p-0 py-2 pl-10 pr-8 m-0 text-black bg-transparent border-0 resize-none dark:bg-transparent dark:text-white md:py-3 md:pl-10",style:{resize:"none",bottom:"".concat(null==y||null===(t=y.current)||void 0===t?void 0:t.scrollHeight,"px"),maxHeight:"400px",overflow:"".concat(y.current&&y.current.scrollHeight>400?"auto":"hidden")},placeholder:w('Type a message or type "/" to select a prompt...')||"",value:_,rows:1,onCompositionStart:()=>P(!0),onCompositionEnd:()=>P(!1),onChange:e=>{let t=e.target.value,r=null==j?void 0:j.model.maxLength;r&&t.length>r?alert(w("Message limit is {{maxLength}} characters. You have entered {{valueLength}} characters.",{maxLength:r,valueLength:t.length})):(E(t),Y(t))},onKeyDown:e=>{O?"ArrowDown"===e.key?(e.preventDefault(),T((e=>e<N.length-1?e+1:e))):"ArrowUp"===e.key?(e.preventDefault(),T((e=>e>0?e-1:e))):"Tab"===e.key?(e.preventDefault(),T((e=>e<N.length-1?e+1:0))):"Enter"===e.key?(e.preventDefault(),q()):"Escape"===e.key?(e.preventDefault(),L(!1)):T(0):"Enter"!==e.key||I||(()=>{let e=void 0===window.navigator?"":navigator.userAgent;return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Mobile|mobile|CriOS/i.test(e)})()||e.shiftKey?"/"===e.key&&e.metaKey&&(e.preventDefault(),U(!M)):(e.preventDefault(),B())}}),(0,l.jsx)("button",{className:"absolute p-1 rounded-sm right-2 top-2 text-neutral-800 opacity-60 hover:bg-neutral-200 hover:text-neutral-900 dark:bg-opacity-50 dark:text-neutral-100 dark:hover:text-neutral-200",onClick:B,children:C?(0,l.jsx)("div",{className:"w-4 h-4 border-t-2 rounded-full animate-spin border-neutral-800 opacity-60 dark:border-neutral-100"}):(0,l.jsx)(d.Z,{size:18})}),k&&(0,l.jsx)("div",{className:"absolute right-0 bottom-12 lg:bottom-0 lg:-right-10",children:(0,l.jsx)("button",{className:"flex items-center justify-center text-gray-800 rounded-full shadow-md h-7 w-7 bg-neutral-300 hover:shadow-lg focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:text-neutral-200",onClick:v,children:(0,l.jsx)(c.Z,{size:18})})}),O&&$.length>0&&(0,l.jsx)("div",{className:"absolute w-full bottom-12",children:(0,l.jsx)(f.t,{activePromptIndex:G,prompts:$,onSelect:q,onMouseOver:T,promptListRef:J})}),z&&(0,l.jsx)(g.g,{prompt:$[G],variables:K,onSubmit:e=>{let t=null==_?void 0:_.replace(/{{(.*?)}}/g,((t,r)=>{let a=K.indexOf(r);return e[a]}));E(t),y&&y.current&&y.current.focus()},onClose:()=>R(!1)})]})]}),(0,l.jsxs)("div",{className:"px-3 pt-2 pb-3 text-center text-[12px] text-black/50 dark:text-white/50 md:px-4 md:pt-3 md:pb-6",children:[(0,l.jsx)("a",{href:"https://aivvm.oss-cn-shanghai.aliyuncs.com/alipay.png",target:"_blank",rel:"noreferrer",className:"underline",children:"免费赞助"}),","," ",(0,l.jsx)("a",{href:"https://aivvm.oss-cn-shanghai.aliyuncs.com/ali-sc.png",target:"_blank",rel:"noreferrer",className:"underline",children:"支付宝免费领红包支持站长"}),","," ",w("日常免费使用是足够的,我不喜欢猫抓老鼠的游戏谢谢,已达成百万月活,十万用户,ST2023-02")]})]})};a()}catch(e){a(e)}}))},84362:function(e,t,r){"use strict";r.a(e,(async function(e,a){try{r.d(t,{s:function(){return x}});var l=r(85893),n=r(67294),s=r(67421),o=r(88990),i=r(60296),d=r(86574),c=r(70794),u=e([d]);d=(u.then?(await u)():u)[0];let m={sage:(0,c.Z)("0.002").div(1e3),"gpt-3.5-turbo":(0,c.Z)("0.002").div(1e3),"gpt-3.5-turbo-0301":(0,c.Z)("0.002").div(1e3),"gpt-3.5-turbo-0613":(0,c.Z)("0.002").div(1e3),"gpt-3.5-turbo-16k":(0,c.Z)("0.002").div(1e3),"gpt-3.5-turbo-16k-0613":(0,c.Z)("0.002").div(1e3),"gpt-4":(0,c.Z)("0.03").div(1e3),"gpt-4-0314":(0,c.Z)("0.03").div(1e3),"gpt-4-0613":(0,c.Z)("0.03").div(1e3),"gpt-4-32k":(0,c.Z)("0.03").div(1e3),"gpt-4-32k-0314":(0,c.Z)("0.03").div(1e3),"gpt-4-32k-0613":(0,c.Z)("0.03").div(1e3),"claude-instant":(0,c.Z)("0.002").div(1e3),"claude-2-100k":(0,c.Z)("0.002").div(1e3),"claude-instant-100k":(0,c.Z)("0.002").div(1e3),"google-palm":(0,c.Z)("0.002").div(1e3)};function x(e){var t,r,a;let{t:c}=(0,s.$G)("chat"),{state:{selectedConversation:u}}=(0,n.useContext)(o.Z),[x,p]=(0,n.useState)(null);(0,n.useEffect)((()=>{let e=new d.OU(i.Q1,{...i.YL,"<|im_start|>":100264,"<|im_end|>":100265,"<|im_sep|>":100266},i.er);return p(e),()=>null==e?void 0:e.free()}),[]);let h=[{role:"system",content:null!==(t=null==u?void 0:u.prompt)&&void 0!==t?t:""},...null!==(r=null==u?void 0:u.messages)&&void 0!==r?r:[],{role:"user",content:null!==(a=e.content)&&void 0!==a?a:""}],f=null==u?void 0:u.model.id.startsWith("gpt-3.5-turbo"),g=f?"\n":"",v=f?"\n":"<|im_sep|>",b=[h.map((e=>{let{role:t,content:r}=e;return"<|im_start|>".concat(t).concat(v).concat(r,"<|im_end|>")})).join(g),"<|im_start|>assistant".concat(v)].join(g),y=null==x?void 0:x.encode(b,"all").length,k=m[(null==u?void 0:u.model.id)||"gpt-3.5-turbo"];return null==k||null==y?null:(0,l.jsx)("div",{className:"px-2 py-1 rounded-full pointer-events-auto bg-opacity-10 bg-neutral-300 text-neutral-400",children:c("{{count}} tokens / ${{price}}",{count:y,price:k.multipliedBy(y).toFixed()})})}a()}catch(e){a(e)}}))},79420:function(e,t,r){"use strict";r.d(t,{G:function(){return n}});var a=r(85893),l=r(90553);let n=()=>(0,a.jsx)("div",{className:"group border-b border-black/10 bg-gray-50 text-gray-800 dark:border-gray-900/50 dark:bg-[#444654] dark:text-gray-100",style:{overflowWrap:"anywhere"},children:(0,a.jsxs)("div",{className:"m-auto flex gap-4 p-4 text-base md:max-w-2xl md:gap-6 md:py-6 lg:max-w-2xl lg:px-0 xl:max-w-3xl",children:[(0,a.jsx)("div",{className:"min-w-[40px] items-end",children:(0,a.jsx)(l.Z,{size:30})}),(0,a.jsx)("span",{className:"animate-pulse cursor-default mt-1",children:"▍"})]})})},84378:function(e,t,r){"use strict";r.d(t,{Y:function(){return n}});var a=r(85893),l=r(58403);let n=e=>{let{error:t}=e;return(0,a.jsxs)("div",{className:"mx-6 flex h-full flex-col items-center justify-center text-red-500",children:[(0,a.jsx)("div",{className:"mb-5",children:(0,a.jsx)(l.Z,{size:36})}),(0,a.jsx)("div",{className:"mb-3 text-2xl font-medium",children:t.title}),t.messageLines.map(((e,t)=>(0,a.jsxs)("div",{className:"text-center",children:[" ",e," "]},t))),(0,a.jsx)("div",{className:"mt-4 text-xs opacity-50 dark:text-red-400",children:t.code?(0,a.jsxs)("i",{children:["Code: ",t.code]}):""})]})}},11085:function(e,t,r){"use strict";r.d(t,{m:function(){return S}});var a=r(67294),l=r(85893),n=r(90553),s=r(8861),o=r(21942),i=r(74075),d=r(88198),c=r(93625),u=r(61162),m=r(62716),x=r(88990),p=r(67828),h=r(80335),f=r(93179),g=r(84283);let v={javascript:".js",python:".py",java:".java",c:".c",cpp:".cpp","c++":".cpp","c#":".cs",ruby:".rb",php:".php",swift:".swift","objective-c":".m",kotlin:".kt",typescript:".ts",go:".go",perl:".pl",rust:".rs",scala:".scala",haskell:".hs",lua:".lua",shell:".sh",sql:".sql",html:".html",css:".css"},b=(0,a.memo)((e=>{let{language:t,value:r}=e,{t:n}=(0,u.$G)("markdown"),[s,o]=(0,a.useState)(!1);return(0,l.jsxs)("div",{className:"codeblock relative font-sans text-[16px]",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between py-1.5 px-4",children:[(0,l.jsx)("span",{className:"text-xs lowercase text-white",children:t}),(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsxs)("button",{className:"flex gap-1.5 items-center rounded bg-none p-1 text-xs text-white",onClick:()=>{navigator.clipboard&&navigator.clipboard.writeText&&navigator.clipboard.writeText(r).then((()=>{o(!0),setTimeout((()=>{o(!1)}),2e3)}))},children:[s?(0,l.jsx)(d.Z,{size:18}):(0,l.jsx)(p.Z,{size:18}),n(s?"Copied!":"Copy code")]}),(0,l.jsx)("button",{className:"flex items-center rounded bg-none p-1 text-xs text-white",onClick:()=>{let e=v[t]||".file",a="file-".concat(function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r="ABCDEFGHJKLMNPQRSTUVWXY3456789",a="";for(let t=0;t<e;t++)a+=r.charAt(Math.floor(30*Math.random()));return t?a.toLowerCase():a}(3,!0)).concat(e),l=window.prompt(n("Enter file name")||"",a);if(!l)return;let s=new Blob([r],{type:"text/plain"}),o=URL.createObjectURL(s),i=document.createElement("a");i.download=l,i.href=o,i.style.display="none",document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(o)},children:(0,l.jsx)(h.Z,{size:18})})]})]}),(0,l.jsx)(f.Z,{language:t,style:g.vk,customStyle:{margin:0},children:r})]})}));b.displayName="CodeBlock";var y=r(16202);let k=(0,a.memo)(y.D,((e,t)=>e.children===t.children));var w=r(45884),j=r(29758),C=r(30399);let N=(0,a.memo)((e=>{var t;let{message:r,messageIndex:p,onEdit:h}=e,{t:f}=(0,u.$G)("chat"),{state:{selectedConversation:g,conversations:v,currentMessage:y,messageIsStreaming:N},dispatch:S}=(0,a.useContext)(x.Z),[_,E]=(0,a.useState)(!1),[I,P]=(0,a.useState)(!1),[O,L]=(0,a.useState)(r.content),[G,T]=(0,a.useState)(!1),Z=(0,a.useRef)(null),A=()=>{r.content!=O&&g&&h&&h({...r,content:O}),E(!1)};return(0,a.useEffect)((()=>{L(r.content)}),[r.content]),(0,a.useEffect)((()=>{Z.current&&(Z.current.style.height="inherit",Z.current.style.height="".concat(Z.current.scrollHeight,"px"))}),[_]),(0,l.jsx)("div",{className:"group md:px-4 ".concat("assistant"===r.role?"border-b border-black/10 bg-gray-50 text-gray-800 dark:border-gray-900/50 dark:bg-[#444654] dark:text-gray-100":"border-b border-black/10 bg-white text-gray-800 dark:border-gray-900/50 dark:bg-[#343541] dark:text-gray-100"),style:{overflowWrap:"anywhere"},children:(0,l.jsxs)("div",{className:"relative m-auto flex p-4 text-base md:max-w-2xl md:gap-6 md:py-6 lg:max-w-2xl lg:px-0 xl:max-w-3xl",children:[(0,l.jsx)("div",{className:"min-w-[40px] text-right font-bold",children:"assistant"===r.role?(0,l.jsx)(n.Z,{size:30}):(0,l.jsx)(s.Z,{size:30})}),(0,l.jsx)("div",{className:"prose mt-[-2px] w-full dark:prose-invert",children:"user"===r.role?(0,l.jsxs)("div",{className:"flex w-full",children:[_?(0,l.jsxs)("div",{className:"flex w-full flex-col",children:[(0,l.jsx)("textarea",{ref:Z,className:"w-full resize-none whitespace-pre-wrap border-none dark:bg-[#343541]",value:O,onChange:e=>{L(e.target.value),Z.current&&(Z.current.style.height="inherit",Z.current.style.height="".concat(Z.current.scrollHeight,"px"))},onKeyDown:e=>{"Enter"!==e.key||I||e.shiftKey||(e.preventDefault(),A())},onCompositionStart:()=>P(!0),onCompositionEnd:()=>P(!1),style:{fontFamily:"inherit",fontSize:"inherit",lineHeight:"inherit",padding:"0",margin:"0",overflow:"hidden"}}),(0,l.jsxs)("div",{className:"mt-10 flex justify-center space-x-4",children:[(0,l.jsx)("button",{className:"h-[40px] rounded-md bg-blue-500 px-4 py-1 text-sm font-medium text-white enabled:hover:bg-blue-600 disabled:opacity-50",onClick:A,disabled:O.trim().length<=0,children:f("Save & Submit")}),(0,l.jsx)("button",{className:"h-[40px] rounded-md border border-neutral-300 px-4 py-1 text-sm font-medium text-neutral-700 hover:bg-neutral-100 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-800",onClick:()=>{L(r.content),E(!1)},children:f("Cancel")})]})]}):(0,l.jsx)("div",{className:"prose whitespace-pre-wrap dark:prose-invert flex-1",children:r.content}),!_&&(0,l.jsxs)("div",{className:"md:-mr-8 ml-1 md:ml-0 flex flex-col md:flex-row gap-4 md:gap-1 items-center md:items-start justify-end md:justify-start",children:[(0,l.jsx)("button",{className:"invisible group-hover:visible focus:visible text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300",onClick:()=>{E(!_)},children:(0,l.jsx)(o.Z,{size:20})}),(0,l.jsx)("button",{className:"invisible group-hover:visible focus:visible text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300",onClick:()=>{if(!g)return;let{messages:e}=g,t=e.findIndex((e=>e===r));if(t<0)return;t<e.length-1&&"assistant"===e[t+1].role?e.splice(t,2):e.splice(t,1);let a={...g,messages:e},{single:l,all:n}=(0,m.X1)(a,v);S({field:"selectedConversation",value:l}),S({field:"conversations",value:n})},children:(0,l.jsx)(i.Z,{size:20})})]})]}):(0,l.jsxs)("div",{className:"flex flex-row",children:[(0,l.jsx)(k,{className:"prose dark:prose-invert flex-1",remarkPlugins:[j.Z,C.Z],rehypePlugins:[w.Z],components:{code(e){let{node:t,inline:r,className:a,children:n,...s}=e;if(n.length){if("▍"==n[0])return(0,l.jsx)("span",{className:"animate-pulse cursor-default mt-1",children:"▍"});n[0]=n[0].replace("`▍`","▍")}let o=/language-(\w+)/.exec(a||"");return r?(0,l.jsx)("code",{className:a,...s,children:n}):(0,l.jsx)(b,{language:o&&o[1]||"",value:String(n).replace(/\n$/,""),...s},Math.random())},table(e){let{children:t}=e;return(0,l.jsx)("table",{className:"border-collapse border border-black px-3 py-1 dark:border-white",children:t})},th(e){let{children:t}=e;return(0,l.jsx)("th",{className:"break-words border border-black bg-gray-500 px-3 py-1 text-white dark:border-white",children:t})},td(e){let{children:t}=e;return(0,l.jsx)("td",{className:"break-words border border-black px-3 py-1 dark:border-white",children:t})}},children:"".concat(r.content).concat(N&&p==(null!==(t=null==g?void 0:g.messages.length)&&void 0!==t?t:0)-1?"`▍`":"")}),(0,l.jsx)("div",{className:"md:-mr-8 ml-1 md:ml-0 flex flex-col md:flex-row gap-4 md:gap-1 items-center md:items-start justify-end md:justify-start",children:G?(0,l.jsx)(d.Z,{size:20,className:"text-green-500 dark:text-green-400"}):(0,l.jsx)("button",{className:"invisible group-hover:visible focus:visible text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300",onClick:()=>{navigator.clipboard&&navigator.clipboard.writeText(r.content).then((()=>{T(!0),setTimeout((()=>{T(!1)}),2e3)}))},children:(0,l.jsx)(c.Z,{size:20})})})]})})]})})}));N.displayName="ChatMessage";let S=(0,a.memo)(N,((e,t)=>e.message.content===t.message.content))},11046:function(e,t,r){"use strict";r.d(t,{q:function(){return i}});var a=r(85893),l=r(93844),n=r(67294),s=r(61162),o=r(88990);let i=()=>{var e;let{t:t}=(0,s.$G)("chat"),{state:{selectedConversation:r,models:i,defaultModelId:d},handleUpdateConversation:c,dispatch:u}=(0,n.useContext)(o.Z);return(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("label",{className:"mb-2 text-left text-neutral-700 dark:text-neutral-400",children:t("Model")}),(0,a.jsx)("div",{className:"w-full rounded-lg border border-neutral-200 bg-transparent pr-2 text-neutral-900 dark:border-neutral-600 dark:text-white",children:(0,a.jsx)("select",{className:"w-full bg-transparent p-2",placeholder:t("Select a model")||"",value:(null==r||null===(e=r.model)||void 0===e?void 0:e.id)||d,onChange:e=>{r&&c(r,{key:"model",value:i.find((t=>t.id===e.target.value))})},children:i.map((e=>(0,a.jsx)("option",{value:e.id,className:"dark:bg-[#343541] dark:text-white",children:e.id===d?"Default (".concat(e.name,")"):e.name},e.id)))})}),(0,a.jsx)("div",{className:"w-full mt-3 text-left text-neutral-700 dark:text-neutral-400 flex items-center",children:(0,a.jsxs)("a",{href:"https://platform.openai.com/account/usage",target:"_blank",className:"flex items-center",children:[(0,a.jsx)(l.Z,{size:18,className:"inline mr-1"}),t("View Account Usage")]})})]})}},68452:function(e,t,r){"use strict";r.d(t,{V:function(){return o}});var a=r(85893),l=r(67294),n=r(61162),s=r(2403);let o=e=>{let{plugin:t,onPluginChange:r,onKeyDown:o}=e,{t:i}=(0,n.$G)("chat"),d=(0,l.useRef)(null);return(0,l.useEffect)((()=>{d.current&&d.current.focus()}),[]),(0,a.jsx)("div",{className:"flex flex-col",children:(0,a.jsx)("div",{className:"mb-1 w-full rounded border border-neutral-200 bg-transparent pr-2 text-neutral-900 dark:border-neutral-600 dark:text-white",children:(0,a.jsxs)("select",{ref:d,className:"w-full cursor-pointer bg-transparent p-2",placeholder:i("Select a plugin")||"",value:(null==t?void 0:t.id)||"",onChange:e=>{r(s.xN.find((t=>t.id===e.target.value)))},onKeyDown:e=>{(e=>{let t=d.current,a=(null==t?void 0:t.options.length)||0;"/"===e.key&&e.metaKey?(e.preventDefault(),t&&(t.selectedIndex=(t.selectedIndex+1)%a,t.dispatchEvent(new Event("change")))):"/"===e.key&&e.shiftKey&&e.metaKey?(e.preventDefault(),t&&(t.selectedIndex=(t.selectedIndex-1+a)%a,t.dispatchEvent(new Event("change")))):"Enter"===e.key?(e.preventDefault(),t&&t.dispatchEvent(new Event("change")),r(s.xN.find((e=>e.name===(null==t?void 0:t.selectedOptions[0].innerText))))):o(e)})(e)},children:[(0,a.jsx)("option",{value:"chatgpt",className:"dark:bg-[#343541] dark:text-white",children:"ChatGPT"},"chatgpt"),s.xN.map((e=>(0,a.jsx)("option",{value:e.id,className:"dark:bg-[#343541] dark:text-white",children:e.name},e.id)))]})})})}},9707:function(e,t,r){"use strict";r.d(t,{t:function(){return l}});var a=r(85893);let l=e=>{let{prompts:t,activePromptIndex:r,onSelect:l,onMouseOver:n,promptListRef:s}=e;return(0,a.jsx)("ul",{ref:s,className:"z-10 max-h-52 w-full overflow-scroll rounded border border-black/10 bg-white shadow-[0_0_10px_rgba(0,0,0,0.10)] dark:border-neutral-500 dark:bg-[#343541] dark:text-white dark:shadow-[0_0_15px_rgba(0,0,0,0.10)]",children:t.map(((e,t)=>(0,a.jsx)("li",{className:"".concat(t===r?"bg-gray-200 dark:bg-[#202123] dark:text-black":""," cursor-pointer px-3 py-2 text-sm text-black dark:text-white"),onClick:e=>{e.preventDefault(),e.stopPropagation(),l()},onMouseEnter:()=>n(t),children:e.name},e.id)))})}},41347:function(e,t,r){"use strict";r.d(t,{r:function(){return d}});var a=r(85893),l=r(67294),n=r(61162),s=r(64689),o=r(9707),i=r(97939);let d=e=>{var t;let{conversation:r,prompts:d,onChangePrompt:c}=e,{t:u}=(0,n.$G)("chat"),[m,x]=(0,l.useState)(""),[p,h]=(0,l.useState)(0),[f,g]=(0,l.useState)(!1),[v,b]=(0,l.useState)(""),[y,k]=(0,l.useState)([]),[w,j]=(0,l.useState)(!1),C=(0,l.useRef)(null),N=(0,l.useRef)(null),S=d.filter((e=>e.name.toLowerCase().includes(v.toLowerCase()))),_=()=>{let e=S[p];x((t=>null==t?void 0:t.replace(/\/\w*$/,e.content))),I(e),g(!1)},E=(0,l.useCallback)((e=>{let t=e.match(/\/\w*$/);t?(g(!0),b(t[0].slice(1))):(g(!1),b(""))}),[]),I=e=>{let t=(e=>{let t,r=/{{(.*?)}}/g,a=[];for(;null!==(t=r.exec(e));)a.push(t[1]);return a})(e.content);if(k(t),t.length>0)j(!0);else{let t=null==m?void 0:m.replace(/\/\w*$/,e.content);x(t),c(t),E(e.content)}};return(0,l.useEffect)((()=>{var e;C&&C.current&&(C.current.style.height="inherit",C.current.style.height="".concat(null===(e=C.current)||void 0===e?void 0:e.scrollHeight,"px"))}),[m]),(0,l.useEffect)((()=>{r.prompt?x(r.prompt):x(s.cl)}),[r]),(0,l.useEffect)((()=>{let e=e=>{N.current&&!N.current.contains(e.target)&&g(!1)};return window.addEventListener("click",e),()=>{window.removeEventListener("click",e)}}),[]),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("label",{className:"mb-2 text-left text-neutral-700 dark:text-neutral-400",children:u("System Prompt")}),(0,a.jsx)("textarea",{ref:C,className:"w-full rounded-lg border border-neutral-200 bg-transparent px-4 py-3 text-neutral-900 dark:border-neutral-600 dark:text-neutral-100",style:{resize:"none",bottom:"".concat(null==C||null===(t=C.current)||void 0===t?void 0:t.scrollHeight,"px"),maxHeight:"300px",overflow:"".concat(C.current&&C.current.scrollHeight>400?"auto":"hidden")},placeholder:u('Enter a prompt or type "/" to select a prompt...')||"",value:u(m)||"",rows:1,onChange:e=>{let t=e.target.value,a=r.model.maxLength;t.length>a?alert(u("Prompt limit is {{maxLength}} characters. You have entered {{valueLength}} characters.",{maxLength:a,valueLength:t.length})):(x(t),E(t),t.length>0&&c(t))},onKeyDown:e=>{f&&("ArrowDown"===e.key?(e.preventDefault(),h((e=>e<d.length-1?e+1:e))):"ArrowUp"===e.key?(e.preventDefault(),h((e=>e>0?e-1:e))):"Tab"===e.key?(e.preventDefault(),h((e=>e<d.length-1?e+1:0))):"Enter"===e.key?(e.preventDefault(),_()):"Escape"===e.key?(e.preventDefault(),g(!1)):h(0))}}),f&&S.length>0&&(0,a.jsx)("div",{children:(0,a.jsx)(o.t,{activePromptIndex:p,prompts:S,onSelect:_,onMouseOver:h,promptListRef:N})}),w&&(0,a.jsx)(i.g,{prompt:d[p],variables:y,onSubmit:e=>{let t=null==m?void 0:m.replace(/{{(.*?)}}/g,((t,r)=>{let a=y.indexOf(r);return e[a]}));x(t),c(t),C&&C.current&&C.current.focus()},onClose:()=>j(!1)})]})}},10094:function(e,t,r){"use strict";r.d(t,{$:function(){return i}});var a=r(85893),l=r(67294),n=r(61162),s=r(64689),o=r(88990);let i=e=>{var t;let{label:r,onChangeTemperature:i}=e,{state:{conversations:d}}=(0,l.useContext)(o.Z),c=d[d.length-1],[u,m]=(0,l.useState)(null!==(t=null==c?void 0:c.temperature)&&void 0!==t?t:s.Ar),{t:x}=(0,n.$G)("chat");return(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("label",{className:"mb-2 text-left text-neutral-700 dark:text-neutral-400",children:r}),(0,a.jsx)("span",{className:"text-[12px] text-black/50 dark:text-white/50 text-sm",children:x("Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.")}),(0,a.jsx)("span",{className:"mt-2 mb-1 text-center text-neutral-900 dark:text-neutral-100",children:u.toFixed(1)}),(0,a.jsx)("input",{className:"cursor-pointer",type:"range",min:0,max:1,step:.1,value:u,onChange:e=>{let t=parseFloat(e.target.value);m(t),i(t)}}),(0,a.jsxs)("ul",{className:"w mt-2 pb-8 flex justify-between px-[24px] text-neutral-900 dark:text-neutral-100",children:[(0,a.jsx)("li",{className:"flex justify-center",children:(0,a.jsx)("span",{className:"absolute",children:x("Precise")})}),(0,a.jsx)("li",{className:"flex justify-center",children:(0,a.jsx)("span",{className:"absolute",children:x("Neutral")})}),(0,a.jsx)("li",{className:"flex justify-center",children:(0,a.jsx)("span",{className:"absolute",children:x("Creative")})})]})]})}},97939:function(e,t,r){"use strict";r.d(t,{g:function(){return n}});var a=r(85893),l=r(67294);let n=e=>{let{prompt:t,variables:r,onSubmit:n,onClose:s}=e,[o,i]=(0,l.useState)(r.map((e=>({key:e,value:""}))).filter(((e,t,r)=>r.findIndex((t=>t.key===e.key))===t))),d=(0,l.useRef)(null),c=(0,l.useRef)(null),u=()=>{o.some((e=>""===e.value))?alert("Please fill out all variables"):(n(o.map((e=>e.value))),s())};return(0,l.useEffect)((()=>{let e=e=>{d.current&&!d.current.contains(e.target)&&s()};return window.addEventListener("click",e),()=>{window.removeEventListener("click",e)}}),[s]),(0,l.useEffect)((()=>{c.current&&c.current.focus()}),[]),(0,a.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onKeyDown:e=>{"Enter"!==e.key||e.shiftKey?"Escape"===e.key&&s():(e.preventDefault(),u())},children:(0,a.jsxs)("div",{ref:d,className:"dark:border-netural-400 inline-block max-h-[400px] transform overflow-y-auto rounded-lg border border-gray-300 bg-white px-4 pt-5 pb-4 text-left align-bottom shadow-xl transition-all dark:bg-[#202123] sm:my-8 sm:max-h-[600px] sm:w-full sm:max-w-lg sm:p-6 sm:align-middle",role:"dialog",children:[(0,a.jsx)("div",{className:"mb-4 text-xl font-bold text-black dark:text-neutral-200",children:t.name}),(0,a.jsx)("div",{className:"mb-4 text-sm italic text-black dark:text-neutral-200",children:t.description}),o.map(((e,t)=>(0,a.jsxs)("div",{className:"mb-4",children:[(0,a.jsx)("div",{className:"mb-2 text-sm font-bold text-neutral-200",children:e.key}),(0,a.jsx)("textarea",{ref:0===t?c:void 0,className:"mt-1 w-full rounded-lg border border-neutral-500 px-4 py-2 text-neutral-900 shadow focus:outline-none dark:border-neutral-800 dark:border-opacity-50 dark:bg-[#40414F] dark:text-neutral-100",style:{resize:"none"},placeholder:"Enter a value for ".concat(e.key,"..."),value:e.value,onChange:e=>((e,t)=>{i((r=>{let a=[...r];return a[e].value=t,a}))})(t,e.target.value),rows:3})]},t))),(0,a.jsx)("button",{className:"mt-6 w-full rounded-lg border border-neutral-500 px-4 py-2 text-neutral-900 shadow hover:bg-neutral-100 focus:outline-none dark:border-neutral-800 dark:border-opacity-50 dark:bg-white dark:text-black dark:hover:bg-neutral-300",onClick:u,children:"Submit"})]})})}},63845:function(e,t,r){"use strict";r.d(t,{W:function(){return U}});var a=r(85893),l=r(67294),n=r(61162),s=r(81058),o=r(64689),i=r(62716),d=r(76921),c=r(79913);let u=e=>{let{history:t,folders:r,prompts:a}=function(e){if(Array.isArray(e))return{version:4,history:(0,c.m)(e),folders:[],prompts:[]};if(!("version"in e)&&"folders"in e&&"history"in e)return{version:4,history:(0,c.m)(e.history||[]),folders:(e.folders||[]).map((e=>({id:e.id.toString(),name:e.name,type:"chat"}))),prompts:[]};if(3===e.version)return{...e,version:4,prompts:[]};if(4===e.version)return e;throw Error("Unsupported data format")}(e),l=localStorage.getItem("conversationHistory"),n=[...l?JSON.parse(l):[],...t].filter(((e,t,r)=>t===r.findIndex((t=>t.id===e.id))));localStorage.setItem("conversationHistory",JSON.stringify(n)),n.length>0?localStorage.setItem("selectedConversation",JSON.stringify(n[n.length-1])):localStorage.removeItem("selectedConversation");let s=localStorage.getItem("folders"),o=[...s?JSON.parse(s):[],...r].filter(((e,t,r)=>t===r.findIndex((t=>t.id===e.id))));localStorage.setItem("folders",JSON.stringify(o));let i=localStorage.getItem("prompts"),d=[...i?JSON.parse(i):[],...a].filter(((e,t,r)=>t===r.findIndex((t=>t.id===e.id))));return localStorage.setItem("prompts",JSON.stringify(d)),{version:4,history:n,folders:o,prompts:d}};var m=r(41910),x=r(88990),p=r(35887),h=r(47447),f=r(88198),g=r(97283),v=r(30471),b=r(74075),y=r(87766);let k=(0,l.createContext)(void 0),w=e=>{let{conversation:t}=e,{state:{selectedConversation:r,messageIsStreaming:n},handleSelectConversation:s,handleUpdateConversation:o}=(0,l.useContext)(x.Z),{handleDeleteConversation:i}=(0,l.useContext)(k),[d,c]=(0,l.useState)(!1),[u,m]=(0,l.useState)(!1),[p,w]=(0,l.useState)(""),j=e=>{p.trim().length>0&&(o(e,{key:"name",value:p}),w(""),m(!1))};return(0,l.useEffect)((()=>{u?c(!1):d&&m(!1)}),[u,d]),(0,a.jsxs)("div",{className:"relative flex items-center",children:[u&&(null==r?void 0:r.id)===t.id?(0,a.jsxs)("div",{className:"flex w-full items-center gap-3 rounded-lg bg-[#343541]/90 p-3",children:[(0,a.jsx)(h.Z,{size:18}),(0,a.jsx)("input",{className:"mr-12 flex-1 overflow-hidden overflow-ellipsis border-neutral-400 bg-transparent text-left text-[12.5px] leading-3 text-white outline-none focus:border-neutral-100",type:"text",value:p,onChange:e=>w(e.target.value),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),r&&j(r))},autoFocus:!0})]}):(0,a.jsxs)("button",{className:"flex w-full cursor-pointer items-center gap-3 rounded-lg p-3 text-sm transition-colors duration-200 hover:bg-[#343541]/90 ".concat(n?"disabled:cursor-not-allowed":""," ").concat((null==r?void 0:r.id)===t.id?"bg-[#343541]/90":""),onClick:()=>s(t),disabled:n,draggable:"true",onDragStart:e=>((e,t)=>{e.dataTransfer&&e.dataTransfer.setData("conversation",JSON.stringify(t))})(e,t),children:[(0,a.jsx)(h.Z,{size:18}),(0,a.jsx)("div",{className:"relative max-h-5 flex-1 overflow-hidden text-ellipsis whitespace-nowrap break-all text-left text-[12.5px] leading-3 ".concat((null==r?void 0:r.id)===t.id?"pr-12":"pr-1"),children:t.name})]}),(d||u)&&(null==r?void 0:r.id)===t.id&&(0,a.jsxs)("div",{className:"absolute right-1 z-10 flex text-gray-300",children:[(0,a.jsx)(y.Z,{handleClick:e=>{e.stopPropagation(),d?i(t):u&&j(t),c(!1),m(!1)},children:(0,a.jsx)(f.Z,{size:18})}),(0,a.jsx)(y.Z,{handleClick:e=>{e.stopPropagation(),c(!1),m(!1)},children:(0,a.jsx)(g.Z,{size:18})})]}),(null==r?void 0:r.id)===t.id&&!d&&!u&&(0,a.jsxs)("div",{className:"absolute right-1 z-10 flex text-gray-300",children:[(0,a.jsx)(y.Z,{handleClick:e=>{e.stopPropagation(),m(!0),r&&w(r.name)},children:(0,a.jsx)(v.Z,{size:18})}),(0,a.jsx)(y.Z,{handleClick:e=>{e.stopPropagation(),c(!0)},children:(0,a.jsx)(b.Z,{size:18})})]})]})},j=e=>{let{searchTerm:t}=e,{state:{folders:r,conversations:n},handleUpdateConversation:s}=(0,l.useContext)(x.Z),o=(e,t)=>{if(e.dataTransfer){let r=JSON.parse(e.dataTransfer.getData("conversation"));s(r,{key:"folderId",value:t.id})}},i=e=>n&&n.filter((e=>e.folderId)).map(((t,r)=>{if(t.folderId===e.id)return(0,a.jsx)("div",{className:"ml-5 gap-2 border-l pl-2",children:(0,a.jsx)(w,{conversation:t})},r)}));return(0,a.jsx)("div",{className:"flex w-full flex-col pt-2",children:r.filter((e=>"chat"===e.type)).sort(((e,t)=>e.name.localeCompare(t.name))).map(((e,r)=>(0,a.jsx)(p.Z,{searchTerm:t,currentFolder:e,handleDrop:o,folderComponent:i(e)},r)))})};var C=r(75846),N=r(33111),S=r(49089);let _=e=>{let{open:t,onClose:r}=e,{t:o}=(0,n.$G)("settings"),i=(0,S.G)(),{state:d,dispatch:c}=(0,s.L)({initialState:i}),{dispatch:u}=(0,l.useContext)(x.Z),m=(0,l.useRef)(null);(0,l.useEffect)((()=>{let e=e=>{m.current&&!m.current.contains(e.target)&&window.addEventListener("mouseup",t)},t=e=>{window.removeEventListener("mouseup",t),r()};return window.addEventListener("mousedown",e),()=>{window.removeEventListener("mousedown",e)}}),[r]);return t?(0,a.jsx)("div",{className:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-50",children:(0,a.jsx)("div",{className:"fixed inset-0 z-10 overflow-hidden",children:(0,a.jsxs)("div",{className:"flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0",children:[(0,a.jsx)("div",{className:"hidden sm:inline-block sm:h-screen sm:align-middle","aria-hidden":"true"}),(0,a.jsxs)("div",{ref:m,className:"dark:border-netural-400 inline-block max-h-[400px] transform overflow-y-auto rounded-lg border border-gray-300 bg-white px-4 pt-5 pb-4 text-left align-bottom shadow-xl transition-all dark:bg-[#202123] sm:my-8 sm:max-h-[600px] sm:w-full sm:max-w-lg sm:p-6 sm:align-middle",role:"dialog",children:[(0,a.jsx)("div",{className:"text-lg pb-4 font-bold text-black dark:text-neutral-200",children:o("Settings")}),(0,a.jsx)("div",{className:"text-sm font-bold mb-2 text-black dark:text-neutral-200",children:o("Theme")}),(0,a.jsxs)("select",{className:"w-full cursor-pointer bg-transparent p-2 text-neutral-700 dark:text-neutral-200",value:d.theme,onChange:e=>c({field:"theme",value:e.target.value}),children:[(0,a.jsx)("option",{value:"dark",children:o("Dark mode")}),(0,a.jsx)("option",{value:"light",children:o("Light mode")})]}),(0,a.jsx)("button",{type:"button",className:"w-full px-4 py-2 mt-6 border rounded-lg shadow border-neutral-500 text-neutral-900 hover:bg-neutral-100 focus:outline-none dark:border-neutral-800 dark:border-opacity-50 dark:bg-white dark:text-black dark:hover:bg-neutral-300",onClick:()=>{u({field:"lightMode",value:d.theme}),(0,S.z)(d),r()},children:o("Save")})]})]})})}):(0,a.jsx)(a.Fragment,{})};var E=r(52216);let I=e=>{let{text:t,icon:r,onClick:l}=e;return(0,a.jsxs)("button",{className:"flex w-full cursor-pointer select-none items-center gap-3 rounded-md py-3 px-3 text-[14px] leading-3 text-white transition-colors duration-200 hover:bg-gray-500/10",onClick:l,children:[(0,a.jsx)("div",{children:r}),(0,a.jsx)("span",{children:t})]})},P=e=>{let{onImport:t}=e,{t:r}=(0,n.$G)("sidebar");return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("input",{id:"import-file",className:"sr-only",tabIndex:-1,type:"file",accept:".json",onChange:e=>{var r;if(!(null===(r=e.target.files)||void 0===r?void 0:r.length))return;let a=e.target.files[0],l=new FileReader;l.onload=e=>{var r;t(JSON.parse(null===(r=e.target)||void 0===r?void 0:r.result))},l.readAsText(a)}}),(0,a.jsx)(I,{text:r("Import data"),icon:(0,a.jsx)(E.Z,{size:18}),onClick:()=>{let e=document.querySelector("#import-file");e&&e.click()}})]})};var O=r(35336);let L=e=>{let{apiKey:t,onApiKeyChange:r}=e,{t:s}=(0,n.$G)("sidebar"),[o,i]=(0,l.useState)(!1),[d,c]=(0,l.useState)(t),u=(0,l.useRef)(null),m=e=>{r(e.trim()),i(!1)};return(0,l.useEffect)((()=>{var e;o&&(null===(e=u.current)||void 0===e||e.focus())}),[o]),o?(0,a.jsxs)("div",{className:"duration:200 flex w-full cursor-pointer items-center rounded-md py-3 px-3 transition-colors hover:bg-gray-500/10",children:[(0,a.jsx)(O.Z,{size:18}),(0,a.jsx)("input",{ref:u,className:"ml-2 h-[20px] flex-1 overflow-hidden overflow-ellipsis border-b border-neutral-400 bg-transparent pr-1 text-[12.5px] leading-3 text-left text-white outline-none focus:border-neutral-100",type:"password",value:d,onChange:e=>c(e.target.value),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),m(d))},placeholder:s("API Key")||"API Key"}),(0,a.jsxs)("div",{className:"flex w-[40px]",children:[(0,a.jsx)(f.Z,{className:"ml-auto min-w-[20px] text-neutral-400 hover:text-neutral-100",size:18,onClick:e=>{e.stopPropagation(),m(d)}}),(0,a.jsx)(g.Z,{className:"ml-auto min-w-[20px] text-neutral-400 hover:text-neutral-100",size:18,onClick:e=>{e.stopPropagation(),i(!1),c(t)}})]})]}):(0,a.jsx)(I,{text:s("OpenAI API Key"),icon:(0,a.jsx)(O.Z,{size:18}),onClick:()=>i(!0)})},G=e=>{let{onClearConversations:t}=e,[r,s]=(0,l.useState)(!1),{t:o}=(0,n.$G)("sidebar");return r?(0,a.jsxs)("div",{className:"flex w-full cursor-pointer items-center rounded-lg py-3 px-3 hover:bg-gray-500/10",children:[(0,a.jsx)(b.Z,{size:18}),(0,a.jsx)("div",{className:"ml-3 flex-1 text-left text-[12.5px] leading-3 text-white",children:o("Are you sure?")}),(0,a.jsxs)("div",{className:"flex w-[40px]",children:[(0,a.jsx)(f.Z,{className:"ml-auto mr-1 min-w-[20px] text-neutral-400 hover:text-neutral-100",size:18,onClick:e=>{e.stopPropagation(),t(),s(!1)}}),(0,a.jsx)(g.Z,{className:"ml-auto min-w-[20px] text-neutral-400 hover:text-neutral-100",size:18,onClick:e=>{e.stopPropagation(),s(!1)}})]})]}):(0,a.jsx)(I,{text:o("Clear conversations"),icon:(0,a.jsx)(b.Z,{size:18}),onClick:()=>s(!0)})};var T=r(67421),Z=r(2403);let A=()=>{var e,t,r,n;let{t:s}=(0,T.$G)("sidebar"),{state:{pluginKeys:o}}=(0,l.useContext)(x.Z),{handlePluginKeyChange:i,handleClearPluginKey:d}=(0,l.useContext)(k),[c,u]=(0,l.useState)(!1),m=(0,l.useRef)(null);return(0,l.useEffect)((()=>{let e=e=>{m.current&&!m.current.contains(e.target)&&window.addEventListener("mouseup",t)},t=e=>{window.removeEventListener("mouseup",t),u(!1)};return window.addEventListener("mousedown",e),()=>{window.removeEventListener("mousedown",e)}}),[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(I,{text:s("Plugin Keys"),icon:(0,a.jsx)(O.Z,{size:18}),onClick:()=>u(!0)}),c&&(0,a.jsx)("div",{className:"z-100 fixed inset-0 flex items-center justify-center bg-black bg-opacity-50",onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),u(!1))},children:(0,a.jsx)("div",{className:"fixed inset-0 z-10 overflow-hidden",children:(0,a.jsxs)("div",{className:"flex min-h-screen items-center justify-center px-4 pt-4 pb-20 text-center sm:block sm:p-0",children:[(0,a.jsx)("div",{className:"hidden sm:inline-block sm:h-screen sm:align-middle","aria-hidden":"true"}),(0,a.jsxs)("div",{ref:m,className:"dark:border-netural-400 inline-block max-h-[400px] transform overflow-y-auto rounded-lg border border-gray-300 bg-white px-4 pt-5 pb-4 text-left align-bottom shadow-xl transition-all dark:bg-[#202123] sm:my-8 sm:max-h-[600px] sm:w-full sm:max-w-lg sm:p-6 sm:align-middle",role:"dialog",children:[(0,a.jsx)("div",{className:"mb-10 text-4xl",children:"Plugin Keys"}),(0,a.jsxs)("div",{className:"mt-6 rounded border p-4",children:[(0,a.jsx)("div",{className:"text-xl font-bold",children:"Google Search Plugin"}),(0,a.jsx)("div",{className:"mt-4 italic",children:"Please enter your Google API Key and Google CSE ID to enable the Google Search Plugin."}),(0,a.jsx)("div",{className:"mt-6 text-sm font-bold text-black dark:text-neutral-200",children:"Google API Key"}),(0,a.jsx)("input",{className:"mt-2 w-full rounded-lg border border-neutral-500 px-4 py-2 text-neutral-900 shadow focus:outline-none dark:border-neutral-800 dark:border-opacity-50 dark:bg-[#40414F] dark:text-neutral-100",type:"password",value:null===(e=null===(t=o.find((e=>e.pluginId===Z.PO.GOOGLE_SEARCH)))||void 0===t?void 0:t.requiredKeys.find((e=>"GOOGLE_API_KEY"===e.key)))||void 0===e?void 0:e.value,onChange:e=>{let t=o.find((e=>e.pluginId===Z.PO.GOOGLE_SEARCH));if(t){let r=t.requiredKeys.find((e=>"GOOGLE_API_KEY"===e.key));if(r){let r={...t,requiredKeys:t.requiredKeys.map((t=>"GOOGLE_API_KEY"===t.key?{...t,value:e.target.value}:t))};i(r)}}else{let t={pluginId:Z.PO.GOOGLE_SEARCH,requiredKeys:[{key:"GOOGLE_API_KEY",value:e.target.value},{key:"GOOGLE_CSE_ID",value:""}]};i(t)}}}),(0,a.jsx)("div",{className:"mt-6 text-sm font-bold text-black dark:text-neutral-200",children:"Google CSE ID"}),(0,a.jsx)("input",{className:"mt-2 w-full rounded-lg border border-neutral-500 px-4 py-2 text-neutral-900 shadow focus:outline-none dark:border-neutral-800 dark:border-opacity-50 dark:bg-[#40414F] dark:text-neutral-100",type:"password",value:null===(r=null===(n=o.find((e=>e.pluginId===Z.PO.GOOGLE_SEARCH)))||void 0===n?void 0:n.requiredKeys.find((e=>"GOOGLE_CSE_ID"===e.key)))||void 0===r?void 0:r.value,onChange:e=>{let t=o.find((e=>e.pluginId===Z.PO.GOOGLE_SEARCH));if(t){let r=t.requiredKeys.find((e=>"GOOGLE_CSE_ID"===e.key));if(r){let r={...t,requiredKeys:t.requiredKeys.map((t=>"GOOGLE_CSE_ID"===t.key?{...t,value:e.target.value}:t))};i(r)}}else{let t={pluginId:Z.PO.GOOGLE_SEARCH,requiredKeys:[{key:"GOOGLE_API_KEY",value:""},{key:"GOOGLE_CSE_ID",value:e.target.value}]};i(t)}}}),(0,a.jsx)("button",{className:"mt-6 w-full rounded-lg border border-neutral-500 px-4 py-2 text-neutral-900 shadow hover:bg-neutral-100 focus:outline-none dark:border-neutral-800 dark:border-opacity-50 dark:bg-white dark:text-black dark:hover:bg-neutral-300",onClick:()=>{let e=o.find((e=>e.pluginId===Z.PO.GOOGLE_SEARCH));e&&d(e)},children:"Clear Google Search Plugin Keys"})]}),(0,a.jsx)("button",{type:"button",className:"mt-6 w-full rounded-lg border border-neutral-500 px-4 py-2 text-neutral-900 shadow hover:bg-neutral-100 focus:outline-none dark:border-neutral-800 dark:border-opacity-50 dark:bg-white dark:text-black dark:hover:bg-neutral-300",onClick:()=>u(!1),children:s("Save")})]})]})})})]})},K=()=>{let{t:e}=(0,n.$G)("sidebar"),[t,r]=(0,l.useState)(!1),{state:{apiKey:s,lightMode:o,serverSideApiKeyIsSet:i,serverSidePluginKeysSet:d,conversations:c},dispatch:u}=(0,l.useContext)(x.Z),{handleClearConversations:m,handleImportConversations:p,handleExportData:h,handleApiKeyChange:f}=(0,l.useContext)(k);return(0,a.jsxs)("div",{className:"flex flex-col items-center space-y-1 border-t border-white/20 pt-1 text-sm",children:[c.length>0?(0,a.jsx)(G,{onClearConversations:m}):null,(0,a.jsx)(P,{onImport:p}),(0,a.jsx)(I,{text:e("Export data"),icon:(0,a.jsx)(C.Z,{size:18}),onClick:()=>h()}),(0,a.jsx)(I,{text:e("Settings"),icon:(0,a.jsx)(N.Z,{size:18}),onClick:()=>r(!0)}),i?null:(0,a.jsx)(L,{apiKey:s,onApiKeyChange:f}),d?null:(0,a.jsx)(A,{}),(0,a.jsx)(_,{open:t,onClose:()=>{r(!1)}})]})},D=e=>{let{conversations:t}=e;return(0,a.jsx)("div",{className:"flex w-full flex-col gap-1",children:t.filter((e=>!e.folderId)).slice().reverse().map(((e,t)=>(0,a.jsx)(w,{conversation:e},t)))})};var z=r(27301);let R={searchTerm:"",filteredConversations:[]};var M=r(57632);let U=()=>{let{t:e}=(0,n.$G)("sidebar"),t=(0,s.L)({initialState:R}),{state:{conversations:r,showChatbar:c,defaultModelId:p,folders:h,pluginKeys:f},dispatch:g,handleCreateFolder:v,handleNewConversation:b,handleUpdateConversation:y}=(0,l.useContext)(x.Z),{state:{searchTerm:w,filteredConversations:C},dispatch:N}=t,S=(0,l.useCallback)((e=>{g({field:"apiKey",value:e}),localStorage.setItem("apiKey",e)}),[g]);return(0,l.useEffect)((()=>{N(w?{field:"filteredConversations",value:r.filter((e=>(e.name.toLocaleLowerCase()+" "+e.messages.map((e=>e.content)).join(" ")).toLowerCase().includes(w.toLowerCase())))}:{field:"filteredConversations",value:r})}),[w,r]),(0,a.jsx)(k.Provider,{value:{...t,handleDeleteConversation:t=>{let a=r.filter((e=>e.id!==t.id));g({field:"conversations",value:a}),N({field:"searchTerm",value:""}),(0,i.fB)(a),a.length>0?(g({field:"selectedConversation",value:a[a.length-1]}),(0,i.m7)(a[a.length-1])):(p&&g({field:"selectedConversation",value:{id:(0,M.Z)(),name:e("New Conversation"),messages:[],model:m.MU[p],prompt:o.cl,temperature:o.Ar,folderId:null}}),localStorage.removeItem("selectedConversation"))},handleClearConversations:()=>{p&&g({field:"selectedConversation",value:{id:(0,M.Z)(),name:e("New Conversation"),messages:[],model:m.MU[p],prompt:o.cl,temperature:o.Ar,folderId:null}}),g({field:"conversations",value:[]}),localStorage.removeItem("conversationHistory"),localStorage.removeItem("selectedConversation");let t=h.filter((e=>"chat"!==e.type));g({field:"folders",value:t}),(0,d._)(t)},handleImportConversations:e=>{let{history:t,folders:r,prompts:a}=u(e);g({field:"conversations",value:t}),g({field:"selectedConversation",value:t[t.length-1]}),g({field:"folders",value:r}),g({field:"prompts",value:a}),window.location.reload()},handleExportData:()=>{(()=>{let e=localStorage.getItem("conversationHistory"),t=localStorage.getItem("folders"),r=localStorage.getItem("prompts");e&&(e=JSON.parse(e)),t&&(t=JSON.parse(t)),r&&(r=JSON.parse(r));let a={version:4,history:e||[],folders:t||[],prompts:r||[]},l=new Blob([JSON.stringify(a,null,2)],{type:"application/json"}),n=URL.createObjectURL(l),s=document.createElement("a");s.download="chatbot_ui_history_".concat(function(){let e=new Date,t=e.getMonth()+1,r=e.getDate();return"".concat(t,"-").concat(r)}(),".json"),s.href=n,s.style.display="none",document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(n)})()},handlePluginKeyChange:e=>{if(f.some((t=>t.pluginId===e.pluginId))){let t=f.map((t=>t.pluginId===e.pluginId?e:t));g({field:"pluginKeys",value:t}),localStorage.setItem("pluginKeys",JSON.stringify(t))}else g({field:"pluginKeys",value:[...f,e]}),localStorage.setItem("pluginKeys",JSON.stringify([...f,e]))},handleClearPluginKey:e=>{let t=f.filter((t=>t.pluginId!==e.pluginId));if(0===t.length)return g({field:"pluginKeys",value:[]}),void localStorage.removeItem("pluginKeys");g({field:"pluginKeys",value:t}),localStorage.setItem("pluginKeys",JSON.stringify(t))},handleApiKeyChange:S},children:(0,a.jsx)(z.Z,{side:"left",isOpen:c,addItemButtonTitle:e("New chat"),itemComponent:(0,a.jsx)(D,{conversations:C}),folderComponent:(0,a.jsx)(j,{searchTerm:w}),items:C,searchTerm:w,handleSearchTerm:e=>N({field:"searchTerm",value:e}),toggleOpen:()=>{g({field:"showChatbar",value:!c}),localStorage.setItem("showChatbar",JSON.stringify(!c))},handleCreateItem:b,handleCreateFolder:()=>v(e("New folder"),"chat"),handleDrop:e=>{if(e.dataTransfer){let t=JSON.parse(e.dataTransfer.getData("conversation"));y(t,{key:"folderId",value:0}),N({field:"searchTerm",value:""}),e.target.style.background="none"}},footerComponent:(0,a.jsx)(K,{})})})}},35887:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});var a=r(85893),l=r(87664),n=r(62577),s=r(88198),o=r(97283),i=r(30471),d=r(74075),c=r(67294),u=r(88990),m=r(87766);var x=e=>{let{currentFolder:t,searchTerm:r,handleDrop:x,folderComponent:p}=e,{handleDeleteFolder:h,handleUpdateFolder:f}=(0,c.useContext)(u.Z),[g,v]=(0,c.useState)(!1),[b,y]=(0,c.useState)(!1),[k,w]=(0,c.useState)(""),[j,C]=(0,c.useState)(!1),N=()=>{f(t.id,k),w(""),y(!1)};return(0,c.useEffect)((()=>{b?v(!1):g&&y(!1)}),[b,g]),(0,c.useEffect)((()=>{C(!!r)}),[r]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"relative flex items-center",children:[b?(0,a.jsxs)("div",{className:"flex w-full items-center gap-3 bg-[#343541]/90 p-3",children:[j?(0,a.jsx)(l.Z,{size:18}):(0,a.jsx)(n.Z,{size:18}),(0,a.jsx)("input",{className:"mr-12 flex-1 overflow-hidden overflow-ellipsis border-neutral-400 bg-transparent text-left text-[12.5px] leading-3 text-white outline-none focus:border-neutral-100",type:"text",value:k,onChange:e=>w(e.target.value),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),N())},autoFocus:!0})]}):(0,a.jsxs)("button",{className:"flex w-full cursor-pointer items-center gap-3 rounded-lg p-3 text-sm transition-colors duration-200 hover:bg-[#343541]/90",onClick:()=>C(!j),onDrop:e=>(e=>{e.dataTransfer&&(C(!0),x(e,t),e.target.style.background="none")})(e),onDragOver:e=>{e.preventDefault()},onDragEnter:e=>{e.target.style.background="#343541"},onDragLeave:e=>{e.target.style.background="none"},children:[j?(0,a.jsx)(l.Z,{size:18}):(0,a.jsx)(n.Z,{size:18}),(0,a.jsx)("div",{className:"relative max-h-5 flex-1 overflow-hidden text-ellipsis whitespace-nowrap break-all text-left text-[12.5px] leading-3",children:t.name})]}),(g||b)&&(0,a.jsxs)("div",{className:"absolute right-1 z-10 flex text-gray-300",children:[(0,a.jsx)(m.Z,{handleClick:e=>{e.stopPropagation(),g?h(t.id):b&&N(),v(!1),y(!1)},children:(0,a.jsx)(s.Z,{size:18})}),(0,a.jsx)(m.Z,{handleClick:e=>{e.stopPropagation(),v(!1),y(!1)},children:(0,a.jsx)(o.Z,{size:18})})]}),!g&&!b&&(0,a.jsxs)("div",{className:"absolute right-1 z-10 flex text-gray-300",children:[(0,a.jsx)(m.Z,{handleClick:e=>{e.stopPropagation(),y(!0),w(t.name)},children:(0,a.jsx)(i.Z,{size:18})}),(0,a.jsx)(m.Z,{handleClick:e=>{e.stopPropagation(),v(!0)},children:(0,a.jsx)(d.Z,{size:18})})]})]}),j?p:null]})}},76262:function(e,t,r){"use strict";r.d(t,{w:function(){return n}});var a=r(85893),l=r(1177);let n=e=>{let{selectedConversation:t,onNewConversation:r}=e;return(0,a.jsxs)("nav",{className:"flex w-full justify-between bg-[#202123] py-3 px-4",children:[(0,a.jsx)("div",{className:"mr-4"}),(0,a.jsx)("div",{className:"max-w-[240px] overflow-hidden text-ellipsis whitespace-nowrap",children:t.name}),(0,a.jsx)(l.Z,{className:"cursor-pointer hover:text-neutral-400 mr-8",onClick:r})]})}},70185:function(e,t,r){"use strict";r.d(t,{Z:function(){return N}});var a=r(85893),l=r(67294),n=r(67421),s=r(81058),o=r(36686),i=r(41910),d=r(88990),c=r(35887),u=r(12691),m=r(88198),x=r(97283),p=r(74075),h=r(87766);let f=(0,l.createContext)(void 0);var g=r(61162);let v=e=>{let{prompt:t,onClose:r,onUpdatePrompt:n}=e,{t:s}=(0,g.$G)("promptbar"),[o,i]=(0,l.useState)(t.name),[d,c]=(0,l.useState)(t.description),[u,m]=(0,l.useState)(t.content),x=(0,l.useRef)(null),p=(0,l.useRef)(null);return(0,l.useEffect)((()=>{let e=e=>{x.current&&!x.current.contains(e.target)&&window.addEventListener("mouseup",t)},t=e=>{window.removeEventListener("mouseup",t),r()};return window.addEventListener("mousedown",e),()=>{window.removeEventListener("mousedown",e)}}),[r]),(0,l.useEffect)((()=>{var e;null===(e=p.current)||void 0===e||e.focus()}),[]),(0,a.jsx)("div",{className:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-50",onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(n({...t,name:o,description:d,content:u.trim()}),r())},children:(0,a.jsx)("div",{className:"fixed inset-0 z-10 overflow-hidden",children:(0,a.jsxs)("div",{className:"flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0",children:[(0,a.jsx)("div",{className:"hidden sm:inline-block sm:h-screen sm:align-middle","aria-hidden":"true"}),(0,a.jsxs)("div",{ref:x,className:"dark:border-netural-400 inline-block max-h-[400px] transform overflow-y-auto rounded-lg border border-gray-300 bg-white px-4 pt-5 pb-4 text-left align-bottom shadow-xl transition-all dark:bg-[#202123] sm:my-8 sm:max-h-[600px] sm:w-full sm:max-w-lg sm:p-6 sm:align-middle",role:"dialog",children:[(0,a.jsx)("div",{className:"text-sm font-bold text-black dark:text-neutral-200",children:s("Name")}),(0,a.jsx)("input",{ref:p,className:"mt-2 w-full rounded-lg border border-neutral-500 px-4 py-2 text-neutral-900 shadow focus:outline-none dark:border-neutral-800 dark:border-opacity-50 dark:bg-[#40414F] dark:text-neutral-100",placeholder:s("A name for your prompt.")||"",value:o,onChange:e=>i(e.target.value)}),(0,a.jsx)("div",{className:"mt-6 text-sm font-bold text-black dark:text-neutral-200",children:s("Description")}),(0,a.jsx)("textarea",{className:"mt-2 w-full rounded-lg border border-neutral-500 px-4 py-2 text-neutral-900 shadow focus:outline-none dark:border-neutral-800 dark:border-opacity-50 dark:bg-[#40414F] dark:text-neutral-100",style:{resize:"none"},placeholder:s("A description for your prompt.")||"",value:d,onChange:e=>c(e.target.value),rows:3}),(0,a.jsx)("div",{className:"mt-6 text-sm font-bold text-black dark:text-neutral-200",children:s("Prompt")}),(0,a.jsx)("textarea",{className:"mt-2 w-full rounded-lg border border-neutral-500 px-4 py-2 text-neutral-900 shadow focus:outline-none dark:border-neutral-800 dark:border-opacity-50 dark:bg-[#40414F] dark:text-neutral-100",style:{resize:"none"},placeholder:s("Prompt content. Use {{}} to denote a variable. Ex: {{name}} is a {{adjective}} {{noun}}")||"",value:u,onChange:e=>m(e.target.value),rows:10}),(0,a.jsx)("button",{type:"button",className:"w-full px-4 py-2 mt-6 border rounded-lg shadow border-neutral-500 text-neutral-900 hover:bg-neutral-100 focus:outline-none dark:border-neutral-800 dark:border-opacity-50 dark:bg-white dark:text-black dark:hover:bg-neutral-300",onClick:()=>{let e={...t,name:o,description:d,content:u.trim()};n(e),r()},children:s("Save")})]})]})})})},b=e=>{let{prompt:t}=e,{dispatch:r,handleUpdatePrompt:n,handleDeletePrompt:s}=(0,l.useContext)(f),[o,i]=(0,l.useState)(!1),[d,c]=(0,l.useState)(!1),[g,b]=(0,l.useState)(!1),[y,k]=(0,l.useState)("");return(0,l.useEffect)((()=>{g?c(!1):d&&b(!1)}),[g,d]),(0,a.jsxs)("div",{className:"relative flex items-center",children:[(0,a.jsxs)("button",{className:"flex w-full cursor-pointer items-center gap-3 rounded-lg p-3 text-sm transition-colors duration-200 hover:bg-[#343541]/90",draggable:"true",onClick:e=>{e.stopPropagation(),i(!0)},onDragStart:e=>((e,t)=>{e.dataTransfer&&e.dataTransfer.setData("prompt",JSON.stringify(t))})(e,t),onMouseLeave:()=>{c(!1),b(!1),k("")},children:[(0,a.jsx)(u.Z,{size:18}),(0,a.jsx)("div",{className:"relative max-h-5 flex-1 overflow-hidden text-ellipsis whitespace-nowrap break-all pr-4 text-left text-[12.5px] leading-3",children:t.name})]}),(d||g)&&(0,a.jsxs)("div",{className:"absolute right-1 z-10 flex text-gray-300",children:[(0,a.jsx)(h.Z,{handleClick:e=>{e.stopPropagation(),d&&(s(t),r({field:"searchTerm",value:""})),c(!1)},children:(0,a.jsx)(m.Z,{size:18})}),(0,a.jsx)(h.Z,{handleClick:e=>{e.stopPropagation(),c(!1)},children:(0,a.jsx)(x.Z,{size:18})})]}),!d&&!g&&(0,a.jsx)("div",{className:"absolute right-1 z-10 flex text-gray-300",children:(0,a.jsx)(h.Z,{handleClick:e=>{e.stopPropagation(),c(!0)},children:(0,a.jsx)(p.Z,{size:18})})}),o&&(0,a.jsx)(v,{prompt:t,onClose:()=>i(!1),onUpdatePrompt:e=>{n(e),r({field:"searchTerm",value:""})}})]})},y=()=>{let{state:{folders:e}}=(0,l.useContext)(d.Z),{state:{searchTerm:t,filteredPrompts:r},handleUpdatePrompt:n}=(0,l.useContext)(f),s=(e,t)=>{if(e.dataTransfer){let r={...JSON.parse(e.dataTransfer.getData("prompt")),folderId:t.id};n(r)}},o=e=>r.filter((e=>e.folderId)).map(((t,r)=>{if(t.folderId===e.id)return(0,a.jsx)("div",{className:"ml-5 gap-2 border-l pl-2",children:(0,a.jsx)(b,{prompt:t})},r)}));return(0,a.jsx)("div",{className:"flex w-full flex-col pt-2",children:e.filter((e=>"prompt"===e.type)).sort(((e,t)=>e.name.localeCompare(t.name))).map(((e,r)=>(0,a.jsx)(c.Z,{searchTerm:t,currentFolder:e,handleDrop:s,folderComponent:o(e)},r)))})},k=e=>{let{prompts:t}=e;return(0,a.jsx)("div",{className:"flex w-full flex-col gap-1",children:t.slice().reverse().map(((e,t)=>(0,a.jsx)(b,{prompt:e},t)))})};var w=r(27301);let j={searchTerm:"",filteredPrompts:[]};var C=r(57632);var N=()=>{let{t:e}=(0,n.$G)("promptbar"),t=(0,s.L)({initialState:j}),{state:{prompts:r,defaultModelId:c,showPromptbar:u},dispatch:m,handleCreateFolder:x}=(0,l.useContext)(d.Z),{state:{searchTerm:p,filteredPrompts:h},dispatch:g}=t,v=()=>{if(c){let e={id:(0,C.Z)(),name:"Prompt ".concat(r.length+1),description:"",content:"",model:i.MU[c],folderId:null},t=[...r,e];m({field:"prompts",value:t}),(0,o.V)(t)}},b=e=>{let t=r.map((t=>t.id===e.id?e:t));m({field:"prompts",value:t}),(0,o.V)(t)};return(0,l.useEffect)((()=>{g(p?{field:"filteredPrompts",value:r.filter((e=>(e.name.toLowerCase()+" "+e.description.toLowerCase()+" "+e.content.toLowerCase()).includes(p.toLowerCase())))}:{field:"filteredPrompts",value:r})}),[p,r]),(0,a.jsx)(f.Provider,{value:{...t,handleCreatePrompt:v,handleDeletePrompt:e=>{let t=r.filter((t=>t.id!==e.id));m({field:"prompts",value:t}),(0,o.V)(t)},handleUpdatePrompt:b},children:(0,a.jsx)(w.Z,{side:"right",isOpen:u,addItemButtonTitle:e("New prompt"),itemComponent:(0,a.jsx)(k,{prompts:h.filter((e=>!e.folderId))}),folderComponent:(0,a.jsx)(y,{}),items:h,searchTerm:p,handleSearchTerm:e=>g({field:"searchTerm",value:e}),toggleOpen:()=>{m({field:"showPromptbar",value:!u}),localStorage.setItem("showPromptbar",JSON.stringify(!u))},handleCreateItem:v,handleCreateFolder:()=>x(e("New folder"),"prompt"),handleDrop:e=>{if(e.dataTransfer){let t={...JSON.parse(e.dataTransfer.getData("prompt")),folderId:e.target.dataset.folderId};b(t),e.target.style.background="none"}}})})}},27301:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var a=r(85893),l=r(1177),n=r(16745),s=r(92005),o=r(67421),i=r(98963),d=r(89014);let c=e=>{let{onClick:t,side:r}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{className:"fixed top-5 ".concat("right"===r?"right-[270px]":"left-[270px]"," z-50 h-7 w-7 hover:text-gray-400 dark:text-white dark:hover:text-gray-300 sm:top-0.5 sm:").concat("right"===r?"right-[270px]":"left-[270px]"," sm:h-8 sm:w-8 sm:text-neutral-700"),onClick:t,children:"right"===r?(0,a.jsx)(i.Z,{}):(0,a.jsx)(d.Z,{})}),(0,a.jsx)("div",{onClick:t,className:"absolute top-0 left-0 z-10 h-full w-full bg-black opacity-70 sm:hidden"})]})},u=e=>{let{onClick:t,side:r}=e;return(0,a.jsx)("button",{className:"fixed top-2.5 ".concat("right"===r?"right-2":"left-2"," z-50 h-7 w-7 text-white hover:text-gray-400 dark:text-white dark:hover:text-gray-300 sm:top-0.5 sm:").concat("right"===r?"right-2":"left-2"," sm:h-8 sm:w-8 sm:text-neutral-700"),onClick:t,children:"right"===r?(0,a.jsx)(d.Z,{}):(0,a.jsx)(i.Z,{})})};var m=r(97283),x=r(61162);let p=e=>{let{placeholder:t,searchTerm:r,onSearch:l}=e,{t:n}=(0,x.$G)("sidebar");return(0,a.jsxs)("div",{className:"relative flex items-center",children:[(0,a.jsx)("input",{className:"w-full flex-1 rounded-md border border-neutral-600 bg-[#202123] px-4 py-3 pr-10 text-[14px] leading-3 text-white",type:"text",placeholder:n(t)||"",value:r,onChange:e=>{l(e.target.value)}}),r&&(0,a.jsx)(m.Z,{className:"absolute right-4 cursor-pointer text-neutral-300 hover:text-neutral-400",size:18,onClick:()=>{l("")}})]})};var h=e=>{let{isOpen:t,addItemButtonTitle:r,side:i,items:d,itemComponent:m,folderComponent:x,footerComponent:h,searchTerm:f,handleSearchTerm:g,toggleOpen:v,handleCreateItem:b,handleCreateFolder:y,handleDrop:k}=e,{t:w}=(0,o.$G)("promptbar");return t?(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"fixed top-0 ".concat(i,"-0 z-40 flex h-full w-[260px] flex-none flex-col space-y-2 bg-[#202123] p-2 text-[14px] transition-all sm:relative sm:top-0"),children:[(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsxs)("button",{className:"text-sidebar flex w-[190px] flex-shrink-0 cursor-pointer select-none items-center gap-3 rounded-md border border-white/20 p-3 text-white transition-colors duration-200 hover:bg-gray-500/10",onClick:()=>{b(),g("")},children:[(0,a.jsx)(l.Z,{size:16}),r]}),(0,a.jsx)("button",{className:"ml-2 flex flex-shrink-0 cursor-pointer items-center gap-3 rounded-md border border-white/20 p-3 text-sm text-white transition-colors duration-200 hover:bg-gray-500/10",onClick:y,children:(0,a.jsx)(n.Z,{size:16})})]}),(0,a.jsx)(p,{placeholder:w("Search...")||"",searchTerm:f,onSearch:g}),(0,a.jsxs)("div",{className:"flex-grow overflow-auto",children:[(null==d?void 0:d.length)>0&&(0,a.jsx)("div",{className:"flex border-b border-white/20 pb-2",children:x}),(null==d?void 0:d.length)>0?(0,a.jsx)("div",{className:"pt-2",onDrop:k,onDragOver:e=>{e.preventDefault()},onDragEnter:e=>{e.target.style.background="#343541"},onDragLeave:e=>{e.target.style.background="none"},children:m}):(0,a.jsxs)("div",{className:"mt-8 select-none text-center text-white opacity-50",children:[(0,a.jsx)(s.Z,{className:"mx-auto mb-3"}),(0,a.jsx)("span",{className:"text-[14px] leading-normal",children:w("No data.")})]})]}),h]}),(0,a.jsx)(c,{onClick:v,side:i})]}):(0,a.jsx)(u,{onClick:v,side:i})}},79408:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var a=r(85893);var l=e=>{let{size:t="1em",className:r=""}=e;return(0,a.jsxs)("svg",{stroke:"currentColor",fill:"none",strokeWidth:"2",viewBox:"0 0 24 24",strokeLinecap:"round",strokeLinejoin:"round",className:"animate-spin ".concat(r),height:t,width:t,xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("line",{x1:"12",y1:"2",x2:"12",y2:"6"}),(0,a.jsx)("line",{x1:"12",y1:"18",x2:"12",y2:"22"}),(0,a.jsx)("line",{x1:"4.93",y1:"4.93",x2:"7.76",y2:"7.76"}),(0,a.jsx)("line",{x1:"16.24",y1:"16.24",x2:"19.07",y2:"19.07"}),(0,a.jsx)("line",{x1:"2",y1:"12",x2:"6",y2:"12"}),(0,a.jsx)("line",{x1:"18",y1:"12",x2:"22",y2:"12"}),(0,a.jsx)("line",{x1:"4.93",y1:"19.07",x2:"7.76",y2:"16.24"}),(0,a.jsx)("line",{x1:"16.24",y1:"7.76",x2:"19.07",y2:"4.93"})]})}},81058:function(e,t,r){"use strict";r.d(t,{L:function(){return l}});var a=r(67294);let l=e=>{let{initialState:t}=e,[r,l]=(0,a.useReducer)(((e,r)=>{if(!r.type)return{...e,[r.field]:r.value};if("reset"===r.type)return t;throw Error()}),t);return(0,a.useMemo)((()=>({state:r,dispatch:l})),[r,l])}},88990:function(e,t,r){"use strict";let a=(0,r(67294).createContext)(void 0);t.Z=a},45928:function(e,t,r){"use strict";r.d(t,{E:function(){return a}});let a={apiKey:"",loading:!1,pluginKeys:[],lightMode:"dark",messageIsStreaming:!1,modelError:null,models:[],folders:[],conversations:[],selectedConversation:void 0,currentMessage:void 0,prompts:[],temperature:1,showPromptbar:!0,showChatbar:!0,currentFolder:void 0,messageError:!1,searchTerm:"",defaultModelId:void 0,serverSideApiKeyIsSet:!1,serverSidePluginKeysSet:!1}},78600:function(e,t,r){"use strict";r.a(e,(async function(e,a){try{var l=r(85893),n=r(67294),s=r(88767),o=r(61162),i=r(9008),d=r.n(i),c=r(81058),u=r(96711),m=r(1652),x=r(79913),p=r(64689),h=r(62716),f=r(76921),g=r(36686),v=r(49089),b=r(41910),y=r(5782),k=r(63845),w=r(76262),j=r(70185),C=r(88990),N=r(45928),S=r(57632),_=e([y]);y=(_.then?(await _)():_)[0];let E=e=>{let{serverSideApiKeyIsSet:t,serverSidePluginKeysSet:r,defaultModelId:a}=e,{t:i}=(0,o.$G)("chat"),{getModels:_}=(0,m.Z)(),{getModelsError:E}=(0,u.Z)(),[I,P]=(0,n.useState)(!0),O=(0,c.L)({initialState:N.E}),{state:{apiKey:L,lightMode:G,folders:T,conversations:Z,selectedConversation:A,prompts:K,temperature:D},dispatch:z}=O,R=(0,n.useRef)(!1),{data:M,error:U,refetch:F}=(0,s.useQuery)(["GetModels",L,t],(e=>{let{signal:r}=e;return L||t?_({key:L},r):null}),{enabled:!0,refetchOnMount:!1});(0,n.useEffect)((()=>{M&&z({field:"models",value:M})}),[M,z]),(0,n.useEffect)((()=>{z({field:"modelError",value:E(U)})}),[z,U,E]);let H=()=>{var e;let t=Z[Z.length-1],r={id:(0,S.Z)(),name:i("New Conversation"),messages:[],model:(null==t?void 0:t.model)||{id:b.MU[a].id,name:b.MU[a].name,maxLength:b.MU[a].maxLength,tokenLimit:b.MU[a].tokenLimit},prompt:p.cl,temperature:null!==(e=null==t?void 0:t.temperature)&&void 0!==e?e:p.Ar,folderId:null},l=[...Z,r];z({field:"selectedConversation",value:r}),z({field:"conversations",value:l}),(0,h.m7)(r),(0,h.fB)(l),z({field:"loading",value:!1})};return(0,n.useEffect)((()=>{window.innerWidth<640&&z({field:"showChatbar",value:!1})}),[A]),(0,n.useEffect)((()=>{a&&z({field:"defaultModelId",value:a}),t&&z({field:"serverSideApiKeyIsSet",value:t}),r&&z({field:"serverSidePluginKeysSet",value:r})}),[a,t,r]),(0,n.useEffect)((()=>{let e=(0,v.G)();e.theme&&z({field:"lightMode",value:e.theme});let l=localStorage.getItem("apiKey");t?(z({field:"apiKey",value:""}),localStorage.removeItem("apiKey")):l&&z({field:"apiKey",value:l});let n=localStorage.getItem("pluginKeys");r?(z({field:"pluginKeys",value:[]}),localStorage.removeItem("pluginKeys")):n&&z({field:"pluginKeys",value:n}),window.innerWidth<640&&(z({field:"showChatbar",value:!1}),z({field:"showPromptbar",value:!1}));let s=localStorage.getItem("showChatbar");s&&z({field:"showChatbar",value:"true"===s});let o=localStorage.getItem("showPromptbar");o&&z({field:"showPromptbar",value:"true"===o});let d=localStorage.getItem("folders");d&&z({field:"folders",value:JSON.parse(d)});let c=localStorage.getItem("prompts");c&&z({field:"prompts",value:JSON.parse(c)});let u=localStorage.getItem("conversationHistory");if(u){let e=JSON.parse(u),t=(0,x.m)(e);z({field:"conversations",value:t})}let m=localStorage.getItem("selectedConversation");if(m){let e=JSON.parse(m),t=(0,x.$)(e);z({field:"selectedConversation",value:t})}else{var h;let e=Z[Z.length-1];z({field:"selectedConversation",value:{id:(0,S.Z)(),name:i("New Conversation"),messages:[],model:b.MU[a],prompt:p.cl,temperature:null!==(h=null==e?void 0:e.temperature)&&void 0!==h?h:p.Ar,folderId:null}})}}),[a,z,t,r]),(0,l.jsxs)(C.Z.Provider,{value:{...O,handleNewConversation:H,handleCreateFolder:(e,t)=>{let r={id:(0,S.Z)(),name:e,type:t},a=[...T,r];z({field:"folders",value:a}),(0,f._)(a)},handleDeleteFolder:e=>{let t=T.filter((t=>t.id!==e));z({field:"folders",value:t}),(0,f._)(t);let r=Z.map((t=>t.folderId===e?{...t,folderId:null}:t));z({field:"conversations",value:r}),(0,h.fB)(r);let a=K.map((t=>t.folderId===e?{...t,folderId:null}:t));z({field:"prompts",value:a}),(0,g.V)(a)},handleUpdateFolder:(e,t)=>{let r=T.map((r=>r.id===e?{...r,name:t}:r));z({field:"folders",value:r}),(0,f._)(r)},handleSelectConversation:e=>{z({field:"selectedConversation",value:e}),(0,h.m7)(e)},handleUpdateConversation:(e,t)=>{let r={...e,[t.key]:t.value},{single:a,all:l}=(0,h.X1)(r,Z);z({field:"selectedConversation",value:a}),z({field:"conversations",value:l})}},children:[(0,l.jsxs)(d(),{children:[(0,l.jsx)("title",{children:"Chatbot UI"}),(0,l.jsx)("meta",{name:"description",content:"ChatGPT but better."}),(0,l.jsx)("meta",{name:"viewport",content:"height=device-height ,width=device-width, initial-scale=1, user-scalable=no"}),(0,l.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),A&&(0,l.jsxs)("main",{className:"flex h-screen w-screen flex-col text-sm text-white dark:text-white ".concat(G),children:[(0,l.jsx)("div",{className:"fixed top-0 w-full sm:hidden",children:(0,l.jsx)(w.w,{selectedConversation:A,onNewConversation:H})}),(0,l.jsxs)("div",{className:"flex h-full w-full pt-[48px] sm:pt-0",children:[(0,l.jsx)(k.W,{}),(0,l.jsx)("div",{className:"flex flex-1",children:(0,l.jsx)(y.e,{stopConversationRef:R})}),(0,l.jsx)(j.Z,{})]})]})]})};t.Z=E,a()}catch(e){a(e)}}))},74322:function(e,t,r){"use strict";r.a(e,(async function(e,a){try{r.d(t,{Z:function(){return l.Z}});var l=r(78600),n=e([l]);l=(n.then?(await n)():n)[0],a()}catch(e){a(e)}}))},42603:function(e,t,r){"use strict";r.a(e,(async function(e,a){try{r.r(t),r.d(t,{__N_SSP:function(){return s},default:function(){return l.Z}});var l=r(74322),n=e([l]);l=(n.then?(await n)():n)[0];var s=!0;a()}catch(e){a(e)}}))},96711:function(e,t,r){"use strict";var a=r(67294),l=r(61162);t.Z=()=>{let{t:e}=(0,l.$G)("chat");return{getModelsError:(0,a.useMemo)((()=>t=>t?{title:e("Error fetching models."),code:t.status||"unknown",messageLines:t.statusText?[t.statusText]:[e("Make sure your OpenAI API key is set in the bottom left of the sidebar."),e("If you completed this step, OpenAI may be experiencing issues.")]}:null),[e])}}},1652:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var a=r(67294);var l=()=>{let e=(()=>{let e=async(e,t,r)=>{let a=(null==t?void 0:t.params)?"".concat(e).concat(t.params):e,l=(null==t?void 0:t.body)?t.body instanceof FormData?{...t,body:t.body}:{...t,body:JSON.stringify(t.body)}:t,n={...(null==t?void 0:t.headers)?t.headers:(null==t?void 0:t.body)&&t.body instanceof FormData?{}:{"Content-type":"application/json"}};return fetch(a,{...l,headers:n,signal:r}).then((e=>{if(!e.ok)throw e;let t=e.headers.get("content-type"),r=e.headers.get("content-disposition");return e.headers,!t||-1===(null==t?void 0:t.indexOf("application/json"))&&-1===(null==t?void 0:t.indexOf("text/plain"))?-1!==(null==r?void 0:r.indexOf("attachment"))?e.blob():e:e.json()})).catch((async e=>{let t=e.headers.get("content-type");throw t&&-1!==(null==t?void 0:t.indexOf("application/problem+json"))?await e.json():e}))};return{get:async(t,r)=>e(t,{...r,method:"get"}),post:async(t,r)=>e(t,{...r,method:"post"}),put:async(t,r)=>e(t,{...r,method:"put"}),patch:async(t,r)=>e(t,{...r,method:"patch"}),delete:async(t,r)=>e(t,{...r,method:"delete"})}})(),t=(0,a.useCallback)(((t,r)=>e.post("/api/models",{body:{key:t.key},headers:{"Content-Type":"application/json"},signal:r})),[e]);return{getModels:t}}},41910:function(e,t,r){"use strict";var a,l;r.d(t,{MU:function(){return n},bm:function(){return a}}),(l=a||(a={})).GPT_3_5="gpt-3.5-turbo",l.GPT_3_5_POE="gpt-3.5-turbo-poe",l.GPT_3_5_0613="gpt-3.5-turbo-0613",l.GPT_3_5_16K="gpt-3.5-turbo-16k",l.GPT_3_5_16K_POE="gpt-3.5-turbo-16k-poe",l.GPT_3_5_16K_0613="gpt-3.5-turbo-16k-0613",l.GPT_4_0613="gpt-4-0613",l.GPT_4="gpt-4",l.GPT_4_POE="gpt-4-poe",l.GPT_4_32K_0613="gpt-4-32k-0613",l.GPT_4_32K="gpt-4-32k",l.GPT_4_32K_POE="gpt-4-32k-poe",l.CLAUDE_2_100K="claude-2-100k",l.CLAUDE_INSTANT_100K="claude-instant-100k",l.CLAUDE_INSTANT="claude-instant",l.BARD="bard",l.ASSISTANT="assistant",l.GOOGLE_PALM="google-palm",l.LLAMA_2_70b_chat="llama_2_70b_chat",a.GPT_3_5;let n={[a.GPT_3_5]:{id:a.GPT_3_5,name:"GPT-3.5",maxLength:12e3,tokenLimit:4096},[a.GPT_3_5_POE]:{id:a.GPT_3_5_POE,name:"GPT-3.5_POE",maxLength:12e3,tokenLimit:4096},[a.GPT_3_5_0613]:{id:a.GPT_3_5_0613,name:"GPT-3.5-0613",maxLength:12e3,tokenLimit:4096},[a.GPT_3_5_16K]:{id:a.GPT_3_5_16K,name:"GPT-3.5-16K",maxLength:48e3,tokenLimit:16384},[a.GPT_3_5_16K_POE]:{id:a.GPT_3_5_16K_POE,name:"GPT-3.5-16K-POE",maxLength:48e3,tokenLimit:16384},[a.GPT_3_5_16K_0613]:{id:a.GPT_3_5_16K_0613,name:"GPT-3.5-16K-0613",maxLength:48e3,tokenLimit:16384},[a.GPT_4_0613]:{id:a.GPT_4_0613,name:"GPT-4-0613",maxLength:24e3,tokenLimit:8192},[a.GPT_4]:{id:a.GPT_4,name:"GPT-4",maxLength:24e3,tokenLimit:8192},[a.GPT_4_POE]:{id:a.GPT_4_POE,name:"GPT-4-POE",maxLength:24e3,tokenLimit:8192},[a.GPT_4_32K_0613]:{id:a.GPT_4_32K_0613,name:"GPT-4-32K-0613",maxLength:96e3,tokenLimit:32768},[a.GPT_4_32K]:{id:a.GPT_4_32K,name:"GPT-4-32K",maxLength:96e3,tokenLimit:32768},[a.GPT_4_32K_POE]:{id:a.GPT_4_32K_POE,name:"GPT-4-32K-POE",maxLength:96e3,tokenLimit:32768},[a.CLAUDE_2_100K]:{id:a.CLAUDE_2_100K,name:"Claude-2-100K",maxLength:36e4,tokenLimit:102400},[a.CLAUDE_INSTANT_100K]:{id:a.CLAUDE_INSTANT_100K,name:"Claude-Instant-100K",maxLength:36e4,tokenLimit:102400},[a.CLAUDE_INSTANT]:{id:a.CLAUDE_INSTANT,name:"Claude-Instant",maxLength:36e3,tokenLimit:10240},[a.BARD]:{id:a.BARD,name:"BARD",maxLength:3e4,tokenLimit:1e4},[a.ASSISTANT]:{id:a.ASSISTANT,name:"ASSISTANT",maxLength:3e4,tokenLimit:1e4},[a.GOOGLE_PALM]:{id:a.GOOGLE_PALM,name:"GOOGLE-PALM",maxLength:3e4,tokenLimit:1e4},[a.LLAMA_2_70b_chat]:{id:a.LLAMA_2_70b_chat,name:"LLAMA_2_70b_chat",maxLength:3e4,tokenLimit:1e4}}},2403:function(e,t,r){"use strict";var a,l;r.d(t,{PO:function(){return a},xN:function(){return s}}),(a||(a={})).GOOGLE_SEARCH="google-search",(l||(l={})).GOOGLE_SEARCH="Google Search";let n={[a.GOOGLE_SEARCH]:{id:a.GOOGLE_SEARCH,name:l.GOOGLE_SEARCH,requiredKeys:[{key:"GOOGLE_API_KEY",value:""},{key:"GOOGLE_CSE_ID",value:""}]}},s=Object.values(n)},17172:function(e,t,r){"use strict";r.d(t,{O:function(){return l}});var a=r(2403);let l=e=>e&&e.id===a.PO.GOOGLE_SEARCH?"api/google":"api/chat"},79913:function(e,t,r){"use strict";r.d(t,{$:function(){return n},m:function(){return s}});var a=r(41910),l=r(64689);let n=e=>{let t=e;return t.model||(t={...t,model:t.model||a.MU[a.bm.GPT_3_5]}),t.prompt||(t={...t,prompt:t.prompt||l.cl}),t.temperature||(t={...t,temperature:t.temperature||l.Ar}),t.folderId||(t={...t,folderId:t.folderId||null}),t.messages||(t={...t,messages:t.messages||[]}),t},s=e=>Array.isArray(e)?e.reduce(((e,t)=>{try{t.model||(t.model=a.MU[a.bm.GPT_3_5]),t.prompt||(t.prompt=l.cl),t.temperature||(t.temperature=l.Ar),t.folderId||(t.folderId=null),t.messages||(t.messages=[]),e.push(t)}catch(e){console.warn("error while cleaning conversations' history. Removing culprit",e)}return e}),[]):(console.warn("history is not an array. Returning an empty array."),[])},64689:function(e,t,r){"use strict";r.d(t,{Ar:function(){return n},cl:function(){return l}});var a=r(83454);let l=a.env.NEXT_PUBLIC_DEFAULT_SYSTEM_PROMPT||"You are ChatGPT, a large language model trained by OpenAI. Follow the user's instructions carefully. Respond using markdown.";a.env.OPENAI_API_HOST;let n=parseFloat(a.env.NEXT_PUBLIC_DEFAULT_TEMPERATURE||"0.7");a.env.OPENAI_API_TYPE,a.env.OPENAI_API_VERSION,a.env.OPENAI_ORGANIZATION,a.env.AZURE_DEPLOYMENT_ID,a.env.LOG_INCOMING_MESSAGES,a.env.LOG_TRIM_MESSAGES},62716:function(e,t,r){"use strict";r.d(t,{X1:function(){return a},fB:function(){return n},m7:function(){return l}});let a=(e,t)=>{let r=t.map((t=>t.id===e.id?e:t));return l(e),n(r),{single:e,all:r}},l=e=>{localStorage.setItem("selectedConversation",JSON.stringify(e))},n=e=>{localStorage.setItem("conversationHistory",JSON.stringify(e))}},76921:function(e,t,r){"use strict";r.d(t,{_:function(){return a}});let a=e=>{localStorage.setItem("folders",JSON.stringify(e))}},36686:function(e,t,r){"use strict";r.d(t,{V:function(){return a}});let a=e=>{localStorage.setItem("prompts",JSON.stringify(e))}},49089:function(e,t,r){"use strict";r.d(t,{G:function(){return l},z:function(){return n}});let a="settings",l=()=>{let e={theme:"dark"},t=localStorage.getItem(a);if(t)try{let r=JSON.parse(t);e=Object.assign(e,r)}catch(e){console.error(e)}return e},n=e=>{localStorage.setItem(a,JSON.stringify(e))}},97450:function(e,t,r){"use strict";function a(e,t){let r,a;return function(){for(var l=arguments.length,n=Array(l),s=0;s<l;s++)n[s]=arguments[s];a?(clearTimeout(r),r=setTimeout((()=>{Date.now()-a>=t&&(e(...n),a=Date.now())}),t-(Date.now()-a))):(e(...n),a=Date.now())}}r.d(t,{P:function(){return a}})}},function(e){e.O(0,[876,879,798,774,888,179],(function(){return e(e.s=48312)})),_N_E=e.O()}]);
|
js/main-2adf7bfc339317d4.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{60932:function(e,t){"use strict";function r(e,t,r,n,a,o,l){try{var i=e[o](l),s=i.value}catch(e){return void r(e)}i.done?t(s):Promise.resolve(s).then(n,a)}function n(e){return function(){var t=this,n=arguments;return new Promise((function(a,o){var l=e.apply(t,n);function i(e){r(l,a,o,i,s,"next",e)}function s(e){r(l,a,o,i,s,"throw",e)}i(void 0)}))}}Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return n}})},6495:function(e,t){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function n(){return r.apply(this,arguments)}Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return n}})},92648:function(e,t){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return r}})},91598:function(e,t){"use strict";function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}function n(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var a={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var i=o?Object.getOwnPropertyDescriptor(e,l):null;i&&(i.get||i.set)?Object.defineProperty(a,l,i):a[l]=e[l]}return a.default=e,n&&n.set(e,a),a}Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return n}})},17273:function(e,t){"use strict";function r(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return r}})},40037:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){throw r}))}))}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce((function(e,t){return e[t[0]]=t[1],e}),{})})},64266:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addBasePath=function(e,t){return a.normalizePathTrailingSlash(n.addPathPrefix(e,""))};var n=r(5246),a=r(82387);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},370:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addLocale=void 0;var n=r(82387);t.addLocale=function(e){for(var t=arguments.length,a=Array(t>1?t-1:0),o=1;o<t;o++)a[o-1]=arguments[o];return n.normalizePathTrailingSlash(r(62721).addLocale(e,...a))},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2249:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detectDomainLocale=void 0,t.detectDomainLocale=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r(18391).detectDomainLocale(...t)},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},12140:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasBasePath=function(e){return n.pathHasPrefix(e,"")};var n=r(76325);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},19623:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{mountedInstances:new Set,updateHead:e=>{let t={};e.forEach((e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'.concat(e.props["data-href"],'"]')))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let r=t[e.type]||[];r.push(e),t[e.type]=r}));let r=t.title?t.title[0]:null,o="";if(r){let{children:e}=r.props;o="string"==typeof e?e:Array.isArray(e)?e.join(""):""}o!==document.title&&(document.title=o),["meta","base","link","style","script"].forEach((e=>{!function(e,t){let r=document.getElementsByTagName("head")[0],o=r.querySelector("meta[name=next-head-count]"),l=Number(o.content),i=[];for(let t=0,r=o.previousElementSibling;t<l;t++,r=(null==r?void 0:r.previousElementSibling)||null){var s;(null==r||null==(s=r.tagName)?void 0:s.toLowerCase())===e&&i.push(r)}let u=t.map(n).filter((e=>{for(let t=0,r=i.length;t<r;t++){if(a(i[t],e))return i.splice(t,1),!1}return!0}));i.forEach((e=>{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),u.forEach((e=>r.insertBefore(e,o))),o.content=(l-i.length+u.length).toString()}(e,t[e]||[])}))}}},t.isEqualNode=a,t.DOMAttributeNames=void 0;let r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function n(e){let{type:t,props:n}=e,a=document.createElement(t);for(let e in n){if(!n.hasOwnProperty(e)||"children"===e||"dangerouslySetInnerHTML"===e||void 0===n[e])continue;let o=r[e]||e.toLowerCase();"script"!==t||"async"!==o&&"defer"!==o&&"noModule"!==o?a.setAttribute(o,n[e]):a[o]=!!n[e]}let{children:o,dangerouslySetInnerHTML:l}=n;return l?a.innerHTML=l.__html||"":o&&(a.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):""),a}function a(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){let n=t.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===e.nonce&&e.isEqualNode(n)}}return e.isEqualNode(t)}t.DOMAttributeNames=r,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},15274:function(e,t,r){"use strict";let n,a,o,l,i,s,u,c,d,f,p,h;Object.defineProperty(t,"__esModule",{value:!0});let m=r(91598).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.initialize=function(){return V.apply(this,arguments)},t.hydrate=function(e){return se.apply(this,arguments)},t.emitter=t.router=t.version=void 0;var y=r(60932).Z,g=r(6495).Z,v=r(92648).Z;r(91598).Z,r(40037);var _=v(r(67294)),P=v(r(20745)),b=r(79958),S=v(r(96595)),w=r(69955),E=r(3105),C=r(63162),x=r(53908),j=r(7905),O=r(79064),R=r(73232),L=v(r(19623)),M=v(r(29030)),A=v(r(35108)),T=r(42827),I=r(96885),N=r(80676),k=r(83341),D=r(39577),B=r(12140),H=r(24224),U=r(29486),q=r(78463),F=v(r(24225));t.version="13.2.4",t.router=n;let W=S.default();t.emitter=W;let Z=e=>[].slice.call(e),z=!1;self.__next_require__=r;class G extends _.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),n.isSsr&&(a.isFallback||a.nextExport&&(C.isDynamicRoute(n.pathname)||location.search||z)||a.props&&a.props.__N_SSG&&(location.search||z))&&n.replace(n.pathname+"?"+String(x.assign(x.urlQueryToSearchParams(n.query),new URLSearchParams(location.search))),o,{_h:1,shallow:!a.isFallback&&!z}).catch((e=>{if(!e.cancelled)throw e}))}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:e}=location;if(!(e=e&&e.substring(1)))return;let t=document.getElementById(e);t&&setTimeout((()=>t.scrollIntoView()),0)}render(){return this.props.children}}function V(){return(V=y((function*(){a=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=a,h=a.defaultLocale;let e=a.assetPrefix||"";r.p="".concat(e,"/_next/"),j.setConfig({serverRuntimeConfig:{},publicRuntimeConfig:a.runtimeConfig||{}}),o=O.getURL(),B.hasBasePath(o)&&(o=D.removeBasePath(o));{let{normalizeLocalePath:e}=r(34842),{detectDomainLocale:t}=r(18391),{parseRelativeUrl:n}=r(73460),{formatUrl:l}=r(61410);if(a.locales){let r=n(o),i=e(r.pathname,a.locales);i.detectedLocale?(r.pathname=i.pathname,o=l(r)):h=a.locale;let s=t(void 0,window.location.hostname);s&&(h=s.defaultLocale)}}if(a.scriptLoader){let{initScriptLoader:e}=r(85442);e(a.scriptLoader)}l=new M.default(a.buildId,e);let t=e=>{let[t,r]=e;return l.routeLoader.onEntrypoint(t,r)};return window.__NEXT_P&&window.__NEXT_P.map((e=>setTimeout((()=>t(e)),0))),window.__NEXT_P=[],window.__NEXT_P.push=t,(s=L.default()).getIsSsr=()=>n.isSsr,i=document.getElementById("__next"),{assetPrefix:e}}))).apply(this,arguments)}function X(e,t){return _.default.createElement(e,Object.assign({},t))}function K(e){var t;let{children:r}=e;return _.default.createElement(G,{fn:e=>$({App:d,err:e}).catch((e=>console.error("Error rendering page: ",e)))},_.default.createElement(H.AppRouterContext.Provider,{value:U.adaptForAppRouterInstance(n)},_.default.createElement(q.SearchParamsContext.Provider,{value:U.adaptForSearchParams(n)},_.default.createElement(U.PathnameContextProviderAdapter,{router:n,isAutoExport:null!=(t=self.__NEXT_DATA__.autoExport)&&t},_.default.createElement(w.RouterContext.Provider,{value:I.makePublicRouterInstance(n)},_.default.createElement(b.HeadManagerContext.Provider,{value:s},_.default.createElement(k.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}},r)))))))}let Y=e=>t=>{let r=g({},t,{Component:p,err:a.err,router:n});return _.default.createElement(K,null,X(e,r))};function $(e){let{App:t,err:i}=e;return console.error(i),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),l.loadPage("/_error").then((n=>{let{page:a,styleSheets:o}=n;return(null==u?void 0:u.Component)===a?Promise.resolve().then((()=>m(r(43499)))).then((n=>Promise.resolve().then((()=>m(r(65035)))).then((r=>(t=r.default,e.App=t,n))))).then((e=>({ErrorComponent:e.default,styleSheets:[]}))):{ErrorComponent:a,styleSheets:o}})).then((r=>{var l;let{ErrorComponent:s,styleSheets:u}=r,c=Y(t),d={Component:s,AppTree:c,router:n,ctx:{err:i,pathname:a.page,query:a.query,asPath:o,AppTree:c}};return Promise.resolve((null==(l=e.props)?void 0:l.err)?e.props:O.loadGetInitialProps(t,d)).then((t=>oe(g({},e,{err:i,Component:s,styleSheets:u,props:t}))))}))}function J(e){let{callback:t}=e;return _.default.useLayoutEffect((()=>t()),[t]),null}let Q=null,ee=!0;function te(){["beforeRender","afterHydrate","afterRender","routeChange"].forEach((e=>performance.clearMarks(e)))}function re(){O.ST&&(performance.mark("afterHydrate"),performance.measure("Next.js-before-hydration","navigationStart","beforeRender"),performance.measure("Next.js-hydration","beforeRender","afterHydrate"),f&&performance.getEntriesByName("Next.js-hydration").forEach(f),te())}function ne(){if(!O.ST)return;performance.mark("afterRender");let e=performance.getEntriesByName("routeChange","mark");e.length&&(performance.measure("Next.js-route-change-to-render",e[0].name,"beforeRender"),performance.measure("Next.js-render","beforeRender","afterRender"),f&&(performance.getEntriesByName("Next.js-render").forEach(f),performance.getEntriesByName("Next.js-route-change-to-render").forEach(f)),te(),["Next.js-route-change-to-render","Next.js-render"].forEach((e=>performance.clearMeasures(e))))}function ae(e){let{callbacks:t,children:r}=e;return _.default.useLayoutEffect((()=>t.forEach((e=>e()))),[t]),_.default.useEffect((()=>{A.default(f)}),[]),r}function oe(e){let t,{App:r,Component:a,props:o,err:l}=e,s="initial"in e?void 0:e.styleSheets;a=a||u.Component,o=o||u.props;let d=g({},o,{Component:a,err:l,router:n});u=d;let f=!1,p=new Promise(((e,r)=>{c&&c(),t=()=>{c=null,e()},c=()=>{f=!0,c=null;let e=Error("Cancel rendering route");e.cancelled=!0,r(e)}}));function h(){t()}!function(){if(!s)return;let e=Z(document.querySelectorAll("style[data-n-href]")),t=new Set(e.map((e=>e.getAttribute("data-n-href")))),r=document.querySelector("noscript[data-n-css]"),n=null==r?void 0:r.getAttribute("data-n-css");s.forEach((e=>{let{href:r,text:a}=e;if(!t.has(r)){let e=document.createElement("style");e.setAttribute("data-n-href",r),e.setAttribute("media","x"),n&&e.setAttribute("nonce",n),document.head.appendChild(e),e.appendChild(document.createTextNode(a))}}))}();let m=_.default.createElement(_.default.Fragment,null,_.default.createElement(J,{callback:function(){if(s&&!f){let e=new Set(s.map((e=>e.href))),t=Z(document.querySelectorAll("style[data-n-href]")),r=t.map((e=>e.getAttribute("data-n-href")));for(let n=0;n<r.length;++n)e.has(r[n])?t[n].removeAttribute("media"):t[n].setAttribute("media","x");let n=document.querySelector("noscript[data-n-css]");n&&s.forEach((e=>{let{href:t}=e,r=document.querySelector('style[data-n-href="'.concat(t,'"]'));r&&(n.parentNode.insertBefore(r,n.nextSibling),n=r)})),Z(document.querySelectorAll("link[data-n-p]")).forEach((e=>{e.parentNode.removeChild(e)}))}if(e.scroll){let{x:t,y:r}=e.scroll;E.handleSmoothScroll((()=>{window.scrollTo(t,r)}))}}}),_.default.createElement(K,null,X(r,d),_.default.createElement(R.Portal,{type:"next-route-announcer"},_.default.createElement(T.RouteAnnouncer,null))));return function(e,t){O.ST&&performance.mark("beforeRender");let r=(e=>_.default.createElement(ae,{callbacks:[e,h]},_.default.createElement(_.default.StrictMode,null,m)))(ee?re:ne);if(Q){(0,_.default.startTransition)((()=>{Q.render(r)}))}else Q=P.default.hydrateRoot(e,r,{onRecoverableError:F.default}),ee=!1}(i),p}function le(e){return ie.apply(this,arguments)}function ie(){return(ie=y((function*(e){if(e.err)yield $(e);else try{yield oe(e)}catch(t){let r=N.getProperError(t);if(r.cancelled)throw r;yield $(g({},e,{err:r}))}}))).apply(this,arguments)}function se(){return(se=y((function*(e){let r=a.err;try{let e=yield l.routeLoader.whenEntrypoint("/_app");if("error"in e)throw e.error;let{component:t,exports:r}=e;d=t,r&&r.reportWebVitals&&(f=e=>{let t,{id:n,name:a,startTime:o,value:l,duration:i,entryType:s,entries:u,attribution:c}=e,d="".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12);u&&u.length&&(t=u[0].startTime);let f={id:n||d,name:a,startTime:o||t,value:null==l?i:l,label:"mark"===s||"measure"===s?"custom":"web-vital"};c&&(f.attribution=c),r.reportWebVitals(f)});let n=yield l.routeLoader.whenEntrypoint(a.page);if("error"in n)throw n.error;p=n.component}catch(e){r=N.getProperError(e)}window.__NEXT_PRELOADREADY&&(yield window.__NEXT_PRELOADREADY(a.dynamicIds)),t.router=n=I.createRouter(a.page,a.query,o,{initialProps:a.props,pageLoader:l,App:d,Component:p,wrapApp:Y,err:r,isFallback:Boolean(a.isFallback),subscription:(e,t,r)=>le(Object.assign({},e,{App:t,scroll:r})),locale:a.locale,locales:a.locales,defaultLocale:h,domainLocales:a.domainLocales,isPreview:a.isPreview}),z=yield n._initialMatchesMiddlewarePromise;let i={App:d,initial:!0,Component:p,props:a.props,err:r};(null==e?void 0:e.beforeRender)&&(yield e.beforeRender()),le(i)}))).apply(this,arguments)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},14642:function(e,t,r){"use strict";var n=r(15274);window.next={version:n.version,get router(){return n.router},emitter:n.emitter},n.initialize({}).then((()=>n.hydrate())).catch(console.error),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},82387:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePathTrailingSlash=void 0;var n=r(67734),a=r(64046);t.normalizePathTrailingSlash=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:o}=a.parsePath(e);return"".concat(n.removeTrailingSlash(t)).concat(r).concat(o)},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},24225:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=e.digest||t.digest,a="function"==typeof reportError?reportError:e=>{window.console.error(e)};r!==n.NEXT_DYNAMIC_NO_SSR_CODE&&a(e)};var n=r(54149);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},29030:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92648).Z,a=r(64266),o=r(35036),l=n(r(9184)),i=r(370),s=r(63162),u=r(73460),c=r(67734),d=r(95564);t.default=class{getPageList(){return d.getClientBuildManifest().then((e=>e.sortedPages))}getMiddleware(){return window.__MIDDLEWARE_MATCHERS=[],window.__MIDDLEWARE_MATCHERS}getDataHref(e){let{asPath:t,href:r,locale:n}=e,{pathname:d,query:f,search:p}=u.parseRelativeUrl(r),{pathname:h}=u.parseRelativeUrl(t),m=c.removeTrailingSlash(d);if("/"!==m[0])throw Error('Route name should start with a "/", got "'.concat(m,'"'));return(e=>{let t=l.default(c.removeTrailingSlash(i.addLocale(e,n)),".json");return a.addBasePath("/_next/data/".concat(this.buildId).concat(t).concat(p),!0)})(e.skipInterpolation?h:s.isDynamicRoute(m)?o.interpolateAs(d,h,f).result:m)}_isSsg(e){return this.promisedSsgManifest.then((t=>t.has(e)))}loadPage(e){return this.routeLoader.loadRoute(e).then((e=>{if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map((e=>({href:e.href,text:e.content})))};throw e.error}))}prefetch(e){return this.routeLoader.prefetch(e)}constructor(e,t){this.routeLoader=d.createRouteLoader(t),this.buildId=e,this.assetPrefix=t,this.promisedSsgManifest=new Promise((e=>{window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=()=>{e(window.__SSG_MANIFEST)}}))}},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},35108:function(e,t,r){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;let a=["CLS","FCP","FID","INP","LCP","TTFB"],o=location.href,l=!1;function i(e){n&&n(e);{var t;let r={dsn:"fXV9Vvdk21hl4M7GlikWydqMcnN",id:e.id,page:null==(t=window.__NEXT_DATA__)?void 0:t.page,href:o,event_name:e.name,value:e.value.toString(),speed:"connection"in navigator&&navigator.connection&&"effectiveType"in navigator.connection?navigator.connection.effectiveType:""},a=new Blob([new URLSearchParams(r).toString()],{type:"application/x-www-form-urlencoded"}),l="https://vitals.vercel-insights.com/v1/vitals",i=navigator.sendBeacon&&navigator.sendBeacon.bind(navigator);function s(){fetch(l,{body:a,method:"POST",credentials:"omit",keepalive:!0}).catch(console.error)}try{i(l,a)||s()}catch(e){s()}}}t.default=e=>{if(n=e,!l)for(let e of(l=!0,a))try{let t;t||(t=r(78018)),t["on".concat(e)](i)}catch(t){console.warn("Failed to track ".concat(e," web-vital"),t)}},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},73232:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Portal=void 0;var n=r(67294),a=r(73935);t.Portal=e=>{let{children:t,type:r}=e,[o,l]=n.useState(null);return n.useEffect((()=>{let e=document.createElement(r);return document.body.appendChild(e),l(e),()=>{document.body.removeChild(e)}}),[r]),o?a.createPortal(t,o):null},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},39577:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeBasePath=function(e){return(e=e.slice(0)).startsWith("/")||(e="/".concat(e)),e},r(12140),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},52080:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeLocale=function(e,t){{let{pathname:r}=n.parsePath(e),a=r.toLowerCase(),o=null==t?void 0:t.toLowerCase();return t&&(a.startsWith("/".concat(o,"/"))||a==="/".concat(o))?"".concat(r.length===t.length+1?"/":"").concat(e.slice(t.length+1)):e}};var n=r(64046);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},10029:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cancelIdleCallback=t.requestIdleCallback=void 0;let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)};t.requestIdleCallback=r;let n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};t.cancelIdleCallback=n,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},42827:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RouteAnnouncer=void 0;var n=(0,r(92648).Z)(r(67294)),a=r(96885);let o={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},l=()=>{let{asPath:e}=a.useRouter(),[t,r]=n.default.useState(""),l=n.default.useRef(e);return n.default.useEffect((()=>{if(l.current!==e)if(l.current=e,document.title)r(document.title);else{var t;let n=document.querySelector("h1"),a=null!=(t=null==n?void 0:n.innerText)?t:null==n?void 0:n.textContent;r(a||e)}}),[e]),n.default.createElement("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:o},t)};t.RouteAnnouncer=l,t.default=l,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},95564:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.markAssetError=i,t.isAssetError=function(e){return e&&l in e},t.getClientBuildManifest=c,t.createRouteLoader=function(e){let t=new Map,r=new Map,n=new Map,l=new Map;function c(e){{var t;let n=r.get(e.toString());return n||(document.querySelector('script[src^="'.concat(e,'"]'))?Promise.resolve():(r.set(e.toString(),n=new Promise(((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(i(Error("Failed to load script: ".concat(e)))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)}))),n))}}function f(e){let t=n.get(e);return t||n.set(e,t=fetch(e).then((t=>{if(!t.ok)throw Error("Failed to load stylesheet: ".concat(e));return t.text().then((t=>({href:e,content:t})))})).catch((e=>{throw i(e)}))),t}return{whenEntrypoint:e=>o(e,t),onEntrypoint(e,r){(r?Promise.resolve().then((()=>r())).then((e=>({component:e&&e.default||e,exports:e})),(e=>({error:e}))):Promise.resolve(void 0)).then((r=>{let n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),l.delete(e))}))},loadRoute(r,n){return o(r,l,(()=>u(d(e,r).then((e=>{let{scripts:n,css:a}=e;return Promise.all([t.has(r)?[]:Promise.all(n.map(c)),Promise.all(a.map(f))])})).then((e=>this.whenEntrypoint(r).then((t=>({entrypoint:t,styles:e[1]}))))),3800,i(Error("Route did not complete loading: ".concat(r)))).then((e=>{let{entrypoint:t,styles:r}=e,n=Object.assign({styles:r},t);return"error"in t?t:n})).catch((e=>{if(n)throw e;return{error:e}})).finally((()=>{}))))},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():d(e,t).then((e=>Promise.all(s?e.scripts.map((e=>{var t,r,n;return t=e.toString(),r="script",new Promise(((e,a)=>{let o='\n link[rel="prefetch"][href^="'.concat(t,'"],\n link[rel="preload"][href^="').concat(t,'"],\n script[src^="').concat(t,'"]');if(document.querySelector(o))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=()=>a(i(Error("Failed to prefetch: ".concat(t)))),n.href=t,document.head.appendChild(n)}))})):[]))).then((()=>{a.requestIdleCallback((()=>this.loadRoute(t,!0).catch((()=>{}))))})).catch((()=>{}))}}},(0,r(92648).Z)(r(9184));var n=r(466),a=r(10029);function o(e,t,r){let n,a=t.get(e);if(a)return"future"in a?a.future:Promise.resolve(a);let o=new Promise((e=>{n=e}));return t.set(e,a={resolve:n,future:o}),r?r().then((e=>(n(e),e))).catch((r=>{throw t.delete(e),r})):o}let l=Symbol("ASSET_LOAD_ERROR");function i(e){return Object.defineProperty(e,l,{})}let s=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}();function u(e,t,r){return new Promise(((n,o)=>{let l=!1;e.then((e=>{l=!0,n(e)})).catch(o),a.requestIdleCallback((()=>setTimeout((()=>{l||o(r)}),t)))}))}function c(){if(self.__BUILD_MANIFEST)return Promise.resolve(self.__BUILD_MANIFEST);let e=new Promise((e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}}));return u(e,3800,i(Error("Failed to load client build manifest")))}function d(e,t){return c().then((r=>{if(!(t in r))throw i(Error("Failed to lookup route: ".concat(t)));let a=r[t].map((t=>e+"/_next/"+encodeURI(t)));return{scripts:a.filter((e=>e.endsWith(".js"))).map((e=>n.__unsafeCreateTrustedScriptURL(e))),css:a.filter((e=>e.endsWith(".css")))}}))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96885:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Router",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"withRouter",{enumerable:!0,get:function(){return s.default}}),t.useRouter=function(){let e=a.default.useContext(l.RouterContext);if(!e)throw Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted");return e},t.createRouter=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.router=new o.default(...t),u.readyCallbacks.forEach((e=>e())),u.readyCallbacks=[],u.router},t.makePublicRouterInstance=function(e){let t={};for(let r of c)"object"!=typeof e[r]?t[r]=e[r]:t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);return t.events=o.default.events,d.forEach((r=>{t[r]=function(){for(var t=arguments.length,n=Array(t),a=0;a<t;a++)n[a]=arguments[a];return e[r](...n)}})),t},t.default=void 0;var n=r(92648).Z,a=n(r(67294)),o=n(r(15932)),l=r(69955),i=n(r(80676)),s=n(r(38620));let u={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],d=["push","replace","reload","back","prefetch","beforePopState"];function f(){if(!u.router)throw Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n');return u.router}Object.defineProperty(u,"events",{get:()=>o.default.events}),c.forEach((e=>{Object.defineProperty(u,e,{get:()=>f()[e]})})),d.forEach((e=>{u[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return f()[e](...r)}})),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach((e=>{u.ready((()=>{o.default.events.on(e,(function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let a="on".concat(e.charAt(0).toUpperCase()).concat(e.substring(1));if(u[a])try{u[a](...r)}catch(e){console.error("Error when running the Router event: ".concat(a)),console.error(i.default(e)?"".concat(e.message,"\n").concat(e.stack):e+"")}}))}))})),t.default=u,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},85442:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleClientScriptLoad=y,t.initScriptLoader=function(e){e.forEach(y),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach((e=>{let t=e.id||e.getAttribute("src");p.add(t)}))},t.default=void 0;var n=r(6495).Z,a=r(92648).Z,o=r(91598).Z,l=r(17273).Z,i=a(r(73935)),s=o(r(67294)),u=r(79958),c=r(19623),d=r(10029);let f=new Map,p=new Set,h=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy"],m=e=>{let{src:t,id:r,onLoad:n=(()=>{}),onReady:a=null,dangerouslySetInnerHTML:o,children:l="",strategy:i="afterInteractive",onError:s}=e,u=r||t;if(u&&p.has(u))return;if(f.has(t))return p.add(u),void f.get(t).then(n,s);let d=()=>{a&&a(),p.add(u)},m=document.createElement("script"),y=new Promise(((e,t)=>{m.addEventListener("load",(function(t){e(),n&&n.call(this,t),d()})),m.addEventListener("error",(function(e){t(e)}))})).catch((function(e){s&&s(e)}));for(let[r,n]of(o?(m.innerHTML=o.__html||"",d()):l?(m.textContent="string"==typeof l?l:Array.isArray(l)?l.join(""):"",d()):t&&(m.src=t,f.set(t,y)),Object.entries(e))){if(void 0===n||h.includes(r))continue;let e=c.DOMAttributeNames[r]||r.toLowerCase();m.setAttribute(e,n)}"worker"===i&&m.setAttribute("type","text/partytown"),m.setAttribute("data-nscript",i),document.body.appendChild(m)};function y(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",(()=>{d.requestIdleCallback((()=>m(e)))})):m(e)}function g(e){let{id:t,src:r="",onLoad:a=(()=>{}),onReady:o=null,strategy:c="afterInteractive",onError:f}=e,h=l(e,["id","src","onLoad","onReady","strategy","onError"]),{updateScripts:y,scripts:g,getIsSsr:v,appDir:_,nonce:P}=s.useContext(u.HeadManagerContext),b=s.useRef(!1);s.useEffect((()=>{let e=t||r;b.current||(o&&e&&p.has(e)&&o(),b.current=!0)}),[o,t,r]);let S=s.useRef(!1);if(s.useEffect((()=>{!S.current&&("afterInteractive"===c?m(e):"lazyOnload"===c&&("complete"===document.readyState?d.requestIdleCallback((()=>m(e))):window.addEventListener("load",(()=>{d.requestIdleCallback((()=>m(e)))}))),S.current=!0)}),[e,c]),("beforeInteractive"===c||"worker"===c)&&(y?(g[c]=(g[c]||[]).concat([n({id:t,src:r,onLoad:a,onReady:o,onError:f},h)]),y(g)):v&&v()?p.add(t||r):v&&!v()&&m(e)),_){if("beforeInteractive"===c)return r?(i.default.preload(r,h.integrity?{as:"script",integrity:h.integrity}:{as:"script"}),s.default.createElement("script",{nonce:P,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push(".concat(JSON.stringify([r]),")")}})):(h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),s.default.createElement("script",{nonce:P,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push(".concat(JSON.stringify([0,n({},h)]),")")}}));"afterInteractive"===c&&r&&i.default.preload(r,h.integrity?{as:"script",integrity:h.integrity}:{as:"script"})}return null}Object.defineProperty(g,"__nextScript",{value:!0}),t.default=g,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},466:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),t.__unsafeCreateTrustedScriptURL=function(e){var t;return(null==(t=function(){var e;void 0===r&&(r=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null);return r}())?void 0:t.createScriptURL(e))||e},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},38620:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t){return n.default.createElement(e,Object.assign({router:a.useRouter()},t))}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t};var n=(0,r(92648).Z)(r(67294)),a=r(96885);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},65035:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(60932).Z,a=(0,r(92648).Z)(r(67294)),o=r(79064);function l(e){return i.apply(this,arguments)}function i(){return(i=n((function*(e){let{Component:t,ctx:r}=e;return{pageProps:yield o.loadGetInitialProps(t,r)}}))).apply(this,arguments)}class s extends a.default.Component{render(){let{Component:e,pageProps:t}=this.props;return a.default.createElement(e,Object.assign({},t))}}s.origGetInitialProps=l,s.getInitialProps=l,t.default=s,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},43499:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92648).Z,a=n(r(67294)),o=n(r(42636));let l={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function i(e){let{res:t,err:r}=e;return{statusCode:t&&t.statusCode?t.statusCode:r?r.statusCode:404}}let s={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block",textAlign:"left"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}};class u extends a.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||l[e]||"An unexpected error has occurred";return a.default.createElement("div",{style:s.error},a.default.createElement(o.default,null,a.default.createElement("title",null,e?"".concat(e,": ").concat(r):"Application error: a client-side exception has occurred")),a.default.createElement("div",null,a.default.createElement("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}".concat(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?a.default.createElement("h1",{className:"next-error-h1",style:s.h1},e):null,a.default.createElement("div",{style:s.desc},a.default.createElement("h2",{style:s.h2},this.props.title||e?r:a.default.createElement(a.default.Fragment,null,"Application error: a client-side exception has occurred (see the browser console for more information)"),"."))))}}u.displayName="ErrorPage",u.getInitialProps=i,u.origGetInitialProps=i,t.default=u,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},14221:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AmpStateContext=void 0;let n=(0,r(92648).Z)(r(67294)).default.createContext({});t.AmpStateContext=n},63459:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInAmpMode=function(){let{ampFirst:e=!1,hybrid:t=!1,hasQuery:r=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e||t&&r}},24224:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateContext=t.GlobalLayoutRouterContext=t.LayoutRouterContext=t.AppRouterContext=t.CacheStates=void 0;var n,a,o=(0,r(92648).Z)(r(67294));t.CacheStates=n,(a=n||(t.CacheStates=n={})).LAZY_INITIALIZED="LAZYINITIALIZED",a.DATA_FETCH="DATAFETCH",a.READY="READY";let l=o.default.createContext(null);t.AppRouterContext=l;let i=o.default.createContext(null);t.LayoutRouterContext=i;let s=o.default.createContext(null);t.GlobalLayoutRouterContext=s;let u=o.default.createContext(null);t.TemplateContext=u},35987:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeStringRegexp=function(e){return r.test(e)?e.replace(n,"\\$&"):e};let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g},79958:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HeadManagerContext=void 0;let n=(0,r(92648).Z)(r(67294)).default.createContext({});t.HeadManagerContext=n},42636:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHead=c,t.default=void 0;var n=r(6495).Z,a=r(92648).Z,o=(0,r(91598).Z)(r(67294)),l=a(r(63962)),i=r(14221),s=r(79958),u=r(63459);function c(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=[o.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(o.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function d(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce(((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t)),[])):e.concat(t)}r(34210);let f=["name","httpEquiv","charSet","itemProp"];function p(e,t){let{inAmpMode:r}=t;return e.reduce(d,[]).reverse().concat(c(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return a=>{let o=!0,l=!1;if(a.key&&"number"!=typeof a.key&&a.key.indexOf("$")>0){l=!0;let t=a.key.slice(a.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(a.type){case"title":case"base":t.has(a.type)?o=!1:t.add(a.type);break;case"meta":for(let e=0,t=f.length;e<t;e++){let t=f[e];if(a.props.hasOwnProperty(t))if("charSet"===t)r.has(t)?o=!1:r.add(t);else{let e=a.props[t],r=n[t]||new Set;"name"===t&&l||!r.has(e)?(r.add(e),n[t]=r):o=!1}}}return o}}()).reverse().map(((e,t)=>{let a=e.key||t;if(!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some((t=>e.props.href.startsWith(t)))){let t=n({},e.props||{});return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,o.default.cloneElement(e,t)}return o.default.cloneElement(e,{key:a})}))}t.default=function(e){let{children:t}=e,r=o.useContext(i.AmpStateContext),n=o.useContext(s.HeadManagerContext);return o.default.createElement(l.default,{reduceComponentsToState:p,headManager:n,inAmpMode:u.isInAmpMode(r)},t)},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},78463:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LayoutSegmentsContext=t.ParamsContext=t.PathnameContext=t.SearchParamsContext=void 0;var n=r(67294);let a=n.createContext(null);t.SearchParamsContext=a;let o=n.createContext(null);t.PathnameContext=o;let l=n.createContext(null);t.ParamsContext=l;let i=n.createContext(null);t.LayoutSegmentsContext=i},18391:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detectDomainLocale=function(e,t,r){let n;if(e)for(let l of(r&&(r=r.toLowerCase()),e)){var a,o;if(t===(null==(a=l.domain)?void 0:a.split(":")[0].toLowerCase())||r===l.defaultLocale.toLowerCase()||(null==(o=l.locales)?void 0:o.some((e=>e.toLowerCase()===r)))){n=l;break}}return n}},34842:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeLocalePath=function(e,t){let r,n=e.split("/");return(t||[]).some((t=>!!n[1]&&n[1].toLowerCase()===t.toLowerCase()&&(r=t,n.splice(1,1),e=n.join("/")||"/",!0))),{pathname:e,detectedLocale:r}}},83341:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImageConfigContext=void 0;var n=(0,r(92648).Z)(r(67294)),a=r(3735);let o=n.default.createContext(a.imageConfigDefault);t.ImageConfigContext=o},3735:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.imageConfigDefault=t.VALID_LOADERS=void 0,t.VALID_LOADERS=["default","imgix","cloudinary","akamai","custom"],t.imageConfigDefault={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},19125:function(e,t){"use strict";function r(e){return Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.getObjectClassLabel=r,t.isPlainObject=function(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}},54149:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NEXT_DYNAMIC_NO_SSR_CODE=void 0,t.NEXT_DYNAMIC_NO_SSR_CODE="DYNAMIC_SERVER_USAGE"},96595:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t){for(var r=arguments.length,n=Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];(e[t]||[]).slice().map((e=>{e(...n)}))}}}},82307:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.denormalizePagePath=function(e){let t=a.normalizePathSep(e);return t.startsWith("/index/")&&!n.isDynamicRoute(t)?t.slice(6):"/index"!==t?t:"/"};var n=r(919),a=r(98106)},98106:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePathSep=function(e){return e.replace(/\\/g,"/")}},69955:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RouterContext=void 0;let n=(0,r(92648).Z)(r(67294)).default.createContext(null);t.RouterContext=n},29486:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.adaptForAppRouterInstance=function(e){return{back(){e.back()},forward(){e.forward()},refresh(){e.reload()},push(t){e.push(t)},replace(t){e.replace(t)},prefetch(t){e.prefetch(t)}}},t.adaptForSearchParams=function(e){return e.isReady&&e.query?function(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,e);else void 0!==n&&t.append(r,n);return t}(e.query):new URLSearchParams},t.PathnameContextProviderAdapter=function(e){var{children:t,router:r}=e,n=a(e,["children","router"]);let s=o.useRef(n.isAutoExport),u=o.useMemo((()=>{let e,t=s.current;if(t&&(s.current=!1),i.isDynamicRoute(r.pathname)&&(r.isFallback||t&&!r.isReady))return null;try{e=new URL(r.asPath,"http://f")}catch(e){return"/"}return e.pathname}),[r.asPath,r.isFallback,r.isReady,r.pathname]);return o.default.createElement(l.PathnameContext.Provider,{value:u},t)};var n=r(91598).Z,a=r(17273).Z,o=n(r(67294)),l=r(78463),i=r(919)},15932:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchesMiddleware=B,t.createKey=X,t.default=void 0;var n=r(60932).Z,a=r(6495).Z,o=r(92648).Z,l=r(91598).Z,i=r(67734),s=r(95564),u=r(85442),c=l(r(80676)),d=r(82307),f=r(34842),p=o(r(96595)),h=r(79064),m=r(63162),y=r(73460);o(r(72431));var g=r(43978),v=r(37762),_=r(61410),P=r(2249),b=r(64046),S=r(370),w=r(52080),E=r(39577),C=r(64266),x=r(12140),j=r(79423),O=r(96373),R=r(79473),L=r(66385),M=r(83353),A=r(90293),T=r(35821),I=r(14532),N=r(35036),k=r(3105);function D(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}function B(e){return H.apply(this,arguments)}function H(){return(H=n((function*(e){let t=yield Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=b.parsePath(e.asPath),n=x.hasBasePath(r)?E.removeBasePath(r):r,a=C.addBasePath(S.addLocale(n,e.locale));return t.some((e=>RegExp(e.regexp).test(a)))}))).apply(this,arguments)}function U(e){let t=h.getLocationOrigin();return e.startsWith(t)?e.substring(t.length):e}function q(e,t,r){let[n,a]=I.resolveHref(e,t,!0),o=h.getLocationOrigin(),l=n.startsWith(o),i=a&&a.startsWith(o);n=U(n),a=a?U(a):a;let s=l?n:C.addBasePath(n),u=r?U(I.resolveHref(e,r)):a||n;return{url:s,as:i?u:C.addBasePath(u)}}function F(e,t){let r=i.removeTrailingSlash(d.denormalizePagePath(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some((t=>{if(m.isDynamicRoute(t)&&v.getRouteRegex(t).re.test(r))return e=t,!0})),i.removeTrailingSlash(e))}function W(e){return Z.apply(this,arguments)}function Z(){return(Z=n((function*(e){if(!(yield B(e))||!e.fetchData)return null;try{let t=yield e.fetchData(),r=yield function(e,t,r){let n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:Boolean(!1)},o=t.headers.get("x-nextjs-rewrite"),l=o||t.headers.get("x-nextjs-matched-path"),u=t.headers.get("x-matched-path");if(!u||l||u.includes("__next_data_catchall")||u.includes("/_error")||u.includes("/404")||(l=u),l){if(l.startsWith("/")){let t=y.parseRelativeUrl(l),a=O.getNextPathnameInfo(t.pathname,{nextConfig:n,parseData:!0}),u=i.removeTrailingSlash(a.pathname);return Promise.all([r.router.pageLoader.getPageList(),s.getClientBuildManifest()]).then((n=>{let[l,{__rewrites:i}]=n,s=S.addLocale(a.pathname,a.locale);if(m.isDynamicRoute(s)||!o&&l.includes(f.normalizeLocalePath(E.removeBasePath(s),r.router.locales).pathname)){let r=O.getNextPathnameInfo(y.parseRelativeUrl(e).pathname,{parseData:!0});s=C.addBasePath(r.pathname),t.pathname=s}if(!l.includes(u)){let e=F(u,l);e!==u&&(u=e)}let c=l.includes(u)?u:F(f.normalizeLocalePath(E.removeBasePath(t.pathname),r.router.locales).pathname,l);if(m.isDynamicRoute(c)){let e=g.getRouteMatcher(v.getRouteRegex(c))(s);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:c}}))}let t=b.parsePath(e),u=R.formatNextPathnameInfo(a({},O.getNextPathnameInfo(t.pathname,{nextConfig:n,parseData:!0}),{defaultLocale:r.router.defaultLocale,buildId:""}));return Promise.resolve({type:"redirect-external",destination:"".concat(u).concat(t.query).concat(t.hash)})}let c=t.headers.get("x-nextjs-redirect");if(c){if(c.startsWith("/")){let e=b.parsePath(c),t=R.formatNextPathnameInfo(a({},O.getNextPathnameInfo(e.pathname,{nextConfig:n,parseData:!0}),{defaultLocale:r.router.defaultLocale,buildId:""}));return Promise.resolve({type:"redirect-internal",newAs:"".concat(t).concat(e.query).concat(e.hash),newUrl:"".concat(t).concat(e.query).concat(e.hash)})}return Promise.resolve({type:"redirect-external",destination:c})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}catch(e){return null}}))).apply(this,arguments)}let z=Symbol("SSG_DATA_NOT_FOUND");function G(e){try{return JSON.parse(e)}catch(e){return null}}function V(e){var t;let{dataHref:r,inflightCache:n,isPrefetch:a,hasMiddleware:o,isServerRender:l,parseJSON:i,persistCache:u,isBackground:c,unstable_skipClientCache:d}=e,{href:f}=new URL(r,window.location.href),p=e=>function e(t,r,n){return fetch(t,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then((a=>!a.ok&&r>1&&a.status>=500?e(t,r-1,n):a))}(r,l?3:1,{headers:Object.assign({},a?{purpose:"prefetch"}:{},a&&o?{"x-middleware-prefetch":"1"}:{}),method:null!=(t=null==e?void 0:e.method)?t:"GET"}).then((t=>t.ok&&"HEAD"===(null==e?void 0:e.method)?{dataHref:r,response:t,text:"",json:{},cacheKey:f}:t.text().then((e=>{if(!t.ok){if(o&&[301,302,307,308].includes(t.status))return{dataHref:r,response:t,text:e,json:{},cacheKey:f};var n;if(404===t.status)if(null==(n=G(e))?void 0:n.notFound)return{dataHref:r,json:{notFound:z},response:t,text:e,cacheKey:f};let a=Error("Failed to load static props");throw l||s.markAssetError(a),a}return{dataHref:r,json:i?G(e):null,response:t,text:e,cacheKey:f}})))).then((e=>(u&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete n[f],e))).catch((e=>{throw d||delete n[f],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&s.markAssetError(e),e}));return d&&u?p({}).then((e=>(n[f]=Promise.resolve(e),e))):void 0!==n[f]?n[f]:n[f]=p(c?{method:"HEAD"}:{})}function X(){return Math.random().toString(36).slice(2,10)}function K(e){let{url:t,router:r}=e;if(t===C.addBasePath(S.addLocale(r.asPath,r.locale)))throw Error("Invariant: attempted to hard navigate to the same URL ".concat(t," ").concat(location.href));window.location.href=t}let Y=e=>{let{route:t,router:r}=e,n=!1,a=r.clc=()=>{n=!0};return()=>{if(n){let e=Error('Abort fetching component for route: "'.concat(t,'"'));throw e.cancelled=!0,e}a===r.clc&&(r.clc=null)}};class ${reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return({url:e,as:t}=q(this,e,t)),this.change("pushState",e,t,r)}replace(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return({url:e,as:t}=q(this,e,t)),this.change("replaceState",e,t,r)}_bfl(e,t,r){return n((function*(){}))()}change(e,t,r,o,l){var d=this;return n((function*(){var n,p,j,O,R,A,I,k,H;let U,W;if(!M.isLocalURL(t))return K({url:t,router:d}),!1;let Z=1===o._h;Z||o.shallow||(yield d._bfl(r,void 0,o.locale));let G=Z||o._shouldResolveHref||b.parsePath(t).pathname===b.parsePath(r).pathname,V=a({},d.state),X=!0!==d.isReady;d.isReady=!0;let Y=d.isSsr;if(Z||(d.isSsr=!1),Z&&d.clc)return!1;let J=V.locale;{V.locale=!1===o.locale?d.defaultLocale:o.locale||V.locale,void 0===o.locale&&(o.locale=V.locale);let e=y.parseRelativeUrl(x.hasBasePath(r)?E.removeBasePath(r):r),a=f.normalizeLocalePath(e.pathname,d.locales);a.detectedLocale&&(V.locale=a.detectedLocale,e.pathname=C.addBasePath(e.pathname),r=_.formatWithValidation(e),t=C.addBasePath(f.normalizeLocalePath(x.hasBasePath(t)?E.removeBasePath(t):t,d.locales).pathname));let l=!1;(null==(n=d.locales)?void 0:n.includes(V.locale))||(e.pathname=S.addLocale(e.pathname,V.locale),K({url:_.formatWithValidation(e),router:d}),l=!0);let i=P.detectDomainLocale(d.domainLocales,void 0,V.locale);if(!l&&i&&d.isLocaleDomain&&self.location.hostname!==i.domain){let e=E.removeBasePath(r);K({url:"http".concat(i.http?"":"s","://").concat(i.domain).concat(C.addBasePath("".concat(V.locale===i.defaultLocale?"":"/".concat(V.locale)).concat("/"===e?"":e)||"/")),router:d}),l=!0}if(l)return new Promise((()=>{}))}h.ST&&performance.mark("routeChange");let{shallow:Q=!1,scroll:ee=!0}=o,te={shallow:Q};d._inFlightRoute&&d.clc&&(Y||$.events.emit("routeChangeError",D(),d._inFlightRoute,te),d.clc(),d.clc=null),r=C.addBasePath(S.addLocale(x.hasBasePath(r)?E.removeBasePath(r):r,o.locale,d.defaultLocale));let re=w.removeLocale(x.hasBasePath(r)?E.removeBasePath(r):r,V.locale);d._inFlightRoute=r;let ne=J!==V.locale;if(!Z&&d.onlyAHashChange(re)&&!ne){V.asPath=re,$.events.emit("hashChangeStart",r,te),d.changeState(e,t,r,a({},o,{scroll:!1})),ee&&d.scrollToHash(re);try{yield d.set(V,d.components[V.route],null)}catch(e){throw c.default(e)&&e.cancelled&&$.events.emit("routeChangeError",e,re,te),e}return $.events.emit("hashChangeComplete",r,te),!0}let ae=y.parseRelativeUrl(t),{pathname:oe,query:le}=ae;try{[U,{__rewrites:W}]=yield Promise.all([d.pageLoader.getPageList(),s.getClientBuildManifest(),d.pageLoader.getMiddleware()])}catch(e){return K({url:r,router:d}),!1}d.urlIsNew(re)||ne||(e="replaceState");let ie=r;oe=oe?i.removeTrailingSlash(E.removeBasePath(oe)):oe;let se=i.removeTrailingSlash(oe),ue=r.startsWith("/")&&y.parseRelativeUrl(r).pathname,ce=!(!ue||se===ue||m.isDynamicRoute(se)&&g.getRouteMatcher(v.getRouteRegex(se))(ue)),de=!o.shallow&&(yield B({asPath:r,locale:V.locale,router:d}));if(Z&&de&&(G=!1),G&&"/_error"!==oe&&(o._shouldResolveHref=!0,ae.pathname=F(oe,U),ae.pathname===oe||(oe=ae.pathname,ae.pathname=C.addBasePath(oe),de||(t=_.formatWithValidation(ae)))),!M.isLocalURL(r))return K({url:r,router:d}),!1;ie=w.removeLocale(E.removeBasePath(ie),V.locale),se=i.removeTrailingSlash(oe);let fe=!1;if(m.isDynamicRoute(se)){let e=y.parseRelativeUrl(ie),n=e.pathname,a=v.getRouteRegex(se);fe=g.getRouteMatcher(a)(n);let o=se===n,l=o?N.interpolateAs(se,n,le):{};if(!fe||o&&!l.result){let e=Object.keys(a.groups).filter((e=>!le[e]&&!a.groups[e].optional));if(e.length>0&&!de)throw Error((o?"The provided `href` (".concat(t,") value is missing query values (").concat(e.join(", "),") to be interpolated properly. "):"The provided `as` value (".concat(n,") is incompatible with the `href` value (").concat(se,"). "))+"Read more: https://nextjs.org/docs/messages/".concat(o?"href-interpolation-failed":"incompatible-href-as"))}else o?r=_.formatWithValidation(Object.assign({},e,{pathname:l.result,query:T.omit(le,l.params)})):Object.assign(le,fe)}Z||$.events.emit("routeChangeStart",r,te);let pe="/404"===d.pathname||"/_error"===d.pathname;try{let n=yield d.getRouteInfo({route:se,pathname:oe,query:le,as:r,resolvedAs:ie,routeProps:te,locale:V.locale,isPreview:V.isPreview,hasMiddleware:de,unstable_skipClientCache:o.unstable_skipClientCache,isQueryUpdating:Z&&!d.isFallback,isMiddlewareRewrite:ce});if(Z||o.shallow||(yield d._bfl(r,"resolvedAs"in n?n.resolvedAs:void 0,V.locale)),"route"in n&&de){se=oe=n.route||se,te.shallow||(le=Object.assign({},n.query||{},le));let e=x.hasBasePath(ae.pathname)?E.removeBasePath(ae.pathname):ae.pathname;if(fe&&oe!==e&&Object.keys(fe).forEach((e=>{fe&&le[e]===fe[e]&&delete le[e]})),m.isDynamicRoute(oe)){let e=!te.shallow&&n.resolvedAs?n.resolvedAs:C.addBasePath(S.addLocale(new URL(r,location.href).pathname,V.locale),!0);x.hasBasePath(e)&&(e=E.removeBasePath(e));{let t=f.normalizeLocalePath(e,d.locales);V.locale=t.detectedLocale||V.locale,e=t.pathname}let t=v.getRouteRegex(oe),a=g.getRouteMatcher(t)(new URL(e,location.href).pathname);a&&Object.assign(le,a)}}if("type"in n)return"redirect-internal"===n.type?d.change(e,n.newUrl,n.newAs,o):(K({url:n.destination,router:d}),new Promise((()=>{})));let i=n.Component;if(i&&i.unstable_scriptLoader){[].concat(i.unstable_scriptLoader()).forEach((e=>{u.handleClientScriptLoad(e.props)}))}if((n.__N_SSG||n.__N_SSP)&&n.props){if(n.props.pageProps&&n.props.pageProps.__N_REDIRECT){o.locale=!1;let t=n.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==n.props.pageProps.__N_REDIRECT_BASE_PATH){let r=y.parseRelativeUrl(t);r.pathname=F(r.pathname,U);let{url:n,as:a}=q(d,t,t);return d.change(e,n,a,o)}return K({url:t,router:d}),new Promise((()=>{}))}if(V.isPreview=!!n.props.__N_PREVIEW,n.props.notFound===z){let e;try{yield d.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(n=yield d.getRouteInfo({route:e,pathname:e,query:le,as:r,resolvedAs:ie,routeProps:{shallow:!1},locale:V.locale,isPreview:V.isPreview,isNotFound:!0}),"type"in n)throw Error("Unexpected middleware effect on /404")}}Z&&"/_error"===d.pathname&&500===(null==(p=self.__NEXT_DATA__.props)||null==(j=p.pageProps)?void 0:j.statusCode)&&(null==(O=n.props)?void 0:O.pageProps)&&(n.props.pageProps.statusCode=500);let s=o.shallow&&V.route===(null!=(R=n.route)?R:se),h=null!=(A=o.scroll)?A:!Z&&!s,_=null!=l?l:h?{x:0,y:0}:null,P=a({},V,{route:se,pathname:oe,query:le,asPath:re,isFallback:!1});if(Z&&pe){if(n=yield d.getRouteInfo({route:d.pathname,pathname:d.pathname,query:le,as:r,resolvedAs:ie,routeProps:{shallow:!1},locale:V.locale,isPreview:V.isPreview,isQueryUpdating:Z&&!d.isFallback}),"type"in n)throw Error("Unexpected middleware effect on ".concat(d.pathname));"/_error"===d.pathname&&500===(null==(I=self.__NEXT_DATA__.props)||null==(k=I.pageProps)?void 0:k.statusCode)&&(null==(H=n.props)?void 0:H.pageProps)&&(n.props.pageProps.statusCode=500);try{yield d.set(P,n,_)}catch(e){throw c.default(e)&&e.cancelled&&$.events.emit("routeChangeError",e,re,te),e}return!0}if($.events.emit("beforeHistoryChange",r,te),d.changeState(e,t,r,o),!(Z&&!_&&!X&&!ne&&L.compareRouterStates(P,d.state))){try{yield d.set(P,n,_)}catch(e){if(!e.cancelled)throw e;n.error=n.error||e}if(n.error)throw Z||$.events.emit("routeChangeError",n.error,re,te),n.error;V.locale&&(document.documentElement.lang=V.locale),Z||$.events.emit("routeChangeComplete",r,te),h&&/#.+$/.test(r)&&d.scrollToHash(r)}return!0}catch(e){if(c.default(e)&&e.cancelled)return!1;throw e}}))()}changeState(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};("pushState"!==e||h.getURL()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:X()},"",r))}handleRouteInfoError(e,t,r,a,o,l){var i=this;return n((function*(){if(console.error(e),e.cancelled)throw e;if(s.isAssetError(e)||l)throw $.events.emit("routeChangeError",e,a,o),K({url:a,router:i}),D();try{let n,{page:a,styleSheets:o}=yield i.fetchComponent("/_error"),l={props:n,Component:a,styleSheets:o,err:e,error:e};if(!l.props)try{l.props=yield i.getInitialProps(a,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),l.props={}}return l}catch(e){return i.handleRouteInfoError(c.default(e)?e:Error(e+""),t,r,a,o,!0)}}))()}getRouteInfo(e){let{route:t,pathname:r,query:o,as:l,resolvedAs:s,routeProps:u,locale:d,hasMiddleware:p,isPreview:h,unstable_skipClientCache:m,isQueryUpdating:y,isMiddlewareRewrite:g,isNotFound:v}=e;var P=this;return n((function*(){let e=t;try{var b,S,w,C;let t=Y({route:e,router:P}),c=P.components[e];if(u.shallow&&c&&P.route===e)return c;p&&(c=void 0);let x=!c||"initial"in c?void 0:c,O={dataHref:P.pageLoader.getDataHref({href:_.formatWithValidation({pathname:r,query:o}),skipInterpolation:!0,asPath:v?"/404":s,locale:d}),hasMiddleware:!0,isServerRender:P.isSsr,parseJSON:!0,inflightCache:y?P.sbc:P.sdc,persistCache:!h,isPrefetch:!1,unstable_skipClientCache:m,isBackground:y},R=y&&!g?null:yield W({fetchData:()=>V(O),asPath:v?"/404":s,locale:d,router:P}).catch((e=>{if(y)return null;throw e}));if(R&&("/_error"===r||"/404"===r)&&(R.effect=void 0),y&&(R?R.json=self.__NEXT_DATA__.props:R={json:self.__NEXT_DATA__.props}),t(),"redirect-internal"===(null==R||null==(b=R.effect)?void 0:b.type)||"redirect-external"===(null==R||null==(S=R.effect)?void 0:S.type))return R.effect;if("rewrite"===(null==R||null==(w=R.effect)?void 0:w.type)){let t=i.removeTrailingSlash(R.effect.resolvedHref),n=yield P.pageLoader.getPageList();if((!y||n.includes(t))&&(e=t,r=R.effect.resolvedHref,o=a({},o,R.effect.parsedAs.query),s=E.removeBasePath(f.normalizeLocalePath(R.effect.parsedAs.pathname,P.locales).pathname),c=P.components[e],u.shallow&&c&&P.route===e&&!p))return a({},c,{route:e})}if(j.isAPIRoute(e))return K({url:l,router:P}),new Promise((()=>{}));let L=x||(yield P.fetchComponent(e).then((e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})))),M=null==R||null==(C=R.response)?void 0:C.headers.get("x-middleware-skip"),A=L.__N_SSG||L.__N_SSP;M&&(null==R?void 0:R.dataHref)&&delete P.sdc[R.dataHref];let{props:T,cacheKey:I}=yield P._getData(n((function*(){if(A){if((null==R?void 0:R.json)&&!M)return{cacheKey:R.cacheKey,props:R.json};let e=(null==R?void 0:R.dataHref)?R.dataHref:P.pageLoader.getDataHref({href:_.formatWithValidation({pathname:r,query:o}),asPath:s,locale:d}),t=yield V({dataHref:e,isServerRender:P.isSsr,parseJSON:!0,inflightCache:M?{}:P.sdc,persistCache:!h,isPrefetch:!1,unstable_skipClientCache:m});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:yield P.getInitialProps(L.Component,{pathname:r,query:o,asPath:l,locale:d,locales:P.locales,defaultLocale:P.defaultLocale})}})));return L.__N_SSP&&O.dataHref&&I&&delete P.sdc[I],P.isPreview||!L.__N_SSG||y||V(Object.assign({},O,{isBackground:!0,persistCache:!1,inflightCache:P.sbc})).catch((()=>{})),T.pageProps=Object.assign({},T.pageProps),L.props=T,L.route=e,L.query=o,L.resolvedAs=s,P.components[e]=L,L}catch(e){return P.handleRouteInfoError(c.getProperError(e),r,o,l,u)}}))()}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#"),[n,a]=e.split("#");return!!a&&t===n&&r===a||t===n&&r!==a}scrollToHash(e){let[,t=""]=e.split("#");if(""===t||"top"===t)return void k.handleSmoothScroll((()=>window.scrollTo(0,0)));let r=decodeURIComponent(t),n=document.getElementById(r);if(n)return void k.handleSmoothScroll((()=>n.scrollIntoView()));let a=document.getElementsByName(r)[0];a&&k.handleSmoothScroll((()=>a.scrollIntoView()))}urlIsNew(e){return this.asPath!==e}prefetch(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var o=this;return n((function*(){if(A.isBot(window.navigator.userAgent))return;let n=y.parseRelativeUrl(e),{pathname:l,query:s}=n,u=l;if(!1===r.locale){l=f.normalizeLocalePath(l,o.locales).pathname,n.pathname=l,e=_.formatWithValidation(n);let a=y.parseRelativeUrl(t),i=f.normalizeLocalePath(a.pathname,o.locales);a.pathname=i.pathname,r.locale=i.detectedLocale||o.defaultLocale,t=_.formatWithValidation(a)}let c=yield o.pageLoader.getPageList(),d=t,p=void 0!==r.locale?r.locale||void 0:o.locale,h=yield B({asPath:t,locale:p,router:o});n.pathname=F(n.pathname,c),m.isDynamicRoute(n.pathname)&&(l=n.pathname,n.pathname=l,Object.assign(s,g.getRouteMatcher(v.getRouteRegex(n.pathname))(b.parsePath(t).pathname)||{}),h||(e=_.formatWithValidation(n)));let P=yield W({fetchData:()=>V({dataHref:o.pageLoader.getDataHref({href:_.formatWithValidation({pathname:u,query:s}),skipInterpolation:!0,asPath:d,locale:p}),hasMiddleware:!0,isServerRender:o.isSsr,parseJSON:!0,inflightCache:o.sdc,persistCache:!o.isPreview,isPrefetch:!0}),asPath:t,locale:p,router:o});if("rewrite"===(null==P?void 0:P.effect.type)&&(n.pathname=P.effect.resolvedHref,l=P.effect.resolvedHref,s=a({},s,P.effect.parsedAs.query),d=P.effect.parsedAs.pathname,e=_.formatWithValidation(n)),"redirect-external"===(null==P?void 0:P.effect.type))return;let S=i.removeTrailingSlash(l);yield Promise.all([o.pageLoader._isSsg(S).then((t=>!!t&&V({dataHref:(null==P?void 0:P.json)?null==P?void 0:P.dataHref:o.pageLoader.getDataHref({href:e,asPath:d,locale:p}),isServerRender:!1,parseJSON:!0,inflightCache:o.sdc,persistCache:!o.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then((()=>!1)))),o.pageLoader[r.priority?"loadPage":"prefetch"](S)])}))()}fetchComponent(e){var t=this;return n((function*(){let r=Y({route:e,router:t});try{let n=yield t.pageLoader.loadPage(e);return r(),n}catch(e){throw r(),e}}))()}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then((e=>{if(r===this.clc&&(this.clc=null),t){let e=Error("Loading initial props cancelled");throw e.cancelled=!0,e}return e}))}_getFlightData(e){return V({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then((e=>{let{text:t}=e;return{data:t}}))}getInitialProps(e,t){let{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,h.loadGetInitialProps(r,{AppTree:n,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(e,t,r,{initialProps:n,pageLoader:a,App:o,wrapApp:l,Component:s,err:u,subscription:c,isFallback:d,locale:f,locales:p,defaultLocale:g,domainLocales:v,isPreview:b}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=X(),this.onPopState=e=>{let{isFirstPopStateEvent:t}=this;this.isFirstPopStateEvent=!1;let r=e.state;if(!r){let{pathname:e,query:t}=this;return void this.changeState("replaceState",_.formatWithValidation({pathname:C.addBasePath(e),query:t}),h.getURL())}if(r.__NA)return void window.location.reload();if(!r.__N||t&&this.locale===r.options.locale&&r.as===this.asPath)return;let{url:n,as:a,options:o,key:l}=r;this._key=l;let{pathname:i}=y.parseRelativeUrl(n);(!this.isSsr||a!==C.addBasePath(this.asPath)||i!==C.addBasePath(this.pathname))&&(!this._bps||this._bps(r))&&this.change("replaceState",n,a,Object.assign({},o,{shallow:o.shallow&&this._shallow,locale:o.locale||this.defaultLocale,_h:0}),undefined)};let S=i.removeTrailingSlash(e);this.components={},"/_error"!==e&&(this.components[S]={Component:s,initial:!0,props:n,err:u,__N_SSG:n&&n.__N_SSG,__N_SSP:n&&n.__N_SSP}),this.components["/_app"]={Component:o,styleSheets:[]},this.events=$.events,this.pageLoader=a;let w=m.isDynamicRoute(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=c,this.clc=null,this._wrapApp=l,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!w&&!self.location.search),this.locales=p,this.defaultLocale=g,this.domainLocales=v,this.isLocaleDomain=!!P.detectDomainLocale(v,self.location.hostname),this.state={route:S,pathname:e,query:t,asPath:w?e:r,isPreview:!!b,locale:f,isFallback:d},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!r.startsWith("//")){let n={locale:f},a=h.getURL();this._initialMatchesMiddlewarePromise=B({router:this,locale:f,asPath:a}).then((o=>(n._shouldResolveHref=r!==e,this.changeState("replaceState",o?a:_.formatWithValidation({pathname:C.addBasePath(e),query:t}),a,n),o)))}window.addEventListener("popstate",this.onPopState)}}$.events=p.default(),t.default=$},62721:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addLocale=function(e,t,r,o){return t&&t!==r&&(o||!a.pathHasPrefix(e.toLowerCase(),"/".concat(t.toLowerCase()))&&!a.pathHasPrefix(e.toLowerCase(),"/api"))?n.addPathPrefix(e,"/".concat(t)):e};var n=r(5246),a=r(76325)},5246:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPathPrefix=function(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:o}=n.parsePath(e);return"".concat(t).concat(r).concat(a).concat(o)};var n=r(64046)},19603:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPathSuffix=function(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:o}=n.parsePath(e);return"".concat(r).concat(t).concat(a).concat(o)};var n=r(64046)},66385:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compareRouterStates=function(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length;n--;){let a=r[n];if("query"===a){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let n=r.length;n--;){let a=r[n];if(!t.query.hasOwnProperty(a)||e.query[a]!==t.query[a])return!1}}else if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}},79473:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatNextPathnameInfo=function(e){let t=l.addLocale(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=n.removeTrailingSlash(t)),e.buildId&&(t=o.addPathSuffix(a.addPathPrefix(t,"/_next/data/".concat(e.buildId)),"/"===e.pathname?"index.json":".json")),t=a.addPathPrefix(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:o.addPathSuffix(t,"/"):n.removeTrailingSlash(t)};var n=r(67734),a=r(5246),o=r(19603),l=r(62721)},61410:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatUrl=o,t.formatWithValidation=function(e){return o(e)},t.urlObjectKeys=void 0;var n=(0,r(91598).Z)(r(53908));let a=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,o=e.protocol||"",l=e.pathname||"",i=e.hash||"",s=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?"[".concat(r,"]"):r),e.port&&(u+=":"+e.port)),s&&"object"==typeof s&&(s=String(n.urlQueryToSearchParams(s)));let c=e.search||s&&"?".concat(s)||"";return o&&!o.endsWith(":")&&(o+=":"),e.slashes||(!o||a.test(o))&&!1!==u?(u="//"+(u||""),l&&"/"!==l[0]&&(l="/"+l)):u||(u=""),i&&"#"!==i[0]&&(i="#"+i),c&&"?"!==c[0]&&(c="?"+c),l=l.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),"".concat(o).concat(u).concat(l).concat(c).concat(i)}t.urlObjectKeys=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"]},9184:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index".concat(e):"".concat(e))+t}},96373:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNextPathnameInfo=function(e,t){var r;let{basePath:l,i18n:i,trailingSlash:s}=null!=(r=t.nextConfig)?r:{},u={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):s};if(l&&o.pathHasPrefix(u.pathname,l)&&(u.pathname=a.removePathPrefix(u.pathname,l),u.basePath=l),!0===t.parseData&&u.pathname.startsWith("/_next/data/")&&u.pathname.endsWith(".json")){let e=u.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),t=e[0];u.pathname="index"!==e[1]?"/".concat(e.slice(1).join("/")):"/",u.buildId=t}if(i){let e=n.normalizeLocalePath(u.pathname,i.locales);u.locale=null==e?void 0:e.detectedLocale,u.pathname=(null==e?void 0:e.pathname)||u.pathname}return u};var n=r(34842),a=r(2476),o=r(76325)},3105:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleSmoothScroll=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}},919:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return n.getSortedRoutes}}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return a.isDynamicRoute}});var n=r(49163),a=r(63162)},35036:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interpolateAs=function(e,t,r){let o="",l=a.getRouteRegex(e),i=l.groups,s=(t!==e?n.getRouteMatcher(l)(t):"")||r;o=e;let u=Object.keys(i);return u.every((e=>{let t=s[e]||"",{repeat:r,optional:n}=i[e],a="[".concat(r?"...":"").concat(e,"]");return n&&(a="".concat(t?"":"/","[").concat(a,"]")),r&&!Array.isArray(t)&&(t=[t]),(n||e in s)&&(o=o.replace(a,r?t.map((e=>encodeURIComponent(e))).join("/"):encodeURIComponent(t))||"/")}))||(o=""),{params:u,result:o}};var n=r(43978),a=r(37762)},90293:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBot=function(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}},63162:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDynamicRoute=function(e){return r.test(e)};let r=/\/\[[^/]+?\](?=\/|$)/},83353:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLocalURL=function(e){if(!n.isAbsoluteUrl(e))return!0;try{let t=n.getLocationOrigin(),r=new URL(e,t);return r.origin===t&&a.hasBasePath(r.pathname)}catch(e){return!1}};var n=r(79064),a=r(12140)},35821:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.omit=function(e,t){let r={};return Object.keys(e).forEach((n=>{t.includes(n)||(r[n]=e[n])})),r}},64046:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parsePath=function(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r<t);return n||t>-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}},73460:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRelativeUrl=function(e,t){let r=new URL(n.getLocationOrigin()),o=t?new URL(t,r):e.startsWith(".")?new URL(window.location.href):r,{pathname:l,searchParams:i,search:s,hash:u,href:c,origin:d}=new URL(e,o);if(d!==r.origin)throw Error("invariant: invalid relative URL, router received ".concat(e));return{pathname:l,query:a.searchParamsToUrlQuery(i),search:s,hash:u,href:c.slice(r.origin.length)}};var n=r(79064),a=r(53908)},76325:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pathHasPrefix=function(e,t){if("string"!=typeof e)return!1;let{pathname:r}=n.parsePath(e);return r===t||r.startsWith(t+"/")};var n=r(64046)},53908:function(e,t){"use strict";function r(e){return"string"==typeof e||"number"==typeof e&&!isNaN(e)||"boolean"==typeof e?String(e):""}Object.defineProperty(t,"__esModule",{value:!0}),t.searchParamsToUrlQuery=function(e){let t={};return e.forEach(((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]})),t},t.urlQueryToSearchParams=function(e){let t=new URLSearchParams;return Object.entries(e).forEach((e=>{let[n,a]=e;Array.isArray(a)?a.forEach((e=>t.append(n,r(e)))):t.set(n,r(a))})),t},t.assign=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.forEach((t=>{Array.from(t.keys()).forEach((t=>e.delete(t))),t.forEach(((t,r)=>e.append(r,t)))})),e}},2476:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removePathPrefix=function(e,t){if(n.pathHasPrefix(e,t)){let r=e.slice(t.length);return r.startsWith("/")?r:"/".concat(r)}return e};var n=r(76325)},67734:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeTrailingSlash=function(e){return e.replace(/\/$/,"")||"/"}},14532:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveHref=function(e,t,r){let d,f="string"==typeof t?t:a.formatWithValidation(t),p=f.match(/^[a-zA-Z]{1,}:\/\//),h=p?f.slice(p[0].length):f;if((h.split("?")[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '".concat(f,"' passed to next/router in page: '").concat(e.pathname,"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href."));let t=l.normalizeRepeatedSlashes(h);f=(p?p[0]:"")+t}if(!s.isLocalURL(f))return r?[f]:f;try{d=new URL(f.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){d=new URL("/","http://n")}try{let e=new URL(f,d);e.pathname=i.normalizePathTrailingSlash(e.pathname);let t="";if(u.isDynamicRoute(e.pathname)&&e.searchParams&&r){let r=n.searchParamsToUrlQuery(e.searchParams),{result:l,params:i}=c.interpolateAs(e.pathname,e.pathname,r);l&&(t=a.formatWithValidation({pathname:l,hash:e.hash,query:o.omit(r,i)}))}let l=e.origin===d.origin?e.href.slice(e.origin.length):e.href;return r?[l,t||l]:l}catch(e){return r?[f]:f}};var n=r(53908),a=r(61410),o=r(35821),l=r(79064),i=r(82387),s=r(83353),u=r(63162),c=r(35036)},43978:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRouteMatcher=function(e){let{re:t,groups:r}=e;return e=>{let a=t.exec(e);if(!a)return!1;let o=e=>{try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},l={};return Object.keys(r).forEach((e=>{let t=r[e],n=a[t.pos];void 0!==n&&(l[e]=~n.indexOf("/")?n.split("/").map((e=>o(e))):t.repeat?[o(n)]:o(n))})),l}};var n=r(79064)},37762:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRouteRegex=s,t.getNamedRouteRegex=function(e){let t=u(e);return n({},s(e),{namedRegex:"^".concat(t.namedParameterizedRoute,"(?:/)?$"),routeKeys:t.routeKeys})},t.getNamedMiddlewareRegex=function(e,t){let{parameterizedRoute:r}=i(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/".concat(n?".*":"","$")};let{namedParameterizedRoute:a}=u(e);return{namedRegex:"^".concat(a).concat(n?"(?:(/.*)?)":"","$")}};var n=r(6495).Z,a=r(35987),o=r(67734);function l(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function i(e){let t=o.removeTrailingSlash(e).slice(1).split("/"),r={},n=1;return{parameterizedRoute:t.map((e=>{if(!e.startsWith("[")||!e.endsWith("]"))return"/".concat(a.escapeStringRegexp(e));{let{key:t,optional:a,repeat:o}=l(e.slice(1,-1));return r[t]={pos:n++,repeat:o,optional:a},o?a?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}})).join(""),groups:r}}function s(e){let{parameterizedRoute:t,groups:r}=i(e);return{re:RegExp("^".concat(t,"(?:/)?$")),groups:r}}function u(e){let t,r,n=o.removeTrailingSlash(e).slice(1).split("/"),i=(t=97,r=1,()=>{let e="";for(let n=0;n<r;n++)e+=String.fromCharCode(t),++t>122&&(r++,t=97);return e}),s={};return{namedParameterizedRoute:n.map((e=>{if(!e.startsWith("[")||!e.endsWith("]"))return"/".concat(a.escapeStringRegexp(e));{let{key:t,optional:r,repeat:n}=l(e.slice(1,-1)),a=t.replace(/\W/g,""),o=!1;return(0===a.length||a.length>30)&&(o=!0),isNaN(parseInt(a.slice(0,1)))||(o=!0),o&&(a=i()),s[a]=t,n?r?"(?:/(?<".concat(a,">.+?))?"):"/(?<".concat(a,">.+?)"):"/(?<".concat(a,">[^/]+?)")}})).join(""),routeKeys:s}}},49163:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSortedRoutes=function(e){let t=new r;return e.forEach((e=>t.insert(e))),t.smoosh()};class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map((t=>this.children.get(t)._smoosh("".concat(e).concat(t,"/")))).reduce(((e,t)=>[...e,...t]),[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh("".concat(e,"[").concat(this.slugName,"]/"))),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'.concat(t,'" and "').concat(t,"[[...").concat(this.optionalRestSlugName,']]").'));r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh("".concat(e,"[...").concat(this.restSlugName,"]/"))),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh("".concat(e,"[[...").concat(this.optionalRestSlugName,"]]/"))),r}_insert(e,t,n){if(0===e.length)return void(this.placeholder=!1);if(n)throw Error("Catch-all must be the last part of the URL.");let a=e[0];if(a.startsWith("[")&&a.endsWith("]")){let o=a.slice(1,-1),l=!1;if(o.startsWith("[")&&o.endsWith("]")&&(o=o.slice(1,-1),l=!0),o.startsWith("...")&&(o=o.substring(3),n=!0),o.startsWith("[")||o.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('".concat(o,"')."));if(o.startsWith("."))throw Error("Segment names may not start with erroneous periods ('".concat(o,"')."));function i(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('".concat(e,"' !== '").concat(r,"')."));t.forEach((e=>{if(e===r)throw Error('You cannot have the same slug name "'.concat(r,'" repeat within a single dynamic path'));if(e.replace(/\W/g,"")===a.replace(/\W/g,""))throw Error('You cannot have the slug names "'.concat(e,'" and "').concat(r,'" differ only by non-word symbols within a single dynamic path'))})),t.push(r)}if(n)if(l){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'.concat(this.restSlugName,']" and "').concat(e[0],'" ).'));i(this.optionalRestSlugName,o),this.optionalRestSlugName=o,a="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'.concat(this.optionalRestSlugName,']]" and "').concat(e[0],'").'));i(this.restSlugName,o),this.restSlugName=o,a="[...]"}else{if(l)throw Error('Optional route parameters are not yet supported ("'.concat(e[0],'").'));i(this.slugName,o),this.slugName=o,a="[]"}}this.children.has(a)||this.children.set(a,new r),this.children.get(a)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}},7905:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),t.setConfig=function(e){r=e},t.default=void 0,t.default=()=>r,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},63962:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{headManager:t,reduceComponentsToState:r}=e;function i(){if(t&&t.mountedInstances){let a=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(a,e))}}var s;a&&(null==t||null==(s=t.mountedInstances)||s.add(e.children),i());return o((()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}})),o((()=>(t&&(t._pendingUpdate=i),()=>{t&&(t._pendingUpdate=i)}))),l((()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)}))),null};var n=(0,r(91598).Z)(r(67294));let a=!1,o=a?()=>{}:n.useLayoutEffect,l=a?()=>{}:n.useEffect},79064:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.execOnce=function(e){let t,r=!1;return function(){for(var n=arguments.length,a=Array(n),o=0;o<n;o++)a[o]=arguments[o];return r||(r=!0,t=e(...a)),t}},t.getLocationOrigin=o,t.getURL=function(){let{href:e}=window.location,t=o();return e.substring(t.length)},t.getDisplayName=l,t.isResSent=i,t.normalizeRepeatedSlashes=function(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?".concat(t.slice(1).join("?")):"")},t.loadGetInitialProps=s,t.ST=t.SP=t.isAbsoluteUrl=t.WEB_VITALS=void 0;var n=r(60932).Z;t.WEB_VITALS=["CLS","FCP","FID","INP","LCP","TTFB"];let a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/;function o(){let{protocol:e,hostname:t,port:r}=window.location;return"".concat(e,"//").concat(t).concat(r?":"+r:"")}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function i(e){return e.finished||e.headersSent}function s(e,t){return u.apply(this,arguments)}function u(){return(u=n((function*(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:yield s(t.Component,t.ctx)}:{};let n=yield e.getInitialProps(t);if(r&&i(r))return n;if(!n){let t='"'.concat(l(e),'.getInitialProps()" should resolve to an object. But found "').concat(n,'" instead.');throw Error(t)}return n}))).apply(this,arguments)}t.isAbsoluteUrl=e=>a.test(e);let c="undefined"!=typeof performance;t.SP=c;let d=c&&["mark","measure","getEntriesByName"].every((e=>"function"==typeof performance[e]));t.ST=d,t.DecodeError=class extends Error{},t.NormalizeError=class extends Error{},t.PageNotFoundError=class extends Error{constructor(e){super(),this.code="ENOENT",this.message="Cannot find module for page: ".concat(e)}},t.MissingStaticPage=class extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: ".concat(e," ").concat(t)}},t.MiddlewareNotFoundError=class extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}},34210:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.warnOnce=void 0;t.warnOnce=e=>{}},78018:function(e){var t,r,n,a,o,l,i,s,u,c,d,f,p,h,m,y,g,v,_,P,b,S,w,E,C,x,j,O,R,L,M,A,T,I,N,k,D,B,H,U,q,F,W,Z,z,G;(t={}).d=function(e,r){for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},void 0!==t&&(t.ab="//"),r={},t.r(r),t.d(r,{getCLS:function(){return w},getFCP:function(){return P},getFID:function(){return L},getINP:function(){return F},getLCP:function(){return Z},getTTFB:function(){return G},onCLS:function(){return w},onFCP:function(){return P},onFID:function(){return L},onINP:function(){return F},onLCP:function(){return Z},onTTFB:function(){return G}}),s=-1,u=function(e){addEventListener("pageshow",(function(t){t.persisted&&(s=t.timeStamp,e(t))}),!0)},c=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},d=function(){var e=c();return e&&e.activationStart||0},f=function(e,t){var r=c(),n="navigate";return s>=0?n="back-forward-cache":r&&(n=document.prerendering||d()>0?"prerender":r.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},p=function(e,t,r){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver((function(e){t(e.getEntries())}));return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(e){}},h=function(e,t){var r=function r(n){"pagehide"!==n.type&&"hidden"!==document.visibilityState||(e(n),t&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},m=function(e,t,r,n){var a,o;return function(l){var i;t.value>=0&&(l||n)&&((o=t.value-(a||0))||void 0===a)&&(a=t.value,t.delta=o,t.rating=(i=t.value)>r[1]?"poor":i>r[0]?"needs-improvement":"good",e(t))}},y=-1,g=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},v=function(){h((function(e){y=e.timeStamp}),!0)},_=function(){return y<0&&(y=g(),v(),u((function(){setTimeout((function(){y=g(),v()}),0)}))),{get firstHiddenTime(){return y}}},P=function(e,t){t=t||{};var r,n=[1800,3e3],a=_(),o=f("FCP"),l=function(e){e.forEach((function(e){"first-contentful-paint"===e.name&&(s&&s.disconnect(),e.startTime<a.firstHiddenTime&&(o.value=e.startTime-d(),o.entries.push(e),r(!0)))}))},i=window.performance&&window.performance.getEntriesByName&&window.performance.getEntriesByName("first-contentful-paint")[0],s=i?null:p("paint",l);(i||s)&&(r=m(e,o,n,t.reportAllChanges),i&&l([i]),u((function(a){r=m(e,o=f("FCP"),n,t.reportAllChanges),requestAnimationFrame((function(){requestAnimationFrame((function(){o.value=performance.now()-a.timeStamp,r(!0)}))}))})))},b=!1,S=-1,w=function(e,t){t=t||{};var r=[.1,.25];b||(P((function(e){S=e.value})),b=!0);var n,a=function(t){S>-1&&e(t)},o=f("CLS",0),l=0,i=[],s=function(e){e.forEach((function(e){if(!e.hadRecentInput){var t=i[0],r=i[i.length-1];l&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(l+=e.value,i.push(e)):(l=e.value,i=[e]),l>o.value&&(o.value=l,o.entries=i,n())}}))},c=p("layout-shift",s);c&&(n=m(a,o,r,t.reportAllChanges),h((function(){s(c.takeRecords()),n(!0)})),u((function(){l=0,S=-1,n=m(a,o=f("CLS",0),r,t.reportAllChanges)})))},E={passive:!0,capture:!0},C=new Date,x=function(e,t){n||(n=t,a=e,o=new Date,R(removeEventListener),j())},j=function(){if(a>=0&&a<o-C){var e={entryType:"first-input",name:n.type,target:n.target,cancelable:n.cancelable,startTime:n.timeStamp,processingStart:n.timeStamp+a};l.forEach((function(t){t(e)})),l=[]}},O=function(e){if(e.cancelable){var t,r,n,a=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?(t=function(){x(a,e),n()},r=function(){n()},n=function(){removeEventListener("pointerup",t,E),removeEventListener("pointercancel",r,E)},addEventListener("pointerup",t,E),addEventListener("pointercancel",r,E)):x(a,e)}},R=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,O,E)}))},L=function(e,t){t=t||{};var r,o=[100,300],i=_(),s=f("FID"),c=function(e){e.startTime<i.firstHiddenTime&&(s.value=e.processingStart-e.startTime,s.entries.push(e),r(!0))},d=function(e){e.forEach(c)},y=p("first-input",d);r=m(e,s,o,t.reportAllChanges),y&&h((function(){d(y.takeRecords()),y.disconnect()}),!0),y&&u((function(){r=m(e,s=f("FID"),o,t.reportAllChanges),l=[],a=-1,n=null,R(addEventListener),l.push(c),j()}))},M=0,A=1/0,T=0,I=function(e){e.forEach((function(e){e.interactionId&&(A=Math.min(A,e.interactionId),M=(T=Math.max(T,e.interactionId))?(T-A)/7+1:0)}))},N=function(){return i?M:performance.interactionCount||0},k=function(){"interactionCount"in performance||i||(i=p("event",I,{type:"event",buffered:!0,durationThreshold:0}))},D=0,B=function(){return N()-D},H=[],U={},q=function(e){var t=H[H.length-1],r=U[e.interactionId];if(r||H.length<10||e.duration>t.latency){if(r)r.entries.push(e),r.latency=Math.max(r.latency,e.duration);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};U[n.id]=n,H.push(n)}H.sort((function(e,t){return t.latency-e.latency})),H.splice(10).forEach((function(e){delete U[e.id]}))}},F=function(e,t){t=t||{};var r=[200,500];k();var n,a=f("INP"),o=function(e){e.forEach((function(e){e.interactionId&&q(e),"first-input"!==e.entryType||H.some((function(t){return t.entries.some((function(t){return e.duration===t.duration&&e.startTime===t.startTime}))}))||q(e)}));var t,r=(t=Math.min(H.length-1,Math.floor(B()/50)),H[t]);r&&r.latency!==a.value&&(a.value=r.latency,a.entries=r.entries,n())},l=p("event",o,{durationThreshold:t.durationThreshold||40});n=m(e,a,r,t.reportAllChanges),l&&(l.observe({type:"first-input",buffered:!0}),h((function(){o(l.takeRecords()),a.value<0&&B()>0&&(a.value=0,a.entries=[]),n(!0)})),u((function(){H=[],D=N(),n=m(e,a=f("INP"),r,t.reportAllChanges)})))},W={},Z=function(e,t){t=t||{};var r,n=[2500,4e3],a=_(),o=f("LCP"),l=function(e){var t=e[e.length-1];if(t){var n=t.startTime-d();n<a.firstHiddenTime&&(o.value=n,o.entries=[t],r())}},i=p("largest-contentful-paint",l);if(i){r=m(e,o,n,t.reportAllChanges);var s=function(){W[o.id]||(l(i.takeRecords()),i.disconnect(),W[o.id]=!0,r(!0))};["keydown","click"].forEach((function(e){addEventListener(e,s,{once:!0,capture:!0})})),h(s,!0),u((function(a){r=m(e,o=f("LCP"),n,t.reportAllChanges),requestAnimationFrame((function(){requestAnimationFrame((function(){o.value=performance.now()-a.timeStamp,W[o.id]=!0,r(!0)}))}))}))}},z=function e(t){document.prerendering?addEventListener("prerenderingchange",(function(){return e(t)}),!0):"complete"!==document.readyState?addEventListener("load",(function(){return e(t)}),!0):setTimeout(t,0)},G=function(e,t){t=t||{};var r=[800,1800],n=f("TTFB"),a=m(e,n,r,t.reportAllChanges);z((function(){var o=c();if(o){if(n.value=Math.max(o.responseStart-d(),0),n.value<0||n.value>performance.now())return;n.entries=[o],a(!0),u((function(){(a=m(e,n=f("TTFB",0),r,t.reportAllChanges))(!0)}))}}))},e.exports=r},79423:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAPIRoute=function(e){return"/api"===e||Boolean(null==e?void 0:e.startsWith("/api/"))}},80676:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a,t.getProperError=function(e){return a(e)?e:Error(n.isPlainObject(e)?JSON.stringify(e):e+"")};var n=r(19125);function a(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}},72431:function(){}},function(e){e.O(0,[774],(function(){return e(e.s=14642)})),_N_E=e.O()}]);
|
js/polyfills-c67a75d1b6f99dc8.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
!function(){var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){var e={exports:{}};return t(e,e.exports),e.exports}var r=function(t){return t&&t.Math==Math&&t},n=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||Function("return this")(),o=function(t){try{return!!t()}catch(t){return!0}},i=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,s=u&&!a.call({1:2},1)?function(t){var e=u(this,t);return!!e&&e.enumerable}:a,c={f:s},f=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},l={}.toString,h=function(t){return l.call(t).slice(8,-1)},p="".split,d=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==h(t)?p.call(t,""):Object(t)}:Object,v=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},g=function(t){return d(v(t))},y=function(t){return"object"==typeof t?null!==t:"function"==typeof t},m=function(t,e){if(!y(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!y(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!y(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!y(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},b={}.hasOwnProperty,w=function(t,e){return b.call(t,e)},S=n.document,E=y(S)&&y(S.createElement),x=function(t){return E?S.createElement(t):{}},A=!i&&!o((function(){return 7!=Object.defineProperty(x("div"),"a",{get:function(){return 7}}).a})),O=Object.getOwnPropertyDescriptor,R={f:i?O:function(t,e){if(t=g(t),e=m(e,!0),A)try{return O(t,e)}catch(t){}if(w(t,e))return f(!c.f.call(t,e),t[e])}},j=function(t){if(!y(t))throw TypeError(String(t)+" is not an object");return t},P=Object.defineProperty,I={f:i?P:function(t,e,r){if(j(t),e=m(e,!0),j(r),A)try{return P(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},T=i?function(t,e,r){return I.f(t,e,f(1,r))}:function(t,e,r){return t[e]=r,t},k=function(t,e){try{T(n,t,e)}catch(r){n[t]=e}return e},L="__core-js_shared__",U=n[L]||k(L,{}),M=Function.toString;"function"!=typeof U.inspectSource&&(U.inspectSource=function(t){return M.call(t)});var _,N,C,F=U.inspectSource,B=n.WeakMap,D="function"==typeof B&&/native code/.test(F(B)),q=!1,z=e((function(t){(t.exports=function(t,e){return U[t]||(U[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),W=0,K=Math.random(),G=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++W+K).toString(36)},$=z("keys"),V=function(t){return $[t]||($[t]=G(t))},H={};if(D){var X=new(0,n.WeakMap),Y=X.get,J=X.has,Q=X.set;_=function(t,e){return Q.call(X,t,e),e},N=function(t){return Y.call(X,t)||{}},C=function(t){return J.call(X,t)}}else{var Z=V("state");H[Z]=!0,_=function(t,e){return T(t,Z,e),e},N=function(t){return w(t,Z)?t[Z]:{}},C=function(t){return w(t,Z)}}var tt,et={set:_,get:N,has:C,enforce:function(t){return C(t)?N(t):_(t,{})},getterFor:function(t){return function(e){var r;if(!y(e)||(r=N(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},rt=e((function(t){var e=et.get,r=et.enforce,o=String(String).split("String");(t.exports=function(t,e,i,a){var u=!!a&&!!a.unsafe,s=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof e||w(i,"name")||T(i,"name",e),r(i).source=o.join("string"==typeof e?e:"")),t!==n?(u?!c&&t[e]&&(s=!0):delete t[e],s?t[e]=i:T(t,e,i)):s?t[e]=i:k(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||F(this)}))})),nt=n,ot=function(t){return"function"==typeof t?t:void 0},it=function(t,e){return arguments.length<2?ot(nt[t])||ot(n[t]):nt[t]&&nt[t][e]||n[t]&&n[t][e]},at=Math.ceil,ut=Math.floor,st=function(t){return isNaN(t=+t)?0:(t>0?ut:at)(t)},ct=Math.min,ft=function(t){return t>0?ct(st(t),9007199254740991):0},lt=Math.max,ht=Math.min,pt=function(t,e){var r=st(t);return r<0?lt(r+e,0):ht(r,e)},dt=function(t){return function(e,r,n){var o,i=g(e),a=ft(i.length),u=pt(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},vt={includes:dt(!0),indexOf:dt(!1)},gt=vt.indexOf,yt=function(t,e){var r,n=g(t),o=0,i=[];for(r in n)!w(H,r)&&w(n,r)&&i.push(r);for(;e.length>o;)w(n,r=e[o++])&&(~gt(i,r)||i.push(r));return i},mt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],bt=mt.concat("length","prototype"),wt={f:Object.getOwnPropertyNames||function(t){return yt(t,bt)}},St={f:Object.getOwnPropertySymbols},Et=it("Reflect","ownKeys")||function(t){var e=wt.f(j(t)),r=St.f;return r?e.concat(r(t)):e},xt=function(t,e){for(var r=Et(e),n=I.f,o=R.f,i=0;i<r.length;i++){var a=r[i];w(t,a)||n(t,a,o(e,a))}},At=/#|\.prototype\./,Ot=function(t,e){var r=jt[Rt(t)];return r==It||r!=Pt&&("function"==typeof e?o(e):!!e)},Rt=Ot.normalize=function(t){return String(t).replace(At,".").toLowerCase()},jt=Ot.data={},Pt=Ot.NATIVE="N",It=Ot.POLYFILL="P",Tt=Ot,kt=R.f,Lt=function(t,e){var r,o,i,a,u,s=t.target,c=t.global,f=t.stat;if(r=c?n:f?n[s]||k(s,{}):(n[s]||{}).prototype)for(o in e){if(a=e[o],i=t.noTargetGet?(u=kt(r,o))&&u.value:r[o],!Tt(c?o:s+(f?".":"#")+o,t.forced)&&void 0!==i){if(typeof a==typeof i)continue;xt(a,i)}(t.sham||i&&i.sham)&&T(a,"sham",!0),rt(r,o,a,t)}},Ut=function(t){return Object(v(t))},Mt=Math.min,_t=[].copyWithin||function(t,e){var r=Ut(this),n=ft(r.length),o=pt(t,n),i=pt(e,n),a=arguments.length>2?arguments[2]:void 0,u=Mt((void 0===a?n:pt(a,n))-i,n-o),s=1;for(i<o&&o<i+u&&(s=-1,i+=u-1,o+=u-1);u-- >0;)i in r?r[o]=r[i]:delete r[o],o+=s,i+=s;return r},Nt=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())})),Ct=Nt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ft=z("wks"),Bt=n.Symbol,Dt=Ct?Bt:Bt&&Bt.withoutSetter||G,qt=function(t){return w(Ft,t)||(Ft[t]=Nt&&w(Bt,t)?Bt[t]:Dt("Symbol."+t)),Ft[t]},zt=Object.keys||function(t){return yt(t,mt)},Wt=i?Object.defineProperties:function(t,e){j(t);for(var r,n=zt(e),o=n.length,i=0;o>i;)I.f(t,r=n[i++],e[r]);return t},Kt=it("document","documentElement"),Gt=V("IE_PROTO"),$t=function(){},Vt=function(t){return"<script>"+t+"<\/script>"},Ht=function(){try{tt=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;Ht=tt?function(t){t.write(Vt("")),t.close();var e=t.parentWindow.Object;return t=null,e}(tt):((e=x("iframe")).style.display="none",Kt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Vt("document.F=Object")),t.close(),t.F);for(var r=mt.length;r--;)delete Ht.prototype[mt[r]];return Ht()};H[Gt]=!0;var Xt=Object.create||function(t,e){var r;return null!==t?($t.prototype=j(t),r=new $t,$t.prototype=null,r[Gt]=t):r=Ht(),void 0===e?r:Wt(r,e)},Yt=qt("unscopables"),Jt=Array.prototype;null==Jt[Yt]&&I.f(Jt,Yt,{configurable:!0,value:Xt(null)});var Qt=function(t){Jt[Yt][t]=!0};Lt({target:"Array",proto:!0},{copyWithin:_t}),Qt("copyWithin");var Zt=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},te=function(t,e,r){if(Zt(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}},ee=Function.call,re=function(t,e,r){return te(ee,n[t].prototype[e],r)};re("Array","copyWithin"),Lt({target:"Array",proto:!0},{fill:function(t){for(var e=Ut(this),r=ft(e.length),n=arguments.length,o=pt(n>1?arguments[1]:void 0,r),i=n>2?arguments[2]:void 0,a=void 0===i?r:pt(i,r);a>o;)e[o++]=t;return e}}),Qt("fill"),re("Array","fill");var ne=Array.isArray||function(t){return"Array"==h(t)},oe=qt("species"),ie=function(t,e){var r;return ne(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!ne(r.prototype)?y(r)&&null===(r=r[oe])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)},ae=[].push,ue=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,a=5==t||i;return function(u,s,c,f){for(var l,h,p=Ut(u),v=d(p),g=te(s,c,3),y=ft(v.length),m=0,b=f||ie,w=e?b(u,y):r?b(u,0):void 0;y>m;m++)if((a||m in v)&&(h=g(l=v[m],m,p),t))if(e)w[m]=h;else if(h)switch(t){case 3:return!0;case 5:return l;case 6:return m;case 2:ae.call(w,l)}else if(o)return!1;return i?-1:n||o?o:w}},se={forEach:ue(0),map:ue(1),filter:ue(2),some:ue(3),every:ue(4),find:ue(5),findIndex:ue(6)},ce=Object.defineProperty,fe={},le=function(t){throw t},he=function(t,e){if(w(fe,t))return fe[t];e||(e={});var r=[][t],n=!!w(e,"ACCESSORS")&&e.ACCESSORS,a=w(e,0)?e[0]:le,u=w(e,1)?e[1]:void 0;return fe[t]=!!r&&!o((function(){if(n&&!i)return!0;var t={length:-1};n?ce(t,1,{enumerable:!0,get:le}):t[1]=1,r.call(t,a,u)}))},pe=se.find,de="find",ve=!0,ge=he(de);de in[]&&Array(1).find((function(){ve=!1})),Lt({target:"Array",proto:!0,forced:ve||!ge},{find:function(t){return pe(this,t,arguments.length>1?arguments[1]:void 0)}}),Qt(de),re("Array","find");var ye=se.findIndex,me="findIndex",be=!0,we=he(me);me in[]&&Array(1).findIndex((function(){be=!1})),Lt({target:"Array",proto:!0,forced:be||!we},{findIndex:function(t){return ye(this,t,arguments.length>1?arguments[1]:void 0)}}),Qt(me),re("Array","findIndex");var Se=function(t,e,r,n,o,i,a,u){for(var s,c=o,f=0,l=!!a&&te(a,u,3);f<n;){if(f in r){if(s=l?l(r[f],f,e):r[f],i>0&&ne(s))c=Se(t,e,s,ft(s.length),c,i-1)-1;else{if(c>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[c]=s}c++}f++}return c},Ee=Se;Lt({target:"Array",proto:!0},{flatMap:function(t){var e,r=Ut(this),n=ft(r.length);return Zt(t),(e=ie(r,0)).length=Ee(e,r,r,n,0,1,t,arguments.length>1?arguments[1]:void 0),e}}),Qt("flatMap"),re("Array","flatMap"),Lt({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=Ut(this),r=ft(e.length),n=ie(e,0);return n.length=Ee(n,e,e,r,0,void 0===t?1:st(t)),n}}),Qt("flat"),re("Array","flat");var xe,Ae,Oe,Re=function(t){return function(e,r){var n,o,i=String(v(e)),a=st(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=i.charCodeAt(a))<55296||n>56319||a+1===u||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):n:t?i.slice(a,a+2):o-56320+(n-55296<<10)+65536}},je={codeAt:Re(!1),charAt:Re(!0)},Pe=!o((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Ie=V("IE_PROTO"),Te=Object.prototype,ke=Pe?Object.getPrototypeOf:function(t){return t=Ut(t),w(t,Ie)?t[Ie]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Te:null},Le=qt("iterator"),Ue=!1;[].keys&&("next"in(Oe=[].keys())?(Ae=ke(ke(Oe)))!==Object.prototype&&(xe=Ae):Ue=!0),null==xe&&(xe={}),w(xe,Le)||T(xe,Le,(function(){return this}));var Me={IteratorPrototype:xe,BUGGY_SAFARI_ITERATORS:Ue},_e=I.f,Ne=qt("toStringTag"),Ce=function(t,e,r){t&&!w(t=r?t:t.prototype,Ne)&&_e(t,Ne,{configurable:!0,value:e})},Fe={},Be=Me.IteratorPrototype,De=function(){return this},qe=function(t,e,r){var n=e+" Iterator";return t.prototype=Xt(Be,{next:f(1,r)}),Ce(t,n,!1),Fe[n]=De,t},ze=function(t){if(!y(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t},We=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return j(r),ze(n),e?t.call(r,n):r.__proto__=n,r}}():void 0),Ke=Me.IteratorPrototype,Ge=Me.BUGGY_SAFARI_ITERATORS,$e=qt("iterator"),Ve="keys",He="values",Xe="entries",Ye=function(){return this},Je=function(t,e,r,n,o,i,a){qe(r,e,n);var u,s,c,f=function(t){if(t===o&&v)return v;if(!Ge&&t in p)return p[t];switch(t){case Ve:case He:case Xe:return function(){return new r(this,t)}}return function(){return new r(this)}},l=e+" Iterator",h=!1,p=t.prototype,d=p[$e]||p["@@iterator"]||o&&p[o],v=!Ge&&d||f(o),g="Array"==e&&p.entries||d;if(g&&(u=ke(g.call(new t)),Ke!==Object.prototype&&u.next&&(ke(u)!==Ke&&(We?We(u,Ke):"function"!=typeof u[$e]&&T(u,$e,Ye)),Ce(u,l,!0))),o==He&&d&&d.name!==He&&(h=!0,v=function(){return d.call(this)}),p[$e]!==v&&T(p,$e,v),Fe[e]=v,o)if(s={values:f(He),keys:i?v:f(Ve),entries:f(Xe)},a)for(c in s)(Ge||h||!(c in p))&&rt(p,c,s[c]);else Lt({target:e,proto:!0,forced:Ge||h},s);return s},Qe=je.charAt,Ze="String Iterator",tr=et.set,er=et.getterFor(Ze);Je(String,"String",(function(t){tr(this,{type:Ze,string:String(t),index:0})}),(function(){var t,e=er(this),r=e.string,n=e.index;return n>=r.length?{value:void 0,done:!0}:(t=Qe(r,n),e.index+=t.length,{value:t,done:!1})}));var rr=function(t,e,r,n){try{return n?e(j(r)[0],r[1]):e(r)}catch(e){var o=t.return;throw void 0!==o&&j(o.call(t)),e}},nr=qt("iterator"),or=Array.prototype,ir=function(t){return void 0!==t&&(Fe.Array===t||or[nr]===t)},ar=function(t,e,r){var n=m(e);n in t?I.f(t,n,f(0,r)):t[n]=r},ur={};ur[qt("toStringTag")]="z";var sr="[object z]"===String(ur),cr=qt("toStringTag"),fr="Arguments"==h(function(){return arguments}()),lr=sr?h:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),cr))?r:fr?h(e):"Object"==(n=h(e))&&"function"==typeof e.callee?"Arguments":n},hr=qt("iterator"),pr=function(t){if(null!=t)return t[hr]||t["@@iterator"]||Fe[lr(t)]},dr=function(t){var e,r,n,o,i,a,u=Ut(t),s="function"==typeof this?this:Array,c=arguments.length,f=c>1?arguments[1]:void 0,l=void 0!==f,h=pr(u),p=0;if(l&&(f=te(f,c>2?arguments[2]:void 0,2)),null==h||s==Array&&ir(h))for(r=new s(e=ft(u.length));e>p;p++)a=l?f(u[p],p):u[p],ar(r,p,a);else for(i=(o=h.call(u)).next,r=new s;!(n=i.call(o)).done;p++)a=l?rr(o,f,[n.value,p],!0):n.value,ar(r,p,a);return r.length=p,r},vr=qt("iterator"),gr=!1;try{var yr=0,mr={next:function(){return{done:!!yr++}},return:function(){gr=!0}};mr[vr]=function(){return this},Array.from(mr,(function(){throw 2}))}catch(t){}var br=function(t,e){if(!e&&!gr)return!1;var r=!1;try{var n={};n[vr]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r},wr=!br((function(t){Array.from(t)}));Lt({target:"Array",stat:!0,forced:wr},{from:dr});var Sr=vt.includes,Er=he("indexOf",{ACCESSORS:!0,1:0});Lt({target:"Array",proto:!0,forced:!Er},{includes:function(t){return Sr(this,t,arguments.length>1?arguments[1]:void 0)}}),Qt("includes"),re("Array","includes");var xr="Array Iterator",Ar=et.set,Or=et.getterFor(xr),Rr=Je(Array,"Array",(function(t,e){Ar(this,{type:xr,target:g(t),index:0,kind:e})}),(function(){var t=Or(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values");Fe.Arguments=Fe.Array,Qt("keys"),Qt("values"),Qt("entries"),re("Array","values");var jr=o((function(){function t(){}return!(Array.of.call(t)instanceof t)}));Lt({target:"Array",stat:!0,forced:jr},{of:function(){for(var t=0,e=arguments.length,r=new("function"==typeof this?this:Array)(e);e>t;)ar(r,t,arguments[t++]);return r.length=e,r}});var Pr=qt("hasInstance"),Ir=Function.prototype;Pr in Ir||I.f(Ir,Pr,{value:function(t){if("function"!=typeof this||!y(t))return!1;if(!y(this.prototype))return t instanceof this;for(;t=ke(t);)if(this.prototype===t)return!0;return!1}}),qt("hasInstance");var Tr=Function.prototype,kr=Tr.toString,Lr=/^\s*function ([^ (]*)/,Ur="name";i&&!(Ur in Tr)&&(0,I.f)(Tr,Ur,{configurable:!0,get:function(){try{return kr.call(this).match(Lr)[1]}catch(t){return""}}});var Mr=!o((function(){return Object.isExtensible(Object.preventExtensions({}))})),_r=e((function(t){var e=I.f,r=G("meta"),n=0,o=Object.isExtensible||function(){return!0},i=function(t){e(t,r,{value:{objectID:"O"+ ++n,weakData:{}}})},a=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!y(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!w(t,r)){if(!o(t))return"F";if(!e)return"E";i(t)}return t[r].objectID},getWeakData:function(t,e){if(!w(t,r)){if(!o(t))return!0;if(!e)return!1;i(t)}return t[r].weakData},onFreeze:function(t){return Mr&&a.REQUIRED&&o(t)&&!w(t,r)&&i(t),t}};H[r]=!0})),Nr=e((function(t){var e=function(t,e){this.stopped=t,this.result=e},r=t.exports=function(t,r,n,o,i){var a,u,s,c,f,l,h,p=te(r,n,o?2:1);if(i)a=t;else{if("function"!=typeof(u=pr(t)))throw TypeError("Target is not iterable");if(ir(u)){for(s=0,c=ft(t.length);c>s;s++)if((f=o?p(j(h=t[s])[0],h[1]):p(t[s]))&&f instanceof e)return f;return new e(!1)}a=u.call(t)}for(l=a.next;!(h=l.call(a)).done;)if("object"==typeof(f=rr(a,p,h.value,o))&&f&&f instanceof e)return f;return new e(!1)};r.stop=function(t){return new e(!0,t)}})),Cr=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t},Fr=function(t,e,r){var n,o;return We&&"function"==typeof(n=e.constructor)&&n!==r&&y(o=n.prototype)&&o!==r.prototype&&We(t,o),t},Br=function(t,e,r){var i=-1!==t.indexOf("Map"),a=-1!==t.indexOf("Weak"),u=i?"set":"add",s=n[t],c=s&&s.prototype,f=s,l={},h=function(t){var e=c[t];rt(c,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(a&&!y(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return a&&!y(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(a&&!y(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(Tt(t,"function"!=typeof s||!(a||c.forEach&&!o((function(){(new s).entries().next()})))))f=r.getConstructor(e,t,i,u),_r.REQUIRED=!0;else if(Tt(t,!0)){var p=new f,d=p[u](a?{}:-0,1)!=p,v=o((function(){p.has(1)})),g=br((function(t){new s(t)})),m=!a&&o((function(){for(var t=new s,e=5;e--;)t[u](e,e);return!t.has(-0)}));g||((f=e((function(e,r){Cr(e,f,t);var n=Fr(new s,e,f);return null!=r&&Nr(r,n[u],n,i),n}))).prototype=c,c.constructor=f),(v||m)&&(h("delete"),h("has"),i&&h("get")),(m||d)&&h(u),a&&c.clear&&delete c.clear}return l[t]=f,Lt({global:!0,forced:f!=s},l),Ce(f,t),a||r.setStrong(f,t,i),f},Dr=function(t,e,r){for(var n in e)rt(t,n,e[n],r);return t},qr=qt("species"),zr=function(t){var e=it(t);i&&e&&!e[qr]&&(0,I.f)(e,qr,{configurable:!0,get:function(){return this}})},Wr=I.f,Kr=_r.fastKey,Gr=et.set,$r=et.getterFor,Vr={getConstructor:function(t,e,r,n){var o=t((function(t,a){Cr(t,o,e),Gr(t,{type:e,index:Xt(null),first:void 0,last:void 0,size:0}),i||(t.size=0),null!=a&&Nr(a,t[n],t,r)})),a=$r(e),u=function(t,e,r){var n,o,u=a(t),c=s(t,e);return c?c.value=r:(u.last=c={index:o=Kr(e,!0),key:e,value:r,previous:n=u.last,next:void 0,removed:!1},u.first||(u.first=c),n&&(n.next=c),i?u.size++:t.size++,"F"!==o&&(u.index[o]=c)),t},s=function(t,e){var r,n=a(t),o=Kr(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return Dr(o.prototype,{clear:function(){for(var t=a(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,i?t.size=0:this.size=0},delete:function(t){var e=this,r=a(e),n=s(e,t);if(n){var o=n.next,u=n.previous;delete r.index[n.index],n.removed=!0,u&&(u.next=o),o&&(o.previous=u),r.first==n&&(r.first=o),r.last==n&&(r.last=u),i?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=a(this),n=te(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!s(this,t)}}),Dr(o.prototype,r?{get:function(t){var e=s(this,t);return e&&e.value},set:function(t,e){return u(this,0===t?0:t,e)}}:{add:function(t){return u(this,t=0===t?0:t,t)}}),i&&Wr(o.prototype,"size",{get:function(){return a(this).size}}),o},setStrong:function(t,e,r){var n=e+" Iterator",o=$r(e),i=$r(n);Je(t,e,(function(t,e){Gr(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),zr(e)}},Hr=Br("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),Vr);sr||rt(Object.prototype,"toString",sr?{}.toString:function(){return"[object "+lr(this)+"]"},{unsafe:!0});var Xr={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Yr=qt("iterator"),Jr=qt("toStringTag"),Qr=Rr.values;for(var Zr in Xr){var tn=n[Zr],en=tn&&tn.prototype;if(en){if(en[Yr]!==Qr)try{T(en,Yr,Qr)}catch(t){en[Yr]=Qr}if(en[Jr]||T(en,Jr,Zr),Xr[Zr])for(var rn in Rr)if(en[rn]!==Rr[rn])try{T(en,rn,Rr[rn])}catch(t){en[rn]=Rr[rn]}}}var nn=function(t){var e,r,n,o,i=arguments.length,a=i>1?arguments[1]:void 0;return Zt(this),(e=void 0!==a)&&Zt(a),null==t?new this:(r=[],e?(n=0,o=te(a,i>2?arguments[2]:void 0,2),Nr(t,(function(t){r.push(o(t,n++))}))):Nr(t,r.push,r),new this(r))};Lt({target:"Map",stat:!0},{from:nn});var on=function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)};Lt({target:"Map",stat:!0},{of:on});var an=function(){for(var t,e=j(this),r=Zt(e.delete),n=!0,o=0,i=arguments.length;o<i;o++)t=r.call(e,arguments[o]),n=n&&t;return!!n};Lt({target:"Map",proto:!0,real:!0,forced:q},{deleteAll:function(){return an.apply(this,arguments)}});var un=function(t){var e=pr(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return j(e.call(t))},sn=function(t){return Map.prototype.entries.call(t)};Lt({target:"Map",proto:!0,real:!0,forced:q},{every:function(t){var e=j(this),r=sn(e),n=te(t,arguments.length>1?arguments[1]:void 0,3);return!Nr(r,(function(t,r){if(!n(r,t,e))return Nr.stop()}),void 0,!0,!0).stopped}});var cn=qt("species"),fn=function(t,e){var r,n=j(t).constructor;return void 0===n||null==(r=j(n)[cn])?e:Zt(r)};Lt({target:"Map",proto:!0,real:!0,forced:q},{filter:function(t){var e=j(this),r=sn(e),n=te(t,arguments.length>1?arguments[1]:void 0,3),o=new(fn(e,it("Map"))),i=Zt(o.set);return Nr(r,(function(t,r){n(r,t,e)&&i.call(o,t,r)}),void 0,!0,!0),o}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{find:function(t){var e=j(this),r=sn(e),n=te(t,arguments.length>1?arguments[1]:void 0,3);return Nr(r,(function(t,r){if(n(r,t,e))return Nr.stop(r)}),void 0,!0,!0).result}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{findKey:function(t){var e=j(this),r=sn(e),n=te(t,arguments.length>1?arguments[1]:void 0,3);return Nr(r,(function(t,r){if(n(r,t,e))return Nr.stop(t)}),void 0,!0,!0).result}}),Lt({target:"Map",stat:!0},{groupBy:function(t,e){var r=new this;Zt(e);var n=Zt(r.has),o=Zt(r.get),i=Zt(r.set);return Nr(t,(function(t){var a=e(t);n.call(r,a)?o.call(r,a).push(t):i.call(r,a,[t])})),r}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{includes:function(t){return Nr(sn(j(this)),(function(e,r){if((n=r)===(o=t)||n!=n&&o!=o)return Nr.stop();var n,o}),void 0,!0,!0).stopped}}),Lt({target:"Map",stat:!0},{keyBy:function(t,e){var r=new this;Zt(e);var n=Zt(r.set);return Nr(t,(function(t){n.call(r,e(t),t)})),r}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{keyOf:function(t){return Nr(sn(j(this)),(function(e,r){if(r===t)return Nr.stop(e)}),void 0,!0,!0).result}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{mapKeys:function(t){var e=j(this),r=sn(e),n=te(t,arguments.length>1?arguments[1]:void 0,3),o=new(fn(e,it("Map"))),i=Zt(o.set);return Nr(r,(function(t,r){i.call(o,n(r,t,e),r)}),void 0,!0,!0),o}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{mapValues:function(t){var e=j(this),r=sn(e),n=te(t,arguments.length>1?arguments[1]:void 0,3),o=new(fn(e,it("Map"))),i=Zt(o.set);return Nr(r,(function(t,r){i.call(o,t,n(r,t,e))}),void 0,!0,!0),o}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{merge:function(t){for(var e=j(this),r=Zt(e.set),n=0;n<arguments.length;)Nr(arguments[n++],r,e,!0);return e}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{reduce:function(t){var e=j(this),r=sn(e),n=arguments.length<2,o=n?void 0:arguments[1];if(Zt(t),Nr(r,(function(r,i){n?(n=!1,o=i):o=t(o,i,r,e)}),void 0,!0,!0),n)throw TypeError("Reduce of empty map with no initial value");return o}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{some:function(t){var e=j(this),r=sn(e),n=te(t,arguments.length>1?arguments[1]:void 0,3);return Nr(r,(function(t,r){if(n(r,t,e))return Nr.stop()}),void 0,!0,!0).stopped}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{update:function(t,e){var r=j(this),n=arguments.length;Zt(e);var o=r.has(t);if(!o&&n<3)throw TypeError("Updating absent value");var i=o?r.get(t):Zt(n>2?arguments[2]:void 0)(t,r);return r.set(t,e(i,t,r)),r}});var ln=function(t,e){var r,n=j(this),o=arguments.length>2?arguments[2]:void 0;if("function"!=typeof e&&"function"!=typeof o)throw TypeError("At least one callback required");return n.has(t)?(r=n.get(t),"function"==typeof e&&(r=e(r),n.set(t,r))):"function"==typeof o&&(r=o(),n.set(t,r)),r};Lt({target:"Map",proto:!0,real:!0,forced:q},{upsert:ln}),Lt({target:"Map",proto:!0,real:!0,forced:q},{updateOrInsert:ln});var hn="\t\n\v\f\r \u2028\u2029\ufeff",pn="["+hn+"]",dn=RegExp("^"+pn+pn+"*"),vn=RegExp(pn+pn+"*$"),gn=function(t){return function(e){var r=String(v(e));return 1&t&&(r=r.replace(dn,"")),2&t&&(r=r.replace(vn,"")),r}},yn={start:gn(1),end:gn(2),trim:gn(3)},mn=wt.f,bn=R.f,wn=I.f,Sn=yn.trim,En="Number",xn=n.Number,An=xn.prototype,On=h(Xt(An))==En,Rn=function(t){var e,r,n,o,i,a,u,s,c=m(t,!1);if("string"==typeof c&&c.length>2)if(43===(e=(c=Sn(c)).charCodeAt(0))||45===e){if(88===(r=c.charCodeAt(2))||120===r)return NaN}else if(48===e){switch(c.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=c.slice(2)).length,u=0;u<a;u++)if((s=i.charCodeAt(u))<48||s>o)return NaN;return parseInt(i,n)}return+c};if(Tt(En,!xn(" 0o1")||!xn("0b1")||xn("+0x1"))){for(var jn,Pn=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof Pn&&(On?o((function(){An.valueOf.call(r)})):h(r)!=En)?Fr(new xn(Rn(e)),r,Pn):Rn(e)},In=i?mn(xn):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),Tn=0;In.length>Tn;Tn++)w(xn,jn=In[Tn])&&!w(Pn,jn)&&wn(Pn,jn,bn(xn,jn));Pn.prototype=An,An.constructor=Pn,rt(n,En,Pn)}Lt({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)});var kn=n.isFinite;Lt({target:"Number",stat:!0},{isFinite:Number.isFinite||function(t){return"number"==typeof t&&kn(t)}});var Ln=Math.floor,Un=function(t){return!y(t)&&isFinite(t)&&Ln(t)===t};Lt({target:"Number",stat:!0},{isInteger:Un}),Lt({target:"Number",stat:!0},{isNaN:function(t){return t!=t}});var Mn=Math.abs;Lt({target:"Number",stat:!0},{isSafeInteger:function(t){return Un(t)&&Mn(t)<=9007199254740991}}),Lt({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991}),Lt({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991});var _n=yn.trim,Nn=n.parseFloat,Cn=1/Nn(hn+"-0")!=-1/0?function(t){var e=_n(String(t)),r=Nn(e);return 0===r&&"-"==e.charAt(0)?-0:r}:Nn;Lt({target:"Number",stat:!0,forced:Number.parseFloat!=Cn},{parseFloat:Cn});var Fn=yn.trim,Bn=n.parseInt,Dn=/^[+-]?0[Xx]/,qn=8!==Bn(hn+"08")||22!==Bn(hn+"0x16")?function(t,e){var r=Fn(String(t));return Bn(r,e>>>0||(Dn.test(r)?16:10))}:Bn;Lt({target:"Number",stat:!0,forced:Number.parseInt!=qn},{parseInt:qn});var zn=c.f,Wn=function(t){return function(e){for(var r,n=g(e),o=zt(n),a=o.length,u=0,s=[];a>u;)r=o[u++],i&&!zn.call(n,r)||s.push(t?[r,n[r]]:n[r]);return s}},Kn={entries:Wn(!0),values:Wn(!1)},Gn=Kn.entries;Lt({target:"Object",stat:!0},{entries:function(t){return Gn(t)}}),Lt({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var e,r,n=g(t),o=R.f,i=Et(n),a={},u=0;i.length>u;)void 0!==(r=o(n,e=i[u++]))&&ar(a,e,r);return a}});var $n=o((function(){zt(1)}));Lt({target:"Object",stat:!0,forced:$n},{keys:function(t){return zt(Ut(t))}});var Vn=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};Lt({target:"Object",stat:!0},{is:Vn});var Hn=Kn.values;Lt({target:"Object",stat:!0},{values:function(t){return Hn(t)}});var Xn=it("Reflect","apply"),Yn=Function.apply,Jn=!o((function(){Xn((function(){}))}));Lt({target:"Reflect",stat:!0,forced:Jn},{apply:function(t,e,r){return Zt(t),j(r),Xn?Xn(t,e,r):Yn.call(t,e,r)}});var Qn=[].slice,Zn={},to=Function.bind||function(t){var e=Zt(this),r=Qn.call(arguments,1),n=function(){var o=r.concat(Qn.call(arguments));return this instanceof n?function(t,e,r){if(!(e in Zn)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";Zn[e]=Function("C,a","return new C("+n.join(",")+")")}return Zn[e](t,r)}(e,o.length,o):e.apply(t,o)};return y(e.prototype)&&(n.prototype=e.prototype),n},eo=it("Reflect","construct"),ro=o((function(){function t(){}return!(eo((function(){}),[],t)instanceof t)})),no=!o((function(){eo((function(){}))})),oo=ro||no;Lt({target:"Reflect",stat:!0,forced:oo,sham:oo},{construct:function(t,e){Zt(t),j(e);var r=arguments.length<3?t:Zt(arguments[2]);if(no&&!ro)return eo(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(to.apply(t,n))}var o=r.prototype,i=Xt(y(o)?o:Object.prototype),a=Function.apply.call(t,i,e);return y(a)?a:i}});var io=o((function(){Reflect.defineProperty(I.f({},1,{value:1}),1,{value:2})}));Lt({target:"Reflect",stat:!0,forced:io,sham:!i},{defineProperty:function(t,e,r){j(t);var n=m(e,!0);j(r);try{return I.f(t,n,r),!0}catch(t){return!1}}});var ao=R.f;Lt({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var r=ao(j(t),e);return!(r&&!r.configurable)&&delete t[e]}}),Lt({target:"Reflect",stat:!0},{get:function t(e,r){var n,o,i=arguments.length<3?e:arguments[2];return j(e)===i?e[r]:(n=R.f(e,r))?w(n,"value")?n.value:void 0===n.get?void 0:n.get.call(i):y(o=ke(e))?t(o,r,i):void 0}}),Lt({target:"Reflect",stat:!0,sham:!i},{getOwnPropertyDescriptor:function(t,e){return R.f(j(t),e)}}),Lt({target:"Reflect",stat:!0,sham:!Pe},{getPrototypeOf:function(t){return ke(j(t))}}),Lt({target:"Reflect",stat:!0},{has:function(t,e){return e in t}});var uo=Object.isExtensible;Lt({target:"Reflect",stat:!0},{isExtensible:function(t){return j(t),!uo||uo(t)}}),Lt({target:"Reflect",stat:!0},{ownKeys:Et}),Lt({target:"Reflect",stat:!0,sham:!Mr},{preventExtensions:function(t){j(t);try{var e=it("Object","preventExtensions");return e&&e(t),!0}catch(t){return!1}}});var so=o((function(){var t=I.f({},"a",{configurable:!0});return!1!==Reflect.set(ke(t),"a",1,t)}));Lt({target:"Reflect",stat:!0,forced:so},{set:function t(e,r,n){var o,i,a=arguments.length<4?e:arguments[3],u=R.f(j(e),r);if(!u){if(y(i=ke(e)))return t(i,r,n,a);u=f(0)}if(w(u,"value")){if(!1===u.writable||!y(a))return!1;if(o=R.f(a,r)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,I.f(a,r,o)}else I.f(a,r,f(0,n));return!0}return void 0!==u.set&&(u.set.call(a,n),!0)}}),We&&Lt({target:"Reflect",stat:!0},{setPrototypeOf:function(t,e){j(t),ze(e);try{return We(t,e),!0}catch(t){return!1}}});var co=_r.getWeakData,fo=et.set,lo=et.getterFor,ho=se.find,po=se.findIndex,vo=0,go=function(t){return t.frozen||(t.frozen=new yo)},yo=function(){this.entries=[]},mo=function(t,e){return ho(t.entries,(function(t){return t[0]===e}))};yo.prototype={get:function(t){var e=mo(this,t);if(e)return e[1]},has:function(t){return!!mo(this,t)},set:function(t,e){var r=mo(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=po(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}};var bo={getConstructor:function(t,e,r,n){var o=t((function(t,i){Cr(t,o,e),fo(t,{type:e,id:vo++,frozen:void 0}),null!=i&&Nr(i,t[n],t,r)})),i=lo(e),a=function(t,e,r){var n=i(t),o=co(j(e),!0);return!0===o?go(n).set(e,r):o[n.id]=r,t};return Dr(o.prototype,{delete:function(t){var e=i(this);if(!y(t))return!1;var r=co(t);return!0===r?go(e).delete(t):r&&w(r,e.id)&&delete r[e.id]},has:function(t){var e=i(this);if(!y(t))return!1;var r=co(t);return!0===r?go(e).has(t):r&&w(r,e.id)}}),Dr(o.prototype,r?{get:function(t){var e=i(this);if(y(t)){var r=co(t);return!0===r?go(e).get(t):r?r[e.id]:void 0}},set:function(t,e){return a(this,t,e)}}:{add:function(t){return a(this,t,!0)}}),o}},wo=e((function(t){var e,r=et.enforce,o=!n.ActiveXObject&&"ActiveXObject"in n,i=Object.isExtensible,a=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},u=t.exports=Br("WeakMap",a,bo);if(D&&o){e=bo.getConstructor(a,"WeakMap",!0),_r.REQUIRED=!0;var s=u.prototype,c=s.delete,f=s.has,l=s.get,h=s.set;Dr(s,{delete:function(t){if(y(t)&&!i(t)){var n=r(this);return n.frozen||(n.frozen=new e),c.call(this,t)||n.frozen.delete(t)}return c.call(this,t)},has:function(t){if(y(t)&&!i(t)){var n=r(this);return n.frozen||(n.frozen=new e),f.call(this,t)||n.frozen.has(t)}return f.call(this,t)},get:function(t){if(y(t)&&!i(t)){var n=r(this);return n.frozen||(n.frozen=new e),f.call(this,t)?l.call(this,t):n.frozen.get(t)}return l.call(this,t)},set:function(t,n){if(y(t)&&!i(t)){var o=r(this);o.frozen||(o.frozen=new e),f.call(this,t)?h.call(this,t,n):o.frozen.set(t,n)}else h.call(this,t,n);return this}})}})),So=z("metadata"),Eo=So.store||(So.store=new wo),xo=function(t,e,r){var n=Eo.get(t);if(!n){if(!r)return;Eo.set(t,n=new Hr)}var o=n.get(e);if(!o){if(!r)return;n.set(e,o=new Hr)}return o},Ao={store:Eo,getMap:xo,has:function(t,e,r){var n=xo(e,r,!1);return void 0!==n&&n.has(t)},get:function(t,e,r){var n=xo(e,r,!1);return void 0===n?void 0:n.get(t)},set:function(t,e,r,n){xo(r,n,!0).set(t,e)},keys:function(t,e){var r=xo(t,e,!1),n=[];return r&&r.forEach((function(t,e){n.push(e)})),n},toKey:function(t){return void 0===t||"symbol"==typeof t?t:String(t)}},Oo=Ao.toKey,Ro=Ao.set;Lt({target:"Reflect",stat:!0},{defineMetadata:function(t,e,r){var n=arguments.length<4?void 0:Oo(arguments[3]);Ro(t,e,j(r),n)}});var jo=Ao.toKey,Po=Ao.getMap,Io=Ao.store;Lt({target:"Reflect",stat:!0},{deleteMetadata:function(t,e){var r=arguments.length<3?void 0:jo(arguments[2]),n=Po(j(e),r,!1);if(void 0===n||!n.delete(t))return!1;if(n.size)return!0;var o=Io.get(e);return o.delete(r),!!o.size||Io.delete(e)}});var To=Ao.has,ko=Ao.get,Lo=Ao.toKey,Uo=function(t,e,r){if(To(t,e,r))return ko(t,e,r);var n=ke(e);return null!==n?Uo(t,n,r):void 0};Lt({target:"Reflect",stat:!0},{getMetadata:function(t,e){var r=arguments.length<3?void 0:Lo(arguments[2]);return Uo(t,j(e),r)}});var Mo=Br("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),Vr),_o=Ao.keys,No=Ao.toKey,Co=function(t,e){var r=_o(t,e),n=ke(t);if(null===n)return r;var o,i,a=Co(n,e);return a.length?r.length?(o=new Mo(r.concat(a)),Nr(o,(i=[]).push,i),i):a:r};Lt({target:"Reflect",stat:!0},{getMetadataKeys:function(t){var e=arguments.length<2?void 0:No(arguments[1]);return Co(j(t),e)}});var Fo=Ao.get,Bo=Ao.toKey;Lt({target:"Reflect",stat:!0},{getOwnMetadata:function(t,e){var r=arguments.length<3?void 0:Bo(arguments[2]);return Fo(t,j(e),r)}});var Do=Ao.keys,qo=Ao.toKey;Lt({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(t){var e=arguments.length<2?void 0:qo(arguments[1]);return Do(j(t),e)}});var zo=Ao.has,Wo=Ao.toKey,Ko=function(t,e,r){if(zo(t,e,r))return!0;var n=ke(e);return null!==n&&Ko(t,n,r)};Lt({target:"Reflect",stat:!0},{hasMetadata:function(t,e){var r=arguments.length<3?void 0:Wo(arguments[2]);return Ko(t,j(e),r)}});var Go=Ao.has,$o=Ao.toKey;Lt({target:"Reflect",stat:!0},{hasOwnMetadata:function(t,e){var r=arguments.length<3?void 0:$o(arguments[2]);return Go(t,j(e),r)}});var Vo=Ao.toKey,Ho=Ao.set;Lt({target:"Reflect",stat:!0},{metadata:function(t,e){return function(r,n){Ho(t,e,j(r),Vo(n))}}});var Xo=qt("match"),Yo=function(t){var e;return y(t)&&(void 0!==(e=t[Xo])?!!e:"RegExp"==h(t))},Jo=function(){var t=j(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e};function Qo(t,e){return RegExp(t,e)}var Zo=o((function(){var t=Qo("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),ti=o((function(){var t=Qo("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),ei={UNSUPPORTED_Y:Zo,BROKEN_CARET:ti},ri=I.f,ni=wt.f,oi=et.set,ii=qt("match"),ai=n.RegExp,ui=ai.prototype,si=/a/g,ci=/a/g,fi=new ai(si)!==si,li=ei.UNSUPPORTED_Y;if(i&&Tt("RegExp",!fi||li||o((function(){return ci[ii]=!1,ai(si)!=si||ai(ci)==ci||"/a/i"!=ai(si,"i")})))){for(var hi=function(t,e){var r,n=this instanceof hi,o=Yo(t),i=void 0===e;if(!n&&o&&t.constructor===hi&&i)return t;fi?o&&!i&&(t=t.source):t instanceof hi&&(i&&(e=Jo.call(t)),t=t.source),li&&(r=!!e&&e.indexOf("y")>-1)&&(e=e.replace(/y/g,""));var a=Fr(fi?new ai(t,e):ai(t,e),n?this:ui,hi);return li&&r&&oi(a,{sticky:r}),a},pi=function(t){t in hi||ri(hi,t,{configurable:!0,get:function(){return ai[t]},set:function(e){ai[t]=e}})},di=ni(ai),vi=0;di.length>vi;)pi(di[vi++]);ui.constructor=hi,hi.prototype=ui,rt(n,"RegExp",hi)}zr("RegExp");var gi="toString",yi=RegExp.prototype,mi=yi.toString;(o((function(){return"/a/b"!=mi.call({source:"a",flags:"b"})}))||mi.name!=gi)&&rt(RegExp.prototype,gi,(function(){var t=j(this),e=String(t.source),r=t.flags;return"/"+e+"/"+String(void 0===r&&t instanceof RegExp&&!("flags"in yi)?Jo.call(t):r)}),{unsafe:!0});var bi=RegExp.prototype.exec,wi=String.prototype.replace,Si=bi,Ei=function(){var t=/a/,e=/b*/g;return bi.call(t,"a"),bi.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),xi=ei.UNSUPPORTED_Y||ei.BROKEN_CARET,Ai=void 0!==/()??/.exec("")[1];(Ei||Ai||xi)&&(Si=function(t){var e,r,n,o,i=this,a=xi&&i.sticky,u=Jo.call(i),s=i.source,c=0,f=t;return a&&(-1===(u=u.replace("y","")).indexOf("g")&&(u+="g"),f=String(t).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(s="(?: "+s+")",f=" "+f,c++),r=new RegExp("^(?:"+s+")",u)),Ai&&(r=new RegExp("^"+s+"$(?!\\s)",u)),Ei&&(e=i.lastIndex),n=bi.call(a?r:i,f),a?n?(n.input=n.input.slice(c),n[0]=n[0].slice(c),n.index=i.lastIndex,i.lastIndex+=n[0].length):i.lastIndex=0:Ei&&n&&(i.lastIndex=i.global?n.index+n[0].length:e),Ai&&n&&n.length>1&&wi.call(n[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n});var Oi=Si;Lt({target:"RegExp",proto:!0,forced:/./.exec!==Oi},{exec:Oi}),i&&("g"!=/./g.flags||ei.UNSUPPORTED_Y)&&I.f(RegExp.prototype,"flags",{configurable:!0,get:Jo});var Ri=et.get,ji=RegExp.prototype;i&&ei.UNSUPPORTED_Y&&(0,I.f)(RegExp.prototype,"sticky",{configurable:!0,get:function(){if(this!==ji){if(this instanceof RegExp)return!!Ri(this).sticky;throw TypeError("Incompatible receiver, RegExp required")}}});var Pi,Ii,Ti=(Pi=!1,(Ii=/[ac]/).exec=function(){return Pi=!0,/./.exec.apply(this,arguments)},!0===Ii.test("abc")&&Pi),ki=/./.test;Lt({target:"RegExp",proto:!0,forced:!Ti},{test:function(t){if("function"!=typeof this.exec)return ki.call(this,t);var e=this.exec(t);if(null!==e&&!y(e))throw new Error("RegExp exec method returned something other than an Object or null");return!!e}});var Li=qt("species"),Ui=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),Mi="$0"==="a".replace(/./,"$0"),_i=qt("replace"),Ni=!!/./[_i]&&""===/./[_i]("a","$0"),Ci=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),Fi=function(t,e,r,n){var i=qt(t),a=!o((function(){var e={};return e[i]=function(){return 7},7!=""[t](e)})),u=a&&!o((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[Li]=function(){return r},r.flags="",r[i]=/./[i]),r.exec=function(){return e=!0,null},r[i](""),!e}));if(!a||!u||"replace"===t&&(!Ui||!Mi||Ni)||"split"===t&&!Ci){var s=/./[i],c=r(i,""[t],(function(t,e,r,n,o){return e.exec===Oi?a&&!o?{done:!0,value:s.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:Mi,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Ni}),f=c[1];rt(String.prototype,t,c[0]),rt(RegExp.prototype,i,2==e?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)})}n&&T(RegExp.prototype[i],"sham",!0)},Bi=je.charAt,Di=function(t,e,r){return e+(r?Bi(t,e).length:1)},qi=function(t,e){var r=t.exec;if("function"==typeof r){var n=r.call(t,e);if("object"!=typeof n)throw TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==h(t))throw TypeError("RegExp#exec called on incompatible receiver");return Oi.call(t,e)};Fi("match",1,(function(t,e,r){return[function(e){var r=v(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var o=j(t),i=String(this);if(!o.global)return qi(o,i);var a=o.unicode;o.lastIndex=0;for(var u,s=[],c=0;null!==(u=qi(o,i));){var f=String(u[0]);s[c]=f,""===f&&(o.lastIndex=Di(i,ft(o.lastIndex),a)),c++}return 0===c?null:s}]}));var zi=Math.max,Wi=Math.min,Ki=Math.floor,Gi=/\$([$&'`]|\d\d?|<[^>]*>)/g,$i=/\$([$&'`]|\d\d?)/g;Fi("replace",2,(function(t,e,r,n){var o=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=n.REPLACE_KEEPS_$0,a=o?"$":"$0";return[function(r,n){var o=v(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,n):e.call(String(o),r,n)},function(t,n){if(!o&&i||"string"==typeof n&&-1===n.indexOf(a)){var s=r(e,t,this,n);if(s.done)return s.value}var c=j(t),f=String(this),l="function"==typeof n;l||(n=String(n));var h=c.global;if(h){var p=c.unicode;c.lastIndex=0}for(var d=[];;){var v=qi(c,f);if(null===v)break;if(d.push(v),!h)break;""===String(v[0])&&(c.lastIndex=Di(f,ft(c.lastIndex),p))}for(var g,y="",m=0,b=0;b<d.length;b++){v=d[b];for(var w=String(v[0]),S=zi(Wi(st(v.index),f.length),0),E=[],x=1;x<v.length;x++)E.push(void 0===(g=v[x])?g:String(g));var A=v.groups;if(l){var O=[w].concat(E,S,f);void 0!==A&&O.push(A);var R=String(n.apply(void 0,O))}else R=u(w,f,S,E,A,n);S>=m&&(y+=f.slice(m,S)+R,m=S+w.length)}return y+f.slice(m)}];function u(t,r,n,o,i,a){var u=n+t.length,s=o.length,c=$i;return void 0!==i&&(i=Ut(i),c=Gi),e.call(a,c,(function(e,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,n);case"'":return r.slice(u);case"<":c=i[a.slice(1,-1)];break;default:var f=+a;if(0===f)return e;if(f>s){var l=Ki(f/10);return 0===l?e:l<=s?void 0===o[l-1]?a.charAt(1):o[l-1]+a.charAt(1):e}c=o[f-1]}return void 0===c?"":c}))}})),Fi("search",1,(function(t,e,r){return[function(e){var r=v(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var o=j(t),i=String(this),a=o.lastIndex;Vn(a,0)||(o.lastIndex=0);var u=qi(o,i);return Vn(o.lastIndex,a)||(o.lastIndex=a),null===u?-1:u.index}]}));var Vi=[].push,Hi=Math.min,Xi=4294967295,Yi=!o((function(){return!RegExp(Xi,"y")}));Fi("split",2,(function(t,e,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var n=String(v(this)),o=void 0===r?Xi:r>>>0;if(0===o)return[];if(void 0===t)return[n];if(!Yo(t))return e.call(n,t,o);for(var i,a,u,s=[],c=0,f=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(i=Oi.call(f,n))&&!((a=f.lastIndex)>c&&(s.push(n.slice(c,i.index)),i.length>1&&i.index<n.length&&Vi.apply(s,i.slice(1)),u=i[0].length,c=a,s.length>=o));)f.lastIndex===i.index&&f.lastIndex++;return c===n.length?!u&&f.test("")||s.push(""):s.push(n.slice(c)),s.length>o?s.slice(0,o):s}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:e.call(this,t,r)}:e,[function(e,r){var o=v(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,r):n.call(String(o),e,r)},function(t,o){var i=r(n,t,this,o,n!==e);if(i.done)return i.value;var a=j(t),u=String(this),s=fn(a,RegExp),c=a.unicode,f=new s(Yi?a:"^(?:"+a.source+")",(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Yi?"y":"g")),l=void 0===o?Xi:o>>>0;if(0===l)return[];if(0===u.length)return null===qi(f,u)?[u]:[];for(var h=0,p=0,d=[];p<u.length;){f.lastIndex=Yi?p:0;var v,g=qi(f,Yi?u:u.slice(p));if(null===g||(v=Hi(ft(f.lastIndex+(Yi?0:p)),u.length))===h)p=Di(u,p,c);else{if(d.push(u.slice(h,p)),d.length===l)return d;for(var y=1;y<=g.length-1;y++)if(d.push(g[y]),d.length===l)return d;p=h=v}}return d.push(u.slice(h)),d}]}),!Yi),Lt({target:"Set",stat:!0},{from:nn}),Lt({target:"Set",stat:!0},{of:on});var Ji=function(){for(var t=j(this),e=Zt(t.add),r=0,n=arguments.length;r<n;r++)e.call(t,arguments[r]);return t};Lt({target:"Set",proto:!0,real:!0,forced:q},{addAll:function(){return Ji.apply(this,arguments)}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{deleteAll:function(){return an.apply(this,arguments)}});var Qi=function(t){return Set.prototype.values.call(t)};Lt({target:"Set",proto:!0,real:!0,forced:q},{every:function(t){var e=j(this),r=Qi(e),n=te(t,arguments.length>1?arguments[1]:void 0,3);return!Nr(r,(function(t){if(!n(t,t,e))return Nr.stop()}),void 0,!1,!0).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{difference:function(t){var e=j(this),r=new(fn(e,it("Set")))(e),n=Zt(r.delete);return Nr(t,(function(t){n.call(r,t)})),r}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{filter:function(t){var e=j(this),r=Qi(e),n=te(t,arguments.length>1?arguments[1]:void 0,3),o=new(fn(e,it("Set"))),i=Zt(o.add);return Nr(r,(function(t){n(t,t,e)&&i.call(o,t)}),void 0,!1,!0),o}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{find:function(t){var e=j(this),r=Qi(e),n=te(t,arguments.length>1?arguments[1]:void 0,3);return Nr(r,(function(t){if(n(t,t,e))return Nr.stop(t)}),void 0,!1,!0).result}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{intersection:function(t){var e=j(this),r=new(fn(e,it("Set"))),n=Zt(e.has),o=Zt(r.add);return Nr(t,(function(t){n.call(e,t)&&o.call(r,t)})),r}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{isDisjointFrom:function(t){var e=j(this),r=Zt(e.has);return!Nr(t,(function(t){if(!0===r.call(e,t))return Nr.stop()})).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{isSubsetOf:function(t){var e=un(this),r=j(t),n=r.has;return"function"!=typeof n&&(r=new(it("Set"))(t),n=Zt(r.has)),!Nr(e,(function(t){if(!1===n.call(r,t))return Nr.stop()}),void 0,!1,!0).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{isSupersetOf:function(t){var e=j(this),r=Zt(e.has);return!Nr(t,(function(t){if(!1===r.call(e,t))return Nr.stop()})).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{join:function(t){var e=j(this),r=Qi(e),n=void 0===t?",":String(t),o=[];return Nr(r,o.push,o,!1,!0),o.join(n)}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{map:function(t){var e=j(this),r=Qi(e),n=te(t,arguments.length>1?arguments[1]:void 0,3),o=new(fn(e,it("Set"))),i=Zt(o.add);return Nr(r,(function(t){i.call(o,n(t,t,e))}),void 0,!1,!0),o}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{reduce:function(t){var e=j(this),r=Qi(e),n=arguments.length<2,o=n?void 0:arguments[1];if(Zt(t),Nr(r,(function(r){n?(n=!1,o=r):o=t(o,r,r,e)}),void 0,!1,!0),n)throw TypeError("Reduce of empty set with no initial value");return o}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{some:function(t){var e=j(this),r=Qi(e),n=te(t,arguments.length>1?arguments[1]:void 0,3);return Nr(r,(function(t){if(n(t,t,e))return Nr.stop()}),void 0,!1,!0).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{symmetricDifference:function(t){var e=j(this),r=new(fn(e,it("Set")))(e),n=Zt(r.delete),o=Zt(r.add);return Nr(t,(function(t){n.call(r,t)||o.call(r,t)})),r}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{union:function(t){var e=j(this),r=new(fn(e,it("Set")))(e);return Nr(t,Zt(r.add),r),r}});var Zi,ta,ea=it("navigator","userAgent")||"",ra=n.process,na=ra&&ra.versions,oa=na&&na.v8;oa?ta=(Zi=oa.split("."))[0]+Zi[1]:ea&&(!(Zi=ea.match(/Edge\/(\d+)/))||Zi[1]>=74)&&(Zi=ea.match(/Chrome\/(\d+)/))&&(ta=Zi[1]);var ia=ta&&+ta,aa=qt("species"),ua=qt("isConcatSpreadable"),sa=9007199254740991,ca="Maximum allowed index exceeded",fa=ia>=51||!o((function(){var t=[];return t[ua]=!1,t.concat()[0]!==t})),la=ia>=51||!o((function(){var t=[];return(t.constructor={})[aa]=function(){return{foo:1}},1!==t.concat(Boolean).foo})),ha=function(t){if(!y(t))return!1;var e=t[ua];return void 0!==e?!!e:ne(t)};Lt({target:"Array",proto:!0,forced:!fa||!la},{concat:function(t){var e,r,n,o,i,a=Ut(this),u=ie(a,0),s=0;for(e=-1,n=arguments.length;e<n;e++)if(ha(i=-1===e?a:arguments[e])){if(s+(o=ft(i.length))>sa)throw TypeError(ca);for(r=0;r<o;r++,s++)r in i&&ar(u,s,i[r])}else{if(s>=sa)throw TypeError(ca);ar(u,s++,i)}return u.length=s,u}});var pa=wt.f,da={}.toString,va="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ga={f:function(t){return va&&"[object Window]"==da.call(t)?function(t){try{return pa(t)}catch(t){return va.slice()}}(t):pa(g(t))}},ya={f:qt},ma=I.f,ba=function(t){var e=nt.Symbol||(nt.Symbol={});w(e,t)||ma(e,t,{value:ya.f(t)})},wa=se.forEach,Sa=V("hidden"),Ea="Symbol",xa=qt("toPrimitive"),Aa=et.set,Oa=et.getterFor(Ea),Ra=Object.prototype,ja=n.Symbol,Pa=it("JSON","stringify"),Ia=R.f,Ta=I.f,ka=ga.f,La=c.f,Ua=z("symbols"),Ma=z("op-symbols"),_a=z("string-to-symbol-registry"),Na=z("symbol-to-string-registry"),Ca=z("wks"),Fa=n.QObject,Ba=!Fa||!Fa.prototype||!Fa.prototype.findChild,Da=i&&o((function(){return 7!=Xt(Ta({},"a",{get:function(){return Ta(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=Ia(Ra,e);n&&delete Ra[e],Ta(t,e,r),n&&t!==Ra&&Ta(Ra,e,n)}:Ta,qa=function(t,e){var r=Ua[t]=Xt(ja.prototype);return Aa(r,{type:Ea,tag:t,description:e}),i||(r.description=e),r},za=Ct?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof ja},Wa=function(t,e,r){t===Ra&&Wa(Ma,e,r),j(t);var n=m(e,!0);return j(r),w(Ua,n)?(r.enumerable?(w(t,Sa)&&t[Sa][n]&&(t[Sa][n]=!1),r=Xt(r,{enumerable:f(0,!1)})):(w(t,Sa)||Ta(t,Sa,f(1,{})),t[Sa][n]=!0),Da(t,n,r)):Ta(t,n,r)},Ka=function(t,e){j(t);var r=g(e),n=zt(r).concat(Ha(r));return wa(n,(function(e){i&&!Ga.call(r,e)||Wa(t,e,r[e])})),t},Ga=function(t){var e=m(t,!0),r=La.call(this,e);return!(this===Ra&&w(Ua,e)&&!w(Ma,e))&&(!(r||!w(this,e)||!w(Ua,e)||w(this,Sa)&&this[Sa][e])||r)},$a=function(t,e){var r=g(t),n=m(e,!0);if(r!==Ra||!w(Ua,n)||w(Ma,n)){var o=Ia(r,n);return!o||!w(Ua,n)||w(r,Sa)&&r[Sa][n]||(o.enumerable=!0),o}},Va=function(t){var e=ka(g(t)),r=[];return wa(e,(function(t){w(Ua,t)||w(H,t)||r.push(t)})),r},Ha=function(t){var e=t===Ra,r=ka(e?Ma:g(t)),n=[];return wa(r,(function(t){!w(Ua,t)||e&&!w(Ra,t)||n.push(Ua[t])})),n};if(Nt||(ja=function(){if(this instanceof ja)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=G(t),r=function(t){this===Ra&&r.call(Ma,t),w(this,Sa)&&w(this[Sa],e)&&(this[Sa][e]=!1),Da(this,e,f(1,t))};return i&&Ba&&Da(Ra,e,{configurable:!0,set:r}),qa(e,t)},rt(ja.prototype,"toString",(function(){return Oa(this).tag})),rt(ja,"withoutSetter",(function(t){return qa(G(t),t)})),c.f=Ga,I.f=Wa,R.f=$a,wt.f=ga.f=Va,St.f=Ha,ya.f=function(t){return qa(qt(t),t)},i&&(Ta(ja.prototype,"description",{configurable:!0,get:function(){return Oa(this).description}}),rt(Ra,"propertyIsEnumerable",Ga,{unsafe:!0}))),Lt({global:!0,wrap:!0,forced:!Nt,sham:!Nt},{Symbol:ja}),wa(zt(Ca),(function(t){ba(t)})),Lt({target:Ea,stat:!0,forced:!Nt},{for:function(t){var e=String(t);if(w(_a,e))return _a[e];var r=ja(e);return _a[e]=r,Na[r]=e,r},keyFor:function(t){if(!za(t))throw TypeError(t+" is not a symbol");if(w(Na,t))return Na[t]},useSetter:function(){Ba=!0},useSimple:function(){Ba=!1}}),Lt({target:"Object",stat:!0,forced:!Nt,sham:!i},{create:function(t,e){return void 0===e?Xt(t):Ka(Xt(t),e)},defineProperty:Wa,defineProperties:Ka,getOwnPropertyDescriptor:$a}),Lt({target:"Object",stat:!0,forced:!Nt},{getOwnPropertyNames:Va,getOwnPropertySymbols:Ha}),Lt({target:"Object",stat:!0,forced:o((function(){St.f(1)}))},{getOwnPropertySymbols:function(t){return St.f(Ut(t))}}),Pa){var Xa=!Nt||o((function(){var t=ja();return"[null]"!=Pa([t])||"{}"!=Pa({a:t})||"{}"!=Pa(Object(t))}));Lt({target:"JSON",stat:!0,forced:Xa},{stringify:function(t,e,r){for(var n,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=e,(y(e)||void 0!==t)&&!za(t))return ne(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!za(e))return e}),o[1]=e,Pa.apply(null,o)}})}ja.prototype[xa]||T(ja.prototype,xa,ja.prototype.valueOf),Ce(ja,Ea),H[Sa]=!0,ba("asyncIterator");var Ya=I.f,Ja=n.Symbol;if(i&&"function"==typeof Ja&&(!("description"in Ja.prototype)||void 0!==Ja().description)){var Qa={},Za=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof Za?new Ja(t):void 0===t?Ja():Ja(t);return""===t&&(Qa[e]=!0),e};xt(Za,Ja);var tu=Za.prototype=Ja.prototype;tu.constructor=Za;var eu=tu.toString,ru="Symbol(test)"==String(Ja("test")),nu=/^Symbol\((.*)\)[^)]+$/;Ya(tu,"description",{configurable:!0,get:function(){var t=y(this)?this.valueOf():this,e=eu.call(t);if(w(Qa,t))return"";var r=ru?e.slice(7,-1):e.replace(nu,"$1");return""===r?void 0:r}}),Lt({global:!0,forced:!0},{Symbol:Za})}ba("hasInstance"),ba("isConcatSpreadable"),ba("iterator"),ba("match"),ba("matchAll"),ba("replace"),ba("search"),ba("species"),ba("split"),ba("toPrimitive"),ba("toStringTag"),ba("unscopables"),Ce(Math,"Math",!0),Ce(n.JSON,"JSON",!0),ba("asyncDispose"),ba("dispose"),ba("observable"),ba("patternMatch"),ba("replaceAll"),ya.f("asyncIterator");var ou=je.codeAt;Lt({target:"String",proto:!0},{codePointAt:function(t){return ou(this,t)}}),re("String","codePointAt");var iu,au=function(t){if(Yo(t))throw TypeError("The method doesn't accept regular expressions");return t},uu=qt("match"),su=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[uu]=!1,"/./"[t](e)}catch(t){}}return!1},cu=R.f,fu="".endsWith,lu=Math.min,hu=su("endsWith"),pu=!(hu||(iu=cu(String.prototype,"endsWith"),!iu||iu.writable));Lt({target:"String",proto:!0,forced:!pu&&!hu},{endsWith:function(t){var e=String(v(this));au(t);var r=arguments.length>1?arguments[1]:void 0,n=ft(e.length),o=void 0===r?n:lu(ft(r),n),i=String(t);return fu?fu.call(e,i,o):e.slice(o-i.length,o)===i}}),re("String","endsWith");var du=String.fromCharCode,vu=String.fromCodePoint;Lt({target:"String",stat:!0,forced:!!vu&&1!=vu.length},{fromCodePoint:function(t){for(var e,r=[],n=arguments.length,o=0;n>o;){if(e=+arguments[o++],pt(e,1114111)!==e)throw RangeError(e+" is not a valid code point");r.push(e<65536?du(e):du(55296+((e-=65536)>>10),e%1024+56320))}return r.join("")}}),Lt({target:"String",proto:!0,forced:!su("includes")},{includes:function(t){return!!~String(v(this)).indexOf(au(t),arguments.length>1?arguments[1]:void 0)}}),re("String","includes");var gu="".repeat||function(t){var e=String(v(this)),r="",n=st(t);if(n<0||1/0==n)throw RangeError("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(e+=e))1&n&&(r+=e);return r},yu=Math.ceil,mu=function(t){return function(e,r,n){var o,i,a=String(v(e)),u=a.length,s=void 0===n?" ":String(n),c=ft(r);return c<=u||""==s?a:((i=gu.call(s,yu((o=c-u)/s.length))).length>o&&(i=i.slice(0,o)),t?a+i:i+a)}},bu={start:mu(!1),end:mu(!0)},wu=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(ea),Su=bu.start;Lt({target:"String",proto:!0,forced:wu},{padStart:function(t){return Su(this,t,arguments.length>1?arguments[1]:void 0)}}),re("String","padStart");var Eu=bu.end;Lt({target:"String",proto:!0,forced:wu},{padEnd:function(t){return Eu(this,t,arguments.length>1?arguments[1]:void 0)}}),re("String","padEnd"),Lt({target:"String",stat:!0},{raw:function(t){for(var e=g(t.raw),r=ft(e.length),n=arguments.length,o=[],i=0;r>i;)o.push(String(e[i++])),i<n&&o.push(String(arguments[i]));return o.join("")}}),Lt({target:"String",proto:!0},{repeat:gu}),re("String","repeat");var xu=R.f,Au="".startsWith,Ou=Math.min,Ru=su("startsWith"),ju=!Ru&&!!function(){var t=xu(String.prototype,"startsWith");return t&&!t.writable}();Lt({target:"String",proto:!0,forced:!ju&&!Ru},{startsWith:function(t){var e=String(v(this));au(t);var r=ft(Ou(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return Au?Au.call(e,n,r):e.slice(r,r+n.length)===n}}),re("String","startsWith");var Pu=function(t){return o((function(){return!!hn[t]()||"
"!="
"[t]()||hn[t].name!==t}))},Iu=yn.start,Tu=Pu("trimStart"),ku=Tu?function(){return Iu(this)}:"".trimStart;Lt({target:"String",proto:!0,forced:Tu},{trimStart:ku,trimLeft:ku}),re("String","trimLeft");var Lu=yn.end,Uu=Pu("trimEnd"),Mu=Uu?function(){return Lu(this)}:"".trimEnd;Lt({target:"String",proto:!0,forced:Uu},{trimEnd:Mu,trimRight:Mu}),re("String","trimRight");var _u=qt("iterator"),Nu=!o((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r="";return t.pathname="c%20d",e.forEach((function(t,n){e.delete("b"),r+=n+t})),!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[_u]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host})),Cu=Object.assign,Fu=Object.defineProperty,Bu=!Cu||o((function(){if(i&&1!==Cu({b:1},Cu(Fu({},"a",{enumerable:!0,get:function(){Fu(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=Cu({},t)[r]||zt(Cu({},e)).join("")!=n}))?function(t,e){for(var r=Ut(t),n=arguments.length,o=1,a=St.f,u=c.f;n>o;)for(var s,f=d(arguments[o++]),l=a?zt(f).concat(a(f)):zt(f),h=l.length,p=0;h>p;)s=l[p++],i&&!u.call(f,s)||(r[s]=f[s]);return r}:Cu,Du=2147483647,qu=/[^\0-\u007E]/,zu=/[.\u3002\uFF0E\uFF61]/g,Wu="Overflow: input needs wider integers to process",Ku=Math.floor,Gu=String.fromCharCode,$u=function(t){return t+22+75*(t<26)},Vu=function(t,e,r){var n=0;for(t=r?Ku(t/700):t>>1,t+=Ku(t/e);t>455;n+=36)t=Ku(t/35);return Ku(n+36*t/(t+38))},Hu=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=t.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){var i=t.charCodeAt(r++);56320==(64512&i)?e.push(((1023&o)<<10)+(1023&i)+65536):(e.push(o),r--)}else e.push(o)}return e}(t);var r,n,o=t.length,i=128,a=0,u=72;for(r=0;r<t.length;r++)(n=t[r])<128&&e.push(Gu(n));var s=e.length,c=s;for(s&&e.push("-");c<o;){var f=Du;for(r=0;r<t.length;r++)(n=t[r])>=i&&n<f&&(f=n);var l=c+1;if(f-i>Ku((Du-a)/l))throw RangeError(Wu);for(a+=(f-i)*l,i=f,r=0;r<t.length;r++){if((n=t[r])<i&&++a>Du)throw RangeError(Wu);if(n==i){for(var h=a,p=36;;p+=36){var d=p<=u?1:p>=u+26?26:p-u;if(h<d)break;var v=h-d,g=36-d;e.push(Gu($u(d+v%g))),h=Ku(v/g)}e.push(Gu($u(h))),u=Vu(a,l,c==s),a=0,++c}}++a,++i}return e.join("")},Xu=it("fetch"),Yu=it("Headers"),Ju=qt("iterator"),Qu="URLSearchParams",Zu="URLSearchParamsIterator",ts=et.set,es=et.getterFor(Qu),rs=et.getterFor(Zu),ns=/\+/g,os=Array(4),is=function(t){return os[t-1]||(os[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},as=function(t){try{return decodeURIComponent(t)}catch(e){return t}},us=function(t){var e=t.replace(ns," "),r=4;try{return decodeURIComponent(e)}catch(t){for(;r;)e=e.replace(is(r--),as);return e}},ss=/[!'()~]|%20/g,cs={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},fs=function(t){return cs[t]},ls=function(t){return encodeURIComponent(t).replace(ss,fs)},hs=function(t,e){if(e)for(var r,n,o=e.split("&"),i=0;i<o.length;)(r=o[i++]).length&&(n=r.split("="),t.push({key:us(n.shift()),value:us(n.join("="))}))},ps=function(t){this.entries.length=0,hs(this.entries,t)},ds=function(t,e){if(t<e)throw TypeError("Not enough arguments")},vs=qe((function(t,e){ts(this,{type:Zu,iterator:un(es(t).entries),kind:e})}),"Iterator",(function(){var t=rs(this),e=t.kind,r=t.iterator.next(),n=r.value;return r.done||(r.value="keys"===e?n.key:"values"===e?n.value:[n.key,n.value]),r})),gs=function(){Cr(this,gs,Qu);var t,e,r,n,o,i,a,u,s,c=arguments.length>0?arguments[0]:void 0,f=[];if(ts(this,{type:Qu,entries:f,updateURL:function(){},updateSearchParams:ps}),void 0!==c)if(y(c))if("function"==typeof(t=pr(c)))for(r=(e=t.call(c)).next;!(n=r.call(e)).done;){if((a=(i=(o=un(j(n.value))).next).call(o)).done||(u=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");f.push({key:a.value+"",value:u.value+""})}else for(s in c)w(c,s)&&f.push({key:s,value:c[s]+""});else hs(f,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},ys=gs.prototype;Dr(ys,{append:function(t,e){ds(arguments.length,2);var r=es(this);r.entries.push({key:t+"",value:e+""}),r.updateURL()},delete:function(t){ds(arguments.length,1);for(var e=es(this),r=e.entries,n=t+"",o=0;o<r.length;)r[o].key===n?r.splice(o,1):o++;e.updateURL()},get:function(t){ds(arguments.length,1);for(var e=es(this).entries,r=t+"",n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){ds(arguments.length,1);for(var e=es(this).entries,r=t+"",n=[],o=0;o<e.length;o++)e[o].key===r&&n.push(e[o].value);return n},has:function(t){ds(arguments.length,1);for(var e=es(this).entries,r=t+"",n=0;n<e.length;)if(e[n++].key===r)return!0;return!1},set:function(t,e){ds(arguments.length,1);for(var r,n=es(this),o=n.entries,i=!1,a=t+"",u=e+"",s=0;s<o.length;s++)(r=o[s]).key===a&&(i?o.splice(s--,1):(i=!0,r.value=u));i||o.push({key:a,value:u}),n.updateURL()},sort:function(){var t,e,r,n=es(this),o=n.entries,i=o.slice();for(o.length=0,r=0;r<i.length;r++){for(t=i[r],e=0;e<r;e++)if(o[e].key>t.key){o.splice(e,0,t);break}e===r&&o.push(t)}n.updateURL()},forEach:function(t){for(var e,r=es(this).entries,n=te(t,arguments.length>1?arguments[1]:void 0,3),o=0;o<r.length;)n((e=r[o++]).value,e.key,this)},keys:function(){return new vs(this,"keys")},values:function(){return new vs(this,"values")},entries:function(){return new vs(this,"entries")}},{enumerable:!0}),rt(ys,Ju,ys.entries),rt(ys,"toString",(function(){for(var t,e=es(this).entries,r=[],n=0;n<e.length;)t=e[n++],r.push(ls(t.key)+"="+ls(t.value));return r.join("&")}),{enumerable:!0}),Ce(gs,Qu),Lt({global:!0,forced:!Nu},{URLSearchParams:gs}),Nu||"function"!=typeof Xu||"function"!=typeof Yu||Lt({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,r,n,o=[t];return arguments.length>1&&(y(e=arguments[1])&&lr(r=e.body)===Qu&&((n=e.headers?new Yu(e.headers):new Yu).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=Xt(e,{body:f(0,String(r)),headers:f(0,n)})),o.push(e)),Xu.apply(this,o)}});var ms,bs={URLSearchParams:gs,getState:es},ws=je.codeAt,Ss=n.URL,Es=bs.URLSearchParams,xs=bs.getState,As=et.set,Os=et.getterFor("URL"),Rs=Math.floor,js=Math.pow,Ps="Invalid scheme",Is="Invalid host",Ts="Invalid port",ks=/[A-Za-z]/,Ls=/[\d+-.A-Za-z]/,Us=/\d/,Ms=/^(0x|0X)/,_s=/^[0-7]+$/,Ns=/^\d+$/,Cs=/^[\dA-Fa-f]+$/,Fs=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,Bs=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,Ds=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,qs=/[\u0009\u000A\u000D]/g,zs=function(t,e){var r,n,o;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return Is;if(!(r=Ks(e.slice(1,-1))))return Is;t.host=r}else if(Qs(t)){if(e=function(t){var e,r,n=[],o=t.toLowerCase().replace(zu,".").split(".");for(e=0;e<o.length;e++)n.push(qu.test(r=o[e])?"xn--"+Hu(r):r);return n.join(".")}(e),Fs.test(e))return Is;if(null===(r=Ws(e)))return Is;t.host=r}else{if(Bs.test(e))return Is;for(r="",n=dr(e),o=0;o<n.length;o++)r+=Ys(n[o],$s);t.host=r}},Ws=function(t){var e,r,n,o,i,a,u,s=t.split(".");if(s.length&&""==s[s.length-1]&&s.pop(),(e=s.length)>4)return t;for(r=[],n=0;n<e;n++){if(""==(o=s[n]))return t;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=Ms.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?Ns:8==i?_s:Cs).test(o))return t;a=parseInt(o,i)}r.push(a)}for(n=0;n<e;n++)if(a=r[n],n==e-1){if(a>=js(256,5-e))return null}else if(a>255)return null;for(u=r.pop(),n=0;n<r.length;n++)u+=r[n]*js(256,3-n);return u},Ks=function(t){var e,r,n,o,i,a,u,s=[0,0,0,0,0,0,0,0],c=0,f=null,l=0,h=function(){return t.charAt(l)};if(":"==h()){if(":"!=t.charAt(1))return;l+=2,f=++c}for(;h();){if(8==c)return;if(":"!=h()){for(e=r=0;r<4&&Cs.test(h());)e=16*e+parseInt(h(),16),l++,r++;if("."==h()){if(0==r)return;if(l-=r,c>6)return;for(n=0;h();){if(o=null,n>0){if(!("."==h()&&n<4))return;l++}if(!Us.test(h()))return;for(;Us.test(h());){if(i=parseInt(h(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;l++}s[c]=256*s[c]+o,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==h()){if(l++,!h())return}else if(h())return;s[c++]=e}else{if(null!==f)return;l++,f=++c}}if(null!==f)for(a=c-f,c=7;0!=c&&a>0;)u=s[c],s[c--]=s[f+a-1],s[f+--a]=u;else if(8!=c)return;return s},Gs=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)e.unshift(t%256),t=Rs(t/256);return e.join(".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(e=n,r=o),e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=t[r].toString(16),r<7&&(e+=":")));return"["+e+"]"}return t},$s={},Vs=Bu({},$s,{" ":1,'"':1,"<":1,">":1,"`":1}),Hs=Bu({},Vs,{"#":1,"?":1,"{":1,"}":1}),Xs=Bu({},Hs,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Ys=function(t,e){var r=ws(t,0);return r>32&&r<127&&!w(e,t)?t:encodeURIComponent(t)},Js={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Qs=function(t){return w(Js,t.scheme)},Zs=function(t){return""!=t.username||""!=t.password},tc=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},ec=function(t,e){var r;return 2==t.length&&ks.test(t.charAt(0))&&(":"==(r=t.charAt(1))||!e&&"|"==r)},rc=function(t){var e;return t.length>1&&ec(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},nc=function(t){var e=t.path,r=e.length;!r||"file"==t.scheme&&1==r&&ec(e[0],!0)||e.pop()},oc=function(t){return"."===t||"%2e"===t.toLowerCase()},ic={},ac={},uc={},sc={},cc={},fc={},lc={},hc={},pc={},dc={},vc={},gc={},yc={},mc={},bc={},wc={},Sc={},Ec={},xc={},Ac={},Oc={},Rc=function(t,e,r,n){var o,i,a,u,s,c=r||ic,f=0,l="",h=!1,p=!1,d=!1;for(r||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(Ds,"")),e=e.replace(qs,""),o=dr(e);f<=o.length;){switch(i=o[f],c){case ic:if(!i||!ks.test(i)){if(r)return Ps;c=uc;continue}l+=i.toLowerCase(),c=ac;break;case ac:if(i&&(Ls.test(i)||"+"==i||"-"==i||"."==i))l+=i.toLowerCase();else{if(":"!=i){if(r)return Ps;l="",c=uc,f=0;continue}if(r&&(Qs(t)!=w(Js,l)||"file"==l&&(Zs(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=l,r)return void(Qs(t)&&Js[t.scheme]==t.port&&(t.port=null));l="","file"==t.scheme?c=mc:Qs(t)&&n&&n.scheme==t.scheme?c=sc:Qs(t)?c=hc:"/"==o[f+1]?(c=cc,f++):(t.cannotBeABaseURL=!0,t.path.push(""),c=xc)}break;case uc:if(!n||n.cannotBeABaseURL&&"#"!=i)return Ps;if(n.cannotBeABaseURL&&"#"==i){t.scheme=n.scheme,t.path=n.path.slice(),t.query=n.query,t.fragment="",t.cannotBeABaseURL=!0,c=Oc;break}c="file"==n.scheme?mc:fc;continue;case sc:if("/"!=i||"/"!=o[f+1]){c=fc;continue}c=pc,f++;break;case cc:if("/"==i){c=dc;break}c=Ec;continue;case fc:if(t.scheme=n.scheme,i==ms)t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,t.path=n.path.slice(),t.query=n.query;else if("/"==i||"\\"==i&&Qs(t))c=lc;else if("?"==i)t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,t.path=n.path.slice(),t.query="",c=Ac;else{if("#"!=i){t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,t.path=n.path.slice(),t.path.pop(),c=Ec;continue}t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,t.path=n.path.slice(),t.query=n.query,t.fragment="",c=Oc}break;case lc:if(!Qs(t)||"/"!=i&&"\\"!=i){if("/"!=i){t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,c=Ec;continue}c=dc}else c=pc;break;case hc:if(c=pc,"/"!=i||"/"!=l.charAt(f+1))continue;f++;break;case pc:if("/"!=i&&"\\"!=i){c=dc;continue}break;case dc:if("@"==i){h&&(l="%40"+l),h=!0,a=dr(l);for(var v=0;v<a.length;v++){var g=a[v];if(":"!=g||d){var y=Ys(g,Xs);d?t.password+=y:t.username+=y}else d=!0}l=""}else if(i==ms||"/"==i||"?"==i||"#"==i||"\\"==i&&Qs(t)){if(h&&""==l)return"Invalid authority";f-=dr(l).length+1,l="",c=vc}else l+=i;break;case vc:case gc:if(r&&"file"==t.scheme){c=wc;continue}if(":"!=i||p){if(i==ms||"/"==i||"?"==i||"#"==i||"\\"==i&&Qs(t)){if(Qs(t)&&""==l)return Is;if(r&&""==l&&(Zs(t)||null!==t.port))return;if(u=zs(t,l))return u;if(l="",c=Sc,r)return;continue}"["==i?p=!0:"]"==i&&(p=!1),l+=i}else{if(""==l)return Is;if(u=zs(t,l))return u;if(l="",c=yc,r==gc)return}break;case yc:if(!Us.test(i)){if(i==ms||"/"==i||"?"==i||"#"==i||"\\"==i&&Qs(t)||r){if(""!=l){var m=parseInt(l,10);if(m>65535)return Ts;t.port=Qs(t)&&m===Js[t.scheme]?null:m,l=""}if(r)return;c=Sc;continue}return Ts}l+=i;break;case mc:if(t.scheme="file","/"==i||"\\"==i)c=bc;else{if(!n||"file"!=n.scheme){c=Ec;continue}if(i==ms)t.host=n.host,t.path=n.path.slice(),t.query=n.query;else if("?"==i)t.host=n.host,t.path=n.path.slice(),t.query="",c=Ac;else{if("#"!=i){rc(o.slice(f).join(""))||(t.host=n.host,t.path=n.path.slice(),nc(t)),c=Ec;continue}t.host=n.host,t.path=n.path.slice(),t.query=n.query,t.fragment="",c=Oc}}break;case bc:if("/"==i||"\\"==i){c=wc;break}n&&"file"==n.scheme&&!rc(o.slice(f).join(""))&&(ec(n.path[0],!0)?t.path.push(n.path[0]):t.host=n.host),c=Ec;continue;case wc:if(i==ms||"/"==i||"\\"==i||"?"==i||"#"==i){if(!r&&ec(l))c=Ec;else if(""==l){if(t.host="",r)return;c=Sc}else{if(u=zs(t,l))return u;if("localhost"==t.host&&(t.host=""),r)return;l="",c=Sc}continue}l+=i;break;case Sc:if(Qs(t)){if(c=Ec,"/"!=i&&"\\"!=i)continue}else if(r||"?"!=i)if(r||"#"!=i){if(i!=ms&&(c=Ec,"/"!=i))continue}else t.fragment="",c=Oc;else t.query="",c=Ac;break;case Ec:if(i==ms||"/"==i||"\\"==i&&Qs(t)||!r&&("?"==i||"#"==i)){if(".."===(s=(s=l).toLowerCase())||"%2e."===s||".%2e"===s||"%2e%2e"===s?(nc(t),"/"==i||"\\"==i&&Qs(t)||t.path.push("")):oc(l)?"/"==i||"\\"==i&&Qs(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&ec(l)&&(t.host&&(t.host=""),l=l.charAt(0)+":"),t.path.push(l)),l="","file"==t.scheme&&(i==ms||"?"==i||"#"==i))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==i?(t.query="",c=Ac):"#"==i&&(t.fragment="",c=Oc)}else l+=Ys(i,Hs);break;case xc:"?"==i?(t.query="",c=Ac):"#"==i?(t.fragment="",c=Oc):i!=ms&&(t.path[0]+=Ys(i,$s));break;case Ac:r||"#"!=i?i!=ms&&("'"==i&&Qs(t)?t.query+="%27":t.query+="#"==i?"%23":Ys(i,$s)):(t.fragment="",c=Oc);break;case Oc:i!=ms&&(t.fragment+=Ys(i,Vs))}f++}},jc=function(t){var e,r,n=Cr(this,jc,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(t),u=As(n,{type:"URL"});if(void 0!==o)if(o instanceof jc)e=Os(o);else if(r=Rc(e={},String(o)))throw TypeError(r);if(r=Rc(u,a,null,e))throw TypeError(r);var s=u.searchParams=new Es,c=xs(s);c.updateSearchParams(u.query),c.updateURL=function(){u.query=String(s)||null},i||(n.href=Ic.call(n),n.origin=Tc.call(n),n.protocol=kc.call(n),n.username=Lc.call(n),n.password=Uc.call(n),n.host=Mc.call(n),n.hostname=_c.call(n),n.port=Nc.call(n),n.pathname=Cc.call(n),n.search=Fc.call(n),n.searchParams=Bc.call(n),n.hash=Dc.call(n))},Pc=jc.prototype,Ic=function(){var t=Os(this),e=t.scheme,r=t.username,n=t.password,o=t.host,i=t.port,a=t.path,u=t.query,s=t.fragment,c=e+":";return null!==o?(c+="//",Zs(t)&&(c+=r+(n?":"+n:"")+"@"),c+=Gs(o),null!==i&&(c+=":"+i)):"file"==e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==u&&(c+="?"+u),null!==s&&(c+="#"+s),c},Tc=function(){var t=Os(this),e=t.scheme,r=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&Qs(t)?e+"://"+Gs(t.host)+(null!==r?":"+r:""):"null"},kc=function(){return Os(this).scheme+":"},Lc=function(){return Os(this).username},Uc=function(){return Os(this).password},Mc=function(){var t=Os(this),e=t.host,r=t.port;return null===e?"":null===r?Gs(e):Gs(e)+":"+r},_c=function(){var t=Os(this).host;return null===t?"":Gs(t)},Nc=function(){var t=Os(this).port;return null===t?"":String(t)},Cc=function(){var t=Os(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},Fc=function(){var t=Os(this).query;return t?"?"+t:""},Bc=function(){return Os(this).searchParams},Dc=function(){var t=Os(this).fragment;return t?"#"+t:""},qc=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(i&&Wt(Pc,{href:qc(Ic,(function(t){var e=Os(this),r=String(t),n=Rc(e,r);if(n)throw TypeError(n);xs(e.searchParams).updateSearchParams(e.query)})),origin:qc(Tc),protocol:qc(kc,(function(t){var e=Os(this);Rc(e,String(t)+":",ic)})),username:qc(Lc,(function(t){var e=Os(this),r=dr(String(t));if(!tc(e)){e.username="";for(var n=0;n<r.length;n++)e.username+=Ys(r[n],Xs)}})),password:qc(Uc,(function(t){var e=Os(this),r=dr(String(t));if(!tc(e)){e.password="";for(var n=0;n<r.length;n++)e.password+=Ys(r[n],Xs)}})),host:qc(Mc,(function(t){var e=Os(this);e.cannotBeABaseURL||Rc(e,String(t),vc)})),hostname:qc(_c,(function(t){var e=Os(this);e.cannotBeABaseURL||Rc(e,String(t),gc)})),port:qc(Nc,(function(t){var e=Os(this);tc(e)||(""==(t=String(t))?e.port=null:Rc(e,t,yc))})),pathname:qc(Cc,(function(t){var e=Os(this);e.cannotBeABaseURL||(e.path=[],Rc(e,t+"",Sc))})),search:qc(Fc,(function(t){var e=Os(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",Rc(e,t,Ac)),xs(e.searchParams).updateSearchParams(e.query)})),searchParams:qc(Bc),hash:qc(Dc,(function(t){var e=Os(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",Rc(e,t,Oc)):e.fragment=null}))}),rt(Pc,"toJSON",(function(){return Ic.call(this)}),{enumerable:!0}),rt(Pc,"toString",(function(){return Ic.call(this)}),{enumerable:!0}),Ss){var zc=Ss.createObjectURL,Wc=Ss.revokeObjectURL;zc&&rt(jc,"createObjectURL",(function(t){return zc.apply(Ss,arguments)})),Wc&&rt(jc,"revokeObjectURL",(function(t){return Wc.apply(Ss,arguments)}))}Ce(jc,"URL"),Lt({global:!0,forced:!Nu,sham:!i},{URL:jc}),Lt({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}}),Lt({target:"WeakMap",stat:!0},{from:nn}),Lt({target:"WeakMap",stat:!0},{of:on}),Lt({target:"WeakMap",proto:!0,real:!0,forced:q},{deleteAll:function(){return an.apply(this,arguments)}}),Lt({target:"WeakMap",proto:!0,real:!0,forced:q},{upsert:ln}),Br("WeakSet",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),bo),Lt({target:"WeakSet",proto:!0,real:!0,forced:q},{addAll:function(){return Ji.apply(this,arguments)}}),Lt({target:"WeakSet",proto:!0,real:!0,forced:q},{deleteAll:function(){return an.apply(this,arguments)}}),Lt({target:"WeakSet",stat:!0},{from:nn}),Lt({target:"WeakSet",stat:!0},{of:on});var Kc,Gc,$c,Vc=n.Promise,Hc=/(iphone|ipod|ipad).*applewebkit/i.test(ea),Xc=n.location,Yc=n.setImmediate,Jc=n.clearImmediate,Qc=n.process,Zc=n.MessageChannel,tf=n.Dispatch,ef=0,rf={},nf=function(t){if(rf.hasOwnProperty(t)){var e=rf[t];delete rf[t],e()}},of=function(t){return function(){nf(t)}},af=function(t){nf(t.data)},uf=function(t){n.postMessage(t+"",Xc.protocol+"//"+Xc.host)};Yc&&Jc||(Yc=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return rf[++ef]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},Kc(ef),ef},Jc=function(t){delete rf[t]},"process"==h(Qc)?Kc=function(t){Qc.nextTick(of(t))}:tf&&tf.now?Kc=function(t){tf.now(of(t))}:Zc&&!Hc?($c=(Gc=new Zc).port2,Gc.port1.onmessage=af,Kc=te($c.postMessage,$c,1)):!n.addEventListener||"function"!=typeof postMessage||n.importScripts||o(uf)||"file:"===Xc.protocol?Kc="onreadystatechange"in x("script")?function(t){Kt.appendChild(x("script")).onreadystatechange=function(){Kt.removeChild(this),nf(t)}}:function(t){setTimeout(of(t),0)}:(Kc=uf,n.addEventListener("message",af,!1)));var sf,cf,ff,lf,hf,pf,df,vf,gf={set:Yc,clear:Jc},yf=R.f,mf=gf.set,bf=n.MutationObserver||n.WebKitMutationObserver,wf=n.process,Sf=n.Promise,Ef="process"==h(wf),xf=yf(n,"queueMicrotask"),Af=xf&&xf.value;Af||(sf=function(){var t,e;for(Ef&&(t=wf.domain)&&t.exit();cf;){e=cf.fn,cf=cf.next;try{e()}catch(t){throw cf?lf():ff=void 0,t}}ff=void 0,t&&t.enter()},Ef?lf=function(){wf.nextTick(sf)}:bf&&!Hc?(hf=!0,pf=document.createTextNode(""),new bf(sf).observe(pf,{characterData:!0}),lf=function(){pf.data=hf=!hf}):Sf&&Sf.resolve?(df=Sf.resolve(void 0),vf=df.then,lf=function(){vf.call(df,sf)}):lf=function(){mf.call(n,sf)});var Of,Rf,jf,Pf,If=Af||function(t){var e={fn:t,next:void 0};ff&&(ff.next=e),cf||(cf=e,lf()),ff=e},Tf=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=Zt(e),this.reject=Zt(r)},kf={f:function(t){return new Tf(t)}},Lf=function(t,e){if(j(t),y(e)&&e.constructor===t)return e;var r=kf.f(t);return(0,r.resolve)(e),r.promise},Uf=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Mf=gf.set,_f=qt("species"),Nf="Promise",Cf=et.get,Ff=et.set,Bf=et.getterFor(Nf),Df=Vc,qf=n.TypeError,zf=n.document,Wf=n.process,Kf=it("fetch"),Gf=kf.f,$f=Gf,Vf="process"==h(Wf),Hf=!!(zf&&zf.createEvent&&n.dispatchEvent),Xf="unhandledrejection",Yf=Tt(Nf,(function(){if(F(Df)===String(Df)){if(66===ia)return!0;if(!Vf&&"function"!=typeof PromiseRejectionEvent)return!0}if(ia>=51&&/native code/.test(Df))return!1;var t=Df.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[_f]=e,!(t.then((function(){}))instanceof e)})),Jf=Yf||!br((function(t){Df.all(t).catch((function(){}))})),Qf=function(t){var e;return!(!y(t)||"function"!=typeof(e=t.then))&&e},Zf=function(t,e,r){if(!e.notified){e.notified=!0;var n=e.reactions;If((function(){for(var o=e.value,i=1==e.state,a=0;n.length>a;){var u,s,c,f=n[a++],l=i?f.ok:f.fail,h=f.resolve,p=f.reject,d=f.domain;try{l?(i||(2===e.rejection&&nl(t,e),e.rejection=1),!0===l?u=o:(d&&d.enter(),u=l(o),d&&(d.exit(),c=!0)),u===f.promise?p(qf("Promise-chain cycle")):(s=Qf(u))?s.call(u,h,p):h(u)):p(o)}catch(t){d&&!c&&d.exit(),p(t)}}e.reactions=[],e.notified=!1,r&&!e.rejection&&el(t,e)}))}},tl=function(t,e,r){var o,i;Hf?((o=zf.createEvent("Event")).promise=e,o.reason=r,o.initEvent(t,!1,!0),n.dispatchEvent(o)):o={promise:e,reason:r},(i=n["on"+t])?i(o):t===Xf&&function(t,e){var r=n.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}("Unhandled promise rejection",r)},el=function(t,e){Mf.call(n,(function(){var r,n=e.value;if(rl(e)&&(r=Uf((function(){Vf?Wf.emit("unhandledRejection",n,t):tl(Xf,t,n)})),e.rejection=Vf||rl(e)?2:1,r.error))throw r.value}))},rl=function(t){return 1!==t.rejection&&!t.parent},nl=function(t,e){Mf.call(n,(function(){Vf?Wf.emit("rejectionHandled",t):tl("rejectionhandled",t,e.value)}))},ol=function(t,e,r,n){return function(o){t(e,r,o,n)}},il=function(t,e,r,n){e.done||(e.done=!0,n&&(e=n),e.value=r,e.state=2,Zf(t,e,!0))},al=function(t,e,r,n){if(!e.done){e.done=!0,n&&(e=n);try{if(t===r)throw qf("Promise can't be resolved itself");var o=Qf(r);o?If((function(){var n={done:!1};try{o.call(r,ol(al,t,n,e),ol(il,t,n,e))}catch(r){il(t,n,r,e)}})):(e.value=r,e.state=1,Zf(t,e,!1))}catch(r){il(t,{done:!1},r,e)}}};Yf&&(Df=function(t){Cr(this,Df,Nf),Zt(t),Of.call(this);var e=Cf(this);try{t(ol(al,this,e),ol(il,this,e))}catch(t){il(this,e,t)}},(Of=function(t){Ff(this,{type:Nf,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Dr(Df.prototype,{then:function(t,e){var r=Bf(this),n=Gf(fn(this,Df));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=Vf?Wf.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&Zf(this,r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),Rf=function(){var t=new Of,e=Cf(t);this.promise=t,this.resolve=ol(al,t,e),this.reject=ol(il,t,e)},kf.f=Gf=function(t){return t===Df||t===jf?new Rf(t):$f(t)},"function"==typeof Vc&&(Pf=Vc.prototype.then,rt(Vc.prototype,"then",(function(t,e){var r=this;return new Df((function(t,e){Pf.call(r,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof Kf&&Lt({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return Lf(Df,Kf.apply(n,arguments))}}))),Lt({global:!0,wrap:!0,forced:Yf},{Promise:Df}),Ce(Df,Nf,!1),zr(Nf),jf=it(Nf),Lt({target:Nf,stat:!0,forced:Yf},{reject:function(t){var e=Gf(this);return e.reject.call(void 0,t),e.promise}}),Lt({target:Nf,stat:!0,forced:Yf},{resolve:function(t){return Lf(this,t)}}),Lt({target:Nf,stat:!0,forced:Jf},{all:function(t){var e=this,r=Gf(e),n=r.resolve,o=r.reject,i=Uf((function(){var r=Zt(e.resolve),i=[],a=0,u=1;Nr(t,(function(t){var s=a++,c=!1;i.push(void 0),u++,r.call(e,t).then((function(t){c||(c=!0,i[s]=t,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=Gf(e),n=r.reject,o=Uf((function(){var o=Zt(e.resolve);Nr(t,(function(t){o.call(e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}}),Lt({target:"Promise",stat:!0},{allSettled:function(t){var e=this,r=kf.f(e),n=r.resolve,o=r.reject,i=Uf((function(){var r=Zt(e.resolve),o=[],i=0,a=1;Nr(t,(function(t){var u=i++,s=!1;o.push(void 0),a++,r.call(e,t).then((function(t){s||(s=!0,o[u]={status:"fulfilled",value:t},--a||n(o))}),(function(t){s||(s=!0,o[u]={status:"rejected",reason:t},--a||n(o))}))})),--a||n(o)}));return i.error&&o(i.value),r.promise}});var ul=!!Vc&&o((function(){Vc.prototype.finally.call({then:function(){}},(function(){}))}));Lt({target:"Promise",proto:!0,real:!0,forced:ul},{finally:function(t){var e=fn(this,it("Promise")),r="function"==typeof t;return this.then(r?function(r){return Lf(e,t()).then((function(){return r}))}:t,r?function(r){return Lf(e,t()).then((function(){throw r}))}:t)}}),"function"!=typeof Vc||Vc.prototype.finally||rt(Vc.prototype,"finally",it("Promise").prototype.finally);var sl=et.set,cl=et.getterFor("AggregateError"),fl=function(t,e){var r=this;if(!(r instanceof fl))return new fl(t,e);We&&(r=We(new Error(e),ke(r)));var n=[];return Nr(t,n.push,n),i?sl(r,{errors:n,type:"AggregateError"}):r.errors=n,void 0!==e&&T(r,"message",String(e)),r};fl.prototype=Xt(Error.prototype,{constructor:f(5,fl),message:f(5,""),name:f(5,"AggregateError")}),i&&I.f(fl.prototype,"errors",{get:function(){return cl(this).errors},configurable:!0}),Lt({global:!0},{AggregateError:fl}),Lt({target:"Promise",stat:!0},{try:function(t){var e=kf.f(this),r=Uf(t);return(r.error?e.reject:e.resolve)(r.value),e.promise}});var ll="No one promise resolved";Lt({target:"Promise",stat:!0},{any:function(t){var e=this,r=kf.f(e),n=r.resolve,o=r.reject,i=Uf((function(){var r=Zt(e.resolve),i=[],a=0,u=1,s=!1;Nr(t,(function(t){var c=a++,f=!1;i.push(void 0),u++,r.call(e,t).then((function(t){f||s||(s=!0,n(t))}),(function(t){f||s||(f=!0,i[c]=t,--u||o(new(it("AggregateError"))(i,ll)))}))})),--u||o(new(it("AggregateError"))(i,ll))}));return i.error&&o(i.value),r.promise}}),re("Promise","finally");var hl="URLSearchParams"in self,pl="Symbol"in self&&"iterator"in Symbol,dl="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(t){return!1}}(),vl="FormData"in self,gl="ArrayBuffer"in self;if(gl)var yl=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],ml=ArrayBuffer.isView||function(t){return t&&yl.indexOf(Object.prototype.toString.call(t))>-1};function bl(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function wl(t){return"string"!=typeof t&&(t=String(t)),t}function Sl(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return pl&&(e[Symbol.iterator]=function(){return e}),e}function El(t){this.map={},t instanceof El?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function xl(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function Al(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function Ol(t){var e=new FileReader,r=Al(e);return e.readAsArrayBuffer(t),r}function Rl(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function jl(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:dl&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:vl&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:hl&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():gl&&dl&&(e=t)&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=Rl(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):gl&&(ArrayBuffer.prototype.isPrototypeOf(t)||ml(t))?this._bodyArrayBuffer=Rl(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):hl&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},dl&&(this.blob=function(){var t=xl(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?xl(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(Ol)}),this.text=function(){var t=xl(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,r=Al(e);return e.readAsText(t),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},vl&&(this.formData=function(){return this.text().then(Tl)}),this.json=function(){return this.text().then(JSON.parse)},this}El.prototype.append=function(t,e){t=bl(t),e=wl(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},El.prototype.delete=function(t){delete this.map[bl(t)]},El.prototype.get=function(t){return t=bl(t),this.has(t)?this.map[t]:null},El.prototype.has=function(t){return this.map.hasOwnProperty(bl(t))},El.prototype.set=function(t,e){this.map[bl(t)]=wl(e)},El.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},El.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),Sl(t)},El.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),Sl(t)},El.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),Sl(t)},pl&&(El.prototype[Symbol.iterator]=El.prototype.entries);var Pl=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Il(t,e){var r,n,o=(e=e||{}).body;if(t instanceof Il){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new El(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new El(e.headers)),this.method=(n=(r=e.method||this.method||"GET").toUpperCase(),Pl.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function Tl(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}})),e}function kl(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new El(e.headers),this.url=e.url||"",this._initBody(t)}Il.prototype.clone=function(){return new Il(this,{body:this._bodyInit})},jl.call(Il.prototype),jl.call(kl.prototype),kl.prototype.clone=function(){return new kl(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new El(this.headers),url:this.url})},kl.error=function(){var t=new kl(null,{status:0,statusText:""});return t.type="error",t};var Ll=[301,302,303,307,308];kl.redirect=function(t,e){if(-1===Ll.indexOf(e))throw new RangeError("Invalid status code");return new kl(null,{status:e,headers:{location:t}})};var Ul=self.DOMException;try{new Ul}catch(t){(Ul=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),Ul.prototype.constructor=Ul}function Ml(t,e){return new Promise((function(r,n){var o=new Il(t,e);if(o.signal&&o.signal.aborted)return n(new Ul("Aborted","AbortError"));var i=new XMLHttpRequest;function a(){i.abort()}i.onload=function(){var t,e,n={status:i.status,statusText:i.statusText,headers:(t=i.getAllResponseHeaders()||"",e=new El,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}})),e)};n.url="responseURL"in i?i.responseURL:n.headers.get("X-Request-URL"),r(new kl("response"in i?i.response:i.responseText,n))},i.onerror=function(){n(new TypeError("Network request failed"))},i.ontimeout=function(){n(new TypeError("Network request failed"))},i.onabort=function(){n(new Ul("Aborted","AbortError"))},i.open(o.method,o.url,!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&dl&&(i.responseType="blob"),o.headers.forEach((function(t,e){i.setRequestHeader(e,t)})),o.signal&&(o.signal.addEventListener("abort",a),i.onreadystatechange=function(){4===i.readyState&&o.signal.removeEventListener("abort",a)}),i.send(void 0===o._bodyInit?null:o._bodyInit)}))}Ml.polyfill=!0,self.fetch||(self.fetch=Ml,self.Headers=El,self.Request=Il,self.Response=kl);var _l=Object.getOwnPropertySymbols,Nl=Object.prototype.hasOwnProperty,Cl=Object.prototype.propertyIsEnumerable;var Fl=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(t){n[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var r,n,o=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),i=1;i<arguments.length;i++){for(var a in r=Object(arguments[i]))Nl.call(r,a)&&(o[a]=r[a]);if(_l){n=_l(r);for(var u=0;u<n.length;u++)Cl.call(r,n[u])&&(o[n[u]]=r[n[u]])}}return o};Object.assign=Fl}();
|
js/rocket-loader.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
!function(){"use strict";function t(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n;(n=console.warn||console.log).call.apply(n,[console,"[ROCKET LOADER] "].concat(t))}function e(t,e){var n=e.parentNode;n&&l(t,n,e)}function n(t){var e=t.parentNode;e&&e.removeChild(t)}function r(t){var e=t.namespaceURI===h?"xlink:href":"src";return t.getAttribute(e)}function o(t,e){var n=t.type.substr(e.length);return!(n&&!v[n.trim()]||y&&t.hasAttribute("nomodule")||!y&&"module"===n)}function i(t){return o(t,"")}function a(t,e){return function(n){if(e(),t)return t.call(this,n)}}function c(t,e){t.onload=a(t.onload,e),t.onerror=a(t.onerror,e)}function s(t){var e=document.createElementNS(t.namespaceURI,"script");e.async=t.hasAttribute("async"),e.textContent=t.textContent;for(var n=0;n<t.attributes.length;n++){var r=t.attributes[n];try{r.namespaceURI?e.setAttributeNS(r.namespaceURI,r.name,r.value):e.setAttribute(r.name,r.value)}catch(t){}}return e}function u(t,e){var n=new m(e);t.dispatchEvent(n)}function p(t){var e=t.namespaceURI===h,r="cf-marker-"+Math.random().toString().slice(2);t.setAttribute(r,"");var o=e?"<svg>"+t.outerHTML+"</svg>":t.outerHTML;b.call(document,o);var i=document.querySelector("["+r+"]");if(i){i.removeAttribute(r);var a=e&&i.parentNode;a&&n(a)}return i}function l(t,e,n){var r=n?function(t){return e.insertBefore(t,n)}:function(t){return e.appendChild(t)};Array.prototype.slice.call(t).forEach(r)}function d(t,e){function n(){this.constructor=t}S(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function f(t){var e=new x(t),n=new A(e);e.harvestScriptsInDocument();var r=new I(e,{nonce:t,blocking:!1,docWriteSimulator:n,callback:function(){window.__cfRLUnblockHandlers=!0,r.removePreloadHints(),function(t){var e=new P(t);k.simulateStateBeforeDeferScriptsActivation(),e.harvestDeferScriptsInDocument(),new I(e,{nonce:t,blocking:!1,callback:function(){k.simulateStateAfterDeferScriptsActivation(),D&&D()}}).run()}(t)}});r.insertPreloadHints(),k.runOnLoad((function(){r.run()}))}var h="http://www.w3.org/2000/svg",v={"application/ecmascript":!0,"application/javascript":!0,"application/x-ecmascript":!0,"application/x-javascript":!0,"text/ecmascript":!0,"text/javascript":!0,"text/javascript1.0":!0,"text/javascript1.1":!0,"text/javascript1.2":!0,"text/javascript1.3":!0,"text/javascript1.4":!0,"text/javascript1.5":!0,"text/jscript":!0,"text/livescript":!0,"text/x-ecmascript":!0,"text/x-javascript":!0,module:!0},y=void 0!==document.createElement("script").noModule,m=function(){var t=window;return t.__rocketLoaderEventCtor||Object.defineProperty(t,"__rocketLoaderEventCtor",{value:Event}),t.__rocketLoaderEventCtor}(),b=document.write,g=document.writeln,S=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},w=function(){function t(t){this.nonce=t,this.items=[]}return Object.defineProperty(t.prototype,"hasItems",{get:function(){return this.items.length>0},enumerable:!0,configurable:!0}),t.prototype.pop=function(){return this.items.pop()},t.prototype.forEach=function(t){this.items.forEach((function(e){var n=e.script;return t(n)}))},t.prototype.harvestScripts=function(t,e){var n=this,r=e.filter,o=e.mutate;Array.prototype.slice.call(t.querySelectorAll("script")).filter(r).reverse().forEach((function(t){o(t),n.pushScriptOnStack(t)}))},t.prototype.pushScriptOnStack=function(t){var e=t.parentNode,n=this.createPlaceholder(t),o=!!r(t);e.replaceChild(n,t),this.items.push({script:t,placeholder:n,external:o,async:o&&t.hasAttribute("async"),executable:i(t)})},t.prototype.hasNonce=function(t){return 0===(t.getAttribute("type")||"").indexOf(this.nonce)},t.prototype.removeNonce=function(t){t.type=t.type.substr(this.nonce.length)},t.prototype.makeNonExecutable=function(t){t.type=this.nonce+t.type},t.prototype.isPendingDeferScript=function(t){return t.hasAttribute("defer")||t.type===this.nonce+"module"&&!t.hasAttribute("async")},t}(),x=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.harvestScriptsInDocument=function(){var t=this;this.harvestScripts(document,{filter:function(e){return t.hasNonce(e)},mutate:function(e){t.isPendingDeferScript(e)||t.removeNonce(e)}})},e.prototype.harvestScriptsAfterDocWrite=function(t){var e=this;this.harvestScripts(t,{filter:i,mutate:function(t){e.isPendingDeferScript(t)&&e.makeNonExecutable(t)}})},e.prototype.createPlaceholder=function(t){return document.createComment(t.outerHTML)},e}(w),P=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.harvestDeferScriptsInDocument=function(){var t=this;this.harvestScripts(document,{filter:function(e){return t.hasNonce(e)&&t.isPendingDeferScript(e)},mutate:function(e){return t.removeNonce(e)}})},e.prototype.createPlaceholder=function(t){var e=s(t);return this.makeNonExecutable(e),e},e}(w),A=function(){function n(t){this.scriptStack=t}return n.prototype.enable=function(t){var e=this;this.insertionPointMarker=t,this.buffer="",document.write=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.write(t,!1)},document.writeln=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.write(t,!0)}},n.prototype.flushWrittenContentAndDisable=function(){document.write=b,document.writeln=g,this.buffer.length&&(document.contains(this.insertionPointMarker)?this.insertionPointMarker.parentNode===document.head?this.insertContentInHead():this.insertContentInBody():t("Insertion point marker for document.write was detached from document:","Markup will not be inserted"))},n.prototype.insertContentInHead=function(){var t=new DOMParser,n="<!DOCTYPE html><head>"+this.buffer+"</head>",r=t.parseFromString(n,"text/html");if(this.scriptStack.harvestScriptsAfterDocWrite(r),e(r.head.childNodes,this.insertionPointMarker),r.body.childNodes.length){for(var o=Array.prototype.slice.call(r.body.childNodes),i=this.insertionPointMarker.nextSibling;i;)o.push(i),i=i.nextSibling;document.body||b.call(document,"<body>"),function(t,e){l(t,e,e.childNodes[0])}(o,document.body)}},n.prototype.insertContentInBody=function(){var t=this.insertionPointMarker.parentElement,n=document.createElement(t.tagName);n.innerHTML=this.buffer,this.scriptStack.harvestScriptsAfterDocWrite(n),e(n.childNodes,this.insertionPointMarker)},n.prototype.write=function(t,e){var n,o=document.currentScript;o&&r(o)&&o.hasAttribute("async")?(n=e?g:b).call.apply(n,[document].concat(t)):this.buffer+=t.map(String).join(e?"\n":"")},n}(),E=function(){function t(){var t=this;this.simulatedReadyState="loading",this.bypassEventsInProxies=!1,this.nativeWindowAddEventListener=window.addEventListener;try{Object.defineProperty(document,"readyState",{get:function(){return t.simulatedReadyState}})}catch(t){}this.setupEventListenerProxy(),this.updateInlineHandlers()}return t.prototype.runOnLoad=function(t){var e=this;this.nativeWindowAddEventListener.call(window,"load",(function(n){if(!e.bypassEventsInProxies)return t(n)}))},t.prototype.updateInlineHandlers=function(){this.proxyInlineHandler(document,"onreadystatechange"),this.proxyInlineHandler(window,"onload"),document.body&&this.proxyInlineHandler(document.body,"onload")},t.prototype.simulateStateBeforeDeferScriptsActivation=function(){this.bypassEventsInProxies=!0,this.simulatedReadyState="interactive",u(document,"readystatechange"),this.bypassEventsInProxies=!1},t.prototype.simulateStateAfterDeferScriptsActivation=function(){var t=this;this.bypassEventsInProxies=!0,u(document,"DOMContentLoaded"),this.simulatedReadyState="complete",u(document,"readystatechange"),u(window,"load"),this.bypassEventsInProxies=!1,window.setTimeout((function(){return t.bypassEventsInProxies=!0}),0)},t.prototype.setupEventListenerProxy=function(){var t=this;("undefined"!=typeof EventTarget?[EventTarget.prototype]:[Node.prototype,Window.prototype]).forEach((function(e){return t.patchEventTargetMethods(e)}))},t.prototype.patchEventTargetMethods=function(t){var e=this,n=t.addEventListener,r=t.removeEventListener;t.addEventListener=function(t,r){for(var o=[],i=2;i<arguments.length;i++)o[i-2]=arguments[i];var a=function(t){return t instanceof Window?["load"]:t instanceof Document?["DOMContentLoaded","readystatechange"]:[]}(this),c=r&&r.__rocketLoaderProxiedHandler;if(!c){var s=function(t){if(t&&"handleEvent"in t){var e=t.handleEvent;return"function"==typeof e?e.bind(t):e}return t}(r);"function"==typeof s?(c=function(n){if(e.bypassEventsInProxies||a.indexOf(t)<0)return s.call(this,n)},Object.defineProperty(r,"__rocketLoaderProxiedHandler",{value:c})):c=r}n.call.apply(n,[this,t,c].concat(o))},t.removeEventListener=function(t,e){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var i=e&&e.__rocketLoaderProxiedHandler||e;r.call.apply(r,[this,t,i].concat(n))}},t.prototype.proxyInlineHandler=function(t,e){try{var n=t[e];if(n&&!n.__rocketLoaderInlineHandlerProxy){var r=this;t[e]=function(t){if(r.bypassEventsInProxies)return n.call(this,t)},Object.defineProperty(t[e],"__rocketLoaderInlineHandlerProxy",{value:!0})}}catch(t){return void console.warn("encountered an error when accessing "+e+" handler:",t.message)}},t}(),k=function(){var t=window;return t.__rocketLoaderLoadProgressSimulator||Object.defineProperty(t,"__rocketLoaderLoadProgressSimulator",{value:new E}),t.__rocketLoaderLoadProgressSimulator}(),I=function(){function e(t,e){this.scriptStack=t,this.settings=e,this.preloadHints=[]}return e.prototype.insertPreloadHints=function(){var t=this;this.scriptStack.forEach((function(e){if(o(e,t.settings.nonce)){var n=r(e),i=/chrome/i.test(navigator.userAgent)&&/google/i.test(navigator.vendor)&&e.hasAttribute("integrity");if(n&&!i){var a=document.createElement("link");a.setAttribute("rel","preload"),a.setAttribute("as","script"),a.setAttribute("href",n),e.crossOrigin&&a.setAttribute("crossorigin",e.crossOrigin),document.head.appendChild(a),t.preloadHints.push(a)}}}))},e.prototype.removePreloadHints=function(){this.preloadHints.forEach((function(t){return n(t)}))},e.prototype.run=function(){for(var t=this,e=this;this.scriptStack.hasItems;){var n=function(){var n=e.settings.docWriteSimulator,r=e.scriptStack.pop();n&&!r.async&&n.enable(r.placeholder);var o=e.activateScript(r);return o?r.external&&r.executable&&!r.async?(c(o,(function(){t.finalizeActivation(r),t.run()})),{value:void 0}):void e.finalizeActivation(r):(n&&n.flushWrittenContentAndDisable(),"continue")}();if("object"==typeof n)return n.value}this.scriptStack.hasItems||this.settings.callback()},e.prototype.finalizeActivation=function(t){this.settings.docWriteSimulator&&!t.async&&this.settings.docWriteSimulator.flushWrittenContentAndDisable(),k.updateInlineHandlers(),n(t.placeholder)},e.prototype.activateScript=function(e){var n=e.script,r=e.placeholder,o=e.external,i=e.async,a=r.parentNode;if(!document.contains(r))return t("Placeholder for script \n"+n.outerHTML+"\n was detached from document.","Script will not be executed."),null;var c=this.settings.blocking&&o&&!i?p(n):s(n);return c?(a.insertBefore(c,r),c):(t("Failed to create activatable copy of script \n"+n.outerHTML+"\n","Script will not be executed."),null)},e}(),L="data-cf-settings",_="|",H="data-cf-modified-",D=void 0;!function(){var e=document.currentScript;if(e){var r=function(t){var e=t.getAttribute(L);if(!e)return null;var n=e.split(_);return{nonce:n[0],handlerPrefixLength:+n[1],bailout:!t.hasAttribute("defer")}}(e);r?(n(e),function(t){var e=H+t.nonce;Array.prototype.forEach.call(document.querySelectorAll("["+e+"]"),(function(n){n.removeAttribute(e),Array.prototype.forEach.call(n.attributes,(function(e){/^on/.test(e.name)&&"function"!=typeof n[e.name]&&n.setAttribute(e.name,e.value.substring(t.handlerPrefixLength))}))}))}(r),k.updateInlineHandlers(),r.bailout?function(t){var e=new x(t),n=new A(e);e.harvestScriptsInDocument(),new I(e,{nonce:t,blocking:!0,docWriteSimulator:n,callback:function(){}}).run()}(r.nonce):(function(){var t=window;"undefined"!=typeof Promise&&(t.__cfQR={done:new Promise((function(t){return D=t}))})}(),f(r.nonce))):t("Activator script doesn't have settings. No scripts will be executed.")}else t("Can't obtain activator script. No scripts will be executed.")}()}();
|
js/webpack-a2653feb91c432cc.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
!function(){"use strict";var n,t,e,r,o,i,u,c,f={},a={};function s(n){var t=a[n];if(void 0!==t)return t.exports;var e=a[n]={id:n,loaded:!1,exports:{}},r=!0;try{f[n].call(e.exports,e,e.exports,s),r=!1}finally{r&&delete a[n]}return e.loaded=!0,e.exports}s.m=f,n="function"==typeof Symbol?Symbol("webpack queues"):"__webpack_queues__",t="function"==typeof Symbol?Symbol("webpack exports"):"__webpack_exports__",e="function"==typeof Symbol?Symbol("webpack error"):"__webpack_error__",r=function(n){n&&!n.d&&(n.d=1,n.forEach((function(n){n.r--})),n.forEach((function(n){n.r--?n.r++:n()})))},s.a=function(o,i,u){u&&((c=[]).d=1);var c,f,a,s,l=new Set,p=o.exports,b=new Promise((function(n,t){s=t,a=n}));b[t]=p,b[n]=function(n){c&&n(c),l.forEach(n),b.catch((function(){}))},o.exports=b,i((function(o){f=o.map((function(o){if(null!==o&&"object"==typeof o){if(o[n])return o;if(o.then){var i=[];i.d=0,o.then((function(n){u[t]=n,r(i)}),(function(n){u[e]=n,r(i)}));var u={};return u[n]=function(n){n(i)},u}}var c={};return c[n]=function(){},c[t]=o,c}));var i,u=function(){return f.map((function(n){if(n[e])throw n[e];return n[t]}))},a=new Promise((function(t){(i=function(){t(u)}).r=0;var e=function(n){n===c||l.has(n)||(l.add(n),n&&!n.d&&(i.r++,n.push(i)))};f.map((function(t){t[n](e)}))}));return i.r?a:u()}),(function(n){n?s(b[e]=n):a(p),r(c)})),c&&(c.d=0)},o=[],s.O=function(n,t,e,r){if(!t){var i=1/0;for(a=0;a<o.length;a++){t=o[a][0],e=o[a][1],r=o[a][2];for(var u=!0,c=0;c<t.length;c++)i>=r&&Object.keys(s.O).every((function(n){return s.O[n](t[c])}))?t.splice(c--,1):(u=!1,r<i&&(i=r));if(u){o.splice(a--,1);var f=e();void 0!==f&&(n=f)}}return n}r=r||0;for(var a=o.length;a>0&&o[a-1][2]>r;a--)o[a]=o[a-1];o[a]=[t,e,r]},s.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return s.d(t,{a:t}),t},s.d=function(n,t){for(var e in t)s.o(t,e)&&!s.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(n){if("object"==typeof window)return window}}(),s.hmd=function(n){return(n=Object.create(n)).children||(n.children=[]),Object.defineProperty(n,"exports",{enumerable:!0,set:function(){throw Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+n.id)}}),n},s.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},s.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},s.v=function(n,t,e,r){var o=fetch(s.p+"static/wasm/"+e+".wasm");return"function"==typeof WebAssembly.instantiateStreaming?WebAssembly.instantiateStreaming(o,r).then((function(t){return Object.assign(n,t.instance.exports)})):o.then((function(n){return n.arrayBuffer()})).then((function(n){return WebAssembly.instantiate(n,r)})).then((function(t){return Object.assign(n,t.instance.exports)}))},s.p="/_next/",i={272:0},s.O.j=function(n){return 0===i[n]},u=function(n,t){var e,r,o=t[0],u=t[1],c=t[2],f=0;if(o.some((function(n){return 0!==i[n]}))){for(e in u)s.o(u,e)&&(s.m[e]=u[e]);if(c)var a=c(s)}for(n&&n(t);f<o.length;f++)r=o[f],s.o(i,r)&&i[r]&&i[r][0](),i[r]=0;return s.O(a)},(c=self.webpackChunk_N_E=self.webpackChunk_N_E||[]).forEach(u.bind(null,0)),c.push=u.bind(null,c.push.bind(c))}();
|