1(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`:where(.bpReset) *,:where(.bpReset) :after,:where(.bpReset) :before,:where(.bpReset) ::backdrop,:where(.bpReset) ::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}:where(.bpReset) html,:where(.bpReset) :host{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:var( --default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" );font-feature-settings:var(--default-font-feature-settings, normal);font-variation-settings:var(--default-font-variation-settings, normal);-webkit-tap-highlight-color:transparent}:where(.bpReset) body{line-height:inherit}:where(.bpReset) hr{height:0;color:inherit;border-top-width:1px}:where(.bpReset) abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}:where(.bpReset) h1,:where(.bpReset) h2,:where(.bpReset) h3,:where(.bpReset) h4,:where(.bpReset) h5,:where(.bpReset) h6{font-size:inherit;font-weight:inherit}:where(.bpReset) a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}:where(.bpReset) b,:where(.bpReset) strong{font-weight:bolder}:where(.bpReset) code,:where(.bpReset) kbd,:where(.bpReset) samp,:where(.bpReset) pre{font-family:var( --default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace );font-feature-settings:var(--default-mono-font-feature-settings, normal);font-variation-settings:var(--default-mono-font-variation-settings, normal);font-size:1em}:where(.bpReset) small{font-size:80%}:where(.bpReset) sub,:where(.bpReset) sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}:where(.bpReset) sub{bottom:-.25em}:where(.bpReset) sup{top:-.5em}:where(.bpReset) table{text-indent:0;border-color:inherit;border-collapse:collapse}:where(.bpReset) button,:where(.bpReset) input,:where(.bpReset) optgroup,:where(.bpReset) select,:where(.bpReset) textarea,:where(.bpReset) ::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;background:transparent}:where(.bpReset) input:where(:not([type=button],[type=reset],[type=submit])),:where(.bpReset) select,:where(.bpReset) textarea{border:0px solid}:where(.bpReset) button,:where(.bpReset) input:where([type=button],[type=reset],[type=submit]),:where(.bpReset) ::file-selector-button{appearance:button}:where(.bpReset) :-moz-focusring{outline:auto}:where(.bpReset) :-moz-ui-invalid{box-shadow:none}:where(.bpReset) progress{vertical-align:baseline}:where(.bpReset) ::-webkit-inner-spin-button,:where(.bpReset) ::-webkit-outer-spin-button{height:auto}:where(.bpReset) ::-webkit-search-decoration{-webkit-appearance:none}:where(.bpReset) summary{display:list-item}:where(.bpReset) ol,:where(.bpReset) ul,:where(.bpReset) menu{list-style:none}:where(.bpReset) textarea{resize:vertical}:where(.bpReset) ::placeholder{opacity:1;color:color-mix(in srgb,currentColor 50%,transparent)}:where(.bpReset) img,:where(.bpReset) svg,:where(.bpReset) video,:where(.bpReset) canvas,:where(.bpReset) audio,:where(.bpReset) iframe,:where(.bpReset) embed,:where(.bpReset) object{display:block;vertical-align:middle}:where(.bpReset) img,:where(.bpReset) video{max-width:100%;height:auto}:where(.bpReset) [hidden]{display:none!important}:where(.bpReset) :focus:not(:focus-visible){outline:0;box-shadow:none}:where(.bpReset) *::-webkit-scrollbar{width:6px;height:6px}:where(.bpReset) *::-webkit-scrollbar-track{background-color:transparent}:where(.bpReset) *::-webkit-scrollbar-thumb{background-color:var(--scrollbar);border-radius:6px}:where(.bpReset) *::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-hover)}@supports not selector(::-webkit-scrollbar){:where(.bpReset) *{scrollbar-width:thin;scrollbar-color:var(--scrollbar) transparent}}html{font-size:16px}:root{--transparent-light: #fcfcfdd9;--transparent-light-hover: #b9bbc620;
1--transparent-dark: #101010d9;--transparent-dark-hover: #80828d14;--bpPrimary-1: #fdfdfd;--bpPrimary-50: #f5f8fe;--bpPrimary-100: #ebf1fd;--bpPrimary-200: #ccddfa;--bpPrimary-300: #adc8f7;--bpPrimary-400: #709ff0;--bpPrimary-500: #3276ea;--bpPrimary-600: #2d6ad3;--bpPrimary-700: #1e478c;--bpPrimary-800: #173569;--bpPrimary-900: #0f2346;--bpPrimary-950: #0a182f;--bpGray-1: #fdfdfd;--bpGray-50: #f8f8f9;--bpGray-100: #f0f0f3;--bpGray-200: #dadbe0;--bpGray-300: #c3c5cd;--bpGray-400: #9699a8;--bpGray-500: #696d83;--bpGray-600: #5f6276;--bpGray-700: #3f414f;--bpGray-800: #2f313b;--bpGray-900: #202127;--bpGray-950: #15161a;--bpError: #f05656;--bpRadius-scale: 1;--bpRadius-sm: .125rem;--bpRadius-md: .375rem;--bpRadius-lg: .5rem;--bpRadius-xl: .75rem;--bpRadius-2xl: 1rem;--bpRadius-3xl: 1.5rem;--bpRadius-full: 9999px;--bpSpacing-0: 0px;--bpSpacing-px: 1px;--bpSpacing-0_5: .125rem;--bpSpacing-1: .25rem;--bpSpacing-1_5: .375rem;--bpSpacing-2: .5rem;--bpSpacing-2_5: .625rem;--bpSpacing-3: .75rem;--bpSpacing-3_5: .875rem;--bpSpacing-4: 1rem;--bpSpacing-4_5: 1.125rem;--bpSpacing-5: 1.25rem;--bpSpacing-6: 1.5rem;--bpSpacing-7: 1.75rem;--bpSpacing-8: 2rem;--bpSpacing-9: 2.25rem;--bpSpacing-10: 2.5rem;--bpSpacing-11: 2.75rem;--bpSpacing-12: 3rem;--bpSpacing-14: 3.5rem;--bpSpacing-16: 4rem;--bpSpacing-20: 5rem;--bpSpacing-24: 6rem;--bpSpacing-28: 7rem;--bpSpacing-32: 8rem;--bpSpacing-36: 9rem;--bpSpacing-40: 10rem;--bpSpacing-44: 11rem;--bpSpacing-48: 12rem;--bpSpacing-52: 13rem;--bpSpacing-56: 14rem;--bpSpacing-60: 15rem;--bpSpacing-64: 16rem;--bpSpacing-72: 18rem;--bpSpacing-80: 20rem;--bpSpacing-96: 24rem;--header-bg: var(--transparent-light);--header-bg-hover: var(--transparent-light-hover);--header-hover-dark: var(--bpGray-200);--header-title: var(--bpGray-900);--header-description: var(--bpGray-800);--header-description-icon: var(--bpPrimary-800);--header-description-link: var(--bpPrimary-900);--header-avatar-bg: var(--bpPrimary-600);--header-avatar-text: var(--bpPrimary-50);--message-bg: var(--bpPrimary-100);--message-bg-hover: var(--bpPrimary-200);--message-text: var(--bpPrimary-900);--send-button-bg: var(--bpPrimary-600);--send-button-bg-hover: var(--bpPrimary-700);--send-button-text: var(--bpPrimary-50);--button-bg: var(--bpPrimary-500);--button-bg-hover: var(--bpPrimary-600);--button-text: var(--bpPrimary-50);--fab-bg: var(--bpPrimary-100);--fab-bg-hover: var(--bpPrimary-200);--fab-icon: var(--bpPrimary-700);--scrollbar: var(--bpGray-200);--scrollbar-hover: var(--bpGray-400);--modal-submit-bg: var(--bpPrimary-200);--modal-submit-bg-hover: var(--bpPrimary-300);--error-header-bg: #3d63dd;--error-header-text: white;--error-content-icon: var(--bpGray-400);--error-content-title: var(--bpGray-700);--error-content-message: var(--bpGray-600)}.bpContainer :focus-visible,.bpMessageBlocksDropdownContentContainer :focus-visible{outline:2px solid var(--bpPrimary-700)}.bpMessageBlocksDropdownContentContainer:focus-visible{outline:none}.bpMessageBlocksDropdownContentContainer{font-family:var(--inter-font)}.bpHidden{display:none}.bpHeightFull{height:100%}.bpFont{font-family:var(--inter-font)}.bpNotificationContainer{display:grid;padding:var(--bpSpacing-4);background-color:var(--bpGray-1);border:1px solid var(--bpGray-200);gap:var(--bpSpacing-2);grid-template-columns:auto 1fr auto;align-items:center;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));box-shadow:0 4px 6px #0000001a}.bpNotificationTitle{color:var(--bpGray-900);font-size:.875rem;line-height:1.25rem;font-weight:500;grid-column-start:2}.bpNotificationDescription{margin-top:var(--bpSpacing-1);color:var(--bpGray-800);font-size:.875rem;line-height:1.25rem;grid-column-start:2}.bpNotificationIcon{height:var(--bpSpacing-5);aspect-ratio:1/1}.bpNotificationIcon[data-type=success]{color:var(--green-500)}.bpNotificationIcon[data-type=error]{color:var(--red-500)}.bpNotificationCloseIcon{height:var(--bpSpacing-5);aspect-ratio:1/1;cursor:pointer}.bpNotificationCloseIcon:hover{color:var(--bpGray-700)}.bpComposerFileAttachement{background-color:var(--bpGray-1);position:relative;width:fit-content;display:flex;border:1px solid var(--bpGray-200);padding:.5rem;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));gap:8px;transition:border-color .15s ease-out;animation:fadeInScaleUp .2s ease-out}.bpComposerFileAttachement:hover{border-color:var(--bpGray-300)}.bpComposerFileAttachement:hover .bpComposerFileRemoveIcon{opacity:1}.bpComposerFileIconWrapper{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--bpPrimary-200);background:var(--bpPrimary-100);width:2.5rem;height:2.5rem;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));position:relative}.bpComposerFileIcon{color:var(--bpPrimary-600);width:1.5rem;height:1.5rem;transition:opacity .3s ease,filter .3s ease}.bpComposerFileMetadata{display:flex;flex-direction:column;gap:2px}.bpComposerFileName{min-width:6rem;max-width:6rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:normal;font-size:.875rem;line-height:1.25rem;color:var(--bpGray-900)}.bpComposerFileExtension{font-size:.75rem;line-height:1rem;font-weight:300;color:var(--bpGray-600)}.bpComposerFilePreviewImage{width:100%;height:100%;object-fit:contain;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md))}.bpComposerFileRemoveIcon{position:absolute;top:-.25rem;right:-.25rem;border-radius:50%;width:1.25rem;height:1.25rem;cursor:pointer;stroke-width:1.5;color:var(--bpGray-600);background:var(--bpGray-100);line-height:1;opacity:0;transition:opacity .2s ease}.bpComposerFileLoader{position:absolute;top:-.25rem;right:-.25rem;width:1rem;height:1rem;border:2px solid var(--bpGray-200);border-top:2px solid var(--bpPrimary-500);border-radius:50%;animation:spin .6s linear infinite;visibility:visible;opacity:1;transition:opacity .2s ease}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.bpComposerFileErrorIcon{position:absolute;top:-.4rem;right:-.4rem;width:1.25rem;height:1.25rem;border-radius:50%;background:var(--bpGray-1);color:var(--bpError)}.bpComposerFileAttachement[data-status=loading] .bpComposerFileIcon,.bpComposerFileAttachement[data-status=loading] .bpComposerFileMetadata,.bpComposerFileAttachement[data-status=error] .bpComposerFileIcon,.bpComposerFileAttachement[data-status=error] .bpComposerFileName{opacity:.5;filter:grayscale(100%)}.bpComposerFileAttachement[data-status=error] .bpComposerFileExtension{color:var(--bpError)}
1.bpComposerUploadButton{cursor:pointer;border-radius:var(--bpRadius-full);padding:var(--bpSpacing-2);height:var(--bpSpacing-8);width:var(--bpSpacing-8);color:var(--bpGray-600);transition:background .15s ease-out}.bpComposerUploadButton[data-disabled=true]{opacity:.5;filter:grayscale(100%);pointer-events:none}.bpComposerContainer[data-disabled=false] .bpComposerUploadButton:hover{color:var(--bpGray-700);background:var(--bpGray-100);cursor:pointer}.bpComposerVoiceButton{cursor:pointer;border-radius:var(--bpRadius-full);padding:var(--bpSpacing-2);height:var(--bpSpacing-8);width:var(--bpSpacing-8);color:var(--bpGray-600)}.bpComposerVoiceButton:hover{background-color:var(--bpGray-100)}.bpComposerVoiceButton[data-show=true]{animation:fadeIn .1s ease-out forwards}.bpComposerVoiceButton[data-show=false]{animation:fadeOut .1s ease-out forwards;pointer-events:none}.bpComposerVoiceButton[data-listens=true]{animation:pulsate-background 1.5s ease-in-out infinite}.bpComposerInput{margin:auto var(--bpSpacing-8) auto var(--bpSpacing-2);flex-grow:1;outline-style:none;font-size:.875rem;line-height:1.25rem;resize:none;color:var(--bpGray-900);height:1.5em}.bpComposerInput:focus{outline:none!important}.bpComposerInput::-webkit-scrollbar{width:4px}.bpComposerInput::placeholder{color:var(--bpGray-500);font-size:.875rem}@media (max-device-width: 1024px){.bpComposerInput{font-size:16px}}.bpComposerContainer{position:relative;display:flex;flex-direction:column;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));border-width:var(--bpSpacing-px);background:var(--bpGray-50);border-color:var(--bpGray-200);outline-color:transparent;transition-property:color,background-color,outline-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;margin:0 var(--bpSpacing-4);box-sizing:border-box;z-index:1}.bpComposerContainer:hover{border-color:var(--bpGray-300)}.bpComposerContainer:focus-within{outline:2px solid var(--bpPrimary-600);outline-offset:-1px}.bpComposerContainer[data-disabled=true]{background-color:var(--bpGray-100);border-color:var(--bpGray-200);color:var(--bpGray-500)}.bpComposerContainer[data-disabled=true] *{cursor:not-allowed}.bpComposerInputContainer{min-height:var(--bpSpacing-12);display:flex;align-items:end;padding:var(--bpSpacing-2)}.bpComposerInputContainer:has(.bpComposerUploadButton) .bpComposerInput{margin:auto var(--bpSpacing-8) auto var(--bpSpacing-1)}.bpComposerFileContainer{display:flex;overflow-x:scroll;gap:.5rem;padding:var(--bpSpacing-2) var(--bpSpacing-2) 0 var(--bpSpacing-2);scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--bpGray-200) transparent}.bpComposerSendButton{position:absolute;right:var(--bpSpacing-2);cursor:pointer;border-radius:var(--bpRadius-full);padding:var(--bpSpacing-2);background-color:var(--send-button-bg);color:var(--send-button-text);height:var(--bpSpacing-8);width:var(--bpSpacing-8);stroke-width:2px;opacity:0}.bpComposerSendButton[data-show=true]{opacity:1;transition:opacity .15s ease-out,transform .15s ease-out;transform:translateY(0)}.bpComposerSendButton[data-show=false]{opacity:0;transition:opacity .15s ease-out,transform .15s ease-out;transform:translateY(20%);pointer-events:none}.bpComposerContainer[data-disabled=false] .bpComposerSendButton:hover{background-color:var(--send-button-bg-hover)}.bpComposerContainer:has(+.bpComposerFooter:empty){margin-bottom:var(--bpSpacing-3)}.bpComposerFooter{align-self:center;text-align:center;margin:var(--bpSpacing-1) var(--bpSpacing-5);font-size:.75rem;color:var(--bpGray-400);cursor:default;overflow:visible}.bpComposerFooter>*{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.bpComposerFooter:empty{display:none}.bpComposerFooter:hover a{cursor:pointer;color:var(--bpGray-500)}.bpComposerButtonContainer{display:flex;padding:var(--bpSpacing-2);justify-content:center;align-items:center;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-full));height:var(--bpSpacing-10);cursor:pointer}.bpComposerButtonContainer:disabled{display:none}.bpComposerButtonIcon{border-radius:var(--bpRadius-full);padding:var(--bpSpacing-1);background-color:var(--send-button-bg);color:var(--send-button-text);height:var(--bpSpacing-7);width:var(--bpSpacing-7);stroke:currentColor}.bpComposerContainer[data-disabled=false] .bpComposerButtonIcon:hover{background-color:color-mix(in srgb,var(--send-button-bg-hover),black 15%)}.bpComposerUploadButtonContainer{padding:var(--bpSpacing-1);margin:var(--bpSpacing-1);margin-right:calc(var(--bpSpacing-2) * -1);border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md))}.bpComposerUploadButtonIcon{color:var(--bpGray-800);display:block;padding:var(--bpSpacing-1);background:var(--bpGray-100);border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));height:var(--bpSpacing-6);width:var(--bpSpacing-6)}.bpComposerUploadButtonIcon[data-disabled=true]{opacity:.5;filter:grayscale(100%);pointer-events:none}.bpComposerContainer[data-disabled=false] .bpComposerUploadButtonIcon:hover{color:var(--bpGray-700);background:var(--bpGray-200);
1cursor:pointer}.bpComposerVoiceButtonContainer{display:flex;padding:var(--bpSpacing-1);margin:var(--bpSpacing-1);justify-content:center;align-items:center;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-full));cursor:pointer}.bpComposerVoiceButtonIcon{border-radius:var(--bpRadius-full);padding:var(--bpSpacing-1);color:var(--bpGray-600);height:var(--bpSpacing-7);width:var(--bpSpacing-7)}.bpComposerVoiceButtonIcon:hover{background-color:var(--bpGray-200)}.bpComposerVoiceButtonIcon[data-listens=true]{animation:pulsate-background 1.5s ease-in-out infinite}.bpContainer{display:flex;justify-content:space-between;height:100%;overflow:hidden;position:relative;background:var(--bpGray-1);border-color:var(--bpGray-200);border-style:solid;border-width:1px;flex-direction:column;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));container-type:inline-size}.bpDropzoneOverlay{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;position:absolute;width:100%;height:100%;background-color:#0006;backdrop-filter:blur(4px);color:#fff;font-size:1rem;font-weight:500;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));z-index:3;pointer-events:none;opacity:0;transition:opacity .3s ease-in-out}.bpDropzoneOverlay[data-hover=true]{opacity:1}.bpFabContainer{width:100%;height:100%;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-full));cursor:pointer;background:var(--fab-bg)}.bpFabContainer:hover{background:var(--fab-bg-hover)}.bpFabIcon{height:100%;width:100%;background-position:center;background-repeat:no-repeat;background-color:var(--fab-icon);background-size:cover;-webkit-mask:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.583 14.894l-3.256 3.78c-.7.813-1.26.598-1.25-.46a10689.413 10689.413 0 0 1 .035-4.775V4.816a3.89 3.89 0 0 1 3.88-3.89h12.064a3.885 3.885 0 0 1 3.882 3.89v6.185a3.89 3.89 0 0 1-3.882 3.89H4.583z' fill='%23FFFFFF' fill-rule='evenodd'%3E%3C/path%3E%3C/svg%3E") no-repeat center;mask:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.583 14.894l-3.256 3.78c-.7.813-1.26.598-1.25-.46a10689.413 10689.413 0 0 1 .035-4.775V4.816a3.89 3.89 0 0 1 3.88-3.89h12.064a3.885 3.885 0 0 1 3.882 3.89v6.185a3.89 3.89 0 0 1-3.882 3.89H4.583z' fill='%23FFFFFF' fill-rule='evenodd'%3E%3C/path%3E%3C/svg%3E") no-repeat center}.bpFabImage{height:100%;width:100%;aspect-ratio:1 / 1;border-radius:50%;object-fit:cover}.bpFabImage:hover{opacity:.8;cursor:pointer}.bpHeaderContainer{position:absolute;display:flex;padding:var(--bpSpacing-1);flex-direction:column;width:100%;border-top-left-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));border-top-right-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));background-color:var(--header-bg);backdrop-filter:blur(45px);transition:background-color .2s ease-out;z-index:2}.bpHeaderContentContainer{display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:1fr;padding:var(--bpSpacing-1) var(--bpSpacing-3);column-gap:var(--bpSpacing-2);align-items:center;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));text-align:left;cursor:pointer;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.bpHeaderContainer[data-state=open] .bpHeaderContentAvatarImage,.bpHeaderContainer[data-state=open] .bpHeaderContentAvatarFallback{height:var(--bpSpacing-16);font-size:1.75rem;font-weight:500;margin-top:var(--bpSpacing-6);margin-bottom:var(--bpSpacing-6)}.bpHeaderContainer:not([data-disabled]) .bpHeaderContentContainer:hover{background-color:var(--header-bg-hover)}.bpHeaderContainer[data-disabled] .bpHeaderContentContainer:hover{cursor:default}.bpHeaderContentContainer[data-state=open]{justify-items:center;grid-template-columns:1fr}.bpHeaderContentContainer[data-state=open] .bpHeaderContentActionsContainer{display:none}.bpHeaderContentContainer[data-state=open] .bpHeaderContentAvatarImage{margin-top:var(--bpSpacing-6);width:var(--bpSpacing-16);height:var(--bpSpacing-16)}.bpHeaderContentContainer[data-state=closed]{justify-items:start;grid-template-columns:auto 1fr auto}.bpHeaderContentAvatarContainer{overflow:hidden;padding:var(--bpSpacing-px);border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-full));grid-row:span 2 / span 2}.bpHeaderContentAvatarImage{aspect-ratio:1/1;object-fit:cover;height:var(--bpSpacing-8);border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-full))}.bpHeaderContentAvatarFallback{aspect-ratio:1 / 1;display:flex;justify-content:center;align-items:center;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-full));height:var(--bpSpacing-8);line-height:var(--bpSpacing-12);background-color:var(--header-avatar-bg);color:var(--header-avatar-text)}.bpHeaderContentTitle{display:flex;padding-top:var(--bpSpacing-0_5);font-size:1rem;line-height:1.5rem;font-weight:500;color:var(--header-title);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:100%}.bpHeaderContentDescription{font-size:.875rem;line-height:1.25rem;font-weight:300;color:var(--header-description);width:100%}.bpHeaderContentContainer[data-state=closed] .bpHeaderContentDescription{dis
1play:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.bpHeaderContentContainer[data-state=open] .bpHeaderContentDescription,.bpHeaderContentContainer[data-state=open] .bpHeaderContentTitle{justify-content:center;text-align:center}.bpHeaderContentContainer[data-state=closed] .bpHeaderContentDescription{grid-column-start:2}.bpHeaderContentActionsContainer{display:flex;grid-column-start:3;grid-row:span 2 / span 2;grid-row-start:1!important}.bpHeaderContentActionsIcons{padding:var(--bpSpacing-2);height:34px;width:34px;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));cursor:pointer;color:var(--header-description);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.bpHeaderContentActionsIcons:hover{background-color:var(--header-hover-dark)}.bpHeaderExpandedContentContainer{display:grid;padding:var(--bpSpacing-2);gap:var(--bpSpacing-4);row-gap:var(--bpSpacing-4);justify-items:center;align-items:center;font-size:.875rem;line-height:1.25rem}.bpHeaderExpandedContentDescriptionItemsContainer{display:flex;gap:var(--bpSpacing-1);align-items:center;font-size:.75rem;line-height:1rem;color:var(--header-description);position:relative;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-sm))}.bpHeaderExpandedContentDescriptionItemsContainer:hover{color:var(--header-title);cursor:pointer}.bpHeaderExpandedContentDescriptionItemsContainer[data-terms]+.bpHeaderExpandedContentDescriptionItemsContainer[data-privacy]{margin-left:calc(var(--bpSpacing-4) + 1px)}.bpHeaderExpandedContentDescriptionItemsContainer[data-terms]+.bpHeaderExpandedContentDescriptionItemsContainer[data-privacy]:before{content:"";position:absolute;left:calc(var(--bpSpacing-4) / -2);top:auto;bottom:auto;height:10px;width:1px;background-color:var(--bpGray-500)}.bpHeaderExpandedContentDescriptionItemsIcon{padding:var(--bpSpacing-1);height:var(--bpSpacing-6);color:var(--header-description)}.bpHeaderExpandedContentDescriptionItemsContainer[data-email] .bpHeaderExpandedContentDescriptionItemsIcon,.bpHeaderExpandedContentDescriptionItemsContainer[data-phone] .bpHeaderExpandedContentDescriptionItemsIcon,.bpHeaderExpandedContentDescriptionItemsContainer[data-website] .bpHeaderExpandedContentDescriptionItemsIcon{color:var(--header-description-icon)}.bpHeaderExpandedContentDescriptionItemsText{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:default;color:var(--header-description-link)}.bpHeaderExpandedContentDescriptionItemsLink{overflow:hidden;text-overflow:ellipsis;color:var(--header-description-link);white-space:nowrap;font-size:.75rem}.bpHeaderExpandedContentDescriptionItemsLink:hover{text-decoration:underline;text-decoration-color:var(--header-description-link)}.bpHeaderExpandedContentGroup{display:flex;flex-direction:column}.bpHeaderExpandedContentGroup[data-legal]{flex-direction:row;.bpHeaderExpandedContentDescriptionItemsIcon{display:none}}.bpHeaderExpandedContentGroup[data-links]{gap:var(--bpSpacing-2);flex-direction:column}.bpMessageListMarqueeContainer{margin-top:auto;display:flex;gap:var(--bpSpacing-2);flex-direction:column;align-items:center;justify-content:center;padding:5rem 0 var(--bpSpacing-12) 0}.bpMessageListMarqueeContent{display:flex;flex-direction:column;max-width:60ch}.bpMessageListMarqueeTitle{color:var(--bpGray-800);font-size:1.125rem;line-height:1.75rem;font-weight:500;text-align:center}.bpMessageListMarqueeDescription{color:var(--bpGray-500);font-size:.875rem;line-height:1.25rem;text-align:center;margin-top:var(--bpSpacing-1)}.bpMessageListMarqueeAvatarContainer{overflow:hidden;padding:var(--bpSpacing-px);margin-bottom:var(--bpSpacing-3);border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-full))}.bpMessageListMarqueeAvatarImage{height:var(--bpSpacing-20);aspect-ratio:1/1;object-fit:cover;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-full))}.bpMessageListMarqueeAvatarFallback{display:flex;align-items:center;justify-content:center;height:var(--bpSpacing-20);width:var(--bpSpacing-20);background-color:var(--bpPrimary-600);color:var(--bpPrimary-50);font-size:1.875rem;line-height:2.25rem;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-full))}.bpMessageContainer{display:flex;width:100%;gap:var(--bpSpacing-2);font-size:.875rem;line-height:1.25rem;color:var(--bpGray-900);word-break:break-word;position:relative;animation:fadeInSlideUp .4s ease-out;transition:margin-bottom .3s ease-out}.bpMessageContainer[data-direction=incoming]{justify-content:flex-start}.bpMessageContainer[data-direction=outgoing]{justify-content:flex-end}.bpMessageContainer[data-direction=system]{justify-content:center;font-size:.75rem;line-height:1rem;margin-top:var(--bpSpacing-4);color:var(--bpGray-800)}.bpMessageContainer[data-loaded=false]{display:none}.bpMessageContainer:has(.bpMessageBlocksBubbleFeedbackIcon[data-selected=true]):not(:last-child){margin-bottom:var(--bpSpacing-3)}.bpMessageContainer:after{content:"Delivered";color:var(--bpGray-600);font-size:.75rem;position:absolute;bottom:-20px;right:0;opacity:0;overflow:hidden;animation:none;transition:opacity .3s ease-out}.bpMessageDeliveryStatus{margin-bottom:var(--bpSpacing-3)}.bpMessageDeliveryStatus:after{opacity:1}.bpMessageAvatarContainer{display:none;overflow:hidden;position:relative;flex-shrink:0;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-full));height:var(--bpSpacing-7);align-self:flex-end}.bpMessageAvatarContainer[data-loading-status=loading] .bpMessageAvatarFallback{opacity:0}
1.bpMessageContainer[data-direction=incoming] .bpMessageAvatarContainer,.bpMessageContainer[data-direction=outgoing] .bpMessageAvatarContainer{display:flex}.bpMessageAvatarImage{aspect-ratio:1/1;object-fit:cover;height:100%}.bpMessageAvatarFallback{display:flex;justify-content:center;align-items:center;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-full));background-color:var(--bpPrimary-600);color:var(--bpPrimary-50);height:100%;aspect-ratio:1/1}.bpMessageListContainer{display:flex;overflow-y:auto;overflow-x:hidden;width:100%;box-sizing:border-box;flex-grow:1;padding:var(--bpSpacing-1);margin-bottom:-25px}.bpMessageListViewport{display:flex;gap:var(--bpSpacing-2);flex-direction:column;padding:var(--bpSpacing-3);padding-bottom:var(--bpSpacing-12);scrollbar-width:none}.bpMessageListHeaderMessage{position:sticky;top:0;margin-left:auto;margin-right:auto;color:var(--bpGray-600);font-size:.9rem}.bpMessageListContainer .bpMessageListScrollDownButton{background-color:var(--bpGray-100);height:32px;width:32px;padding:6px;border-radius:50%;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;position:absolute;left:0;right:0;bottom:var(--bpSpacing-9);margin:auto;animation:fadeInSlideUp .2s ease-out}.bpMessageListScrollDownButton:after{display:block;content:"";-webkit-mask:url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-down"><path d="M12 5v14"/><path d="m19 12-7 7-7-7"/></svg>') no-repeat center;mask:url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-down"><path d="M12 5v14"/><path d="m19 12-7 7-7-7"/></svg>') no-repeat center;background-position:center;background-repeat:no-repeat;background-color:var(--bpGray-500);background-size:cover;width:20px;height:20px}.bpMessageListContainer .bpMessageListScrollDownButton:hover{background-color:var(--bpGray-200)}.bpModalOverlay{position:absolute;inset:0;z-index:30;background-color:#0000004d}.bpModalOverlay[data-state=open]{animation:fadeIn .2s ease-out}.bpModalOverlay[data-state=closed]{animation:fadeOut .1s ease-in}.bpModalContainer{color:var(--bpGray-900);border:1px solid var(--bpGray-100);background:var(--bpGray-50);position:absolute;bottom:0;z-index:30;padding:var(--bpSpacing-3);border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));width:100%;pointer-events:auto}.bpModalContainer[data-state=open]{animation:slideUp .2s ease-out}.bpModalContainer[data-state=closed]{animation:slideDown .1s ease-out}.bpModalTitle{display:flex;justify-content:center;font-size:1rem;line-height:1.5rem;color:var(--bpGray-900);margin-bottom:var(--bpSpacing-4)}.bpModalDescription{display:none}.bpModalContentContainer{display:flex;flex-direction:column;font-size:.875rem;line-height:1.25rem;color:var(--bpGray-900)}.bpModalButtonContainer{display:flex;flex-direction:column;gap:var(--bpSpacing-2)}.bpModalButtonConfirm{width:100%;padding:var(--bpSpacing-3);border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));color:var(--message-text);font-size:.875rem;line-height:1.25rem;background:var(--modal-submit-bg);transition:background .1s ease-out}.bpModalButtonConfirm:hover{background:var(--modal-submit-bg-hover)}.bpModalButtonCancel{width:100%;padding:var(--bpSpacing-3);border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));color:var(--bpGray-900);font-size:.875rem;line-height:1.25rem;background:var(--bpGray-100);transition:background .1s ease-out}.bpModalButtonCancel:hover{background:var(--bpGray-200)}.bpModalContentTextArea{margin:0 var(--bpSpacing-2) var(--bpSpacing-4) var(--bpSpacing-2);padding:var(--bpSpacing-2);border:1px solid var(--bpGray-300);border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-sm));resize:none}.bpModalContentTextArea:focus{outline:none}@container (min-width: 28rem){.bpModalContainer{max-width:600px;width:60%;bottom:50%;left:50%;transform:translate(-50%);padding:var(--bpSpacing-6)}.bpModalContainer[data-state=open]{animation:fadeIn .2s ease-out}.bpModalContainer[data-state=closed]{animation:fadeOut .1s ease-out}.bpModalTitle{justify-content:start;font-size:1rem;line-height:1.5rem;color:var(--bpGray-900);margin-top:var(--bpSpacing-2);margin-bottom:var(--bpSpacing-2)}
1.bpModalDescription{display:flex;justify-content:start;font-size:.875rem;line-height:1.25rem;color:var(--bpGray-600);margin-bottom:var(--bpSpacing-3)}.bpModalContentContainer{flex-direction:row;justify-content:center}.bpModalContentTextArea{width:100%;margin:0 0 var(--bpSpacing-4) 0}.bpModalButtonContainer{width:100%;display:flex;flex-direction:row-reverse;justify-content:end;white-space:nowrap;gap:var(--bpSpacing-2);margin-top:var(--bpSpacing-8)}.bpModalButtonConfirm,.bpModalButtonCancel{width:auto;padding:var(--bpSpacing-2) var(--bpSpacing-4)}}.bpMessageBlocksAudio{max-width:85%}.bpMessageBlocksBubble{position:relative;padding:var(--bpSpacing-2) var(--bpSpacing-4);border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));max-width:85%}.bpMessageBlocksBubble[data-direction=outgoing]{background-color:var(--message-bg);color:var(--message-text);border-bottom-right-radius:var(--bpRadius-sm)}.bpMessageBlocksBubble[data-direction=incoming]{background-color:var(--bpGray-100);color:var(--bpGray-900);border-bottom-left-radius:var(--bpRadius-sm)}.bpMessageBlocksBubbleFeedbackContainer{display:flex;justify-content:center;align-items:center;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));background-color:var(--bpGray-1);gap:var(--bpSpacing-1);height:24px;width:52px;position:absolute;left:85%;opacity:0;transition:opacity .2s ease-in-out;box-shadow:0 1px 4px #0000000d;z-index:1;transform:translate(-50%)}.bpMessageBlocksBubble[data-feedback=true] .bpMessageBlocksBubbleFeedbackContainer{opacity:1}.bpMessageContainer[data-direction=incoming]:last-child .bpMessageBlocksBubble .bpMessageBlocksBubbleFeedbackContainer{opacity:1}.bpMessageBlocksBubble:hover .bpMessageBlocksBubbleFeedbackContainer{opacity:1}.bpMessageBlocksBubbleFeedbackIcon{color:var(--bpGray-500);height:16px;width:16px;stroke-width:1.5;cursor:pointer}.bpMessageBlocksBubbleFeedbackIcon[data-selected=true]{color:var(--bpPrimary-600);stroke-width:2;pointer-events:none;cursor:default}.bpMessageBlocksBubbleFeedbackIcon:hover{stroke-width:2}.bpNegativeReactionFeedbackForm{display:flex;flex-direction:column}.bpMessageBlocksBubbleFeedbackFormSubmitButton{background-color:var(--bpPrimary-600);color:var(--bpGray-1);border-radius:var(--bpRadius-md);padding:var(--bpSpacing-1_5) var(--bpSpacing-3);border:none;cursor:pointer}.bpMessageBlocksButton{padding:.25rem .75rem;background-color:var(--button-bg);color:var(--button-text);font-size:.875rem;line-height:1.25rem;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));cursor:pointer;transition:background-color .15s ease-out}.bpMessageBlocksButton:hover{background-color:var(--button-bg-hover)}.bpMessageBlocksButton[data-activated]:disabled{background-color:var(--button-bg);color:var(--button-text)}.bpMessageBlocksButton[data-group-activated]{background-color:var(--bpGray-100);color:var(--bpGray-600)}.bpMessageBlocksButton[data-group-activated]:hover{cursor:default}.bpMessageBlocksCarouselContainer{overflow:hidden;position:relative}.bpMessageBlocksCarouselSlidesContainer{display:grid;padding-left:var(--bpSpacing-2);padding-right:var(--bpSpacing-2);gap:var(--bpSpacing-2);grid-auto-flow:column;grid-auto-columns:100%}.bpMessageBlocksCarouselBackButton,.bpMessageBlocksCarouselNextButton{position:absolute;top:50%;transform:translateY(-50%);background-color:var(--bpGray-300);color:var(--bpGray-100);height:var(--bpSpacing-7);width:var(--bpSpacing-7);padding:var(--bpSpacing-0_5);border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-full));cursor:pointer;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;box-shadow:0 2px 4px #0000001a}.bpMessageBlocksCarouselBackButton:hover,.bpMessageBlocksCarouselNextButton:hover{background-color:var(--bpGray-400);color:var(--bpGray-1);transform:translateY(-50%) scale(1.1)}.bpMessageBlocksCarouselBackButton{left:var(--bpSpacing-1)}.bpMessageBlocksCarouselNextButton{right:var(--bpSpacing-1)}.bpMessageBlocksCarouselNextButton[data-disabled],.bpMessageBlocksCarouselBackButton[data-disabled]{display:none}.bpMessageBlocksColumn{display:flex;flex-direction:column;gap:var(--bpSpacing-2);width:100%}.bpMessageContainer[data-direction=outgoing] .bpMessageBlocksColumn{align-items:flex-end}.bpMessageContainer[data-direction=incoming] .bpMessageBlocksColumn{align-items:flex-start}.bpMessageBlocksColumn[data-horizontal=center]{align-items:center!important;text-align:center!important}.bpMessageBlocksColumn[data-horizontal=right]{align-items:flex-end!important}.bpMessageBlocksColumn[data-horizontal=left]{align-items:flex-start!important}.bpMessageBlocksColumn[data-vertical=stretch]{justify-content:space-between!important}.bpMessageBlocksDropdownButtonContainer{display:flex;padding:var(--bpSpacing-2);background-color:var(--bpGray-1);border:1px solid var(--bpGray-200);border-radius:var(--bpRadius-md);align-items:center;justify-content:space-between;min-width:min(150px,100%);max-width:min(250px,100%);cursor:pointer;color:var(--bpGray-900)}.bpMessageBlocksDropdownButtonContainer[data-disabled=true]{color:var(--bpGray-700);cursor:not-allowed;border-color:var(--bpGray-200)}.bpMessageBlocksDropdownButtonText{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bpMessageBlocksDropdownButtonIcon{height:var(--bpSpacing-4);width:var(--bpSpacing-4);margin-left:var(--bpSpacing-2)}.bpMessageBlocksDropdownContentContainer{background-color:var(--bpGray-1);border:1px solid var(--bpGray-200);border-radius:var(--bpRadius-md);min-width:100px;max-height:200px;overflow-y:auto;padding:var(--bpSpacing-1);z-index:1}.bpMessageBlocksDropdownContentItem{color:var(--bpGray-800);padding:var(--bpSpacing-1);
1cursor:pointer;border-radius:var(--bpRadius-sm)}.bpMessageBlocksDropdownContentItem:hover{background-color:var(--bpGray-100);color:var(--bpGray-900)}.bpMessageBlocksFileContainer{display:flex;padding-top:var(--bpSpacing-2);padding-bottom:var(--bpSpacing-2);padding-left:var(--bpSpacing-4);padding-right:var(--bpSpacing-4);gap:var(--bpSpacing-2);align-items:center;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background-color:var(--bpGray-100);color:var(--bpGray-900)}.bpMessageBlocksFileContainer:hover{color:var(--bpGray-950);background-color:var(--bpGray-200)}.bpMessageBlocksFileTitle{text-decoration:underline;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bpMessageBlocksFileIcon{flex:none;width:1.25rem;height:1.25rem;color:var(--bpPrimary-800)}.bpMessageBlocksImageImage{min-width:0px;max-width:95%;border:1px solid var(--bpGray-200);object-fit:cover;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md))}.bpMessageBlocksImageImage[data-orientation=landscape]{aspect-ratio:4 / 3}.bpMessageBlocksImageImage[data-orientation=portrait]{aspect-ratio:3 / 4}.bpMessageBlocksImageImage[data-orientation=square]{aspect-ratio:1 / 1}.bpMessageBlocksImageImage[data-error=true]{display:flex;justify-content:center;align-items:center;color:var(--bpGray-200)}@media (min-width: 640px){.bpMessageBlocksImageImage{width:var(--bpSpacing-56)}}.bpMessageBlocksLocationContainer{display:flex;gap:var(--bpSpacing-1);padding:var(--bpSpacing-2) var(--bpSpacing-4);background-color:var(--bpGray-100);border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));align-items:center}.bpMessageBlocksLocationContainer:hover{color:var(--bpGray-950);background-color:var(--bpGray-200)}.bpMessageBlocksLocationTitle{color:var(--bpGray-900);font-size:.875rem;line-height:1.25rem;cursor:pointer}.bpMessageBlocksLocationIcon{height:var(--bpSpacing-5);width:var(--bpSpacing-5);fill:var(--bpPrimary-600);color:var(--bpPrimary-200)}.bpMessageContainer[data-direction=incoming] .bpMessageBlocksRow{justify-content:flex-start}.bpMessageContainer[data-direction=outgoing] .bpMessageBlocksRow{justify-content:flex-end}.bpMessageBlocksRow{display:flex;gap:var(--bpSpacing-2);flex-wrap:wrap}.bpMessageBlocksTextHeading1{font-size:1.5rem;font-weight:600;line-height:2rem;margin-top:var(--bpSpacing-7);margin-bottom:var(--bpSpacing-6)}.bpMessageBlocksTextHeading2{font-size:1.25rem;font-weight:600;line-height:1.75rem;margin-top:var(--bpSpacing-6);margin-bottom:var(--bpSpacing-5)}.bpMessageBlocksTextHeading3{font-size:1.125rem;line-height:1.75rem;font-weight:500;margin-top:var(--bpSpacing-5);margin-bottom:var(--bpSpacing-4)}.bpMessageBlocksTextHeading4{margin-top:var(--bpSpacing-1);font-weight:500;font-size:1rem;line-height:1.5rem}.bpMessageBlocksTextOrderedList{list-style-type:decimal}.bpMessageBlocksTextUnorderedList{list-style-type:disc}.bpMessageBlocksTextUnorderedList,.bpMessageBlocksTextOrderedList{padding-left:var(--bpSpacing-2);margin:var(--bpSpacing-3) 0;list-style-position:inside}.bpMessageBlocksTextUnorderedList::marker,.bpMessageBlocksTextOrderedList::marker{color:var(--bpGray-800)}.bpMessageContainer[data-direction=outgoing] .bpMessageBlocksTextUnorderedList::marker,.bpMessageBlocksTextOrderedList::marker{color:var(--bpPrimary-950)}.bpMessageBlocksTextListItem{line-height:1.25rem;margin:var(--bpSpacing-2) 0}.bpMessageBlocksTextLink{text-decoration:underline;cursor:pointer}.bpMessageBlocksTextLink:hover{text-decoration:none;opacity:.7}li>.bpMessageBlocksTextText{display:inline}.bpMessageBlocksTextImage{margin:var(--bpSpacing-3) 0;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md))}.bpMessageBlocksTextImage[data-error=true]{display:flex;justify-content:center;align-items:center}.bpMessageBlocksTextHorizontalRule{color:var(--bpGray-300);margin:var(--bpSpacing-4) 0}.bpMessageContainer[data-direction=outgoing] .bpMessageBlocksTextHorizontalRule{color:var(--bpPrimary-300)}.bpMessageBlocksTextCodeBlockContainer{margin:1rem 0;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md))}.bpMessageBlocksTextCodeBlockTitle{display:flex;justify-content:space-between;align-items:center;background:var(--bpGray-200);color:var(--bpGray-900);padding:.25em .75em;font-size:.75rem;border:1px solid var(--bpGray-200);border-top-left-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));border-top-right-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));border-bottom:none}.bpMessageBlocksTextCodeBlockCopyIcon{width:1.5rem;padding:.25rem;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));color:var(--bpGray-800)}.bpMessageBlocksTextCodeBlockCopyIcon:hover{cursor:pointer;background:var(--bpGray-300)}.bpMessageBlocksTextCodeBlock{background:var(--bpGray-50);padding:.75rem;overflow-x:auto;line-height:1.6;border:1px solid var(--bpGray-200);border-top:none;border-bottom-left-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md));border-bottom-right-radius:calc(var(--bpRadius-scale) * var(--bpRadius-md))}.bpMessageContainer[data-direction=outgoing] .bpMessageBlocksTextCodeBlock{background:var(--bpPrimary-50);color:var(--bpGray-950)}.bpMessageBlocksTextCode{background:var(--bpGray-300);border-radius:.25rem;font-weight:500;padding:.1rem .2rem}.bpMessageContainer[data-direction=outgoing] .bpMessageBlocksTextCode{background:var(--bpPrimary-400)}.bpMessageBlocksTextCodeBlock .bpMessageBlocksTextCode,.bpMessageContainer[data-direction=outgoing] .bpMessageBlocksTextCodeBlock .bpMessageBlocksTextCode{background:transparent;border-radius:0;font-weight:inherit;padding:0}.bpMessageBlocksTextTableContainer{overflow-x:auto;margin:var(--bpSpacing-6) 0;width:100%;display:block;-webkit-overflow-scrolling:touch}.bpMessageBlocksTextTable{border-collapse:collapse;color:inherit;width:100%;min-width:100%;table-layout:auto;white-space:nowrap;font-size:.875rem;line-height:1.25rem}.bpMessageBlocksTextTableHeader{border-bottom:2px solid var(--bpGray-300);padding:var(--bpSpacing-1);text-align:left;font-weight:600}.bpMessageBlocksTextTableHeader:first-child{padding-left:0}.bpMessageBlocksTextTableHeader:last-child{padding-right:0}.bpMessageContainer[data-direction=outgoing] .bpMessageBlocksTextTableHeader{border-bottom:2px solid var(--bpPrimary-300)}.bpMessageBlocksTextTableData{padding:var(--bpSpacing-3) var(--bpSpacing-1)}.bpMessageBlocksTextTableData:first-child{padding-left:0}.bpMessageBlocksTextTableData:last-child{padding-right:0}.bpMessageBlocksTextTableRow{border-bottom:1px solid var(--bpGray-200)}.bpMessageBlocksTextTableRow:last-child{border-bottom:none}.bpMessageContainer[data-direction=outgoing] .bpMessageBlocksTextTableRow{border-bottom:1px solid var(--bpPrimary-200)}.bpMessageContainer[data-direction=outgoing] .bpMessageBlocksTextTableRow:last-child{border-bottom:none}.bpMessageBlocksTextInput[type=checkbox]{pointer-events:none}.bpMessageBlocksTextText+.bpMessageBlocksTextText{margin-top:var(--bpSpacing-4)}.bpMessageBlocksVideo{border:1px solid var(--bpGray-200);border-radius:calc(var(--bpRadius-scale)*var(--bpRadius-md))}.bpTypingIndicatorContainer{display:flex;gap:var(--bpSpacing-1_5);padding:var(--bpSpacing-3);background-color:var(--bpGray-100);border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-lg));align-items:end}.bpTypingIndicatorContainer:before,.bpTypingIndicatorContainer:after{content:"";display:block;width:var(--bpSpacing-1_5);height:var(--bpSpacing-1_5);background-color:var(--bpGray-800);border-radius:50%;animation:jump 1s infinite}.bpTypingIndicatorContainer:after{animation-delay:.2s}.bpTypingIndicatorLoader{width:var(--bpSpacing-1_5);height:var(--bpSpacing-1_5);background-color:var(--bpGray-800);border-radius:50%;animation:jump 1s infinite .1s}@keyframes jump{0%,50%,to{transform:translateY(0)}25%{background-color:var(--bpGray-400);transform:translateY(-75%)}}.bpLoader{width:8px;height:8px;border-radius:50%;display:block;margin:auto;position:relative;background:transparent;box-shadow:-16px 0 transparent,16px 0 transparent;box-sizing:border-box;animation:shadowPulse 2s linear infinite}@keyframes shadowPulse{33%{background:transparent;box-shadow:-16px 0 var(--bpPrimary-600),16px 0 transparent}66%{background:var(--bpPrimary-600);box-shadow:-16px 0 transparent,16px 0 transparent}to{background:transparent;box-shadow:-16px 0 transparent,16px 0 var(--bpPrimary-600)}}.bpErrorContainer{display:flex;flex-direction:column;height:100%;font-family:var(--font-family);background-color:var(--bpGray-1)}.bpErrorHeader{display:flex;align-items:center;font-size:1rem;height:3rem;color:var(--error-header-text);background-color:var(--error-header-bg);padding:var(--bpSpacing-2) var(--bpSpacing-4);justify-content:space-between}.bpErrorHeaderActions{display:flex;align-items:center;color:var(--error-header-text);background-color:var(--error-header-bg)}.bpErrorContent{padding:var(--bpSpacing-6);text-align:center;display:flex;flex-direction:column;flex:1;justify-content:center;align-items:center}.bpErrorIcon{color:var(--error-content-icon);stroke-width:1.25;width:5rem;height:5rem}.bpErrorTitle{color:var(--error-content-title);padding:var(--bpSpacing-2);font-weight:600;font-size:1.25rem}.bpErrorMessage{line-height:1.5;color:var(--error-content-message);margin-bottom:var(--bpSpacing-2);white-space:pre-line}.bpErrorId{color:var(--bpGray-200);font-size:.75rem}.bpMessagePreviewContainer{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr;row-gap:var(--bpSpacing-1);column-gap:var(--bpSpacing-2);border:var(--bpGray-300) 1px solid;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-sm));padding:var(--bpSpacing-3);height:100%;background-color:var(--bpGray-1);align-items:center;cursor:pointer}.bpMessagePreviewMessage{flex:1;font-size:14px;line-height:1.25rem;color:var(--bpGray-600);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;grid-column:2/3}.bpMessagePreviewDescription{font-size:13px;line-height:1rem;color:var(--bpGray-500);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;grid-column:2/3}.bpMessagePreviewCloseButton{display:none;color:var(--bpGray-400);
1cursor:pointer;padding:var(--bpSpacing-1);transition:color .2s ease,color .2s ease;grid-column:3/4;grid-row:1/3;margin-left:calc(var(--bpSpacing-2) * -1);align-self:self-start}@media (max-device-width: 1024px){.bpMessagePreviewCloseButton{display:block}}.bpMessagePreviewContainer:hover .bpMessagePreviewCloseButton{display:block}.bpMessagePreviewCloseButton:hover{color:var(--bpGray-600)}.bpMessagePreviewAvatarContainer{overflow:hidden;padding:var(--bpSpacing-0_5);border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-full));flex:none;grid-row:span 2 / span 2}.bpMessagePreviewAvatarImage{aspect-ratio:1/1;object-fit:cover;height:var(--bpSpacing-9);border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-full))}.bpMessagePreviewAvatarFallback{aspect-ratio:1 / 1;display:flex;justify-content:center;align-items:center;border-radius:calc(var(--bpRadius-scale) * var(--bpRadius-full));height:var(--bpSpacing-9);line-height:var(--bpSpacing-12);background-color:var(--header-avatar-bg);color:var(--header-avatar-text)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeInScaleUp{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideDown{0%{transform:translateY(0)}to{transform:translateY(100%)}}@keyframes fadeInSlideUp{0%{transform:translateY(20%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes fadeInFromRight{0%{opacity:0;transform:translate(10px)}to{opacity:1;transform:translate(0)}}@keyframes pulsate-background{0%,to{background-color:var(--bpPrimary-100);color:var(--bpGray-600)}50%{background-color:var(--bpPrimary-400);color:var(--bpGray-800)}}`)),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();this["src/inject"]=this["src/inject"]||{};this["src/inject"].ts=function(_f){"use strict";var Rf=typeof document<"u"?document.currentScript:null;function dO(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var It=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function me(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function pO(){this.__data__=[],this.size=0}var hO=pO;function mO(e,t){return e===t||e!==e&&t!==t}var rs=mO,gO=rs;function vO(e,t){for(var n=e.length;n--;)if(gO(e[n][0],t))return n;return-1}
vendor: 4,165 bytes, line 1
1var is=vO,yO=is,bO=Array.prototype,wO=bO.splice;function SO(e){var t=this.__data__,n=yO(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():wO.call(t,n,1),--this.size,!0}var xO=SO,kO=is;function EO(e){var t=this.__data__,n=kO(t,e);return n<0?void 0:t[n][1]}var $O=EO,CO=is;function AO(e){return CO(this.__data__,e)>-1}var IO=AO,TO=is;function OO(e,t){var n=this.__data__,r=TO(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var PO=OO,_O=hO,RO=xO,NO=$O,MO=IO,DO=PO;function Ki(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ki.prototype.clear=_O,Ki.prototype.delete=RO,Ki.prototype.get=NO,Ki.prototype.has=MO,Ki.prototype.set=DO;var os=Ki,LO=os;function jO(){this.__data__=new LO,this.size=0}var FO=jO;function BO(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var zO=BO;function UO(e){return this.__data__.get(e)}var HO=UO;function WO(e){return this.__data__.has(e)}var VO=WO,KO=typeof It=="object"&&It&&It.Object===Object&&It,cy=KO,GO=cy,QO=typeof self=="object"&&self&&self.Object===Object&&self,YO=GO||QO||Function("return this")(),Gi=YO,qO=Gi,JO=qO.Symbol,fy=JO,dy=fy,py=Object.prototype,ZO=py.hasOwnProperty,XO=py.toString,fa=dy?dy.toStringTag:void 0;function eP(e){var t=ZO.call(e,fa),n=e[fa];try{e[fa]=void 0;var r=!0}catch{}var i=XO.call(e);return r&&(t?e[fa]=n:delete e[fa]),i}var tP=eP,nP=Object.prototype,rP=nP.toString;function iP(e){return rP.call(e)}var oP=iP,hy=fy,aP=tP,lP=oP,sP="[object Null]",uP="[object Undefined]",my=hy?hy.toStringTag:void 0;function cP(e){return e==null?e===void 0?uP:sP:my&&my in Object(e)?aP(e):lP(e)}var as=cP;function fP(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var hi=fP,dP=as,pP=hi,hP="[object AsyncFunction]",mP="[object Function]",gP="[object GeneratorFunction]",vP="[object Proxy]";function yP(e){if(!pP(e))return!1;var t=dP(e);return t==mP||t==gP||t==hP||t==vP}var Nf=yP,bP=Gi,wP=bP["__core-js_shared__"],SP=wP,Mf=SP,gy=function(){var e=/[^.]+$/.exec(Mf&&Mf.keys&&Mf.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function xP(e){return!!gy&&gy in e}var kP=xP,EP=Function.prototype,$P=EP.toString;function CP(e){if(e!=null){try{return $P.call(e)}catch{}try{return e+""}catch{}}return""}var AP=CP,IP=Nf,TP=kP,OP=hi,PP=AP,_P=/[\\^$.*+?()[\]{}|]/g,RP=/^\[object .+?Constructor\]$/,NP=Function.prototype,MP=Object.prototype,DP=NP.toString,LP=MP.hasOwnProperty,jP=RegExp("^"+DP.call(LP).replace(_P,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function FP(e){if(!OP(e)||TP(e))return!1;var t=IP(e)?jP:RP;return t.test(PP(e))}var BP=FP;function zP(e,t){return e?.[t]}var UP=zP,HP=BP,WP=UP;function VP(e,t){var n=WP(e,t);return HP(n)?n:void 0}var Df=VP,KP=Df,GP=Gi,QP=KP(GP,"Map"),vy=QP,YP=Df,qP=YP(Object,"create"),ls=qP,yy=ls;function JP(){this.__data__=yy?yy(null):{},this.size=0}var ZP=JP;function XP(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var e_=XP,t_=ls,n_="__lodash_hash_undefined__",r_=Object.prototype,i_=r_.hasOwnProperty;function o_(e){var t=this.__data__;if(t_){var n=t[e];return n===n_?void 0:n}return i_.call(t,e)?t[e]:void 0}var a_=o_,l_=ls,s_=Object.prototype,u_=s_.hasOwnProperty;function c_(e){var t=this.__data__;return l_?t[e]!==void 0:u_.call(t,e)}var f_=c_,d_=ls,p_="__lodash_hash_undefined__";function h_(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=d_&&t===void 0?p_:t,this}var m_=h_,g_=ZP,v_=e_,y_=a_,b_=f_,w_=m_;function Qi(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Qi.prototype.clear=g_,Qi.prototype.delete=v_,Qi.prototype.get=y_,Qi.prototype.has=b_,Qi.prototype.set=w_;var S_=Qi,by=S_,x_=os,k_=vy;function E_(){this.size=0,this.__data__={hash:new by,map:new(k_||x_),string:new by}}var $_=E_;function C_(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var A_=C_,I_=A_;function T_(e,t){var n=e.__data__;return I_(t)?n[typeof t=="string"?"string":"hash"]:n.map}var ss=T_,O_=ss;function P_(e){var t=O_(this,e).delete(e);return this.size-=t?1:0,t}var __=P_,R_=ss;function N_(e){return R_(this,e).get(e)}
vendor: 9,449 bytes, lines 1-9
1var M_=N_,D_=ss;function L_(e){return D_(this,e).has(e)}var j_=L_,F_=ss;function B_(e,t){var n=F_(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var z_=B_,U_=$_,H_=__,W_=M_,V_=j_,K_=z_;function Yi(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Yi.prototype.clear=U_,Yi.prototype.delete=H_,Yi.prototype.get=W_,Yi.prototype.has=V_,Yi.prototype.set=K_;var G_=Yi,Q_=os,Y_=vy,q_=G_,J_=200;function Z_(e,t){var n=this.__data__;if(n instanceof Q_){var r=n.__data__;if(!Y_||r.length<J_-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new q_(r)}return n.set(e,t),this.size=n.size,this}var X_=Z_,eR=os,tR=FO,nR=zO,rR=HO,iR=VO,oR=X_;function qi(e){var t=this.__data__=new eR(e);this.size=t.size}qi.prototype.clear=tR,qi.prototype.delete=nR,qi.prototype.get=rR,qi.prototype.has=iR,qi.prototype.set=oR;var aR=qi,lR=Df,sR=function(){try{var e=lR(Object,"defineProperty");return e({},"",{}),e}catch{}}(),wy=sR,Sy=wy;function uR(e,t,n){t=="__proto__"&&Sy?Sy(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Lf=uR,cR=Lf,fR=rs;function dR(e,t,n){(n!==void 0&&!fR(e[t],n)||n===void 0&&!(t in e))&&cR(e,t,n)}var xy=dR;function pR(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),l=a.length;l--;){var s=a[e?l:++i];if(n(o[s],s,o)===!1)break}return t}}var hR=pR,mR=hR,gR=mR(),vR=gR,us={exports:{}};us.exports,function(e,t){var n=Gi,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===r,a=o?n.Buffer:void 0,l=a?a.allocUnsafe:void 0;function s(u,c){if(c)return u.slice();var f=u.length,p=l?l(f):new u.constructor(f);return u.copy(p),p}e.exports=s}(us,us.exports);var yR=us.exports,bR=Gi,wR=bR.Uint8Array,SR=wR,ky=SR;function xR(e){var t=new e.constructor(e.byteLength);return new ky(t).set(new ky(e)),t}var kR=xR,ER=kR;function $R(e,t){var n=t?ER(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var CR=$R;function AR(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var IR=AR,TR=hi,Ey=Object.create,OR=function(){function e(){}return function(t){if(!TR(t))return{};if(Ey)return Ey(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),PR=OR;function _R(e,t){return function(n){return e(t(n))}}var RR=_R,NR=RR,MR=NR(Object.getPrototypeOf,Object),$y=MR,DR=Object.prototype;function LR(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||DR;return e===n}var Cy=LR,jR=PR,FR=$y,BR=Cy;function zR(e){return typeof e.constructor=="function"&&!BR(e)?jR(FR(e)):{}}var UR=zR;function HR(e){return e!=null&&typeof e=="object"}var da=HR,WR=as,VR=da,KR="[object Arguments]";function GR(e){return VR(e)&&WR(e)==KR}var QR=GR,Ay=QR,YR=da,Iy=Object.prototype,qR=Iy.hasOwnProperty,JR=Iy.propertyIsEnumerable,ZR=Ay(function(){return arguments}())?Ay:function(e){return YR(e)&&qR.call(e,"callee")&&!JR.call(e,"callee")},Ty=ZR,XR=Array.isArray,Oy=XR,e2=9007199254740991;function t2(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=e2}var Py=t2,n2=Nf,r2=Py;function i2(e){return e!=null&&r2(e.length)&&!n2(e)}var jf=i2,o2=jf,a2=da;function l2(e){return a2(e)&&o2(e)}var s2=l2,cs={exports:{}};function u2(){return!1}var c2=u2;cs.exports,function(e,t){var n=Gi,r=c2,i=t&&!t.nodeType&&t,o=i&&!0&&e&&!e.nodeType&&e,a=o&&o.exports===i,l=a?n.Buffer:void 0,s=l?l.isBuffer:void 0,u=s||r;e.exports=u}(cs,cs.exports);var _y=cs.exports,f2=as,d2=$y,p2=da,h2="[object Object]",m2=Function.prototype,g2=Object.prototype,Ry=m2.toString,v2=g2.hasOwnProperty,y2=Ry.call(Object);function b2(e){if(!p2(e)||f2(e)!=h2)return!1;var t=d2(e);if(t===null)return!0;var n=v2.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Ry.call(n)==y2}var w2=b2,S2=as,x2=Py,k2=da,E2="[object Arguments]",$2="[object Array]",C2="[object Boolean]",A2="[object Date]",I2="[object Error]",T2="[object Function]",O2="[object Map]",P2="[object Number]",_2="[object Object]",R2="[object RegExp]",N2="[object Set]",M2="[object String]",D2="[object WeakMap]",L2="[object ArrayBuffer]",j2="[object DataView]",F2="[object Float32Array]",B2="[object Float64Array]",z2="[object Int8Array]",U2="[object Int16Array]",H2="[object Int32Array]",W2="[object Uint8Array]",V2="[object Uint8ClampedArray]",K2="[object Uint16Array]",G2="[object Uint32Array]",_e={};_e[F2]=_e[B2]=_e[z2]=_e[U2]=_e[H2]=_e[W2]=_e[V2]=_e[K2]=_e[G2]=!0,_e[E2]=_e[$2]=_e[L2]=_e[C2]=_e[j2]=_e[A2]=_e[I2]=_e[T2]=_e[O2]=_e[P2]=_e[_2]=_e[R2]=_e[N2]=_e[M2]=_e[D2]=!1;function Q2(e){return k2(e)&&x2(e.length)&&!!_e[S2(e)]}var Y2=Q2;function q2(e){return function(t){return e(t)}}var J2=q2,fs={exports:{}};fs.exports,function(e,t){var n=cy,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===r,a=o&&n.process,l=function(){try{var s=i&&i.require&&i.require("util").types;return s||a&&a.binding&&a.binding("util")}catch{}}();e.exports=l}(fs,fs.exports);var Z2=fs.exports,X2=Y2,eN=J2,Ny=Z2,My=Ny&&Ny.isTypedArray,tN=My?eN(My):X2,Dy=tN;function nN(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var Ly=nN,rN=Lf,iN=rs,oN=Object.prototype,aN=oN.hasOwnProperty;function lN(e,t,n){var r=e[t];(!(aN.call(e,t)&&iN(r,n))||n===void 0&&!(t in e))&&rN(e,t,n)}var sN=lN,uN=sN,cN=Lf;function fN(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var l=t[o],s=r?r(n[l],e[l],l,n,e):void 0;s===void 0&&(s=e[l]),i?cN(n,l,s):uN(n,l,s)}return n}var dN=fN;function pN(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var hN=pN,mN=9007199254740991,gN=/^(?:0|[1-9]\d*)$/;function vN(e,t){var n=typeof e;return t=t??mN,!!t&&(n=="number"||n!="symbol"&&gN.test(e))&&e>-1&&e%1==0&&e<t}var jy=vN,yN=hN,bN=Ty,wN=Oy,SN=_y,xN=jy,kN=Dy,EN=Object.prototype,$N=EN.hasOwnProperty;function CN(e,t){var n=wN(e),r=!n&&bN(e),i=!n&&!r&&SN(e),o=!n&&!r&&!i&&kN(e),a=n||r||i||o,l=a?yN(e.length,String):[],s=l.length;for(var u in e)(t||$N.call(e,u))&&!(a&&(u=="length"||i&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||xN(u,s)))&&l.push(u);return l}var AN=CN;function IN(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var TN=IN,ON=hi,PN=Cy,_N=TN,RN=Object.prototype,NN=RN.hasOwnProperty;function MN(e){if(!ON(e))return _N(e);var t=PN(e),n=[];for(var r in e)r=="constructor"&&(t||!NN.call(e,r))||n.push(r);return n}var DN=MN,LN=AN,jN=DN,FN=jf;function BN(e){return FN(e)?LN(e,!0):jN(e)}var Fy=BN,zN=dN,UN=Fy;function HN(e){return zN(e,UN(e))}var WN=HN,By=xy,VN=yR,KN=CR,GN=IR,QN=UR,zy=Ty,Uy=Oy,YN=s2,qN=_y,JN=Nf,ZN=hi,XN=w2,eM=Dy,Hy=Ly,tM=WN;function nM(e,t,n,r,i,o,a){var l=Hy(e,n),s=Hy(t,n),u=a.get(s);if(u){By(e,n,u);return}var c=o?o(l,s,n+"",e,t,a):void 0,f=c===void 0;if(f){var p=Uy(s),d=!p&&qN(s),m=!p&&!d&&eM(s);c=s,p||d||m?Uy(l)?c=l:YN(l)?c=GN(l):d?(f=!1,c=VN(s,!0)):m?(f=!1,c=KN(s,!0)):c=[]:XN(s)||zy(s)?(c=l,zy(l)?c=tM(l):(!ZN(l)||JN(l))&&(c=QN(s))):f=!1}f&&(a.set(s,c),i(c,s,r,o,a),a.delete(s)),By(e,n,c)}var rM=nM,iM=aR,oM=xy,aM=vR,lM=rM,sM=hi,uM=Fy,cM=Ly;function Wy(e,t,n,r,i){e!==t&&aM(t,function(o,a){if(i||(i=new iM),sM(o))lM(e,t,a,n,Wy,r,i);else{var l=r?r(cM(e,a),o,a+"",e,t,i):void 0;l===void 0&&(l=o),oM(e,a,l)}},uM)}var fM=Wy;function dM(e){return e}var Vy=dM;function pM(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var hM=pM,mM=hM,Ky=Math.max;function gM(e,t,n){return t=Ky(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=Ky(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var l=Array(t+1);++i<t;)l[i]=r[i];return l[t]=n(a),mM(e,this,l)}}var vM=gM;function yM(e){return function(){return e}}var bM=yM,wM=bM,Gy=wy,SM=Vy,xM=Gy?function(e,t){return Gy(e,"toString",{configurable:!0,enumerable:!1,value:wM(t),writable:!0})}:SM,kM=xM,EM=800,$M=16,CM=Date.now;function AM(e){var t=0,n=0;return function(){var r=CM(),i=$M-(r-n);if(n=r,i>0){if(++t>=EM)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var IM=AM,TM=kM,OM=IM,PM=OM(TM),_M=PM,RM=Vy,NM=vM,MM=_M;function DM(e,t){return MM(NM(e,t,RM),e+"")}var LM=DM,jM=rs,FM=jf,BM=jy,zM=hi;function UM(e,t,n){if(!zM(n))return!1;var r=typeof t;return(r=="number"?FM(n)&&BM(t,n.length):r=="string"&&t in n)?jM(n[t],e):!1}var HM=UM,WM=LM,VM=HM;function KM(e){return WM(function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=e.length>3&&typeof o=="function"?(i--,o):void 0,a&&VM(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++r<i;){var l=n[r];l&&e(t,l,r,o)}return t})}var GM=KM,QM=fM,YM=GM,qM=YM(function(e,t,n){QM(e,t,n)}),JM=qM;const ZM=me(JM);var Qy={exports:{}},ds={},Yy={exports:{}},ce={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var pa=Symbol.for("react.element"),XM=Symbol.for("react.portal"),eD=Symbol.for("react.fragment"),tD=Symbol.for("react.strict_mode"),nD=Symbol.for("react.profiler"),rD=Symbol.for("react.provider"),iD=Symbol.for("react.context"),oD=Symbol.for("react.forward_ref"),aD=Symbol.for("react.suspense"),lD=Symbol.for("react.memo"),sD=Symbol.for("react.lazy"),qy=Symbol.iterator;function uD(e){return e===null||typeof e!="object"?null:(e=qy&&e[qy]||e["@@iterator"],typeof e=="function"?e:null)}var Jy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Zy=Object.assign,Xy={};
vendor: 6,393 bytes, lines 9-17
9function Ji(e,t,n){this.props=e,this.context=t,this.refs=Xy,this.updater=n||Jy}Ji.prototype.isReactComponent={},Ji.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},Ji.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function e1(){}e1.prototype=Ji.prototype;function Ff(e,t,n){this.props=e,this.context=t,this.refs=Xy,this.updater=n||Jy}var Bf=Ff.prototype=new e1;Bf.constructor=Ff,Zy(Bf,Ji.prototype),Bf.isPureReactComponent=!0;var t1=Array.isArray,n1=Object.prototype.hasOwnProperty,zf={current:null},r1={key:!0,ref:!0,__self:!0,__source:!0};function i1(e,t,n){var r,i={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)n1.call(t,r)&&!r1.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1<l){for(var s=Array(l),u=0;u<l;u++)s[u]=arguments[u+2];i.children=s}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)i[r]===void 0&&(i[r]=l[r]);return{$$typeof:pa,type:e,key:o,ref:a,props:i,_owner:zf.current}}function cD(e,t){return{$$typeof:pa,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Uf(e){return typeof e=="object"&&e!==null&&e.$$typeof===pa}function fD(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var o1=/\/+/g;function Hf(e,t){return typeof e=="object"&&e!==null&&e.key!=null?fD(""+e.key):t.toString(36)}function ps(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case pa:case XM:a=!0}}if(a)return a=e,i=i(a),e=r===""?"."+Hf(a,0):r,t1(i)?(n="",e!=null&&(n=e.replace(o1,"$&/")+"/"),ps(i,t,n,"",function(u){return u})):i!=null&&(Uf(i)&&(i=cD(i,n+(!i.key||a&&a.key===i.key?"":(""+i.key).replace(o1,"$&/")+"/")+e)),t.push(i)),1;if(a=0,r=r===""?".":r+":",t1(e))for(var l=0;l<e.length;l++){o=e[l];var s=r+Hf(o,l);a+=ps(o,t,n,s,i)}else if(s=uD(e),typeof s=="function")for(e=s.call(e),l=0;!(o=e.next()).done;)o=o.value,s=r+Hf(o,l++),a+=ps(o,t,n,s,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function hs(e,t,n){if(e==null)return e;var r=[],i=0;return ps(e,r,"","",function(o){return t.call(n,o,i++)}),r}function dD(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Tt={current:null},ms={transition:null},pD={ReactCurrentDispatcher:Tt,ReactCurrentBatchConfig:ms,ReactCurrentOwner:zf};function a1(){throw Error("act(...) is not supported in production builds of React.")}ce.Children={map:hs,forEach:function(e,t,n){hs(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return hs(e,function(){t++}),t},toArray:function(e){return hs(e,function(t){return t})||[]},only:function(e){if(!Uf(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},ce.Component=Ji,ce.Fragment=eD,ce.Profiler=nD,ce.PureComponent=Ff,ce.StrictMode=tD,ce.Suspense=aD,ce.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=pD,ce.act=a1,ce.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Zy({},e.props),i=e.key,o=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,a=zf.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)n1.call(t,s)&&!r1.hasOwnProperty(s)&&(r[s]=t[s]===void 0&&l!==void 0?l[s]:t[s])}var s=arguments.length-2;if(s===1)r.children=n;else if(1<s){l=Array(s);for(var u=0;u<s;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:pa,type:e.type,key:i,ref:o,props:r,_owner:a}},ce.createContext=function(e){return e={$$typeof:iD,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:rD,_context:e},e.Consumer=e},ce.createElement=i1,ce.createFactory=function(e){var t=i1.bind(null,e);return t.type=e,t},ce.createRef=function(){return{current:null}},ce.forwardRef=function(e){return{$$typeof:oD,render:e}},ce.isValidElement=Uf,ce.lazy=function(e){return{$$typeof:sD,_payload:{_status:-1,_result:e},_init:dD}},ce.memo=function(e,t){return{$$typeof:lD,type:e,compare:t===void 0?null:t}},ce.startTransition=function(e){var t=ms.transition;ms.transition={};try{e()}finally{ms.transition=t}},ce.unstable_act=a1,ce.useCallback=function(e,t){return Tt.current.useCallback(e,t)},ce.useContext=function(e){return Tt.current.useContext(e)},ce.useDebugValue=function(){},ce.useDeferredValue=function(e){return Tt.current.useDeferredValue(e)},ce.useEffect=function(e,t){return Tt.current.useEffect(e,t)},ce.useId=function(){return Tt.current.useId()},ce.useImperativeHandle=function(e,t,n){return Tt.current.useImperativeHandle(e,t,n)},ce.useInsertionEffect=function(e,t){return Tt.current.useInsertionEffect(e,t)},ce.useLayoutEffect=function(e,t){return Tt.current.useLayoutEffect(e,t)},ce.useMemo=function(e,t){return Tt.current.useMemo(e,t)},ce.useReducer=function(e,t,n){return Tt.current.useReducer(e,t,n)},ce.useRef=function(e){return Tt.current.useRef(e)},ce.useState=function(e){return Tt.current.useState(e)},ce.useSyncExternalStore=function(e,t,n){return Tt.current.useSyncExternalStore(e,t,n)},ce.useTransition=function(){return Tt.current.useTransition()},ce.version="18.3.1",Yy.exports=ce;var k=Yy.exports;const We=me(k),l1=dO({__proto__:null,default:We},[k]);/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var hD=k,mD=Symbol.for("react.element"),gD=Symbol.for("react.fragment"),vD=Object.prototype.hasOwnProperty,yD=hD.__SECRET_INT
vendor: 4,340 bytes, lines 17-25
17ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,bD={key:!0,ref:!0,__self:!0,__source:!0};function s1(e,t,n){var r,i={},o=null,a=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)vD.call(t,r)&&!bD.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:mD,type:e,key:o,ref:a,props:i,_owner:yD.current}}ds.Fragment=gD,ds.jsx=s1,ds.jsxs=s1,Qy.exports=ds;var P=Qy.exports;function wD(e,t=[]){let n=[];function r(o,a){const l=k.createContext(a),s=n.length;n=[...n,a];function u(f){const{scope:p,children:d,...m}=f,v=p?.[e][s]||l,b=k.useMemo(()=>m,Object.values(m));return P.jsx(v.Provider,{value:b,children:d})}function c(f,p){const d=p?.[e][s]||l,m=k.useContext(d);if(m)return m;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${o}\``)}return u.displayName=o+"Provider",[u,c]}const i=()=>{const o=n.map(a=>k.createContext(a));return function(l){const s=l?.[e]||o;return k.useMemo(()=>({[`__scope${e}`]:{...l,[e]:s}}),[l,s])}};return i.scopeName=e,[r,SD(i,...t)]}function SD(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const a=r.reduce((l,{useScope:s,scopeName:u})=>{const f=s(o)[`__scope${u}`];return{...l,...f}},{});return k.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}function xD(e){const t=k.useRef(e);return k.useEffect(()=>{t.current=e}),k.useMemo(()=>(...n)=>t.current?.(...n),[])}var u1=globalThis?.document?k.useLayoutEffect:()=>{},c1={exports:{}},Gt={},f1={exports:{}},d1={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */(function(e){function t(I,B){var w=I.length;I.push(B);e:for(;0<w;){var z=w-1>>>1,W=I[z];if(0<i(W,B))I[z]=B,I[w]=W,w=z;else break e}}function n(I){return I.length===0?null:I[0]}function r(I){if(I.length===0)return null;var B=I[0],w=I.pop();if(w!==B){I[0]=w;e:for(var z=0,W=I.length,E=W>>>1;z<E;){var Q=2*(z+1)-1,oe=I[Q],ne=Q+1,ae=I[ne];if(0>i(oe,w))ne<W&&0>i(ae,oe)?(I[z]=ae,I[ne]=w,z=ne):(I[z]=oe,I[Q]=w,z=Q);else if(ne<W&&0>i(ae,w))I[z]=ae,I[ne]=w,z=ne;else break e}}return B}function i(I,B){var w=I.sortIndex-B.sortIndex;return w!==0?w:I.id-B.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var s=[],u=[],c=1,f=null,p=3,d=!1,m=!1,v=!1,b=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(I){for(var B=n(u);B!==null;){if(B.callback===null)r(u);else if(B.startTime<=I)r(u),B.sortIndex=B.expirationTime,t(s,B);else break;B=n(u)}}function S(I){if(v=!1,y(I),!m)if(n(s)!==null)m=!0,R($);else{var B=n(u);B!==null&&U(S,B.startTime-I)}}function $(I,B){m=!1,v&&(v=!1,h(T),T=-1),d=!0;var w=p;try{for(y(B),f=n(s);f!==null&&(!(f.expirationTime>B)||I&&!O());){var z=f.callback;if(typeof z=="function"){f.callback=null,p=f.priorityLevel;var W=z(f.expirationTime<=B);B=e.unstable_now(),typeof W=="function"?f.callback=W:f===n(s)&&r(s),y(B)}else r(s);f=n(s)}if(f!==null)var E=!0;else{var Q=n(u);Q!==null&&U(S,Q.startTime-B),E=!1}return E}finally{f=null,p=w,d=!1}}var x=!1,A=null,T=-1,j=5,C=-1;function O(){return!(e.unstable_now()-C<j)}function D(){if(A!==null){var I=e.unstable_now();C=I;var B=!0;try{B=A(!0,I)}finally{B?N():(x=!1,A=null)}}else x=!1}var N;if(typeof g=="function")N=function(){g(D)};else if(typeof MessageChannel<"u"){var M=new MessageChannel,_=M.port2;M.port1.onmessage=D,N=function(){_.postMessage(null)}}else N=function(){b(D,0)};function R(I){A=I,x||(x=!0,N())}function U(I,B){T=b(function(){I(e.unstable_now())},B)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(I){I.
vendor: 4,154 bytes, lines 25-33
25callback=null},e.unstable_continueExecution=function(){m||d||(m=!0,R($))},e.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<I?Math.floor(1e3/I):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(I){switch(p){case 1:case 2:case 3:var B=3;break;default:B=p}var w=p;p=B;try{return I()}finally{p=w}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(I,B){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var w=p;p=I;try{return B()}finally{p=w}},e.unstable_scheduleCallback=function(I,B,w){var z=e.unstable_now();switch(typeof w=="object"&&w!==null?(w=w.delay,w=typeof w=="number"&&0<w?z+w:z):w=z,I){case 1:var W=-1;break;case 2:W=250;break;case 5:W=1073741823;break;case 4:W=1e4;break;default:W=5e3}return W=w+W,I={id:c++,callback:B,priorityLevel:I,startTime:w,expirationTime:W,sortIndex:-1},w>z?(I.sortIndex=w,t(u,I),n(s)===null&&I===n(u)&&(v?(h(T),T=-1):v=!0,U(S,w-z))):(I.sortIndex=W,t(s,I),m||d||(m=!0,R($))),I},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(I){var B=p;return function(){var w=p;p=B;try{return I.apply(this,arguments)}finally{p=w}}}})(d1),f1.exports=d1;var kD=f1.exports;/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var ED=k,Qt=kD;function H(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var p1=new Set,ha={};function mi(e,t){Zi(e,t),Zi(e+"Capture",t)}function Zi(e,t){for(ha[e]=t,e=0;e<t.length;e++)p1.add(t[e])}var pr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Wf=Object.prototype.hasOwnProperty,$D=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h1={},m1={};function CD(e){return Wf.call(m1,e)?!0:Wf.call(h1,e)?!1:$D.test(e)?m1[e]=!0:(h1[e]=!0,!1)}function AD(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ID(e,t,n,r){if(t===null||typeof t>"u"||AD(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ot(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var ut={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ut[e]=new Ot(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ut[t]=new Ot(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){ut[e]=new Ot(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ut[e]=new Ot(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInl
33ine readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ut[e]=new Ot(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){ut[e]=new Ot(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){ut[e]=new Ot(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){ut[e]=new Ot(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){ut[e]=new Ot(e,5,!1,e.toLowerCase(),null,!1,!1)});var Vf=/[\-:]([a-z])/g;function Kf(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Vf,Kf);ut[t]=new Ot(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Vf,Kf);ut[t]=new Ot(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Vf,Kf);ut[t]=new Ot(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){ut[e]=new Ot(e,1,!1,e.toLowerCase(),null,!1,!1)}),ut.xlinkHref=new Ot("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){ut[e]=new Ot(e,1,!1,e.toLowerCase(),null,!0,!0)});function Gf(e,t,n,r){var i=ut.hasOwnProperty(t)?ut[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(ID(t,n,i,r)&&(n=null),r||i===null?CD(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var hr=ED.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,gs=Symbol.for("react.element"),Xi=Symbol.for("react.portal"),eo=Symbol.for("react.fragment"),Qf=Symbol.for("react.strict_mode"),Yf=Symbol.for("react.profiler"),g1=Symbol.for("react.provider"),v1=Symbol.for("react.context"),qf=Symbol.for("react.forward_ref"),Jf=Symbol.for("react.suspense"),Zf=Symbol.for("react.suspense_list"),Xf=Symbol.for("react.memo"),Pr=Symbol.for("react.lazy"),y1=Symbol.for("react.offscreen"),b1=Symbol.iterator;function ma(e){return e===null||typeof e!="object"?null:(e=b1&&e[b1]||e["@@iterator"],typeof e=="function"?e:null)}var je=Object.assign,ed;function ga(e){if(ed===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);ed=t&&t[1]||""}return` 34`+ed+e}var td=!1;function nd(e,t){if(!e||td)return"";td=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(` 35`),o=r.stack.split(` 36`),a=i.length-1,l=o.length-1;1<=a&&0<=l&&i[a]!==o[l];)l--;for(;1<=a&&0<=l;a--,l--)if(i[a]!==o[l]){if(a!==1||l!==1)do if(a--,l--,0>l||i[a]!==o[l]){var s=` 37`+i[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=a&&0<=l);break}}}finally{td=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ga(e):""}function TD(e){switch(e.tag){case 5:return ga(e.type);case 16:return ga("Lazy");case 13:return ga("Suspense");case 19:return ga("SuspenseList");case 0:case 2:case 15:return e=nd(e.type,!1),e;case 11:return e=nd(e.type.render,!1),e;case 1:return e=nd(e.type,!0),e;default:return""}}function rd(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case eo:return"Fragment";case Xi:return"Portal";case Yf:return"Profiler";case Qf:return"StrictMode";case Jf:return"Suspense";case Zf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case v1:return(e.displayName||"Context")+".Consumer";case g1:return(e._context.displayName||"Context")+".Provider";case qf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Xf:return t=e.displayName||null,t!==null?t:rd(e.type)||"Memo";case Pr:t=e._payload,e=e._init;try{return rd(e(t))}catch{}}return null}function OD(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return rd(t);case 8:return t===Qf?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function _r(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function w1(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function PD(e){var t=w1(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function vs(e){e._valueTracker||(e._valueTracker=PD(e))}function S1(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=w1(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ys(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function id(e,t){var n=t.checked;return je({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function x1(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=_r(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function k1(e,t){t=t.checked,t!=null&&Gf(e,"checked",t,!1)}function od(e,t){k1(e,t);var n=_r(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ad(e,t.type,n):t.hasOwnProperty("defaultValue")&&ad(e,t.type,_r(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function E1(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}
vendor: 12,109 bytes, line 37
37function ad(e,t,n){(t!=="number"||ys(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var va=Array.isArray;function to(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+_r(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function ld(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(H(91));return je({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function $1(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(H(92));if(va(n)){if(1<n.length)throw Error(H(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:_r(n)}}function C1(e,t){var n=_r(t.value),r=_r(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function A1(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function I1(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function sd(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?I1(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var bs,T1=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(bs=bs||document.createElement("div"),bs.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=bs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ya(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ba={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},_D=["Webkit","ms","Moz","O"];Object.keys(ba).forEach(function(e){_D.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ba[t]=ba[e]})});function O1(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ba.hasOwnProperty(e)&&ba[e]?(""+t).trim():t+"px"}function P1(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=O1(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var RD=je({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ud(e,t){if(t){if(RD[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(H(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(H(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(H(61))}if(t.style!=null&&typeof t.style!="object")throw Error(H(62))}}function cd(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var fd=null;function dd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var pd=null,no=null,ro=null;function _1(e){if(e=za(e)){if(typeof pd!="function")throw Error(H(280));var t=e.stateNode;t&&(t=Us(t),pd(e.stateNode,e.type,t))}}function R1(e){no?ro?ro.push(e):ro=[e]:no=e}function N1(){if(no){var e=no,t=ro;if(ro=no=null,_1(e),t)for(e=0;e<t.length;e++)_1(t[e])}}function M1(e,t){return e(t)}function D1(){}var hd=!1;function L1(e,t,n){if(hd)return e(t,n);hd=!0;try{return M1(e,t,n)}finally{hd=!1,(no!==null||ro!==null)&&(D1(),N1())}}function wa(e,t){var n=e.stateNode;if(n===null)return null;var r=Us(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(H(231,t,typeof n));return n}var md=!1;if(pr)try{var Sa={};Object.defineProperty(Sa,"passive",{get:function(){md=!0}}),window.addEventListener("test",Sa,Sa),window.removeEventListener("test",Sa,Sa)}catch{md=!1}function ND(e,t,n,r,i,o,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var xa=!1,ws=null,Ss=!1,gd=null,MD={onError:function(e){xa=!0,ws=e}};function DD(e,t,n,r,i,o,a,l,s){xa=!1,ws=null,ND.apply(MD,arguments)}function LD(e,t,n,r,i,o,a,l,s){if(DD.apply(this,arguments),xa){if(xa){var u=ws;xa=!1,ws=null}else throw Error(H(198));Ss||(Ss=!0,gd=u)}}function gi(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function j1(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function F1(e){if(gi(e)!==e)throw Error(H(188))}function jD(e){var t=e.alternate;if(!t){if(t=gi(e),t===null)throw Error(H(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return F1(i),e;if(o===r)return F1(i),t;o=o.sibling}throw Error(H(188))}if(n.return!==r.return)n=i,r=o;else{for(var a=!1,l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}if(!a){for(l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a)throw Error(H(189))}}if(n.alternate!==r)throw Error(H(190))}if(n.tag!==3)throw Error(H(188));return n.stateNode.current===n?e:t}function B1(e){return e=jD(e),e!==null?z1(e):null}function z1(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=z1(e);if(t!==null)return t;e=e.sibling}return null}var U1=Qt.unstable_scheduleCallback,H1=Qt.unstable_cancelCallback,FD=Qt.unstable_shouldYield,BD=Qt.unstable_requestPaint,Ge=Qt.unstable_now,zD=Qt.unstable_getCurrentPriorityLevel,vd=Qt.unstable_ImmediatePriority,W1=Qt.unstable_UserBlockingPriority,xs=Qt.unstable_NormalPriority,UD=Qt.unstable_LowPriority,V1=Qt.unstable_IdlePriority,ks=null,Wn=null;function HD(e){if(Wn&&typeof Wn.onCommitFiberRoot=="function")try{Wn.onCommitFiberRoot(ks,e,void 0,(e.current.flags&128)===128)}catch{}}var En=Math.clz32?Math.clz32:KD,WD=Math.log,VD=Math.LN2;function KD(e){return e>>>=0,e===0?32:31-(WD(e)/VD|0)|0}var Es=64,$s=4194304;function ka(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Cs(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~i;l!==0?r=ka(l):(o&=a,o!==0&&(r=ka(o)))}else a=n&~i,a!==0?r=ka(a):o!==0&&(r=ka(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-En(t),i=1<<n,r|=e[n],t&=~i;return r}function GD(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function QD(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-En(o),l=1<<a,s=i[a];s===-1?(!(l&n)||l&r)&&(i[a]=GD(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}}function yd(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function K1(){var e=Es;return Es<<=1,!(Es&4194240)&&(Es=64),e}function bd(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ea(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-En(t),e[t]=n}function YD(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-En(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function wd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-En(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var ke=0;function G1(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Q1,Sd,Y1,q1,J1,xd=!1,As=[],Rr=null,Nr=null,Mr=null,$a=new Map,Ca=new Map,Dr=[],qD="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Z1(e,t){switch(e){case"focusin":case"focusout":Rr=null;break;case"dragenter":case"dragleave":Nr=null;break;case"mouseover":case"mouseout":Mr=null;break;case"pointerover":case"pointerout":$a.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ca.delete(t.pointerId)}}function Aa(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=za(t),t!==null&&Sd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function JD(e,t,n,r,i){switch(t){case"focusin":return Rr=Aa(Rr,e,t,n,r,i),!0;case"dragenter":return Nr=Aa(Nr,e,t,n,r,i),!0;case"mouseover":return Mr=Aa(Mr,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return $a.set(o,Aa($a.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Ca.set(o,Aa(Ca.get(o)||null,e,t,n,r,i)),!0}return!1}function X1(e){var t=vi(e.target);if(t!==null){var n=gi(t);if(n!==null){if(t=n.tag,t===13){if(t=j1(n),t!==null){e.blockedOn=t,J1(e.priority,function(){Y1(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Is(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ed(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);fd=r,n.target.dispatchEvent(r),fd=null}else return t=za(n),t!==null&&Sd(t),e.blockedOn=n,!1;t.shift()}return!0}function e0(e,t,n){Is(e)&&n.delete(t)}function ZD(){xd=!1,Rr!==null&&Is(Rr)&&(Rr=null),Nr!==null&&Is(Nr)&&(Nr=null),Mr!==null&&Is(Mr)&&(Mr=null),$a.forEach(e0),Ca.forEac
vendor: 11,826 bytes, line 37
37h(e0)}function Ia(e,t){e.blockedOn===t&&(e.blockedOn=null,xd||(xd=!0,Qt.unstable_scheduleCallback(Qt.unstable_NormalPriority,ZD)))}function Ta(e){function t(i){return Ia(i,e)}if(0<As.length){Ia(As[0],e);for(var n=1;n<As.length;n++){var r=As[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Rr!==null&&Ia(Rr,e),Nr!==null&&Ia(Nr,e),Mr!==null&&Ia(Mr,e),$a.forEach(t),Ca.forEach(t),n=0;n<Dr.length;n++)r=Dr[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Dr.length&&(n=Dr[0],n.blockedOn===null);)X1(n),n.blockedOn===null&&Dr.shift()}var io=hr.ReactCurrentBatchConfig,Ts=!0;function XD(e,t,n,r){var i=ke,o=io.transition;io.transition=null;try{ke=1,kd(e,t,n,r)}finally{ke=i,io.transition=o}}function eL(e,t,n,r){var i=ke,o=io.transition;io.transition=null;try{ke=4,kd(e,t,n,r)}finally{ke=i,io.transition=o}}function kd(e,t,n,r){if(Ts){var i=Ed(e,t,n,r);if(i===null)zd(e,t,r,Os,n),Z1(e,r);else if(JD(i,e,t,n,r))r.stopPropagation();else if(Z1(e,r),t&4&&-1<qD.indexOf(e)){for(;i!==null;){var o=za(i);if(o!==null&&Q1(o),o=Ed(e,t,n,r),o===null&&zd(e,t,r,Os,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else zd(e,t,r,null,n)}}var Os=null;function Ed(e,t,n,r){if(Os=null,e=dd(r),e=vi(e),e!==null)if(t=gi(e),t===null)e=null;else if(n=t.tag,n===13){if(e=j1(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Os=e,null}function t0(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(zD()){case vd:return 1;case W1:return 4;case xs:case UD:return 16;case V1:return 536870912;default:return 16}default:return 16}}var Lr=null,$d=null,Ps=null;function n0(){if(Ps)return Ps;var e,t=$d,n=t.length,r,i="value"in Lr?Lr.value:Lr.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===i[o-r];r++);return Ps=i.slice(e,1<r?1-r:void 0)}function _s(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Rs(){return!0}function r0(){return!1}function Yt(e){function t(n,r,i,o,a){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=a,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(o):o[l]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Rs:r0,this.isPropagationStopped=r0,this}return je(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Rs)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Rs)},persist:function(){},isPersistent:Rs}),t}var oo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Cd=Yt(oo),Oa=je({},oo,{view:0,detail:0}),tL=Yt(Oa),Ad,Id,Pa,Ns=je({},Oa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Od,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Pa&&(Pa&&e.type==="mousemove"?(Ad=e.screenX-Pa.screenX,Id=e.screenY-Pa.screenY):Id=Ad=0,Pa=e),Ad)},movementY:function(e){return"movementY"in e?e.movementY:Id}}),i0=Yt(Ns),nL=je({},Ns,{dataTransfer:0}),rL=Yt(nL),iL=je({},Oa,{relatedTarget:0}),Td=Yt(iL),oL=je({},oo,{animationName:0,elapsedTime:0,pseudoElement:0}),aL=Yt(oL),lL=je({},oo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),sL=Yt(lL),uL=je({},oo,{data:0}),o0=Yt(uL),cL={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},fL={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},dL={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function pL(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=dL[e])?!!t[e]:!1}function Od(){return pL}var hL=je({},Oa,{key:function(e){if(e.key){var t=cL[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=_s(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?fL[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Od,charCode:function(e){return e.type==="keypress"?_s(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?_s(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),mL=Yt(hL),gL=je({},Ns,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),a0=Yt(gL),vL=je({},Oa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Od}),yL=Yt(vL),bL=je({},oo,{propertyName:0,elapsedTime:0,pseudoElement:0}),wL=Yt(bL),SL=je({},Ns,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),xL=Yt(SL),kL=[9,13,27,32],Pd=pr&&"CompositionEvent"in window,_a=null;pr&&"documentMode"in document&&(_a=document.documentMode);var EL=pr&&"TextEvent"in window&&!_a,l0=pr&&(!Pd||_a&&8<_a&&11>=_a),s0=" ",u0=!1;function c0(e,t){switch(e){case"keyup":return kL.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function f0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ao=!1;function $L(e,t){switch(e){case"compositionend":return f0(t);case"keypress":return t.which!==32?null:(u0=!0,s0);case"textInput":return e=t.data,e===s0&&u0?null:e;default:return null}}function CL(e,t){if(ao)return e==="compositionend"||!Pd&&c0(e,t)?(e=n0(),Ps=$d=Lr=null,ao=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return l0&&t.locale!=="ko"?null:t.data;default:return null}}var AL={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function d0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!AL[e.type]:t==="textarea"}function p0(e,t,n,r){R1(r),t=Fs(t,"onChange"),0<t.length&&(n=new Cd("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Ra=null,Na=null;function IL(e){P0(e,0)}function Ms(e){var t=fo(e);if(S1(t))return e}function TL(e,t){if(e==="change")return t}var h0=!1;if(pr){var _d;if(pr){var Rd="oninput"in document;if(!Rd){var m0=document.createElement("div");m0.setAttribute("oninput","return;"),Rd=typeof m0.oninput=="function"}_d=Rd}else _d=!1;h0=_d&&(!document.documentMode||9<document.documentMode)}function g0(){Ra&&(Ra.detachEvent("onpropertychange",v0),Na=Ra=null)}function v0(e){if(e.propertyName==="value"&&Ms(Na)){var t=[];p0(t,Na,e,dd(e)),L1(IL,t)}}function OL(e,t,n){e==="focusin"?(g0(),Ra=t,Na=n,Ra.attachEvent("onpropertychange",v0)):e==="focusout"&&g0()}function PL(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ms(Na)}function _L(e,t){if(e==="click")return Ms(t)}function RL(e,t){if(e==="input"||e==="change")return Ms(t)}function NL(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var $n=typeof Object.is=="function"?Object.is:NL;function Ma(e,t){if($n(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Wf.call(t,i)||!$n(e[i],t[i]))return!1}return!0}function y0(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function b0(e,t){var n=y0(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=y0(n)}}function w0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?w0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function S0(){for(var e=window,t=ys();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ys(e.document)}return t}function Nd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function ML(e){var t=S0(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&w0(n.ownerDocument.documentElement,n)){if(r!==null&&Nd(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=b0(n,o);var a=b0(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var DL=pr&&"documentMode"in document&&11>=document.documentMode,lo=null,Md=null,Da=null,Dd=!1;function x0(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Dd||lo==null||lo!==ys(r)||(r=lo,"selectionStart"in r&&Nd(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 8,594 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),Da&&Ma(Da,r)||(Da=r,r=Fs(Md,"onSelect"),0<r.length&&(t=new Cd("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=lo)))}function Ds(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var so={animationend:Ds("Animation","AnimationEnd"),animationiteration:Ds("Animation","AnimationIteration"),animationstart:Ds("Animation","AnimationStart"),transitionend:Ds("Transition","TransitionEnd")},Ld={},k0={};pr&&(k0=document.createElement("div").style,"AnimationEvent"in window||(delete so.animationend.animation,delete so.animationiteration.animation,delete so.animationstart.animation),"TransitionEvent"in window||delete so.transitionend.transition);function Ls(e){if(Ld[e])return Ld[e];if(!so[e])return e;var t=so[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in k0)return Ld[e]=t[n];return e}var E0=Ls("animationend"),$0=Ls("animationiteration"),C0=Ls("animationstart"),A0=Ls("transitionend"),I0=new Map,T0="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function jr(e,t){I0.set(e,t),mi(t,[e])}for(var jd=0;jd<T0.length;jd++){var Fd=T0[jd],LL=Fd.toLowerCase(),jL=Fd[0].toUpperCase()+Fd.slice(1);jr(LL,"on"+jL)}jr(E0,"onAnimationEnd"),jr($0,"onAnimationIteration"),jr(C0,"onAnimationStart"),jr("dblclick","onDoubleClick"),jr("focusin","onFocus"),jr("focusout","onBlur"),jr(A0,"onTransitionEnd"),Zi("onMouseEnter",["mouseout","mouseover"]),Zi("onMouseLeave",["mouseout","mouseover"]),Zi("onPointerEnter",["pointerout","pointerover"]),Zi("onPointerLeave",["pointerout","pointerover"]),mi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),mi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),mi("onBeforeInput",["compositionend","keypress","textInput","paste"]),mi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),mi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),mi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var La="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),FL=new Set("cancel close invalid load scroll toggle".split(" ").concat(La));function O0(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,LD(r,t,void 0,e),e.currentTarget=null}function P0(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&i.isPropagationStopped())break e;O0(i,l,u),o=s}else for(a=0;a<r.length;a++){if(l=r[a],s=l.instance,u=l.currentTarget,l=l.listener,s!==o&&i.isPropagationStopped())break e;O0(i,l,u),o=s}}}if(Ss)throw e=gd,Ss=!1,gd=null,e}function Re(e,t){var n=t[Gd];n===void 0&&(n=t[Gd]=new Set);var r=e+"__bubble";n.has(r)||(_0(t,e,2,!1),n.add(r))}function Bd(e,t,n){var r=0;t&&(r|=4),_0(n,e,r,t)}var js="_reactListening"+Math.random().toString(36).slice(2);function ja(e){if(!e[js]){e[js]=!0,p1.forEach(function(n){n!=="selectionchange"&&(FL.has(n)||Bd(n,!1,e),Bd(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[js]||(t[js]=!0,Bd("selectionchange",!1,t))}}function _0(e,t,n,r){switch(t0(t)){case 1:var i=XD;break;case 4:i=eL;break;default:i=kd}n=i.bind(null,t,n,e),i=void 0,!md||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function zd(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var l=r.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(a===4)for(a=r.return;a!==null;){var s=a.tag;if((s===3||s===4)&&(s=a.stateNode.containerInfo,s===i||s.nodeType===8&&s.parentNode===i))return;a=a.return}for(;l!==null;){if(a=vi(l),a===null)return;if(s=a.tag,s===5||s===6){r=o=a;continue e}l=l.parentNode}}r=r.return}L1(function(){var u=o,c=dd(n),f=[];e:{var p=I0.get(e);if(p!==void 0){var d=Cd,m=e;switch(e){case"keypress":if(_s(n)===0)break e;case"keydown":case"keyup":d=mL;break;case"focusin":m="focus",d=Td;break;case"focusout":m="blur",d=Td;break;case"beforeblur":case"afterblur":d=Td;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":d=i0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":d=rL;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":d=yL;break;case E0:case $0:case C0:d=aL;break;case A0:d=wL;break;case"scroll":d=tL;break;case"wheel":d=xL;break;case"copy":case"cut":case"paste":d=sL;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":d=a0}var v=(t&4)!==0,b=!v&&e==="scroll",h=v?p!==null?p+"Capture":null:p;v=[];for(var g=u,y;g!==null;){y=g;var S=y.stateNode;if(y.tag===5&&S!==null&&(y=S,h!==null&&(S=wa(g,h),S!=null&&v.push(Fa(g,S,y)))),b)break;g=g.return}0<v.length&&(p=new d(p,m,null,n,c),f.push({event:p,listeners:v}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",d=e==="mouseout"||e==="pointerout",p&&n!==fd&&(m=n.relatedTarget||n.fromElement)&&(vi(m)||m[mr]))break e;if((d||p)&&(p=c.window===c?c:(p=c.ownerDocument)?p.defaultView||p.parentWindow:window,d?(m=n.relatedTarget||n.toElement,d=u,m=m?vi(m):null,m!==null&&(b=gi(m),m!==b||m.tag!==5&&m.tag!==6)&&(m=null)):(d=null,m=u),d!==m)){if(v=i0,S="onMouseLeave",h="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(v=a0,S="onPointerLeave",h="onPointerEnter",g="pointer"),b=d==null?p:fo(d),y=m==null?p:fo(m),p=new v(S,g+"leave",d,n,c),p.target=b,p.relatedTarget=y,S=null,vi(c)===u&&(v=new v(h,g+"enter",m,n,c),v.target=y,v.relatedTarget=b,S=v),b=S,d&&m)t:{for(v=d,h=m,g=0,y=v;y;y=uo(y))g++;for(y=0,S=h;S;S=uo(S))y++;for(;0<g-y;)v=uo(v),g--;for(;0<y-g;)h=uo(h),y--;for(;g--;){if(v===h||h!==null&&v===h.alternate)break t;v=uo(v),h=uo(h)}v=null}else v=null;d!==null&&R0(f,p,d,v,!1),m!==null&&b!==null&&R0(f,b,m,v,!0)}}e:{if(p=u?fo(u):window,d=p.nodeName&&p.nodeName.toLowerCase(),d==="select"||d==="input"&&p.type==="file")var $=TL;else if(d0(p))if(h0)$=RL;else{$=PL;var x=OL}else(d=p.nodeName)&&d.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&($=_L);if($&&($=$(e,u))){p0(f,$,n,c);break e}x&&x(e,p,u),e==="focusout"&&(x=p._wrapperState)&&x.controlled&&p.type==="number"&&ad(p,"number",p.value)}switch(x=u?fo(u):window,e){case"focusin":(d0(x)||x.contentEditable==="true")&&(lo=x,Md=u,Da=null);break;case"focusout":Da=Md=lo=null;break;case"mousedown":Dd=!0;break;case"contextmenu":case"mouseup":case"dragend":Dd=!1,x0(f,n,c);break;case"selectionchange":if(DL)break;case"keydown":case"keyup":x0(f,n,c)}var A;if(Pd)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else ao?c0(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(l0&&n.locale!=="ko"&&(ao||T!=="onCompositionStart"?T==="onCompositionEnd"&&ao&&(A=n0()):(Lr=c,$d="value"in Lr?Lr.value:Lr.textContent,ao=!0)),x=Fs(u,T),0<x.length&&(T=new o0(T,e,null,n,c),f.push({event:T,listeners:x}),A?T.data=A:(A=f0(n),A!==null&&(T.data=A)))),(A=EL?$L(e,n):CL(e,n))&&(u=Fs(u,"onBeforeInput"),0<u.length&&(c=new o0("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:u}),c.data=A))}P0(f,t)})}function Fa(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Fs(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;
vendor: 4,115 bytes, lines 37-38
37i.tag===5&&o!==null&&(i=o,o=wa(e,n),o!=null&&r.unshift(Fa(e,o,i)),o=wa(e,t),o!=null&&r.push(Fa(e,o,i))),e=e.return}return r}function uo(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function R0(e,t,n,r,i){for(var o=t._reactName,a=[];n!==null&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(s!==null&&s===r)break;l.tag===5&&u!==null&&(l=u,i?(s=wa(n,o),s!=null&&a.unshift(Fa(n,s,l))):i||(s=wa(n,o),s!=null&&a.push(Fa(n,s,l)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var BL=/\r\n?/g,zL=/\u0000|\uFFFD/g;function N0(e){return(typeof e=="string"?e:""+e).replace(BL,` 38`).replace(zL,"")}function Bs(e,t,n){if(t=N0(t),N0(e)!==t&&n)throw Error(H(425))}function zs(){}var Ud=null,Hd=null;function Wd(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Vd=typeof setTimeout=="function"?setTimeout:void 0,UL=typeof clearTimeout=="function"?clearTimeout:void 0,M0=typeof Promise=="function"?Promise:void 0,HL=typeof queueMicrotask=="function"?queueMicrotask:typeof M0<"u"?function(e){return M0.resolve(null).then(e).catch(WL)}:Vd;function WL(e){setTimeout(function(){throw e})}function Kd(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Ta(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Ta(t)}function Fr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function D0(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var co=Math.random().toString(36).slice(2),Vn="__reactFiber$"+co,Ba="__reactProps$"+co,mr="__reactContainer$"+co,Gd="__reactEvents$"+co,VL="__reactListeners$"+co,KL="__reactHandles$"+co;function vi(e){var t=e[Vn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mr]||n[Vn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=D0(e);e!==null;){if(n=e[Vn])return n;e=D0(e)}return t}e=n,n=e.parentNode}return null}function za(e){return e=e[Vn]||e[mr],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function fo(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(H(33))}function Us(e){return e[Ba]||null}var Qd=[],po=-1;function Br(e){return{current:e}}function Ne(e){0>po||(e.current=Qd[po],Qd[po]=null,po--)}function Oe(e,t){po++,Qd[po]=e.current,e.current=t}var zr={},yt=Br(zr),Mt=Br(!1),yi=zr;function ho(e,t){var n=e.type.contextTypes;if(!n)return zr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Dt(e){return e=e.childContextTypes,e!=null}function Hs(){Ne(Mt),Ne(yt)}function L0(e,t,n){if(yt.current!==zr)throw Error(H(168));Oe(yt,t),Oe(Mt,n)}function j0(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(H(108,OD(e)||"Unknown",i));return je({},n,r)}function Ws(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||zr,yi=yt.current,Oe(yt,e),Oe(Mt,Mt.current),!0}function F0(e,t,n){var r=e.stateNode;if(!r)throw Error(H(169));n?(e=j0(e,t,yi),r.__reactInternalMemoizedMergedChildContext=e,Ne(Mt),Ne(yt),Oe(yt,e)):Ne(Mt),Oe(Mt,n)}var gr=null,Vs=!1,Yd=!1;function B0(e){gr===null?gr=[e]:gr.push(e)}function GL(e){Vs=!0,B0(e)}function Ur(){if(!Yd&&gr!==null){Yd=!0;var e=0,t=ke;try{var n=gr;for(ke=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}gr=null,Vs=!1}catch(i){throw gr!==null&&(gr=gr.slice(e+1)),U1(vd,Ur),i}finally{ke=t,Yd=!1}}return null}var mo=[],go=0,Ks=null,Gs=0,sn=[],un=0,bi=null,vr=1,yr="";function wi(e,t){mo[go++]=Gs,mo[go++]=Ks,Ks=e,Gs=t}
vendor: 16,261 bytes, line 38
38function z0(e,t,n){sn[un++]=vr,sn[un++]=yr,sn[un++]=bi,bi=e;var r=vr;e=yr;var i=32-En(r)-1;r&=~(1<<i),n+=1;var o=32-En(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,vr=1<<32-En(t)+i|n<<i|r,yr=o+e}else vr=1<<o|n<<i|r,yr=e}function qd(e){e.return!==null&&(wi(e,1),z0(e,1,0))}function Jd(e){for(;e===Ks;)Ks=mo[--go],mo[go]=null,Gs=mo[--go],mo[go]=null;for(;e===bi;)bi=sn[--un],sn[un]=null,yr=sn[--un],sn[un]=null,vr=sn[--un],sn[un]=null}var qt=null,Jt=null,Le=!1,Cn=null;function U0(e,t){var n=pn(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function H0(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,qt=e,Jt=Fr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,qt=e,Jt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=bi!==null?{id:vr,overflow:yr}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=pn(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,qt=e,Jt=null,!0):!1;default:return!1}}function Zd(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Xd(e){if(Le){var t=Jt;if(t){var n=t;if(!H0(e,t)){if(Zd(e))throw Error(H(418));t=Fr(n.nextSibling);var r=qt;t&&H0(e,t)?U0(r,n):(e.flags=e.flags&-4097|2,Le=!1,qt=e)}}else{if(Zd(e))throw Error(H(418));e.flags=e.flags&-4097|2,Le=!1,qt=e}}}function W0(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;qt=e}function Qs(e){if(e!==qt)return!1;if(!Le)return W0(e),Le=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Wd(e.type,e.memoizedProps)),t&&(t=Jt)){if(Zd(e))throw V0(),Error(H(418));for(;t;)U0(e,t),t=Fr(t.nextSibling)}if(W0(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(H(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Jt=Fr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Jt=null}}else Jt=qt?Fr(e.stateNode.nextSibling):null;return!0}function V0(){for(var e=Jt;e;)e=Fr(e.nextSibling)}function vo(){Jt=qt=null,Le=!1}function ep(e){Cn===null?Cn=[e]:Cn.push(e)}var QL=hr.ReactCurrentBatchConfig;function Ua(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(H(309));var r=n.stateNode}if(!r)throw Error(H(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(a){var l=i.refs;a===null?delete l[o]:l[o]=a},t._stringRef=o,t)}if(typeof e!="string")throw Error(H(284));if(!n._owner)throw Error(H(290,e))}return e}function Ys(e,t){throw e=Object.prototype.toString.call(t),Error(H(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function K0(e){var t=e._init;return t(e._payload)}function G0(e){function t(h,g){if(e){var y=h.deletions;y===null?(h.deletions=[g],h.flags|=16):y.push(g)}}function n(h,g){if(!e)return null;for(;g!==null;)t(h,g),g=g.sibling;return null}function r(h,g){for(h=new Map;g!==null;)g.key!==null?h.set(g.key,g):h.set(g.index,g),g=g.sibling;return h}function i(h,g){return h=qr(h,g),h.index=0,h.sibling=null,h}function o(h,g,y){return h.index=y,e?(y=h.alternate,y!==null?(y=y.index,y<g?(h.flags|=2,g):y):(h.flags|=2,g)):(h.flags|=1048576,g)}function a(h){return e&&h.alternate===null&&(h.flags|=2),h}function l(h,g,y,S){return g===null||g.tag!==6?(g=Vp(y,h.mode,S),g.return=h,g):(g=i(g,y),g.return=h,g)}function s(h,g,y,S){var $=y.type;return $===eo?c(h,g,y.props.children,S,y.key):g!==null&&(g.elementType===$||typeof $=="object"&&$!==null&&$.$$typeof===Pr&&K0($)===g.type)?(S=i(g,y.props),S.ref=Ua(h,g,y),S.return=h,S):(S=bu(y.type,y.key,y.props,null,h.mode,S),S.ref=Ua(h,g,y),S.return=h,S)}function u(h,g,y,S){return g===null||g.tag!==4||g.stateNode.containerInfo!==y.containerInfo||g.stateNode.implementation!==y.implementation?(g=Kp(y,h.mode,S),g.return=h,g):(g=i(g,y.children||[]),g.return=h,g)}function c(h,g,y,S,$){return g===null||g.tag!==7?(g=Ii(y,h.mode,S,$),g.return=h,g):(g=i(g,y),g.return=h,g)}function f(h,g,y){if(typeof g=="string"&&g!==""||typeof g=="number")return g=Vp(""+g,h.mode,y),g.return=h,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case gs:return y=bu(g.type,g.key,g.props,null,h.mode,y),y.ref=Ua(h,null,g),y.return=h,y;case Xi:return g=Kp(g,h.mode,y),g.return=h,g;case Pr:var S=g._init;return f(h,S(g._payload),y)}if(va(g)||ma(g))return g=Ii(g,h.mode,y,null),g.return=h,g;Ys(h,g)}return null}function p(h,g,y,S){var $=g!==null?g.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return $!==null?null:l(h,g,""+y,S);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case gs:return y.key===$?s(h,g,y,S):null;case Xi:return y.key===$?u(h,g,y,S):null;case Pr:return $=y._init,p(h,g,$(y._payload),S)}if(va(y)||ma(y))return $!==null?null:c(h,g,y,S,null);Ys(h,y)}return null}function d(h,g,y,S,$){if(typeof S=="string"&&S!==""||typeof S=="number")return h=h.get(y)||null,l(g,h,""+S,$);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case gs:return h=h.get(S.key===null?y:S.key)||null,s(g,h,S,$);case Xi:return h=h.get(S.key===null?y:S.key)||null,u(g,h,S,$);case Pr:var x=S._init;return d(h,g,y,x(S._payload),$)}if(va(S)||ma(S))return h=h.get(y)||null,c(g,h,S,$,null);Ys(g,S)}return null}function m(h,g,y,S){for(var $=null,x=null,A=g,T=g=0,j=null;A!==null&&T<y.length;T++){A.index>T?(j=A,A=null):j=A.sibling;var C=p(h,A,y[T],S);if(C===null){A===null&&(A=j);break}e&&A&&C.alternate===null&&t(h,A),g=o(C,g,T),x===null?$=C:x.sibling=C,x=C,A=j}if(T===y.length)return n(h,A),Le&&wi(h,T),$;if(A===null){for(;T<y.length;T++)A=f(h,y[T],S),A!==null&&(g=o(A,g,T),x===null?$=A:x.sibling=A,x=A);return Le&&wi(h,T),$}for(A=r(h,A);T<y.length;T++)j=d(A,h,T,y[T],S),j!==null&&(e&&j.alternate!==null&&A.delete(j.key===null?T:j.key),g=o(j,g,T),x===null?$=j:x.sibling=j,x=j);return e&&A.forEach(function(O){return t(h,O)}),Le&&wi(h,T),$}function v(h,g,y,S){var $=ma(y);if(typeof $!="function")throw Error(H(150));if(y=$.call(y),y==null)throw Error(H(151));for(var x=$=null,A=g,T=g=0,j=null,C=y.next();A!==null&&!C.done;T++,C=y.next()){A.index>T?(j=A,A=null):j=A.sibling;var O=p(h,A,C.value,S);if(O===null){A===null&&(A=j);break}e&&A&&O.alternate===null&&t(h,A),g=o(O,g,T),x===null?$=O:x.sibling=O,x=O,A=j}if(C.done)return n(h,A),Le&&wi(h,T),$;if(A===null){for(;!C.done;T++,C=y.next())C=f(h,C.value,S),C!==null&&(g=o(C,g,T),x===null?$=C:x.sibling=C,x=C);return Le&&wi(h,T),$}for(A=r(h,A);!C.done;T++,C=y.next())C=d(A,h,T,C.value,S),C!==null&&(e&&C.alternate!==null&&A.delete(C.key===null?T:C.key),g=o(C,g,T),x===null?$=C:x.sibling=C,x=C);return e&&A.forEach(function(D){return t(h,D)}),Le&&wi(h,T),$}function b(h,g,y,S){if(typeof y=="object"&&y!==null&&y.type===eo&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case gs:e:{for(var $=y.key,x=g;x!==null;){if(x.key===$){if($=y.type,$===eo){if(x.tag===7){n(h,x.sibling),g=i(x,y.props.children),g.return=h,h=g;break e}}else if(x.elementType===$||typeof $=="object"&&$!==null&&$.$$typeof===Pr&&K0($)===x.type){n(h,x.sibling),g=i(x,y.props),g.ref=Ua(h,x,y),g.return=h,h=g;break e}n(h,x);break}else t(h,x);x=x.sibling}y.type===eo?(g=Ii(y.props.children,h.mode,S,y.key),g.return=h,h=g):(S=bu(y.type,y.key,y.props,null,h.mode,S),S.ref=Ua(h,g,y),S.return=h,h=S)}return a(h);case Xi:e:{for(x=y.key;g!==null;){if(g.key===x)if(g.tag===4&&g.stateNode.containerInfo===y.containerInfo&&g.stateNode.implementation===y.implementation){n(h,g.sibling),g=i(g,y.children||[]),g.return=h,h=g;break e}else{n(h,g);break}else t(h,g);g=g.sibling}g=Kp(y,h.mode,S),g.return=h,h=g}return a(h);case Pr:return x=y._init,b(h,g,x(y._payload),S)}if(va(y))return m(h,g,y,S);if(ma(y))return v(h,g,y,S);Ys(h,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,g!==null&&g.tag===6?(n(h,g.sibling),g=i(g,y),g.return=h,h=g):(n(h,g),g=Vp(y,h.mode,S),g.return=h,h=g),a(h)):n(h,g)}return b}var yo=G0(!0),Q0=G0(!1),qs=Br(null),Js=null,bo=null,tp=null;function np(){tp=bo=Js=null}function rp(e){var t=qs.current;Ne(qs),e._currentValue=t}function ip(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function wo(e,t){Js=e,tp=bo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Lt=!0),e.firstContext=null)}function cn(e){var t=e._currentValue;if(tp!==e)if(e={context:e,memoizedValue:t,next:null},bo===null){if(Js===null)throw Error(H(308));bo=e,Js.dependencies={lanes:0,firstContext:e}}else bo=bo.next=e;return t}var Si=null;function op(e){Si===null?Si=[e]:Si.push(e)}function Y0(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,op(t)):(n.next=i.next,i.next=n),t.interleaved=n,br(e,r)}function br(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Hr=!1;function ap(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function q0(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function wr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Wr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ye&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,br(e,n)}return i=r.interleaved,i===null?(t.next=t,op(r)):(t.next=i.next,i.next=t),r.interleaved=t,br(e,n)}function Zs(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,wd(e,n)}}function J0(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=a:o=o.next=a,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Xs(e,t,n,r){var i=e.updateQueue;Hr=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var s=l,u=s.next;s.next=null,a===null?o=u:a.next=u,a=s;var c=e.alternate;c!==null&&(c=c.updateQueue,l=c.lastBaseUpdate,l!==a&&(l===null?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(o!==null){var f=i.baseState;a=0,c=u=s=null,l=o;do{var p=l.lane,d=l.eventTime;if((r&p)===p){c!==null&&(c=c.next={eventTime:d,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var m=e,v=l;switch(p=t,d=n,v.tag){case 1:if(m=v.payload,typeof m=="function"){f=m.call(d,f,p);break e}f=m;break e;case 3:m.flags=m.flags&-65537|128;case 0:if(m=v.payload,p=typeof m=="function"?m.call(d,f,p):m,p==null)break e;f=je({},f,p);break e;case 2:Hr=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,p=i.effects,p===null?i.effects=[l]:p.push(l))}else d={eventTime:d,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},c===null?(u=c=d,s=f):c=c.next=d,a|=p;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;p=l,l=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(!0);if(c===null&&(s=f),i.baseState=s,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do a|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Ei|=a,e.lanes=a,e.memoizedState=f}}function Z0(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(H(191,i));i.call(r)}}}var Ha={},Kn=Br(Ha),Wa=Br(Ha),Va=Br(Ha);function xi(e){if(e===Ha)throw Error(H(174));return e}function lp(e,t){switch(Oe(Va,t),Oe(Wa,e),Oe(Kn,Ha),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:sd(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=sd(t,e)}Ne(Kn),Oe(Kn,t)}function So(){Ne(Kn),Ne(Wa),Ne(Va)}function X0(e){xi(Va.current);var t=xi(Kn.current),n=sd(t,e.type);t!==n&&(Oe(Wa,e),Oe(Kn,n))}function sp(e){Wa.current===e&&(Ne(Kn),Ne(Wa))}var Fe=Br(0);function eu(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var up=[];function cp(){for(var e=0;e<up.length;e++)up[e]._workInProgressVersionPrimary=null;up.length=0}var tu=hr.ReactCurrentDispatcher,fp=hr.ReactCurrentBatchConfig,ki=0,Be=null,et=null,ot=null,nu=!1,Ka=!1,Ga=0,YL=0;function bt(){throw Error(H(321))}function dp(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!$n(e[n],t[n]))return!1;return!0}function pp(e,t,n,r,i,o){if(ki=o,Be=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,tu.current=e===null||e.memoizedState===null?XL:ej,e=n(r,i),Ka){o=0;do{if(Ka=!1,Ga=0,25<=o)throw Error(H(301));o+=1,ot=et=null,t.updateQueue=null,tu.current=tj,e=n(r,i)}while(Ka)}if(tu.current=ou,t=et!==null&&et.next!==null,ki=0,ot=et=Be=null,nu=!1,t)throw Error(H(300));return e}function hp(){var e=Ga!==0;return Ga=0,e}function Gn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ot===null?Be.memoizedState=ot=e:ot=ot.next=e,ot}function fn(){if(et===null){var e=Be.alternate;e=e!==null?e.memoizedState:null}else e=et.next;var t=ot===null?Be.memoizedState:ot.next;if(t!==null)ot=t,et=e;else{if(e===null)throw Error(H(310));et=e,e={memoizedState:et.memoizedState,baseState:et.baseState,baseQueue:et.baseQueue,queue:et.queue,next:null},ot===null?Be.memoizedState=ot=e:ot=ot.next=e}return ot}function Qa(e,t){return typeof t=="function"?t(e):t}function mp(e){var t=fn(),n=t.queue;if(n===null)throw Error(H(311));n.lastRenderedReducer=e;var r=et,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var a=i.next;i.next=o.next,o.next=a}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var l=a=null,s=null,u=o;do{var c=u.lane;if((ki&c)===c)s!==null&&(s=s.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};s===null?(l=s=f,a=r):s=s.next=f,Be.lanes|=c,Ei|=c}u=u.next}while(u!==null&&u!==o);s===null?a=r:s.next=l,$n(r,t.memoizedState)||(Lt=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=s,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,Be.lanes|=o,Ei|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function gp(e){var t=fn(),n=t.queue;if(n===null)throw Error(H(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var a=i=i.next;do o=e(o,a.action),a=a.next;while(a!==i);$n(o,t.memoizedState)||(Lt=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function eb(){}function tb(e,t){var n=Be,r=fn(),i=t(),o=!$n(r.memoizedState,i);if(o&&(r.memoizedState=i,Lt=!0),r=r.queue,vp(ib.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||ot!==null&&ot.memoizedState.tag&1){if(n.flags|=2048,Ya(9,rb.bind(null,n,r,i,t),void 0,null),at===null)throw Error(H(349));ki&30||nb(n,t,i)}return i}function nb(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Be.updateQueue,t===null?(t={lastEffect:null,stores:null},Be.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function rb(e,t,n,r){t.value=n,t.getSnapshot=r,ob(t)&&ab(e)}function ib(e,t,n){return n(function(){ob(t)&&ab(e)})}function ob(e){var t=e.getSnapshot;e=e.value;try{var n=t();
vendor: 4,984 bytes, line 38
38return!$n(e,n)}catch{return!0}}function ab(e){var t=br(e,1);t!==null&&On(t,e,1,-1)}function lb(e){var t=Gn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Qa,lastRenderedState:e},t.queue=e,e=e.dispatch=ZL.bind(null,Be,e),[t.memoizedState,e]}function Ya(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Be.updateQueue,t===null?(t={lastEffect:null,stores:null},Be.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function sb(){return fn().memoizedState}function ru(e,t,n,r){var i=Gn();Be.flags|=e,i.memoizedState=Ya(1|t,n,void 0,r===void 0?null:r)}function iu(e,t,n,r){var i=fn();r=r===void 0?null:r;var o=void 0;if(et!==null){var a=et.memoizedState;if(o=a.destroy,r!==null&&dp(r,a.deps)){i.memoizedState=Ya(t,n,o,r);return}}Be.flags|=e,i.memoizedState=Ya(1|t,n,o,r)}function ub(e,t){return ru(8390656,8,e,t)}function vp(e,t){return iu(2048,8,e,t)}function cb(e,t){return iu(4,2,e,t)}function fb(e,t){return iu(4,4,e,t)}function db(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function pb(e,t,n){return n=n!=null?n.concat([e]):null,iu(4,4,db.bind(null,t,e),n)}function yp(){}function hb(e,t){var n=fn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&dp(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function mb(e,t){var n=fn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&dp(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function gb(e,t,n){return ki&21?($n(n,t)||(n=K1(),Be.lanes|=n,Ei|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Lt=!0),e.memoizedState=n)}function qL(e,t){var n=ke;ke=n!==0&&4>n?n:4,e(!0);var r=fp.transition;fp.transition={};try{e(!1),t()}finally{ke=n,fp.transition=r}}function vb(){return fn().memoizedState}function JL(e,t,n){var r=Qr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},yb(e))bb(t,n);else if(n=Y0(e,t,n,r),n!==null){var i=_t();On(n,e,r,i),wb(n,t,r)}}function ZL(e,t,n){var r=Qr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(yb(e))bb(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,l=o(a,n);if(i.hasEagerState=!0,i.eagerState=l,$n(l,a)){var s=t.interleaved;s===null?(i.next=i,op(t)):(i.next=s.next,s.next=i),t.interleaved=i;return}}catch{}finally{}n=Y0(e,t,i,r),n!==null&&(i=_t(),On(n,e,r,i),wb(n,t,r))}}function yb(e){var t=e.alternate;return e===Be||t!==null&&t===Be}function bb(e,t){Ka=nu=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function wb(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,wd(e,n)}}var ou={readContext:cn,useCallback:bt,useContext:bt,useEffect:bt,useImperativeHandle:bt,useInsertionEffect:bt,useLayoutEffect:bt,useMemo:bt,useReducer:bt,useRef:bt,useState:bt,useDebugValue:bt,useDeferredValue:bt,useTransition:bt,useMutableSource:bt,useSyncExternalStore:bt,useId:bt,unstable_isNewReconciler:!1},XL={readContext:cn,useCallback:function(e,t){return Gn().memoizedState=[e,t===void 0?null:t],e},useContext:cn,useEffect:ub,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ru(4194308,4,db.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ru(4194308,4,e,t)},useInsertionEffect:function(e,t){return ru(4,2,e,t)},useMemo:function(e,t){var n=Gn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Gn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=JL.bind(null,Be,e),[r.memoizedState,e]},useRef:function(e){var t=Gn();return e={current:e},t.memoizedState=e},useState:lb,useDebugValue:yp,useDeferredValue:function(e){return Gn().memoizedState=e},useTransition:function(){var e=lb(!1),t=e[0];return e=qL.bind(null,e[1]),Gn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Be,i=Gn();if(Le){if(n===void 0)throw Error(H(407));n=n()}else{if(n=t(),at===null)throw Error(H(349));ki&30||nb(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,ub(ib.bind(null,r,o,e),[e]),r.flags|=2048,Ya(9,rb.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Gn(),t=at.identifierPrefix;if(Le){var n=yr,r=vr;n=(r&~(1<<32-En(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ga++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=YL++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ej={readContext:cn,useCallback:hb,useContext:cn,useEffect:vp,useImperativeHandle:pb,useInsertionEffect:cb,useLayoutEffect:fb,useMemo:mb,useReducer:mp,useRef:sb,useState:function(){return mp(Qa)},useDebugValue:yp,useDeferredValue:function(e){var t=fn();return gb(t,et.memoizedState,e)}
vendor: 4,930 bytes, lines 38-40
38,useTransition:function(){var e=mp(Qa)[0],t=fn().memoizedState;return[e,t]},useMutableSource:eb,useSyncExternalStore:tb,useId:vb,unstable_isNewReconciler:!1},tj={readContext:cn,useCallback:hb,useContext:cn,useEffect:vp,useImperativeHandle:pb,useInsertionEffect:cb,useLayoutEffect:fb,useMemo:mb,useReducer:gp,useRef:sb,useState:function(){return gp(Qa)},useDebugValue:yp,useDeferredValue:function(e){var t=fn();return et===null?t.memoizedState=e:gb(t,et.memoizedState,e)},useTransition:function(){var e=gp(Qa)[0],t=fn().memoizedState;return[e,t]},useMutableSource:eb,useSyncExternalStore:tb,useId:vb,unstable_isNewReconciler:!1};function An(e,t){if(e&&e.defaultProps){t=je({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function bp(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:je({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var au={isMounted:function(e){return(e=e._reactInternals)?gi(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=_t(),i=Qr(e),o=wr(r,i);o.payload=t,n!=null&&(o.callback=n),t=Wr(e,o,i),t!==null&&(On(t,e,i,r),Zs(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=_t(),i=Qr(e),o=wr(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Wr(e,o,i),t!==null&&(On(t,e,i,r),Zs(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=_t(),r=Qr(e),i=wr(n,r);i.tag=2,t!=null&&(i.callback=t),t=Wr(e,i,r),t!==null&&(On(t,e,r,n),Zs(t,e,r))}};function Sb(e,t,n,r,i,o,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,a):t.prototype&&t.prototype.isPureReactComponent?!Ma(n,r)||!Ma(i,o):!0}function xb(e,t,n){var r=!1,i=zr,o=t.contextType;return typeof o=="object"&&o!==null?o=cn(o):(i=Dt(t)?yi:yt.current,r=t.contextTypes,o=(r=r!=null)?ho(e,i):zr),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=au,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function kb(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&au.enqueueReplaceState(t,t.state,null)}function wp(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},ap(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=cn(o):(o=Dt(t)?yi:yt.current,i.context=ho(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(bp(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&au.enqueueReplaceState(i,i.state,null),Xs(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function xo(e,t){try{var n="",r=t;do n+=TD(r),r=r.return;while(r);var i=n}catch(o){i=` 39Error generating stack: `+o.message+` 40`+o.stack}return{value:e,source:t,stack:i,digest:null}}function Sp(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function xp(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var nj=typeof WeakMap=="function"?WeakMap:Map;function Eb(e,t,n){n=wr(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){pu||(pu=!0,Lp=r),xp(e,t)},n}function $b(e,t,n){n=wr(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){xp(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){xp(e,t),typeof r!="function"&&(Kr===null?Kr=new Set([this]):Kr.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function Cb(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new nj;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=gj.bind(null,e,t,n),t.then(e,e))}function Ab(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Ib(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=wr(-1,1),t.tag=2,Wr(n,t,1))),n.lanes|=1),e)}var rj=hr.ReactCurrentOwner,Lt=!1;function Pt(e,t,n,r){t.child=e===null?Q0(t,null,n,r):yo(t,e.child,n,r)}function Tb(e,t,n,r,i){n=n.render;var o=t.ref;return wo(t,i),r=pp(e,t,n,r,o,i),n=hp(),e!==null&&!Lt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Sr(e,t,i)):(Le&&n&&qd(t),t.flags|=1,Pt(e,t,r,i
vendor: 9,531 bytes, line 40
40),t.child)}function Ob(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Wp(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Pb(e,t,o,r,i)):(e=bu(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:Ma,n(a,r)&&e.ref===t.ref)return Sr(e,t,i)}return t.flags|=1,e=qr(o,r),e.ref=t.ref,e.return=t,t.child=e}function Pb(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Ma(o,r)&&e.ref===t.ref)if(Lt=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Lt=!0);else return t.lanes=e.lanes,Sr(e,t,i)}return kp(e,t,n,r,i)}function _b(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Oe(Eo,Zt),Zt|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Oe(Eo,Zt),Zt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,Oe(Eo,Zt),Zt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,Oe(Eo,Zt),Zt|=r;return Pt(e,t,i,n),t.child}function Rb(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function kp(e,t,n,r,i){var o=Dt(n)?yi:yt.current;return o=ho(t,o),wo(t,i),n=pp(e,t,n,r,o,i),r=hp(),e!==null&&!Lt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Sr(e,t,i)):(Le&&r&&qd(t),t.flags|=1,Pt(e,t,n,i),t.child)}function Nb(e,t,n,r,i){if(Dt(n)){var o=!0;Ws(t)}else o=!1;if(wo(t,i),t.stateNode===null)su(e,t),xb(t,n,r),wp(t,n,r,i),r=!0;else if(e===null){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=cn(u):(u=Dt(n)?yi:yt.current,u=ho(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";f||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==r||s!==u)&&kb(t,a,r,u),Hr=!1;var p=t.memoizedState;a.state=p,Xs(t,r,a,i),s=t.memoizedState,l!==r||p!==s||Mt.current||Hr?(typeof c=="function"&&(bp(t,n,c,r),s=t.memoizedState),(l=Hr||Sb(t,n,l,r,p,s,u))?(f||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,q0(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:An(t.type,l),a.props=u,f=t.pendingProps,p=a.context,s=n.contextType,typeof s=="object"&&s!==null?s=cn(s):(s=Dt(n)?yi:yt.current,s=ho(t,s));var d=n.getDerivedStateFromProps;(c=typeof d=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==f||p!==s)&&kb(t,a,r,s),Hr=!1,p=t.memoizedState,a.state=p,Xs(t,r,a,i);var m=t.memoizedState;l!==f||p!==m||Mt.current||Hr?(typeof d=="function"&&(bp(t,n,d,r),m=t.memoizedState),(u=Hr||Sb(t,n,u,r,p,m,s)||!1)?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,m,s),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,m,s)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),a.props=r,a.state=m,a.context=s,r=u):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Ep(e,t,n,r,o,i)}function Ep(e,t,n,r,i,o){Rb(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return i&&F0(t,n,!1),Sr(e,t,o);r=t.stateNode,rj.current=t;var l=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=yo(t,e.child,null,o),t.child=yo(t,null,l,o)):Pt(e,t,l,o),t.memoizedState=r.state,i&&F0(t,n,!0),t.child}function Mb(e){var t=e.stateNode;t.pendingContext?L0(e,t.pendingContext,t.pendingContext!==t.context):t.context&&L0(e,t.context,!1),lp(e,t.containerInfo)}function Db(e,t,n,r,i){return vo(),ep(i),t.flags|=256,Pt(e,t,n,r),t.child}var $p={dehydrated:null,treeContext:null,retryLane:0};function Cp(e){return{baseLanes:e,cachePool:null,transitions:null}}function Lb(e,t,n){var r=t.pendingProps,i=Fe.current,o=!1,a=(t.flags&128)!==0,l;if((l=a)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Oe(Fe,i&1),e===null)return Xd(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=r.children,e=r.fallback,o?(r=t.mode,o=t.child,a={mode:"hidden",children:a},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=a):o=wu(a,r,0,null),e=Ii(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Cp(n),t.memoizedState=$p,e):Ap(t,a));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return ij(e,t,a,r,l,i,n);if(o){o=r.fallback,a=t.mode,i=e.child,l=i.sibling;var s={mode:"hidden",children:r.children};return!(a&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=qr(i,s),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?o=qr(l,o):(o=Ii(o,a,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,a=e.child.memoizedState,a=a===null?Cp(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},o.memoizedState=a,o.childLanes=e.childLanes&~n,t.memoizedState=$p,r}return o=e.child,e=o.sibling,r=qr(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Ap(e,t){return t=wu({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function lu(e,t,n,r){return r!==null&&ep(r),yo(t,e.child,null,n),e=Ap(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ij(e,t,n,r,i,o,a){if(n)return t.flags&256?(t.flags&=-257,r=Sp(Error(H(422))),lu(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=wu({mode:"visible",children:r.children},i,0,null),o=Ii(o,i,a,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&yo(t,e.child,null,a),t.child.memoizedState=Cp(a),t.memoizedState=$p,o);if(!(t.mode&1))return lu(e,t,a,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,o=Error(H(419)),r=Sp(o,r,void 0),lu(e,t,a,r)}if(l=(a&e.childLanes)!==0,Lt||l){if(r=at,r!==null){switch(a&-a){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|a)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,br(e,i),On(r,e,i,-1))}return Hp(),r=Sp(Error(H(421))),lu(e,t,a,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=vj.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Jt=Fr(i.nextSibling),qt=t,Le=!0,Cn=null,e!==null&&(sn[un++]=vr,sn[un++]=yr,sn[un++]=bi,vr=e.id,yr=e.overflow,bi=t),t=Ap(t,r.children),t.flags|=4096,t)}function jb(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ip(e.return,t,n)}function Ip(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Fb(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Pt(e,t,r.children,n),r=Fe.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&jb(e,n,t);else if(e.tag===19)jb(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Oe(Fe,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&eu(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ip(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&eu(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ip(t,!0,n,null,o);break;case"together":Ip(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function su(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Sr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ei|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(H(153));
vendor: 5,438 bytes, line 40
40if(t.child!==null){for(e=t.child,n=qr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=qr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function oj(e,t,n){switch(t.tag){case 3:Mb(t),vo();break;case 5:X0(t);break;case 1:Dt(t.type)&&Ws(t);break;case 4:lp(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Oe(qs,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Oe(Fe,Fe.current&1),t.flags|=128,null):n&t.child.childLanes?Lb(e,t,n):(Oe(Fe,Fe.current&1),e=Sr(e,t,n),e!==null?e.sibling:null);Oe(Fe,Fe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Fb(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Oe(Fe,Fe.current),r)break;return null;case 22:case 23:return t.lanes=0,_b(e,t,n)}return Sr(e,t,n)}var Bb,Tp,zb,Ub;Bb=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Tp=function(){},zb=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,xi(Kn.current);var o=null;switch(n){case"input":i=id(e,i),r=id(e,r),o=[];break;case"select":i=je({},i,{value:void 0}),r=je({},r,{value:void 0}),o=[];break;case"textarea":i=ld(e,i),r=ld(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=zs)}ud(n,r);var a;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var l=i[u];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ha.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var s=r[u];if(l=i?.[u],r.hasOwnProperty(u)&&s!==l&&(s!=null||l!=null))if(u==="style")if(l){for(a in l)!l.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in s)s.hasOwnProperty(a)&&l[a]!==s[a]&&(n||(n={}),n[a]=s[a])}else n||(o||(o=[]),o.push(u,n)),n=s;else u==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,l=l?l.__html:void 0,s!=null&&l!==s&&(o=o||[]).push(u,s)):u==="children"?typeof s!="string"&&typeof s!="number"||(o=o||[]).push(u,""+s):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(ha.hasOwnProperty(u)?(s!=null&&u==="onScroll"&&Re("scroll",e),o||l===s||(o=[])):(o=o||[]).push(u,s))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},Ub=function(e,t,n,r){n!==r&&(t.flags|=4)};function qa(e,t){if(!Le)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function wt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function aj(e,t,n){var r=t.pendingProps;switch(Jd(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return wt(t),null;case 1:return Dt(t.type)&&Hs(),wt(t),null;case 3:return r=t.stateNode,So(),Ne(Mt),Ne(yt),cp(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Qs(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Cn!==null&&(Bp(Cn),Cn=null))),Tp(e,t),wt(t),null;case 5:sp(t);var i=xi(Va.current);if(n=t.type,e!==null&&t.stateNode!=null)zb(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(H(166));return wt(t),null}if(e=xi(Kn.current),Qs(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Vn]=t,r[Ba]=o,e=(t.mode&1)!==0,n){case"dialog":Re("cancel",r),Re("close",r);break;case"iframe":case"object":case"embed":Re("load",r);break;case"video":case"audio":for(i=0;i<La.length;i++)Re(La[i],r);break;case"source":Re("error",r);break;case"img":case"image":case"link":Re("error",r),Re("load",r);break;case"details":Re("toggle",r);break;case"input":x1(r,o),Re("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Re("invalid",r);break;case"textarea":$1(r,o),Re("invalid",r)}ud(n,o),i=null;for(var a in o)if(o.hasOwnProperty(a)){var l=o[a];a==="children"?typeof l=="string"?r.textContent!==l&&(o.suppressHydrationWarning!==!0&&Bs(r.textContent,l,e),i=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(o.suppressHydrationWarning!==!0&&Bs(r.textContent,l,e),i=["children",""+l]):ha.hasOwnProperty(a)&&l!=null&&a==="onScroll"&&Re("scroll",r)}switch(n){case"input":vs(r),E1(r,o,!0);break;case"textarea":vs(r),A1(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=zs)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=I1(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>
40",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Vn]=t,e[Ba]=r,Bb(e,t,!1,!1),t.stateNode=e;e:{switch(a=cd(n,r),n){case"dialog":Re("cancel",e),Re("close",e),i=r;break;case"iframe":case"object":case"embed":Re("load",e),i=r;break;case"video":case"audio":for(i=0;i<La.length;i++)Re(La[i],e);i=r;break;case"source":Re("error",e),i=r;break;case"img":case"image":case"link":Re("error",e),Re("load",e),i=r;break;case"details":Re("toggle",e),i=r;break;case"input":x1(e,r),i=id(e,r),Re("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=je({},r,{value:void 0}),Re("invalid",e);break;case"textarea":$1(e,r),i=ld(e,r),Re("invalid",e);break;default:i=r}ud(n,i),l=i;for(o in l)if(l.hasOwnProperty(o)){var s=l[o];o==="style"?P1(e,s):o==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&T1(e,s)):o==="children"?typeof s=="string"?(n!=="textarea"||s!=="")&&ya(e,s):typeof s=="number"&&ya(e,""+s):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(ha.hasOwnProperty(o)?s!=null&&o==="onScroll"&&Re("scroll",e):s!=null&&Gf(e,o,s,a))}switch(n){case"input":vs(e),E1(e,r,!1);break;case"textarea":vs(e),A1(e);break;case"option":r.value!=null&&e.setAttribute("value",""+_r(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?to(e,!!r.multiple,o,!1):r.defaultValue!=null&&to(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=zs)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return wt(t),null;case 6:if(e&&t.stateNode!=null)Ub(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(H(166));if(n=xi(Va.current),xi(Kn.current),Qs(t)){if(r=t.stateNode,n=t.memoizedProps,r[Vn]=t,(o=r.nodeValue!==n)&&(e=qt,e!==null))switch(e.tag){case 3:Bs(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Bs(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Vn]=t,t.stateNode=r}return wt(t),null;case 13:if(Ne(Fe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Le&&Jt!==null&&t.mode&1&&!(t.flags&128))V0(),vo(),t.flags|=98560,o=!1;else if(o=Qs(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(H(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(H(317));o[Vn]=t}else vo(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;wt(t),o=!1}else Cn!==null&&(Bp(Cn),Cn=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Fe.current&1?tt===0&&(tt=3):Hp())),t.updateQueue!==null&&(t.flags|=4),wt(t),null);case 4:return So(),Tp(e,t),e===null&&ja(t.stateNode.containerInfo),wt(t),null;case 10:return rp(t.type._context),wt(t),null;case 17:return Dt(t.type)&&Hs(),wt(t),null;case 19:if(Ne(Fe),o=t.memoizedState,o===null)return wt(t),null;if(r=(t.flags&128)!==0,a=o.rendering,a===null)if(r)qa(o,!1);else{if(tt!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=eu(e),a!==null){for(t.flags|=128,qa(o,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,a=o.alternate,a===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,o.type=a.type,e=a.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Oe(Fe,Fe.current&1|2),t.child}e=e.sibling}o.tail!==null&&Ge()>$o&&(t.flags|=128,r=!0,qa(o,!1),t.lanes=4194304)}else{if(!r)if(e=eu(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),qa(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!Le)return wt(t),null}else 2*Ge()-o.renderingStartTime>$o&&n!==1073741824&&(t.flags|=128,r=!0,qa(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ge(),t.sibling=null,n=Fe.current,Oe(Fe,r?n&1|2:n&1),t):(wt(t),null);case 22:case 23:return Up(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Zt&10
vendor: 25,596 bytes, line 40
4073741824&&(wt(t),t.subtreeFlags&6&&(t.flags|=8192)):wt(t),null;case 24:return null;case 25:return null}throw Error(H(156,t.tag))}function lj(e,t){switch(Jd(t),t.tag){case 1:return Dt(t.type)&&Hs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return So(),Ne(Mt),Ne(yt),cp(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return sp(t),null;case 13:if(Ne(Fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(H(340));vo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ne(Fe),null;case 4:return So(),null;case 10:return rp(t.type._context),null;case 22:case 23:return Up(),null;case 24:return null;default:return null}}var uu=!1,St=!1,sj=typeof WeakSet=="function"?WeakSet:Set,Z=null;function ko(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ve(e,t,r)}else n.current=null}function Op(e,t,n){try{n()}catch(r){Ve(e,t,r)}}var Hb=!1;function uj(e,t){if(Ud=Ts,e=S0(),Nd(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,l=-1,s=-1,u=0,c=0,f=e,p=null;t:while(!0){for(var d;f!==n||i!==0&&f.nodeType!==3||(l=a+i),f!==o||r!==0&&f.nodeType!==3||(s=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(d=f.firstChild)!==null;)p=f,f=d;for(;;){if(f===e)break t;if(p===n&&++u===i&&(l=a),p===o&&++c===r&&(s=a),(d=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=d}n=l===-1||s===-1?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Hd={focusedElem:e,selectionRange:n},Ts=!1,Z=t;Z!==null;)if(t=Z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Z=e;else for(;Z!==null;){t=Z;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var v=m.memoizedProps,b=m.memoizedState,h=t.stateNode,g=h.getSnapshotBeforeUpdate(t.elementType===t.type?v:An(t.type,v),b);h.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(H(163))}}catch(S){Ve(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,Z=e;break}Z=t.return}return m=Hb,Hb=!1,m}function Ja(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Op(t,n,o)}i=i.next}while(i!==r)}}function cu(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Pp(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Wb(e){var t=e.alternate;t!==null&&(e.alternate=null,Wb(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Vn],delete t[Ba],delete t[Gd],delete t[VL],delete t[KL])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Vb(e){return e.tag===5||e.tag===3||e.tag===4}function Kb(e){e:while(!0){for(;e.sibling===null;){if(e.return===null||Vb(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function _p(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=zs));else if(r!==4&&(e=e.child,e!==null))for(_p(e,t,n),e=e.sibling;e!==null;)_p(e,t,n),e=e.sibling}function Rp(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Rp(e,t,n),e=e.sibling;e!==null;)Rp(e,t,n),e=e.sibling}var ct=null,In=!1;function Vr(e,t,n){for(n=n.child;n!==null;)Gb(e,t,n),n=n.sibling}function Gb(e,t,n){if(Wn&&typeof Wn.onCommitFiberUnmount=="function")try{Wn.onCommitFiberUnmount(ks,n)}catch{}switch(n.tag){case 5:St||ko(n,t);case 6:var r=ct,i=In;ct=null,Vr(e,t,n),ct=r,In=i,ct!==null&&(In?(e=ct,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ct.removeChild(n.stateNode));break;case 18:ct!==null&&(In?(e=ct,n=n.stateNode,e.nodeType===8?Kd(e.parentNode,n):e.nodeType===1&&Kd(e,n),Ta(e)):Kd(ct,n.stateNode));break;case 4:r=ct,i=In,ct=n.stateNode.containerInfo,In=!0,Vr(e,t,n),ct=r,In=i;break;case 0:case 11:case 14:case 15:if(!St&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&Op(n,t,a),i=i.next}while(i!==r)}Vr(e,t,n);break;case 1:if(!St&&(ko(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Ve(n,t,l)}Vr(e,t,n);break;case 21:Vr(e,t,n);break;case 22:n.mode&1?(St=(r=St)||n.memoizedState!==null,Vr(e,t,n),St=r):Vr(e,t,n);break;default:Vr(e,t,n)}}function Qb(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new sj),t.forEach(function(r){var i=yj.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Tn(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,a=t,l=a;e:for(;l!==null;){switch(l.tag){case 5:ct=l.stateNode,In=!1;break e;case 3:ct=l.stateNode.containerInfo,In=!0;break e;case 4:ct=l.stateNode.containerInfo,In=!0;break e}l=l.return}if(ct===null)throw Error(H(160));Gb(o,a,i),ct=null,In=!1;var s=i.alternate;s!==null&&(s.return=null),i.return=null}catch(u){Ve(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Yb(t,e),t=t.sibling}function Yb(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Tn(t,e),Qn(e),r&4){try{Ja(3,e,e.return),cu(3,e)}catch(v){Ve(e,e.return,v)}try{Ja(5,e,e.return)}catch(v){Ve(e,e.return,v)}}break;case 1:Tn(t,e),Qn(e),r&512&&n!==null&&ko(n,n.return);break;case 5:if(Tn(t,e),Qn(e),r&512&&n!==null&&ko(n,n.return),e.flags&32){var i=e.stateNode;try{ya(i,"")}catch(v){Ve(e,e.return,v)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,a=n!==null?n.memoizedProps:o,l=e.type,s=e.updateQueue;if(e.updateQueue=null,s!==null)try{l==="input"&&o.type==="radio"&&o.name!=null&&k1(i,o),cd(l,a);var u=cd(l,o);for(a=0;a<s.length;a+=2){var c=s[a],f=s[a+1];c==="style"?P1(i,f):c==="dangerouslySetInnerHTML"?T1(i,f):c==="children"?ya(i,f):Gf(i,c,f,u)}switch(l){case"input":od(i,o);break;case"textarea":C1(i,o);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var d=o.value;d!=null?to(i,!!o.multiple,d,!1):p!==!!o.multiple&&(o.defaultValue!=null?to(i,!!o.multiple,o.defaultValue,!0):to(i,!!o.multiple,o.multiple?[]:"",!1))}i[Ba]=o}catch(v){Ve(e,e.return,v)}}break;case 6:if(Tn(t,e),Qn(e),r&4){if(e.stateNode===null)throw Error(H(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(v){Ve(e,e.return,v)}}break;case 3:if(Tn(t,e),Qn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Ta(t.containerInfo)}catch(v){Ve(e,e.return,v)}break;case 4:Tn(t,e),Qn(e);break;case 13:Tn(t,e),Qn(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(Dp=Ge())),r&4&&Qb(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(St=(u=St)||c,Tn(t,e),St=u):Tn(t,e),Qn(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(Z=e,c=e.child;c!==null;){for(f=Z=c;Z!==null;){switch(p=Z,d=p.child,p.tag){case 0:case 11:case 14:case 15:Ja(4,p,p.return);break;case 1:ko(p,p.return);var m=p.stateNode;if(typeof m.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(v){Ve(r,n,v)}}break;case 5:ko(p,p.return);break;case 22:if(p.memoizedState!==null){Zb(f);continue}}d!==null?(d.return=p,Z=d):Zb(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{i=f.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(l=f.stateNode,s=f.memoizedProps.style,a=s!=null&&s.hasOwnProperty("display")?s.display:null,l.style.display=O1("display",a))}catch(v){Ve(e,e.return,v)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(v){Ve(e,e.return,v)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Tn(t,e),Qn(e),r&4&&Qb(e);break;case 21:break;default:Tn(t,e),Qn(e)}}function Qn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Vb(n)){var r=n;break e}n=n.return}throw Error(H(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(ya(i,""),r.flags&=-33);var o=Kb(e);Rp(e,o,i);break;case 3:case 4:var a=r.stateNode.containerInfo,l=Kb(e);_p(e,l,a);break;default:throw Error(H(161))}}catch(s){Ve(e,e.return,s)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function cj(e,t,n){Z=e,qb(e)}function qb(e,t,n){for(var r=(e.mode&1)!==0;Z!==null;){var i=Z,o=i.child;if(i.tag===22&&r){var a=i.memoizedState!==null||uu;if(!a){var l=i.alternate,s=l!==null&&l.memoizedState!==null||St;l=uu;var u=St;if(uu=a,(St=s)&&!u)for(Z=i;Z!==null;)a=Z,s=a.child,a.tag===22&&a.memoizedState!==null?Xb(i):s!==null?(s.return=a,Z=s):Xb(i);for(;o!==null;)Z=o,qb(o),o=o.sibling;Z=i,uu=l,St=u}Jb(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,Z=o):Jb(e)}}function Jb(e){for(;Z!==null;){var t=Z;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:St||cu(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!St)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:An(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Z0(t,o,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Z0(t,a,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&Ta(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(H(163))}St||t.flags&512&&Pp(t)}catch(p){Ve(t,t.return,p)}}if(t===e){Z=null;break}if(n=t.sibling,n!==null){n.return=t.return,Z=n;break}Z=t.return}}function Zb(e){for(;Z!==null;){var t=Z;if(t===e){Z=null;break}var n=t.sibling;if(n!==null){n.return=t.return,Z=n;break}Z=t.return}}function Xb(e){for(;Z!==null;){var t=Z;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{cu(4,t)}catch(s){Ve(t,n,s)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(s){Ve(t,i,s)}}var o=t.return;try{Pp(t)}catch(s){Ve(t,o,s)}break;case 5:var a=t.return;try{Pp(t)}catch(s){Ve(t,a,s)}}}catch(s){Ve(t,t.return,s)}if(t===e){Z=null;break}var l=t.sibling;if(l!==null){l.return=t.return,Z=l;break}Z=t.return}}var fj=Math.ceil,fu=hr.ReactCurrentDispatcher,Np=hr.ReactCurrentOwner,dn=hr.ReactCurrentBatchConfig,ye=0,at=null,Ye=null,ft=0,Zt=0,Eo=Br(0),tt=0,Za=null,Ei=0,du=0,Mp=0,Xa=null,jt=null,Dp=0,$o=1/0,xr=null,pu=!1,Lp=null,Kr=null,hu=!1,Gr=null,mu=0,el=0,jp=null,gu=-1,vu=0;function _t(){return ye&6?Ge():gu!==-1?gu:gu=Ge()}function Qr(e){return e.mode&1?ye&2&&ft!==0?ft&-ft:QL.transition!==null?(vu===0&&(vu=K1()),vu):(e=ke,e!==0||(e=window.event,e=e===void 0?16:t0(e.type)),e):1}function On(e,t,n,r){if(50<el)throw el=0,jp=null,Error(H(185));Ea(e,n,r),(!(ye&2)||e!==at)&&(e===at&&(!(ye&2)&&(du|=n),tt===4&&Yr(e,ft)),Ft(e,r),n===1&&ye===0&&!(t.mode&1)&&($o=Ge()+500,Vs&&Ur()))}function Ft(e,t){var n=e.callbackNode;QD(e,t);var r=Cs(e,e===at?ft:0);if(r===0)n!==null&&H1(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&H1(n),t===1)e.tag===0?GL(tw.bind(null,e)):B0(tw.bind(null,e)),HL(function(){!(ye&6)&&Ur()}),n=null;else{switch(G1(r)){case 1:n=vd;break;case 4:n=W1;break;case 16:n=xs;break;case 536870912:n=V1;break;default:n=xs}n=uw(n,ew.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ew(e,t){if(gu=-1,vu=0,ye&6)throw Error(H(327));var n=e.callbackNode;if(Co()&&e.callbackNode!==n)return null;var r=Cs(e,e===at?ft:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=yu(e,r);else{t=r;var i=ye;ye|=2;var o=rw();(at!==e||ft!==t)&&(xr=null,$o=Ge()+500,Ci(e,t));do try{hj();break}catch(l){nw(e,l)}while(!0);np(),fu.current=o,ye=i,Ye!==null?t=0:(at=null,ft=0,t=tt)}if(t!==0){if(t===2&&(i=yd(e),i!==0&&(r=i,t=Fp(e,i))),t===1)throw n=Za,Ci(e,0),Yr(e,r),Ft(e,Ge()),n;if(t===6)Yr(e,r);else{if(i=e.current.alternate,!(r&30)&&!dj(i)&&(t=yu(e,r),t===2&&(o=yd(e),o!==0&&(r=o,t=Fp(e,o))),t===1))throw n=Za,Ci(e,0),Yr(e,r),Ft(e,Ge()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(H(345));case 2:Ai(e,jt,xr);break;case 3:if(Yr(e,r),(r&130023424)===r&&(t=Dp+500-Ge(),10<t)){if(Cs(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){_t(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Vd(Ai.bind(null,e,jt,xr),t);break}Ai(e,jt,xr);break;case 4:if(Yr(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var a=31-En(r);o=1<<a,a=t[a],a>i&&(i=a),r&=~o}if(r=i,r=Ge()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*fj(r/1960))-r,10<r){e.timeoutHandle=Vd(Ai.bind(null,e,jt,xr),r);break}Ai(e,jt,xr);break;case 5:Ai(e,jt,xr);break;default:throw Error(H(329))}}}return Ft(e,Ge()),e.callbackNode===n?ew.bind(null,e):null}function Fp(e,t){var n=Xa;return e.current.memoizedState.isDehydrated&&(Ci(e,t).flags|=256),e=yu(e,t),e!==2&&(t=jt,jt=n,t!==null&&Bp(t)),e}function Bp(e){jt===null?jt=e:jt.push.apply(jt,e)}function dj(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!$n(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Yr(e,t){for(t&=~Mp,t&=~du,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-En(t),r=1<<n;e[n]=-1,t&=~r}}function tw(e){if(ye&6)throw Error(H(327));Co();var t=Cs(e,0);if(!(t&1))return Ft(e,Ge()),null;var n=yu(e,t);if(e.tag!==0&&n===2){var r=yd(e);r!==0&&(t=r,n=Fp(e,r))}if(n===1)throw n=Za,Ci(e,0),Yr(e,t),Ft(e,Ge()),n;if(n===6)throw Error(H(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ai(e,jt,xr),Ft(e,Ge()),null}function zp(e,t){var n=ye;ye|=1;try{return e(t)}finally{ye=n,ye===0&&($o=Ge()+500,Vs&&Ur())}}function $i(e){Gr!==null&&Gr.tag===0&&!(ye&6)&&Co();var t=ye;ye|=1;var n=dn.transition,r=ke;try{if(dn.transition=null,ke=1,e)return e()}finally{ke=r,dn.transition=n,ye=t,!(ye&6)&&Ur()}}function Up(){Zt=Eo.current,Ne(Eo)}function Ci(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,UL(n)),Ye!==null)for(n=Ye.return;n!==null;){var r=n;switch(Jd(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Hs();break;case 3:So(),Ne(Mt),Ne(yt),cp();break;case 5:sp(r);break;case 4:So();break;case 13:Ne(Fe);break;case 19:Ne(Fe);break;case 10:rp(r.type._context);break;case 22:case 23:Up()}n=n.return}if(at=e,Ye=e=qr(e.current,null),ft=Zt=t,tt=0,Za=null,Mp=du=Ei=0,jt=Xa=null,Si!==null){for(t=0;t<Si.length;t++)if(n=Si[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var a=o.next;o.next=i,r.next=a}n.pending=r}Si=null}return e}function nw(e,t){do{var n=Ye;try{if(np(),tu.current=ou,nu){for(var r=Be.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}nu=!1}if(ki=0,ot=et=Be=null,Ka=!1,Ga=0,Np.current=null,n===null||n.return===null){tt=1,Za=t,Ye=null;break}e:{var o=e,a=n.return,l=n,s=t;if(t=ft,l.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){var u=s,c=l,f=c.tag;if(!(c.mode&1)&&(f===0||f===11||f===15)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var d=Ab(a);if(d!==null){d.flags&=-257,Ib(d,a,l,o,t),d.mode&1&&Cb(o,u,t),t=d,s=u;var m=t.updateQueue;if(m===null){var v=new Set;v.add(s),t.updateQueue=v}else m.add(s);break e}else{if(!(t&1)){Cb(o,u,t),Hp();break e}s=Error(H(426))}}else if(Le&&l.mode&1){var b=Ab(a);if(b!==null){!(b.flags&65536)&&(b.flags|=256),Ib(b,a,l,o,t),ep(xo(s,l));break e}}o=s=xo(s,l),tt!==4&&(tt=2),Xa===null?Xa=[o]:Xa.push(o),o=a;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var h=Eb(o,s,t);J0(o,h);break e;case 1:l=s;var g=o.type,y=o.stateNode;if(!(o.flags&128)&&(typeof g.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(Kr===null||!Kr.has(y)))){o.flags|=65536,t&=-t,o.lanes|=t;var S=$b(o,l,t);J0(o,S);break e}}o=o.return}while(o!==null)}ow(n)}catch($){t=$,Ye===n&&n!==null&&(Ye=n=n.return);continue}break}while(!0)}function rw(){var e=fu.current;return fu.current=ou,e===null?ou:e}function Hp(){(tt===0||tt===3||tt===2)&&(tt=4),at===null||!(Ei&268435455)&&!(du&268435455)||Yr(at,ft)}function yu(e,t){var n=ye;ye|=2;var r=rw();(at!==e||ft!==t)&&(xr=null,Ci(e,t));do try{pj();break}catch(i){nw(e,i)}while(!0);if(np(),ye=n,fu.current=r,Ye!==null)throw Error(H(261));return at=null,ft=0,tt}function pj(){for(;Ye!==null;)iw(Ye)}function hj(){for(;Ye!==null&&!FD();)iw(Ye)}function iw(e){var t=sw(e.alternate,e,Zt);e.memoizedProps=e.pendingProps,t===null?ow(e):Ye=t,Np.current=null}function ow(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=lj(n,t),n!==null){n.flags&=32767,Ye=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{tt=6,Ye=null;return}}else if(n=aj(n,t,Zt),n!==null){Ye=n;return}if(t=t.sibling,t!==null){Ye=t;return}Ye=t=e}while(t!==null);tt===0&&(tt=5)}function Ai(e,t,n){var r=ke,i=dn.transition;try{dn.transition=null,ke=1,mj(e,t,n,r)}finally{dn.transition=i,ke=r}return null}function mj(e,t,n,r){do Co();while(Gr!==null);if(ye&6)throw Error(H(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(H(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(YD(e,o),e===at&&(Ye=at=null,ft=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||hu||(hu=!0,uw(xs,function(){return Co(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=dn.transition,dn.transition=null;var a=ke;ke=1;var l=ye;ye|=4,Np.current=null,uj(e,n),Yb(n,e),ML(Hd),Ts=!!Ud,Hd=Ud=null,e.current=n,cj(n),BD(),ye=l,ke=a,dn.transition=o}else e.current=n;if(hu&&(hu=!1,Gr=e,mu=i),o=e.pendingLanes,o===0&&(Kr=null),HD(n.stateNode),Ft(e,Ge()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(pu)throw pu=!1,e=Lp,Lp=null,e;return mu&1&&e.tag!==0&&Co(),o=e.pendingLanes,o&1?e===jp?el++:(el=0,jp=e):el=0,Ur(),null}function Co(){if(Gr!==null){var e=G1(mu),t=dn.transition,n=ke;try{if(dn.transition=null,ke=16>e?16:e,Gr===null)var r=!1;else{if(e=Gr,Gr=null,mu=0,ye&6)throw Error(H(331));var i=ye;for(ye|=4,Z=e.current;Z!==null;){var o=Z,a=o.child;if(Z.flags&16){var l=o.deletions;if(l!==null){for(var s=0;s<l.length;s++){var u=l[s];for(Z=u;Z!==null;){var c=Z;switch(c.tag){case 0:case 11:case 15:Ja(8,c,o)}var f=c.child;if(f!==null)f.return=c,Z=f;else for(;Z!==null;){c=Z;var p=c.sibling,d=c.return;if(Wb(c),c===u){Z=null;break}if(p!==null){p.return=d,Z=p;break}Z=d}}}var m=o.alternate;if(m!==null){var v=m.child;if(v!==null){m.child=null;do{var b=v.sibling;v.sibling=null,v=b}while(v!==null)}}Z=o}}if(o.subtreeFlags&2064&&a!==null)a.return=o,Z=a;else e:for(;Z!==null;){if(o=Z,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Ja(9,o,o.return)}var h=o.sibling;if(h!==null){h.return=o.return,Z=h;break e}Z=o.return}}var g=e.current;for(Z=g;Z!==null;){a=Z;var y=a.child;if(a.subtreeFlags&2064&&y!==null)y.return=a,Z=y;else e:for(a=g;Z!==null;){if(l=Z,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:cu(9,l)}}catch($){Ve(l,l.return,$)}if(l===a){Z=null;break e}var S=l.sibling;if(S!==null){S.return=l.return,Z=S;break e}Z=l.return}}if(ye=i,Ur(),Wn&&typeof Wn.onPostCommitFiberRoot=="function")try{Wn.onPostCommitFiberRoot(ks,e)}catch{}r=!0}return r}finally{ke=n,dn.transition=t}}return!1}function aw(e,t,n){t=xo(n,t),t=Eb(e,t,1),e=Wr(e,t,1),t=_t(),e!==null&&(Ea(e,1,t),Ft(e,t))}function Ve(e,t,n){if(e.tag===3)aw(e,e,n);else for(;t!==null;){if(t.tag===3){aw(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Kr===null||!Kr.has(r))){e=xo(n,e),e=$b(t,e,1),t=Wr(t,e,1),e=_t(),t!==null&&(Ea(t,1,e),Ft(t,e));break}}t=t.return}}function gj(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=_t(),e.pingedLanes|=e.suspendedLanes&n,at===e&&(ft&n)===n&&(tt===4||tt===3&&(ft&130023424)===ft&&500>Ge()-Dp?Ci(e,0):Mp|=n),Ft(e,t)}function lw(e,t){t===0&&(e.mode&1?(t=$s,$s<<=1,!($s&130023424)&&($s=4194304)):t=1);var n=_t();e=br(e,t),e!==null&&(Ea(e,t,n),Ft(e,n))}function vj(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),lw(e,n)}function yj(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(H(314))}r!==null&&r.delete(t),lw(e,n)}var sw;sw=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Mt.current)Lt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Lt=!1,oj(e,t,n);Lt=!!(e.flags&131072)}else Lt=!1,Le&&t.flags&1048576&&z0(t,Gs,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;su(e,t),e=t.pendingProps;var i=ho(t,yt.current);wo(t,n),i=pp(null,t,r,e,i,n);var o=hp();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Dt(r)?(o=!0,Ws(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,ap(t),i.updater=au,t.stateNode=i,i._reactInternals=t,wp(t,r,e,n),t=Ep(null,t,r,!0,o,n)):(t.tag=0,Le&&o&&qd(t),Pt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(su(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=wj(r),e=An(r,e),i){case 0:t=kp(null,t,r,e,n);break e;case 1:t=Nb(null,t,r,e,n);break e;case 11:t=Tb(null,t,r,e,n);break e;case 14:t=Ob(null,t,r,An(r.type,e),n);break e}throw Error(H(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:An(r,i),kp(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:An(r,i),Nb(e,t,r,i,n);case 3:e:{if(Mb(t),e===null)throw Error(H(387));r=t.pendingProps,o=t.memoizedState,i=o.element,q0(e,t),Xs(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=xo(Error(H(423)),t),t=Db(e,t,r,n,i);break e}else if(r!==i){i=xo(Error(H(424)),t),t=Db(e,t,r,n,i);break e}else for(Jt=Fr(t.stateNode.containerInfo.firstChild),qt=t,Le=!0,Cn=null,n=Q0(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(vo(),r===i){t=Sr(e,t,n);break e}Pt(e,t,r,n)}t=t.child}return t;case 5:return X0(t),e===null&&Xd(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,Wd(r,i)?a=null:o!==null&&Wd(r,o)&&(t.flags|=32),Rb(e,t),Pt(e,t,a,n),t.child;case 6:return e===null&&Xd(t),null;case 13:return Lb(e,t,n);case 4:return lp(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=yo(t,null,r,n):Pt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:An(r,i),Tb(e,t,r,i,n);case 7:return Pt(e,t,t.pendingProps,n),t.child;case 8:return Pt(e,t,t.pendingProps.children,n),t.child;case 12:return Pt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,Oe(qs,r._currentValue),r._currentValue=a,o!==null)if($n(o.value,a)){if(o.children===i.children&&!Mt.current){t=Sr(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){a=o.child;for(var s=l.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=wr(-1,n&-n),s.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),ip(o.return,n,t),l.lanes|=n;break}s=s.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(H(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),ip(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}Pt(e,t,i.children,n),t=t.child}return t;
vendor: 6,234 bytes, line 40
40case 9:return i=t.type,r=t.pendingProps.children,wo(t,n),i=cn(i),r=r(i),t.flags|=1,Pt(e,t,r,n),t.child;case 14:return r=t.type,i=An(r,t.pendingProps),i=An(r.type,i),Ob(e,t,r,i,n);case 15:return Pb(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:An(r,i),su(e,t),t.tag=1,Dt(r)?(e=!0,Ws(t)):e=!1,wo(t,n),xb(t,r,i),wp(t,r,i,n),Ep(null,t,r,!0,e,n);case 19:return Fb(e,t,n);case 22:return _b(e,t,n)}throw Error(H(156,t.tag))};function uw(e,t){return U1(e,t)}function bj(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function pn(e,t,n,r){return new bj(e,t,n,r)}function Wp(e){return e=e.prototype,!(!e||!e.isReactComponent)}function wj(e){if(typeof e=="function")return Wp(e)?1:0;if(e!=null){if(e=e.$$typeof,e===qf)return 11;if(e===Xf)return 14}return 2}function qr(e,t){var n=e.alternate;return n===null?(n=pn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function bu(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")Wp(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case eo:return Ii(n.children,i,o,t);case Qf:a=8,i|=8;break;case Yf:return e=pn(12,n,t,i|2),e.elementType=Yf,e.lanes=o,e;case Jf:return e=pn(13,n,t,i),e.elementType=Jf,e.lanes=o,e;case Zf:return e=pn(19,n,t,i),e.elementType=Zf,e.lanes=o,e;case y1:return wu(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case g1:a=10;break e;case v1:a=9;break e;case qf:a=11;break e;case Xf:a=14;break e;case Pr:a=16,r=null;break e}throw Error(H(130,e==null?e:typeof e,""))}return t=pn(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Ii(e,t,n,r){return e=pn(7,e,r,t),e.lanes=n,e}function wu(e,t,n,r){return e=pn(22,e,r,t),e.elementType=y1,e.lanes=n,e.stateNode={isHidden:!1},e}function Vp(e,t,n){return e=pn(6,e,null,t),e.lanes=n,e}function Kp(e,t,n){return t=pn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Sj(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=bd(0),this.expirationTimes=bd(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bd(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Gp(e,t,n,r,i,o,a,l,s){return e=new Sj(e,t,n,l,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=pn(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ap(o),e}function xj(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Xi,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function cw(e){if(!e)return zr;e=e._reactInternals;e:{if(gi(e)!==e||e.tag!==1)throw Error(H(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Dt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(H(171))}if(e.tag===1){var n=e.type;if(Dt(n))return j0(e,n,t)}return t}function fw(e,t,n,r,i,o,a,l,s){return e=Gp(n,r,!0,e,i,o,a,l,s),e.context=cw(null),n=e.current,r=_t(),i=Qr(n),o=wr(r,i),o.callback=t??null,Wr(n,o,i),e.current.lanes=i,Ea(e,i,r),Ft(e,r),e}function Su(e,t,n,r){var i=t.current,o=_t(),a=Qr(i);return n=cw(n),t.context===null?t.context=n:t.pendingContext=n,t=wr(o,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Wr(i,t,a),e!==null&&(On(e,i,a,o),Zs(e,i,a)),a}function xu(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function dw(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Qp(e,t){dw(e,t),(e=e.alternate)&&dw(e,t)}function kj(){return null}var pw=typeof reportError=="function"?reportError:function(e){console.error(e)};function Yp(e){this._internalRoot=e}ku.prototype.render=Yp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(H(409));Su(e,t,null,null)},ku.prototype.unmount=Yp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;$i(function(){Su(null,e,null,null)}),t[mr]=null}};function ku(e){this._internalRoot=e}ku.prototype.unstable_scheduleHydration=function(e){if(e){var t=q1();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Dr.length&&t!==0&&t<Dr[n].priority;n++);Dr.splice(n,0,e),n===0&&X1(e)}};function qp(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Eu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function hw(){}function Ej(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=xu(a);o.call(u)}}var a=fw(t,r,e,0,null,!1,!1,"",hw);return e._reactRootContainer=a,e[mr]=a.current,ja(e.nodeType===8?e.parentNode:e),$i(),a}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var l=r;r=function(){var u=xu(s);l.call(u)}}var s=Gp(e,0,!1,null,null,!1,!1,"",hw);return e._reactRootContainer=s,e[mr]=s.current,ja(e.nodeType===8?e.parentNode:e),$i(function(){Su(t,s,n,r)}),s}function $u(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if(typeof i=="function"){var l=i;
vendor: 4,421 bytes, line 40
40i=function(){var s=xu(a);l.call(s)}}Su(t,a,e,i)}else a=Ej(n,t,e,i,r);return xu(a)}Q1=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ka(t.pendingLanes);n!==0&&(wd(t,n|1),Ft(t,Ge()),!(ye&6)&&($o=Ge()+500,Ur()))}break;case 13:$i(function(){var r=br(e,1);if(r!==null){var i=_t();On(r,e,1,i)}}),Qp(e,1)}},Sd=function(e){if(e.tag===13){var t=br(e,134217728);if(t!==null){var n=_t();On(t,e,134217728,n)}Qp(e,134217728)}},Y1=function(e){if(e.tag===13){var t=Qr(e),n=br(e,t);if(n!==null){var r=_t();On(n,e,t,r)}Qp(e,t)}},q1=function(){return ke},J1=function(e,t){var n=ke;try{return ke=e,t()}finally{ke=n}},pd=function(e,t,n){switch(t){case"input":if(od(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Us(r);if(!i)throw Error(H(90));S1(r),od(r,i)}}}break;case"textarea":C1(e,n);break;case"select":t=n.value,t!=null&&to(e,!!n.multiple,t,!1)}},M1=zp,D1=$i;var $j={usingClientEntryPoint:!1,Events:[za,fo,Us,R1,N1,zp]},tl={findFiberByHostInstance:vi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Cj={bundleType:tl.bundleType,version:tl.version,rendererPackageName:tl.rendererPackageName,rendererConfig:tl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:hr.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=B1(e),e===null?null:e.stateNode},findFiberByHostInstance:tl.findFiberByHostInstance||kj,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Cu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Cu.isDisabled&&Cu.supportsFiber)try{ks=Cu.inject(Cj),Wn=Cu}catch{}}Gt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$j,Gt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!qp(t))throw Error(H(200));return xj(e,t,null,n)},Gt.createRoot=function(e,t){if(!qp(e))throw Error(H(299));var n=!1,r="",i=pw;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Gp(e,1,!1,null,null,n,!1,r,i),e[mr]=t.current,ja(e.nodeType===8?e.parentNode:e),new Yp(t)},Gt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(H(188)):(e=Object.keys(e).join(","),Error(H(268,e)));return e=B1(t),e=e===null?null:e.stateNode,e},Gt.flushSync=function(e){return $i(e)},Gt.hydrate=function(e,t,n){if(!Eu(t))throw Error(H(200));return $u(null,e,t,!0,n)},Gt.hydrateRoot=function(e,t,n){if(!qp(e))throw Error(H(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",a=pw;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=fw(t,null,e,1,n??null,i,!1,o,a),e[mr]=t.current,ja(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new ku(t)},Gt.render=function(e,t,n){if(!Eu(t))throw Error(H(200));return $u(null,e,t,!1,n)},Gt.unmountComponentAtNode=function(e){if(!Eu(e))throw Error(H(40));return e._reactRootContainer?($i(function(){$u(null,null,e,!1,function(){e._reactRootContainer=null,e[mr]=null})}),!0):!1},Gt.unstable_batchedUpdates=zp,Gt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Eu(n))throw Error(H(200));if(e==null||e._reactInternals===void 0)throw Error(H(38));return $u(e,t,n,!1,r)},Gt.version="18.3.1-next-f1338f8080-20240426";function mw(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(mw)}catch(e){console.error(e)}}mw(),c1.exports=Gt;var gw=c1.exports;function Aj(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Ij(...e){return t=>e.forEach(n=>Aj(n,t))}var vw=k.forwardRef((e,t)=>
40{const{children:n,...r}=e,i=k.Children.toArray(n),o=i.find(Oj);if(o){const a=o.props.children,l=i.map(s=>s===o?k.Children.count(a)>1?k.Children.only(null):k.isValidElement(a)?a.props.children:null:s);return P.jsx(Jp,{...r,ref:t,children:k.isValidElement(a)?k.cloneElement(a,void 0,l):null})}return P.jsx(Jp,{...r,ref:t,children:n})});vw.displayName="Slot";var Jp=k.forwardRef((e,t)=>{const{children:n,...r}=e;if(k.isValidElement(n)){const i=_j(n);return k.cloneElement(n,{...Pj(r,n.props),ref:t?Ij(t,i):i})}return k.Children.count(n)>1?k.Children.only(null):null});Jp.displayName="SlotClone";var Tj=({children:e})=>P.jsx(P.Fragment,{children:e});function Oj(e){return k.isValidElement(e)&&e.type===Tj}function Pj(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...l)=>{o(...l),i(...l)}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function _j(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Rj=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Zp=Rj.reduce((e,t)=>{const n=k.forwardRef((r,i)=>{const{asChild:o,...a}=r,l=o?vw:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),P.jsx(l,{...a,ref:i})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),Xp="Avatar",[Nj,bue]=wD(Xp),[Mj,yw]=Nj(Xp),eh=k.forwardRef((e,t)=>{const{__scopeAvatar:n,...r}=e,[i,o]=k.useState("idle");return P.jsx(Mj,{scope:n,imageLoadingStatus:i,onImageLoadingStatusChange:o,children:P.jsx(Zp.span,{...r,ref:t})})});eh.displayName=Xp;var bw="AvatarImage",th=k.forwardRef((e,t)=>{const{__scopeAvatar:n,src:r,onLoadingStatusChange:i=()=>{},...o}=e,a=yw(bw,n),l=Dj(r),s=xD(u=>{i(u),a.onImageLoadingStatusChange(u)});return u1(()=>{l!=="idle"&&s(l)},[l,s]),l==="loaded"?P.jsx(Zp.img,{...o,ref:t,src:r}):null});th.displayName=bw;var ww="AvatarFallback",nh=k.forwardRef((e,t)=>{const{__scopeAvatar:n,delayMs:r,...i}=e,o=yw(ww,n),[a,l]=k.useState(r===void 0);return k.useEffect(()=>{if(r!==void 0){const s=window.setTimeout(()=>l(!0),r);return()=>window.clearTimeout(s)}},[r]),a&&o.imageLoadingStatus!=="loaded"?P.jsx(Zp.span,{...i,ref:t}):null});nh.displayName=ww;function Dj(e){const[t,n]=k.useState("idle");return u1(()=>{if(!e){n("error");return}let r=!0;const i=new window.Image,o=a=>()=>{r&&n(a)};return n("loading"),i.onload=o("loaded"),i.onerror=o("error"),i.src=e,()=>{r=!1}},[e]),t}const Sw=e=>{const t=e.split("_"),n=t[0]??"";return isNaN(Date.parse(n))?e:t.slice(2).join("_")??e},xw=e=>{const t=Sw(e),n=/\s*\(\d+\)(?=\.[^.]+$|$)/;return t.replace(n,"")};function kw(e,t){let n=0;if(e.length==0)return n;for(let r=0;r<e.length;r++){const i=e.charCodeAt(r);n=(n<<5)-n+i,n=n&n}return Math.abs(n)%t}const Lj=(e,t={})=>new Promise((n,r)=>{if(typeof window>"u")return r("Window is not defined");if(!e)return r("Url is not defined");let i=null;const o=new Image;o.addEventListener("load",()=>{i&&clearTimeout(i),n({width:o.naturalWidth,height:o.naturalHeight})}),o.addEventListener("error",a=>{i&&clearTimeout(i),r(`${a.type}: ${a.message}`)}),o.src=e,t.timeout&&(i=setTimeout(()=>r("Timeout"),t.timeout))}),jj="The Client ID is required to initialize the webchat.",Fj="The Bot ID is required to initialize the webchat.";var Ew={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(It,function(){var n=1e3,r=6e4,i=36e5,o="millisecond",a="second",l="minute",s="hour",u="day",c="week",f="month",p="quarter",d="year",m="date",v="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(M){var _=["th","
40st","nd","rd"],R=M%100;return"["+M+(_[(R-20)%10]||_[R]||_[0])+"]"}},y=function(M,_,R){var U=String(M);return!U||U.length>=_?M:""+Array(_+1-U.length).join(R)+M},S={s:y,z:function(M){var _=-M.utcOffset(),R=Math.abs(_),U=Math.floor(R/60),I=R%60;return(_<=0?"+":"-")+y(U,2,"0")+":"+y(I,2,"0")},m:function M(_,R){if(_.date()<R.date())return-M(R,_);var U=12*(R.year()-_.year())+(R.month()-_.month()),I=_.clone().add(U,f),B=R-I<0,w=_.clone().add(U+(B?-1:1),f);return+(-(U+(R-I)/(B?I-w:w-I))||0)},a:function(M){return M<0?Math.ceil(M)||0:Math.floor(M)},p:function(M){return{M:f,y:d,w:c,d:u,D:m,h:s,m:l,s:a,ms:o,Q:p}[M]||String(M||"").toLowerCase().replace(/s$/,"")},u:function(M){return M===void 0}},$="en",x={};x[$]=g;var A="$isDayjsObject",T=function(M){return M instanceof D||!(!M||!M[A])},j=function M(_,R,U){var I;if(!_)return $;if(typeof _=="string"){var B=_.toLowerCase();x[B]&&(I=B),R&&(x[B]=R,I=B);var w=_.split("-");if(!I&&w.length>1)return M(w[0])}else{var z=_.name;x[z]=_,I=z}return!U&&I&&($=I),I||!U&&$},C=function(M,_){if(T(M))return M.clone();var R=typeof _=="object"?_:{};return R.date=M,R.args=arguments,new D(R)},O=S;O.l=j,O.i=T,O.w=function(M,_){return C(M,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var D=function(){function M(R){this.$L=j(R.locale,null,!0),this.parse(R),this.$x=this.$x||R.x||{},this[A]=!0}var _=M.prototype;return _.parse=function(R){this.$d=function(U){var I=U.date,B=U.utc;if(I===null)return new Date(NaN);if(O.u(I))return new Date;if(I instanceof Date)return new Date(I);if(typeof I=="string"&&!/Z$/i.test(I)){var w=I.match(b);if(w){var z=w[2]-1||0,W=(w[7]||"0").substring(0,3);return B?new Date(Date.UTC(w[1],z,w[3]||1,w[4]||0,w[5]||0,w[6]||0,W)):new Date(w[1],z,w[3]||1,w[4]||0,w[5]||0,w[6]||0,W)}}return new Date(I)}(R),this.init()},_.init=function(){var R=this.$d;this.$y=R.getFullYear(),this.$M=R.getMonth(),this.$D=R.getDate(),this.$W=R.getDay(),this.$H=R.getHours(),this.$m=R.getMinutes(),this.$s=R.getSeconds(),this.$ms=R.getMilliseconds()},_.$utils=function(){return O},_.isValid=function(){return this.$d.toString()!==v},_.isSame=function(R,U){var I=C(R);return this.startOf(U)<=I&&I<=this.endOf(U)},_.isAfter=function(R,U){return C(R)<this.startOf(U)},_.isBefore=function(R,U){return this.endOf(U)<C(R)},_.$g=function(R,U,I){return O.u(R)?this[U]:this.set(I,R)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(R,U){var I=this,B=!!O.u(U)||U,w=O.p(R),z=function(de,X){var G=O.w(I.$u?Date.UTC(I.$y,X,de):new Date(I.$y,X,de),I);return B?G:G.endOf(u)},W=function(de,X){return O.w(I.toDate()[de].apply(I.toDate("s"),(B?[0,0,0,0]:[23,59,59,999]).slice(X)),I)},E=this.$W,Q=this.$M,oe=this.$D,ne="set"+(this.$u?"UTC":"");switch(w){case d:return B?z(1,0):z(31,11);case f:return B?z(1,Q):z(0,Q+1);case c:var ae=this.$locale().weekStart||0,he=(E<ae?E+7:E)-ae;return z(B?oe-he:oe+(6-he),Q);case u:case m:return W(ne+"Hours",0);case s:return W(ne+"Minutes",1);case l:return W(ne+"Seconds",2);case a:return W(ne+"Milliseconds",3);default:return this.clone()}},_.endOf=function(R){return this.startOf(R,!1)},_.$set=function(R,U){var I,B=O.p(R),w="set"+(this.$u?"UTC":""),z=(I={},I[u]=w+"Date",I[m]=w+"Date",I[f]=w+"Month",I[d]=w+"FullYear",I[s]=w+"Hours",I[l]=w+"Minutes",I[a]=w+"Seconds",I[o]=w+"Milliseconds",I)[B],W=B===u?this.$D+(U-this.$W):U;if(B===f||B===d){var E=this.clone().set(m,1);E.$d[z](W),E.init(),this.$d=E.set(m,Math.min(this.$D,E.daysInMonth())).$d}else z&&this.$d[z](W);return this.init(),this},_.set=function(R,U){return this.clone().$set(R,U)},_.get=function(R){return this[O.p(R)]()},_.add=function(R,U){var I,B=this;R=Number(R);var w=O.p(U),z=function(Q){var oe=C(B);return O.w(oe.date(oe.date()+Math.round(Q*R)),B)};if(w===f)return this.set(f,this.$M+R);if(w===d)return this.set(d,this.$y+R);if(w===u)return z(1);if(w===c)return z(7);var W=(I={},I[l]=r,I[s]=i,I[a]=n,I)[w]||1,E=this.$d.getTime()+R*W;return O.w(E,this)},_.subtract=function(R,U){return this.add(-1*R,U)},_.format=function(R){var U=this,I=this.$locale();if(!this.isValid())return I.invalidDate||v;var B=R||"YYYY-MM-DDTHH:mm:ssZ",w=O.z(this),z=this.$H,W=this.$m,E=this.$M,Q=I.weekdays,oe=I.months,ne=I.meridiem,ae=function(X,G,ee,Y){return X&&(X[G]||X(U,B))||ee[G].slice(0,Y)},he=function(X){return O.s(z%12||12,X,"0")},de=ne||function(X,G,ee){var Y=X<12?"AM":"PM";return ee?Y.toLowerCase():Y};return B.replace(h,function(X,G){return G||function(ee){switch(ee){case"YY":return String(U.$y).slice(-2);case"YYYY":return O.s(U.$y,4,"0");case"M":return E+1;case"MM":return O.s(E+1,2,"0");case"MMM":return ae(I.monthsShort,E,oe,3);case"MMMM":return ae(oe,E);case"D":return U.$D;case"DD":return O.s(U.$D,2,"0");case"d":return String(U.$W);case"dd":return ae(I.weekdaysMin,U.$W,Q,2);case"ddd":return ae(I.weekdaysShort,U.$W,Q,3);case"dddd":return Q[U.$W];case"H":return String(z);case"HH":return O.s(z,2,"0");case"h":return he(1);case"hh":return he(2);case"a":return de(z,W,!0);case"A":return de(z,W,!1);case"m":return String(W);case"mm":return O.s(W,2,"0");case"s":return String(U.$s);case"ss":return O.s(U.$s,2,"0");case"SSS":return O.s(U.$ms,3,"0");case"Z":return w}return null}(X)||w.replace(":","")})}
vendor: 1,415 bytes, line 40
40,_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(R,U,I){var B,w=this,z=O.p(U),W=C(R),E=(W.utcOffset()-this.utcOffset())*r,Q=this-W,oe=function(){return O.m(w,W)};switch(z){case d:B=oe()/12;break;case f:B=oe();break;case p:B=oe()/3;break;case c:B=(Q-E)/6048e5;break;case u:B=(Q-E)/864e5;break;case s:B=Q/i;break;case l:B=Q/r;break;case a:B=Q/n;break;default:B=Q}return I?B:O.a(B)},_.daysInMonth=function(){return this.endOf(f).$D},_.$locale=function(){return x[this.$L]},_.locale=function(R,U){if(!R)return this.$L;var I=this.clone(),B=j(R,U,!0);return B&&(I.$L=B),I},_.clone=function(){return O.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},M}(),N=D.prototype;return C.prototype=N,[["$ms",o],["$s",a],["$m",l],["$H",s],["$W",u],["$M",f],["$y",d],["$D",m]].forEach(function(M){N[M[1]]=function(_){return this.$g(_,M[0],M[1])}}),C.extend=function(M,_){return M.$i||(M(_,D,C),M.$i=!0),C},C.locale=j,C.isDayjs=T,C.unix=function(M){return C(1e3*M)},C.en=x[$],C.Ls=x,C.p={},C})})(Ew);var Bj=Ew.exports;const Au=me(Bj);var $w={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(It,function(){return function(n,r,i){r.prototype.isToday=function(){var o="YYYY-MM-DD",a=i();
40return this.format(o)===a.format(o)}}})})($w);var zj=$w.exports;const Uj=me(zj);var Cw={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(It,function(){return function(n,r,i){r.prototype.isYesterday=function(){var o="YYYY-MM-DD",a=i().subtract(1,"day");return this.format(o)===a.format(o)}}})})(Cw);var Hj=Cw.exports;const Wj=me(Hj);Au.extend(Uj),Au.extend(Wj);function Vj(e,t="day"){if(!e||e.length===0)return[];const n=[];e[0]?.timestamp&&n.push(Aw(e[0].timestamp));for(let r=0;r<e.length;r++)if(e[r]&&n.push(e[r]),r+1<e.length){const i=e[r]?.timestamp,o=e[r+1]?.timestamp;!Au(i).isSame(o,t)&&o&&n.push(Aw(o))}return n}function Aw(e){return{id:Iw(e),direction:"system",sender:{name:"system"},timestamp:e,block:{type:"text",text:Iw(e)}}}function Iw(e,t=!1){const n=Au(e),r="h:mma";return n.isToday()?t?`Today ⢠${n.format(r)}`:"Today":n.isYesterday()?t?`Yesterday ⢠${n.format(r)}`:"Yesterday":t?n.format(`YYYY-MM-DD ⢠${r}`):n.format("YYYY-MM-DD")}var rh;function Kj(e){return{lang:e?.lang??rh?.lang,message:e?.message,abortEarly:e?.abortEarly??rh?.abortEarly,abortPipeEarly:e?.abortPipeEarly??rh?.abortPipeEarly}}var Gj;function Qj(e){return Gj?.get(e)}var Yj;function qj(e){return Yj?.get(e)}var Jj;function Zj(e,t){return Jj?.get(e)?.get(t)}function Ti(e){const t=typeof e;return t==="string"?`"${e}"`:t==="number"||t==="bigint"||t==="boolean"?`${e}`:t==="object"||t==="function"?(e&&Object.getPrototypeOf(e)?.constructor?.name)??"null":t}function hn(e,t,n,r,i){const o=i&&"input"in i?i.input:n.value,a=i?.expected??e.expects??null,l=i?.received??Ti(o),s={kind:e.kind,type:e.type,input:o,expected:a,received:l,message:`Invalid ${t}: ${a?`Expected ${a}but r`:"R"}eceived ${l}`,requirement:e.requirement,path:i?.path,issues:i?.issues,lang:r.lang,abortEarly:r.abortEarly,abortPipeEarly:r.abortPipeEarly},u=e.kind==="schema",c=i?.message??e.message??Zj(e.reference,s.lang)??(u?qj(s.lang):null)??r.message??Qj(s.lang);c&&(s.message=typeof c=="function"?c(s):c),u&&(n.typed=!1),n.issues?n.issues.push(s):n.issues=[s]}function ih(e,t){const n=[...new Set(e)];return n.length>1?`(${n.join(` ${t}`)})`:n[0]??"never"}var Xj=class extends Error{issues;constructor(e){super(e[0].message),this.name="ValiError",this.issues=e}};function oh(e,t){return{kind:"validation",type:"max_value",reference:oh,async:!1,expects:`<=${e instanceof Date?e.toJSON():Ti(e)}`,requirement:e,message:t,_run(n,r){return n.typed&&n.value>this.requirement&&hn(this,"value",n,r,{received:n.value instanceof Date?n.value.toJSON():Ti(n.value)}),n}}}function ah(e,t){return{kind:"validation",type:"min_value",reference:ah,async:!1,expects:`>=${e instanceof Date?e.toJSON():Ti(e)}`,requirement:e,message:t,_run(n,r){return n.typed&&n.value<this.requirement&&hn(this,"value",n,r,{received:n.value instanceof Date?n.value.toJSON():Ti(n.value)}),n}}}function eF(e,t,n){return typeof e.fallback=="function"?e.fallback(t,n):e.fallback}function mn(e,t){return{...e,fallback:t,_run(n,r){const i=e._run(n,r);return i.issues?{typed:!0,value:eF(this,i,r)}:i}}}function tF(e,t,n){return typeof e.default=="function"?e.default(t,n):e.default}function Ao(e){return{kind:"schema",type:"boolean",reference:Ao,expects:"boolean",async:!1,message:e,_run(t,n){return typeof t.value=="boolean"?t.typed=!0:hn(this,"type",t,n),t}}}function Iu(e,t){return{kind:"schema",type:"literal",reference:Iu,expects:Ti(e),async:!1,literal:e,message:t,_run(n,r){return n.value===this.literal?n.typed=!0:hn(this,"type",n,r),n}}}function lh(e){return{kind:"schema",type:"number",reference:lh,expects:"number",async:!1,message:e,_run(t,n){return typeof t.value=="number"&&!isNaN(t.value)?t.typed=!0:hn(this,"type",t,n),t}}}function gn(e,t){return{kind:"schema",type:"object",reference:gn,expects:"Object",async:!1,entries:e,message:t,_run(n,r){const i=n.value;if(i&&typeof i=="object"){n.typed=!0,n.value={};for(const o in this.entries){const a=i[o],l=this.entries[o]._run({typed:!1,value:a},r);if(l.issues){const s={type:"object",origin:"value",input:i,key:o,value:a};for(const u of l.issues)u.path?u.path.unshift(s):u.path=[s],n.issues?.push(u);
40if(n.issues||(n.issues=l.issues),r.abortEarly){n.typed=!1;break}}l.typed||(n.typed=!1),(l.value!==void 0||o in i)&&(n.value[o]=l.value)}}else hn(this,"type",n,r);return n}}}function le(e,...t){const n={kind:"schema",type:"optional",reference:le,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,_run(r,i){return r.value===void 0&&("default"in this&&(r.value=tF(this,r,i)),r.value===void 0)?(r.typed=!0,r):this.wrapped._run(r,i)}};return 0 in t&&(n.default=t[0]),n}function Io(e,t){return{kind:"schema",type:"picklist",reference:Io,expects:ih(e.map(Ti),"|"),async:!1,options:e,message:t,_run(n,r){return this.options.includes(n.value)?n.typed=!0:hn(this,"type",n,r),n}}}function Me(e){return{kind:"schema",type:"string",reference:Me,expects:"string",async:!1,message:e,_run(t,n){return typeof t.value=="string"?t.typed=!0:hn(this,"type",t,n),t}}}function Tw(e){let t;if(e)for(const n of e)t?t.push(...n.issues):t=n.issues;return t}function Ow(e,t){return{kind:"schema",type:"union",reference:Ow,expects:ih(e.map(n=>n.expects),"|"),async:!1,options:e,message:t,_run(n,r){let i,o,a;for(const l of this.options){const s=l._run({typed:!1,value:n.value},r);if(s.typed)if(s.issues)o?o.push(s):o=[s];else{i=s;break}else a?a.push(s):a=[s]}if(i)return i;if(o){if(o.length===1)return o[0];hn(this,"type",n,r,{issues:Tw(o)}),n.typed=!0}else{if(a?.length===1)return a[0];hn(this,"type",n,r,{issues:Tw(a)})}return n}}}function Pw(e,t,n){return{kind:"schema",type:"variant",reference:Pw,expects:"Object",async:!1,key:e,options:t,message:n,_run(r,i){const o=r.value;if(o&&typeof o=="object"){let a,l=0,s=this.key,u=[];const c=(f,p)=>{for(const d of f.options){if(d.type==="variant")c(d,new Set(p).add(d.key));else{let m=!0,v=0;for(const b of p){if(d.entries[b]._run({typed:!1,value:o[b]},i).issues){m=!1,s!==b&&(l<v||l===v&&b in o&&!(s in o))&&(l=v,s=b,u=[]),s===b&&u.push(d.entries[b].expects);break}v++}if(m){const b=d._run({typed:!1,value:o},i);(!a||!a.typed&&b.typed)&&(a=b)}}if(a&&!a.issues)break}};if(c(this,new Set([this.key])),a)return a;hn(this,"type",r,i,{input:o[s],expected:ih(u,"|"),path:[{type:"object",origin:"value",input:o,key:s,value:o[s]}]})}else hn(this,"type",r,i);return r}}}function nF(e,t,n){const r=e._run({typed:!1,value:t},Kj(n));if(r.issues)throw new Xj(r.issues);return r.value}function _w(...e){return{...e[0],pipe:e,_run(t,n){for(const r of e)if(r.kind!=="metadata"){if(t.issues&&(r.kind==="schema"||r.kind==="transformation")){t.typed=!1;break}(!t.issues||!n.abortEarly&&!n.abortPipeEarly)&&(t=r._run(t,n))}return t}}}const Rw="v2",sh=gn({botName:le(Me()),botAvatar:le(Me()),botDescription:le(Me()),fabImage:le(Me()),phone:mn(le(gn({title:le(Me()),link:le(Me())})),void 0),email:mn(le(gn({title:le(Me()),link:le(Me())})),void 0),website:mn(le(gn({title:le(Me()),link:le(Me())})),void 0),termsOfService:mn(le(gn({title:le(Me()),link:le(Me())})),void 0),privacyPolicy:mn(le(gn({title:le(Me()),link:le(Me())})),void 0),composerPlaceholder:le(Me()),color:le(Me()),radius:le(_w(lh(),ah(.5),oh(4))),themeMode:mn(le(Io(["light","dark"])),void 0),variant:mn(le(Io(["solid","soft"])),void 0),fontFamily:mn(le(Me()),void 0),showPoweredBy:mn(le(Ao()),void 0),additionalStylesheet:le(Me()),additionalStylesheetUrl:le(Me()),allowFileUpload:mn(le(Ao()),void 0),storageLocation:mn(le(Io(["localStorage","sessionStorage"])),void 0)}),{showPoweredBy:wue,...rF}=sh.entries,uh=gn({...rF,footer:le(Me()),headerVariant:le(Io(["solid","glass"])),feedbackEnabled:le(Ao())}),Nw=gn({...uh.entries,soundEnabled:le(Ao()),adminSecret:le(Me()),embeddedChatId:le(Me()),toggleChatId:le(Me()),proactiveMessageEnabled:le(Ao()),proactiveBubbleMessage:le(Me()),proactiveBubbleTriggerType:le(Io(["afterDelay","userIdle"])),proactiveBubbleDelayTime:le(_w(lh(),ah(0),oh(60)))});Ow([sh,uh,Nw]);const iF=gn({...Nw.entries,version:Iu("v2")}),oF=Pw("version",[iF,gn({...uh.entries,version:Iu("v1")}),gn({...sh.entries,version:mn(Iu("v0"),"v0")})]),ch={color:"#3276EA",themeMode:"light",radius:4,variant:"solid",headerVariant:"glass",fontFamily:"inter",footer:"[â¡ by Botpress](https://botpress.com/?from=webchat)",feedbackEnabled:!1,soundEnabled:!1,proactiveMessageEnabled:!1,proactiveBubbleMessage:"Hi! ð Need help?",proactiveBubbleTriggerType:"afterDelay",proactiveBubbleDelayTime:10},Mw=()=>{const e={};return{on:(i,o)=>(e[i]||(e[i]=new Set),e[i]?.add(o),()=>e[i]?.delete(o)),emit:(i,o)=>{e[i]?.forEach(a=>a(o)),e["*"]?.forEach(a=>a({type:i,payload:o}))},removeAllListeners:i=>{i?e[i]?.clear():Object.keys(e).forEach(o=>{e[o]?.clear()})}}},fh=e=>{const t=sF(e);if(t.version===Rw)return t;if(t.version==="v0")return fh(aF(t));if(t.version==="v1")return fh(lF(t));throw new Error(`Unknown webchat config version: ${t}`)},aF=e=>{const t=e.variant==="solid"?"solid":"glass",n=e.showPoweredBy===!1?"":ch.footer;
40return{...e,footer:n,headerVariant:t,feedbackEnabled:!1,version:"v1"}},lF=e=>({...e,proactiveMessageEnabled:!1,proactiveBubbleMessage:"Hi! ð Need help?",proactiveBubbleTriggerType:"afterDelay",proactiveBubbleDelayTime:10,soundEnabled:!1,version:"v2"}),sF=e=>{const t={...ch,...e};return nF(oF,t)},dh=k.forwardRef(({userId:e,src:t,container:n,image:r,fallback:i,...o},a)=>{const l=kw(e??"",15);return P.jsxs(eh,{ref:a,"data-color":l,...n,...o,children:[P.jsx(th,{src:t,...r}),P.jsx(nh,{...i,children:typeof o.children=="string"?o.children[0]:o.children})]})});dh.displayName="Avatar";function Sue(){}function xue(){}function uF(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const cF=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,fF=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,dF={};function Dw(e,t){return(dF.jsx?fF:cF).test(e)}const pF=/[ \t\n\f\r]/g;function hF(e){return typeof e=="object"?e.type==="text"?Lw(e.value):!1:Lw(e)}function Lw(e){return e.replace(pF,"")===""}class nl{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}nl.prototype.property={},nl.prototype.normal={},nl.prototype.space=null;function jw(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new nl(n,r,t)}function ph(e){return e.toLowerCase()}class vn{constructor(t,n){this.property=t,this.attribute=n}}vn.prototype.space=null,vn.prototype.boolean=!1,vn.prototype.booleanish=!1,vn.prototype.overloadedBoolean=!1,vn.prototype.number=!1,vn.prototype.commaSeparated=!1,vn.prototype.spaceSeparated=!1,vn.prototype.commaOrSpaceSeparated=!1,vn.prototype.mustUseProperty=!1,vn.prototype.defined=!1;let mF=0;const se=Oi(),qe=Oi(),Fw=Oi(),V=Oi(),Pe=Oi(),To=Oi(),Xt=Oi();function Oi(){return 2**++mF}const hh=Object.freeze(Object.defineProperty({__proto__:null,boolean:se,booleanish:qe,commaOrSpaceSeparated:Xt,commaSeparated:To,number:V,overloadedBoolean:Fw,spaceSeparated:Pe},Symbol.toStringTag,{value:"Module"})),mh=Object.keys(hh);class gh extends vn{constructor(t,n,r,i){let o=-1;if(super(t,n),Bw(this,"space",i),typeof r=="number")for(;++o<mh.length;){const a=mh[o];Bw(this,mh[o],(r&hh[a])===hh[a])}}}gh.prototype.defined=!0;function Bw(e,t,n){n&&(e[t]=n)}const gF={}.hasOwnProperty;function Oo(e){const t={},n={};let r;for(r in e.properties)if(gF.call(e.properties,r)){const i=e.properties[r],o=new gh(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[ph(r)]=r,n[ph(o.attribute)]=r}return new nl(t,n,e.space)}const zw=Oo({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Uw=Oo({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Hw(e,t){return t in e?e[t]:t}function Ww(e,t){return Hw(e,t.toLowerCase())}const Vw=Oo({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Ww,properties:{xmlns:null,xmlnsXLink:null}}),Kw=Oo({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:qe,ariaAutoComplete:null,ariaBusy:qe,ariaChecked:qe,ariaColCount:V,ariaColIndex:V,ariaColSpan:V,ariaControls:Pe,ariaCurrent:null,ariaDescribedBy:Pe,ariaDetails:null,ariaDisabled:qe,ariaDropEffect:Pe,ariaErrorMessage:null,ariaExpanded:qe,ariaFlowTo:Pe,ariaGrabbed:qe,ariaHasPopup:null,ariaHidden:qe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Pe,ariaLevel:V,ariaLive:null,ariaModal:qe,ariaMultiLine:qe,ariaMultiSelectable:qe,ariaOrientation:null,ariaOwns:Pe,ariaPlaceholder:null,ariaPosInSet:V,ariaPressed:qe,ariaReadOnly:qe,ariaRelevant:null,ariaRequired:qe,ariaRoleDescription:Pe,ariaRowCount:V,ariaRowIndex:V,ariaRowSpan:V,ariaSelected:qe,ariaSetSize:V,ariaSort:null,ariaValueMax:V,ariaValueMin:V,ariaValueNow:V,ariaValueText:null,role:null}}),vF=Oo({space:"html",attributes:{acceptcharset:"accept-charset",classname:"
40class",htmlfor:"for",httpequiv:"http-equiv"},transform:Ww,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:To,acceptCharset:Pe,accessKey:Pe,action:null,allow:null,allowFullScreen:se,allowPaymentRequest:se,allowUserMedia:se,alt:null,as:null,async:se,autoCapitalize:null,autoComplete:Pe,autoFocus:se,autoPlay:se,blocking:Pe,capture:null,charSet:null,checked:se,cite:null,className:Pe,cols:V,colSpan:null,content:null,contentEditable:qe,controls:se,controlsList:Pe,coords:V|To,crossOrigin:null,data:null,dateTime:null,decoding:null,default:se,defer:se,dir:null,dirName:null,disabled:se,download:Fw,draggable:qe,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:se,formTarget:null,headers:Pe,height:V,hidden:se,high:V,href:null,hrefLang:null,htmlFor:Pe,httpEquiv:Pe,id:null,imageSizes:null,imageSrcSet:null,inert:se,inputMode:null,integrity:null,is:null,isMap:se,itemId:null,itemProp:Pe,itemRef:Pe,itemScope:se,itemType:Pe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:se,low:V,manifest:null,max:null,maxLength:V,media:null,method:null,min:null,minLength:V,multiple:se,muted:se,name:null,nonce:null,noModule:se,noValidate:se,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:se,optimum:V,pattern:null,ping:Pe,placeholder:null,playsInline:se,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:se,referrerPolicy:null,rel:Pe,required:se,reversed:se,rows:V,rowSpan:V,sandbox:Pe,scope:null,scoped:se,seamless:se,selected:se,shadowRootClonable:se,shadowRootDelegatesFocus:se,shadowRootMode:null,shape:null,size:V,sizes:null,slot:null,span:V,spellCheck:qe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:V,step:null,style:null,tabIndex:V,target:null,title:null,translate:null,type:null,typeMustMatch:se,useMap:null,value:qe,width:V,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Pe,axis:null,background:null,bgColor:null,border:V,borderColor:null,bottomMargin:V,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:se,declare:se,event:null,face:null,frame:null,frameBorder:null,hSpace:V,leftMargin:V,link:null,longDesc:null,lowSrc:null,marginHeight:V,marginWidth:V,noResize:se,noHref:se,noShade:se,noWrap:se,object:null,profile:null,prompt:null,rev:null,rightMargin:V,rules:null,scheme:null,scrolling:qe,standby:null,summary:null,text:null,topMargin:V,valueType:null,version:null,vAlign:null,vLink:null,vSpace:V,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:se,disableRemotePlayback:se,prefix:null,property:null,results:V,security:null,unselectable:null}}),yF=Oo({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRen
40dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Hw,properties:{about:Xt,accentHeight:V,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:V,amplitude:V,arabicForm:null,ascent:V,attributeName:null,attributeType:null,azimuth:V,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:V,by:null,calcMode:null,capHeight:V,className:Pe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
vendor: 28,180 bytes, lines 40-41
40dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:V,diffuseConstant:V,direction:null,display:null,dur:null,divisor:V,dominantBaseline:null,download:se,dx:null,dy:null,edgeMode:null,editable:null,elevation:V,enableBackground:null,end:null,event:null,exponent:V,externalResourcesRequired:null,fill:null,fillOpacity:V,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:To,g2:To,glyphName:To,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:V,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:V,horizOriginX:V,horizOriginY:V,id:null,ideographic:V,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:V,k:V,k1:V,k2:V,k3:V,k4:V,kernelMatrix:Xt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:V,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:V,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:V,overlineThickness:V,paintOrder:null,panose1:null,path:null,pathLength:V,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Pe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:V,pointsAtY:V,pointsAtZ:V,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Xt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Xt,rev:Xt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Xt,requiredFeatures:Xt,requiredFonts:Xt,requiredFormats:Xt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:V,specularExponent:V,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:V,strikethroughThickness:V,string:null,stroke:null,strokeDashArray:Xt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:V,strokeOpacity:V,strokeWidth:null,style:null,surfaceScale:V,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Xt,tabIndex:V,tableValues:null,target:null,targetX:V,targetY:V,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Xt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:V,underlineThickness:V,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:V,values:null,vAlphabetic:V,vMathematical:V,vectorEffect:null,vHanging:V,vIdeographic:V,version:null,vertAdvY:V,vertOriginX:V,vertOriginY:V,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:V,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),bF=/^data[-\w.:]+$/i,Gw=/-[a-z]/g,wF=/[A-Z]/g;function SF(e,t){const n=ph(t);let r=t,i=vn;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&bF.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(Gw,kF);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!Gw.test(o)){let a=o.replace(wF,xF);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}i=gh}return new i(r,t)}function xF(e){return"-"+e.toLowerCase()}function kF(e){return e.charAt(1).toUpperCase()}const EF={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},$F=jw([Uw,zw,Vw,Kw,vF],"html"),vh=jw([Uw,zw,Vw,Kw,yF],"svg");function CF(e){return e.join(" ").trim()}var Qw={},Yw=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,AF=/\n/g,IF=/^\s*/,TF=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,OF=/^:\s*/,PF=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,_F=/^[;\s]*/,RF=/^\s+|\s+$/g,NF=` 41`,qw="/",Jw="*",Pi="",MF="comment",DF="declaration",LF=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(m){var v=m.match(AF);v&&(n+=v.length);var b=m.lastIndexOf(NF);r=~b?m.length-b:r+m.length}function o(){var m={line:n,column:r};return function(v){return v.position=new a(m),u(),v}}function a(m){this.start=m,this.end={line:n,column:r},this.source=t.source}a.prototype.content=e;function l(m){var v=new Error(t.source+":"+n+":"+r+": "+m);if(v.reason=m,v.filename=t.source,v.line=n,v.column=r,v.source=e,!t.silent)throw v}function s(m){var v=m.exec(e);if(v){var b=v[0];return i(b),e=e.slice(b.length),v}}function u(){s(IF)}function c(m){var v;for(m=m||[];v=f();)v!==!1&&m.push(v);return m}function f(){var m=o();if(!(qw!=e.charAt(0)||Jw!=e.charAt(1))){for(var v=2;Pi!=e.charAt(v)&&(Jw!=e.charAt(v)||qw!=e.charAt(v+1));)++v;if(v+=2,Pi===e.charAt(v-1))return l("End of comment missing");var b=e.slice(2,v-2);return r+=2,i(b),e=e.slice(v),r+=2,m({type:MF,comment:b})}}function p(){var m=o(),v=s(TF);if(v){if(f(),!s(OF))return l("property missing ':'");var b=s(PF),h=m({type:DF,property:Zw(v[0].replace(Yw,Pi)),value:b?Zw(b[0].replace(Yw,Pi)):Pi});return s(_F),h}}function d(){var m=[];c(m);for(var v;v=p();)v!==!1&&(m.push(v),c(m));return m}return u(),d()};function Zw(e){return e?e.replace(RF,Pi):Pi}var jF=It&&It.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Qw,"__esModule",{value:!0});var Xw=Qw.default=BF,FF=jF(LF);function BF(e,t){var n=null;if(!e||typeof e!="string")return n;var r=(0,FF.default)(e),i=typeof t=="function";return r.forEach(function(o){if(o.type==="declaration"){var a=o.property,l=o.value;i?t(a,l,o):l&&(n=n||{},n[a]=l)}}),n}const zF=Xw.default||Xw,eS=tS("end"),yh=tS("start");function tS(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function UF(e){const t=yh(e),n=eS(e);if(t&&n)return{start:t,end:n}}function rl(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?nS(e.position):"start"in e||"end"in e?nS(e):"line"in e||"column"in e?bh(e):""}function bh(e){return rS(e&&e.line)+":"+rS(e&&e.column)}function nS(e){return bh(e&&e.start)+"-"+bh(e&&e.end)}function rS(e){return e&&typeof e=="number"?e:1}class xt extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",o={},a=!1;if(n&&("line"in n&&"column"in n?o={place:n}:"start"in n&&"end"in n?o={place:n}:"type"in n?o={ancestors:[n],place:n.position}:o={...n}),typeof t=="string"?i=t:!o.cause&&t&&(a=!0,i=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof r=="string"){const s=r.indexOf(":");s===-1?o.ruleId=r:(o.source=r.slice(0,s),o.ruleId=r.slice(s+1))}if(!o.place&&o.ancestors&&o.ancestors){const s=o.ancestors[o.ancestors.length-1];s&&(o.place=s.position)}const l=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=l?l.line:void 0,this.name=rl(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=a&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}xt.prototype.file="",xt.prototype.name="",xt.prototype.reason="",xt.prototype.message="",xt.prototype.stack="",xt.prototype.column=void 0,xt.prototype.line=void 0,xt.prototype.ancestors=void 0,xt.prototype.cause=void 0,xt.prototype.fatal=void 0,xt.prototype.place=void 0,xt.prototype.ruleId=void 0,xt.prototype.source=void 0;const wh={}.hasOwnProperty,HF=new Map,WF=/[A-Z]/g,VF=/-([a-z])/g,KF=new Set(["table","tbody","thead","tfoot","tr"]),GF=new Set(["td","th"]),iS="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function QF(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=n3(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=t3(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?vh:$F,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=oS(i,e,void 0);return o&&typeof o!="string"?o:i.create(e,i.Fragment,{children:o||void 0},void 0)}function oS(e,t,n){if(t.type==="element")return YF(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return qF(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return ZF(e,t,n);if(t.type==="mdxjsEsm")return JF(e,t);if(t.type==="root")return XF(e,t,n);if(t.type==="text")return e3(e,t)}function YF(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=vh,e.schema=i),e.ancestors.push(t);const o=lS(e,t.tagName,!1),a=r3(e,t);let l=xh(e,t);return KF.has(t.tagName)&&(l=l.filter(function(s){return typeof s=="string"?!hF(s):!0})),aS(e,a,o,t),Sh(a,l),e.ancestors.pop(),e.schema=r,e.create(t,o,a,n)}function qF(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}il(e,t.position)}function JF(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);il(e,t.position)}function ZF(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=vh,e.schema=i),e.ancestors.push(t);const o=t.name===null?e.Fragment:lS(e,t.name,!0),a=i3(e,t),l=xh(e,t);return aS(e,a,o,t),Sh(a,l),e.ancestors.pop(),e.schema=r,e.create(t,o,a,n)}function XF(e,t,n){const r={};return Sh(r,xh(e,t)),e.create(t,e.Fragment,r,n)}function e3(e,t){return t.value}function aS(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Sh(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function t3(e,t,n){return r;function r(i,o,a,l){const u=Array.isArray(a.children)?n:t;return l?u(o,a,l):u(o,a)}}function n3(e,t){return n;function n(r,i,o,a){const l=Array.isArray(o.children),s=yh(r);return t(i,o,a,l,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}function r3(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&wh.call(t.properties,i)){const o=o3(e,i,t.properties[i]);if(o){const[a,l]=o;e.tableCellAlignToStyle&&a==="align"&&typeof l=="string"&&GF.has(t.tagName)?r=l:n[a]=l}}if(r){const o=n.style||(n.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function i3(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const o=r.data.estree.body[0];o.type;const a=o.expression;a.type;const l=a.properties[0];l.type,Object.assign(n,e.evaluater.evaluateExpression(l.argument))}else il(e,t.position);else{const i=r.name;let o;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const l=r.value.data.estree.body[0];l.type,o=e.evaluater.evaluateExpression(l.expression)}else il(e,t.position);else o=r.value===null?!0:r.value;n[i]=o}return n}function xh(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:HF;for(;++r<t.children.length;){const o=t.children[r];let a;if(e.passKeys){const s=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(s){const u=i.get(s)||0;a=s+"-"+u,i.set(s,u+1)}}const l=oS(e,o,a);l!==void 0&&n.push(l)}return n}function o3(e,t,n){const r=SF(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?uF(n):CF(n)),r.property==="style"){let i=typeof n=="object"?n:a3(e,String(n));return e.stylePropertyNameCase==="css"&&(i=l3(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?EF[r.property]||r.property:r.attribute,n]}}function a3(e,t){const n={};try{zF(t,r)}catch(i){if(!e.ignoreInvalidStyle){const o=i,a=new xt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:o,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=iS+"#cannot-parse-style-attribute",a}}return n;function r(i,o){let a=i;a.slice(0,2)!=="--"&&(a.slice(0,4)==="-ms-"&&(a="ms-"+a.slice(4)),a=a.replace(VF,u3)),n[a]=o}}function lS(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let o=-1,a;for(;++o<i.length;){const l=Dw(i[o])?{type:"Identifier",name:i[o]}:{type:"Literal",value:i[o]};a=a?{type:"MemberExpression",object:a,property:l,computed:!!(o&&l.type==="Literal"),optional:!1}:l}r=a}else r=Dw(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return wh.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);il(e)}function il(e,t){const n=new xt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=iS+"#cannot-handle-mdx-estrees-without-createevaluater",n}function l3(e){const t={};let n;for(n in e)wh.call(e,n)&&(t[s3(n)]=e[n]);return t}function s3(e){let t=e.replace(WF,c3);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function u3(e,t){return t.toUpperCase()}function c3(e){return"-"+e.toLowerCase()}const kh={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},f3={};function Eh(e,t){const n=f3,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return sS(e,r,i)}function sS(e,t,n){if(d3(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return uS(e.children,t,n)}return Array.isArray(e)?uS(e,t,n):""}function uS(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=sS(e[i],t,n);return r.join("")}function d3(e){return!!(e&&typeof e=="object")}const cS=document.createElement("i");function $h(e){const t="&"+e+";";cS.innerHTML=t;const n=cS.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function yn(e,t,n,r){const i=e.length;let o=0,a;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);o<r.length;)a=r.slice(o,o+1e4),a.unshift(t,0),e.splice(...a),o+=1e4,t+=1e4}function bn(e,t){return e.length>0?(yn(e,e.length,0,t),e):t}const fS={}.hasOwnProperty;function dS(e){const t={};let n=-1;for(;++n<e.length;)p3(t,e[n]);return t}function p3(e,t){let n;for(n in t){const i=(fS.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let a;if(o)for(a in o){fS.call(i,a)||(i[a]=[]);const l=o[a];h3(i[a],Array.isArray(l)?l:l?[l]:[])}}}function h3(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);yn(e,0,0,r)}function pS(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Pn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Rt=Jr(/[A-Za-z]/),kt=Jr(/[\dA-Za-z]/),m3=Jr(/[#-'*+\--9=?A-Z^-~]/);function Tu(e){return e!==null&&(e<32||e===127)}const Ch=Jr(/\d/),g3=Jr(/[\dA-Fa-f]/),v3=Jr(/[!-/:-@[-`{-~]/);function ie(e){return e!==null&&e<-2}function Ae(e){return e!==null&&(e<0||e===32)}function fe(e){return e===-2||e===-1||e===32}const Ou=Jr(/\p{P}|\p{S}/u),_i=Jr(/\s/);function Jr(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Po(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let a="";if(o===37&&kt(e.charCodeAt(n+1))&&kt(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){const l=e.charCodeAt(n+1);o<56320&&l>56319&&l<57344?(a=String.fromCharCode(o,l),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function ge(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return a;function a(s){return fe(s)?(e.enter(n),l(s)):t(s)}function l(s){return fe(s)&&o++<i?(e.consume(s),l):(e.exit(n),t(s))}}const y3={tokenize:b3};function b3(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),ge(e,t,"linePrefix")}function i(l){return e.enter("paragraph"),o(l)}function o(l){const s=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=s),n=s,a(l)}function a(l){if(l===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(l);return}return ie(l)?(e.consume(l),e.exit("chunkText"),o):(e.consume(l),a)}}const w3={tokenize:S3},hS={tokenize:x3};function S3(e){const t=this,n=[];let r=0,i,o,a;return l;function l(y){if(r<n.length){const S=n[r];return t.containerState=S[1],e.attempt(S[0].continuation,s,u)(y)}return u(y)}function s(y){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&g();const S=t.events.length;let $=S,x;for(;$--;)if(t.events[$][0]==="exit"&&t.events[$][1].type==="chunkFlow"){x=t.events[$][1].end;break}h(r);let A=S;for(;A<t.events.length;)t.events[A][1].end=Object.assign({},x),A++;return yn(t.events,$+1,0,t.events.slice(S)),t.events.length=A,u(y)}return l(y)}function u(y){if(r===n.length){if(!i)return p(y);if(i.currentConstruct&&i.currentConstruct.concrete)return m(y);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(hS,c,f)(y)}function c(y){return i&&g(),h(r),p(y)}function f(y){return t.parser.lazy[t.now().line]=r!==n.length,a=t.now().offset,m(y)}function p(y){return t.containerState={},e.attempt(hS,d,m)(y)}function d(y){return r++,n.push([t.currentConstruct,t.containerState]),p(y)}function m(y){if(y===null){i&&g(),h(0),e.consume(y);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:i}),v(y)}function v(y){if(y===null){b(e.exit("chunkFlow"),!0),h(0),e.consume(y);return}return ie(y)?(e.consume(y),b(e.exit("chunkFlow")),r=0,t.interrupt=void 0,l):(e.consume(y),v)}function b(y,S){const $=t.sliceStream(y);if(S&&$.push(null),y.previous=o,o&&(o.next=y),o=y,i.defineSkip(y.start),i.write($),t.parser.lazy[y.start.line]){let x=i.events.length;for(;x--;)if(i.events[x][1].start.offset<a&&(!i.events[x][1].end||i.events[x][1].end.offset>a))return;const A=t.events.length;let T=A,j,C;for(;T--;)if(t.events[T][0]==="exit"&&t.events[T][1].type==="chunkFlow"){if(j){C=t.events[T][1].end;break}j=!0}for(h(r),x=A;x<t.events.length;)t.events[x][1].end=Object.assign({},C),x++;yn(t.events,T+1,0,t.events.slice(A)),t.events.length=x}}function h(y){let S=n.length;for(;S-->y;){const $=n[S];t.containerState=$[1],$[0].exit.call(t,e)}n.length=y}function g(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function x3(e,t,n){return ge(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Pu(e){if(e===null||Ae(e)||_i(e))return 1;if(Ou(e))return 2}function _u(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}const Ah={name:"attention",tokenize:E3,resolveAll:k3};function k3(e,t){let n=-1,r,i,o,a,l,s,u,c;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;s=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f=Object.assign({},e[r][1].end),p=Object.assign({},e[n][1].start);mS(f,-s),mS(p,s),a={type:s>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)},l={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:p},o={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:s>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},l.end)},e[r][1].end=Object.assign({},a.start),e[n][1].start=Object.assign({},l.end),u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=bn(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=bn(u,[["enter",i,t],["enter",a,t],["exit",a,t],["enter",o,t]]),u=bn(u,_u(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=bn(u,[["exit",o,t],["enter",l,t],["exit",l,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,u=bn(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,yn(e,r-1,n-r+3,u),n=r+u.length-c-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function E3(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Pu(r);let o;return a;function a(s){return o=s,e.enter("attentionSequence"),l(s)}function l(s){if(s===o)return e.consume(s),l;const u=e.exit("attentionSequence"),c=Pu(s),f=!c||c===2&&i||n.includes(s),p=!i||i===2&&c||n.includes(r);return u._open=!!(o===42?f:f&&(i||!p)),u._close=!!(o===42?p:p&&(c||!f)),t(s)}}function mS(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const $3={name:"autolink",tokenize:C3};function C3(e,t,n){let r=0;return i;function i(d){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(d){return Rt(d)?(e.consume(d),a):d===64?n(d):u(d)}function a(d){return d===43||d===45||d===46||kt(d)?(r=1,l(d)):u(d)}function l(d){return d===58?(e.consume(d),r=0,s):(d===43||d===45||d===46||kt(d))&&r++<32?(e.consume(d),l):(r=0,u(d))}function s(d){return d===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):d===null||d===32||d===60||Tu(d)?n(d):(e.consume(d),s)}function u(d){return d===64?(e.consume(d),c):m3(d)?(e.consume(d),u):n(d)}function c(d){return kt(d)?f(d):n(d)}function f(d){return d===46?(e.consume(d),r=0,c):d===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):p(d)}function p(d){if((d===45||kt(d))&&r++<63){const m=d===45?p:f;return e.consume(d),m}return n(d)}}const ol={tokenize:A3,partial:!0};function A3(e,t,n){return r;function r(o){return fe(o)?ge(e,i,"linePrefix")(o):i(o)}function i(o){return o===null||ie(o)?t(o):n(o)}}const gS={name:"blockQuote",tokenize:I3,continuation:{tokenize:T3},exit:O3};function I3(e,t,n){const r=this;return i;function i(a){if(a===62){const l=r.containerState;return l.open||(e.enter("blockQuote",{_container:!0}),l.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),o}return n(a)}function o(a){return fe(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function T3(e,t,n){const r=this;return i;function i(a){return fe(a)?ge(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):o(a)}function o(a){return e.attempt(gS,t,n)(a)}}function O3(e){e.exit("blockQuote")}const vS={name:"characterEscape",tokenize:P3};function P3(e,t,n){return r;function r(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),i}function i(o){return v3(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}const yS={name:"characterReference",tokenize:_3};function _3(e,t,n){const r=this;let i=0,o,a;return l;function l(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),s}function s(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),o=31,a=kt,c(f))}function u(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,a=g3,c):(e.enter("characterReferenceValue"),o=7,a=Ch,c(f))}function c(f){if(f===59&&i){const p=e.exit("characterReferenceValue");return a===kt&&!$h(r.sliceSerialize(p))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(f)&&i++<o?(e.consume(f),c):n(f)}}const bS={tokenize:N3,partial:!0},wS={name:"codeFenced",tokenize:R3,concrete:!0};function R3(e,t,n){const r=this,i={tokenize:$,partial:!0};let o=0,a=0,l;return s;function s(x){return u(x)}function u(x){const A=r.events[r.events.length-1];return o=A&&A[1].type==="linePrefix"?A[2].sliceSerialize(A[1],!0).length:0,l=x,e.enter("co
41deFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(x)}function c(x){return x===l?(a++,e.consume(x),c):a<3?n(x):(e.exit("codeFencedFenceSequence"),fe(x)?ge(e,f,"whitespace")(x):f(x))}function f(x){return x===null||ie(x)?(e.exit("codeFencedFence"),r.interrupt?t(x):e.check(bS,v,S)(x)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(x))}function p(x){return x===null||ie(x)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(x)):fe(x)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ge(e,d,"whitespace")(x)):x===96&&x===l?n(x):(e.consume(x),p)}function d(x){return x===null||ie(x)?f(x):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(x))}function m(x){return x===null||ie(x)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(x)):x===96&&x===l?n(x):(e.consume(x),m)}function v(x){return e.attempt(i,S,b)(x)}function b(x){return e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),h}function h(x){return o>0&&fe(x)?ge(e,g,"linePrefix",o+1)(x):g(x)}function g(x){return x===null||ie(x)?e.check(bS,v,S)(x):(e.enter("codeFlowValue"),y(x))}function y(x){return x===null||ie(x)?(e.exit("codeFlowValue"),g(x)):(e.consume(x),y)}function S(x){return e.exit("codeFenced"),t(x)}function $(x,A,T){let j=0;return C;function C(_){return x.enter("lineEnding"),x.consume(_),x.exit("lineEnding"),O}function O(_){return x.enter("codeFencedFence"),fe(_)?ge(x,D,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(_):D(_)}function D(_){return _===l?(x.enter("codeFencedFenceSequence"),N(_)):T(_)}function N(_){return _===l?(j++,x.consume(_),N):j>=a?(x.exit("codeFencedFenceSequence"),fe(_)?ge(x,M,"whitespace")(_):M(_)):T(_)}function M(_){return _===null||ie(_)?(x.exit("codeFencedFence"),A(_)):T(_)}}}function N3(e,t,n){const r=this;return i;function i(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o)}function o(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const Ih={name:"codeIndented",tokenize:D3},M3={tokenize:L3,partial:!0};function D3(e,t,n){const r=this;return i;function i(u){return e.enter("codeIndented"),ge(e,o,"linePrefix",5)(u)}function o(u){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?a(u):n(u)}function a(u){return u===null?s(u):ie(u)?e.attempt(M3,a,s)(u):(e.enter("codeFlowValue"),l(u))}function l(u){return u===null||ie(u)?(e.exit("codeFlowValue"),a(u)):(e.consume(u),l)}function s(u){return e.exit("codeIndented"),t(u)}}function L3(e,t,n){const r=this;return i;function i(a){return r.parser.lazy[r.now().line]?n(a):ie(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):ge(e,o,"linePrefix",5)(a)}function o(a){const l=r.events[r.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(a):ie(a)?i(a):n(a)}}const j3={name:"codeText",tokenize:z3,resolve:F3,previous:B3};function F3(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function B3(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function z3(e,t,n){let r=0,i,o;return a;function a(f){return e.enter("codeText"),e.enter("codeTextSequence"),l(f)}function l(f){return f===96?(e.consume(f),r++,l):(e.exit("codeTextSequence"),s(f))}function s(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),s):f===96?(o=e.enter("codeTextSequence"),i=0,c(f)):ie(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("codeTextData"),u(f))}function u(f){return f===null||f===32||f===96||ie(f)?(e.exit("codeTextData"),s(f)):(e.consume(f),u)}function c(f){return f===96?(e.consume(f),i++,c):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(o.type="codeTextData",u(f))}}
vendor: 21,384 bytes, line 41
41class U3{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const o=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&al(this.left,r),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),al(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),al(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);al(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);al(this.left,n.reverse())}}}function al(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function SS(e){const t={};let n=-1,r,i,o,a,l,s,u;const c=new U3(e);for(;++n<c.length;){for(;n in t;)n=t[n];if(r=c.get(n),n&&r[1].type==="chunkFlow"&&c.get(n-1)[1].type==="listItemPrefix"&&(s=r[1]._tokenizer.events,o=0,o<s.length&&s[o][1].type==="lineEndingBlank"&&(o+=2),o<s.length&&s[o][1].type==="content"))for(;++o<s.length&&s[o][1].type!=="content";)s[o][1].type==="chunkText"&&(s[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,H3(c,n)),n=t[n],u=!0);else if(r[1]._container){for(o=n,i=void 0;o--&&(a=c.get(o),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank");)a[0]==="enter"&&(i&&(c.get(i)[1].type="lineEndingBlank"),a[1].type="lineEnding",i=o);i&&(r[1].end=Object.assign({},c.get(i)[1].start),l=c.slice(i,n),l.unshift(r),c.splice(i,n-i+1,l))}}return yn(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!u}function H3(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const o=[],a=n._tokenizer||r.parser[n.contentType](n.start),l=a.events,s=[],u={};let c,f,p=-1,d=n,m=0,v=0;const b=[v];for(;d;){for(;e.get(++i)[1]!==d;);o.push(i),d._tokenizer||(c=r.sliceStream(d),d.next||c.push(null),f&&a.defineSkip(d.start),d._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(c),d._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),f=d,d=d.next}for(d=n;++p<l.length;)l[p][0]==="exit"&&l[p-1][0]==="enter"&&l[p][1].type===l[p-1][1].type&&l[p][1].start.line!==l[p][1].end.line&&(v=p+1,b.push(v),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(a.events=[],d?(d._tokenizer=void 0,d.previous=void 0):b.pop(),p=b.length;p--;){const h=l.slice(b[p],b[p+1]),g=o.pop();s.push([g,g+h.length-1]),e.splice(g,2,h)}for(s.reverse(),p=-1;++p<s.length;)u[m+s[p][0]]=m+s[p][1],m+=s[p][1]-s[p][0]-1;return u}const W3={tokenize:G3,resolve:K3},V3={tokenize:Q3,partial:!0};function K3(e){return SS(e),e}function G3(e,t){let n;return r;function r(l){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(l)}function i(l){return l===null?o(l):ie(l)?e.check(V3,a,o)(l):(e.consume(l),i)}function o(l){return e.exit("chunkContent"),e.exit("content"),t(l)}function a(l){return e.consume(l),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function Q3(e,t,n){const r=this;return i;function i(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),ge(e,o,"linePrefix")}function o(a){if(a===null||ie(a))return n(a);const l=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function xS(e,t,n,r,i,o,a,l,s){const u=s||Number.POSITIVE_INFINITY;let c=0;return f;function f(h){return h===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(h),e.exit(o),p):h===null||h===32||h===41||Tu(h)?n(h):(e.enter(r),e.enter(a),e.enter(l),e.enter("chunkString",{contentType:"string"}),v(h))}function p(h){return h===62?(e.enter(o),e.consume(h),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),d(h))}function d(h){return h===62?(e.exit("chunkString"),e.exit(l),p(h)):h===null||h===60||ie(h)?n(h):(e.consume(h),h===92?m:d)}function m(h){return h===60||h===62||h===92?(e.consume(h),d):d(h)}function v(h){return!c&&(h===null||h===41||Ae(h))?(e.exit("chunkString"),e.exit(l),e.exit(a),e.exit(r),t(h)):c<u&&h===40?(e.consume(h),c++,v):h===41?(e.consume(h),c--,v):h===null||h===32||h===40||Tu(h)?n(h):(e.consume(h),h===92?b:v)}function b(h){return h===40||h===41||h===92?(e.consume(h),v):v(h)}}function kS(e,t,n,r,i,o){const a=this;let l=0,s;return u;function u(d){return e.enter(r),e.enter(i),e.consume(d),e.exit(i),e.enter(o),c}function c(d){return l>999||d===null||d===91||d===93&&!s||d===94&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(d):d===93?(e.exit(o),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):ie(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(d))}function f(d){return d===null||d===91||d===93||ie(d)||l++>999?(e.exit("chunkString"),c(d)):(e.consume(d),s||(s=!fe(d)),d===92?p:f)}function p(d){return d===91||d===92||d===93?(e.consume(d),l++,f):f(d)}}function ES(e,t,n,r,i,o){let a;return l;function l(p){return p===34||p===39||p===40?(e.enter(r),e.enter(i),e.consume(p),e.exit(i),a=p===40?41:p,s):n(p)}function s(p){return p===a?(e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):(e.enter(o),u(p))}function u(p){return p===a?(e.exit(o),s(a)):p===null?n(p):ie(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),ge(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(p))}function c(p){return p===a||p===null||ie(p)?(e.exit("chunkString"),u(p)):(e.consume(p),p===92?f:c)}function f(p){return p===a||p===92?(e.consume(p),c):c(p)}}function ll(e,t){let n;return r;function r(i){return ie(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):fe(i)?ge(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const Y3={name:"definition",tokenize:J3},q3={tokenize:Z3,partial:!0};function J3(e,t,n){const r=this;let i;return o;function o(d){return e.enter("definition"),a(d)}function a(d){return kS.call(r,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function l(d){return i=Pn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),d===58?(e.enter("definitionMarker"),e.consume(d),e.exit("definitionMarker"),s):n(d)}function s(d){return Ae(d)?ll(e,u)(d):u(d)}function u(d){return xS(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function c(d){return e.attempt(q3,f,f)(d)}function f(d){return fe(d)?ge(e,p,"whitespace")(d):p(d)}function p(d){return d===null||ie(d)?(e.exit("definition"),r.parser.defined.push(i),t(d)):n(d)}}function Z3(e,t,n){return r;function r(l){return Ae(l)?ll(e,i)(l):n(l)}function i(l){return ES(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function o(l){return fe(l)?ge(e,a,"whitespace")(l):a(l)}function a(l){return l===null||ie(l)?t(l):n(l)}}const X3={name:"hardBreakEscape",tokenize:e4};function e4(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return ie(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}const t4={name:"headingAtx",tokenize:r4,resolve:n4};function n4(e,t){let n=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},yn(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])),e}function r4(e,t,n){let r=0;return i;function i(c){return e.enter("atxHeading"),o(c)}function o(c){return e.enter("atxHeadingSequence"),a(c)}function a(c){return c===35&&r++<6?(e.consume(c),a):c===null||Ae(c)?(e.exit("atxHeadingSequence"),l(c)):n(c)}function l(c){return c===35?(e.enter("atxHeadingSequence"),s(c)):c===null||ie(c)?(e.exit("atxHeading"),t(c)):fe(c)?ge(e,l,"whitespace")(c):(e.enter("atxHeadingText"),u(c))}function s(c){return c===35?(e.consume(c),s):(e.exit("atxHeadingSequence"),l(c))}function u(c){return c===null||c===35||Ae(c)?(e.exit("atxHeadingText"),l(c)):(e.consume(c),u)}}const i4=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],$S=["pre","script","style","textarea"],o4={name:"htmlFlow",tokenize:u4,resolveTo:s4,concrete:!0},a4={tokenize:f4,partial:!0},l4={tokenize:c4,partial:!0};function s4(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function u4(e,t,n){const r=this;let i,o,a,l,s;return u;function u(E){return c(E)}function c(E){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(E),f}function f(E){return E===33?(e.consume(E),p):E===47?(e.consume(E),o=!0,v):E===63?(e.consume(E),i=3,r.interrupt?t:w):Rt(E)?(e.consume(E),a=String.fromCharCode(E),b):n(E)}function p(E){return E===45?(e.consume(E),i=2,d):E===91?(e.consume(E),i=5,l=0,m):Rt(E)?(e.consume(E),i=4,r.interrupt?t:w):n(E)}function d(E){return E===45?(e.consume(E),r.interrupt?t:w):n(E)}function m(E){const Q="CDATA[";return E===Q.charCodeAt(l++)?(e.consume(E),l===Q.length?r.interrupt?t:D:m):n(E)}function v(E){return Rt(E)?(e.consume(E),a=String.fromCharCode(E),b):n(E)}function b(E){if(E===null||E===47||E===62||Ae(E)){const Q=E===47,oe=a.toLowerCase();return!Q&&!o&&$S.includes(oe)?(i=1,r.interrupt?t(E):D(E)):i4.includes(a.toLowerCase())?(i=6,Q?(e.consume(E),h):r.interrupt?t(E):D(E)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(E):o?g(E):y(E))}return E===45||kt(E)?(e.consume(E),a+=String.fromCharCode(E),b):n(E)}function h(E){return E===62?(e.consume(E),r.interrupt?t:D):n(E)}function g(E){return fe(E)?(e.consume(E),g):C(E)}function y(E){return E===47?(e.consume(E),C):E===58||E===95||Rt(E)?(e.consume(E),S):fe(E)?(e.consume(E),y):C(E)}function S(E){return E===45||E===46||E===58||E===95||kt(E)?(e.consume(E),S):$(E)}function $(E){return E===61?(e.consume(E),x):fe(E)?(e.consume(E),$):y(E)}function x(E){return E===null||E===60||E===61||E===62||E===96?n(E):E===34||E===39?(e.consume(E),s=E,A):fe(E)?(e.consume(E),x):T(E)}function A(E){return E===s?(e.consume(E),s=null,j):E===null||ie(E)?n(E):(e.consume(E),A)}function T(E){return E===null||E===34||E===39||E===47||E===60||E===61||E===62||E===96||Ae(E)?$(E):(e.consume(E),T)}function j(E){return E===47||E===62||fe(E)?y(E):n(E)}function C(E){return E===62?(e.consume(E),O):n(E)}function O(E){return E===null||ie(E)?D(E):fe(E)?(e.consume(E),O):n(E)}function D(E){return E===45&&i===2?(e.consume(E),R):E===60&&i===1?(e.consume(E),U):E===62&&i===4?(e.consume(E),z):E===63&&i===3?(e.consume(E),w):E===93&&i===5?(e.consume(E),B):ie(E)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(a4,W,N)(E)):E===null||ie(E)?(e.exit("htmlFlowData"),N(E)):(e.consume(E),D)}function N(E){return e.check(l4,M,W)(E)}function M(E){return e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),_}function _(E){return E===null||ie(E)?N(E):(e.enter("htmlFlowData"),D(E))}function R(E){return E===45?(e.consume(E),w):D(E)}function U(E){return E===47?(e.consume(E),a="",I):D(E)}function I(E){if(E===62){const Q=a.toLowerCase();return $S.includes(Q)?(e.consume(E),z):D(E)}return Rt(E)&&a.length<8?(e.consume(E),a+=String.fromCharCode(E),I):D(E)}function B(E){return E===93?(e.consume(E),w):D(E)}function w(E){return E===62?(e.consume(E),z):E===45&&i===2?(e.consume(E),w):D(E)}function z(E){return E===null||ie(E)?(e.exit("htmlFlowData"),W(E)):(e.consume(E),z)}function W(E){return e.exit("htmlFlow"),t(E)}}function c4(e,t,n){const r=this;return i;function i(a){return ie(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):n(a)}function o(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}function f4(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(ol,t,n)}}const d4={name:"htmlText",tokenize:p4};function p4(e,t,n){const r=this;let i,o,a;return l;function l(w){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(w),s}function s(w){return w===33?(e.consume(w),u):w===47?(e.consume(w),$):w===63?(e.consume(w),y):Rt(w)?(e.consume(w),T):n(w)}function u(w){return w===45?(e.consume(w),c):w===91?(e.consume(w),o=0,m):Rt(w)?(e.consume(w),g):n(w)}function c(w){return w===45?(e.consume(w),d):n(w)}function f(w){return w===null?n(w):w===45?(e.consume(w),p):ie(w)?(a=f,U(w)):(e.consume(w),f)}function p(w){return w===45?(e.consume(w),d):f(w)}function d(w){return w===62?R(w):w===45?p(w):f(w)}function m(w){const z="CDATA[";return w===z.charCodeAt(o++)?(e.consume(w),o===z.length?v:m):n(w)}function v(w){return w===null?n(w):w===93?(e.consume(w),b):ie(w)?(a=v,U(w)):(e.consume(w),v)}function b(w){return w===93?(e.consume(w),h):v(w)}function h(w){return w===62?R(w):w===93?(e.consume(w),h):v(w)}function g(w){return w===null||w===62?R(w):ie(w)?(a=g,U(w)):(e.consume(w),g)}function y(w){return w===null?n(w):w===63?(e.consume(w),S):ie(w)?(a=y,U(w)):(e.consume(w),y)}function S(w){return w===62?R(w):y(w)}function $(w){return Rt(w)?(e.consume(w),x):n(w)}function x(w){return w===45||kt(w)?(e.consume(w),x):A(w)}function A(w){return ie(w)?(a=A,U(w)):fe(w)?(e.consume(w),A):R(w)}function T(w){return w===45||kt(w)?(e.consume(w),T):w===47||w===62||Ae(w)?j(w):n(w)}function j(w){return w===47?(e.consume(w),R):w===58||w===95||Rt(w)?(e.consume(w),C):ie(w)?(a=j,U(w)):fe(w)?(e.consume(w),j):R(w)}function C(w){return w===45||w===46||w===58||w===95||kt(w)?(e.consume(w),C):O(w)}function O(w){return w===61?(e.consume(w),D):ie(w)?(a=O,U(w)):fe(w)?(e.consume(w),O):j(w)}function D(w){return w===null||w===60||w===61||w===62||w===96?n(w):w===34||w===39?(e.consume(w),i=w,N):ie(w)?(a=D,U(w)):fe(w)?(e.consume(w),D):(e.consume(w),M)}function N(w){return w===i?(e.consume(w),i=void 0,_):w===null?n(w):ie(w)?(a=N,U(w)):(e.consume(w),N)}function M(w){return w===null||w===34||w===39||w===60||w===61||w===96?n(w):w===47||w===62||Ae(w)?j(w):(e.consume(w),M)}function _(w){return w===47||w===62||Ae(w)?j(w):n(w)}function R(w){return w===62?(e.consume(w),e.exit("htmlTextData"),e.exit("htmlText"),t):n(w)}function U(w){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),I}function I(w){return fe(w)?ge(e,B,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):B(w)}function B(w){return e.enter("htmlTextData"),a(w)}}const Th={name:"labelEnd",tokenize:b4,resolveTo:y4,resolveAll:v4},h4={tokenize:w4},m4={tokenize:S4},g4={tokenize:x4};function v4(e){let t=-1;for(;++t<e.length;){const n=e[t][1];(n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd")&&(e.splice(t+1,n.type==="labelImage"?4:2),n.type="data",t++)}return e}function y4(e,t){let n=e.length,r=0,i,o,a,l;for(;n--;)if(i=e[n][1],o){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(a){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(o=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(a=n);const s={type:e[o][1].type==="labelLink"?"link":"image",start:Object.assign({},e[o][1].start),end:Object.assign({},e[e.length-1][1].end)},u={type:"label",start:Object.assign({},e[o][1].start),end:Object.assign({},e[a][1].end)},c={type:"labelText",start:Object.assign({},e[o+r+2][1].end),end:Object.assign({},e[a-2][1].start)};return l=[["enter",s,t],["enter",u,t]],l=bn(l,e.slice(o+1,o+r+3)),l=bn(l,[["enter",c,t]]),l=bn(l,_u(t.parser.constructs.insideSpan.null,e.slice(o+r+4,a-3),t)),l=bn(l,[["exit",c,t],e[a-2],e[a-1],["exit",u,t]]),l=bn(l,e.slice(a+1)),l=bn(l,[["exit",s,t]]),yn(e,o,e.length,l),e}function b4(e,t,n){const r=this;let i=r.events.length,o,a;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){o=r.events[i][1];break}return l;function l(p){return o?o._inactive?f(p):(a=r.parser.defined.includes(Pn(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),s):n(p)}function s(p){return p===40?e.attempt(h4,c,a?c:f)(p):p===91?e.attempt(m4,c,a?u:f)(p):a?c(p):f(p)}function u(p){return e.attempt(g4,c,f)(p)}function c(p){return t(p)}function f(p){return o._balanced=!0,n(p)}}function w4(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return Ae(f)?ll(e,o)(f):o(f)}function o(f){return f===41?c(f):xS(e,a,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function a(f){return Ae(f)?ll(e,s)(f):c(f)}function l(f){return n(f)}function s(f){return f===34||f===39||f===40?ES(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):c(f)}function u(f){return Ae(f)?ll(e,c)(f):c(f)}function c(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function S4(e,t,n){const r=this;return i;function i(l){return kS.call(r,e,o,a,"reference","referenceMarker","referenceString")(l)}function o(l){return r.parser.defined.includes(Pn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(l):n(l)}function a(l){return n(l)}}function x4(e,t,n){return r;function r(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),i}function i(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}const k4={name:"labelStartImage",tokenize:E4,resolveAll:Th.resolveAll};function E4(e,t,n){const r=this;return i;function i(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),o}function o(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelImage"),a):n(l)}function a(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}const $4={name:"labelStartLink",tokenize:C4,resolveAll:Th.resolveAll};function C4(e,t,n){const r=this;return i;function i(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),o}function o(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const Oh={name:"lineEnding",tokenize:A4};function A4(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ge(e,t,"linePrefix")}}const Ru={name:"thematicBreak",tokenize:I4};function I4(e,t,n){let r=0,i;return o;function o(u){return e.enter("thematicBreak"),a(u)}function a(u){return i=u,l(u)}function l(u){return u===i?(e.enter("thematicBreakSequence"),s(u)):r>=3&&(u===null||ie(u))?(e.exit("thematicBreak"),t(u)):n(u)}function s(u){return u===i?(e.consume(u),r++,s):(e.exit("thematicBreakSequence"),fe(u)?ge(e,l,"whitespace")(u):l(u))}}const Bt={name:"list",tokenize:P4,continuation:{tokenize:_4},exit:N4},T4={tokenize:M4,partial:!0},O4={tokenize:R4,partial:!0};function P4(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return l;function l(d){const m=r.containerState.type||(d===42||d===43||d===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!r.containerState.marker||d===r.containerState.marker:Ch(d)){if(r.containerState.type||(r.containerState.type=m,e.enter(m,{_container:!0})),m==="listUnordered")return e.enter("listItemPrefix"),d===42||d===45?e.check(Ru,n,u)(d):u(d);if(!r.interrupt||d===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(d)}return n(d)}function s(d){return Ch(d)&&++a<10?(e.consume(d),s):(!r.interrupt||a<2)&&(r.containerState.marker?d===r.containerState.marker:d===41||d===46)?(e.exit("listItemValue"),u(d)):n(d)}function u(d){return e.enter("listItemMarker"),e.consume(d),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||d,e.check(ol,r.interrupt?n:c,e.attempt(T4,p,f))}
vendor: 5,090 bytes, line 41
41function c(d){return r.containerState.initialBlankLine=!0,o++,p(d)}function f(d){return fe(d)?(e.enter("listItemPrefixWhitespace"),e.consume(d),e.exit("listItemPrefixWhitespace"),p):n(d)}function p(d){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(d)}}function _4(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(ol,i,o);function i(l){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ge(e,t,"listItemIndent",r.containerState.size+1)(l)}function o(l){return r.containerState.furtherBlankLines||!fe(l)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(l)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(O4,t,a)(l))}function a(l){return r.containerState._closeFlow=!0,r.interrupt=void 0,ge(e,e.attempt(Bt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function R4(e,t,n){const r=this;return ge(e,i,"listItemIndent",r.containerState.size+1);function i(o){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(o):n(o)}}function N4(e){e.exit(this.containerState.type)}function M4(e,t,n){const r=this;return ge(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){const a=r.events[r.events.length-1];return!fe(o)&&a&&a[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}const CS={name:"setextUnderline",tokenize:L4,resolveTo:D4};function D4(e,t){let n=e.length,r,i,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);const a={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",a,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[o][1].end)):e[r][1]=a,e.push(["exit",a,t]),e}function L4(e,t,n){const r=this;let i;return o;function o(u){let c=r.events.length,f;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){f=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=u,a(u)):n(u)}function a(u){return e.enter("setextHeadingLineSequence"),l(u)}function l(u){return u===i?(e.consume(u),l):(e.exit("setextHeadingLineSequence"),fe(u)?ge(e,s,"lineSuffix")(u):s(u))}function s(u){return u===null||ie(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}const j4={tokenize:F4};function F4(e){const t=this,n=e.attempt(ol,r,e.attempt(this.parser.constructs.flowInitial,i,ge(e,e.attempt(this.parser.constructs.flow,i,e.attempt(W3,i)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const B4={resolveAll:IS()},z4=AS("string"),U4=AS("text");function AS(e){return{tokenize:t,resolveAll:IS(e==="text"?H4:void 0)};function t(n){const r=this,i=this.parser.constructs[e],o=n.attempt(i,a,l);return a;function a(c){return u(c)?o(c):l(c)}function l(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),s}function s(c){return u(c)?(n.exit("data"),o(c)):(n.consume(c),s)}function u(c){if(c===null)return!0;const f=i[c];let p=-1;if(f)for(;++p<f.length;){const d=f[p];if(!d.previous||d.previous.call(r,r.previous))return!0}return!1}}}function IS(e){return t;function t(n,r){let i=-1,o;for(;++i<=n.length;)o===void 0?n[i]&&n[i][1].type==="data"&&(o=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==o+2&&(n[o][1].end=n[i-1][1].end,n.splice(o+2,i-o-2),i=o+2),o=void 0);return e?e(n,r):n}}function H4(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let o=i.length,a=-1,l=0,s;for(;o--;){const u=i[o];if(typeof u=="string"){for(a=u.length;u.charCodeAt(a-1)===32;)l++,a--;if(a)break;a=-1}else if(u===-2)s=!0,l++;else if(u!==-1){o++;break}}if(l){const u={type:n===e.length||s||l<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-l,offset:r.end.offset-l,_index:r.start._index+o,_bufferIndex:o?a:r.start._bufferIndex+a},end:Object.assign({},r.end)};r.end=Object.assign({},u.start),r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}function W4(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},o=[];let a=[],l=[];const s={consume:g,enter:y,exit:S,attempt:A($),check:A(x),interrupt:A(x,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:d,sliceSerialize:p,now:m,defineSki
vendor: 1,076 bytes, line 41
41p:v,write:f};let c=t.tokenize.call(u,s);return t.resolveAll&&o.push(t),u;function f(O){return a=bn(a,O),b(),a[a.length-1]!==null?[]:(T(t,0),u.events=_u(o,u.events,u),u.events)}function p(O,D){return K4(d(O),D)}function d(O){return V4(a,O)}function m(){const{line:O,column:D,offset:N,_index:M,_bufferIndex:_}=r;return{line:O,column:D,offset:N,_index:M,_bufferIndex:_}}function v(O){i[O.line]=O.column,C()}function b(){let O;for(;r._index<a.length;){const D=a[r._index];if(typeof D=="string")for(O=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===O&&r._bufferIndex<D.length;)h(D.charCodeAt(r._bufferIndex));else h(D)}}function h(O){c=c(O)}function g(O){ie(O)?(r.line++,r.column=1,r.offset+=O===-3?2:1,C()):O!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=O}function y(O,D){const N=D||{};return N.type=O,N.start=m(),u.events.push(["enter",N,u]),l.push(N),N}function S(O){const D=l.pop();return D.end=m(),u.events.push(["exit",D,u]),D}function $(O,D){T(O,D.from)}
vendor: 2,703 bytes, lines 41-43
41function x(O,D){D.restore()}function A(O,D){return N;function N(M,_,R){let U,I,B,w;return Array.isArray(M)?W(M):"tokenize"in M?W([M]):z(M);function z(ne){return ae;function ae(he){const de=he!==null&&ne[he],X=he!==null&&ne.null,G=[...Array.isArray(de)?de:de?[de]:[],...Array.isArray(X)?X:X?[X]:[]];return W(G)(he)}}function W(ne){return U=ne,I=0,ne.length===0?R:E(ne[I])}function E(ne){return ae;function ae(he){return w=j(),B=ne,ne.partial||(u.currentConstruct=ne),ne.name&&u.parser.constructs.disable.null.includes(ne.name)?oe():ne.tokenize.call(D?Object.assign(Object.create(u),D):u,s,Q,oe)(he)}}function Q(ne){return O(B,w),_}function oe(ne){return w.restore(),++I<U.length?E(U[I]):R}}}function T(O,D){O.resolveAll&&!o.includes(O)&&o.push(O),O.resolve&&yn(u.events,D,u.events.length-D,O.resolve(u.events.slice(D),u)),O.resolveTo&&(u.events=O.resolveTo(u.events,u))}function j(){const O=m(),D=u.previous,N=u.currentConstruct,M=u.events.length,_=Array.from(l);return{restore:R,from:M};function R(){r=O,u.previous=D,u.currentConstruct=N,u.events.length=M,l=_,C()}}function C(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function V4(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let a;if(n===i)a=[e[n].slice(r,o)];else{if(a=e.slice(n,i),r>-1){const l=a[0];typeof l=="string"?a[0]=l.slice(r):a.shift()}o>0&&a.push(e[i].slice(0,o))}return a}function K4(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let a;if(typeof o=="string")a=o;else switch(o){case-5:{a="\r";break}case-4:{a=` 42`;break}case-3:{a=`\r 43`;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&i)continue;a=" ";break}default:a=String.fromCharCode(o)}i=o===-2,r.push(a)}return r.join("")}const G4=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:Y3},disable:{null:[]},document:{42:Bt,43:Bt,45:Bt,48:Bt,49:Bt,50:Bt,51:Bt,52:Bt,53:Bt,54:Bt,55:Bt,56:Bt,57:Bt,62:gS},flow:{35:t4,42:Ru,45:[CS,Ru],60:o4,61:CS,95:Ru,96:wS,126:wS},flowInitial:{[-2]:Ih,[-1]:Ih,32:Ih},insideSpan:{null:[Ah,B4]},string:{38:yS,92:vS},text:{[-5]:Oh,[-4]:Oh,[-3]:Oh,33:k4,38:yS,42:Ah,60:[$3,d4],91:$4,92:[X3,vS],93:Th,95:Ah,96:j3}},Symbol.toStringTag,{value:"Module"}));function Q4(e){const n=dS([G4,...(e||{}).extensions||[]]),r={defined:[],lazy:{},constructs:n,content:i(y3),document:i(w3),flow:i(j4),string:i(z4),text:i(U4)};return r;function i(o){return a;function a(l){return W4(r,o,l)}}}function Y4(e){for(;!SS(e););return e}const TS=/[\0\t\n\r]/g;function q4(){let e=1,t="",n=!0,r;return i;function i(o,a,l){const s=[];let u,c,f,p,d;for(o=t+(typeof o=="string"?o.toString():new TextDecoder(a||void 0).decode(o)),f=0,t="",n&&(o.charCo
vendor: 4,408 bytes, line 43
43deAt(0)===65279&&f++,n=void 0);f<o.length;){if(TS.lastIndex=f,u=TS.exec(o),p=u&&u.index!==void 0?u.index:o.length,d=o.charCodeAt(p),!u){t=o.slice(f);break}if(d===10&&f===p&&r)s.push(-3),r=void 0;else switch(r&&(s.push(-5),r=void 0),f<p&&(s.push(o.slice(f,p)),e+=p-f),d){case 0:{s.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,s.push(-2);e++<c;)s.push(-1);break}case 10:{s.push(-4),e=1;break}default:r=!0,e=1}f=p+1}return l&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}const J4=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Z4(e){return e.replace(J4,X4)}function X4(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return pS(n.slice(o?2:1),o?16:10)}return $h(n)||e}const OS={}.hasOwnProperty;function eB(e,t,n){return typeof t!="string"&&(n=t,t=void 0),tB(n)(Y4(Q4(n).document().write(q4()(e,t,!0))))}function tB(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(Qe),autolinkProtocol:j,autolinkEmail:j,atxHeading:o(ue),blockQuote:o(X),characterEscape:j,characterReference:j,codeFenced:o(G),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:o(G,a),codeText:o(ee,a),codeTextData:j,data:j,codeFlowValue:j,definition:o(Y),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:o(te),hardBreakEscape:o(q),hardBreakTrailing:o(q),htmlFlow:o(xe,a),htmlFlowData:j,htmlText:o(xe,a),htmlTextData:j,image:o(Te),label:a,link:o(Qe),listItem:o(xn),listItemValue:p,listOrdered:o(an,f),listUnordered:o(an),paragraph:o(fr),reference:E,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:o(ue),strong:o(kn),thematicBreak:o(Hn)},exit:{atxHeading:s(),atxHeadingSequence:$,autolink:s(),autolinkEmail:de,autolinkProtocol:he,blockQuote:s(),characterEscapeValue:C,characterReferenceMarkerHexadecimal:oe,characterReferenceMarkerNumeric:oe,characterReferenceValue:ne,characterReference:ae,codeFenced:s(b),codeFencedFence:v,codeFencedFenceInfo:d,codeFencedFenceMeta:m,codeFlowValue:C,codeIndented:s(h),codeText:s(_),codeTextData:C,data:C,definition:s(),definitionDestinationString:S,definitionLabelString:g,definitionTitleString:y,emphasis:s(),hardBreakEscape:s(D),hardBreakTrailing:s(D),htmlFlow:s(N),htmlFlowData:C,htmlText:s(M),htmlTextData:C,image:s(U),label:B,labelText:I,lineEnding:O,link:s(R),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:Q,resourceDestinationString:w,resourceTitleString:z,resource:W,setextHeading:s(T),setextHeadingLineSequence:A,setextHeadingText:x,strong:s(),thematicBreak:s()}};PS(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(F){let L={type:"root",children:[]};const K={stack:[L],tokenStack:[],config:t,enter:l,exit:u,buffer:a,resume:c,data:n},J=[];let re=-1;for(;++re<F.length;)if(F[re][1].type==="listOrdered"||F[re][1].type==="listUnordered")if(F[re][0]==="enter")J.push(re);else{const pe=J.pop();re=i(F,pe,re)}for(re=-1;++re<F.length;){const pe=t[F[re][0]];OS.call(pe,F[re][1].type)&&pe[F[re][1].type].call(Object.assign({sliceSerialize:F[re][2].sliceSerialize},K),F[re][1])}if(K.tokenStack.length>0){const pe=K.tokenStack[K.tokenStack.length-1];(pe[1]||_S).call(K,void 0,pe[0])}for(L.position={start:Zr(F.length>0?F[0][1].start:{line:1,column:1,offset:0}),end:Zr(F.length>0?F[F.length-2][1].end:{line:1,column:1,offset:0})},re=-1;++re<t.transforms.length;)L=t.transforms[re](L)||L;return L}function i(F,L,K){let J=L-1,re=-1,pe=!1,gt,vt,dr,Vt;for(;++J<=K;){const De=F[J];switch(De[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{De[0]==="enter"?re++:re--,Vt=void 0;break}case"lineEndingBlank":{De[0]==="enter"&&(gt&&!Vt&&!re&&!dr&&(dr=J),Vt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Vt=void 0}if(!re&&De[0]==="enter"&&De[1].type==="listItemPrefix"||re===-1&&De[0]==="exit"&&(De[1].type==="listUnordered"||De[1].type==="listOrdered")){if(gt){let Kt=J;for(vt=void 0;Kt--;){const At=F[Kt];if(At[1].type==="lineEnding"||At[1].type==="lineEndingBlank"){if(At[0]==="exit")continue;vt&&(F[vt][1].type="lineEndingBlank",pe=!0),At[1].type="lineEnding",vt=Kt}else if(!(At[1].type==="linePrefix"||At[1].type==="blockQuotePrefix"||At[1].type==="blockQuotePrefixWhitespace"||At[1].type==="blockQuoteMarker"||At[1].type==="listItemIndent"))break}
vendor: 6,555 bytes, line 43
43dr&&(!vt||dr<vt)&&(gt._spread=!0),gt.end=Object.assign({},vt?F[vt][1].start:De[1].end),F.splice(vt||J,0,["exit",gt,De[2]]),J++,K++}if(De[1].type==="listItemPrefix"){const Kt={type:"listItem",_spread:!1,start:Object.assign({},De[1].start),end:void 0};gt=Kt,F.splice(J,0,["enter",Kt,De[2]]),J++,K++,dr=void 0,Vt=!0}}}return F[L][1]._spread=pe,K}function o(F,L){return K;function K(J){l.call(this,F(J),J),L&&L.call(this,J)}}function a(){this.stack.push({type:"fragment",children:[]})}function l(F,L,K){this.stack[this.stack.length-1].children.push(F),this.stack.push(F),this.tokenStack.push([L,K]),F.position={start:Zr(L.start),end:void 0}}function s(F){return L;function L(K){F&&F.call(this,K),u.call(this,K)}}function u(F,L){const K=this.stack.pop(),J=this.tokenStack.pop();if(J)J[0].type!==F.type&&(L?L.call(this,F,J[0]):(J[1]||_S).call(this,F,J[0]));else throw new Error("Cannot close `"+F.type+"` ("+rl({start:F.start,end:F.end})+"): itâs not open");K.position.end=Zr(F.end)}function c(){return Eh(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(F){if(this.data.expectingFirstListItemValue){const L=this.stack[this.stack.length-2];L.start=Number.parseInt(this.sliceSerialize(F),10),this.data.expectingFirstListItemValue=void 0}}function d(){const F=this.resume(),L=this.stack[this.stack.length-1];L.lang=F}function m(){const F=this.resume(),L=this.stack[this.stack.length-1];L.meta=F}function v(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function b(){const F=this.resume(),L=this.stack[this.stack.length-1];L.value=F.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function h(){const F=this.resume(),L=this.stack[this.stack.length-1];L.value=F.replace(/(\r?\n|\r)$/g,"")}function g(F){const L=this.resume(),K=this.stack[this.stack.length-1];K.label=L,K.identifier=Pn(this.sliceSerialize(F)).toLowerCase()}function y(){const F=this.resume(),L=this.stack[this.stack.length-1];L.title=F}function S(){const F=this.resume(),L=this.stack[this.stack.length-1];L.url=F}function $(F){const L=this.stack[this.stack.length-1];if(!L.depth){const K=this.sliceSerialize(F).length;L.depth=K}}function x(){this.data.setextHeadingSlurpLineEnding=!0}function A(F){const L=this.stack[this.stack.length-1];L.depth=this.sliceSerialize(F).codePointAt(0)===61?1:2}function T(){this.data.setextHeadingSlurpLineEnding=void 0}function j(F){const K=this.stack[this.stack.length-1].children;let J=K[K.length-1];(!J||J.type!=="text")&&(J=ln(),J.position={start:Zr(F.start),end:void 0},K.push(J)),this.stack.push(J)}function C(F){const L=this.stack.pop();L.value+=this.sliceSerialize(F),L.position.end=Zr(F.end)}function O(F){const L=this.stack[this.stack.length-1];if(this.data.atHardBreak){const K=L.children[L.children.length-1];K.position.end=Zr(F.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(L.type)&&(j.call(this,F),C.call(this,F))}function D(){this.data.atHardBreak=!0}function N(){const F=this.resume(),L=this.stack[this.stack.length-1];L.value=F}function M(){const F=this.resume(),L=this.stack[this.stack.length-1];L.value=F}function _(){const F=this.resume(),L=this.stack[this.stack.length-1];L.value=F}function R(){const F=this.stack[this.stack.length-1];if(this.data.inReference){const L=this.data.referenceType||"shortcut";F.type+="Reference",F.referenceType=L,delete F.url,delete F.title}else delete F.identifier,delete F.label;this.data.referenceType=void 0}function U(){const F=this.stack[this.stack.length-1];if(this.data.inReference){const L=this.data.referenceType||"shortcut";F.type+="Reference",F.referenceType=L,delete F.url,delete F.title}else delete F.identifier,delete F.label;this.data.referenceType=void 0}function I(F){const L=this.sliceSerialize(F),K=this.stack[this.stack.length-2];K.label=Z4(L),K.identifier=Pn(L).toLowerCase()}function B(){const F=this.stack[this.stack.length-1],L=this.resume(),K=this.stack[this.stack.length-1];if(this.data.inReference=!0,K.type==="link"){const J=F.children;K.children=J}else K.alt=L}function w(){const F=this.resume(),L=this.stack[this.stack.length-1];L.url=F}function z(){const F=this.resume(),L=this.stack[this.stack.length-1];L.title=F}function W(){this.data.inReference=void 0}function E(){this.data.referenceType="collapsed"}function Q(F){const L=this.resume(),K=this.stack[this.stack.length-1];K.label=L,K.identifier=Pn(this.sliceSerialize(F)).toLowerCase(),this.data.referenceType="full"}function oe(F){this.data.characterReferenceType=F.type}function ne(F){const L=this.sliceSerialize(F),K=this.data.characterReferenceType;let J;K?(J=pS(L,K==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):J=$h(L);const re=this.stack[this.stack.length-1];re.value+=J}function ae(F){const L=this.stack.pop();L.position.end=Zr(F.end)}function he(F){C.call(this,F);const L=this.stack[this.stack.length-1];L.url=this.sliceSerialize(F)}function de(F){C.call(this,F);const L=this.stack[this.stack.length-1];L.url="mailto:"+this.sliceSerialize(F)}function X(){return{type:"blockquote",children:[]}}function G(){return{type:"code",lang:null,meta:null,value:""}}function ee(){return{type:"inlineCode",value:""}}function Y(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function te(){return{type:"emphasis",children:[]}}function ue(){return{type:"heading",depth:0,children:[]}}function q(){return{type:"break"}}function xe(){return{type:"html",value:""}}function Te(){return{type:"image",title:null,url:"",alt:null}}function Qe(){return{type:"link",title:null,url:"",children:[]}}function an(F){return{type:"list",ordered:F.type==="listOrdered",start:null,spread:F._spread,children:[]}}function xn(F){return{type:"listItem",spread:F._spread,checked:null,children:[]}}function fr(){return{type:"paragraph",children:[]}}function kn(){return{type:"strong",children:[]}}function ln(){return{type:"text",value:""}}function Hn(){return{type:"thematicBreak"}}}function Zr(e){return{line:e.line,column:e.column,offset:e.offset}}function PS(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?PS(e,r):nB(e,r)}}function nB(e,t){let n;for(n in t)if(OS.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function _S(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+rl({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+rl({start:t.start,end:t.end}
vendor: 66,497 bytes, lines 43-67
43)+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+rl({start:t.start,end:t.end})+") is still open")}function rB(e){const t=this;t.parser=n;function n(r){return eB(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function iB(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function oB(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` 44`}]}function aB(e,t){const n=t.value?t.value+` 45`:"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function lB(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function sB(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function uB(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=Po(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let a,l=e.footnoteCounts.get(r);l===void 0?(l=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=o+1,l+=1,e.footnoteCounts.set(r,l);const s={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,s);const u={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,u),e.applyData(t,u)}function cB(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function fB(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function RS(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&a.type==="text"?a.value+=r:i.push({type:"text",value:r}),i}function dB(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return RS(e,t);const i={src:Po(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)}function pB(e,t){const n={src:Po(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function hB(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function mB(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return RS(e,t);const i={href:Po(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function gB(e,t){const n={href:Po(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function vB(e,t,n){const r=e.all(t),i=n?yB(n):NS(t),o={},a=[];if(typeof t.checked=="boolean"){const c=r[0];let f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let l=-1;for(;++l<r.length;){const c=r[l];(i||l!==0||c.type!=="element"||c.tagName!=="p")&&a.push({type:"text",value:` 46`}),c.type==="element"&&c.tagName==="p"&&!i?a.push(...c.children):a.push(c)}const s=r[r.length-1];s&&(i||s.type!=="element"||s.tagName!=="p")&&a.push({type:"text",value:` 47`});const u={type:"element",tagName:"li",properties:o,children:a};return e.patch(t,u),e.applyData(t,u)}function yB(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=NS(n[r])}return t}function NS(e){const t=e.spread;return t??e.children.length>1}function bB(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const a=r[i];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)}function wB(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function SB(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function xB(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function kB(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const a={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],a),i.push(a)}if(n.length>0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},l=yh(t.children[1]),s=eS(t.children[t.children.length-1]);l&&s&&(a.position={start:l,end:s}),i.push(a)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function EB(e,t,n){const r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,l=a?a.length:t.children.length;let s=-1;const u=[];for(;++s<l;){const f=t.children[s],p={},d=a?a[s]:void 0;d&&(p.align=d);let m={type:"element",tagName:o,properties:p,children:[]};f&&(m.children=e.all(f),e.patch(f,m),m=e.applyData(f,m)),u.push(m)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,c),e.applyData(t,c)}function $B(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const MS=9,DS=32;function CB(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(LS(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(LS(t.slice(i),i>0,!1)),o.join("")}function LS(e,t,n){let r=0,i=e.length;if(t){let o=e.codePointAt(r);for(;o===MS||o===DS;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(i-1);for(;o===MS||o===DS;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function AB(e,t){const n={type:"text",value:CB(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function IB(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const TB={blockquote:iB,break:oB,code:aB,delete:lB,emphasis:sB,footnoteReference:uB,heading:cB,html:fB,imageReference:dB,image:pB,inlineCode:hB,linkReference:mB,link:gB,listItem:vB,list:bB,paragraph:wB,root:SB,strong:xB,table:kB,tableCell:$B,tableRow:EB,text:AB,thematicBreak:IB,toml:Nu,yaml:Nu,definition:Nu,footnoteDefinition:Nu};function Nu(){}const jS=-1,Mu=0,Du=1,Lu=2,Ph=3,_h=4,Rh=5,Nh=6,FS=7,BS=8,zS=typeof self=="object"?self:globalThis,OB=(e,t)=>{const n=(i,o)=>(e.set(o,i),i),r=i=>{if(e.has(i))return e.get(i);const[o,a]=t[i];switch(o){case Mu:case jS:return n(a,i);case Du:{const l=n([],i);for(const s of a)l.push(r(s));return l}case Lu:{const l=n({},i);for(const[s,u]of a)l[r(s)]=r(u);return l}case Ph:return n(new Date(a),i);case _h:{const{source:l,flags:s}=a;return n(new RegExp(l,s),i)}case Rh:{const l=n(new Map,i);for(const[s,u]of a)l.set(r(s),r(u));return l}case Nh:{const l=n(new Set,i);for(const s of a)l.add(r(s));return l}case FS:{const{name:l,message:s}=a;return n(new zS[l](s),i)}case BS:return n(BigInt(a),i);case"BigInt":return n(Object(BigInt(a)),i)}return n(new zS[o](a),i)};return r},US=e=>OB(new Map,e)(0),_o="",{toString:PB}={},{keys:_B}=Object,sl=e=>{const t=typeof e;if(t!=="object"||!e)return[Mu,t];const n=PB.call(e).slice(8,-1);switch(n){case"Array":return[Du,_o];case"Object":return[Lu,_o];case"Date":return[Ph,_o];case"RegExp":return[_h,_o];case"Map":return[Rh,_o];case"Set":return[Nh,_o]}return n.includes("Array")?[Du,n]:n.includes("Error")?[FS,n]:[Lu,n]},ju=([e,t])=>e===Mu&&(t==="function"||t==="symbol"),RB=(e,t,n,r)=>{const i=(a,l)=>{const s=r.push(a)-1;return n.set(l,s),s},o=a=>{if(n.has(a))return n.get(a);let[l,s]=sl(a);switch(l){case Mu:{let c=a;switch(s){case"bigint":l=BS,c=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);c=null;break;case"undefined":return i([jS],a)}return i([l,c],a)}case Du:{if(s)return i([s,[...a]],a);const c=[],f=i([l,c],a);for(const p of a)c.push(o(p));return f}case Lu:{if(s)switch(s){case"BigInt":return i([s,a.toString()],a);case"Boolean":case"Number":case"String":return i([s,a.valueOf()],a)}if(t&&"toJSON"in a)return o(a.toJSON());const c=[],f=i([l,c],a);for(const p of _B(a))(e||!ju(sl(a[p])))&&c.push([o(p),o(a[p])]);return f}case Ph:return i([l,a.toISOString()],a);case _h:{const{source:c,flags:f}=a;return i([l,{source:c,flags:f}],a)}case Rh:{const c=[],f=i([l,c],a);for(const[p,d]of a)(e||!(ju(sl(p))||ju(sl(d))))&&c.push([o(p),o(d)]);return f}case Nh:{const c=[],f=i([l,c],a);for(const p of a)(e||!ju(sl(p)))&&c.push(o(p));return f}}const{message:u}=a;return i([l,{name:s,message:u}],a)};return o},HS=(e,{json:t,lossy:n}={})=>{const r=[];return RB(!(t||n),!!t,new Map,r)(e),r},Fu=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?US(HS(e,t)):structuredClone(e):(e,t)=>US(HS(e,t));function NB(e,t){const n=[{type:"text",value:"â©"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function MB(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function DB(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||NB,r=e.options.footnoteBackLabel||MB,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},l=[];let s=-1;for(;++s<e.footnoteOrder.length;){const u=e.footnoteById.get(e.footnoteOrder[s]);if(!u)continue;const c=e.all(u),f=String(u.identifier).toUpperCase(),p=Po(f.toLowerCase());let d=0;const m=[],v=e.footnoteCounts.get(f);for(;v!==void 0&&++d<=v;){m.length>0&&m.push({type:"text",value:" "});let g=typeof n=="string"?n:n(s,d);typeof g=="string"&&(g={type:"text",value:g}),m.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+p+(d>1?"-"+d:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(s,d),className:["data-footnote-backref"]},children:Array.isArray(g)?g:[g]})}const b=c[c.length-1];if(b&&b.type==="element"&&b.tagName==="p"){const g=b.children[b.children.length-1];g&&g.type==="text"?g.value+=" ":b.children.push({type:"text",value:" "}),b.children.push(...m)}else c.push(...m);const h={type:"element",tagName:"li",properties:{id:t+"fn-"+p},children:e.wrap(c,!0)};e.patch(u,h),l.push(h)}if(l.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...Fu(a),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:` 48`},{type:"element",tagName:"ol",properties:{},children:e.wrap(l,!0)},{type:"text",value:` 49`}]}}const Bu=function(e){if(e==null)return BB;if(typeof e=="function")return zu(e);if(typeof e=="object")return Array.isArray(e)?LB(e):jB(e);if(typeof e=="string")return FB(e);throw new Error("Expected function, string, or object as test")};function LB(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Bu(e[n]);return zu(r);function r(...i){let o=-1;for(;++o<t.length;)if(t[o].apply(this,i))return!0;return!1}}function jB(e){const t=e;return zu(n);function n(r){const i=r;let o;for(o in e)if(i[o]!==t[o])return!1;return!0}}function FB(e){return zu(t);function t(n){return n&&n.type===e}}function zu(e){return t;function t(n,r,i){return!!(zB(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function BB(){return!0}function zB(e){return e!==null&&typeof e=="object"&&"type"in e}function _ue(e){return e}const WS=[],UB=!0,Mh=!1,HB="skip";function VS(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const o=Bu(i),a=r?-1:1;l(e,void 0,[])();function l(s,u,c){const f=s&&typeof s=="object"?s:{};if(typeof f.type=="string"){const d=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(s.type+(d?"<"+d+">":""))+")"})}return p;function p(){let d=WS,m,v,b;if((!t||o(s,u,c[c.length-1]||void 0))&&(d=WB(n(s,c)),d[0]===Mh))return d;if("children"in s&&s.children){const h=s;if(h.children&&d[0]!==HB)for(v=(r?h.children.length:-1)+a,b=c.concat(h);v>-1&&v<h.children.length;){const g=h.children[v];if(m=l(g,v,b)(),m[0]===Mh)return m;v=typeof m[1]=="number"?m[1]:v+a}}return d}}}function WB(e){return Array.isArray(e)?e:typeof e=="number"?[UB,e]:e==null?WS:[e]}function Dh(e,t,n,r){let i,o,a;typeof t=="function"&&typeof n!="function"?(o=void 0,a=t,i=n):(o=t,a=n,i=r),VS(e,o,l,i);function l(s,u){const c=u[u.length-1],f=c?c.children.indexOf(s):void 0;return a(s,f,c)}}const Lh={}.hasOwnProperty,VB={};function KB(e,t){const n=t||VB,r=new Map,i=new Map,o=new Map,a={...TB,...n.handlers},l={all:u,applyData:QB,definitionById:r,footnoteById:i,footnoteCounts:o,footnoteOrder:[],handlers:a,one:s,options:n,patch:GB,wrap:qB};return Dh(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){const f=c.type==="definition"?r:i,p=String(c.identifier).toUpperCase();f.has(p)||f.set(p,c)}}),l;function s(c,f){const p=c.type,d=l.handlers[p];if(Lh.call(l.handlers,p)&&d)return d(l,c,f);if(l.options.passThrough&&l.options.passThrough.includes(p)){if("children"in c){const{children:v,...b}=c,h=Fu(b);return h.children=l.all(c),h}return Fu(c)}return(l.options.unknownHandler||YB)(l,c,f)}function u(c){const f=[];if("children"in c){const p=c.children;let d=-1;for(;++d<p.length;){const m=l.one(p[d],c);if(m){if(d&&p[d-1].type==="break"&&(!Array.isArray(m)&&m.type==="text"&&(m.value=KS(m.value)),!Array.isArray(m)&&m.type==="element")){const v=m.children[0];v&&v.type==="text"&&(v.value=KS(v.value))}Array.isArray(m)?f.push(...m):f.push(m)}}}return f}}function GB(e,t){e.position&&(t.position=UF(e))}function QB(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,o=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const a="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:a}}n.type==="element"&&o&&Object.assign(n.properties,Fu(o)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function YB(e,t){const n=t.data||{},r="value"in t&&!(Lh.call(n,"hProperties")||Lh.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function qB(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:` 50`});++r<e.length;)r&&n.push({type:"text",value:` 51`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:` 52`}),n}function KS(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function GS(e,t){const n=KB(e,t),r=n.one(e,void 0),i=DB(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:` 53`},i),o}function JB(e,t){return e&&"run"in e?async function(n,r){const i=GS(n,{file:r,...t});await e.run(i,r)}:function(n,r){return GS(n,{file:r,...e||t})}}function QS(e){if(e)throw e}var Uu=Object.prototype.hasOwnProperty,YS=Object.prototype.toString,qS=Object.defineProperty,JS=Object.getOwnPropertyDescriptor,ZS=function(t){return typeof Array.isArray=="function"?Array.isArray(t):YS.call(t)==="[object Array]"},XS=function(t){if(!t||YS.call(t)!=="[object Object]")return!1;var n=Uu.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&Uu.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||Uu.call(t,i)},ex=function(t,n){qS&&n.name==="__proto__"?qS(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},tx=function(t,n){if(n==="__proto__")if(Uu.call(t,n)){if(JS)return JS(t,n).value}else return;return t[n]},ZB=function e(){var t,n,r,i,o,a,l=arguments[0],s=1,u=arguments.length,c=!1;for(typeof l=="boolean"&&(c=l,l=arguments[1]||{},s=2),(l==null||typeof l!="object"&&typeof l!="function")&&(l={});s<u;++s)if(t=arguments[s],t!=null)for(n in t)r=tx(l,n),i=tx(t,n),l!==i&&(c&&i&&(XS(i)||(o=ZS(i)))?(o?(o=!1,a=r&&ZS(r)?r:[]):a=r&&XS(r)?r:{},ex(l,{name:n,newValue:e(c,a,i)})):typeof i<"u"&&ex(l,{name:n,newValue:i}));return l};const jh=me(ZB);function Fh(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function XB(){const e=[],t={run:n,use:r};return t;function n(...i){let o=-1;const a=i.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);l(null,...i);function l(s,...u){const c=e[++o];let f=-1;if(s){a(s);return}for(;++f<i.length;)(u[f]===null||u[f]===void 0)&&(u[f]=i[f]);i=u,c?ez(c,l)(...u):a(null,...u)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function ez(e,t){let n;return r;function r(...a){const l=e.length>a.length;let s;l&&a.push(i);try{s=e.apply(this,a)}catch(u){const c=u;if(l&&n)throw c;return i(c)}l||(s&&s.then&&typeof s.then=="function"?s.then(o,i):s instanceof Error?i(s):o(s))}function i(a,...l){n||(n=!0,t(a,...l))}function o(a){i(null,a)}}const Yn={basename:tz,dirname:nz,extname:rz,join:iz,sep:"/"};function tz(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');ul(e);let n=0,r=-1,i=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,l=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else a<0&&(o=!0,a=i+1),l>-1&&(e.codePointAt(i)===t.codePointAt(l--)?l<0&&(r=i):(l=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function nz(e){if(ul(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function rz(e){ul(e);let t=e.length,n=-1,r=0,i=-1,o=0,a;for(;t--;){const l=e.codePointAt(t);if(l===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),l===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function iz(...e){let t=-1,n;for(;++t<e.length;)ul(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":oz(n)}function oz(e){ul(e);const t=e.codePointAt(0)===47;let n=az(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function az(e,t){let n="",r=0,i=-1,o=0,a=-1,l,s;for(;++a<=e.length;){if(a<e.length)l=e.codePointAt(a);else{if(l===47)break;l=47}if(l===47){if(!(i===a-1||o===1))if(i!==a-1&&o===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(s=n.lastIndexOf("/"),s!==n.length-1){s<0?(n="",r=0):(n=n.slice(0,s),r=n.length-1-n.lastIndexOf("/")),i=a,o=0;continue}}else if(n.length>0){n="",r=0,i=a,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,a):n=e.slice(i+1,a),r=a-i-1;i=a,o=0}else l===46&&o>-1?o++:o=-1}return n}function ul(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const lz={cwd:sz};function sz(){return"/"}function Bh(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function uz(e){if(typeof e=="string")e=new URL(e);else if(!Bh(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return cz(e)}function cz(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const zh=["history","path","basename","stem","extname","dirname"];class nx{constructor(t){let n;t?Bh(t)?n={path:t}:typeof t=="string"||fz(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":lz.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<zh.length;){const o=zh[r];o in n&&n[o]!==void 0&&n[o]!==null&&(this[o]=o==="history"?[...n[o]]:n[o])}let i;for(i in n)zh.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Yn.basename(this.path):void 0}set basename(t){Hh(t,"basename"),Uh(t,"basename"),this.path=Yn.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Yn.dirname(this.path):void 0}set dirname(t){rx(this.basename,"dirname"),this.path=Yn.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Yn.extname(this.path):void 0}set extname(t){if(Uh(t,"extname"),rx(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Yn.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Bh(t)&&(t=uz(t)),Hh(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Yn.basename(this.path,this.extname):void 0}set stem(t){Hh(t,"stem"),Uh(t,"stem"),this.path=Yn.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new xt(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Uh(e,t){if(e&&e.includes(Yn.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Yn.sep+"`")}function Hh(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function rx(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function fz(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const dz=function(e){const r=this.constructor.prototype,i=r[e],o=function(){return i.apply(o,arguments)};return Object.setPrototypeOf(o,r),o},pz={}.hasOwnProperty;class Wh extends dz{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=XB()}copy(){const t=new Wh;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(jh(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Gh("data",this.frozen),this.namespace[t]=n,this):pz.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Gh("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=Hu(t),r=this.parser||this.Parser;return Vh("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Vh("process",this.parser||this.Parser),Kh("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(o,a){const l=Hu(t),s=r.parse(l);r.run(s,l,function(c,f,p){if(c||!f||!p)return u(c);const d=f,m=r.stringify(d,p);gz(m)?p.value=m:p.result=m,u(c,p)});function u(c,f){c||!f?a(c):o?o(f):n(void 0,f)}}}processSync(t){let n=!1,r;return this.freeze(),Vh("processSync",this.parser||this.Parser),Kh("processSync",this.compiler||this.Compiler),this.process(t,i),ox("processSync","process",n),r;function i(o,a){n=!0,QS(o),r=a}}run(t,n,r){ix(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?o(void 0,r):new Promise(o);function o(a,l){const s=Hu(n);i.run(t,s,u);function u(c,f,p){const d=f||t;c?l(c):a?a(d):r(void 0,d,p)}}}runSync(t,n){let r=!1,i;return this.run(t,n,o),ox("runSync","run",r),i;function o(a,l){QS(a),i=l,r=!0}}stringify(t,n){this.freeze();const r=Hu(n),i=this.compiler||this.Compiler;return Kh("stringify",i),ix(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(Gh("use",this.frozen),t!=null)if(typeof t=="function")s(t,n);else if(typeof t=="object")Array.isArray(t)?l(t):a(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function o(u){if(typeof u=="function")s(u,[]);else if(typeof u=="object")if(Array.isArray(u)){const[c,...f]=u;s(c,f)}else a(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function a(u){if(!("plugins"in u)&&!("settings"in u))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(u.plugins),u.settings&&(i.settings=jh(!0,i.settings,u.settings))}function l(u){let c=-1;if(u!=null)if(Array.isArray(u))for(;++c<u.length;){const f=u[c];o(f)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function s(u,c){let f=-1,p=-1;for(;++f<r.length;)if(r[f][0]===u){p=f;break}if(p===-1)r.push([u,...c]);else if(c.length>0){let[d,...m]=c;const v=r[p][1];Fh(v)&&Fh(d)&&(d=jh(!0,v,d)),r[p]=[u,d,...m]}}}}const hz=new Wh().freeze();function Vh(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Kh(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Gh(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function ix(e){if(!Fh(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function ox(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Hu(e){return mz(e)?e:new nx(e)}function mz(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function gz(e){return typeof e=="string"||vz(e)}function vz(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const yz="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",ax=[],lx={allowDangerousHtml:!0},bz=/^(https?|ircs?|mailto|xmpp)$/i,wz=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function sx(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",i=e.className,o=e.components,a=e.disallowedElements,l=e.rehypePlugins||ax,s=e.remarkPlugins||ax,u=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...lx}:lx,c=e.skipHtml,f=e.unwrapDisallowed,p=e.urlTransform||ux,d=hz().use(rB).use(s).use(JB,u).use(l),m=new nx;typeof r=="string"&&(m.value=r);for(const g of wz)Object.hasOwn(e,g.from)&&(""+g.from+(g.to?"use `"+g.to+"` instead":"remove it")+yz+g.id,void 0);const v=d.parse(m);let b=d.runSync(v,m);return i&&(b={type:"element",tagName:"div",properties:{className:i},children:b.type==="root"?b.children:[b]}),Dh(b,h),QF(b,{Fragment:P.Fragment,components:o,ignoreInvalidStyle:!0,jsx:P.jsx,jsxs:P.jsxs,passKeys:!0,passNode:!0});function h(g,y,S){if(g.type==="raw"&&S&&typeof y=="number")return c?S.children.splice(y,1):S.children[y]={type:"text",value:g.value},y;if(g.type==="element"){let $;for($ in kh)if(Object.hasOwn(kh,$)&&Object.hasOwn(g.properties,$)){const x=g.properties[$],A=kh[$];(A===null||A.includes(g.tagName))&&(g.properties[$]=p(String(x||""),$,g))}}if(g.type==="element"){let $=t?!t.includes(g.tagName):a?a.includes(g.tagName):!1;if(!$&&n&&typeof y=="number"&&($=!n(g,y,S)),$&&S&&typeof y=="number")return f&&g.children?S.children.splice(y,1,...g.children):S.children.splice(y,1),y}}}function ux(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t<0||i>-1&&t>i||n>-1&&t>n||r>-1&&t>r||bz.test(e.slice(0,t))?e:""}function Sz(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function cx(e,t,n){const i=Bu((n||{}).ignore||[]),o=xz(t);let a=-1;for(;++a<o.length;)VS(e,"text",l);function l(u,c){let f=-1,p;for(;++f<c.length;){const d=c[f],m=p?p.children:void 0;if(i(d,m?m.indexOf(d):void 0,p))return;p=d}if(p)return s(u,c)}function s(u,c){const f=c[c.length-1],p=o[a][0],d=o[a][1];let m=0;const b=f.children.indexOf(u);let h=!1,g=[];p.lastIndex=0;let y=p.exec(u.value);for(;y;){const S=y.index,$={index:y.index,input:y.input,stack:[...c,u]};let x=d(...y,$);if(typeof x=="string"&&(x=x.length>0?{type:"text",value:x}:void 0),x===!1?p.lastIndex=S+1:(m!==S&&g.push({type:"text",value:u.value.slice(m,S)}),Array.isArray(x)?g.push(...x):x&&g.push(x),m=S+y[0].length,h=!0),!p.global)break;y=p.exec(u.value)}return h?(m<u.value.length&&g.push({type:"text",value:u.value.slice(m)}),f.children.splice(b,1,...g)):g=[u],b+g.length}}function xz(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const i=n[r];t.push([kz(i[0]),Ez(i[1])])}return t}function kz(e){return typeof e=="string"?new RegExp(Sz(e),"g"):e}function Ez(e){return typeof e=="function"?e:function(){return e}}function $z(e){cx(e,[/\r?\n|\r/g,Cz])}function Cz(){return{type:"break"}}function Az(){return function(e){$z(e)}}function fx(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}const Qh="phrasing",Yh=["autolink","link","image","label"];function Iz(){return{transforms:[Mz],enter:{literalAutolink:Oz,literalAutolinkEmail:qh,literalAutolinkHttp:qh,literalAutolinkWww:qh},exit:{literalAutolink:Nz,literalAutolinkEmail:Rz,literalAutolinkHttp:Pz,literalAutolinkWww:_z}}}function Tz(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Qh,notInConstruct:Yh},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Qh,notInConstruct:Yh},{character:":",before:"[ps]",after:"\\/",inConstruct:Qh,notInConstruct:Yh}]}}function Oz(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function qh(e){this.config.enter.autolinkProtocol.call(this,e)}function Pz(e){this.config.exit.autolinkProtocol.call(this,e)}function _z(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function Rz(e){this.config.exit.autolinkEmail.call(this,e)}function Nz(e){this.exit(e)}function Mz(e){cx(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Dz],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,Lz]],{ignore:["link","linkReference"]})}function Dz(e,t,n,r,i){let o="";if(!dx(i)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!jz(n)))return!1;const a=Fz(n+r);if(!a[0])return!1;const l={type:"link",title:null,url:o+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[l,{type:"text",value:a[1]}]:l}function Lz(e,t,n,r){return!dx(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function jz(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function Fz(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=fx(e,"(");let o=fx(e,")");for(;r!==-1&&i>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}function dx(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||_i(n)||Ou(n))&&(!t||n!==47)}px.peek=qz;function Bz(){return{enter:{gfmFootnoteDefinition:Uz,gfmFootnoteDefinitionLabelString:Hz,gfmFootnoteCall:Kz,gfmFootnoteCallString:Gz},exit:{gfmFootnoteDefinition:Vz,gfmFootnoteDefinitionLabelString:Wz,gfmFootnoteCall:Yz,gfmFootnoteCallString:Qz}}}function zz(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Jz,footnoteReference:px}}}function Uz(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Hz(){this.buffer()}function Wz(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Pn(this.sliceSerialize(e)).toLowerCase()}function Vz(e){this.exit(e)}function Kz(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Gz(){this.buffer()}function Qz(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Pn(this.sliceSerialize(e)).toLowerCase()}function Yz(e){this.exit(e)}function px(e,t,n,r){const i=n.createTracker(r);let o=i.move("[^");const a=n.enter("footnoteReference"),l=n.enter("reference");return o+=i.move(n.safe(n.associationId(e),{...i.current(),before:o,after:"]"})),l(),a(),o+=i.move("]"),o}function qz(){return"["}function Jz(e,t,n,r){const i=n.createTracker(r);let o=i.move("[^");const a=n.enter("footnoteDefinition"),l=n.enter("label");return o+=i.move(n.safe(n.associationId(e),{...i.current(),before:o,after:"]"})),l(),o+=i.move("]:"+(e.children&&e.children.length>0?" ":"")),i.shift(4),o+=i.move(n.indentLines(n.containerFlow(e,i.current()),Zz)),a(),o}function Zz(e,t,n){return t===0?e:(n?"":" ")+e}const Xz=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];hx.peek=i5;function e5(){return{canContainEols:["delete"],enter:{strikethrough:n5},exit:{strikethrough:r5}}}function t5(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Xz}],handlers:{delete:hx}}}function n5(e){this.enter({type:"delete",children:[]},e)}function r5(e){this.exit(e)}function hx(e,t,n,r){const i=n.createTracker(r),o=n.enter("strikethrough");let a=i.move("~~");return a+=n.containerPhrasing(e,{...i.current(),before:a,after:"~"}),a+=i.move("~~"),o(),a}function i5(){return"~"}function o5(e){return e.length}function a5(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||o5,o=[],a=[],l=[],s=[];let u=0,c=-1;for(;++c<e.length;){const v=[],b=[];let h=-1;for(e[c].length>u&&(u=e[c].length);++h<e[c].length;){const g=l5(e[c][h]);if(n.alignDelimiters!==!1){const y=i(g);b[h]=y,(s[h]===void 0||y>s[h])&&(s[h]=y)}v.push(g)}a[c]=v,l[c]=b}let f=-1;if(typeof r=="object"&&"length"in r)for(;++f<u;)o[f]=mx(r[f]);else{const v=mx(r);for(;++f<u;)o[f]=v}f=-1;const p=[],d=[];for(;++f<u;){const v=o[f];let b="",h="";v===99?(b=":",h=":"):v===108?b=":":v===114&&(h=":");let g=n.alignDelimiters===!1?1:Math.max(1,s[f]-b.length-h.length);const y=b+"-".repeat(g)+h;n.alignDelimiters!==!1&&(g=b.length+g+h.length,g>s[f]&&(s[f]=g),d[f]=g),p[f]=y}a.splice(1,0,p),l.splice(1,0,d),c=-1;const m=[];for(;++c<a.length;){const v=a[c],b=l[c];f=-1;const h=[];for(;++f<u;){const g=v[f]||"";let y="",S="";if(n.alignDelimiters!==!1){const $=s[f]-(b[f]||0),x=o[f];x===114?y=" ".repeat($):x===99?$%2?(y=" ".repeat($/2+.5),S=" ".repeat($/2-.5)):(y=" ".repeat($/2),S=y):S=" ".repeat($)}n.delimiterStart!==!1&&!f&&h.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&g==="")&&(n.delimiterStart!==!1||f)&&h.push(" "),n.alignDelimiters!==!1&&h.push(y),h.push(g),n.alignDelimiters!==!1&&h.push(S),n.padding!==!1&&h.push(" "),(n.delimiterEnd!==!1||f!==u-1)&&h.push("|")}m.push(n.delimiterEnd===!1?h.join("").replace(/ +$/,""):h.join(""))}return m.join(` 54`)}function l5(e){return e==null?"":String(e)}function mx(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function s5(e,t,n,r){const i=n.enter("blockquote"),o=n.createTracker(r);o.move("> "),o.shift(2);const a=n.indentLines(n.containerFlow(e,o.current()),u5);return i(),a}function u5(e,t,n){return">"+(n?"":" ")+e}function c5(e,t){return gx(e,t.inConstruct,!0)&&!gx(e,t.notInConstruct,!1)}function gx(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function vx(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===` 55`&&c5(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\ 56`}function f5(e,t){const n=String(e);let r=n.indexOf(t),i=r,o=0,a=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++o>a&&(a=o):o=1,i=r+t.length,r=n.indexOf(t,i);return a}function d5(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function p5(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function h5(e,t,n,r){const i=p5(n),o=e.value||"",a=i==="`"?"GraveAccent":"Tilde";if(d5(e,n)){const f=n.enter("codeIndented"),p=n.indentLines(o,m5);return f(),p}const l=n.createTracker(r),s=i.repeat(Math.max(f5(o,i)+1,3)),u=n.enter("codeFenced");let c=l.move(s);if(e.lang){const f=n.enter(`codeFencedLang${a}`);c+=l.move(n.safe(e.lang,{before:c,after:" ",encode:["`"],...l.current()})),f()}if(e.lang&&e.meta){const f=n.enter(`codeFencedMeta${a}`);c+=l.move(" "),c+=l.move(n.safe(e.meta,{before:c,after:` 57`,encode:["`"],...l.current()})),f()}return c+=l.move(` 58`),o&&(c+=l.move(o+` 59`)),c+=l.move(s),u(),c}function m5(e,t,n){return(n?"":" ")+e}function Jh(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function g5(e,t,n,r){const i=Jh(n),o=i==='"'?"Quote":"Apostrophe",a=n.enter("definition");let l=n.enter("label");const s=n.createTracker(r);let u=s.move("[");return u+=s.move(n.safe(n.associationId(e),{before:u,after:"]",...s.current()})),u+=s.move("]: "),l(),!e.url||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(n.safe(e.url,{before:u,after:">",...s.current()})),u+=s.move(">")):(l=n.enter("destinationRaw"),u+=s.move(n.safe(e.url,{before:u,after:e.title?" ":` 60`,...s.current()}))),l(),e.title&&(l=n.enter(`title${o}`),u+=s.move(" "+i),u+=s.move(n.safe(e.title,{before:u,after:i,...s.current()})),u+=s.move(i),l()),a(),u}function v5(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}yx.peek=y5;function yx(e,t,n,r){const i=v5(n),o=n.enter("emphasis"),a=n.createTracker(r);let l=a.move(i);return l+=a.move(n.containerPhrasing(e,{before:l,after:i,...a.current()})),l+=a.move(i),o(),l}function y5(e,t,n){return n.options.emphasis||"*"}function b5(e,t){let n=!1;return Dh(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,Mh}),!!((!e.depth||e.depth<3)&&Eh(e)&&(t.options.setext||n))}function w5(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),o=n.createTracker(r);if(b5(e,n)){const c=n.enter("headingSetext"),f=n.enter("phrasing"),p=n.containerPhrasing(e,{...o.current(),before:` 61`,after:` 62`});return f(),c(),p+` 63`+(i===1?"=":"-").repeat(p.length-(Math.max(p.lastIndexOf("\r"),p.lastIndexOf(` 64`))+1))}const a="#".repeat(i),l=n.enter("headingAtx"),s=n.enter("phrasing");o.move(a+" ");let u=n.containerPhrasing(e,{before:"# ",after:` 65`,...o.current()});return/^[\t ]/.test(u)&&(u="&#x"+u.charCodeAt(0).toString(16).toUpperCase()+";"+u.slice(1)),u=u?a+" "+u:a,n.options.closeAtx&&(u+=" "+a),s(),l(),u}bx.peek=S5;function bx(e){return e.value||""}function S5(){return"<"}wx.peek=x5;function wx(e,t,n,r){const i=Jh(n),o=i==='"'?"Quote":"Apostrophe",a=n.enter("image");let l=n.enter("label");const s=n.createTracker(r);let u=s.move("![");return u+=s.move(n.safe(e.alt,{before:u,after:"]",...s.current()})),u+=s.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(n.safe(e.url,{before:u,after:">",...s.current()})),u+=s.move(">")):(l=n.enter("destinationRaw"),u+=s.move(n.safe(e.url,{before:u,after:e.title?" ":")",...s.current()}))),l(),e.title&&(l=n.enter(`title${o}`),u+=s.move(" "+i),u+=s.move(n.safe(e.title,{before:u,after:i,...s.current()})),u+=s.move(i),l()),u+=s.move(")"),a(),u}function x5(){return"!"}Sx.peek=k5;function Sx(e,t,n,r){const i=e.referenceType,o=n.enter("imageReference");let a=n.enter("label");const l=n.createTracker(r);let s=l.move("![");const u=n.safe(e.alt,{before:s,after:"]",...l.current()});s+=l.move(u+"]["),a();const c=n.stack;n.stack=[],a=n.enter("reference");const f=n.safe(n.associationId(e),{before:s,after:"]",...l.current()});return a(),n.stack=c,o(),i==="full"||!u||u!==f?s+=l.move(f+"]"):i==="shortcut"?s=s.slice(0,-1):s+=l.move("]"),s}function k5(){return"!"}xx.peek=E5;function xx(e,t,n){let r=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){const a=n.unsafe[o],l=n.compilePattern(a);let s;if(a.atBreak)for(;s=l.exec(r);){let u=s.index;r.charCodeAt(u)===10&&r.charCodeAt(u-1)===13&&u--,r=r.slice(0,u)+" "+r.slice(s.index+1)}}return i+r+i}function E5(){return"`"}function kx(e,t){const n=Eh(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Ex.peek=$5;function Ex(e,t,n,r){const i=Jh(n),o=i==='"'?"Quote":"Apostrophe",a=n.createTracker(r);let l,s;if(kx(e,n)){const c=n.stack;n.stack=[],l=n.enter("autolink");let f=a.move("<");return f+=a.move(n.containerPhrasing(e,{before:f,after:">",...a.current()})),f+=a.move(">"),l(),n.stack=c,f}l=n.enter("link"),s=n.enter("label");let u=a.move("[");return u+=a.move(n.containerPhrasing(e,{before:u,after:"](",...a.current()})),u+=a.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),u+=a.move("<"),u+=a.move(n.safe(e.url,{before:u,after:">",...a.current()})),u+=a.move(">")):(s=n.enter("destinationRaw"),u+=a.move(n.safe(e.url,{before:u,after:e.title?" ":")",...a.current()}))),s(),e.title&&(s=n.enter(`title${o}`),u+=a.move(" "+i),u+=a.move(n.safe(e.title,{before:u,after:i,...a.current()})),u+=a.move(i),s()),u+=a.move(")"),l(),u}function $5(e,t,n){return kx(e,n)?"<":"["}$x.peek=C5;function $x(e,t,n,r){const i=e.referenceType,o=n.enter("linkReference");let a=n.enter("label");const l=n.createTracker(r);let s=l.move("[");const u=n.containerPhrasing(e,{before:s,after:"]",...l.current()});s+=l.move(u+"]["),a();const c=n.stack;n.stack=[],a=n.enter("reference");const f=n.safe(n.associationId(e),{before:s,after:"]",...l.current()});return a(),n.stack=c,o(),i==="full"||!u||u!==f?s+=l.move(f+"]"):i==="shortcut"?s=s.slice(0,-1):s+=l.move("]"),s}function C5(){return"["}function Zh(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function A5(e){const t=Zh(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function I5(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function Cx(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function T5(e,t,n,r){const i=n.enter("list"),o=n.bulletCurrent;let a=e.ordered?I5(n):Zh(n);const l=e.ordered?a==="."?")":".":A5(n);let s=t&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!e.ordered){const c=e.children?e.children[0]:void 0;if((a==="*"||a==="-")&&c&&(!c.children||!c.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(s=!0),Cx(n)===a&&c){let f=-1;for(;++f<e.children.length;){const p=e.children[f];if(p&&p.type==="listItem"&&p.children&&p.children[0]&&p.children[0].type==="thematicBreak"){s=!0;break}}}}s&&(a=l),n.bulletCurrent=a;const u=n.containerFlow(e,r);return n.bulletLastUsed=a,n.bulletCurrent=o,i(),u}function O5(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function P5(e,t,n,r){const i=O5(n);let o=n.bulletCurrent||Zh(n);t&&t.type==="list"&&t.ordered&&(o=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let a=o.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(a=Math.ceil(a/4)*4);const l=n.createTracker(r);l.move(o+" ".repeat(a-o.length)),l.shift(a);const s=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,l.current()),c);return s(),u;function c(f,p,d){return p?(d?"":" ".repeat(a))+f:(d?o:o+" ".repeat(a-o.length))+f}}function _5(e,t,n,r){const i=n.enter("paragraph"),o=n.enter("phrasing"),a=n.containerPhrasing(e,r);return o(),i(),a}const R5=Bu(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function N5(e,t,n,r){return(e.children.some(function(a){return R5(a)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function M5(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Ax.peek=D5;function Ax(e,t,n,r){const i=M5(n),o=n.enter("strong"),a=n.createTracker(r);let l=a.move(i+i);return l+=a.move(n.containerPhrasing(e,{before:l,after:i,...a.current()})),l+=a.move(i+i),o(),l}function D5(e,t,n){return n.options.strong||"*"}function L5(e,t,n,r){return n.safe(e.value,r)}function j5(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function F5(e,t,n){const r=(Cx(n)+(n.options.ruleSpaces?" ":"")).repeat(j5(n));return n.options.ruleSpaces?r.slice(0,-1):r}const Ix={blockquote:s5,break:vx,code:h5,definition:g5,emphasis:yx,hardBreak:vx,heading:w5,html:bx,image:wx,imageReference:Sx,inlineCode:xx,link:Ex,linkReference:$x,list:T5,listItem:P5,paragraph:_5,root:N5,strong:Ax,text:L5,thematicBreak:F5};function B5(){return{enter:{table:z5,tableData:Tx,tableHeader:Tx,tableRow:H5},exit:{codeText:W5,table:U5,tableData:Xh,tableHeader:Xh,tableRow:Xh}}}function z5(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function U5(e){this.exit(e),this.data.inTable=void 0}function H5(e){this.enter({type:"tableRow",children:[]},e)}function Xh(e){this.exit(e)}function Tx(e){this.enter({type:"tableCell",children:[]},e)}function W5(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,V5));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function V5(e,t){return t==="|"?t:e}function K5(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` 66`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:p,table:a,tableCell:s,tableRow:l}};function a(d,m,v,b){return u(c(d,v,b),d.align)}function l(d,m,v,b){const h=f(d,v,b),g=u([h]);return g.slice(0,g.indexOf(` 67`))}function s(d,m,v,b){const h=v.enter("tableCell"),g=v.enter("phrasing"),y=v.containerPhrasing(d,{...b,before:o,after:o});return g(),h(),y}function u(d,m){return a5(d,{align:m,alignDelimiters:r,padding:n,stringLength:i})}function c(d,m,v){const b=d.children;let h=-1;const g=[],y=m.enter("table");for(;++h<b.length;)g[h]=f(b[h],m,v);return y(),g}function f(d,m,v){const b=d.children;let h=-1;const g=[],y=m.enter("tableRow");for(;++h<b.length;)g[h]=s(b[h],d,m,v);return y(),g}function p(d,m,v){let b=Ix.inlineCode(d,m,v);return v.stack.includes("tableCell")&&(b=b.replace(/\|/g,"\\$&")),b}}function G5(){return{exit:{taskListCheckValueChecked:Ox,taskListCheckValueUnchecked:Ox,paragraph:Y5}}}function Q5(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:q5}}}function Ox(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Y5(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let o=-1,a;for(;++o<i.length;){const l=i[o];if(l.type==="paragraph"){a=l;break}}a===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function q5(e,t,n,r){const i=e.children[0],o=typeof e.checked=="boolean"&&i&&i.type==="paragraph",a="["+(e.checked?"x":" ")+"] ",l=n.createTracker(r);o&&l.move(a);let s=Ix.listItem(e,t,n,{...r,...l.current()});return o&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),s;function u(c){return c+a}}function J5(){return[Iz(),Bz(),e5(),B5(),G5()]}function Z5(e){return{extensions:[Tz(),zz(),t5(),K5(e),Q5()]}}const X5={tokenize:o6,partial:!0},Px={tokenize:a6,partial:!0},_x={tokenize:l6,partial:!0},Rx={tokenize:s6,partial:!0},e6={tokenize:u6,partial:!0},Nx={name:"wwwAutolink",tokenize:r6,previous:Dx},Mx={name:"protocolAutolink",tokenize:i6,previous:Lx},kr={name:"emailAutolink",tokenize:n6,previous:jx},qn={};function t6(){return{text:qn}}let Ri=48;for(;Ri<123;)qn[Ri]=kr,Ri++,Ri===58?Ri=65:Ri===91&&(Ri=97);qn[43]=kr,qn[45]=kr,qn[46]=kr,qn[95]=kr,qn[72]=[kr,Mx],qn[104]=[kr,Mx],qn[87]=[kr,Nx],qn[119]=[kr,Nx];function n6(e,t,n){const r=this;let i,o;return a;function a(f){return!em(f)||!jx.call(r,r.previous)||tm(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),l(f))}function l(f){return em(f)?(e.consume(f),l):f===64?(e.consume(f),s):n(f)}function s(f){return f===46?e.check(e6,c,u)(f):f===45||f===95||kt(f)?(o=!0,e.consume(f),s):c(f)}function u(f){return e.consume(f),i=!0,s}function c(f){return o&&i&&Rt(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}function r6(e,t,n){const r=this;return i;function i(a){return a!==87&&a!==119||!Dx.call(r,r.previous)||tm(r.events)?n(a):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(X5,e.attempt(Px,e.attempt(_x,o),n),n)(a))}function o(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}function i6(e,t,n){const r=this;let i="",o=!1;return a;function a(f){return(f===72||f===104)&&Lx.call(r,r.previous)&&!tm(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),e.consume(f),l):n(f)}function l(f){if(Rt(f)&&i.length<5)return i+=String.fromCodePoint(f),e.consume(f),l;if(f===58){const p=i.toLowerCase();if(p==="http"||p==="https")return e.consume(f),s}return n(f)}function s(f){return f===47?(e.consume(f),o?u:(o=!0,s)):n(f)}function u(f){return f===null||Tu(f)||Ae(f)||_i(f)||Ou(f)?n(f):e.attempt(Px,e.attempt(_x,c),n)(f)}function c(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function o6(e,t,n){let r=0;return i;function i(a){return(a===87||a===119)&&r<3?(r++,e.consume(a),i):a===46&&r===3?(e.consume(a),o):n(a)}function o(a){return a===null?n(a):t(a)}}function a6(e,t,n){let r,i,o;return a;function a(u){return u===46||u===95?e.check(Rx,s,l)(u):u===null||Ae(u)||_i(u)||u!==45&&Ou(u)?s(u):(o=!0,e.consume(u),a)}function l(u){return u===95?r=!0:(i=r,r=void 0),e.consume(u),a}function s(u){return i||r||!o?n(u):t(u)}}function l6(e,t){let n=0,r=0;return i;function i(a){return a===40?(n++,e.consume(a),i):a===41&&r<n?o(a):a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126?e.check(Rx,t,o)(a):a===null||Ae(a)||_i(a)?t(a):(e.consume(a),i)}function o(a){return a===41&&r++,e.consume(a),i}}function s6(e,t,n){return r;function r(l){return l===33||l===34||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===63||l===95||l===126?(e.consume(l),r):l===38?(e.consume(l),o):l===93?(e.consume(l),i):l===60||l===null||Ae(l)||_i(l)?t(l):n(l)}function i(l){return l===null||l===40||l===91||Ae(l)||_i(l)?t(l):r(l)}function o(l){return Rt(l)?a(l):n(l)}function a(l){return l===59?(e.consume(l),r):Rt(l)?(e.consume(l),a):n(l)}}function u6(e,t,n){return r;function r(o){return e.consume(o),i}function i(o){return kt(o)?n(o):t(o)}}function Dx(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Ae(e)}function Lx(e){return!Rt(e)}function jx(e){return!(e===47||em(e))}function em(e){return e===43||e===45||e===46||e===95||kt(e)}function tm(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const c6={tokenize:y6,partial:!0};function f6(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:m6,continuation:{tokenize:g6},exit:v6}},text:{91:{name:"gfmFootnoteCall",tokenize:h6},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:d6,resolveTo:p6}}}}function d6(e,t,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;i--;){const s=r.events[i][1];if(s.type==="labelImage"){a=s;break}if(s.type==="gfmFootnoteCall"||s.type==="labelLink"||s.type==="label"||s.type==="image"||s.type==="link")break}return l;function l(s){if(!a||!a._balanced)return n(s);const u=Pn(r.sliceSerialize({start:a.end,end:r.now()}));return u.codePointAt(0)!==94||!o.includes(u.slice(1))?n(s):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),t(s))}}function p6(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},l=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",o,t],["enter",a,t],["exit",a,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...l),e}function h6(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o=0,a;return l;function l(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),s}function s(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(f){if(o>999||f===93&&!a||f===null||f===91||Ae(f))return n(f);if(f===93){e.exit("chunkString");const p=e.exit("gfmFootnoteCallString");return i.includes(Pn(r.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return Ae(f)||(a=!0),o++,e.consume(f),f===92?c:u}function c(f){return f===91||f===92||f===93?(e.consume(f),o++,u):u(f)}}function m6(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,a=0,l;return s;function s(m){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(m){return m===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(m)}function c(m){if(a>999||m===93&&!l||m===null||m===91||Ae(m))return n(m);if(m===93){e.exit("chunkString");const v=e.exit("gfmFootnoteDefinitionLabelString");return o=Pn(r.sliceSerialize(v)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return Ae(m)||(l=!0),a++,e.consume(m),m===92?f:c}function f(m){return m===91||m===92||m===93?(e.consume(m),a++,c):c(m)}function p(m){return m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),i.includes(o)||i.push(o),ge(e,d,"gfmFootnoteDefinitionWhitespace")):n(m)}function d(m){return t(m)}}function g6(e,t,n){return e.check(ol,t,e.attempt(c6,t,n))}function v6(e){e.exit("gfmFootnoteDefinition")}function y6(e,t,n){const r=this;return ge(e,i,"gfmFootnoteDefinitionIndent",5);function i(o){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(o):n(o)}}function b6(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:o,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(a,l){let s=-1;for(;++s<a.length;)if(a[s][0]==="enter"&&a[s][1].type==="strikethroughSequenceTemporary"&&a[s][1]._close){let u=s;for(;u--;)if(a[u][0]==="exit"&&a[u][1].type==="strikethroughSequenceTemporary"&&a[u][1]._open&&a[s][1].end.offset-a[s][1].start.offset===a[u][1].end.offset-a[u][1].start.offset){a[s][1].type="strikethroughSequence",a[u][1].type="strikethroughSequence";const c={type:"strikethrough",start:Object.assign({},a[u][1].start),end:Object.assign({},a[s][1].end)},f={type:"strikethroughText",start:Object.assign({},a[u][1].end),end:Object.assign({},a[s][1].start)},p=[["enter",c,l],["enter",a[u][1],l],["exit",a[u][1],l],["enter",f,l]],d=l.parser.constructs.insideSpan.null;d&&yn(p,p.length,0,_u(d,a.slice(u+1,s),l)),yn(p,p.length,0,[["exit",f,l],["enter",a[s][1],l],["exit",a[s][1],l],["exit",c,l]]),yn(a,u-1,s-u+3,p),s=u+p.length-2;break}}for(s=-1;++s<a.length;)a[s][1].type==="strikethroughSequenceTemporary"&&(a[s][1].type="data");return a}function o(a,l,s){const u=this.previous,c=this.events;let f=0;return p;function p(m){return u===126&&c[c.length-1][1].type!=="characterEscape"?s(m):(a.enter("strikethroughSequenceTemporary"),d(m))}function d(m){const v=Pu(u);if(m===126)return f>1?s(m):(a.consume(m),f++,d);if(f<2&&!n)return s(m);const b=a.exit("strikethroughSequenceTemporary"),h=Pu(m);return b._open=!h||h===2&&!!v,b._close=!v||v===2&&!!h,l(m)}}}class w6{constructor(){this.map=[]}add(t,n,r){S6(this,t,n,r)}consume(t){if(this.map.sort(function(o,a){return o[0]-a[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push([...t]),t.length=0;let i=r.pop();for(;i;)t.push(...i),i=r.pop();this.map.length=0}}function S6(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function x6(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const o=r.length-1;r[o]=r[o]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function k6(){return{flow:{null:{name:"table",tokenize:E6,resolveAll:$6}}}}function E6(e,t,n){const r=this;let i=0,o=0,a;return l;function l(C){let O=r.events.length-1;for(;O>-1;){const M=r.events[O][1].type;if(M==="lineEnding"||M==="linePrefix")O--;else break}const D=O>-1?r.events[O][1].type:null,N=D==="tableHead"||D==="tableRow"?x:s;return N===x&&r.parser.lazy[r.now().line]?n(C):N(C)}function s(C){return e.enter("tableHead"),e.enter("tableRow"),u(C)}function u(C){return C===124||(a=!0,o+=1),c(C)}function c(C){return C===null?n(C):ie(C)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),d):n(C):fe(C)?ge(e,c,"whitespace")(C):(o+=1,a&&(a=!1,i+=1),C===124?(e.enter("tableCellDivider"),e.consume(C),e.exit("tableCellDivider"),a=!0,c):(e.enter("data"),f(C)))}function f(C){return C===null||C===124||Ae(C)?(e.exit("data"),c(C)):(e.consume(C),C===92?p:f)}function p(C){return C===92||C===124?(e.consume(C),f):f(C)}function d(C){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(C):(e.enter("tableDelimiterRow"),a=!1,fe(C)?ge(e,m,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(C):m(C))}function m(C){return C===45||C===58?b(C):C===124?(a=!0,e.enter("tableCellDivider"),e.consume(C),e.exit("tableCellDivider"),v):$(C)}function v(C){return fe(C)?ge(e,b,"whitespace")(C):b(C)}function b(C){return C===58?(o+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(C),e.exit("tableDelimiterMarker"),h):C===45?(o+=1,h(C)):C===null||ie(C)?S(C):$(C)}function h(C){return C===45?(e.enter("tableDelimiterFiller"),g(C)):$(C)}function g(C){return C===45?(e.consume(C),g):C===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(C),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(C))}function y(C){return fe(C)?ge(e,S,"whitespace")(C):S(C)}function S(C){return C===124?m(C):C===null||ie(C)?!a||i!==o?$(C):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(C)):$(C)}function $(C){return n(C)}function x(C){return e.enter("tableRow"),A(C)}function A(C){return C===124?(e.enter("tableCellDivider"),e.consume(C),e.exit("tableCellDivider"),A):C===null||ie(C)?(e.exit("tableRow"),t(C)):fe(C)?ge(e,A,"whitespace")(C):(e.enter("data"),T(C))}function T(C){return C===null||C===124||Ae(C)?(e.exit("data"),A(C)):(e.consume(C),C===92?j:T)}function j(C){return C===92||C===124?(e.consume(C),T):T(C)}}function $6(e,t){let n=-1,r=!0,i=0,o=[0,0,0,0],a=[0,0,0,0],l=!1,s=0,u,c,f;const p=new w6;for(;++n<e.length;){const d=e[n],m=d[1];d[0]==="enter"?m.type==="tableHead"?(l=!1,s!==0&&(Fx(p,t,s,u,c),c=void 0,s=0),u={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},p.add(n,0,[["enter",u,t]])):m.type==="tableRow"||m.type==="tableDelimiterRow"?(r=!0,f=void 0,o=[0,0,0,0],a=[0,n+1,0,0],l&&(l=!1,c={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},p.add(n,0,[["enter",c,t]])),i=m.type==="tableDelimiterRow"?2:c?3:1):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")?(r=!1,a[2]===0&&(o[1]!==0&&(a[0]=a[1],f=Wu(p,t,o,i,void 0,f),o=[0,0,0,0]),a[2]=n)):m.type==="tableCellDivider"&&(r?r=!1:(o[1]!==0&&(a[0]=a[1],f=Wu(p,t,o,i,void 0,f)),o=a,a=[o[1],n,0,0])):m.type==="tableHead"?(l=!0,s=n):m.type==="tableRow"||m.type==="tableDelimiterRow"?(s=n,o[1]!==0?(a[0]=a[1],f=Wu(p,t,o,i,n,f)):a[1]!==0&&(f=Wu(p,t,a,i,n,f)),i=0):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")&&(a[3]=n)}for(s!==0&&Fx(p,t,s,u,c),p.consume(t.events),n=-1;++n<t.events.length;){const d=t.events[n];d[0]==="enter"&&d[1].type==="table"&&(d[1]._align=x6(t.events,n))}return e}function Wu(e,t,n,r,i,o){const a=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",l="tableContent";n[0]!==0&&(o.end=Object.assign({}
vendor: 9,221 bytes, line 67
67,Ro(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));const s=Ro(t.events,n[1]);if(o={type:a,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[["enter",o,t]]),n[2]!==0){const u=Ro(t.events,n[2]),c=Ro(t.events,n[3]),f={type:l,start:Object.assign({},u),end:Object.assign({},c)};if(e.add(n[2],0,[["enter",f,t]]),r!==2){const p=t.events[n[2]],d=t.events[n[3]];if(p[1].end=Object.assign({},d[1].end),p[1].type="chunkText",p[1].contentType="text",n[3]>n[2]+1){const m=n[2]+1,v=n[3]-n[2]-1;e.add(m,v,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return i!==void 0&&(o.end=Object.assign({},Ro(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function Fx(e,t,n,r,i){const o=[],a=Ro(t.events,n);i&&(i.end=Object.assign({},a),o.push(["exit",i,t])),r.end=Object.assign({},a),o.push(["exit",r,t]),e.add(n+1,0,o)}function Ro(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const C6={name:"tasklistCheck",tokenize:I6};function A6(){return{text:{91:C6}}}function I6(e,t,n){const r=this;return i;function i(s){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(s):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),o)}function o(s){return Ae(s)?(e.enter("taskListCheckValueUnchecked"),e.consume(s),e.exit("taskListCheckValueUnchecked"),a):s===88||s===120?(e.enter("taskListCheckValueChecked"),e.consume(s),e.exit("taskListCheckValueChecked"),a):n(s)}function a(s){return s===93?(e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),l):n(s)}function l(s){return ie(s)?t(s):fe(s)?e.check({tokenize:T6},t,n)(s):n(s)}}function T6(e,t,n){return ge(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function O6(e){return dS([t6(),f6(),b6(e),k6(),A6()])}const P6={};function _6(e){const t=this,n=e||P6,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(O6(n)),o.push(J5()),a.push(Z5(n))}const Ie={container:{className:"bpReset bpContainer bpFont",dropzone:{overlay:{className:"bpDropzoneOverlay"}}},loader:{className:"bpReset bpLoader"},modal:{overlay:{className:"bpModalOverlay"},dialog:{container:{className:"bpReset bpModalContainer"},title:{className:"bpModalTitle"},description:{className:"bpModalDescription"},content:{container:{className:"bpModalContentContainer"},textarea:{className:"bpModalContentTextArea"}},button:{container:{className:"bpModalButtonContainer"},confirm:{className:"bpModalButtonConfirm"},cancel:{className:"bpModalButtonCancel"}}}},messagePreview:{container:{className:"bpMessagePreviewContainer"},message:{className:"bpMessagePreviewMessage"},description:{className:"bpMessagePreviewDescription"},closeButton:{className:"bpMessagePreviewCloseButton"},avatar:{container:{className:"bpMessagePreviewAvatarContainer"},image:{className:"bpMessagePreviewAvatarImage"},fallback:{className:"bpMessagePreviewAvatarFallback"}}},fab:{container:{className:"bpReset bpFabContainer"},icon:{className:"bpFabIcon"},image:{className:"bpFabImage"}},notification:{container:{className:"bpReset bpNotificationContainer"},title:{className:"bpNotificationTitle"},description:{className:"bpNotificationDescription"},icon:{className:"bpNotificationIcon"},closeIcon:{className:"bpNotificationCloseIcon"}},header:{container:{className:"bpReset bpHeaderContainer bpFont"},content:{container:{className:"bpReset bpHeaderContentContainer"},title:{className:"bpHeaderContentTitle"},description:{className:"bpHeaderContentDescription"},avatar:{container:{className:"bpReset bpHeaderContentAvatarContainer"},image:{className:"bpHeaderContentAvatarImage"},fallback:{className:"bpHeaderContentAvatarFallback"}},toggleSound:{className:"bpHeaderSoundToggleButton"},actions:{container:{className:"bpReset bpHeaderContentActionsContainer"},icons:{className:"bpHeaderContentActionsIcons"}}},expandedContent:{container:{className:"bpReset bpHeaderExpandedContentContainer"},descriptionItems:{container:{className:"bpReset bpHeaderExpandedContentDescriptionItemsContainer"},icon:{className:"bpHeaderExpandedContentDescriptionItemsIcon"},text:{className:"bpHeaderExpandedContentDescriptionItemsText"},link:{className:"bpHeaderExpandedContentDescriptionItemsLink"}},group:{className:"bpHeaderExpandedContentGroup"}},newConversationIcon:{className:"bpHeaderNewConversationIcon"}},composer:{wrapper:{className:"bpReset bpComposerWrapper"},container:{className:"bpReset bpComposerContainer bpFont"},footer:{className:"bpComposerFooter"},inputContainer:{className:"bpComposerInputContainer"},input:{className:"bpComposerInput"},sendbutton:{className:"bpComposerSendButton"},uploadButton:{className:"bpComposerUploadButton"},voiceButton:{className:"bpComposerVoiceButton"},fileContainer:{className:"bpComposerFileContainer"},fileWidget:{container:{className:"bpComposerFileAttachement"},loader:{className:"bpComposerFileLoader"},fileIcon:{container:{className:"bpComposerFileIconWrapper"},icon:{className:"bpComposerFileIcon"}},metadata:{container:{className:"bpComposerFileMetadata"},name:{className:"bpComposerFileName"},type:{className:"bpComposerFileExtension"}},removeIcon:{className:"bpComposerFileRemoveIcon"},errorIcon:{className:"bpComposerFileErrorIcon"},previewImage:{className:"bpComposerFilePreviewImage"}}},messageList:{scrollDownButton:{className:"bpMessageListScrollDownButton"},container:{className:"bpReset bpMessageListContainer bpFont"},viewPort:{className:"bpMessageListViewport"},marquee:{container:{className:"bpReset bpMessageListMarqueeContainer"},content:{className:"bpMessageListMarqueeContent"},title:{className:"bpMessageListMarqueeTitle"},description:{className:"bpMessageListMarqueeDescription"},avatar:{container:{className:"bpReset bpMessageListMarqueeAvatarContainer"},image:{className:"bpMessageListMarqueeAvatarImage"},fallback:{className:"bpMessageListMarqueeAvatarFallback"}}},headerMessage:{className:"bpMessageListHeaderMessage"}},message:{container:{className:"bpReset bpMessageContainer"},avatar:{container:{className:"bpReset bpMessageAvatarContainer"},image:{className:"bpMessageAvatarImage"},fallback:{className:"bpMessageAvatarFallback"}},deliveryStatus:{className:"bpMessageDeliveryStatus"},blocks:{text:{heading1:{className:"bpMessageBlocksTextHeading1"},heading2:{className:"bpMessageBlocksTextHeading2"},heading3:{className:"bpMessageBlocksTextHeading3"},heading4:{className:"bpMessageBlocksTextHeading4"},unorderedList:{className:"bpMessageBlocksTextUnorderedList"},orderedList:{className:"bpMessageBlocksTextOrderedList"},listItem:{className:"bpMessageBlocksTextListItem"},link:{className:"bpMessageBlocksTextLink"},italic:{className:"bpMessageBlocksTextItalic"},bold:{className:"bpMessageBlocksTextBold"},text:{className:"bpMessageBlocksTextText"},image:{className:"bpMessageBlocksTextImage"},imageError:{className:"bpMessageBlocksTextImageError"},horizontalRule:{className:"bpMessageBlocksTextHorizontalRule"},lineBreak:{className:"bpMessageBlocksTextLineBreak"},input:{className:"bpMessageBlocksTextInput"},codeBlockContainer:{className:"bpMessageBlocksTextCodeBlockContainer"},codeBlockTitle:{className:"bpMessageBlocksTextCodeBlockTitle"},codeBlockCopyIcon:{className:"bpMessageBlocksTextCodeBlockCopyIcon"},codeBlock:{className:"bpMessageBlocksTextCodeBlock"},code:{className:"bpMessageBlocksTextCode"},tableContainer:{className:"bpMessageBlocksTextTableContainer"},table:{className:"bpMessageBlocksTextTable"},tableHeader:{className:"bpMessageBlocksTextTableHeader"},tableData:{className:"bpMessageBlocksTextTableData"},tableRow:{className:"bpMessageBlocksTextTableRow"}},audio:{className:"bpMessageBlocksAudio"},image:{image:{className:"bpMessageBlocksImageImage"},placeholder:{className:"bpMessageBlocksImagePlaceholder"}},video:{className:"bpMessageBlocksVideo"},location:{container:{className:"bpMessageBlocksLocationContainer"},title:{className:"bpMessageBlocksLocationTitle"},icon:{className:"bpMessageBlocksLocationIcon"}},file:{container:{className:"bpMessageBlocksFileContainer"},title:{className:"bpMessageBlocksFileTitle"},icon:{className:"bpMessageBlocksFileIcon"}},row:{className:"bpMessageBlocksRow"},column:{className:"bpMessageBlocksColumn"},bubble:{container:{className:"bpMessageBlocksBubble"},feedbackContainer:{className:"bpMessageBlocksBubbleFeedbackContainer"},feedbackIcon:{className:"bpMessageBlocksBubbleFeedbackIcon"}},carousel:{container:{className:"bpMessageBlocksCarouselContainer"},slidesContainer:{className:"bpMessageBlocksCarouselSlidesContainer"},backButton:{className:"bpMessageBlocksCarouselBackButton"},nextButton:{className:"bpMessageBlocksCarouselNextButton"}},dropdown:{button:{container:{className:"bpMessageBlocksDropdownButtonContainer"},text:{className:"bpMessageBlocksDropdownButtonText"},icon:{className:"bpMessageBlocksDropdownButtonIcon"}},content:{container:{className:"bpMessageBlocksDropdownContentContainer"},item:{className:"bpMessageBlocksDropdownContentItem"}}},button:{className:"bpMessageBlocksButton"}}},error:{container:{className:"bpReset bpErrorContainer"},id:{className:"bpErrorId"},header:{container:{className:"bpErrorHeader"},actions:{className:"bpErrorHeaderActions"}}
vendor: 7,764 bytes, lines 67-166
67,content:{className:"bpErrorContent"},errorTitle:{className:"bpErrorTitle"},errorMessage:{className:"bpErrorMessage"},icon:{className:"bpErrorIcon"}},typingIndicator:{container:{className:"bpTypingIndicatorContainer"},loader:{className:"bpTypingIndicatorLoader"}},proactiveBubble:{container:{className:"bpProactiveBubbleContainer"},content:{className:"bpProactiveBubbleContent"},layout:{className:"bpProactiveBubbleLayout"},icon:{className:"bpProactiveBubbleIcon"},message:{className:"bpProactiveBubbleMessage"},closeButton:{className:"bpProactiveBubbleCloseButton"},arrow:{className:"bpProactiveBubbleArrow"}}};/** 68 * @license lucide-react v0.525.0 - ISC 69 * 70 * This source code is licensed under the ISC license. 71 * See the LICENSE file in the root directory of this source tree. 72 */const R6=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),N6=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),Bx=e=>{const t=N6(e);return t.charAt(0).toUpperCase()+t.slice(1)},zx=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),M6=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/** 73 * @license lucide-react v0.525.0 - ISC 74 * 75 * This source code is licensed under the ISC license. 76 * See the LICENSE file in the root directory of this source tree. 77 */var D6={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 78 * @license lucide-react v0.525.0 - ISC 79 * 80 * This source code is licensed under the ISC license. 81 * See the LICENSE file in the root directory of this source tree. 82 */const L6=k.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:o,iconNode:a,...l},s)=>k.createElement("svg",{ref:s,...D6,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:zx("lucide",i),...!o&&!M6(l)&&{"aria-hidden":"true"},...l},[...a.map(([u,c])=>k.createElement(u,c)),...Array.isArray(o)?o:[o]]));/** 83 * @license lucide-react v0.525.0 - ISC 84 * 85 * This source code is licensed under the ISC license. 86 * See the LICENSE file in the root directory of this source tree. 87 */const Je=(e,t)=>{const n=k.forwardRef(({className:r,...i},o)=>k.createElement(L6,{ref:o,iconNode:t,className:zx(`lucide-${R6(Bx(e))}`,`lucide-${e}`,r),...i}));return n.displayName=Bx(e),n};/** 88 * @license lucide-react v0.525.0 - ISC 89 * 90 * This source code is licensed under the ISC license. 91 * See the LICENSE file in the root directory of this source tree. 92 */const j6=Je("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);/** 93 * @license lucide-react v0.525.0 - ISC 94 * 95 * This source code is licensed under the ISC license. 96 * See the LICENSE file in the root directory of this source tree. 97 */const F6=Je("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** 98 * @license lucide-react v0.525.0 - ISC 99 * 100 * This source code is licensed under the ISC license. 101 * See the LICENSE file in the root directory of this source tree. 102 */const B6=Je("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 103 * @license lucide-react v0.525.0 - ISC 104 * 105 * This source code is licensed under the ISC license. 106 * See the LICENSE file in the root directory of this source tree. 107 */const z6=Je("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/** 108 * @license lucide-react v0.525.0 - ISC 109 * 110 * This source code is licensed under the ISC license. 111 * See the LICENSE file in the root directory of this source tree. 112 */const U6=Je("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** 113 * @license lucide-react v0.525.0 - ISC 114 * 115 * This source code is licensed under the ISC license. 116 * See the LICENSE file in the root directory of this source tree. 117 */const H6=Je("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** 118 * @license lucide-react v0.525.0 - ISC 119 * 120 * This source code is licensed under the ISC license. 121 * See the LICENSE file in the root directory of this source tree. 122 */const Ux=Je("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/** 123 * @license lucide-react v0.525.0 - ISC 124 * 125 * This source code is licensed under the ISC license. 126 * See the LICENSE file in the root directory of this source tree. 127 */const W6=Je("file-down",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"m9 15 3 3 3-3",key:"1npd3o"}]]);/** 128 * @license lucide-react v0.525.0 - ISC 129 * 130 * This source code is licensed under the ISC license. 131 * See the LICENSE file in the root directory of this source tree. 132 */const V6=Je("file-text",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/** 133 * @license lucide-react v0.525.0 - ISC 134 * 135 * This source code is licensed under the ISC license. 136 * See the LICENSE file in the root directory of this source tree. 137 */const K6=Je("files",[["path",{d:"M20 7h-3a2 2 0 0 1-2-2V2",key:"x099mo"}],["path",{d:"M9 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h7l4 4v10a2 2 0 0 1-2 2Z",key:"18t6ie"}],["path",{d:"M3 7.6v12.8A1.6 1.6 0 0 0 4.6 22h9.8",key:"1nja0z"}]]);/** 138 * @license lucide-react v0.525.0 - ISC 139 * 140 * This source code is licensed under the ISC license. 141 * See the LICENSE file in the root directory of this source tree. 142 */const Hx=Je("image-off",[["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}],["path",{d:"M10.41 10.41a2 2 0 1 1-2.83-2.83",key:"1bzlo9"}],["line",{x1:"13.5",x2:"6",y1:"13.5",y2:"21",key:"1q0aeu"}],["line",{x1:"18",x2:"21",y1:"12",y2:"15",key:"5mozeu"}],["path",{d:"M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59",key:"mmje98"}],["path",{d:"M21 15V5a2 2 0 0 0-2-2H9",key:"43el77"}]]);/** 143 * @license lucide-react v0.525.0 - ISC 144 * 145 * This source code is licensed under the ISC license. 146 * See the LICENSE file in the root directory of this source tree. 147 */const G6=Je("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/** 148 * @license lucide-react v0.525.0 - ISC 149 * 150 * This source code is licensed under the ISC license. 151 * See the LICENSE file in the root directory of this source tree. 152 */const Q6=Je("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/** 153 * @license lucide-react v0.525.0 - ISC 154 * 155 * This source code is licensed under the ISC license. 156 * See the LICENSE file in the root directory of this source tree. 157 */const Y6=Je("mic",[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]]);/** 158 * @license lucide-react v0.525.0 - ISC 159 * 160 * This source code is licensed under the ISC license. 161 * See the LICENSE file in the root directory of this source tree. 162 */const q6=Je("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/** 163 * @license lucide-react v0.525.0 - ISC 164 * 165 * This source code is licensed under the ISC license. 166 * See the LICENSE file in the root directory of this source tree.
167 */const J6=Je("thumbs-down",[["path",{d:"M17 14V2",key:"8ymqnk"}],["path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z",key:"m61m77"}]]);/** 168 * @license lucide-react v0.525.0 - ISC 169 * 170 * This source code is licensed under the ISC license. 171 * See the LICENSE file in the root directory of this source tree. 172 */const Z6=Je("thumbs-up",[["path",{d:"M7 10v12",key:"1qc93n"}],["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}]]);/** 173 * @license lucide-react v0.525.0 - ISC 174 * 175 * This source code is licensed under the ISC license. 176 * See the LICENSE file in the root directory of this source tree. 177 */const X6=Je("video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);/** 178 * @license lucide-react v0.525.0 - ISC 179 * 180 * This source code is licensed under the ISC license. 181 * See the LICENSE file in the root directory of this source tree. 182 */const eU=Je("volume-2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]);/** 183 * @license lucide-react v0.525.0 - ISC 184 * 185 * This source code is licensed under the ISC license. 186 * See the LICENSE file in the root directory of this source tree. 187 */const tU=Je("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),nU=({text:e})=>{const{message:{blocks:{text:t}}}=Ie,[n,r]=k.useState(new Map);function i(a){if(n.has(a))return;const l=new Image;l.src=a,l.onerror=()=>{r(s=>new Map(s).set(a,!0))},l.onload=()=>{r(s=>new Map(s).set(a,!1))}}k.useEffect(()=>{const a=/!\[.*?\]\((.*?)\)/g,l=[];let s;for(;(s=a.exec(e))!==null;){const u=s[1];u&&!l.includes(u)&&l.push(u)}l.forEach(u=>{i(u)})},[e]);const o={h1:({node:a,...l})=>P.jsx("h1",{...l,...t.heading1}),h2:({node:a,...l})=>P.jsx("h2",{...l,...t.heading2}),h3:({node:a,...l})=>P.jsx("h3",{...l,...t.heading3}),h4:({node:a,...l})=>P.jsx("h4",{...l,...t.heading4}),h5:"h4",h6:"h4",em:({node:a,...l})=>P.jsx("em",{...l,...t.italic}),strong:({node:a,...l})=>P.jsx("strong",{...l,...t.bold}),p:({node:a,...l})=>P.jsx("p",{...l,...t.text}),hr:({node:a,...l})=>P.jsx("hr",{...l,...t.horizontalRule}),a:({node:a,href:l,children:s,...u})=>P.jsx("a",{...u,...t.link,onMouseUp:c=>{window.open(l,"_blank","noopener,noreferrer")},children:s}),img:({node:a,...l})=>{const s=l.src;return n.get(s)||!1?P.jsx("div",{"data-error":!0,...t.image,children:P.jsx(Hx,{strokeWidth:"1"})}):P.jsx("img",{...l,...t.image})},ol:({node:a,...l})=>P.jsx("ol",{...l,...t.orderedList}),ul:({node:a,...l})=>P.jsx("ul",{...l,...t.unorderedList}),li:({node:a,...l})=>P.jsx("li",{...l,...t.listItem}),br:({node:a,...l})=>P.jsx("br",{...l,...t.lineBreak}),pre:({node:a,...l})=>{const s=a?.children[0],u=rU(s?.properties?.className?.[0]||""),[c,f]=k.useState(!1),p=k.useRef(null),d=()=>{if(!p.current)return;const m=p.current.textContent||"";navigator.clipboard.writeText(m).then(()=>{f(!0),setTimeout(()=>{f(!1)},1500)}).catch(v=>{console.error("Failed to copy code to clipboard:",v)})};return P.jsxs("div",{...t.codeBlockContainer,children:[P.jsxs("div",{...t.codeBlockTitle,children:[u?P.jsx("span",{children:u}
187):"Code",c?P.jsx(F6,{...t.codeBlockCopyIcon}):P.jsx(K6,{...t.codeBlockCopyIcon,onClick:d})]}),P.jsx("pre",{ref:p,...l,...t.codeBlock})]})},input:({node:a,...l})=>P.jsx("input",{...l,...t.input,disabled:!1}),code:({node:a,...l})=>P.jsx("code",{...l,...t.code}),table:({node:a,...l})=>P.jsx("div",{...t.tableContainer,children:P.jsx("table",{...l,...t.table})}),th:({node:a,...l})=>P.jsx("th",{...l,...t.tableHeader}),tr:({node:a,...l})=>P.jsx("tr",{...l,...t.tableRow}),td:({node:a,...l})=>P.jsx("td",{...l,...t.tableData})};return P.jsx(sx,{urlTransform:a=>a.startsWith("tel:")?a:ux(a),components:o,remarkPlugins:[_6,Az],children:e})},rU=e=>{if(!e)return"";const t=e.match(/language-(\w+)/);return t?t[1]:""},iU={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_BOTPRESS_PUSHPIN_URL:"https://webchat.botpress.cloud",VITE_BOTPRESS_VERSION:"731d1594aa5969f9e4160b4cc5102d88c9111209",VITE_BOTPRESS_WEBCHAT_CDN_URL:"https://cdn.botpress.cloud/webchat"},Wx=e=>{let t;const n=new Set,r=(c,f)=>{const p=typeof c=="function"?c(t):c;if(!Object.is(p,t)){const d=t;t=f??(typeof p!="object"||p===null)?p:Object.assign({},t,p),n.forEach(m=>m(t,d))}},i=()=>t,s={setState:r,getState:i,getInitialState:()=>u,subscribe:c=>(n.add(c),()=>n.delete(c)),destroy:()=>{(iU?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},u=t=e(r,i,s);return s},oU=e=>e?Wx(e):Wx;var Vx={exports:{}},Kx={},Gx={exports:{}},Qx={};/** 188 * @license React 189 * use-sync-external-store-shim.production.min.js 190 * 191 * Copyright (c) Facebook, Inc. and its affiliates. 192 * 193 * This source code is licensed under the MIT license found in the 194 * LICENSE file in the root directory of this source tree. 195 */var No=k;function aU(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var lU=typeof Object.is=="function"?Object.is:aU,sU=No.useState,uU=No.useEffect,cU=No.useLayoutEffect,fU=No.useDebugValue;function dU(e,t){var n=t(),r=sU({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return cU(function(){i.value=n,i.getSnapshot=t,nm(i)&&o({inst:i})},[e,n,t]),uU(function(){return nm(i)&&o({inst:i}),e(function(){nm(i)&&o({inst:i})})},[e]),fU(n),n}function nm(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lU(e,n)}catch{return!0}}function pU(e,t){return t()}var hU=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?pU:dU;Qx.useSyncExternalStore=No.useSyncExternalStore!==void 0?No.useSyncExternalStore:hU,Gx.exports=Qx;var mU=Gx.exports;/** 196 * @license React 197 * use-sync-external-store-shim/with-selector.production.min.js 198 * 199 * Copyright (c) Facebook, Inc. and its affiliates. 200 * 201 * This source code is licensed under the MIT license found in the 202 * LICENSE file in the root directory of this source tree. 203 */var Vu=k,gU=mU;function vU(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var yU=typeof Object.is=="function"?Object.is:vU,bU=gU.useSyncExternalStore,wU=Vu.useRef,SU=Vu.useEffect,xU=Vu.useMemo,kU=Vu.useDebugValue;Kx.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=wU(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=xU(function(){function s(d){if(!u){if(u=!0,c=d,d=r(d),i!==void 0&&a.hasValue){var m=a.value;if(i(m,d))return f=m}return f=d}if(m=f,yU(c,d))return m;var v=r(d);return i!==void 0&&i(m,v)?m:(c=d,f=v)}var u=!1,c,f,p=n===void 0?null:n;return[function(){return s(t())},p===null?void 0:function(){return s(p())}]},[t,n,r,i]);var l=bU(e,o[0],o[1]);return SU(function(){a.hasValue=!0,a.value=l},[l]),kU(l),l},Vx.exports=Kx;var EU=Vx.exports;const $U=me(EU),Yx={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_BOTPRESS_PUSHPIN_URL:"https://webchat.botpress.cloud",VITE_BOTPRESS_VERSION:"731d1594aa5969f9e4160b4cc5102d88c9111209",VITE_BOTPRESS_WEBCHAT_CDN_URL:"https://cdn.botpress.cloud/webchat"},{useDebugValue:CU}=We,{useSyncExternalStoreWithSelector:AU}=$U;let qx=!1;const IU=e=>e;function TU(e,t=IU,n){(Yx?"production":void 0)!=="production"&&n&&!qx&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),qx=!0);const r=AU(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return CU(r),r}const OU=e=>{(Yx?"production":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { use
203Store } from 'zustand'`.");const t=typeof e=="function"?oU(e):e,n=(r,i)=>TU(t,r,i);return Object.assign(n,t),n},Mo=e=>OU,Ku={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_BOTPRESS_PUSHPIN_URL:"https://webchat.botpress.cloud",VITE_BOTPRESS_VERSION:"731d1594aa5969f9e4160b4cc5102d88c9111209",VITE_BOTPRESS_WEBCHAT_CDN_URL:"https://cdn.botpress.cloud/webchat"},rm=new Map,Gu=e=>{const t=rm.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([n,r])=>[n,r.getState()])):{}},PU=(e,t,n)=>{if(e===void 0)return{type:"untracked",connection:t.connect(n)};const r=rm.get(n.name);if(r)return{type:"tracked",store:e,...r};const i={connection:t.connect(n),stores:{}};return rm.set(n.name,i),{type:"tracked",store:e,...i}},im=(e,t={})=>(n,r,i)=>{const{enabled:o,anonymousActionType:a,store:l,...s}=t;let u;try{u=(o??(Ku?"production":void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!u)return(Ku?"production":void 0)!=="production"&&o&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(n,r,i);const{connection:c,...f}=PU(l,u,s);let p=!0;i.setState=(v,b,h)=>{const g=n(v,b);if(!p)return g;const y=h===void 0?{type:a||"anonymous"}:typeof h=="string"?{type:h}:h;return l===void 0?(c?.send(y,r()),g):(c?.send({...y,type:`${l}/${y.type}`},{...Gu(s.name),[l]:i.getState()}),g)};const d=(...v)=>{const b=p;p=!1,n(...v),p=b},m=e(i.setState,r,i);if(f.type==="untracked"?c?.init(m):(f.stores[f.store]=i,c?.init(Object.fromEntries(Object.entries(f.stores).map(([v,b])=>[v,v===f.store?m:b.getState()])))),i.dispatchFromDevtools&&typeof i.dispatch=="function"){let v=!1;const b=i.dispatch;i.dispatch=(...h)=>{(Ku?"production":void 0)!=="production"&&h[0].type==="__setState"&&!v&&(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),v=!0),b(...h)}}return c.subscribe(v=>{var b;switch(v.type){case"ACTION":if(typeof v.payload!="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return om(v.payload,h=>{if(h.type==="__setState"){if(l===void 0){d(h.state);return}Object.keys(h.state).length!==1&&console.error(` 204 [zustand devtools middleware] Unsupported __setState action format. 205 When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(), 206 and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } } 207 `);const g=h.state[l];if(g==null)return;JSON.stringify(i.getState())!==JSON.stringify(g)&&d(g);return}i.dispatchFromDevtools&&typeof i.dispatch=="function"&&i.dispatch(h)});case"DISPATCH":switch(v.payload.type){case"RESET":return d(m),l===void 0?c?.init(i.getState()):c?.init(Gu(s.name));case"COMMIT":if(l===void 0){c?.init(i.getState());return}return c?.init(Gu(s.name));case"ROLLBACK":return om(v.state,h=>{if(l===void 0){d(h),c?.init(i.getState());return}d(h[l]),c?.init(Gu(s.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return om(v.state,h=>{if(l===void 0){d(h);return}JSON.stringify(i.getState())!==JSON.stringify(h[l])&&d(h[l])});case"IMPORT_STATE":{const{nextLiftedState:h}=v.payload,g=(b=h.computedStates.slice(-1)[0])==null?void 0:b.state;if(!g)return;d(l===void 0?g:g[l]),c?.send(null,h);return}case"PAUSE_RECORDING":return p=!p}return}}),m},om=(e,t)=>{let n;try{n=JSON.parse(e)}catch(r){console.error("[zustand devtools middleware] Could not parse the received json",r)}n!==void 0&&t(n)};function Jx(e,t){let n;try{n=e()}catch{return}return{getItem:i=>{var o;const a=s=>s===null?null:JSON.parse(s,void 0),l=(o=n.getItem(i))!=null?o:null;return l instanceof Promise?l.then(a):a(l)},setItem:(i,o)=>n.setItem(i,JSON.stringify(o,void 0)),removeItem:i=>n.removeItem(i)}}const cl=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(r){return cl(r)(n)},catch(r){return this}}}catch(n){return{then(r){return this},catch(r){return cl(r)(n)}}}},_U=(e,t)=>(n,r,i)=>{let o={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:b=>b,version:0,merge:(b,h)=>({...h,...b}),...t},a=!1;const l=new Set,s=new Set;let u;
207try{u=o.getStorage()}catch{}if(!u)return e((...b)=>{console.warn(`[zustand persist middleware] Unable to update item '${o.name}', the given storage is currently unavailable.`),n(...b)},r,i);const c=cl(o.serialize),f=()=>{const b=o.partialize({...r()});let h;const g=c({state:b,version:o.version}).then(y=>u.setItem(o.name,y)).catch(y=>{h=y});if(h)throw h;return g},p=i.setState;i.setState=(b,h)=>{p(b,h),f()};const d=e((...b)=>{n(...b),f()},r,i);let m;const v=()=>{var b;if(!u)return;a=!1,l.forEach(g=>g(r()));const h=((b=o.onRehydrateStorage)==null?void 0:b.call(o,r()))||void 0;return cl(u.getItem.bind(u))(o.name).then(g=>{if(g)return o.deserialize(g)}).then(g=>{if(g)if(typeof g.version=="number"&&g.version!==o.version){if(o.migrate)return o.migrate(g.state,g.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return g.state}).then(g=>{var y;return m=o.merge(g,(y=r())!=null?y:d),n(m,!0),f()}).then(()=>{h?.(m,void 0),a=!0,s.forEach(g=>g(m))}).catch(g=>{h?.(void 0,g)})};return i.persist={setOptions:b=>{o={...o,...b},b.getStorage&&(u=b.getStorage())},clearStorage:()=>{u?.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>v(),hasHydrated:()=>a,onHydrate:b=>(l.add(b),()=>{l.delete(b)}),onFinishHydration:b=>(s.add(b),()=>{s.delete(b)})},v(),m||d},RU=(e,t)=>(n,r,i)=>{let o={storage:Jx(()=>localStorage),partialize:v=>v,version:0,merge:(v,b)=>({...b,...v}),...t},a=!1;const l=new Set,s=new Set;let u=o.storage;if(!u)return e((...v)=>{console.warn(`[zustand persist middleware] Unable to update item '${o.name}', the given storage is currently unavailable.`),n(...v)},r,i);const c=()=>{const v=o.partialize({...r()});return u.setItem(o.name,{state:v,version:o.version})},f=i.setState;i.setState=(v,b)=>{f(v,b),c()};const p=e((...v)=>{n(...v),c()},r,i);i.getInitialState=()=>p;let d;const m=()=>{var v,b;if(!u)return;a=!1,l.forEach(g=>{var y;return g((y=r())!=null?y:p)});const h=((b=o.onRehydrateStorage)==null?void 0:b.call(o,(v=r())!=null?v:p))||void 0;return cl(u.getItem.bind(u))(o.name).then(g=>{if(g)if(typeof g.version=="number"&&g.version!==o.version){if(o.migrate)return[!0,o.migrate(g.state,g.version)];console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,g.state];return[!1,void 0]}).then(g=>{var y;const[S,$]=g;if(d=o.merge($,(y=r())!=null?y:p),n(d,!0),S)return c()}).then(()=>{h?.(d,void 0),d=r(),a=!0,s.forEach(g=>g(d))}).catch(g=>{h?.(void 0,g)})};return i.persist={setOptions:v=>{o={...o,...v},v.storage&&(u=v.storage)},clearStorage:()=>{u?.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>m(),hasHydrated:()=>a,onHydrate:v=>(l.add(v),()=>{l.delete(v)}),onFinishHydration:v=>(s.add(v),()=>{s.delete(v)})},o.skipHydration||m(),d||p},Zx=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?((Ku?"production":void 0)!=="production"&&console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),_U(e,t)):RU(e,t),Xx=Mo()(im(Zx(e=>({messageHistory:[],addMessageToHistory:t=>e(n=>({...n,messageHistory:[t,...(n.messageHistory??[]).slice(0,100)]}))}),{name:"botpress-message-history"})));let Qu;const NU=new Uint8Array(16);function MU(){if(!Qu&&(Qu=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Qu))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Qu(NU)}const dt=[];for(let e=0;e<256;++e)dt.push((e+256).toString(16).slice(1));function DU(e,t=0){return dt[e[t+0]]+dt[e[t+1]]+dt[e[t+2]]+dt[e[t+3]]+"-"+dt[e[t+4]]+dt[e[t+5]]+"-"+dt[e[t+6]]+dt[e[t+7]]+"-"+dt[e[t+8]]+dt[e[t+9]]+"-"+dt[e[t+10]]+dt[e[t+11]]+dt[e[t+12]]+dt[e[t+13]]+dt[e[t+14]]+dt[e[t+15]]}const ek={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function LU(e,t,n){if(ek.randomUUID&&!t&&!e)return ek.randomUUID();e=e||{};const r=e.random||(e.rng||MU)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,DU(r)}function jU(e){const{metadata:t,conversationId:n,userId:r}=e,{payload:i,disableInput:o}=FU(e.payload);return{id:e.id,conversationId:n,authorId:r,timestamp:new Date(e.createdAt),block:i,feedback:e.feedback?.value,disableInput:o,metadata:t}}const FU=e=>{switch(e.type){case"audio":return tk(e);case"card":return BU(e);case"carousel":return zU(e);case"choice":return UU(e);case"dropdown":return HU(e);case"file":return nk(e);case"image":return rk(e);case"location":return ik(e);case"markdown":return ok(e);case"text":return ak(e);case"video":return lk(e);case"bloc":return WU(e);
207case"custom":return{payload:e};default:{const t=e;throw new Error(`Unsuported message type ${t}`)}}},fl=e=>({block:e,type:"bubble"}),tk=e=>({payload:{type:"audio",url:e.audioUrl}}),BU=e=>({payload:fl(sk(e))}),zU=e=>({payload:{type:"carousel",blocks:e.items.map(t=>sk({type:"card",...t}))}}),UU=e=>{const t=e.options.map(o=>({title:o.label,value:o.value})),n=e.text,r=LU(),i=fl({type:"text",text:n});return t.length===0?{disableInput:e.disableFreeText,payload:i}:{disableInput:e.disableFreeText,payload:{type:"column",blocks:[i,{type:"row",blocks:t.map(({title:o,value:a})=>({type:"button",variant:"action",text:o,buttonValue:a,groupId:r}))}]}}},HU=e=>{const t=e.options.map(i=>({label:i.label,value:i.value})),n=e.text,r=[{type:"dropdown",label:n??"Select an option",options:t}];return n&&r.unshift({type:"text",text:n}),{disableInput:!0,payload:fl({type:"column",blocks:r})}},nk=e=>({payload:{type:"file",url:e.fileUrl,title:e.title}}),rk=e=>({payload:{type:"image",url:e.imageUrl}}),ik=e=>({payload:{type:"location",latitude:e.latitude,longitude:e.longitude,title:e.title??e.address??"View on map"}}),ok=e=>({payload:fl({type:"text",text:e.markdown})}),ak=e=>({payload:fl({type:"text",text:e.text,value:e.value})}),lk=e=>({payload:{type:"video",url:e.videoUrl}}),WU=e=>({payload:{type:"column",blocks:e.items.map(n=>{switch(n.type){case"audio":return tk({...n.payload,type:n.type}).payload;case"file":return nk({...n.payload,type:n.type}).payload;case"image":return rk({...n.payload,type:n.type}).payload;case"location":return ik({...n.payload,type:n.type}).payload;case"markdown":return ok({...n.payload,type:n.type}).payload;case"text":return ak({...n.payload,type:n.type}).payload;case"video":return lk({...n.payload,type:n.type}).payload;default:throw new Error("Unsuported message type")}})}}),sk=e=>{const t=e.title,n=e.subtitle,r=e.imageUrl,i=e.actions.map(a=>{switch(a.action){case"postback":return{type:"button",variant:"action",text:a.label,buttonValue:a.value,reusable:!0};case"url":return{type:"button",variant:"link",text:a.label,buttonValue:a.value,reusable:!0};case"say":return{type:"button",variant:"action",text:a.label,buttonValue:a.value,reusable:!0};default:throw new Error(`Unknown action type ${a.action}`)}}),o=[];return r&&o.push({type:"image",url:r}),t&&o.push({type:"text",text:`#### ${t}`}),n&&o.push({type:"text",text:n}),i.length>0&&o.push({type:"row",blocks:i}),{type:"column",horizontalAlignment:"center",blocks:[...o]}};Mo()(im(e=>({messages:[],isFetching:!1,setMessages:t=>e({messages:t}),saveMessage:t=>e(({messages:n})=>{const r=t.metadata?.clientMessageId;if(r){const i=n.findIndex(a=>a.metadata?.clientMessageId===r),o=n[i];if(i!==-1)return{messages:[...n.slice(0,i),{...o,...t},...n.slice(i+1)]}}return{messages:[...n.filter(i=>i.id!==t.id),t]}}),updateMessage:(t,n)=>e(({messages:r})=>({messages:r.map(i=>i.id===t?{...i,...n}:i)})),clearMessages:()=>e({messages:[]}),fetchMessages:async({client:t,conversationId:n})=>{const r=[];e({isFetching:!0});let i;do{const{messages:o,meta:a}=await t.listConversationMessages({conversationId:n,nextToken:i});r.push(...o),i=a.nextToken}while(i);return e({isFetching:!1}),r.reverse().map(o=>jU(o)).filter(Boolean)}}),{name:"messagesStore"}));const uk=Mo()(im(e=>({eventEmitter:Mw(),messageContainerRef:k.createRef(),setMessageContainerRef:t=>e({messageContainerRef:t})}),{name:"webchatStore"})),VU=8,KU=e=>Mo()(Zx((t,n)=>({files:[],setFiles:r=>t({files:r}),upsertFile:r=>t(({files:i})=>({files:i.some(l=>l.name===r.name)?i.map(l=>l.name===r.name?{...l,...r}:l):[...i,{...r}]})),uploadFile:async(r,i)=>{const o=n().files.some(g=>g.name===r.name),a=n().files.length===VU;if(!o&&a)return;const l=new Date().toISOString(),s=crypto.randomUUID().slice(0,8),u=xw(r.name),c=n().files.filter(g=>xw(g.name)===u).length,f=r.name.lastIndexOf("."),p=f>0&&f<r.name.length-1,d=p?r.name.substring(0,f):r.name,m=p?r.name.substring(f):"",v=c>0?` (${c})`:"",b=`${l}_${s}_${d}${v}${m}`,h=new File([r],b,{type:r.type});n().upsertFile({name:b,type:"file",instance:h,status:"loading"});try{const{fileUrl:g,type:y}=await i(h);n().upsertFile({name:b,type:y,url:g,instance:h,status:"uploaded"})}catch{n().upsertFile({name:b,type:"file",instance:h,status:"error"})}},deleteFile:r=>t(({files:i})=>({files:i.filter(o=>o.name!=r)}))}),{name:e,storage:Jx(()=>sessionStorage)}));class dl{static{this._instances={}}constructor(){}static getInstance(t="bp-composer-file-store"){return dl._instances[t]||(dl._instances[t]=KU(t)),dl._instances[t]}}const GU=dl.getInstance;Mo()(e=>({participants:[],setParticipants:t=>e({participants:t}),addParticipant:t=>e(n=>({participants:[...n.participants,t]})),removeParticipant:t=>e(n=>({participants:n.participants.filter(r=>r.id!==t)})),clearParticipants:()=>e({participants:[]})}));const QU=({text:e,buttonValue:t,variant:n,groupId:r,reusable:i,sendMessage:o,isReadOnly:a,...l})=>{const s=uk(y=>y.eventEmitter),[u,c]=k.useState(!1),[f,p]=k.useState(!1),[d,m]=k.useState(!1),{message:{blocks:{button:v}}}=Ie;k.useEffect(()=>{if(r)return s.on(`button-group-${r}-click`,()=>{p(!0),i||m(!0)})},[s,r,i]);const h={...l,onClick:y=>{if((d||a)&&n==="link"){y.preventDefault();return}c(!0),i||m(!0),r&&s.emit(`button-group-${r}-click`),n!=="link"&&o&&o?.({type:"text",text:e,value:t})},"data-activated":u?"":void 0,"data-group-activated":f?"":void 0,"data-type":n,...v},g=d||a;return n==="link"?P.jsx("a",{...h,style:a?{pointerEvents:"none"}:void 0,href:t,target:"_blank",rel:"noopener noreferrer",children:e}):P.jsx("button",{...h,style:a?{pointerEvents:"none"}:void 0,disabled:g,children:e})},ck=k.createContext(null);function YU(){const e=k.useContext(ck);if(!e)throw new Error("useMessageContext must be used within a Message");return e}const qU=k.createContext({showInputModal:void 0});function JU(){return k.useContext(qU)}const fk=k.forwardRef(({block:e,direction:t,sender:n,timestamp:r,messageId:i,feedback:o,metadata:a,isReadOnly:l,sendMessage:s,addMessageFeedback:u,...c},f)=>{const{showInputModal:p}=JU(),{message:{blocks:{bubble:{container:d,feedbackContainer:m,feedbackIcon:v}}}}=Ie;return t=="incoming"?P.jsxs("div",{"data-direction":"incoming","data-feedback":!!o,...c,...d,ref:f,children:[P.jsx(Vo,{block:{...e,direction:t,timestamp:r,sender:n,messageId:i,isReadOnly:l,metadata:a,sendMessage:s}}),u&&p&&e.type==="text"&&P.jsxs("div",{...m,children:[P.jsx(Z6,{...v,"data-selected":o==="positive",onClick:()=>u(i,{value:"positive"})}),P.jsx(J6,{...v,"data-selected":o==="negative",onClick:async()=>{const b=await p({title:"Help us improve",description:"Please provide feedback to help us improve.",confirmButtonText:"Send feedback",cancelButtonText:"Cancel",Content:ZU});u(i,{value:"negative",comment:b})}})]})]}):P.jsx("div",{"data-direction":"outgoing",...c,...d,ref:f,children:P.jsx(Vo,{block:{...e,direction:t,timestamp:r,sender:n,messageId:i,isReadOnly:l,metadata:a,sendMessage:s,addMessageFeedback:u}})})});fk.displayName="Bubble";const ZU=({setValue:e})=>{const{modal:{dialog:{content:t}}}=Ie;return P.jsx("textarea",{...t.textarea,placeholder:"Let us know what went wrong...",onChange:n=>e(n.target.value)})};var Yu=function(){return Yu=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Yu.apply(this,arguments)};typeof SuppressedError=="function"&&SuppressedError;function XU(){var e=k.useRef(!1),t=k.useCallback(function(){return e.current},[]);return k.useEffect(function(){return e.current=!0,function(){e.current=!1}},[]),t}function eH(e,t,n){t===void 0&&(t=[]),n===void 0&&(n={loading:!1});var r=k.useRef(0),i=XU(),o=k.useState(n),a=o[0],l=o[1],s=k.useCallback(function(){for(var u=[],c=0;c<arguments.length;c++)u[c]=arguments[c];var f=++r.current;return a.loading||l(function(p){return Yu(Yu({},p),{loading:!0})}),e.apply(void 0,u).then(function(p){return i()&&f===r.current&&l({value:p,loading:!1}),p},function(p){return i()&&f===r.current&&l({error:p,loading:!1}),p})},t);return[a,s]}function tH(e,t){t===void 0&&(t=[]);var n=eH(e,t,{loading:!0}),r=n[0],i=n[1];return k.useEffect(function(){i()},[i]),r}const dk=k.forwardRef(({url:e,type:t,orientation:n="auto",...r},i)=>{const o=k.useId(),{setIsLoading:a}=YU(),[l,s]=k.useState(n),[u,c]=k.useState(!1),[f,p]=k.useState(!1),{message:{blocks:{image:d}}}=Ie;return k.useLayoutEffect(()=>{a(m=>[...m,o])},[]),tH(async()=>
207{if(e){try{const{width:m,height:v}=await Lj(e);l==="auto"&&s(nH(m,v))}catch(m){s("square"),console.error(m)}a(m=>m.filter(v=>v!==o))}},[e]),P.jsxs(P.Fragment,{children:[u?null:P.jsx("div",{"data-orientation":l,...d.placeholder}),f?P.jsx("div",{"data-error":"true","data-orientation":l,...r,...d.image,ref:i,children:P.jsx(Hx,{size:"25%",strokeWidth:"5%"})}):P.jsx("img",{"data-orientation":l,"data-loaded":u,...r,...d.image,src:e,alt:"",ref:i,loading:"lazy",onLoad:()=>{c(!0)},onError:()=>{p(!0),c(!0)}})]})});dk.displayName="Image";function nH(e,t){const n={square:1,portrait:.75,landscape:1.3333333333333333},r=e/t;return Object.keys(n).reduce((o,a)=>Math.abs(n[a]-r)<Math.abs(n[o]-r)?a:o)}const pk=k.forwardRef(({url:e,isReadOnly:t,...n},r)=>{const{message:{blocks:{video:i}}}=Ie;return P.jsx("div",{children:P.jsx("video",{...n,"data-chromatic":"ignore",style:t?{pointerEvents:"none"}:void 0,controls:!0,src:e,...i,ref:r})})});pk.displayName="Video";const hk=k.forwardRef(({url:e,isReadOnly:t,...n},r)=>{const{message:{blocks:{audio:i}}}=Ie;return P.jsx("div",{children:P.jsx("audio",{...n,controls:!0,style:t?{pointerEvents:"none"}:void 0,src:e,...i,ref:r})})});hk.displayName="Audio";const mk=k.forwardRef(({latitude:e,longitude:t,title:n,isReadOnly:r,...i},o)=>{const a=`https://www.google.com/maps/search/?api=1&query=${e},${t}`,{message:{blocks:{location:l}}}=Ie;return P.jsxs("a",{...i,...l.container,style:r?{pointerEvents:"none"}:void 0,href:a,type:"_blank",rel:"noopener",ref:o,children:[P.jsx("p",{...l.title,children:n}),P.jsx(Q6,{...l.icon})]})});mk.displayName="Location";const gk=k.forwardRef(({blocks:e,horizontalAlignment:t,verticalAlignment:n,direction:r,sender:i,timestamp:o,messageId:a,isReadOnly:l,sendMessage:s,...u},c)=>{const{message:{blocks:{column:f}}}=Ie;return P.jsx("div",{"data-horizontal":t,"data-vertical":n,...u,...f,ref:c,children:e.map((p,d)=>P.jsx(Vo,{block:{...p,direction:r,timestamp:o,sender:i,messageId:a,isReadOnly:l,sendMessage:s}},d))})});gk.displayName="Column";const vk=k.forwardRef(({blocks:e,horizontalAlignment:t,verticalAlignment:n,direction:r,sender:i,timestamp:o,metadata:a,messageId:l,isReadOnly:s,sendMessage:u,...c},f)=>{const{message:{blocks:{row:p}}}=Ie;return P.jsx("div",{"data-horizontal":t,"data-vertical":n,...c,...p,ref:f,children:e.map((d,m)=>P.jsx(Vo,{block:{...d,direction:r,timestamp:o,sender:i,messageId:l,isReadOnly:s,sendMessage:u}},m))})});vk.displayName="Row";function rH(e){return Object.prototype.toString.call(e)==="[object Object]"}function yk(e){return rH(e)||Array.isArray(e)}function iH(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function am(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const i=JSON.stringify(Object.keys(e.breakpoints||{})),o=JSON.stringify(Object.keys(t.breakpoints||{}));return i!==o?!1:n.every(a=>{const l=e[a],s=t[a];return typeof l=="function"?`${l}`==`${s}`:!yk(l)||!yk(s)?l===s:am(l,s)})}function bk(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function oH(e,t){if(e.length!==t.length)return!1;const n=bk(e),r=bk(t);return n.every((i,o)=>{const a=r[o];return am(i,a)})}function lm(e){return typeof e=="number"}function wk(e){return typeof e=="string"}function sm(e){return typeof e=="boolean"}function Sk(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ke(e){return Math.abs(e)}function um(e){return Math.sign(e)}function qu(e,t){return Ke(e-t)}function aH(e,t){if(e===0||t===0||Ke(e)<=Ke(t))return 0;const n=qu(Ke(e),Ke(t));return Ke(n/e)}function pl(e){return Zu(e).map(Number)}function Er(e){return e[Ju(e)]}function Ju(e){return Math.max(0,e.length-1)}function Zu(e){return Object.keys(e)}function xk(e,t){return[e,t].reduce((n,r)=>(Zu(r).forEach(i=>{const o=n[i],a=r[i],l=Sk(o)&&Sk(a);n[i]=l?xk(o,a):a}),n),{})}function kk(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function lH(e,t){const n={start:r,center:i,end:o};function r(){return 0}function i(u){return o(u)/2}function o(u){return t-u}function a(){return t*Number(e)}function l(u){return lm(e)?a():n[e](u)}return{measure:l}}function sH(e,t){const n=e==="y"?"y":"x",r=e==="y"?"x":"y",i=l(),o=s();function a(c){const{width:f,height:p}=c;return n==="x"?f:p}function l(){return n==="y"?"top":t==="rtl"?"right":"left"}
207function s(){return n==="y"?"bottom":t==="rtl"?"left":"right"}return{scroll:n,cross:r,startEdge:i,endEdge:o,measureSize:a}}function Xr(e,t){const n=Ke(e-t);function r(u){return u<e}function i(u){return u>t}function o(u){return r(u)||i(u)}function a(u){return o(u)?r(u)?e:t:u}function l(u){return n?u-n*Math.ceil((u-t)/n):u}return{length:n,max:t,min:e,constrain:a,reachedAny:o,reachedMax:i,reachedMin:r,removeOffset:l}}function Ek(e,t,n){const{constrain:r}=Xr(0,e),i=e+1;let o=a(t);function a(p){return n?Ke((i+p)%i):r(p)}function l(){return o}function s(p){return o=a(p),f}function u(p){return c().set(l()+p)}function c(){return Ek(e,l(),n)}const f={get:l,set:s,add:u,clone:c};return f}function uH(e){const t=e==="rtl"?-1:1;function n(i){return i*t}return{apply:n}}function hl(){let e=[];function t(i,o,a,l={passive:!0}){return i.addEventListener(o,a,l),e.push(()=>i.removeEventListener(o,a,l)),r}function n(){e=e.filter(i=>i())}const r={add:t,clear:n};return r}function cH(e,t,n,r,i,o,a,l,s,u,c,f,p,d,m,v,b,h,g){const{cross:y}=e,S=["INPUT","SELECT","TEXTAREA"],$={passive:!1},x=hl(),A=hl(),T=Xr(50,225).constrain(m.measure(20)),j={mouse:300,touch:400},C={mouse:500,touch:600},O=v?43:25;let D=!1,N=0,M=0,_=!1,R=!1,U=!1,I=!1;function B(G,ee){if(!ee)return;function Y(ue){(sm(ee)||ee(G,ue))&&oe(ue)}const te=n;x.add(te,"dragstart",ue=>ue.preventDefault(),$).add(te,"touchmove",()=>{},$).add(te,"touchend",()=>{}).add(te,"touchstart",Y).add(te,"mousedown",Y).add(te,"touchcancel",ae).add(te,"contextmenu",ae).add(te,"click",he,!0)}function w(){x.clear(),A.clear()}function z(){const G=I?r:n;A.add(G,"touchmove",ne,$).add(G,"touchend",ae).add(G,"mousemove",ne,$).add(G,"mouseup",ae)}function W(G){const ee=G.nodeName||"";return S.includes(ee)}function E(){return(v?C:j)[I?"mouse":"touch"]}function Q(G,ee){const Y=p.add(um(G)*-1),te=f.byDistance(G,!v).distance;return v||Ke(G)<T?te:h&&ee?te*.5:f.byIndex(Y.get(),0).distance}function oe(G){const ee=kk(G,i);I=ee,!(ee&&G.button!==0)&&(W(G.target)||(U=v&&ee&&!G.buttons&&D,D=qu(o.get(),l.get())>=2,_=!0,a.pointerDown(G),c.useFriction(0).useDuration(0),o.set(l),z(),N=a.readPoint(G),M=a.readPoint(G,y),d.emit("pointerDown")))}function ne(G){const ee=a.readPoint(G),Y=a.readPoint(G,y),te=qu(ee,N),ue=qu(Y,M);if(!R&&!I&&(!G.cancelable||(R=te>ue,!R)))return ae(G);const q=a.pointerMove(G);te>b&&(U=!0),c.useFriction(.3).useDuration(1),s.start(),o.add(t.apply(q)),G.preventDefault()}function ae(G){const Y=f.byDistance(0,!1).index!==p.get(),te=a.pointerUp(G)*E(),ue=Q(t.apply(te),Y),q=aH(te,ue),xe=O-10*q,Te=g+q/50;R=!1,_=!1,A.clear(),c.useDuration(xe).useFriction(Te),u.distance(ue,!v),I=!1,d.emit("pointerUp")}function he(G){U&&(G.stopPropagation(),G.preventDefault())}function de(){return _}return{init:B,pointerDown:de,destroy:w}}function fH(e,t){let r,i;function o(f){return f.timeStamp}function a(f,p){const m=`client${(p||e.scroll)==="x"?"X":"Y"}`;return(kk(f,t)?f:f.touches[0])[m]}function l(f){return r=f,i=f,a(f)}function s(f){const p=a(f)-a(i),d=o(f)-o(r)>170;return i=f,d&&(r=f),p}function u(f){if(!r||!i)return 0;const p=a(i)-a(r),d=o(f)-o(r),m=o(f)-o(i)>170,v=p/d;return d&&!m&&Ke(v)>.1?v:0}return{pointerDown:l,pointerMove:s,pointerUp:u,readPoint:a}}function dH(e){function t(r){return e*(r/100)}return{measure:t}}function pH(e,t,n,r,i){let o,a,l=[],s=!1;function u(d){return i.measureSize(d.getBoundingClientRect())}function c(d,m){if(!m)return;a=u(e),l=r.map(u);function v(h){for(const g of h){const y=g.target===e,S=r.indexOf(g.target),$=y?a:l[S],x=u(y?e:r[S]);if($!==x){n.requestAnimationFrame(()=>{d.reInit(),t.emit("resize")});break}}}o=new ResizeObserver(h=>{s||(sm(m)||m(d,h))&&v(h)}),[e].concat(r).forEach(h=>o.observe(h))}function f(){o&&o.disconnect(),s=!0}return{init:c,destroy:f}}function hH(e,t,n,r){let i=!0,o=0,a=0,l=n,s=r,u=e.get(),c=0;function f(){const $=t.get()-e.get(),x=!l;let A=0;return x?(o=0,e.set(t),A=$):(o+=$/l,o*=s,u+=o,e.add(o),A=u-c),a=um(A),c=u,i=Ke($)<.001,S}function p(){return i}function d(){return l}function m(){return a}function v(){return o}function b(){return g(n)}function h(){return y(r)}function g($){return l=$,S}function y($){return s=$,S}const S={direction:m,duration:d,velocity:v,seek:f,settled:p,useBaseFriction:h,useBaseDuration:b,useFriction:y,useDuration:g};return S}function mH(e,t,n,r,i){const o=i.measure(10),a=i.measure(50),l=Xr(.1,.99);let s=!1;function u(){return!(s||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function c(d){if(!u())return;const m=e.reachedMin(t.get())?"min":"max",v=Ke(e[m]-t.get()),b=n.get()-t.get(),h=l.constrain(v/a);n.subtract(b*h),!d&&Ke(b)<o&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function f(d){s=!d}return{constrain:c,toggleActive:f}}function gH(e,t,n,r){const i=Xr(-t+e,n[0]),o=s(),a=u();function l(){const f=o[0],p=Er(o),d=o.lastIndexOf(f),m=o.indexOf(p)+1;return Xr(d,m)}function s(){return n.map(i.constrain).map(f=>parseFloat(f.toFixed(3)))}function u(){if(t<=e)return[i.max];if(r==="keepSnaps")return o;const{min:f,max:p}=l();return o.slice(f,p)}return{snapsContained:a}}function vH(e,t,n){const r=t[0],i=n?r-e:Er(t);return{limit:Xr(i,r)}}function yH(e,t,n,r){const o=t.min+.1,a=t.max+.1,{reachedMin:l,reachedMax:s}=Xr(o,a);function u(p){return p===1?s(n.get()):p===-1?l(n.get()):!1}function c(p){if(!u(p))return;const d=e*(p*-1);r.forEach(m=>m.add(d))}return{loop:c}}function bH(e){const{max:t,length:n}=e;function r(o){return(o-t)/-n}return{get:r}}function wH(e,t,n,r,i,o,a){const{startEdge:l,endEdge:s}=e,{groupSlides:u}=o,c=d().map(t.measure),f=m(),p=v();function d(){return u(r).map(h=>Er(h)[s]-h[0][l]).map(Ke)}function m(){return r.map(h=>n[l]-h[l]).map(h=>-Ke(h))}function v(){const g=Er(f)-Er(i);return u(f).map(y=>y[0]).map((y,S,$)=>{const x=!S,A=S===Ju($);return a&&x?0:a&&A?g:y+c[S]})}return{snaps:f,snapsAligned:p}}function SH(e,t,n,r,i){const{reachedAny:o,removeOffset:a,constrain:l}=r;function s(m){return m.concat().sort((v,b)=>Ke(v)-Ke(b))[0]}function u(m){const v=e?a(m):l(m),b=t.map(g=>g-v).map(g=>c(g,0)).map((g,y)=>({diff:g,index:y})).sort((g,y)=>Ke(g.diff)-Ke(y.diff)),{index:h}=b[0];return{index:h,distance:v}}function c(m,v){const b=[m,m+n,m-n];if(!e)return b[0];if(!v)return s(b);const h=b.filter(g=>um(g)===v);return s(h)}function f(m,v){const b=t[m]-i.get(),h=c(b,v);return{index:m,distance:h}}function p(m,v){const b=i.get()+m,{index:h,distance:g}=u(b),y=!e&&o(b);if(!v||y)return{index:h,distance:m};const S=t[h]-g,$=m+c(S,0);return{index:h,distance:$}}return{byDistance:p,byIndex:f,shortcut:c}}function xH(e,t,n,r,i,o,a){function l(f){const p=f.distance,d=f.index!==t.get();
207o.add(p),p&&(i.duration()?e.start():(e.update(),e.render(1),e.update())),d&&(n.set(t.get()),t.set(f.index),a.emit("select"))}function s(f,p){const d=r.byDistance(f,p);l(d)}function u(f,p){const d=t.clone().set(f),m=r.byIndex(d.get(),p);l(m)}return{distance:s,index:u}}function Xu(e){let t=e;function n(){return t}function r(s){t=a(s)}function i(s){t+=a(s)}function o(s){t-=a(s)}function a(s){return lm(s)?s:s.get()}return{get:n,set:r,add:i,subtract:o}}function $k(e,t,n){const r=e.scroll==="x"?a:l,i=n.style;let o=!1;function a(p){return`translate3d(${p}px,0px,0px)`}function l(p){return`translate3d(0px,${p}px,0px)`}function s(p){o||(i.transform=r(t.apply(p)))}function u(p){o=!p}function c(){o||(i.transform="",n.getAttribute("style")||n.removeAttribute("style"))}return{clear:c,to:s,toggleActive:u}}function kH(e,t,n,r,i,o,a,l,s){const u=pl(i),c=pl(i).reverse(),f=v().concat(b());function p($,x){return $.reduce((A,T)=>A-i[T],x)}function d($,x){return $.reduce((A,T)=>p(A,x)>0?A.concat([T]):A,[])}function m($,x){const A=x==="start",T=A?-r:r,j=a.findSlideBounds([T]);return $.map(C=>{const O=A?0:-r,D=A?r:0,M=j.filter(_=>_.index===C)[0][A?"end":"start"];return{index:C,slideLocation:Xu(-1),translate:$k(e,t,s[C]),target:()=>l.get()>M?O:D}})}function v(){const $=o[0]-1,x=d(c,$);return m(x,"end")}function b(){const $=n-o[0]-1,x=d(u,$);return m(x,"start")}function h(){return f.every(({index:$})=>{const x=u.filter(A=>A!==$);return p(x,n)<=.1})}function g(){f.forEach($=>{const{target:x,translate:A,slideLocation:T}=$,j=x();j!==T.get()&&(A.to(j),T.set(j))})}function y(){f.forEach($=>$.translate.clear())}return{canLoop:h,clear:y,loop:g,loopPoints:f}}function EH(e,t){let n,r=!1;function i(l,s){if(!s)return;function u(c){for(const f of c)if(f.type==="childList"){l.reInit(),t.emit("slidesChanged");break}}n=new MutationObserver(c=>{r||(sm(s)||s(l,c))&&u(c)}),n.observe(e,{childList:!0})}function o(){n&&n.disconnect(),r=!0}return{init:i,destroy:o}}function $H(e,t,n,r,i,o,a){const{removeOffset:l,constrain:s}=i,u=.5,c=o?[0,t,-t]:[0],f=d(c,a);function p(b){const h=b||0;return n.map(g=>Xr(u,g-u).constrain(g*h))}function d(b,h){const g=b||c,y=p(h);return g.reduce((S,$)=>{const x=r.map((A,T)=>({start:A-n[T]+y[T]+$,end:A+e-y[T]+$,index:T}));return S.concat(x)},[])}function m(b,h){const g=o?l(b):s(b);return(h||f).reduce((S,$)=>{const{index:x,start:A,end:T}=$,j=S.includes(x),C=A<g&&T>g;return!j&&C?S.concat([x]):S},[])}return{check:m,findSlideBounds:d}}function CH(e,t,n,r,i,o){const{measureSize:a,startEdge:l,endEdge:s}=e,u=n[0]&&i,c=m(),f=v(),p=n.map(a),d=b();function m(){if(!u)return 0;const g=n[0];return Ke(t[l]-g[l])}function v(){if(!u)return 0;const g=o.getComputedStyle(Er(r));return parseFloat(g.getPropertyValue(`margin-${s}`))}function b(){return n.map((g,y,S)=>{const $=!y,x=y===Ju(S);return $?p[y]+c:x?p[y]+f:S[y+1][l]-g[l]}).map(Ke)}return{slideSizes:p,slideSizesWithGaps:d}}function AH(e,t,n){const r=lm(n);function i(s,u){return pl(s).filter(c=>c%u===0).map(c=>s.slice(c,c+u))}function o(s){return pl(s).reduce((u,c)=>{const p=t.slice(Er(u),c+1).reduce((d,m)=>d+m,0);return!c||p>e?u.concat(c):u},[]).map((u,c,f)=>s.slice(u,f[c+1]))}function a(s){return r?i(s,n):o(s)}return{groupSlides:a}}function IH(e,t,n,r,i,o,a,l){const{align:s,axis:u,direction:c,startIndex:f,inViewThreshold:p,loop:d,duration:m,dragFree:v,dragThreshold:b,slidesToScroll:h,skipSnaps:g,containScroll:y}=o,S=t.getBoundingClientRect(),$=n.map(Te=>Te.getBoundingClientRect()),x=uH(c),A=sH(u,c),T=A.measureSize(S),j=dH(T),C=lH(s,T),O=!d&&!!y,D=d||!!y,{slideSizes:N,slideSizesWithGaps:M}=CH(A,S,$,n,D,i),_=AH(T,M,h),{snaps:R,snapsAligned:U}=wH(A,C,S,$,M,_,O),I=-Er(R)+Er(M),{snapsContained:B}=gH(T,I,U,y),w=O?B:U,{limit:z}=vH(I,w,d),W=Ek(Ju(w),f,d),E=W.clone(),Q=pl(n),oe=({dragHandler:Te,scrollBody:Qe,scrollBounds:an,eventHandler:xn,animation:fr,options:{loop:kn}})=>{const ln=Te.pointerDown();kn||an.constrain(ln);const Hn=Qe.seek().settled();Hn&&!ln&&(fr.stop(),xn.emit("settle")),Hn||xn.emit("scroll")},ne=({scrollBody:Te,translate:Qe,location:an,offsetLocation:xn,scrollLooper:fr,slideLooper:kn,options:{loop:ln}},Hn)=>{const F=Te.velocity();xn.set(an.get()-F+F*Hn),ln&&(fr.loop(Te.direction()),kn.loop()),Qe.to(xn.get())},ae={start:()=>l.start(xe),stop:()=>l.stop(xe),update:()=>
207oe(xe),render:Te=>ne(xe,Te)},he=.68,de=w[W.get()],X=Xu(de),G=Xu(de),ee=Xu(de),Y=hH(X,ee,m,he),te=SH(d,w,I,z,ee),ue=xH(ae,W,E,te,Y,ee,a),q=$H(T,I,N,R,z,d,p),xe={ownerDocument:r,ownerWindow:i,eventHandler:a,containerRect:S,slideRects:$,animation:ae,axis:A,direction:x,dragHandler:cH(A,x,e,r,i,ee,fH(A,i),X,ae,ue,Y,te,W,a,j,v,b,g,he),eventStore:hl(),percentOfView:j,index:W,indexPrevious:E,limit:z,location:X,offsetLocation:G,options:o,resizeHandler:pH(t,a,i,n,A),scrollBody:Y,scrollBounds:mH(z,X,ee,Y,j),scrollLooper:yH(I,z,G,[X,G,ee]),scrollProgress:bH(z),scrollSnaps:w,scrollTarget:te,scrollTo:ue,slideLooper:kH(A,x,T,I,M,w,q,G,n),slidesHandler:EH(t,a),slidesInView:q,slideIndexes:Q,slidesToScroll:_,target:ee,translate:$k(A,x,t)};return xe}function TH(e){const t=16.666666666666668;let n=[],r=null,i=0,o=0;function a(f){r||(r=f);const p=f-r;for(r=f,i+=p;i>=t;)n.forEach(({animation:m})=>m.update()),i-=t;const d=Ke(i/t);n.forEach(({animation:m})=>m.render(d)),o&&e.requestAnimationFrame(a)}function l(f){n.includes(f)||n.push(f),!o&&(o=e.requestAnimationFrame(a))}function s(f){n=n.filter(p=>p!==f),!n.length&&(e.cancelAnimationFrame(o),r=null,i=0,o=0)}function u(){r=null,i=0}return{start:l,stop:s,reset:u,window:e}}function OH(){const e={};let t;function n(s){t=s}function r(s){return e[s]||[]}function i(s){return r(s).forEach(u=>u(t,s)),l}function o(s,u){return e[s]=r(s).concat([u]),l}function a(s,u){return e[s]=r(s).filter(c=>c!==u),l}const l={init:n,emit:i,off:a,on:o};return l}const PH={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,breakpoints:{},dragFree:!1,dragThreshold:10,inViewThreshold:0,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0};function _H(e){function t(o,a){return xk(o,a||{})}function n(o){const a=o.breakpoints||{},l=Zu(a).filter(s=>e.matchMedia(s).matches).map(s=>a[s]).reduce((s,u)=>t(s,u),{});return t(o,l)}function r(o){return o.map(a=>Zu(a.breakpoints||{})).reduce((a,l)=>a.concat(l),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function RH(e){let t=[];function n(o,a){return t=o.filter(({options:l})=>e.optionsAtMedia(l).active!==!1),t.forEach(l=>l.init(a,e)),o.reduce((l,s)=>Object.assign(l,{[s.name]:s}),{})}function r(){t=t.filter(o=>o.destroy())}return{init:n,destroy:r}}function Do(e,t,n){const r=e.ownerDocument,i=r.defaultView,o=_H(i),a=RH(o),l=hl(),s=hl(),u=OH(),{animationRealms:c}=Do,{mergeOptions:f,optionsAtMedia:p,optionsMediaQueries:d}=o,{on:m,off:v,emit:b}=u,h=N;let g=!1,y,S=f(PH,Do.globalOptions),$=f(S),x=[],A,T,j;function C(){const{container:Y,slides:te}=$;T=(wk(Y)?e.querySelector(Y):Y)||e.children[0];const q=wk(te)?T.querySelectorAll(te):te;j=[].slice.call(q||T.children)}function O(Y,te){const ue=IH(e,T,j,r,i,Y,u,te);if(Y.loop&&!ue.slideLooper.canLoop()){const q=Object.assign({},Y,{loop:!1});return O(q,te)}return ue}function D(Y,te){if(g)return;const ue=c.find(xe=>xe.window===i),q=ue||TH(i);ue||c.push(q),S=f(S,Y),$=p(S),x=te||x,C(),y=O($,q),d([S,...x.map(({options:xe})=>xe)]).forEach(xe=>l.add(xe,"change",N)),$.active&&(y.translate.to(y.location.get()),y.eventHandler.init(ee),y.resizeHandler.init(ee,$.watchResize),y.slidesHandler.init(ee,$.watchSlides),s.add(r,"visibilitychange",()=>{r.hidden&&q.reset()}),y.options.loop&&y.slideLooper.loop(),T.offsetParent&&j.length&&y.dragHandler.init(ee,$.watchDrag),A=a.init(x,ee))}function N(Y,te){const ue=oe();M(),D(f({startIndex:ue},Y),te),u.emit("reInit")}function M(){y.dragHandler.destroy(),y.animation.stop(),y.eventStore.clear(),y.translate.clear(),y.slideLooper.clear(),y.resizeHandler.destroy(),y.slidesHandler.destroy(),a.destroy(),l.clear(),s.clear()}function _(){g||(g=!0,l.clear(),M(),u.emit("destroy"))}function R(Y){const te=y[Y?"target":"location"].get(),ue=$.loop?"removeOffset":"constrain";return y.slidesInView.check(y.limit[ue](te))}function U(Y){const te=R(Y);return y.slideIndexes.filter(ue=>!te.includes(ue))}function I(Y,te,ue){!$.active||g||(y.scrollBody.useBaseFriction().useDuration(te?0:$.duration),y.scrollTo.index(Y,ue||0))}function B(Y){const te=y.index.add(1).get();I(te,Y===!0,-1)}function w(Y){const te=y.index.add(-1).get();I(te,Y===!0,1)}function z(){return y.index.add(1).get()!==oe()}function W(){return y.index.add(-1).get()!==oe()}function E(){return y.scrollSnaps.map(y.scrollProgress.get)}function Q(){return y.scrollProgress.get(y.location.get())}function oe(){return y.index.get()}function ne(){return y.indexPrevious.get()}function ae(){return A}function he(){return y}function de(){return e}function X(){return T}function G(){return j}const ee={canScrollNext:z,canScrollPrev:W,containerNode:X,internalEngine:he,destroy:_,off:v,on:m,emit:b,plugins:ae,previousScrollSnap:ne,reInit:h,rootNode:de,scrollNext:B,scrollPrev:w,scrollProgress:Q,scrollSnapList:E,scrollTo:I,selectedScrollSnap:oe,slideNodes:G,slidesInView:R,slidesNotInView:U};return D(t,n),setTimeout(()=>u.emit("init"),0),ee}Do.animationRealms=[],Do.globalOptions=void 0;function cm(e={},t=[]){const n=k.useRef(e),r=k.useRef(t),[i,o]=k.useState(),[a,l]=k.useState(),s=k.useCallback(()=>{i&&i.reInit(n.current,r.current)},[i]);return k.useEffect(()=>{if(iH()&&a){Do.globalOptions=cm.globalOptions;const u=Do(a,n.current,r.current);return o(u),()=>u.destroy()}else o(void 0)},[a,o]),k.useEffect(()=>{am(n.current,e)||(n.current=e,s())},[e,s]),k.useEffect(()=>{oH(r.current,t)||(r.current=t,s())},[t,s]),[l,i]}cm.globalOptions=void 0;const Ck=k.forwardRef(({blocks:e,direction:t,sender:n,timestamp:r,messageId:i,isReadOnly:o,sendMessage:a,addMessageFeedback:l},s)=>{const[u,c]=cm({skipSnaps:!0,loop:!0}),[f,p]=k.useState(!0),[d,m]=k.useState(!0),v=k.useCallback(()=>c?.scrollPrev(),[c]),b=k.useCallback(()=>c?.scrollNext(),[c]),{message:{blocks:{carousel:h}}}=Ie,g=k.useCallback(y=>{p(!y.canScrollPrev()),m(!y.canScrollNext())},[]);return k.useEffect(()=>{c&&(g(c),c.on("reInit",g),c.on("select",g))},[c,g]),P.jsxs("div",{...h?.container,"data-container":"carousel",ref:u,children:[P.jsx("div",{ref:s,...h?.slidesContainer,children:e.map((y,S)=>P.jsx(Vo,{block:{...y,direction:t,timestamp:r,sender:n,messageId:i,sendMessage:a,isReadOnly:o}},S))}),e.length>1&&P.jsxs(P.Fragment,{children:[P.jsx(z6,{...h?.backButton,"data-disabled":f?"":void 0,onClick:v}),P.jsx(U6,{...h?.nextButton,"data-disabled":d?"":void 0,onClick:b})]})]})});
207Ck.displayName="Carousel";const Ak=Math.floor;function Ik(e){return Tk(e)?(e.nodeName||"").toLowerCase():"#document"}function ml(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function NH(e){var t;return(t=(Tk(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Tk(e){return e instanceof Node||e instanceof ml(e).Node}function _n(e){return e instanceof Element||e instanceof ml(e).Element}function Lo(e){return e instanceof HTMLElement||e instanceof ml(e).HTMLElement}function fm(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ml(e).ShadowRoot}function MH(e){return["html","body","#document"].includes(Ik(e))}function DH(e){return ml(e).getComputedStyle(e)}function LH(e){if(Ik(e)==="html")return e;const t=e.assignedSlot||e.parentNode||fm(e)&&e.host||NH(e);return fm(t)?t.host:t}function ei(e){let t=e.activeElement;for(;((n=t)==null||(r=n.shadowRoot)==null?void 0:r.activeElement)!=null;){var n,r;t=t.shadowRoot.activeElement}return t}function zt(e,t){if(!e||!t)return!1;const n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&fm(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function Ok(){const e=navigator.userAgentData;return e!=null&&e.platform?e.platform:navigator.platform}function jH(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:r}=t;return n+"/"+r}).join(" "):navigator.userAgent}function Pk(e){if(e.mozInputSource===0&&e.isTrusted)return!0;const t=/Android/i;return(t.test(Ok())||t.test(jH()))&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function _k(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType!=="mouse"||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0}function Rk(){return/apple/i.test(navigator.vendor)}function FH(){return Ok().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function Nk(e,t){return["mouse","pen"].includes(e)}function BH(e){return"nativeEvent"in e}function zH(e){return e.matches("html,body")}function Rn(e){return e?.ownerDocument||document}function dm(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}function Mk(e){return"composedPath"in e?e.composedPath()[0]:e.target}const UH="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function Dk(e){return Lo(e)&&e.matches(UH)}function pt(e){e.preventDefault(),e.stopPropagation()}const jo=Math.min,en=Math.max,ec=Math.round,tc=Math.floor,Jn=e=>({x:e,y:e});function Lk(e,t,n){return en(e,jo(t,n))}function nc(e,t){return typeof e=="function"?e(t):e}function gl(e){return e.split("-")[0]}function pm(e){return e.split("-")[1]}function jk(e){return e==="x"?"y":"x"}function HH(e){return e==="y"?"height":"width"}function vl(e){return["top","bottom"].includes(gl(e))?"y":"x"}function WH(e){return jk(vl(e))}function VH(e){return{top:0,right:0,bottom:0,left:0,...e}}function KH(e){return typeof e!="number"?VH(e):{top:e,right:e,bottom:e,left:e}}function rc(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Fk(e,t,n){let{reference:r,floating:i}=e;const o=vl(t),a=WH(t),l=HH(a),s=gl(t),u=o==="y",c=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,p=r[l]/2-i[l]/2;let d;switch(s){case"top":d={x:c,y:r.y-i.height};break;case"bottom":d={x:c,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-i.width,y:f};break;default:d={x:r.x,y:r.y}}switch(pm(t)){case"start":d[a]-=p*(n&&u?-1:1);break;case"end":d[a]+=p*(n&&u?-1:1);break}return d}const GH=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,l=o.filter(Boolean),s=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=Fk(u,r,s),p=r,d={},m=0;for(let v=0;v<l.length;v++){const{name:b,fn:h}=l[v],{x:g,y,data:S,reset:$}=await h({x:c,y:f,initialPlacement:r,placement:p,strategy:i,middlewareData:d,rects:u,platform:a,elements:{reference:e,floating:t}});c=g??c,f=y??f,d={...d,[b]:{...d[b],...S}},$&&m<=50&&(m++,typeof $=="object"&&($.placement&&(p=$.placement),$.rects&&(u=$.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:i}
vendor: 12,658 bytes, line 207
207):$.rects),{x:c,y:f}=Fk(u,p,s)),v=-1)}return{x:c,y:f,placement:p,strategy:i,middlewareData:d}};async function Bk(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:a,elements:l,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:p=!1,padding:d=0}=nc(t,e),m=KH(d),b=l[p?f==="floating"?"reference":"floating":f],h=rc(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(b)))==null||n?b:b.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(l.floating)),boundary:u,rootBoundary:c,strategy:s})),g=f==="floating"?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,y=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l.floating)),S=await(o.isElement==null?void 0:o.isElement(y))?await(o.getScale==null?void 0:o.getScale(y))||{x:1,y:1}:{x:1,y:1},$=rc(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:y,strategy:s}):g);return{top:(h.top-$.top+m.top)/S.y,bottom:($.bottom-h.bottom+m.bottom)/S.y,left:(h.left-$.left+m.left)/S.x,right:($.right-h.right+m.right)/S.x}}async function QH(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),a=gl(n),l=pm(n),s=vl(n)==="y",u=["left","top"].includes(a)?-1:1,c=o&&s?-1:1,f=nc(t,e);let{mainAxis:p,crossAxis:d,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof m=="number"&&(d=l==="end"?m*-1:m),s?{x:d*c,y:p*u}:{x:p*u,y:d*c}}const YH=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:a,middlewareData:l}=t,s=await QH(t,e);return a===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:i+s.x,y:o+s.y,data:{...s,placement:a}}}}},qH=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:l={fn:b=>{let{x:h,y:g}=b;return{x:h,y:g}}},...s}=nc(e,t),u={x:n,y:r},c=await Bk(t,s),f=vl(gl(i)),p=jk(f);let d=u[p],m=u[f];if(o){const b=p==="y"?"top":"left",h=p==="y"?"bottom":"right",g=d+c[b],y=d-c[h];d=Lk(g,d,y)}if(a){const b=f==="y"?"top":"left",h=f==="y"?"bottom":"right",g=m+c[b],y=m-c[h];m=Lk(g,m,y)}const v=l.fn({...t,[p]:d,[f]:m});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[p]:o,[f]:a}}}}}},JH=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:o,platform:a,elements:l}=t,{apply:s=()=>{},...u}=nc(e,t),c=await Bk(t,u),f=gl(i),p=pm(i),d=vl(i)==="y",{width:m,height:v}=o.floating;let b,h;f==="top"||f==="bottom"?(b=f,h=p===(await(a.isRTL==null?void 0:a.isRTL(l.floating))?"start":"end")?"left":"right"):(h=f,b=p==="end"?"top":"bottom");const g=v-c.top-c.bottom,y=m-c.left-c.right,S=jo(v-c[b],g),$=jo(m-c[h],y),x=!t.middlewareData.shift;let A=S,T=$;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(T=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(A=g),x&&!p){const C=en(c.left,0),O=en(c.right,0),D=en(c.top,0),N=en(c.bottom,0);d?T=m-2*(C!==0||O!==0?C+O:en(c.left,c.right)):A=v-2*(D!==0||N!==0?D+N:en(c.top,c.bottom))}await s({...t,availableWidth:T,availableHeight:A});const j=await a.getDimensions(l.floating);return m!==j.width||v!==j.height?{reset:{rects:!0}}:{}}}};function ic(){return typeof window<"u"}function Fo(e){return zk(e)?(e.nodeName||"").toLowerCase():"#document"}function tn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Zn(e){var t;return(t=(zk(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function zk(e){return ic()?e instanceof Node||e instanceof tn(e).Node:!1}function Nn(e){return ic()?e instanceof Element||e instanceof tn(e).Element:!1}function Xn(e){return ic()?e instanceof HTMLElement||e instanceof tn(e).HTMLElement:!1}function Uk(e){return!ic()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof tn(e).ShadowRoot}function yl(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Mn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function ZH(e){return["table","td","th"].includes(Fo(e))}function oc(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function hm(e){const t=mm(),n=Nn(e)?Mn(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function XH(e){let t=ti(e);for(;Xn(t)&&!Bo(t);){if(hm(t))return t;if(oc(t))return null;t=ti(t)}return null}function mm(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Bo(e){return["html","body","#document"].includes(Fo(e))}function Mn(e){return tn(e).getComputedStyle(e)}function ac(e){return Nn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ti(e){if(Fo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Uk(e)&&e.host||Zn(e);return Uk(t)?t.host:t}function Hk(e){const t=ti(e);return Bo(t)?e.ownerDocument?e.ownerDocument.body:e.body:Xn(t)&&yl(t)?t:Hk(t)}function ni(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Hk(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),a=tn(i);if(o){const l=gm(a);return t.concat(a,a.visualViewport||[],yl(i)?i:[],l&&n?ni(l):[])}return t.concat(i,ni(i,[],n))}function gm(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Wk(e){const t=Mn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Xn(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,l=ec(n)!==o||ec(r)!==a;return l&&(n=o,r=a),{width:n,height:r,$:l}}function vm(e){return Nn(e)?e:e.contextElement}function zo(e){const t=vm(e);if(!Xn(t))return Jn(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=Wk(t);let a=(o?ec(n.width):n.width)/r,l=(o?ec(n.height):n.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const e9=Jn(0);function Vk(e){const t=tn(e);return!mm()||!t.visualViewport?e9:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function t9(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==tn(e)?!1:t}function Ni(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=vm(e);let a=Jn(1);t&&(r?Nn(r)&&(a=zo(r)):a=zo(e));const l=t9(o,n,r)?Vk(o):Jn(0);let s=(i.left+l.x)/a.x,u=(i.top+l.y)/a.y,c=i.width/a.x,f=i.height/a.y;if(o){const p=tn(o),d=r&&Nn(r)?tn(r):r;let m=p,v=gm(m);for(;v&&r&&d!==m;){const b=zo(v),h=v.getBoundingClientRect(),g=Mn(v),y=h.left+(v.clientLeft+parseFloat(g.paddingLeft))*b.x,S=h.top+(v.clientTop+parseFloat(g.paddingTop))*b.y;s*=b.x,u*=b.y,c*=b.x,f*=b.y,s+=y,u+=S,m=tn(v),v=gm(m)}}return rc({width:c,height:f,x:s,y:u})}function ym(e,t){const n=ac(e).scrollLeft;return t?t.left+n:Ni(Zn(e)).left+n}function Kk(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:ym(e,r)),o=r.top+t.scrollTop;return{x:i,y:o}}function n9(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i==="fixed",a=Zn(r),l=t?oc(t.floating):!1;if(r===a||l&&o)return n;let s={scrollLeft:0,scrollTop:0},u=Jn(1);const c=Jn(0),f=Xn(r);if((f||!f&&!o)&&((Fo(r)!=="body"||yl(a))&&(s=ac(r)),Xn(r))){const d=Ni(r);u=zo(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}const p=a&&!f&&!o?Kk(a,s,!0):Jn(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+c.x+p.x,y:n.y*u.y-s.scrollTop*u.y+c.y+p.y}}function r9(e){return Array.from(e.getClientRects())}function i9(e){const t=Zn(e),n=ac(e),r=e.ownerDocument.body,i=en(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=en(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+ym(e);const l=-n.scrollTop;return Mn(r).direction==="rtl"&&(a+=en(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:l}}function o9(e,t){const n=tn(e),r=Zn(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,l=0,s=0;if(i){o=i.width,a=i.height;const u=mm();(!u||u&&t==="fixed")&&(l=i.offsetLeft,s=i.offsetTop)}return{width:o,height:a,x:l,y:s}}function a9(e,t){const n=Ni(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=Xn(e)?zo(e):Jn(1),a=e.clientWidth*o.x,l=e.clientHeight*o.y,s=i*o.x,u=r*o.y;return{width:a,height:l,x:s,y:u}}function Gk(e,t,n){let r;if(t==="viewport")r=o9(e,n);else if(t==="document")r=i9(Zn(e));else if(Nn(t))r=a9(t,n);else{const i=Vk(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return rc(r)}function Qk(e,t){const n=ti(e);return n===t||!Nn(n)||Bo(n)?!1:Mn(n).position==="fixed"||Qk(n,t)}function l9(e,t){const n=t.get(e);if(n)return n;let r=ni(e,[],!1).filter(l=>Nn(l)&&Fo(l)!=="body"),i=null;const o=Mn(e).position==="fixed";let a=o?ti(e):e;for(;Nn(a)&&!Bo(a);){const l=Mn(a),s=hm(a);!s&&l.position==="fixed"&&(i=null),(o?!s&&!i:!s&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||yl(a)&&!s&&Qk(e,a))?r=r.filter(c=>c!==a):i=l,a=ti(a)}return t.set(e,r),r}function s9(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const a=[...n==="clippingAncestors"?oc(t)?[]:l9(t,this._c):[].concat(n),r],l=a[0],s=a.reduce((u,c)=>{const f=Gk(t,c,i);return u.top=en(f.top,u.top),u.right=jo(f.right,u.right),u.bottom=jo(f.bottom,u.bottom),u.left=en(f.left,u.left),u},Gk(t,l,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function u9(e){const{width:t,height:n}=Wk(e);return{width:t,height:n}}function c9(e,t,n){const r=Xn(t),i=Zn(t),o=n==="fixed",a=Ni(e,!0,o,t);let l={scrollLeft:0,scrollTop:0};const s=Jn(0);function u(){s.x=ym(i)}if(r||!r&&!o)if((Fo(t)!=="body"||yl(i))&&(l=ac(t)),r){const d=Ni(t,!0,o,t);s.x=d.x+t.clientLeft,s.y=d.y+t.clientTop}else i&&u();o&&!r&&i&&u();const c=i&&!r&&!o?Kk(i,l):Jn(0),f=a.left+l.scrollLeft-s.x-c.x,p=a.top+l.scrollTop-s.y-c.y;return{x:f,y:p,width:a.width,height:a.height}}function bm(e){return Mn(e).position==="static"}function Yk(e,t){if(!Xn(e)||Mn(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Zn(e)===n&&(n=n.ownerDocument.body),n}function qk(e,t){const n=tn(e);if(oc(e))return n;if(!Xn(e)){let i=ti(e);for(;i&&!Bo(i);){if(Nn(i)&&!bm(i))return i;i=ti(i)}return n}let r=Yk(e,t);for(;r&&ZH(r)&&bm(r);)r=Yk(r,t);return r&&Bo(r)&&bm(r)&&!hm(r)?n:r||XH(e)||n}const f9=async function(e){const t=this.getOffsetParent||qk,n=this.getDimensions,r=await n(e.floating);return{reference:c9(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function d9(e){return Mn(e).direction==="rtl"}const p9={convertOffsetParentRelativeRectToViewportRelativeRect:n9,getDocumentElement:Zn,getClippingRect:s9,getOffsetParent:qk,getElementRects:f9,getClientRects:r9,getDimensions:u9,getScale:zo,isElement:Nn,isRTL:d9};function Jk(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function h9(e,t){let n=null,r;const i=Zn(e);function o(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function a(l,s){l===void 0&&(l=!1),s===void 0&&(s=1),o();const u=e.getBoundingClientRect(),{left:c,top:f,width:p,height:d}=u;if(l||t(),!p||!d)return;const m=tc(f),v=tc(i.clientWidth-(c+p)),b=tc(i.clientHeight-(f+d)),h=tc(c),y={rootMargin:-m+"px "+-v+"px "+-b+"px "+-h+"px",threshold:en(0,jo(1,s))||1};let S=!0;function $(x){const A=x[0].intersectionRatio;if(A!==s){if(!S)return a();A?a(!1,A):r=setTimeout(()=>{a(!1,1e-7)},1e3)}A===1&&!Jk(u,e.getBoundingClientRect())&&a(),S=!1}try{n=new IntersectionObserver($,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver($,y)}n.observe(e)}return a(!0),o}function m9(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:s=!1}=r,u=vm(e),c=i||o?[...u?ni(u):[],...ni(t)]:[];c.forEach(h=>{i&&h.addEventListener("scroll",n,{passive:!0}),o&&h.addEventListener("resize",n)});const f=u&&l?h9(u,n):null;let p=-1,d=null;a&&(d=new ResizeObserver(h=>{let[g]=h;g&&g.target===u&&d&&(d.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var y;(y=d)==null||y.observe(t)})),n()}),u&&!s&&d.observe(u),d.observe(t));let m,v=s?Ni(e):null;s&&b();function b(){const h=Ni(e);v&&!Jk(v,h)&&n(),v=h,m=requestAnimationFrame(b)}return n(),()=>{var h;
vendor: 4,907 bytes, lines 207-210
207c.forEach(g=>{i&&g.removeEventListener("scroll",n),o&&g.removeEventListener("resize",n)}),f?.(),(h=d)==null||h.disconnect(),d=null,s&&cancelAnimationFrame(m)}}const g9=YH,v9=qH,y9=JH,b9=(e,t,n)=>{const r=new Map,i={platform:p9,...n},o={...i.platform,_c:r};return GH(e,t,{...i,platform:o})};var lc=typeof document<"u"?k.useLayoutEffect:k.useEffect;function sc(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!sc(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!sc(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function Zk(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Xk(e,t){const n=Zk(e);return Math.round(t*n)/n}function wm(e){const t=k.useRef(e);return lc(()=>{t.current=e}),t}function w9(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:a}={},transform:l=!0,whileElementsMounted:s,open:u}=e,[c,f]=k.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,d]=k.useState(r);sc(p,r)||d(r);const[m,v]=k.useState(null),[b,h]=k.useState(null),g=k.useCallback(I=>{I!==x.current&&(x.current=I,v(I))},[]),y=k.useCallback(I=>{I!==A.current&&(A.current=I,h(I))},[]),S=o||m,$=a||b,x=k.useRef(null),A=k.useRef(null),T=k.useRef(c),j=s!=null,C=wm(s),O=wm(i),D=wm(u),N=k.useCallback(()=>{if(!x.current||!A.current)return;const I={placement:t,strategy:n,middleware:p};O.current&&(I.platform=O.current),b9(x.current,A.current,I).then(B=>{const w={...B,isPositioned:D.current!==!1};M.current&&!sc(T.current,w)&&(T.current=w,gw.flushSync(()=>{f(w)}))})},[p,t,n,O,D]);lc(()=>{u===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,f(I=>({...I,isPositioned:!1})))},[u]);const M=k.useRef(!1);lc(()=>(M.current=!0,()=>{M.current=!1}),[]),lc(()=>{if(S&&(x.current=S),$&&(A.current=$),S&&$){if(C.current)return C.current(S,$,N);N()}},[S,$,N,C,j]);const _=k.useMemo(()=>({reference:x,floating:A,setReference:g,setFloating:y}),[g,y]),R=k.useMemo(()=>({reference:S,floating:$}),[S,$]),U=k.useMemo(()=>{const I={position:n,left:0,top:0};if(!R.floating)return I;const B=Xk(R.floating,c.x),w=Xk(R.floating,c.y);return l?{...I,transform:"translate("+B+"px, "+w+"px)",...Zk(R.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:B,top:w}},[n,l,R.floating,c.x,c.y]);return k.useMemo(()=>({...c,update:N,refs:_,elements:R,floatingStyles:U}),[c,N,_,R,U])}const S9=(e,t)=>({...g9(e),options:[e,t]}),x9=(e,t)=>({...v9(e),options:[e,t]}),k9=(e,t)=>({...y9(e),options:[e,t]});/*! 208* tabbable 6.2.0 209* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE 210*/var E9=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Sm=E9.join(","),eE=typeof Element>"u",bl=eE?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,uc=!eE&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},cc=function e(t,n){var r;n===void 0&&(n=!0);var i=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),o=i===""||i==="true",a=o||n&&t&&e(t.parentNode);return a},$9=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},C9=function(t,n,r){if(cc(t))return[];var i=Array.prototype.slice.apply(t.querySelectorAll(Sm));return n&&bl.call(t,Sm)&&i.unshift(t),i=i.filter(r),i},A9=function e(t,n,r){for(var i=[],o=Array.from(t);o.length;){var a=o.shift();if(!cc(a,!1))if(a.tagName==="SLOT"){var l=a.assignedElements(),s=l.length?l:a.children,u=e(s,!0,r);r.flatten?i.push.apply(i,u):i.push({scopeParent:a,candidates:u})}else{var c=bl.call(a,Sm);c&&r.filter(a)&&(n||!t.includes(a))&&i.push(a);var f=a.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(a),p=!cc(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(a));if(f&&p){var d=e(f===!0?a.children:f.children,!0,r);r.flatten?i.push.apply(i,d):i.push({scopeParent:a,candidates:d})}else o.unshift.apply(o,a.children)}}return i},tE=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},nE=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||$9(t))&&
210!tE(t)?0:t.tabIndex},I9=function(t,n){var r=nE(t);return r<0&&n&&!tE(t)?0:r},T9=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},rE=function(t){return t.tagName==="INPUT"},O9=function(t){return rE(t)&&t.type==="hidden"},P9=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},_9=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},R9=function(t){if(!t.name)return!0;var n=t.form||uc(t),r=function(l){return n.querySelectorAll('input[type="radio"][name="'+l+'"]')},i;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")i=r(window.CSS.escape(t.name));else try{i=r(t.name)}catch(a){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",a.message),!1}var o=_9(i,t.form);return!o||o===t},N9=function(t){return rE(t)&&t.type==="radio"},M9=function(t){return N9(t)&&!R9(t)},D9=function(t){var n,r=t&&uc(t),i=(n=r)===null||n===void 0?void 0:n.host,o=!1;if(r&&r!==t){var a,l,s;for(o=!!((a=i)!==null&&a!==void 0&&(l=a.ownerDocument)!==null&&l!==void 0&&l.contains(i)||t!=null&&(s=t.ownerDocument)!==null&&s!==void 0&&s.contains(t));!o&&i;){var u,c,f;r=uc(i),i=(u=r)===null||u===void 0?void 0:u.host,o=!!((c=i)!==null&&c!==void 0&&(f=c.ownerDocument)!==null&&f!==void 0&&f.contains(i))}}return o},iE=function(t){var n=t.getBoundingClientRect(),r=n.width,i=n.height;return r===0&&i===0},L9=function(t,n){var r=n.displayCheck,i=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=bl.call(t,"details>summary:first-of-type"),a=o?t.parentElement:t;if(bl.call(a,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof i=="function"){for(var l=t;t;){var s=t.parentElement,u=uc(t);if(s&&!s.shadowRoot&&i(s)===!0)return iE(t);t.assignedSlot?t=t.assignedSlot:!s&&u!==t.ownerDocument?t=u.host:t=s}t=l}if(D9(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return iE(t);return!1},j9=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var i=n.children.item(r);if(i.tagName==="LEGEND")return bl.call(n,"fieldset[disabled] *")?!0:!i.contains(t)}return!0}n=n.parentElement}return!1},F9=function(t,n){return!(n.disabled||cc(n)||O9(n)||L9(n,t)||P9(n)||j9(n))},oE=function(t,n){return!(M9(n)||nE(n)<0||!F9(t,n))},B9=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},z9=function e(t){var n=[],r=[];return t.forEach(function(i,o){var a=!!i.scopeParent,l=a?i.scopeParent:i,s=I9(l,a),u=a?e(i.candidates):l;s===0?a?n.push.apply(n,u):n.push(l):r.push({documentOrder:o,tabIndex:s,item:i,isScope:a,content:u})}),r.sort(T9).reduce(function(i,o){return o.isScope?i.push.apply(i,o.content):i.push(o.content),i},[]).concat(n)},xm=function(t,n){n=n||{};var r;return n.getShadowRoot?r=A9([t],n.includeContainer,{filter:oE.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:B9}):r=C9(t,n.includeContainer,oE.bind(null,n)),z9(r)};const km="ArrowUp",fc="ArrowDown",Uo="ArrowLeft",wl="ArrowRight";function dc(e,t,n){return Math.floor(e/t)!==n}function Sl(e,t){return t<0||t>=e.current.length}function Em(e,t){return Et(e,{disabledIndices:t})}function aE(e,t){return Et(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function Et(e,t){let{startingIndex:n=-1,decrement:r=!1,disabledIndices:i,amount:o=1}=t===void 0?{}:t;const a=e.current;let l=n;do{var s,u;l=l+(r?-o:o)}while(l>=0&&l<=a.length-1&&(i?i.includes(l):a[l]==null||(s=a[l])!=null&&s.hasAttribute("disabled")||((u=a[l])==null?void 0:u.getAttribute("aria-disabled"))==="true"));return l}function U9(e,t){let{event:n,orientation:r,loop:i,cols:o,disabledIndices:a,minIndex:l,maxIndex:s,prevIndex:u,stopEvent:c=!1}
210=t,f=u;if(n.key===km){if(c&&pt(n),u===-1)f=s;else if(f=Et(e,{startingIndex:f,amount:o,decrement:!0,disabledIndices:a}),i&&(u-o<l||f<0)){const p=u%o,d=s%o,m=s-(d-p);d===p?f=s:f=d>p?m:m-o}Sl(e,f)&&(f=u)}if(n.key===fc&&(c&&pt(n),u===-1?f=l:(f=Et(e,{startingIndex:u,amount:o,disabledIndices:a}),i&&u+o>s&&(f=Et(e,{startingIndex:u%o-o,amount:o,disabledIndices:a}))),Sl(e,f)&&(f=u)),r==="both"){const p=Ak(u/o);n.key===wl&&(c&&pt(n),u%o!==o-1?(f=Et(e,{startingIndex:u,disabledIndices:a}),i&&dc(f,o,p)&&(f=Et(e,{startingIndex:u-u%o-1,disabledIndices:a}))):i&&(f=Et(e,{startingIndex:u-u%o-1,disabledIndices:a})),dc(f,o,p)&&(f=u)),n.key===Uo&&(c&&pt(n),u%o!==0?(f=Et(e,{startingIndex:u,disabledIndices:a,decrement:!0}),i&&dc(f,o,p)&&(f=Et(e,{startingIndex:u+(o-u%o),decrement:!0,disabledIndices:a}))):i&&(f=Et(e,{startingIndex:u+(o-u%o),decrement:!0,disabledIndices:a})),dc(f,o,p)&&(f=u));const d=Ak(s/o)===p;Sl(e,f)&&(i&&d?f=n.key===Uo?s:Et(e,{startingIndex:u-u%o-1,disabledIndices:a}):f=u)}return f}let lE=0;function $r(e,t){t===void 0&&(t={});const{preventScroll:n=!1,cancelPrevious:r=!0,sync:i=!1}=t;r&&cancelAnimationFrame(lE);const o=()=>e?.focus({preventScroll:n});i?o():lE=requestAnimationFrame(o)}var nt=typeof document<"u"?k.useLayoutEffect:k.useEffect;function pc(){return pc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pc.apply(this,arguments)}let $m=!1,H9=0;const sE=()=>"floating-ui-"+H9++;function W9(){const[e,t]=k.useState(()=>$m?sE():void 0);return nt(()=>{e==null&&t(sE())},[]),k.useEffect(()=>{$m||($m=!0)},[]),e}const Cm=l1.useId||W9;function V9(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(i=>i(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,((r=e.get(t))==null?void 0:r.filter(i=>i!==n))||[])}}}const K9=k.createContext(null),G9=k.createContext(null),uE=()=>{var e;return((e=k.useContext(K9))==null?void 0:e.id)||null},hc=()=>k.useContext(G9);function xl(e){return"data-floating-ui-"+e}function ri(e){const t=k.useRef(e);return nt(()=>{t.current=e}),t}function Q9(e,t){var n;let r=[],i=(n=e.find(o=>o.id===t))==null?void 0:n.parentId;for(;i;){const o=e.find(a=>a.id===i);i=o?.parentId,o&&(r=r.concat(o))}return r}function Ho(e,t){let n=e.filter(i=>{var o;return i.parentId===t&&((o=i.context)==null?void 0:o.open)}),r=n;for(;r.length;)r=e.filter(i=>{var o;return(o=r)==null?void 0:o.some(a=>{var l;return i.parentId===a.id&&((l=i.context)==null?void 0:l.open)})}),n=n.concat(r);return n}function Y9(e,t){let n,r=-1;function i(o,a){a>
210r&&(n=o,r=a),Ho(e,o).forEach(s=>{i(s.id,a+1)})}return i(t,0),e.find(o=>o.id===n)}let Wo=new WeakMap,mc=new WeakSet,gc={},Am=0;const q9=()=>typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype,cE=e=>e&&(e.host||cE(e.parentNode)),J9=(e,t)=>t.map(n=>{if(e.contains(n))return n;const r=cE(n);return e.contains(r)?r:null}).filter(n=>n!=null);function Z9(e,t,n,r){const i="data-floating-ui-inert",o=r?"inert":n?"aria-hidden":null,a=J9(t,e),l=new Set,s=new Set(a),u=[];gc[i]||(gc[i]=new WeakMap);const c=gc[i];a.forEach(f),p(t),l.clear();function f(d){!d||l.has(d)||(l.add(d),d.parentNode&&f(d.parentNode))}function p(d){!d||s.has(d)||Array.prototype.forEach.call(d.children,m=>{if(l.has(m))p(m);else{const v=o?m.getAttribute(o):null,b=v!==null&&v!=="false",h=(Wo.get(m)||0)+1,g=(c.get(m)||0)+1;Wo.set(m,h),c.set(m,g),u.push(m),h===1&&b&&mc.add(m),g===1&&m.setAttribute(i,""),!b&&o&&m.setAttribute(o,"true")}})}return Am++,()=>{u.forEach(d=>{const m=(Wo.get(d)||0)-1,v=(c.get(d)||0)-1;Wo.set(d,m),c.set(d,v),m||(!mc.has(d)&&o&&d.removeAttribute(o),mc.delete(d)),v||d.removeAttribute(i)}),Am--,Am||(Wo=new WeakMap,Wo=new WeakMap,mc=new WeakSet,gc={})}}function fE(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=Rn(e[0]).body;return Z9(e.concat(Array.from(r.querySelectorAll("[aria-live]"))),r,t,n)}const Im=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function dE(e,t){const n=xm(e,Im());t==="prev"&&n.reverse();const r=n.indexOf(ei(Rn(e)));return n.slice(r+1)[0]}function pE(){return dE(document.body,"next")}function hE(){return dE(document.body,"prev")}function kl(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!zt(n,r)}function X9(e){xm(e,Im()).forEach(n=>{n.dataset.tabindex=n.getAttribute("tabindex")||"",n.setAttribute("tabindex","-1")})}function e8(e){e.querySelectorAll("[data-tabindex]").forEach(n=>{const r=n.dataset.tabindex;delete n.dataset.tabindex,r?n.setAttribute("tabindex",r):n.removeAttribute("tabindex")})}const Tm={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};let t8;function mE(e){e.key==="Tab"&&(e.target,clearTimeout(t8))}const vc=k.forwardRef(function(t,n){const[r,i]=k.useState();nt(()=>(Rk()&&i("button"),document.addEventListener("keydown",mE),()=>{document.removeEventListener("keydown",mE)}),[]);const o={ref:n,tabIndex:0,role:r,"aria-hidden":r?void 0:!0,[xl("focus-guard")]:"",style:Tm};return k.createElement("span",pc({},t,o))}),gE=k.createContext(null);function n8(e){let{id:t,root:n}=e===void 0?{}:e;const[r,i]=k.useState(null),o=Cm(),a=vE(),l=k.useMemo(()=>({id:t,root:n,portalContext:a,uniqueId:o}),[t,n,a,o]),s=k.useRef();return nt(()=>()=>{r?.remove()},[r,l]),nt(()=>{if(s.current===l)return;s.current=l;const{id:u,root:c,portalContext:f,uniqueId:p}=l,d=u?document.getElementById(u):null,m=xl("portal");if(d){const v=document.createElement("div");v.id=p,v.setAttribute(m,""),d.appendChild(v),i(v)}else{let v=c||f?.portalNode;v&&!_n(v)&&(v=v.current),v=v||document.body;let b=null;u&&(b=document.createElement("div"),b.id=u,v.appendChild(b));const h=document.createElement("div");h.id=p,h.setAttribute(m,""),v=b||v,v.appendChild(h),i(h)}},[l]),r}function r8(e){let{children:t,id:n,root:r=null,preserveTabOrder:i=!0}=e;const o=n8({id:n,root:r}),[a,l]=k.useState(null),s=k.useRef(null),u=k.useRef(null),c=k.useRef(null),f=k.useRef(null),p=!!a&&!a.modal&&a.open&&i&&!!(r||o);return k.useEffect(()=>{if(!o||!i||a!=null&&a.modal)return;function d(m){o&&kl(m)&&(m.type==="focusin"?e8:X9)(o)}return o.addEventListener("focusin",d,!0),o.addEventListener("focusout",d,!0),()=>{o.removeEventListener("focusin",d,!0),o.removeEventListener("focusout",d,!0)}},[o,i,a?.modal]),k.createElement(gE.Provider,{value:k.useMemo(()=>({preserveTabOrder:i,beforeOutsideRef:s,afterOutsideRef:u,beforeInsideRef:c,afterInsideRef:f,portalNode:o,setFocusManagerState:l}),[i,o])},p&&o&&k.createElement(vc,{"data-type":"outside",ref:s,onFocus:d=>{if(kl(d,o)){var m;(m=c.current)==null||m.focus()}else{const v=hE()||a?.refs.domReference.current;v?.focus()}}}),p&&o&&k.createElement("span",{"aria-owns":o.id,style:Tm}),o&&gw.createPortal(t,o),p&&o&&k.createElement(vc,{"data-type":"outside",ref:u,onFocus:d=>
210{if(kl(d,o)){var m;(m=f.current)==null||m.focus()}else{const v=pE()||a?.refs.domReference.current;v?.focus(),a?.closeOnFocusOut&&a?.onOpenChange(!1,d.nativeEvent)}}}))}const vE=()=>k.useContext(gE),i8=k.forwardRef(function(t,n){return k.createElement("button",pc({},t,{type:"button",ref:n,tabIndex:-1,style:Tm}))});function o8(e){const{context:t,children:n,disabled:r=!1,order:i=["content"],guards:o=!0,initialFocus:a=0,returnFocus:l=!0,modal:s=!0,visuallyHiddenDismiss:u=!1,closeOnFocusOut:c=!0}=e,{open:f,refs:p,nodeId:d,onOpenChange:m,events:v,dataRef:b,elements:{domReference:h,floating:g}}=t,y=q9()?o:!0,S=ri(i),$=ri(a),x=ri(l),A=hc(),T=vE(),j=typeof a=="number"&&a<0,C=k.useRef(null),O=k.useRef(null),D=k.useRef(!1),N=k.useRef(null),M=k.useRef(!1),_=T!=null,R=h&&h.getAttribute("role")==="combobox"&&Dk(h)&&j,U=k.useCallback(function(z){return z===void 0&&(z=g),z?xm(z,Im()):[]},[g]),I=k.useCallback(z=>{const W=U(z);return S.current.map(E=>h&&E==="reference"?h:g&&E==="floating"?g:W).filter(Boolean).flat()},[h,g,S,U]);k.useEffect(()=>{if(r||!s)return;function z(E){if(E.key==="Tab"){zt(g,ei(Rn(g)))&&U().length===0&&!R&&pt(E);const Q=I(),oe=Mk(E);S.current[0]==="reference"&&oe===h&&(pt(E),E.shiftKey?$r(Q[Q.length-1]):$r(Q[1])),S.current[1]==="floating"&&oe===g&&E.shiftKey&&(pt(E),$r(Q[0]))}}const W=Rn(g);return W.addEventListener("keydown",z),()=>{W.removeEventListener("keydown",z)}},[r,h,g,s,S,p,R,U,I]),k.useEffect(()=>{if(r||!c)return;function z(){M.current=!0,setTimeout(()=>{M.current=!1})}function W(E){const Q=E.relatedTarget;queueMicrotask(()=>{const oe=!(zt(h,Q)||zt(g,Q)||zt(Q,g)||zt(T?.portalNode,Q)||Q!=null&&Q.hasAttribute(xl("focus-guard"))||A&&(Ho(A.nodesRef.current,d).find(ne=>{var ae,he;return zt((ae=ne.context)==null?void 0:ae.elements.floating,Q)||zt((he=ne.context)==null?void 0:he.elements.domReference,Q)})||Q9(A.nodesRef.current,d).find(ne=>{var ae,he;return((ae=ne.context)==null?void 0:ae.elements.floating)===Q||((he=ne.context)==null?void 0:he.elements.domReference)===Q})));Q&&oe&&!M.current&&Q!==N.current&&(D.current=!0,m(!1,E))})}if(g&&Lo(h))return h.addEventListener("focusout",W),h.addEventListener("pointerdown",z),!s&&g.addEventListener("focusout",W),()=>{h.removeEventListener("focusout",W),h.removeEventListener("pointerdown",z),!s&&g.removeEventListener("focusout",W)}},[r,h,g,s,d,A,T,m,c]),k.useEffect(()=>{var z;if(r)return;const W=Array.from((T==null||(z=T.portalNode)==null?void 0:z.querySelectorAll("["+xl("portal")+"]"))||[]);if(g){const E=[g,...W,C.current,O.current,S.current.includes("reference")||R?h:null].filter(oe=>oe!=null),Q=s?fE(E,y,!y):fE(E);return()=>{Q()}}},[r,h,g,s,S,T,R,y]),nt(()=>{if(r||!g)return;const z=Rn(g),W=ei(z);queueMicrotask(()=>{const E=I(g),Q=$.current,oe=(typeof Q=="number"?E[Q]:Q.current)||g,ne=zt(g,W);!j&&!ne&&f&&$r(oe,{preventScroll:oe===g})})},[r,f,g,j,I,$]),nt(()=>{if(r||!g)return;let z=!1;const W=Rn(g),E=ei(W),Q=b.current;N.current=E;function oe(ne){if(ne.type==="escapeKey"&&p.domReference.current&&(N.current=p.domReference.current),["referencePress","escapeKey"].includes(ne.type))return;const ae=ne.data.returnFocus;typeof ae=="object"?(D.current=!1,z=ae.preventScroll):D.current=!ae}return v.on("dismiss",oe),()=>{v.off("dismiss",oe);const ne=ei(W);(zt(g,ne)||A&&Ho(A.nodesRef.current,d).some(he=>{var de;return zt((de=he.context)==null?void 0:de.elements.floating,ne)})||Q.openEvent&&["click","mousedown"].includes(Q.openEvent.type))&&p.domReference.current&&(N.current=p.domReference.current),x.current&&Lo(N.current)&&!D.current&&$r(N.current,{cancelPrevious:!1,preventScroll:z})}},[r,g,x,b,p,v,A,d]),nt(()=>
210{if(!(r||!T))return T.setFocusManagerState({modal:s,closeOnFocusOut:c,open:f,onOpenChange:m,refs:p}),()=>{T.setFocusManagerState(null)}},[r,T,s,f,m,p,c]),nt(()=>{if(!r&&g&&typeof MutationObserver=="function"&&!j){const z=()=>{const E=g.getAttribute("tabindex");S.current.includes("floating")||ei(Rn(g))!==p.domReference.current&&U().length===0?E!=="0"&&g.setAttribute("tabindex","0"):E!=="-1"&&g.setAttribute("tabindex","-1")};z();const W=new MutationObserver(z);return W.observe(g,{childList:!0,subtree:!0,attributes:!0}),()=>{W.disconnect()}}},[r,g,p,S,U,j]);function B(z){return r||!u||!s?null:k.createElement(i8,{ref:z==="start"?C:O,onClick:W=>m(!1,W.nativeEvent)},typeof u=="string"?u:"Dismiss")}const w=!r&&y&&!R&&(_||s);return k.createElement(k.Fragment,null,w&&k.createElement(vc,{"data-type":"inside",ref:T?.beforeInsideRef,onFocus:z=>{if(s){const E=I();$r(i[0]==="reference"?E[0]:E[E.length-1])}else if(T!=null&&T.preserveTabOrder&&T.portalNode)if(D.current=!1,kl(z,T.portalNode)){const E=pE()||h;E?.focus()}else{var W;(W=T.beforeOutsideRef.current)==null||W.focus()}}}),!R&&B("start"),n,B("end"),w&&k.createElement(vc,{"data-type":"inside",ref:T?.afterInsideRef,onFocus:z=>{if(s)$r(I()[0]);else if(T!=null&&T.preserveTabOrder&&T.portalNode)if(c&&(D.current=!0),kl(z,T.portalNode)){const E=hE()||h;E?.focus()}else{var W;(W=T.afterOutsideRef.current)==null||W.focus()}}}))}function yE(e){return Lo(e.target)&&e.target.tagName==="BUTTON"}function bE(e){return Dk(e)}function a8(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,dataRef:i,elements:{domReference:o}}=e,{enabled:a=!0,event:l="click",toggle:s=!0,ignoreMouse:u=!1,keyboardHandlers:c=!0}=t,f=k.useRef(),p=k.useRef(!1);return k.useMemo(()=>a?{reference:{onPointerDown(d){f.current=d.pointerType},onMouseDown(d){d.button===0&&(Nk(f.current)&&u||l!=="click"&&(n&&s&&(!i.current.openEvent||i.current.openEvent.type==="mousedown")?r(!1,d.nativeEvent):(d.preventDefault(),r(!0,d.nativeEvent))))},onClick(d){if(l==="mousedown"&&f.current){f.current=void 0;return}Nk(f.current)&&u||(n&&s&&(!i.current.openEvent||i.current.openEvent.type==="click")?r(!1,d.nativeEvent):r(!0,d.nativeEvent))},onKeyDown(d){f.current=void 0,!(d.defaultPrevented||!c||yE(d))&&(d.key===" "&&!bE(o)&&(d.preventDefault(),p.current=!0),d.key==="Enter"&&r(!(n&&s),d.nativeEvent))},onKeyUp(d){d.defaultPrevented||!c||yE(d)||bE(o)||d.key===" "&&p.current&&(p.current=!1,r(!(n&&s),d.nativeEvent))}}}:{},[a,i,l,u,c,o,s,n,r])}const l8=l1.useInsertionEffect||(e=>e());function ii(e){const t=k.useRef(()=>{});return l8(()=>{t.current=e}),k.useCallback(function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.current==null?void 0:t.current(...r)},[])}const s8={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},u8={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},c8=e=>{var t,n;return{escapeKeyBubbles:typeof e=="boolean"?e:(t=e?.escapeKey)!=null?t:!1,outsidePressBubbles:typeof e=="boolean"?e:(n=e?.outsidePress)!=null?n:!0}};function f8(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,events:i,nodeId:o,elements:{reference:a,domReference:l,floating:s},dataRef:u}=e,{enabled:c=!0,escapeKey:f=!0,outsidePress:p=!0,outsidePressEvent:d="pointerdown",referencePress:m=!1,referencePressEvent:v="pointerdown",ancestorScroll:b=!1,bubbles:h}=t,g=hc(),y=uE()!=null,S=ii(typeof p=="function"?p:()=>!1),$=typeof p=="function"?S:p,x=k.useRef(!1),{escapeKeyBubbles:A,outsidePressBubbles:T}=c8(h),j=ii(O=>{if(!n||!c||!f||O.key!=="Escape")return;const D=g?Ho(g.nodesRef.current,o):[];if(!A&&(O.stopPropagation(),D.length>0)){let N=!0;if(D.forEach(M=>{var _;if((_=M.context)!=null&&_.open&&!M.context.dataRef.current.__escapeKeyBubbles){N=!1;return}}),!N)return}i.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),r(!1,BH(O)?O.nativeEvent:O)}),C=ii(O=>{const D=x.current;if(x.current=!1,D||typeof $=="function"&&!$(O))return;const N=Mk(O),M="["+xl("inert")+"]",_=Rn(s).querySelectorAll(M);let R=_n(N)?N:null;for(;R&&!MH(R);){const B=LH(R);if(B===Rn(s).body||!_n(B))break;R=B}if(_.length&&_n(N)&&!zH(N)&&!zt(N,s)&&Array.from(_).every(B=>!zt(R,B)))return;if(Lo(N)&&s){const B=N.clientWidth>0&&N.scrollWidth>N.clientWidth,w=N.clientHeight>0&&N.scrollHeight>N.clientHeight;let z=w&&O.offsetX>N.clientWidth;if(w&&DH(N).direction==="rtl"&&(z=O.offsetX<=N.offsetWidth-N.clientWidth),z||B&&O.offsetY>N.clientHeight)return}const U=g&&Ho(g.nodesRef.current,o).some(B=>{var w;
210return dm(O,(w=B.context)==null?void 0:w.elements.floating)});if(dm(O,s)||dm(O,l)||U)return;const I=g?Ho(g.nodesRef.current,o):[];if(I.length>0){let B=!0;if(I.forEach(w=>{var z;if((z=w.context)!=null&&z.open&&!w.context.dataRef.current.__outsidePressBubbles){B=!1;return}}),!B)return}i.emit("dismiss",{type:"outsidePress",data:{returnFocus:y?{preventScroll:!0}:Pk(O)||_k(O)}}),r(!1,O)});return k.useEffect(()=>{if(!n||!c)return;u.current.__escapeKeyBubbles=A,u.current.__outsidePressBubbles=T;function O(M){r(!1,M)}const D=Rn(s);f&&D.addEventListener("keydown",j),$&&D.addEventListener(d,C);let N=[];return b&&(_n(l)&&(N=ni(l)),_n(s)&&(N=N.concat(ni(s))),!_n(a)&&a&&a.contextElement&&(N=N.concat(ni(a.contextElement)))),N=N.filter(M=>{var _;return M!==((_=D.defaultView)==null?void 0:_.visualViewport)}),N.forEach(M=>{M.addEventListener("scroll",O,{passive:!0})}),()=>{f&&D.removeEventListener("keydown",j),$&&D.removeEventListener(d,C),N.forEach(M=>{M.removeEventListener("scroll",O)})}},[u,s,l,a,f,$,d,n,r,b,c,A,T,j,C]),k.useEffect(()=>{x.current=!1},[$,d]),k.useMemo(()=>c?{reference:{onKeyDown:j,[s8[v]]:O=>{m&&(i.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),r(!1,O.nativeEvent))}},floating:{onKeyDown:j,[u8[d]]:()=>{x.current=!0}}}:{},[c,i,m,d,v,r,j])}function d8(e){var t;e===void 0&&(e={});const{open:n=!1,onOpenChange:r,nodeId:i}=e,[o,a]=k.useState(null),l=((t=e.elements)==null?void 0:t.reference)||o,s=w9(e),u=hc(),c=ii((S,$)=>{S&&(p.current.openEvent=$),r?.(S,$)}),f=k.useRef(null),p=k.useRef({}),d=k.useState(()=>V9())[0],m=Cm(),v=k.useCallback(S=>{const $=_n(S)?{getBoundingClientRect:()=>S.getBoundingClientRect(),contextElement:S}:S;s.refs.setReference($)},[s.refs]),b=k.useCallback(S=>{(_n(S)||S===null)&&(f.current=S,a(S)),(_n(s.refs.reference.current)||s.refs.reference.current===null||S!==null&&!_n(S))&&s.refs.setReference(S)},[s.refs]),h=k.useMemo(()=>({...s.refs,setReference:b,setPositionReference:v,domReference:f}),[s.refs,b,v]),g=k.useMemo(()=>({...s.elements,domReference:l}),[s.elements,l]),y=k.useMemo(()=>({...s,refs:h,elements:g,dataRef:p,nodeId:i,floatingId:m,events:d,open:n,onOpenChange:c}),[s,i,m,d,n,c,h,g]);return nt(()=>{const S=u?.nodesRef.current.find($=>$.id===i);S&&(S.context=y)}),k.useMemo(()=>({...s,context:y,refs:h,elements:g}
210),[s,h,g,y])}function Om(e,t,n){const r=new Map;return{...n==="floating"&&{tabIndex:-1},...e,...t.map(i=>i?i[n]:null).concat(e).reduce((i,o)=>(o&&Object.entries(o).forEach(a=>{let[l,s]=a;if(l.indexOf("on")===0){if(r.has(l)||r.set(l,[]),typeof s=="function"){var u;(u=r.get(l))==null||u.push(s),i[l]=function(){for(var c,f=arguments.length,p=new Array(f),d=0;d<f;d++)p[d]=arguments[d];return(c=r.get(l))==null?void 0:c.map(m=>m(...p)).find(m=>m!==void 0)}}}else i[l]=s}),i),{})}}function p8(e){e===void 0&&(e=[]);const t=e,n=k.useCallback(o=>Om(o,e,"reference"),t),r=k.useCallback(o=>Om(o,e,"floating"),t),i=k.useCallback(o=>Om(o,e,"item"),e.map(o=>o?.item));return k.useMemo(()=>({getReferenceProps:n,getFloatingProps:r,getItemProps:i}),[n,r,i])}let wE=!1;function yc(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function SE(e,t){return yc(t,e===km||e===fc,e===Uo||e===wl)}function Pm(e,t,n){return yc(t,e===fc,n?e===Uo:e===wl)||e==="Enter"||e==" "||e===""}function h8(e,t,n){return yc(t,n?e===Uo:e===wl,e===fc)}function xE(e,t,n){return yc(t,n?e===wl:e===Uo,e===km)}function m8(e,t){const{open:n,onOpenChange:r,refs:i,elements:{domReference:o,floating:a}}=e,{listRef:l,activeIndex:s,onNavigate:u=()=>{},enabled:c=!0,selectedIndex:f=null,allowEscape:p=!1,loop:d=!1,nested:m=!1,rtl:v=!1,virtual:b=!1,focusItemOnOpen:h="auto",focusItemOnHover:g=!0,openOnArrowKeyDown:y=!0,disabledIndices:S=void 0,orientation:$="vertical",cols:x=1,scrollItemIntoView:A=!0,virtualItemRef:T}=t,j=uE(),C=hc(),O=ii(u),D=k.useRef(h),N=k.useRef(f??-1),M=k.useRef(null),_=k.useRef(!0),R=k.useRef(O),U=k.useRef(!!a),I=k.useRef(!1),B=k.useRef(!1),w=ri(S),z=ri(n),W=ri(A),[E,Q]=k.useState(),[oe,ne]=k.useState(),ae=ii(function(X,G,ee){ee===void 0&&(ee=!1);const Y=X.current[G.current];Y&&(b?(Q(Y.id),C?.events.emit("virtualfocus",Y),T&&(T.current=Y)):$r(Y,{preventScroll:!0,sync:FH()&&Rk()?wE||I.current:!1}),requestAnimationFrame(()=>{const te=W.current;te&&Y&&(ee||!_.current)&&(Y.scrollIntoView==null||Y.scrollIntoView(typeof te=="boolean"?{block:"nearest",inline:"nearest"}:te))}))});nt(()=>{document.createElement("div").focus({get preventScroll(){return wE=!0,!1}})},[]),nt(()=>{c&&(n&&a?D.current&&f!=null&&(B.current=!0,O(f)):U.current&&(N.current=-1,R.current(null)))},[c,n,a,f,O]),nt(()=>{if(c&&n&&a)if(s==null){if(I.current=!1,f!=null)return;if(U.current&&(N.current=-1,ae(l,N)),!U.current&&D.current&&(M.current!=null||D.current===!0&&M.current==null)){let X=0;const G=()=>{l.current[0]==null?(X<2&&(X?requestAnimationFrame:queueMicrotask)(G),X++):(N.current=M.current==null||Pm(M.current,$,v)||m?Em(l,w.current):aE(l,w.current),M.current=null,O(N.current))};G()}}else Sl(l,s)||(N.current=s,ae(l,N,B.current),B.current=!1)},[c,n,a,s,f,m,l,$,v,O,ae,w]),nt(()=>{var X,G;if(!c||a||!C||b||!U.current)return;const ee=C.nodesRef.current,Y=(X=ee.find(q=>q.id===j))==null||(G=X.context)==null?void 0:G.elements.floating,te=ei(Rn(a)),ue=ee.some(q=>q.context&&zt(q.context.elements.floating,te));Y&&!ue&&_.current&&Y.focus({preventScroll:!0})},[c,a,C,j,b]),nt(()=>{if(!c||!C||!b||j)return;function X(G){ne(G.id),T&&(T.current=G)}return C.events.on("virtualfocus",X),()=>{C.events.off("virtualfocus",X)}},[c,C,b,j,T]),nt(()=>{R.current=O,U.current=!!a}),nt(()=>{n||(M.current=null)},[n]);const he=s!=null,de=k.useMemo(()=>{function X(ee){if(!n)return;const Y=l.current.indexOf(ee);Y!==-1&&O(Y)}return{onFocus(ee){let{currentTarget:Y}=ee;X(Y)},onClick:ee=>{let{currentTarget:Y}=ee;return Y.focus({preventScroll:!0})},...g&&{onMouseMove(ee){let{currentTarget:Y}=ee;X(Y)},onPointerLeave(ee){let{pointerType:Y}=ee;!_.current||Y==="touch"||(N.current=-1,ae(l,N),O(null),b||$r(i.floating.current,{preventScroll:!0}))}}}},[n,i,ae,g,l,O,b]);return k.useMemo(()=>{if(!c)return{};const X=w.current;function G(q){if(_.current=!1,I.current=!0,!z.current&&q.currentTarget===i.floating.current)return;if(m&&xE(q.key,$,v)){pt(q),r(!1,q.nativeEvent),Lo(o)&&!b&&o.focus();return}const xe=N.current,Te=Em(l,X),Qe=aE(l,X);if(q.key==="Home"&&(pt(q),N.current=Te,O(N.current)),q.key==="End"&&(pt(q),N.current=Qe,O(N.current)),!(x>1&&(N.current=U9(l,{event:q,orientation:$,loop:d,cols:x,disabledIndices:X,minIndex:Te,maxIndex:Qe,prevIndex:N.current,stopEvent:!0}),O(N.current),$==="both"))&&SE(q.key,$)){if(pt(q),n&&!b&&ei(q.currentTarget.ownerDocument)===q.currentTarget){N.current=Pm(q.key,$,v)?Te:Qe,O(N.current);return}Pm(q.key,$,v)?d?N.current=xe>=Qe?p&&xe!==l.current.length?-1:Te:Et(l,{startingIndex:xe,disabledIndices:X}):N.current=Math.min(Qe,Et(l,{startingIndex:xe,disabledIndices:X})):d?N.current=xe<=Te?p&&xe!==-1?l.current.length:Qe:Et(l,{startingIndex:xe,decrement:!0,disabledIndices:X}):N.current=Math.max(Te,Et(l,{startingIndex:xe,decrement:!0,disabledIndices:X})),Sl(l,N.current)?O(null):O(N.current)}}
210function ee(q){h==="auto"&&Pk(q.nativeEvent)&&(D.current=!0)}function Y(q){D.current=h,h==="auto"&&_k(q.nativeEvent)&&(D.current=!0)}const te=b&&n&&he&&{"aria-activedescendant":oe||E},ue=l.current.find(q=>q?.id===E);return{reference:{...te,onKeyDown(q){_.current=!1;const xe=q.key.indexOf("Arrow")===0,Te=h8(q.key,$,v),Qe=xE(q.key,$,v),an=SE(q.key,$),xn=(m?Te:an)||q.key==="Enter"||q.key.trim()==="";if(b&&n){const Hn=C?.nodesRef.current.find(L=>L.parentId==null),F=C&&Hn?Y9(C.nodesRef.current,Hn.id):null;if(xe&&F&&T){const L=new KeyboardEvent("keydown",{key:q.key,bubbles:!0});if(Te||Qe){var fr,kn;const K=((fr=F.context)==null?void 0:fr.elements.domReference)===q.currentTarget,J=Qe&&!K?(kn=F.context)==null?void 0:kn.elements.domReference:Te?ue:null;J&&(pt(q),J.dispatchEvent(L),ne(void 0))}if(an&&F.context&&F.context.open&&F.parentId&&q.currentTarget!==F.context.elements.domReference){var ln;pt(q),(ln=F.context.elements.domReference)==null||ln.dispatchEvent(L);return}}return G(q)}if(!(!n&&!y&&xe)){if(xn&&(M.current=m&&an?null:q.key),m){Te&&(pt(q),n?(N.current=Em(l,X),O(N.current)):r(!0,q.nativeEvent));return}an&&(f!=null&&(N.current=f),pt(q),!n&&y?r(!0,q.nativeEvent):G(q),n&&O(N.current))}},onFocus(){n&&O(null)},onPointerDown:Y,onMouseDown:ee,onClick:ee},floating:{"aria-orientation":$==="both"?void 0:$,...te,onKeyDown:G,onPointerMove(){_.current=!0}},item:de}},[o,i,E,oe,w,z,l,c,$,v,b,n,he,m,f,y,p,x,d,h,O,r,de,C,T])}function g8(e,t){t===void 0&&(t={});const{open:n,floatingId:r}=e,{enabled:i=!0,role:o="dialog"}=t,a=Cm();return k.useMemo(()=>{const l={id:r,role:o};return i?o==="tooltip"?{reference:{"aria-describedby":n?r:void 0},floating:l}:{reference:{"aria-expanded":n?"true":"false","aria-haspopup":o==="alertdialog"?"dialog":o,"aria-controls":n?r:void 0,...o==="listbox"&&{role:"combobox"},...o==="menu"&&{id:a}},floating:{...l,...o==="menu"&&{"aria-labelledby":a}}}:{}},[i,o,n,r,a])}function v8(e,t){var n;const{open:r,dataRef:i}=e,{listRef:o,activeIndex:a,onMatch:l,onTypingChange:s,enabled:u=!0,findMatch:c=null,resetMs:f=750,ignoreKeys:p=[],selectedIndex:d=null}=t,m=k.useRef(),v=k.useRef(""),b=k.useRef((n=d??a)!=null?n:-1),h=k.useRef(null),g=ii(l),y=ii(s),S=ri(c),$=ri(p);return nt(()=>{r&&(clearTimeout(m.current),h.current=null,v.current="")},[r]),nt(()=>{if(r&&v.current===""){var x;b.current=(x=d??a)!=null?x:-1}},[r,d,a]),k.useMemo(()=>{if(!u)return{};function x(j){j?i.current.typing||(i.current.typing=j,y(j)):i.current.typing&&(i.current.typing=j,y(j))}function A(j,C,O){const D=S.current?S.current(C,O):C.find(N=>N?.toLocaleLowerCase().indexOf(O.toLocaleLowerCase())===0);return D?j.indexOf(D):-1}function T(j){const C=o.current;if(v.current.length>0&&v.current[0]!==" "&&(A(C,C,v.current)===-1?x(!1):j.key===" "&&pt(j)),C==null||$.current.includes(j.key)||j.key.length!==1||j.ctrlKey||j.metaKey||j.altKey)return;r&&j.key!==" "&&(pt(j),x(!0)),C.every(M=>{var _,R;return M?((_=M[0])==null?void 0:_.toLocaleLowerCase())!==((R=M[1])==null?void 0:R.toLocaleLowerCase()):!0})&&v.current===j.key&&(v.current="",b.current=h.current),v.current+=j.key,clearTimeout(m.current),m.current=setTimeout(()=>{v.current="",b.current=h.current,x(!1)},f);const D=b.current,N=A(C,[...C.slice((D||0)+1),...C.slice(0,(D||0)+1)],v.current);N!==-1?(g(N),h.current=N):j.key!==" "&&(v.current="",x(!1))}return{reference:{onKeyDown:T},floating:{onKeyDown:T,onKeyUp(j){j.key===" "&&x(!1)}}}},[u,r,i,o,f,$,S,g,y])}const y8=({options:e,reusable:t,sendMessage:n,isReadOnly:r})=>{const i=uk(M=>M.messageContainerRef),[o,a]=k.useState(!1),[l,s]=k.useState(null),[u,c]=k.useState(null),{message:{blocks:{dropdown:f}}}=Ie,p=e.reduce((M,_)=>(M[_.label]=_.value,M),{}),d=p?Object.keys(p):[],m=M=>{a(u!==null&&!t?!1:M)},{refs:v,floatingStyles:b,context:h}=d8({placement:"bottom-start",open:o,onOpenChange:m,whileElementsMounted:m9,middleware:[S9(5),x9({padding:10,boundary:i?.current??void 0,crossAxis:!0}),k9({apply({rects:M,elements:_,availableHeight:R}){Object.assign(_.floating.style,{maxHeight:`${R}px`,minWidth:`${M.reference.width}px`})},padding:10})]}),g=k.useRef([]),y=k.useRef(d),S=k.useRef(!1),$=a8(h,{event:"mou
210sedown"}),x=f8(h),A=g8(h,{role:"listbox"}),T=m8(h,{listRef:g,activeIndex:l,selectedIndex:u,onNavigate:s,loop:!0}),j=v8(h,{listRef:y,activeIndex:l,selectedIndex:u,onMatch:o?s:c,onTypingChange(M){S.current=M}}),{getReferenceProps:C,getFloatingProps:O,getItemProps:D}=p8([x,A,T,j,$]),N=M=>{c(M),d[M]!==void 0&&n?.({type:"text",text:d[M]??"",value:p[d[M]]??""}),a(!1)};return P.jsxs(P.Fragment,{children:[P.jsxs("div",{tabIndex:0,ref:v.setReference,"aria-labelledby":"select-label","aria-autocomplete":"none","data-disabled":u!==null&&!t?"":void 0,style:r?{pointerEvents:"none"}:void 0,...f.button?.container,...C(),children:[P.jsx("span",{...f.button?.text,children:u?d[u]:"Select..."}),P.jsx(B6,{...f.button?.icon})]}),o&&P.jsx(r8,{children:P.jsx(o8,{context:h,modal:!1,children:P.jsx("div",{ref:v.setFloating,className:f.content?.container?.className,style:{...b},...O(),children:d.map((M,_)=>P.jsx("div",{ref:R=>{g.current[_]=R},role:"option",tabIndex:_===l?0:-1,"aria-selected":_===u&&_===l,"data-active":_===l?"":void 0,...f.content?.item,...D({onClick(){N(_)},onKeyDown(R){R.key==="Enter"&&(R.preventDefault(),N(_)),R.key===" "&&!S.current&&(R.preventDefault(),N(_))}}),children:M},M))})})})]})},kE=k.forwardRef(({title:e,url:t,isReadOnly:n,...r},i)=>{const{message:{blocks:{file:o}}}=Ie;return P.jsxs("a",{...r,...o.container,href:t,style:n?{pointerEvents:"none"}:void 0,download:!0,ref:i,target:"_blank",rel:"noreferrer",children:[P.jsx("p",{...o.title,children:e||t}),P.jsx(W6,{...o.icon})]})});kE.displayName="File";const b8=Mo()((e,t)=>({components:{},getCustomComponent:async n=>{const r=t().components[n];if(r)return r;const i=await fetch(n).then(u=>u.text()),o=new Blob([i],{type:"application/javascript"}),l=await import(URL.createObjectURL(o)),s=()=>l.default;return e(u=>({components:{...u.components,[n]:s}})),s}}));globalThis.React=We;const w8={audio:hk,bubble:fk,button:QU,carousel:Ck,column:gk,dropdown:y8,file:kE,image:dk,location:mk,row:vk,text:nU,video:pk,custom:({url:e,name:t,data:n,...r})=>{const i=b8(u=>u.getCustomComponent),[o,a]=k.useState(null),[l,s]=k.useState(null);return k.useEffect(()=>{i(e).then(a).catch(u=>{s(u.message)})},[e]),l?P.jsx("div",{style:{color:"red"},children:l}):o?P.jsx(o,{...n,...r}):null}},Vo=({block:e,renderers:t,...n})=>{const r=t?.[e.type]??w8[e.type],i={...n,...e};return P.jsx(r,{...i})};function EE(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=EE(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function _m(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=EE(e))&&(r&&(r+=" "),r+=t);return r}const S8=({disabled:e,onFileSelected:t})=>{const n=k.useRef(null),{uploadButton:r}=Ie.composer,i=()=>{n.current&&n.current.click()},o=a=>{const l=a.target.files;l&&l.length>0&&Array.from(l).forEach(s=>{t(s)})};return P.jsxs(P.Fragment,{children:[P.jsx(q6,{...r,role:"button",tabIndex:0,"aria-label":"Upload File Button","data-disabled":e,onClick:i}),P.jsx("input",{value:"",multiple:!0,type:"file",ref:n,style:{display:"none"},onChange:o})]})},x8=({name:e,type:t,instance:n,status:r,removeFile:i})=>{const{loader:o,fileIcon:a,removeIcon:l,errorIcon:s,previewImage:u}=Ie.composer.fileWidget,c=["PNG","JPEG","JPG"].includes(wc(e)),f=k.useMemo(()=>{if(!n)return"";const p=n;return(p instanceof File||p instanceof Blob)&&c?URL.createObjectURL(p):""},[n,c]);return k.useEffect(()=>{if(f)return()=>{URL.revokeObjectURL(f)}},[f]),r==="loading"?P.jsx(bc,{name:e,status:r,removeButton:P.jsx("div",{...o}),extension:wc(e),children:P.jsx("div",{...a.container,children:P.jsx(Rm,{type:t,...a.icon})})}):r==="error"?P.jsx(bc,{name:e,status:r,removeButton:P.jsx($E,{removeFile:()=>i(e)}),extension:"Upload Error",children:P.jsxs("div",{...a.container,children:[P.jsx(H6,{...s}),P.jsx(Rm,{type:t,...a.icon})]})}):r=="uploaded"&&c?P.jsx(bc,{name:e,status:r,removeButton:P.jsx($E,{removeFile:()=>i(e)}),extension:wc(e),children:P.jsx("div",{...a.container,children:P.jsx("img",{src:f,alt:e,...u})})}):P.jsx(bc,{name:e,status:r,removeButton:P.jsx(Ux,{onClick:()=>i(e),...l}),extension:wc(e),children:P.jsx("div",{...a.container,children:P.jsx(Rm,{type:t,...a.icon})})})},bc=({name:e,status:t,removeButton:n,children:r,extension:i})=>{const{container:o,metadata:a}=Ie.composer.fileWidget,l=Sw(e);return P.jsxs("div",{"data-status":t,title:e,...o,children:[n,r,P.jsxs("div",{...a.container,children:[P.jsx("div",{...a.name,children:l}),P.jsx("div",{...a.type,children:i})]})]})},Rm=({type:e,...t})=>e==="image"?P.jsx(G6,{...t}):e==="video"?P.jsx(X6,{...t}):e==="audio"?P.jsx(eU,{...t}):P.jsx(V6,{...t}),wc=e=>{const t=e.split(".").pop();return t?t.toUpperCase():"File"},$E=({removeFile:e})=>{const{composer:{fileWidget:{removeIcon:t}}}=Ie;return P.jsx(Ux,{role:"button",tabIndex:0,"aria-label":"Remove File Button",onClick:()=>e(),...t})};function Nm(){return Nm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nm.apply(null,arguments)}function k8(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}var E8=k.useLayoutEffect,$8=function(t){var n=k.useRef(t);return E8(function(){n.current=t}),n},CE=function(t,n){if(typeof t=="function"){t(n);return}t.current=n},C8=function(t,n){var r=k.useRef();return k.useCallback(function(i){t.current=i,r.current&&CE(r.current,null),r.current=n,n&&CE(n,i)},[n])},AE={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0",display:"block"}
210,A8=function(t){Object.keys(AE).forEach(function(n){t.style.setProperty(n,AE[n],"important")})},IE=A8,Nt=null,TE=function(t,n){var r=t.scrollHeight;return n.sizingStyle.boxSizing==="border-box"?r+n.borderSize:r-n.paddingSize};function I8(e,t,n,r){n===void 0&&(n=1),r===void 0&&(r=1/0),Nt||(Nt=document.createElement("textarea"),Nt.setAttribute("tabindex","-1"),Nt.setAttribute("aria-hidden","true"),IE(Nt)),Nt.parentNode===null&&document.body.appendChild(Nt);var i=e.paddingSize,o=e.borderSize,a=e.sizingStyle,l=a.boxSizing;Object.keys(a).forEach(function(p){var d=p;Nt.style[d]=a[d]}),IE(Nt),Nt.value=t;var s=TE(Nt,e);Nt.value=t,s=TE(Nt,e),Nt.value="x";var u=Nt.scrollHeight-i,c=u*n;l==="border-box"&&(c=c+i+o),s=Math.max(c,s);var f=u*r;return l==="border-box"&&(f=f+i+o),s=Math.min(f,s),[s,u]}var OE=function(){},T8=function(t,n){return t.reduce(function(r,i){return r[i]=n[i],r},{})},O8=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],P8=!!document.documentElement.currentStyle,_8=function(t){var n=window.getComputedStyle(t);if(n===null)return null;var r=T8(O8,n),i=r.boxSizing;if(i==="")return null;P8&&i==="border-box"&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var o=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),a=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:o,borderSize:a}},R8=_8;function PE(e,t,n){var r=$8(n);k.useLayoutEffect(function(){var i=function(a){return r.current(a)};if(e)return e.addEventListener(t,i),function(){return e.removeEventListener(t,i)}},[])}var N8=function(t){PE(window,"resize",t)},M8=function(t){PE(document.fonts,"loadingdone",t)},D8=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],L8=function(t,n){var r=t.cacheMeasurements,i=t.maxRows,o=t.minRows,a=t.onChange,l=a===void 0?OE:a,s=t.onHeightChange,u=s===void 0?OE:s,c=k8(t,D8),f=c.value!==void 0,p=k.useRef(null),d=C8(p,n),m=k.useRef(0),v=k.useRef(),b=function(){var y=p.current,S=r&&v.current?v.current:R8(y);if(S){v.current=S;var $=I8(S,y.value||y.placeholder||"x",o,i),x=$[0],A=$[1];m.current!==x&&(m.current=x,y.style.setProperty("height",x+"px","important"),u(x,{rowHeight:A}))}},h=function(y){f||b(),l(y)};return k.useLayoutEffect(b),N8(b),M8(b),k.createElement("textarea",Nm({},c,{onChange:h,ref:d}))},j8=k.forwardRef(L8);const F8=({inputRef:e,composerPlaceholder:t,composerDisabled:n,textInput:r,historyIndex:i,setTextInput:o,setHistoryIndex:a,sendComposerMessage:l})=>{const s=Xx(c=>c.messageHistory),{input:u}=Ie.composer;return P.jsx(j8,{...u,"aria-label":"Message Input",ref:e,placeholder:t??"Type your message...",disabled:n,value:r,"data-has-value":!!r,onChange:c=>{const f=c.target.value;o(f),s.includes(f)||a(-1)},maxRows:5,onKeyDown:c=>{if(n)return;const f=c.nativeEvent;f.isComposing||f.keyCode===229||(c.key==="Enter"&&c.shiftKey?(c.preventDefault(),o(`${r} 211`)):c.key==="Enter"&&(c.preventDefault(),l()),c.key==="ArrowUp"&&(r.trim()===""||s.includes(r)&&i>=0)&&(c.preventDefault(),i<s.length-1&&o(s[i+1]??""),a(Math.min(i+1,s.length-1))),c.key==="ArrowDown"&&(r.trim()===""||s.includes(r))&&i>=0&&(c.preventDefault(),o(i===0?"":s[i-1]??""),a(Math.max(i-1,-1))))}})},B8=({disabled:e,setTextInput:t})=>{const[n,r]=k.useState(!1),i=k.useRef(null),{voiceButton:o}=Ie.composer,a=window.SpeechRecognition||window.webkitSpeechRecognition,l=()=>{i.current||(i.current=new a);const s=i.current;s&&(s.continuous=!0,s.onresult=u=>{const c=u.results?.[0]?.[0]?.transcript??"";t(c??""),s.stop(),r(!1)},n?(s.stop(),r(!1)):(s.start(),r(!0)))};if(a)return P.jsx(Y6,{...o,tabIndex:0,"aria-label":"Voice Input Button",role:"button","data-show":!e,"data-listens":!!n,onClick:l})};k.memo(k.forwardRef(({className:e,inputRef:t,disableComposer:n,isReadOnly:r,allowFileUpload:i,connected:o,composerPlaceholder:a,footer:l,sendMessage:s,uploadFile:u,storageKey:c,children:f,...p},d)=>{const{composer:m}=Ie,v=n||r||!o,[b,h]=k.useState(""),[g,y]=k.useState(-1),S=GU(c),$=S(D=>D.files),x=S(D=>D.setFiles),A=S(D=>D.deleteFile),T=S(D=>D.uploadFile),j=Xx(D=>D.addMessageToHistory),C=!!b||$.filter(D=>D.status==="uploaded").length>0;t=t??k.useRef(null);const O=()=>{const D=$.filter(_=>_.status==="uploaded");if(!D.length&&!b)return;const N=D?.map(_=>{const R=_.url,U=_.type;return{video:{type:"video",videoUrl:R},audio:{type:"audio",audioUrl:R},image:{type:"image",imageUrl:R}}[U]??{title:_.name,type:"file",fileUrl:R}})??[];b&&N.push({type:"text",text:b});let M;N.length==1?M=N[0]:M={type:"bloc",items:N.map(R=>{const{type:U,...I}=R;return{type:U,payload:I}})},s?.(M),x([]),h(""),j(b),y(-1)};return r?null:P.jsxs(P.Fragment,{children:[P.jsxs("div",{"data-disabled":v,className:_m(m.container.className,e),ref:d,...p,children:[f,$.length>0&&P.jsx("div",{...m?.fileContainer,children:$.map(D=>P.jsx(x8,{...D,removeFile:A},D.name))}),P.jsxs("div",{...m.inputContainer,onClick:()=>{t&&"current"in t&&t.current&&t.current.focus()},children:[i&&P.jsx(S8,{disabled:v,onFileSelected:D=>{u&&T(D,u)}}),P.jsx(F8,{inputRef:t,composerPlaceholder:a,composerDisabled:v,textInput:b,historyIndex:g,setTextInput:h,setHistoryIndex:y,sendComposerMessage:O}),!v&&P.jsxs(P.Fragment,{children:[P.jsx(j6,{...m.sendbutton,role:"button",tabIndex:0,"aria-label":"Send Message Button","data-show":C,onClick:()=>O()}),P.jsx(B8,{disabled:C,setTextInput:h})]})]})]}),P.jsx(sx,{components:{a:({node:D,...N})=>P.jsx("a",{...N,target:"_blank",rel:"noreferrer noopener"})},allowedElements:["a","strong","code","em","p","span"],...m.footer,children:l})]})}));const z8=k.forwardRef(({children:e,onClick:t,imgUrl:n,...r},i)=>{const{fab:o}=Ie,{container:a,icon:l,image:s}=o??{};return n?P.jsx("img",{src:n,role:"button",tabIndex:0,...s,draggable:"false",onClick:t}):P.jsx("div",{...r,...a,ref:i,onClick:t,children:P.jsx("div",{...l})})});z8.displayName="Fab";const _E=k.memo(({...e})=>{const{typingIndicator:t}=Ie;return P.jsx("div",{...e,...t?.container,children:P.jsx("div",{...t?.loader})})});_E.displayName="TypingIndicator";const RE=k.memo(k.forwardRef(({direction:e,block:t,disableInput:n,children:r,sender:i,id:o,authorId:a,status:l,renderers:s,isReadOnly:u,isLastDeliveredMessage:c,feedback:f,timestamp:p,metadata:d,sendMessage:m,addMessageFeedback:v,showAvatar:b},h)=>{const[g,y]=k.useState([]),{message:{container:S,deliveryStatus:$}}=Ie;return b=b??e==="incoming",P.jsx(ck.Provider,{value:{isLoading:g,setIsLoading:y},children:P.jsxs("div",{...S,className:_m(S?.className,c&&$?.className),"data-loaded":g.length===0,"data-disable-input"
211:!!n,"data-direction":e,dir:"auto",ref:h,children:[e==="incoming"&&b&&P.jsx(NE,{authorId:a,sender:i}),t&&P.jsx(Vo,{block:{...t,isReadOnly:u,direction:e,timestamp:p,sender:i,feedback:f,messageId:o,status:l,metadata:d,sendMessage:m,addMessageFeedback:v},renderers:s}),e==="outgoing"&&b&&P.jsx(NE,{authorId:a,sender:i}),r]})})})),NE=({authorId:e,sender:t})=>{const{message:{avatar:n}}=Ie,[r,i]=k.useState("idle"),o=kw(e??"",15);return P.jsxs(eh,{"data-color":o,"data-loading-status":r,...n?.container,children:[P.jsx(th,{...n?.image,onLoadingStatusChange:i,src:t?.avatar}),P.jsxs(nh,{...n?.fallback,children:[t?.name[0]," "]})]})};function U8({botAvatar:e,botDescription:t,botName:n}){const{messageList:{marquee:r}}=Ie;return P.jsxs("li",{...r.container,children:[P.jsx(dh,{src:e,...r.avatar,children:(n||"Bot").slice(0,1)}),P.jsxs("div",{...r.content,children:[P.jsx("h1",{...r.title,children:n||"Bot"}),P.jsx("p",{...r.description,children:t})]})]})}function H8(e,t){try{var n=global,r=n.document;if(typeof r<"u"&&r.createElement&&r.head&&r.head.appendChild){var i=r.querySelector('html meta[name="'.concat(encodeURI(e),'"]'))||r.createElement("meta");i.setAttribute("name",e),i.setAttribute("content",t),r.head.appendChild(i)}}catch{}}function W8(){H8("react-scroll-to-bottom:version","4.2.0")}var El=function(e){return e&&e.Math===Math&&e},rt=El(typeof globalThis=="object"&&globalThis)||El(typeof window=="object"&&window)||El(typeof self=="object"&&self)||El(typeof It=="object"&&It)||El(typeof It=="object"&&It)||function(){return this}()||Function("return this")(),it=function(e){try{return!!e()}catch{return!0}},V8=it,Sc=!V8(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),K8=Sc,ME=Function.prototype,DE=ME.apply,LE=ME.call,Mm=typeof Reflect=="object"&&Reflect.apply||(K8?LE.bind(DE):function(){return LE.apply(DE,arguments)}),jE=Sc,FE=Function.prototype,Dm=FE.call,G8=jE&&FE.bind.bind(Dm,Dm),Ze=jE?G8:function(e){return function(){return Dm.apply(e,arguments)}},BE=Ze,Q8=BE({}.toString),Y8=BE("".slice),Mi=function(e){return Y8(Q8(e),8,-1)},q8=Mi,J8=Ze,Lm=function(e){if(q8(e)==="Function")return J8(e)},jm=typeof document=="object"&&document.all,$t=typeof jm>"u"&&jm!==void 0?function(e){return typeof e=="function"||e===jm}:function(e){return typeof e=="function"},$l={},Z8=it,Ut=!Z8(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),X8=Sc,xc=Function.prototype.call,er=X8?xc.bind(xc):function(){return xc.apply(xc,arguments)},Fm={},zE={}.propertyIsEnumerable,UE=Object.getOwnPropertyDescriptor,eW=UE&&!zE.call({1:2},1);Fm.f=eW?function(t){var n=UE(this,t);return!!n&&n.enumerable}:zE;
211var Cl=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},tW=Ze,nW=it,rW=Mi,Bm=Object,iW=tW("".split),HE=nW(function(){return!Bm("z").propertyIsEnumerable(0)})?function(e){return rW(e)==="String"?iW(e,""):Bm(e)}:Bm,zm=function(e){return e==null},oW=zm,aW=TypeError,kc=function(e){if(oW(e))throw new aW("Can't call method on "+e);return e},lW=HE,sW=kc,tr=function(e){return lW(sW(e))},uW=$t,Dn=function(e){return typeof e=="object"?e!==null:uW(e)},ht={},Um=ht,Hm=rt,cW=$t,WE=function(e){return cW(e)?e:void 0},nr=function(e,t){return arguments.length<2?WE(Um[e])||WE(Hm[e]):Um[e]&&Um[e][t]||Hm[e]&&Hm[e][t]},fW=Ze,Cr=fW({}.isPrototypeOf),dW=rt,VE=dW.navigator,KE=VE&&VE.userAgent,Wm=KE?String(KE):"",GE=rt,Vm=Wm,QE=GE.process,YE=GE.Deno,qE=QE&&QE.versions||YE&&YE.version,JE=qE&&qE.v8,Ln,Ec;JE&&(Ln=JE.split("."),Ec=Ln[0]>0&&Ln[0]<4?1:+(Ln[0]+Ln[1])),!Ec&&Vm&&(Ln=Vm.match(/Edge\/(\d+)/),(!Ln||Ln[1]>=74)&&(Ln=Vm.match(/Chrome\/(\d+)/),Ln&&(Ec=+Ln[1])));var Km=Ec,ZE=Km,pW=it,hW=rt,mW=hW.String,K
211o=!!Object.getOwnPropertySymbols&&!pW(function(){var e=Symbol("symbol detection");return!mW(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ZE&&ZE<41}),gW=Ko,XE=gW&&!Symbol.sham&&typeof Symbol.iterator=="symbol",vW=nr,yW=$t,bW=Cr,wW=XE,SW=Object,Al=wW?function(e){return typeof e=="symbol"}:function(e){var t=vW("Symbol");return yW(t)&&bW(t.prototype,SW(e))},xW=String,$c=function(e){try{return xW(e)}catch{return"Object"}},kW=$t,EW=$c,$W=TypeError,Cc=function(e){if(kW(e))return e;throw new $W(EW(e)+" is not a function")},CW=Cc,AW=zm,Gm=function(e,t){var n=e[t];return AW(n)?void 0:CW(n)},Qm=er,Ym=$t,qm=Dn,IW=TypeError,TW=function(e,t){var n,r;if(t==="string"&&Ym(n=e.toString)&&!qm(r=Qm(n,e))||Ym(n=e.valueOf)&&!qm(r=Qm(n,e))||t!=="string"&&Ym(n=e.toString)&&!qm(r=Qm(n,e)))return r;throw new IW("Can't convert object to primitive value")},e$={exports:{}},t$=rt,OW=Object.defineProperty,PW=function(e,t){try{OW(t$,e,{value:t,configurable:!0,writable:!0})}catch{t$[e]=t}return t},_W=rt,RW=PW,n$="__core-js_shared__",r$=e$.exports=_W[n$]||RW(n$,{});(r$.versions||(r$.versions=[])).push({version:"3.38.1",mode:"pure",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Jm=e$.exports,i$=Jm,Go=function(e,t){return i$[e]||(i$[e]=t||{})},NW=kc,MW=Object,Ar=function(e){return MW(NW(e))},DW=Ze,LW=Ar,jW=DW({}.hasOwnProperty),nn=Object.hasOwn||function(t,n){return jW(LW(t),n)},FW=Ze,BW=0,zW=Math.random(),UW=FW(1 .toString),Zm=function(e){return"Symbol("+(e===void 0?"":e)+")_"+UW(++BW+zW,36)},HW=rt,WW=Go,o$=nn,VW=Zm,KW=Ko,GW=XE,Qo=HW.Symbol,Xm=WW("wks"),QW=GW?Qo.for||Qo:Qo&&Qo.withoutSetter||VW,lt=function(e){return o$(Xm,e)||(Xm[e]=KW&&o$(Qo,e)?Qo[e]:QW("Symbol."+e)),Xm[e]},YW=er,a$=Dn,l$=Al,qW=Gm,JW=TW,ZW=lt,XW=TypeError,eV=ZW("toPrimitive"),tV=function(e,t){if(!a$(e)||l$(e))return e;var n=qW(e,eV),r;if(n){if(t===void 0&&(t="default"),r=YW(n,e,t),!a$(r)||l$(r))return r;throw new XW("Can't convert object to primitive value")}return t===void 0&&(t="number"),JW(e,t)},nV=tV,rV=Al,eg=function(e){var t=nV(e,"string");return rV(t)?t:t+""},iV=rt,s$=Dn,tg=iV.document,oV=s$(tg)&&s$(tg.createElement),u$=function(e){return oV?tg.createElement(e):{}},aV=Ut,lV=it,sV=u$,c$=!aV&&!lV(function(){return Object.defineProperty(sV("div"),"a",{get:function(){return 7}}).a!==7}),uV=Ut,cV=er,fV=Fm,dV=Cl,pV=tr,hV=eg,mV=nn,gV=c$,f$=Object.getOwnPropertyDescriptor;$l.f=uV?f$:function(t,n){if(t=pV(t),n=hV(n),gV)try{return f$(t,n)}catch{}if(mV(t,n))return dV(!cV(fV.f,t,n),t[n])};var vV=it,yV=$t,bV=/#|\.prototype\./,Il=function(e,t){var n=SV[wV(e)];return n===kV?!0:n===xV?!1:yV(t)?vV(t):!!t},wV=Il.normalize=function(e){return String(e).replace(bV,".").toLowerCase()},SV=Il.data={},xV=Il.NATIVE="N",kV=Il.POLYFILL="P",EV=Il,d$=Lm,$V=Cc,CV=Sc,AV=d$(d$.bind),ng=function(e,t){return $V(e),t===void 0?e:CV?AV(e,t):function(){return e.apply(t,arguments)}},jn={},IV=Ut,TV=it,p$=IV&&TV(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),OV=Dn,PV=String,_V=TypeError,oi=function(e){if(OV(e))return e;throw new _V(PV(e)+" is not an object")},RV=Ut,NV=c$,MV=p$,Ac=oi,h$=eg,DV=TypeError,rg=Object.defineProperty,LV=Object.getOwnPropertyDescriptor,ig="enumerable",og="configurable",ag="writable";jn.f=RV?MV?function(t,n,r){if(Ac(t),n=h$(n),Ac(r),typeof t=="function"&&n==="prototype"&&"value"in r&&ag in r&&!r[ag]){var i=LV(t,n);i&&i[ag]&&(t[n]=r.value,r={configurable:og in r?r[og]:i[og],enumerable:ig in r?r[ig]:i[ig],writable:!1})}return rg(t,n,r)}:rg:function(t,n,r){if(Ac(t),n=h$(n),Ac(r),NV)try{return rg(t,n,r)}catch{}if("get"in r||"set"in r)throw new DV("Accessors not supported");return"value"in r&&(t[n]=r.value),t};var jV=Ut,FV=jn,BV=Cl,Ic=jV?function(e,t,n){return FV.f(e,t,BV(1,n))}:function(e,t,n){return e[t]=n,e},Tl=rt,zV=Mm,UV=Lm,HV=$t,WV=$l.f,VV=EV,Yo=ht,KV=ng,qo=Ic,m$=nn,GV=function(e){var t=function(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return zV(e,this,arguments)};return t.prototype=e.prototype,t},Ce=function(e,t){var n=e.target,r=e.global,i=e.stat,o=e.proto,a=r?Tl:i?Tl[n]:Tl[n]&&Tl[n].prototype,l=r?Yo:Yo[n]||qo(Yo,n,{})[n],s=l.prototype,u,c,f,p,d,m,v,b,h;for(p in t)u=VV(r?p:n+(i?".":"#")+p,e.forced),c=!u&&a&&m$(a,p),m=l[p],c&&(e.dontCallGetSet?(h=WV(a,p),v=h&&h.value):v=a[p
211]),d=c&&v?v:t[p],!(!u&&!o&&typeof m==typeof d)&&(e.bind&&c?b=KV(d,Tl):e.wrap&&c?b=GV(d):o&&HV(d)?b=UV(d):b=d,(e.sham||d&&d.sham||m&&m.sham)&&qo(b,"sham",!0),qo(l,p,b),o&&(f=n+"Prototype",m$(Yo,f)||qo(Yo,f,{}),qo(Yo[f],p,d),e.real&&s&&(u||!s[p])&&qo(s,p,d)))},QV=Mi,Jo=Array.isArray||function(t){return QV(t)==="Array"},YV=Ce,qV=Jo;YV({target:"Array",stat:!0},{isArray:qV});var JV=ht,ZV=JV.Array.isArray,XV=ZV,g$=XV,e7=g$,t7=e7,n7=t7,r7=n7,i7=r7;const v$=me(i7);function o7(e){if(v$(e))return e}var a7=Math.ceil,l7=Math.floor,s7=Math.trunc||function(t){var n=+t;return(n>0?l7:a7)(n)},u7=s7,Tc=function(e){var t=+e;return t!==t||t===0?0:u7(t)},c7=Tc,f7=Math.min,d7=function(e){var t=c7(e);return t>0?f7(t,9007199254740991):0},p7=d7,Di=function(e){return p7(e.length)},h7=TypeError,m7=9007199254740991,lg=function(e){if(e>m7)throw h7("Maximum allowed index exceeded");return e},g7=Ut,v7=jn,y7=Cl,Ol=function(e,t,n){g7?v7.f(e,t,y7(0,n)):e[t]=n},b7=lt,w7=b7("toStringTag"),y$={};y$[w7]="z";var sg=String(y$)==="[object z]",S7=sg,x7=$t,Oc=Mi,k7=lt,E7=k7("toStringTag"),$7=Object,C7=Oc(function(){return arguments}())==="Arguments",A7=function(e,t){try{return e[t]}catch{}},Pl=S7?Oc:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=A7(t=$7(e),E7))=="string"?n:C7?Oc(t):(r=Oc(t))==="Object"&&x7(t.callee)?"Arguments":r},I7=Ze,T7=$t,ug=Jm,O7=I7(Function.toString);T7(ug.inspectSource)||(ug.inspectSource=function(e){return O7(e)});var P7=ug.inspectSource,_7=Ze,R7=it,b$=$t,N7=Pl,M7=nr,D7=P7,w$=function(){},S$=M7("Reflect","construct"),cg=/^\s*(?:class|function)\b/,L7=_7(cg.exec),j7=!cg.test(w$),_l=function(t){if(!b$(t))return!1;try{return S$(w$,[],t),!0}catch{return!1}},x$=function(t){if(!b$(t))return!1;switch(N7(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return j7||!!L7(cg,D7(t))}catch{return!0}};x$.sham=!0;var fg=!S$||R7(function(){var e;return _l(_l.call)||!_l(Object)||!_l(function(){e=!0})||e})?x$:_l,k$=Jo,F7=fg,B7=Dn,z7=lt,U7=z7("species"),E$=Array,H7=function(e){var t;return k$(e)&&(t=e.constructor,F7(t)&&(t===E$||k$(t.prototype))?t=void 0:B7(t)&&(t=t[U7],t===null&&(t=void 0))),t===void 0?E$:t},W7=H7,dg=function(e,t){return new(W7(e))(t===0?0:t)},V7=it,K7=lt,G7=Km,Q7=K7("species"),Pc=function(e){return G7>=51||!V7(function(){var t=[],n=t.constructor={};return n[Q7]=function(){return{foo:1}},t[e](Boolean).foo!==1})},Y7=Ce,q7=it,J7=Jo,Z7=Dn,X7=Ar,eK=Di,$$=lg,C$=Ol,tK=dg,nK=Pc,rK=lt,iK=Km,A$=rK("isConcatSpreadable"),oK=iK>=51||!q7(function(){var e=[];return e[A$]=!1,e.concat()[0]!==e}),aK=function(e){if(!Z7(e))return!1;var t=e[A$];return t!==void 0?!!t:J7(e)},lK=!oK||!nK("concat");Y7({target:"Array",proto:!0,arity:1,forced:lK},{concat:function(t){var n=X7(this),r=tK(n,0),i=0,o,a,l,s,u;for(o=-1,l=arguments.length;o<l;o++)if(u=o===-1?n:arguments[o],aK(u))for(s=eK(u),$$(i+s),a=0;a<s;a++,i++)a in u&&C$(r,i,u[a]);else $$(i+1),C$(r,i++,u);return r.length=i,r}});var sK=Pl,uK=String,Rl=function(e){if(sK(e)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return uK(e)},_c={},cK=Tc,fK=Math.max,dK=Math.min,pg=function(e,t){var n=cK(e);return n<0?fK(n+t,0):dK(n,t)},pK=tr,hK=pg,mK=Di,I$=function(e){return function(t,n,r){var i=pK(t),o=mK(i);if(o===0)return!e&&-1;var a=hK(r,o),l;if(e&&n!==n){for(;o>a;)if(l=i[a++],l!==l)return!0}else for(;o>a;a++)if((e||a in i)&&i[a]===n)return e||a||0;return!e&&-1}},T$={includes:I$(!0),indexOf:I$(!1)},Rc={},gK=Ze,hg=nn,vK=tr,yK=T$.indexOf,bK=Rc,O$=gK([].push),P$=function(e,t){var n=vK(e),r=0,i=[],o;for(o in n)!hg(bK,o)&&hg(n,o)&&O$(i,o);for(;t.length>r;)hg(n,o=t[r++])&&(~yK(i,o)||O$(i,o));return i},mg=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],wK=P$,SK=mg,gg=Object.keys||function(t){return wK(t,SK)},xK=Ut,kK=p$,EK=jn,$K=oi,CK=tr,AK=gg;_c.f=xK&&!kK?Object.defineProperties:function(t,n){$K(t);for(var r=CK(n),i=AK(n),o=i.length,a=0,l;o>a;)EK.f(t,l=i[a++],r[l]);return t};var IK=nr,TK=IK("document","documentElement"),OK=Go,PK=Zm,_$=OK("keys"),Nc=function(e){return _$[e]||(_$[e]=PK(e))},_K=oi,RK=_c,R$=mg,NK=Rc,MK=TK,DK=u$,LK=Nc,N$=">",M$="<",vg="prototype",yg="script",D$=LK("IE_PROTO"),bg=function(){}
211,L$=function(e){return M$+yg+N$+e+M$+"/"+yg+N$},j$=function(e){e.write(L$("")),e.close();var t=e.parentWindow.Object;return e=null,t},jK=function(){var e=DK("iframe"),t="java"+yg+":",n;return e.style.display="none",MK.appendChild(e),e.src=String(t),n=e.contentWindow.document,n.open(),n.write(L$("document.F=Object")),n.close(),n.F},Mc,Dc=function(){try{Mc=new ActiveXObject("htmlfile")}catch{}Dc=typeof document<"u"?document.domain&&Mc?j$(Mc):jK():j$(Mc);for(var e=R$.length;e--;)delete Dc[vg][R$[e]];return Dc()};NK[D$]=!0;var wg=Object.create||function(t,n){var r;return t!==null?(bg[vg]=_K(t),r=new bg,bg[vg]=null,r[D$]=t):r=Dc(),n===void 0?r:RK.f(r,n)},Lc={},FK=P$,BK=mg,zK=BK.concat("length","prototype");Lc.f=Object.getOwnPropertyNames||function(t){return FK(t,zK)};var F$={},UK=Ze,jc=UK([].slice),HK=Mi,WK=tr,B$=Lc.f,VK=jc,z$=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],KK=function(e){try{return B$(e)}catch{return VK(z$)}};F$.f=function(t){return z$&&HK(t)==="Window"?KK(t):B$(WK(t))};var Fc={};Fc.f=Object.getOwnPropertySymbols;var GK=Ic,Bc=function(e,t,n,r){return r&&r.enumerable?e[t]=n:GK(e,t,n
211),e},QK=jn,YK=function(e,t,n){return QK.f(e,t,n)},Nl={},qK=lt;Nl.f=qK;var U$=ht,JK=nn,ZK=Nl,XK=jn.f,ze=function(e){var t=U$.Symbol||(U$.Symbol={});JK(t,e)||XK(t,e,{value:ZK.f(e)})},eG=er,tG=nr,nG=lt,rG=Bc,H$=function(){var e=tG("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,r=nG("toPrimitive");t&&!t[r]&&rG(t,r,function(i){return eG(n,this)},{arity:1})},iG=sg,oG=Pl,aG=iG?{}.toString:function(){return"[object "+oG(this)+"]"},lG=sg,sG=jn.f,uG=Ic,cG=nn,fG=aG,dG=lt,W$=dG("toStringTag"),Zo=function(e,t,n,r){var i=n?e:e&&e.prototype;i&&(cG(i,W$)||sG(i,W$,{configurable:!0,value:t}),r&&!lG&&uG(i,"toString",fG))},pG=rt,hG=$t,V$=pG.WeakMap,mG=hG(V$)&&/native code/.test(String(V$)),gG=mG,K$=rt,vG=Dn,yG=Ic,Sg=nn,xg=Jm,bG=Nc,wG=Rc,G$="Object already initialized",kg=K$.TypeError,SG=K$.WeakMap,zc,Ml,Uc,xG=function(e){return Uc(e)?Ml(e):zc(e,{})},kG=function(e){return function(t){var n;if(!vG(t)||(n=Ml(t)).type!==e)throw new kg("Incompatible receiver, "+e+" required");return n}};if(gG||xg.state){var rr=xg.state||(xg.state=new SG);rr.get=rr.get,rr.has=rr.has,rr.set=rr.set,zc=function(e,t){if(rr.has(e))throw new kg(G$);return t.facade=e,rr.set(e,t),t},Ml=function(e){return rr.get(e)||{}},Uc=function(e){return rr.has(e)}}else{var Xo=bG("state");wG[Xo]=!0,zc=function(e,t){if(Sg(e,Xo))throw new kg(G$);return t.facade=e,yG(e,Xo,t),t},Ml=function(e){return Sg(e,Xo)?e[Xo]:{}},Uc=function(e){return Sg(e,Xo)}}var Eg={set:zc,get:Ml,has:Uc,enforce:xG,getterFor:kG},EG=ng,$G=Ze,CG=HE,AG=Ar,IG=Di,TG=dg,Q$=$G([].push),ai=function(e){var t=e===1,n=e===2,r=e===3,i=e===4,o=e===6,a=e===7,l=e===5||o;return function(s,u,c,f){for(var p=AG(s),d=CG(p),m=IG(d),v=EG(u,c),b=0,h=f||TG,g=t?h(s,m):n||a?h(s,0):void 0,y,S;m>b;b++)if((l||b in d)&&(y=d[b],S=v(y,b,p),e))if(t)g[b]=S;else if(S)switch(e){case 3:return!0;case 5:return y;case 6:return b;case 2:Q$(g,y)}else switch(e){case 4:return!1;case 7:Q$(g,y)}return o?-1:r||i?i:g}},$g={forEach:ai(0),map:ai(1),filter:ai(2),some:ai(3),every:ai(4),find:ai(5),findIndex:ai(6),filterReject:ai(7)},Hc=Ce,Dl=rt,Cg=er,OG=Ze,ea=Ut,ta=Ko,PG=it,st=nn,_G=Cr,Ag=oi,Wc=tr,Ig=eg,RG=Rl,Tg=Cl,na=wg,Y$=gg,NG=Lc,q$=F$,MG=Fc,J$=$l,Z$=jn,DG=_c,X$=Fm,eC=Bc,LG=YK,Og=Go,jG=Nc,tC=Rc,nC=Zm,FG=lt,BG=Nl,zG=ze,UG=H$,HG=Zo,rC=Eg,Vc=$g.forEach,Ht=jG("hidden"),Kc="Symbol",Ll="prototype",WG=rC.set,iC=rC.getterFor(Kc),Fn=Object[Ll],Li=Dl.Symbol,jl=Li&&Li[Ll],VG=Dl.RangeError,KG=Dl.TypeError,Pg=Dl.QObject,oC=J$.f,ji=Z$.f,aC=q$.f,GG=X$.f,lC=OG([].push),Ir=Og("symbols"),Fl=Og("op-symbols"),QG=Og("wks"),_g=!Pg||!Pg[Ll]||!Pg[Ll].findChild,sC=function(e,t,n){var r=oC(Fn,t);r&&delete Fn[t],ji(e,t,n),r&&e!==Fn&&ji(Fn,t,r)},Rg=ea&&PG(function(){return na(ji({},"a",{get:function(){return ji(this,"a",{value:7}).a}})).a!==7})?sC:ji,Ng=function(e,t){var n=Ir[e]=na(jl);return WG(n,{type:Kc,tag:e,description:t}),ea||(n.description=t),n},Gc=function(t,n,r){t===Fn&&Gc(Fl,n,r),Ag(t);var i=Ig(n);return Ag(r),st(Ir,i)?(r.enumerable?(st(t,Ht)&&t[Ht][i]&&(t[Ht][i]=!1),r=na(r,{enumerable:Tg(0,!1)})):(st(t,Ht)||ji(t,Ht,Tg(1,na(null))),t[Ht][i]=!0),Rg(t,i,r)):ji(t,i,r)},Mg=function(t,n){Ag(t);var r=Wc(n),i=Y$(r).concat(dC(r));return Vc(i,function(o){(!ea||Cg(uC,r,o))&&Gc(t,o,r[o])}),t},YG=function(t,n){return n===void 0?na(t):Mg(na(t),n)},uC=function(t){var n=Ig(t),r=Cg(GG,this,n);return this===Fn&&st(Ir,n)&&!st(Fl,n)?!1:r||!st(this,n)||!st(Ir,n)||st(this,Ht)&&this[Ht][n]?r:!0},cC=function(t,n){var r=Wc(t),i=Ig(n);if(!(r===Fn&&st(Ir,i)&&!st(Fl,i))){var o=oC(r,i);return o&&st(Ir,i)&&!(st(r,Ht)&&r[Ht][i])&&(o.enumerable=!0),o}},fC=function(t){var n=aC(Wc(t)),r=[];return Vc(n,function(i){!st(Ir,i)&&!st(tC,i)&&lC(r,i)}),r},dC=function(e){var t=e===Fn,n=aC(t?Fl:Wc(e)),r=[];return Vc(n,function(i){st(Ir,i)&&(!t||st(Fn,i))&&lC(r,Ir[i])}),r};ta||(Li=function(){if(_G(jl,this))throw new KG("Symbol is not a constructor");var t=!arguments.length||arguments[0]===void 0?void 0:RG(arguments[0]),n=nC(t),r=function(i){var o=this===void 0?Dl:this;o===Fn&&Cg(r,Fl,i),st(o,Ht)&&st(o[Ht],n)&&(o[Ht][n]=!1);var a=Tg(1,i);try{Rg(o,n,a)}catch(l){if(!(l instanceof VG))throw l;sC(o,n,a)}};return ea&&_g&&Rg(Fn,n,{configurable:!0,set:r}),Ng(n,t)},jl=Li[Ll],eC(jl,"toString",function(){return iC(this).tag}),eC(Li,"withoutSetter",function(e){return Ng(nC(e),e)}
211),X$.f=uC,Z$.f=Gc,DG.f=Mg,J$.f=cC,NG.f=q$.f=fC,MG.f=dC,BG.f=function(e){return Ng(FG(e),e)},ea&&LG(jl,"description",{configurable:!0,get:function(){return iC(this).description}})),Hc({global:!0,constructor:!0,wrap:!0,forced:!ta,sham:!ta},{Symbol:Li}),Vc(Y$(QG),function(e){zG(e)}),Hc({target:Kc,stat:!0,forced:!ta},{useSetter:function(){_g=!0},useSimple:function(){_g=!1}}),Hc({target:"Object",stat:!0,forced:!ta,sham:!ea},{create:YG,defineProperty:Gc,defineProperties:Mg,getOwnPropertyDescriptor:cC}),Hc({target:"Object",stat:!0,forced:!ta},{getOwnPropertyNames:fC}),UG(),HG(Li,Kc),tC[Ht]=!0;var qG=Ko,pC=qG&&!!Symbol.for&&!!Symbol.keyFor,JG=Ce,ZG=nr,XG=nn,eQ=Rl,hC=Go,tQ=pC,Dg=hC("string-to-symbol-registry"),nQ=hC("symbol-to-string-registry");JG({target:"Symbol",stat:!0,forced:!tQ},{for:function(e){var t=eQ(e);if(XG(Dg,t))return Dg[t];var n=ZG("Symbol")(t);return Dg[t]=n,nQ[n]=t,n}});var rQ=Ce,iQ=nn,oQ=Al,aQ=$c,lQ=Go,sQ=pC,mC=lQ("symbol-to-string-registry");rQ({target:"Symbol",stat:!0,forced:!sQ},{keyFor:function(t){if(!oQ(t))throw new TypeError(aQ(t)+" is not a symbol");if(iQ(mC,t))return mC[t]}});var uQ=Ze,gC=Jo,cQ=$t,vC=Mi,fQ=Rl,yC=uQ([].push),dQ=function(e){if(cQ(e))return e;if(gC(e)){for(var t=e.length,n=[],r=0;r<t;r++){var i=e[r];typeof i=="string"?yC(n,i):(typeof i=="number"||vC(i)==="Number"||vC(i)==="String")&&yC(n,fQ(i))}var o=n.length,a=!0;return function(l,s){if(a)return a=!1,s;if(gC(this))return s;for(var u=0;u<o;u++)if(n[u]===l)return s}}},pQ=Ce,bC=nr,wC=Mm,hQ=er,Bl=Ze,SC=it,xC=$t,kC=Al,EC=jc,mQ=dQ,gQ=Ko,vQ=String,li=bC("JSON","stringify"),Qc=Bl(/./.exec),$C=Bl("".charAt),yQ=Bl("".charCodeAt),bQ=Bl("".replace),wQ=Bl(1 .toString),SQ=/[\uD800-\uDFFF]/g,CC=/^[\uD800-\uDBFF]$/,AC=/^[\uDC00-\uDFFF]$/,IC=!gQ||SC(function(){var e=bC("Symbol")("stringify detection");return li([e])!=="[null]"||li({a:e})!=="{}"||li(Object(e))!=="{}"}),TC=SC(function(){return li("\uDF06\uD834")!=='"\\udf06\\ud834"'||li("\uDEAD")!=='"\\udead"'}),xQ=function(e,t){var n=EC(arguments),r=mQ(t);if(!(!xC(r)&&(e===void 0||kC(e))))return n[1]=function(i,o){if(xC(r)&&(o=hQ(r,this,vQ(i),o)),!kC(o))return o},wC(li,null,n)},kQ=function(e,t,n){var r=$C(n,t-1),i=$C(n,t+1);return Qc(CC,e)&&!Qc(AC,i)||Qc(AC,e)&&!Qc(CC,r)?"\\u"+wQ(yQ(e,0),16):e};li&&pQ({target:"JSON",stat:!0,arity:3,forced:IC||TC},{stringify:function(t,n,r){var i=EC(arguments),o=wC(IC?xQ:li,null,i);return TC&&typeof o=="string"?bQ(o,SQ,kQ):o}});var EQ=Ce,$Q=Ko,CQ=it,OC=Fc,AQ=Ar,IQ=!$Q||CQ(function(){OC.f(1)});EQ({target:"Object",stat:!0,forced:IQ},{getOwnPropertySymbols:function(t){var n=OC.f;return n?n(AQ(t)):[]}});var TQ=ze;TQ("asyncIterator");var OQ=ze;OQ("hasInstance");var PQ=ze;PQ("isConcatSpreadable");var _Q=ze;_Q("iterator");var RQ=ze;RQ("match");var NQ=ze;NQ("matchAll");var MQ=ze;MQ("replace");var DQ=ze;DQ("search");var LQ=ze;LQ("species");var jQ=ze;jQ("split");var FQ=ze,BQ=H$;FQ("toPrimitive"),BQ();var zQ=nr,UQ=ze,HQ=Zo;UQ("toStringTag"),HQ(zQ("Symbol"),"Symbol");var WQ=ze;WQ("unscopables");var VQ=rt,KQ=Zo;KQ(VQ.JSON,"JSON",!0);var GQ=ht,QQ=GQ.Symbol,ra={},Lg=Ut,YQ=nn,PC=Function.prototype,qQ=Lg&&Object.getOwnPropertyDescriptor,jg=YQ(PC,"name"),JQ=jg&&function(){}.name==="something",ZQ=jg&&(!Lg||Lg&&qQ(PC,"name").configurable),XQ={EXISTS:jg,PROPER:JQ,CONFIGURABLE:ZQ},eY=it,tY=!eY(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),nY=nn,rY=$t,iY=Ar,oY=Nc,aY=tY,_C=oY("IE_PROTO"),Fg=Object,lY=Fg.prototype,RC=aY?Fg.getPrototypeOf:function(e){var t=iY(e);if(nY(t,_C))return t[_C];var n=t.constructor;return rY(n)&&t instanceof n?n.prototype:t instanceof Fg?lY:null},sY=it,uY=$t,cY=Dn,fY=wg,NC=RC,dY=Bc,pY=lt,Bg=pY("iterator"),MC=!1,Tr,zg,Ug;[].keys&&(Ug=[].keys(),"next"in Ug?(zg=NC(NC(Ug)),zg!==Object.prototype&&(Tr=zg)):MC=!0);var hY=!cY(Tr)||sY(function(){var e={};return Tr[Bg].call(e)!==e});hY?Tr={}:Tr=fY(Tr),uY(Tr[Bg])||dY(Tr,Bg,function(){return this});var DC={IteratorPrototype:Tr,BUGGY_SAFARI_ITERATORS:MC},mY=DC.IteratorPrototype,gY=wg,vY=Cl,yY=Zo,bY=ra,wY=function(){return this},SY=function(e,t,n,r){var i=t+" Iterator";return e.prototype=gY(mY,{next:vY(+!r,n)}),yY(e,i,!1,!0),bY[i]=wY,e},xY=Ze,kY=Cc,EY=function(e,t,n){try{return xY(kY(Object.getOwnPropertyDescriptor(e,t)[n]))}catch{}},$Y=Dn,CY=function(e){return $Y(e)||e===null},AY=CY,IY=String,TY=TypeError,OY=function(e){if(AY(e))return e;throw new TY("Can't set "+IY(e)+" as a prototype")},PY=EY,_Y=Dn,RY=kc,NY=OY;Object.setPrototypeOf||"__proto__"in{}&&function(){var e=!1,t={},n;try{n=PY(Object.prototype,"__proto__","set"),n(t,[]),e=t instanceof Array}catch{}return function(i,o){return RY(i),NY(o),_Y(i)&&(e?n(i,o):i.__proto__=o),i}}();var MY=Ce,DY=er,LC=XQ,LY=SY,jY=RC,FY=Zo,jC=Bc,BY=lt,FC=ra,BC=DC,zY=LC.PROPER;LC.CONFIGURABLE,BC.IteratorPrototype;var Yc=BC.BUGGY_SAFARI_ITERATORS,Hg=BY("iterator"),zC="keys",qc="values",UC="entr
211ies",UY=function(){return this},HC=function(e,t,n,r,i,o,a){LY(n,t,r);var l=function(h){if(h===i&&p)return p;if(!Yc&&h&&h in c)return c[h];switch(h){case zC:return function(){return new n(this,h)};case qc:return function(){return new n(this,h)};case UC:return function(){return new n(this,h)}}return function(){return new n(this)}},s=t+" Iterator",u=!1,c=e.prototype,f=c[Hg]||c["@@iterator"]||i&&c[i],p=!Yc&&f||l(i),d=t==="Array"&&c.entries||f,m,v,b;if(d&&(m=jY(d.call(new e)),m!==Object.prototype&&m.next&&(FY(m,s,!0,!0),FC[s]=UY)),zY&&i===qc&&f&&f.name!==qc&&(u=!0,p=function(){return DY(f,this)}),i)if(v={values:l(qc),keys:o?p:l(zC),entries:l(UC)},a)for(b in v)(Yc||u||!(b in c))&&jC(c,b,v[b]);else MY({target:t,proto:!0,forced:Yc||u},v);return a&&c[Hg]!==p&&jC(c,Hg,p,{name:i}),FC[t]=p,v},WC=function(e,t){return{value:e,done:t}},HY=tr,VC=ra,KC=Eg;jn.f;var WY=HC,Jc=WC,GC="Array Iterator",VY=KC.set,KY=KC.getterFor(GC);WY(Array,"Array",function(e,t){VY(this,{type:GC,target:HY(e),index:0,kind:t})},function(){var e=KY(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,Jc(void 0,!0);switch(e.kind){case"keys":return Jc(n,!1);case"values":return Jc(t[n],!1)}return Jc([n,t[n]],!1)},"values"),VC.Arguments=VC.Array;var GY={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},QY=GY,YY=rt,qY=Zo,QC=ra;for(var Wg in QY)qY(YY[Wg],Wg),QC[Wg]=QC.Array;var JY=QQ,ZY=JY,XY=lt,eq=jn.f,YC=XY("metadata"),qC=Function.prototype;qC[YC]===void 0&&eq(qC,YC,{value:null});var tq=ze;tq("asyncDispose");var nq=ze;nq("dispose");var rq=ze;rq("metadata");var iq=ZY,oq=iq,aq=nr,lq=Ze,Vg=aq("Symbol"),sq=Vg.keyFor,uq=lq(Vg.prototype.valueOf),JC=Vg.isRegisteredSymbol||function(t){try{return sq(uq(t))!==void 0}catch{return!1}},cq=Ce,fq=JC;cq({target:"Symbol",stat:!0},{isRegisteredSymbol:fq});for(var dq=Go,ZC=nr,pq=Ze,hq=Al,mq=lt,Zc=ZC("Symbol"),XC=Zc.isWellKnownSymbol,eA=ZC("Object","getOwnPropertyNames"),gq=pq(Zc.prototype.valueOf),tA=dq("wks"),Kg=0,nA=eA(Zc),vq=nA.length;Kg<vq;Kg++)try{var rA=nA[Kg];hq(Zc[rA])&&mq(rA)}catch{}var iA=function(t){if(XC&&XC(t))return!0;try{for(var n=gq(t),r=0,i=eA(tA),o=i.length;r<o;r++)if(tA[i[r]]==n)return!0}catch{}return!1},yq=Ce,bq=iA;yq({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:bq});var wq=ze;wq("customMatcher");var Sq=ze;Sq("observable");var xq=Ce,kq=JC;xq({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:kq});var Eq=Ce,$q=iA;Eq({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:$q});var Cq=ze;Cq("matcher");var Aq=ze;Aq("metadataKey");var Iq=ze;Iq("patternMatch");var Tq=ze;Tq("replaceAll");var Oq=oq,Pq=Oq,_q=Pq;const ia=me(_q);var Gg=Ze,Rq=Tc,Nq=Rl,Mq=kc,Dq=Gg("".charAt),oA=Gg("".charCodeAt),Lq=Gg("".slice),aA=function(e){return function(t,n){var r=Nq(Mq(t)),i=Rq(n),o=r.length,a,l;return i<0||i>=o?e?"":void 0:(a=oA(r,i),a<55296||a>56319||i+1===o||(l=oA(r,i+1))<56320||l>57343?e?Dq(r,i):a:e?Lq(r,i,i+2):(a-55296<<10)+(l-56320)+65536)}},jq={codeAt:aA(!1),charAt:aA(!0)},Fq=jq.charAt,Bq=Rl,lA=Eg,zq=HC,sA=WC,uA="String Iterator",Uq=lA.set,Hq=lA.getterFor(uA);zq(String,"String",function(e){Uq(this,{type:uA,string:Bq(e),index:0})},function(){var t=Hq(this),n=t.string,r=t.index,i;return r>=n.length?sA(void 0,!0):(i=Fq(n,r),t.index+=i.length,sA(i,!1))});var Wq=Pl,cA=Gm,Vq=zm,Kq=ra,Gq=lt,Qq=Gq("iterator"),Qg=function(e){if(!Vq(e))return cA(e,Qq)||cA(e,"@@iterator")||Kq[Wq(e)]},Yq=Qg,qq=Yq,Jq=qq,Zq=Jq,Xq=Zq,eJ=Xq,tJ=eJ,nJ=tJ,rJ=nJ;const fA=me(rJ);var iJ=Ut,oJ=Jo,aJ=TypeError,lJ=Object.getOwnPropertyDescriptor,sJ=iJ&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}(),dA=sJ?function(e,t){if(oJ(e)&&!lJ(e,"length").writable)throw new aJ("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},uJ=Ce,cJ=Ar,fJ=Di,dJ=dA,pJ=lg,hJ=it,mJ=hJ(function(){return[].push.call({length:4294967296},1)!==4294967297}),gJ=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},vJ=mJ||!gJ();uJ({target:"Array",proto:!0,arity:1,forced:vJ},{push:function(t){var n=cJ(this),r=fJ(n),i=arguments.length;pJ(r+i);for(var o=0;o<i;o++)n[r]=arguments[o],r++;return dJ(n,r),r}});var yJ=rt,bJ=ht,Fi=function(e,t){var n=bJ[e+"Prototype"],r=n&&n[t];if(r)return r;var i=yJ[e],o=i&&i.prototype;return o&&o[t]},wJ=Fi,SJ=wJ("Array","push"),xJ=Cr,kJ=SJ,Yg=Array.prototype,EJ=function(e){var t=e.push;return e===Yg||xJ(Yg,e)&&t===Yg.push?kJ:t},$J=EJ,CJ=$J,AJ=CJ,IJ=AJ,TJ=IJ,OJ=TJ,PJ=OJ;const _J=me(PJ);function RJ(e,t){var n=e==null?null:typeof ia<"u"&&fA(e)||e["@@iterator"];if(n!=null){var r,i,o,a,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(_J(l).call(l,r.value),l.length!==t);s=!0);}catch(c){u=!0,i=c}
211finally{try{if(!s&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return l}}var NJ=Ce,pA=Jo,MJ=fg,DJ=Dn,hA=pg,LJ=Di,jJ=tr,FJ=Ol,BJ=lt,zJ=Pc,UJ=jc,HJ=zJ("slice"),WJ=BJ("species"),qg=Array,VJ=Math.max;NJ({target:"Array",proto:!0,forced:!HJ},{slice:function(t,n){var r=jJ(this),i=LJ(r),o=hA(t,i),a=hA(n===void 0?i:n,i),l,s,u;if(pA(r)&&(l=r.constructor,MJ(l)&&(l===qg||pA(l.prototype))?l=void 0:DJ(l)&&(l=l[WJ],l===null&&(l=void 0)),l===qg||l===void 0))return UJ(r,o,a);for(s=new(l===void 0?qg:l)(VJ(a-o,0)),u=0;o<a;o++,u++)o in r&&FJ(s,u,r[o]);return s.length=u,s}});var KJ=Fi,GJ=KJ("Array","slice"),QJ=Cr,YJ=GJ,Jg=Array.prototype,qJ=function(e){var t=e.slice;return e===Jg||QJ(Jg,e)&&t===Jg.slice?YJ:t},JJ=qJ,ZJ=JJ,XJ=ZJ,eZ=XJ,tZ=eZ,nZ=tZ,rZ=nZ;const iZ=me(rZ);var oZ=er,mA=oi,aZ=Gm,lZ=function(e,t,n){var r,i;mA(e);try{if(r=aZ(e,"return"),!r){if(t==="throw")throw n;return n}r=oZ(r,e)}catch(o){i=!0,r=o}if(t==="throw")throw n;if(i)throw r;return mA(r),n},sZ=oi,uZ=lZ,cZ=function(e,t,n,r){try{return r?t(sZ(n)[0],n[1]):t(n)}catch(i){uZ(e,"throw",i)}},fZ=lt,dZ=ra,pZ=fZ("iterator"),hZ=Array.prototype,mZ=function(e){return e!==void 0&&(dZ.Array===e||hZ[pZ]===e)},gZ=er,vZ=Cc,yZ=oi,bZ=$c,wZ=Qg,SZ=TypeError,xZ=function(e,t){var n=arguments.length<2?wZ(e):t;if(vZ(n))return yZ(gZ(n,e));throw new SZ(bZ(e)+" is not iterable")},kZ=ng,EZ=er,$Z=Ar,CZ=cZ,AZ=mZ,IZ=fg,TZ=Di,gA=Ol,OZ=xZ,PZ=Qg,vA=Array,_Z=function(t){var n=$Z(t),r=IZ(this),i=arguments.length,o=i>1?arguments[1]:void 0,a=o!==void 0;a&&(o=kZ(o,i>2?arguments[2]:void 0));var l=PZ(n),s=0,u,c,f,p,d,m;if(l&&!(this===vA&&AZ(l)))for(c=r?new this:[],p=OZ(n,l),d=p.next;!(f=EZ(d,p)).done;s++)m=a?CZ(p,o,[f.value,s],!0):f.value,gA(c,s,m);else for(u=TZ(n),c=r?new this(u):vA(u);u>s;s++)m=a?o(n[s],s):n[s],gA(c,s,m);return c.length=s,c},RZ=lt,yA=RZ("iterator"),bA=!1;try{var NZ=0,wA={next:function(){return{done:!!NZ++}},return:function(){bA=!0}};wA[yA]=function(){return this},Array.from(wA,function(){throw 2})}catch{}var MZ=function(e,t){try{if(!t&&!bA)return!1}catch{return!1}var n=!1;try{var r={};r[yA]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch{}return n},DZ=Ce,LZ=_Z,jZ=MZ,FZ=!jZ(function(e){Array.from(e)});DZ({target:"Array",stat:!0,forced:FZ},{from:LZ});var BZ=ht,zZ=BZ.Array.from,UZ=zZ,HZ=UZ,WZ=HZ,VZ=WZ,KZ=VZ,GZ=KZ,QZ=GZ;const SA=me(QZ);function Zg(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function xA(e,t){if(e){var n;if(typeof e=="string")return Zg(e,t);var r=iZ(n={}.toString.call(e)).call(n,8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?SA(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Zg(e,t):void 0}}function YZ(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 212In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ir(e,t){return o7(e)||RJ(e,t)||xA(e,t)||YZ()}var kA={exports:{}};/*! 213 Copyright (c) 2018 Jed Watson. 214 Licensed under the MIT License (MIT), see 215 http://jedwatson.github.io/classnames 216*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var r=[],i=0;i<arguments.length;i++){var o=arguments[i];if(o){var a=typeof o;if(a==="string"||a==="number")r.push(o);else if(Array.isArray(o)){if(o.length){var l=n.apply(null,o);l&&r.push(l)}}else if(a==="object")if(o.toString===Object.prototype.toString)for(var s in o)t.call(o,s)&&o[s]&&r.push(s);else r.push(o.toString())}}return r.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(kA);var qZ=kA.exports;const Xg=me(qZ);var EA={exports:{}},JZ="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ZZ=JZ,XZ=ZZ;function $A(){}function CA(){}CA.resetWarningCache=$A;var eX=function(){function e(r,i,o,a,l,s){if(s!==XZ){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}
216var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:CA,resetWarningCache:$A};return n.PropTypes=n,n};EA.exports=eX();var tX=EA.exports;const be=me(tX);var ev=We.createContext({scrollTo:function(){return 0},scrollToBottom:function(){return 0},scrollToEnd:function(){return 0},scrollToStart:function(){return 0},scrollToTop:function(){return 0}});ev.displayName="ScrollToBottomFunctionContext";function nX(){return k.useContext(ev)}function rX(){var e=nX(),t=e.scrollToEnd;return t}var tv=We.createContext({atBottom:!0,atEnd:!0,atStart:!1,atTop:!0,mode:"bottom"});tv.displayName="ScrollToBottomState1Context";var nv=We.createContext({animating:!1,animatingToEnd:!1,sticky:!0});nv.displayName="ScrollToBottomState2Context";var rv=We.createContext({animating:!1,animatingToEnd:!1,atBottom:!0,atEnd:!0,atStart:!1,atTop:!0,mode:"bottom",sticky:!0});rv.displayName="ScrollToBottomStateContext";var AA=[rv,tv,nv];function iX(e){return k.useContext(AA[e]||AA[0])}function oX(){var e=iX(2),t=e.sticky;return[t]}var Xc=We.createContext({offsetHeight:0,scrollHeight:0,setTarget:function(){return 0},styleToClassName:function(){return""}});Xc.displayName="ScrollToBottomInternalContext";function aX(){return k.useContext(Xc)}function iv(){var e=aX(),t=e.styleToClassName;return t}var lX={backgroundColor:"rgba(0, 0, 0, .2)",borderRadius:10,borderWidth:0,bottom:5,cursor:"pointer",height:20,outline:0,position:"absolute",right:20,width:20,"&:hover":{backgroundColor:"rgba(0, 0, 0, .4)"},"&:active":{backgroundColor:"rgba(0, 0, 0, .6)"}},ov=function(t){var n=t.children,r=t.className,i=oX(),o=ir(i,1),a=o[0],l=iv()(lX),s=rX();return!a&&We.createElement("button",{className:Xg(l,(r||"")+""),onClick:s,type:"button"},n)};ov.defaultProps={children:void 0,className:""},ov.propTypes={children:be.any,className:be.string};var IA={exports:{}},sX=Ce,uX=Ut,TA=jn.f;sX({target:"Object",stat:!0,forced:Object.defineProperty!==TA,sham:!uX},{defineProperty:TA});var cX=ht,OA=cX.Object,fX=IA.exports=function(t,n,r){return OA.defineProperty(t,n,r)};OA.defineProperty.sham&&(fX.sham=!0);var dX=IA.exports,pX=dX,PA=pX,hX=PA,mX=hX,gX=mX,vX=gX,yX=vX;const bX=me(yX);var wX=Nl,SX=wX.f("iterator"),xX=SX,kX=xX,EX=kX,$X=EX,CX=$X,AX=CX,IX=AX;const TX=me(IX);function zl(e){"@babel/helpers - typeof";return zl=typeof ia=="function"&&typeof TX=="symbol"?function(t){return typeof t}:function(t){return t&&typeof ia=="function"&&t.constructor===ia&&t!==ia.prototype?"symbol":typeof t},zl(e)}var OX=Nl,PX=OX.f("toPrimitive"),_X=PX,RX=_X,NX=RX,MX=NX,DX=MX,LX=DX,jX=LX;const FX=me(jX);function BX(e,t){if(zl(e)!="object"||!e)return e;var n=e[FX];if(n!==void 0){var r=n.call(e,t||"default");if(zl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function zX(e){var t=BX(e,"string");return zl(t)=="symbol"?t:t+""}function UX(e,t,n){return(t=zX(t))in e?bX(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function HX(e){if(v$(e))return Zg(e)}function WX(e){if(typeof ia<"u"&&fA(e)!=null||e["@@iterator"]!=null)return SA(e)}function VX(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 217In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ve(e){return HX(e)||WX(e)||xA(e)||VX()}var ef=function(e){return e&&e.Math==Math&&e},rn=ef(typeof globalThis=="object"&&globalThis)||ef(typeof window=="object"&&window)||ef(typeof self=="object"&&self)||ef(typeof It=="object"&&It)||function(){return this}()||Function("return this")(),av={},Bn=function(e){try{return!!e()}catch{return!0}},KX=Bn,Bi=!KX(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),_A={},RA={}.propertyIsEnumerable,NA=Object.getOwnPropertyDescriptor,GX=NA&&!RA.call({1:2},1);_A.f=GX?function(t){var n=NA(this,t);return!!n&&n.enumerable}:RA;var MA=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},QX={}.toString,lv=function(e){return QX.call(e).slice(8,-1)},YX=Bn,qX=lv,JX="".split,ZX=YX(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return qX(e)=="String"?JX.call(e,""):Object(e)}:Object,tf=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},XX=ZX,eee=tf,sv=function(e){return XX(eee(e))},wn=function(e){return typeof e=="function"},tee=wn,Ul=function(e){return typeof e=="object"?e!==null:tee(e)},uv=rn,nee=wn,ree=function(e){return nee(e)?e:void 0},nf=function(e,t){return arguments.length<2?ree(uv[e]):uv[e]&&uv[e][t]},iee=nf,oee=iee("navigator","userAgent")||"",DA=rn,cv=oee,LA=DA.process,jA=DA.Deno,FA=LA&&LA.versions||jA&&jA.version,BA=FA&&FA.v8,or,rf;BA?(or=BA.split("."),rf=or[0]<4?1:or[0]+or[1]):cv&&(or=cv.match(/Edge\/(\d+)/),(!or||or[1]>=74)&&(or=cv.match(/Chrome\/(\d+)/),or&&(rf=or[1])));var aee=rf&&+rf,zA=aee,lee=Bn,UA=!!Object.getOwnPropertySymbols&&!lee(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&zA&&zA<41}),see=UA,HA=see&&!Symbol.sham&&typeof Symbol.iterator=="symbol",uee=wn,cee=nf,fee=HA,WA=fee?function(e){return typeof e=="symbol"}:function(e){var t=cee("Symbol");return uee(t)&&Object(e)instanceof t},dee=function(e){try{return String(e)}catch{return"Object"}},pee=wn,hee=dee,mee=function(e){if(pee(e))return e;throw TypeError(hee(e)+" is not a function")},gee=mee,VA=function(e,t){var n=e[t];return n==null?void 0:gee(n)},fv=wn,dv=Ul,vee=function(e,t){var n,r;if(t==="string"&&fv(n=e.toString)&&!dv(r=n.call(e))||fv(n=e.valueOf)&&!dv(r=n.call(e))||t!=="string"&&fv(n=e.toString)&&!dv(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},KA={exports:{}},GA=rn,pv=function(e,t){try{Object.defineProperty(GA,e,{value:t,configurable:!0,writable:!0})}catch{GA[e]=t}return t},yee=rn,bee=pv,QA="__core-js_shared__",wee=yee[QA]||bee(QA,{}),hv=wee,YA=hv;(KA.exports=function(e,t){return YA[e]||(YA[e]=t!==void 0?t:{})})("versions",[]).push({version:"3.18.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});var mv=KA.exports,See=tf,qA=function(e){return Object(See(e))},xee=qA,kee={}.hasOwnProperty,zi=Object.hasOwn||function(t,n){return kee.call(xee(t),n)},Eee=0,$ee=Math.random(),JA=function(e){return"Symbol("+String(e===void 0?"":e)+")_"+(++Eee+$ee).toString(36)},Cee=rn,Aee=mv,ZA=zi,Iee=JA,XA=UA,Tee=HA,Hl=Aee("wks"),Wl=Cee.Symbol,Oee=Tee?Wl:Wl&&Wl.withoutSetter||Iee,Vl=function(e){return(!ZA(Hl,e)||!(XA||typeof Hl[e]=="string"))&&(XA&&ZA(Wl,e)?Hl[e]=Wl[e]:Hl[e]=Oee("Symbol."+e)),Hl[e]},eI=Ul,tI=WA,Pee=VA,_ee=vee,Ree=Vl,Nee=Ree("toPrimitive"),Mee=function(e,t){if(!eI(e)||tI(e))return e;var n=Pee(e,Nee),r;if(n){if(t===void 0&&(t="default"),r=n.call(e,t),!eI(r)||tI(r))return r;throw TypeError("Can't convert object to primitive value")}return t===void 0&&(t="number"),_ee(e,t)},Dee=Mee,Lee=WA,nI=function(e){var t=Dee(e,"string");return Lee(t)?t:String(t)},jee=rn,rI=Ul,gv=jee.document,Fee=rI(gv)&&rI(gv.createElement),iI=function(e){return Fee?gv.createElement(e):{}},Bee=Bi,zee=Bn,Uee=iI,oI=!Bee&&!zee(function(){return Object.defineProperty(Uee("div"),"a",{get:function(){return 7}}).a!=7}),Hee=Bi,Wee=_A,Vee=MA,Kee=sv,Gee=nI,Qee=zi,Yee=oI,aI=Object.getOwnPropertyDescriptor;av.f=Hee?aI:function(t,n){if(t=Kee(t),n=Gee(n),Yee)try{return aI(t,n)}catch{}if(Qee(t,n))return Vee(!Wee.f.call(t,n),t[n])};var Kl={},qee=Ul,si=function(e){if(qee(e))return e;throw TypeError(String(e)+" is not an object")},Jee=Bi,Zee=oI,lI=si,Xee=nI,sI=Object.defineProperty;Kl.f=Jee?sI:function(t,n,r){if(lI(t),n=Xee(n),lI(r),Zee)try{return sI(t,n,r)}catch{}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[n]=r.value),t};var ete=Bi,tte=Kl,nte=MA,of=ete?function(e,t,n){return tte.f(e,t,nte(1,n))}:function(e,t,n){return e[t]=n,e},uI={exports:{}},rte=wn,vv=hv,ite=Function.toString;rte(vv.inspectSource)||(vv.inspectSource=function(e){return ite.call(e)});var cI=vv.inspectSource,ote=rn,ate=wn,lte=cI,fI=ote.WeakMap,ste=ate(fI)&&/native code/.test(lte(fI)),ute=mv,cte=JA,dI=ute("keys"),pI=function(e){return dI[e]||(dI[e]=cte(e))},yv={},fte=ste,dte=rn,pte=Ul,hte=of,bv=zi,wv=hv,mte=pI,gte=yv,hI="Object already initialized",vte=dte.WeakMap,af,Gl,lf,yte=function(e){return lf(e)?Gl(e):af(e,{})},bte=function(e){return function(t){var n;if(!pte(t)||(n=Gl(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(fte||wv.state){var Ui=wv.state||(wv.state=new vte),wte=Ui.get,mI=Ui.has,Ste=Ui.set;af=function(e,t){if(mI.call(Ui,e))throw new TypeError(hI);return t.facade=e,Ste.call(Ui,e,t),t},Gl=function(e){return wte.call(Ui,e)||{}},lf=function(e){return mI.call(Ui,e)}}else{var oa=mte("state");gte[oa]=!0,af=function(e,t){if(bv(e,oa))throw new TypeError(hI);return t.facade=e,hte(e,oa,t),t},Gl=function(e){return bv(e,oa)?e[oa]:{}},lf=function(e){return bv(e,oa)}}var gI={set:af,get:Gl,has:lf,enforce:yte,getterFor:bte},Sv=Bi,xte=zi,vI=Function.prototype,kte=Sv&&Object.getOwnPropertyDescriptor,xv=xte(vI,"name"),Ete=xv&&function(){}.name==="something",$te=xv&&(!Sv||Sv&&kte(vI,"name").configurable),kv={EXISTS:xv,PROPER:Ete,CONFIGURABLE:$te},Cte=rn,yI=wn,Ate=zi,bI=of,Ite=pv,Tte=cI,wI=gI,Ote=kv.CONFIGURABLE,Pte=wI.get,_te=wI.enforce,Rte=String(String).split("String");(uI.exports=function(e,t,n,r){var i=r?!!r.unsafe:!1,o=r?!!r.enumerable:!1,a=r?!!r.noTargetGet:!1,l=r&&r.name!==void 0?r.name:t,s;if(yI(n)&&(String(l).slice(0,7)==="Symbol("&&(l="["+String(l).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Ate(n,"n
217ame")||Ote&&n.name!==l)&&bI(n,"name",l),s=_te(n),s.source||(s.source=Rte.join(typeof l=="string"?l:""))),e===Cte){o?e[t]=n:Ite(t,n);return}else i?!a&&e[t]&&(o=!0):delete e[t];o?e[t]=n:bI(e,t,n)})(Function.prototype,"toString",function(){return yI(this)&&Pte(this).source||Tte(this)});var Ql=uI.exports,SI={},Nte=Math.ceil,Mte=Math.floor,sf=function(e){var t=+e;return t!==t||t===0?0:(t>0?Mte:Nte)(t)},Dte=sf,Lte=Math.max,jte=Math.min,Fte=function(e,t){var n=Dte(e);return n<0?Lte(n+t,0):jte(n,t)},Bte=sf,zte=Math.min,xI=function(e){return e>0?zte(Bte(e),9007199254740991):0},Ute=xI,Hte=function(e){return Ute(e.length)},Wte=sv,Vte=Fte,Kte=Hte,kI=function(e){return function(t,n,r){var i=Wte(t),o=Kte(i),a=Vte(r,o),l;if(e&&n!=n){for(;o>a;)if(l=i[a++],l!=l)return!0}else for(;o>a;a++)if((e||a in i)&&i[a]===n)return e||a||0;return!e&&-1}},Gte={includes:kI(!0),indexOf:kI(!1)},Ev=zi,Qte=sv,Yte=Gte.indexOf,qte=yv,EI=function(e,t){var n=Qte(e),r=0,i=[],o;for(o in n)!Ev(qte,o)&&Ev(n,o)&&i.push(o);for(;t.length>r;)Ev(n,o=t[r++])&&(~Yte(i,o)||i.push(o));return i},$v=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Jte=EI,Zte=$v,Xte=Zte.concat("length","prototype");SI.f=Object.getOwnPropertyNames||function(t){return Jte(t,Xte)};var $I={};$I.f=Object.getOwnPropertySymbols;var ene=nf,tne=SI,nne=$I,rne=si,ine=ene("Reflect","ownKeys")||function(t){var n=tne.f(rne(t)),r=nne.f;return r?n.concat(r(t)):n},one=zi,ane=ine,lne=av,sne=Kl,une=function(e,t){for(var n=ane(t),r=sne.f,i=lne.f,o=0;o<n.length;o++){var a=n[o];one(e,a)||r(e,a,i(t,a))}},cne=Bn,fne=wn,dne=/#|\.prototype\./,Yl=function(e,t){var n=hne[pne(e)];return n==gne?!0:n==mne?!1:fne(t)?cne(t):!!t},pne=Yl.normalize=function(e){return String(e).replace(dne,".").toLowerCase()},hne=Yl.data={},mne=Yl.NATIVE="N",gne=Yl.POLYFILL="P",vne=Yl,Cv=rn,yne=av.f,bne=of,wne=Ql,Sne=pv,xne=une,kne=vne,Ene=function(e,t){var n=e.target,r=e.global,i=e.stat,o,a,l,s,u,c;if(r?a=Cv:i?a=Cv[n]||Sne(n,{}):a=(Cv[n]||{}).prototype,a)for(l in t){if(u=t[l],e.noTargetGet?(c=yne(a,l),s=c&&c.value):s=a[l],o=kne(r?l:n+(i?".":"#")+l,e.forced),!o&&s!==void 0){if(typeof u==typeof s)continue;xne(u,s)}(e.sham||s&&s.sham)&&bne(u,"sham",!0),wne(a,l,u,e)}},$ne=Vl,Cne=$ne("toStringTag"),CI={};CI[Cne]="z";var Av=String(CI)==="[object z]",Ane=Av,Ine=wn,uf=lv,Tne=Vl,One=Tne("toStringTag"),Pne=uf(function(){return arguments}())=="Arguments",_ne=function(e,t){try{return e[t]}catch{}},AI=Ane?uf:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=_ne(t=Object(e),One))=="string"?n:Pne?uf(t):(r=uf(t))=="Object"&&Ine(t.callee)?"Arguments":r},Rne=AI,cf=function(e){if(Rne(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return String(e)},Nne=si,II=function(){var e=Nne(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Iv={},TI=Bn,Mne=rn,OI=Mne.RegExp;Iv.UNSUPPORTED_Y=TI(function(){var e=OI("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),Iv.BROKEN_CARET=TI(function(){var e=OI("^r","gy");return e.lastIndex=2,e.exec("str")!=null});var Dne=EI,Lne=$v,jne=Object.keys||function(t){return Dne(t,Lne)},Fne=Bi,Bne=Kl,zne=si,Une=jne,Hne=Fne?Object.defineProperties:function(t,n){zne(t);for(var r=Une(n),i=r.length,o=0,a;i>o;)Bne.f(t,a=r[o++],n[a]);return t},Wne=nf,Vne=Wne("document","documentElement"),Kne=si,Gne=Hne,PI=$v,Qne=yv,Yne=Vne,qne=iI,Jne=pI,_I=">",RI="<",Tv="prototype",Ov="script",NI=Jne("IE_PROTO"),Pv=function(){},MI=function(e){return RI+Ov+_I+e+RI+"/"+Ov+_I},DI=function(e){e.write(MI("")),e.close();var t=e.parentWindow.Object;return e=null,t},Zne=function(){var e=qne("iframe"),t="java"+Ov+":",n;return e.style.display="none",Yne.appendChild(e),e.src=String(t),n=e.contentWindow.document,n.open(),n.write(MI("document.F=Object")),n.close(),n.F},ff,df=function(){try{ff=new ActiveXObject("htmlfile")}catch{}df=typeof document<"u"?document.domain&&ff?DI(ff):Zne():DI(ff);for(var e=PI.length;e--;)delete df[Tv][PI[e]];return df()};Qne[NI]=!0;var Xne=Object.create||function(t,n){var r;return t!==null?(Pv[Tv]=Kne(t),r=new Pv,Pv[Tv]=null,r[NI]=t):r=df(),n===void 0?r:Gne(r,n)},ere=Bn,tre=rn,nre=tre.RegExp,rre=ere(function(){var e=nre(".","s");return!(e.dotAll&&e.exec(` 218`)&&e.flags==="s")}),ire=Bn,ore=rn,are=ore.RegExp,lre=ire(function(){var e=are("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),sre=cf,ure=II,LI=Iv,cre=mv,fre=Xne,dre=gI.get,pre=rre,hre=lre,pf=RegExp.prototype.exec,mre=cre("native-string-replace",String.prototype.replace),_v=pf,Rv
218=function(){var e=/a/,t=/b*/g;return pf.call(e,"a"),pf.call(t,"a"),e.lastIndex!==0||t.lastIndex!==0}(),jI=LI.UNSUPPORTED_Y||LI.BROKEN_CARET,Nv=/()??/.exec("")[1]!==void 0,gre=Rv||Nv||jI||pre||hre;gre&&(_v=function(t){var n=this,r=dre(n),i=sre(t),o=r.raw,a,l,s,u,c,f,p;if(o)return o.lastIndex=n.lastIndex,a=_v.call(o,i),n.lastIndex=o.lastIndex,a;var d=r.groups,m=jI&&n.sticky,v=ure.call(n),b=n.source,h=0,g=i;if(m&&(v=v.replace("y",""),v.indexOf("g")===-1&&(v+="g"),g=i.slice(n.lastIndex),n.lastIndex>0&&(!n.multiline||n.multiline&&i.charAt(n.lastIndex-1)!==` 219`)&&(b="(?: "+b+")",g=" "+g,h++),l=new RegExp("^(?:"+b+")",v)),Nv&&(l=new RegExp("^"+b+"$(?!\\s)",v)),Rv&&(s=n.lastIndex),u=pf.call(m?l:n,g),m?u?(u.input=u.input.slice(h),u[0]=u[0].slice(h),u.index=n.lastIndex,n.lastIndex+=u[0].length):n.lastIndex=0:Rv&&u&&(n.lastIndex=n.global?u.index+u[0].length:s),Nv&&u&&u.length>1&&mre.call(u[0],l,function(){for(c=1;c<arguments.length-2;c++)arguments[c]===void 0&&(u[c]=void 0)}),u&&d)for(u.groups=f=fre(null),c=0;c<d.length;c++)p=d[c],f[p[0]]=u[p[1]];return u});var Mv=_v,vre=Ene,FI=Mv;vre({target:"RegExp",proto:!0,forced:/./.exec!==FI},{exec:FI});var BI=Ql,yre=Mv,zI=Bn,UI=Vl,bre=of,wre=UI("species"),Dv=RegExp.prototype,Sre=function(e,t,n,r){var i=UI(e),o=!zI(function(){var u={};return u[i]=function(){return 7},""[e](u)!=7}),a=o&&!zI(function(){var u=!1,c=/a/;return e==="split"&&(c={},c.constructor={},c.constructor[wre]=function(){return c},c.flags="",c[i]=/./[i]),c.exec=function(){return u=!0,null},c[i](""),!u});if(!o||!a||n){var l=/./[i],s=t(i,""[e],function(u,c,f,p,d){var m=c.exec;return m===yre||m===Dv.exec?o&&!d?{done:!0,value:l.call(c,f,p)}:{done:!0,value:u.call(f,c,p)}:{done:!1}});BI(String.prototype,e,s[0]),BI(Dv,i,s[1])}r&&bre(Dv[i],"sham",!0)},xre=sf,kre=cf,Ere=tf,HI=function(e){return function(t,n){var r=kre(Ere(t)),i=xre(n),o=r.length,a,l;return i<0||i>=o?e?"":void 0:(a=r.charCodeAt(i),a<55296||a>56319||i+1===o||(l=r.charCodeAt(i+1))<56320||l>57343?e?r.charAt(i):a:e?r.slice(i,i+2):(a-55296<<10)+(l-56320)+65536)}},$re={codeAt:HI(!1),charAt:HI(!0)},Cre=$re.charAt,Are=function(e,t,n){return t+(n?Cre(e,t).length:1)},Ire=qA,Tre=Math.floor,Ore="".replace,Pre=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,_re=/\$([$&'`]|\d{1,2})/g,Rre=function(e,t,n,r,i,o){var a=n+e.length,l=r.length,s=_re;return i!==void 0&&(i=Ire(i),s=Pre),Ore.call(o,s,function(u,c){var f;switch(c.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(a);case"<":f=i[c.slice(1,-1)];break;default:var p=+c;if(p===0)return u;if(p>l){var d=Tre(p/10);return d===0?u:d<=l?r[d-1]===void 0?c.charAt(1):r[d-1]+c.charAt(1):u}f=r[p-1]}return f===void 0?"":f})},Nre=si,Mre=wn,Dre=lv,Lre=Mv,jre=function(e,t){var n=e.exec;if(Mre(n)){var r=n.call(e,t);return r!==null&&Nre(r),r}if(Dre(e)==="RegExp")return Lre.call(e,t);throw TypeError("RegExp#exec called on incompatible receiver")},Fre=Sre,Bre=Bn,zre=si,Ure=wn,Hre=sf,Wre=xI,aa=cf,Vre=tf,Kre=Are,Gre=VA,Qre=Rre,Yre=jre,qre=Vl,Lv=qre("replace"),Jre=Math.max,Zre=Math.min,Xre=function(e){return e===void 0?e:String(e)},eie=function(){return"a".replace(/./,"$0")==="$0"}(),WI=function(){return/./[Lv]?/./[Lv]("a","$0")==="":!1}(),tie=!Bre(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"});Fre("replace",function(e,t,n){var r=WI?"$":"$0";return[function(o,a){var l=Vre(this),s=o==null?void 0:Gre(o,Lv);return s?s.call(o,l,a):t.call(aa(l),o,a)},function(i,o){var a=zre(this),l=aa(i);if(typeof o=="string"&&o.indexOf(r)===-1&&o.indexOf("$<")===-1){var s=n(t,a,l,o);if(s.done)return s.value}var u=Ure(o);u||(o=aa(o));var c=a.global;if(c){var f=a.unicode;a.lastIndex=0}for(var p=[];;){var d=Yre(a,l);if(d===null||(p.push(d),!c))break;var m=aa(d[0]);m===""&&(a.lastIndex=Kre(l,Wre(a.lastIndex),f))}for(var v="",b=0,h=0;h<p.length;h++){d=p[h];for(var g=aa(d[0]),y=Jre(Zre(Hre(d.index),l.length),0),S=[],$=1;$<d.length;$++)S.push(Xre(d[$]));var x=d.groups;if(u){var A=[g].concat(S,y,l);x!==void 0&&A.push(x);var T=aa(o.apply(void 0,A))}else T=Qre(g,l,y,S,x,o);y>=b&&(v+=l.slice(b,y)+T,b=y+g.length)}return v+l.slice(b)}]},!tie||!eie||WI);var ql=rt,nie=Wm,rie=Mi,hf=function(e){return nie.slice(0,e.length)===e},iie=function(){return hf("Bun/")?"BUN":hf("Cloudflare-Workers")?"CLOUDFLARE":hf("Deno/")?"DENO":hf("Node.js/")?"NODE":ql.Bun&&typeof Bun.version=="str
219ing"?"BUN":ql.Deno&&typeof Deno.version=="object"?"DENO":rie(ql.process)==="process"?"NODE":ql.window&&ql.document?"BROWSER":"REST"}(),oie=TypeError,aie=function(e,t){if(e<t)throw new oie("Not enough arguments");return e},VI=rt,lie=Mm,sie=$t,uie=iie,cie=Wm,fie=jc,die=aie,pie=VI.Function,hie=/MSIE .\./.test(cie)||uie==="BUN"&&function(){var e=VI.Bun.version.split(".");return e.length<3||e[0]==="0"&&(e[1]<3||e[1]==="3"&&e[2]==="0")}(),KI=function(e,t){var n=t?2:1;return hie?function(r,i){var o=die(arguments.length,1)>n,a=sie(r)?r:pie(r),l=o?fie(arguments,n):[],s=o?function(){lie(a,this,l)}:a;return t?e(s,i):e(s)}:e},mie=Ce,GI=rt,gie=KI,QI=gie(GI.setInterval,!0);mie({global:!0,bind:!0,forced:GI.setInterval!==QI},{setInterval:QI});var vie=Ce,YI=rt,yie=KI,qI=yie(YI.setTimeout,!0);vie({global:!0,bind:!0,forced:YI.setTimeout!==qI},{setTimeout:qI});var bie=ht,wie=bie.setInterval,Sie=wie;const xie=me(Sie);var kie=it,JI=function(e,t){var n=[][e];return!!n&&kie(function(){n.call(null,t||function(){return 1},1)})},Eie=Ce,$ie=Lm,Cie=T$.indexOf,Aie=JI,jv=$ie([].indexOf),ZI=!!jv&&1/jv([1],1,-0)<0,Iie=ZI||!Aie("indexOf");Eie({target:"Array",proto:!0,forced:Iie},{indexOf:function(t){var n=arguments.length>1?arguments[1]:void 0;return ZI?jv(this,t,n)||0:Cie(this,t,n)}});var Tie=Fi,Oie=Tie("Array","indexOf"),Pie=Cr,_ie=Oie,Fv=Array.prototype,Rie=function(e){var t=e.indexOf;return e===Fv||Pie(Fv,e)&&t===Fv.indexOf?_ie:t},Nie=Rie,Mie=Nie,Die=Mie;const Lie=me(Die);var XI=$c,jie=TypeError,Fie=function(e,t){if(!delete e[t])throw new jie("Cannot delete property "+XI(t)+" of "+XI(e))},Bie=Ce,zie=Ar,Uie=pg,Hie=Tc,Wie=Di,Vie=dA,Kie=lg,Gie=dg,Qie=Ol,Bv=Fie,Yie=Pc,qie=Yie("splice"),Jie=Math.max,Zie=Math.min;Bie({target:"Array",proto:!0,forced:!qie},{splice:function(t,n){var r=zie(this),i=Wie(r),o=Uie(t,i),a=arguments.length,l,s,u,c,f,p;for(a===0?l=s=0:a===1?(l=0,s=i-o):(l=a-2,s=Zie(Jie(Hie(n),0),i-o)),Kie(i+l-s),u=Gie(r,s),c=0;c<s;c++)f=o+c,f in r&&Qie(u,c,r[f]);if(u.length=s,l<s){for(c=o;c<i-s;c++)f=c+s,p=c+l,f in r?r[p]=r[f]:Bv(r,p);for(c=i;c>i-s+l;c--)Bv(r,c-1)}else if(l>s)for(c=i-s;c>o;c--)f=c+s-1,p=c+l-1,f in r?r[p]=r[f]:Bv(r,p);for(c=0;c<l;c++)r[c+o]=arguments[c+2];return Vie(r,i-s+l),u}});var Xie=Fi,eoe=Xie("Array","splice"),toe=Cr,noe=eoe,zv=Array.prototype,roe=function(e){var t=e.splice;return e===zv||toe(zv,e)&&t===zv.splice?noe:t},ioe=roe,ooe=ioe,aoe=ooe;const loe=me(aoe);var soe=Fi,uoe=soe("Array","concat"),coe=Cr,foe=uoe,Uv=Array.prototype,doe=function(e){var t=e.concat;return e===Uv||coe(Uv,e)&&t===Uv.concat?foe:t},poe=doe,hoe=poe,moe=hoe;const Ue=me(moe);var goe=Ce,voe=Ze,eT=Date,yoe=voe(eT.prototype.getTime);goe({target:"Date",stat:!0},{now:function(){return yoe(new eT)}});var boe=ht,woe=boe.Date.now,Soe=woe,xoe=Soe,koe=xoe;const ui=me(koe);var Eoe=$g.forEach,$oe=JI,Coe=$oe("forEach"),Aoe=Coe?[].forEach:function(t){return Eoe(this,t,arguments.length>1?arguments[1]:void 0)},Ioe=Ce,tT=Aoe;Ioe({target:"Array",proto:!0,forced:[].forEach!==tT},{forEach:tT});var Toe=Fi,Ooe=Toe("Array","forEach"),Poe=Ooe,_oe=Poe,Roe=Pl,Noe=nn,Moe=Cr,Doe=_oe,Hv=Array.prototype,Loe={DOMTokenList:!0,NodeList:!0},joe=function(e){var t=e.forEach;return e===Hv||Moe(Hv,e)&&t===Hv.forEach||Noe(Loe,Roe(e))?Doe:t},Foe=joe;const mf=me(Foe);var Boe=Ce,zoe=Ar,nT=gg,Uoe=it,Hoe=Uoe(function(){nT(1)});Boe({target:"Object",stat:!0,forced:Hoe},{keys:function(t){return nT(zoe(t))}});var Woe=ht,Voe=Woe.Object.keys,Koe=Voe,Goe=Koe,Qoe=Goe;const Yoe=me(Qoe);var qoe=ht,Joe=qoe.Object.getOwnPropertySymbols,Zoe=Joe,Xoe=Zoe,eae=Xoe;const rT=me(eae);var tae=Ce,nae=$g.filter,rae=Pc,iae=rae("filter");tae({target:"Array",proto:!0,forced:!iae},{filter:function(t){return nae(this,t,arguments.length>1?arguments[1]:void 0)}});var oae=Fi,aae=oae("Array","filter"),lae=Cr,sae=aae,Wv=Array.prototype,uae=function(e){var t=e.filter;return e===Wv||lae(Wv,e)&&t===Wv.filter?sae:t},cae=uae,fae=cae,dae=fae;const pae=me(dae);var iT={exports:{}},hae=Ce,mae=it,gae=tr,oT=$l.f,aT=Ut,vae=!aT||mae(function(){oT(1)});hae({target:"Object",stat:!0,forced:vae,sham:!aT},{getOwnPropertyDescriptor:function(t,n){return oT(gae(t),n)}});var yae=ht,lT=yae.Object,bae=iT.exports=function(t,n){return lT.getOwnPropertyDescriptor(t,n)};lT.getOwnPropertyDescriptor.sham&&(bae.sham=!0);var wae=iT.exports,Sae=wae,xae=Sae,kae=xae;const sT=me(kae);var Eae=nr,$ae=Ze,Cae=Lc,Aae=Fc,Iae=oi,Tae=$ae([].concat),Oae=Eae("Reflect","ownKeys")||function(t){var n=Cae.f(Iae(t)),r=Aae.f;return r?Tae(n,r(t)):n},Pae=Ce,_ae=Ut,Rae=Oae,Nae=tr,Mae=$l,Dae=Ol;Pae({target:"Object",stat:!0,sham:!_ae},{getOwnPropertyDescriptors:function(t){for(var n=Nae(t),r=Mae.f,i=Rae(n),o={},a=0,l,s;i.length>a;)s=r(n,l=i[a++]),s!==void 0&&Dae(o,l,s);return o}});var Lae=ht,jae=Lae.Object.getOwnPropertyDescriptors,Fae=jae,Bae=Fae,zae=B
219ae;const uT=me(zae);var cT={exports:{}},Uae=Ce,Hae=Ut,fT=_c.f;Uae({target:"Object",stat:!0,forced:Object.defineProperties!==fT,sham:!Hae},{defineProperties:fT});var Wae=ht,dT=Wae.Object,Vae=cT.exports=function(t,n){return dT.defineProperties(t,n)};dT.defineProperties.sham&&(Vae.sham=!0);var Kae=cT.exports,Gae=Kae,Qae=Gae,Yae=Qae;const qae=me(Yae);var Jae=PA;const Zae=me(Jae);var Xae=!1;function ele(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function tle(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var nle=function(){function e(n){var r=this;this._insertTag=function(i){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,o),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?!Xae:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(tle(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=ele(i);try{o.insertRule(r,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++}
vendor: 13,635 bytes, line 219
219,t.flush=function(){this.tags.forEach(function(r){var i;return(i=r.parentNode)==null?void 0:i.removeChild(r)}),this.tags=[],this.ctr=0},e}(),Ct="-ms-",gf="-moz-",we="-webkit-",pT="comm",Vv="rule",Kv="decl",rle="@import",hT="@keyframes",ile="@layer",ole=Math.abs,vf=String.fromCharCode,ale=Object.assign;function lle(e,t){return mt(e,0)^45?(((t<<2^mt(e,0))<<2^mt(e,1))<<2^mt(e,2))<<2^mt(e,3):0}function mT(e){return e.trim()}function sle(e,t){return(e=t.exec(e))?e[0]:e}function Se(e,t,n){return e.replace(t,n)}function Gv(e,t){return e.indexOf(t)}function mt(e,t){return e.charCodeAt(t)|0}function Jl(e,t,n){return e.slice(t,n)}function ar(e){return e.length}function Qv(e){return e.length}function yf(e,t){return t.push(e),e}function ule(e,t){return e.map(t).join("")}var bf=1,la=1,gT=0,Wt=0,Xe=0,sa="";function wf(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:bf,column:la,length:a,return:""}}function Zl(e,t){return ale(wf("",null,null,"",null,null,0),e,{length:-e.length},t)}function cle(){return Xe}function fle(){return Xe=Wt>0?mt(sa,--Wt):0,la--,Xe===10&&(la=1,bf--),Xe}function on(){return Xe=Wt<gT?mt(sa,Wt++):0,la++,Xe===10&&(la=1,bf++),Xe}function lr(){return mt(sa,Wt)}function Sf(){return Wt}function Xl(e,t){return Jl(sa,e,t)}function es(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function vT(e){return bf=la=1,gT=ar(sa=e),Wt=0,[]}function yT(e){return sa="",e}function xf(e){return mT(Xl(Wt-1,Yv(e===91?e+2:e===40?e+1:e)))}function dle(e){for(;(Xe=lr())&&Xe<33;)on();return es(e)>2||es(Xe)>3?"":" "}function ple(e,t){for(;--t&&on()&&!(Xe<48||Xe>102||Xe>57&&Xe<65||Xe>70&&Xe<97););return Xl(e,Sf()+(t<6&&lr()==32&&on()==32))}function Yv(e){for(;on();)switch(Xe){case e:return Wt;case 34:case 39:e!==34&&e!==39&&Yv(Xe);break;case 40:e===41&&Yv(e);break;case 92:on();break}return Wt}function hle(e,t){for(;on()&&e+Xe!==57;)if(e+Xe===84&&lr()===47)break;return"/*"+Xl(t,Wt-1)+"*"+vf(e===47?e:on())}function mle(e){for(;!es(lr());)on();return Xl(e,Wt)}function gle(e){return yT(kf("",null,null,null,[""],e=vT(e),0,[0],e))}function kf(e,t,n,r,i,o,a,l,s){for(var u=0,c=0,f=a,p=0,d=0,m=0,v=1,b=1,h=1,g=0,y="",S=i,$=o,x=r,A=y;b;)switch(m=g,g=on()){case 40:if(m!=108&&mt(A,f-1)==58){Gv(A+=Se(xf(g),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:A+=xf(g);break;case 9:case 10:case 13:case 32:A+=dle(m);break;case 92:A+=ple(Sf()-1,7);continue;case 47:switch(lr()){case 42:case 47:yf(vle(hle(on(),Sf()),t,n),s);break;default:A+="/"}break;case 123*v:l[u++]=ar(A)*h;case 125*v:case 59:case 0:switch(g){case 0:case 125:b=0;case 59+c:h==-1&&(A=Se(A,/\f/g,"")),d>0&&ar(A)-f&&yf(d>32?wT(A+";",r,n,f-1):wT(Se(A," ","")+";",r,n,f-2),s);break;case 59:A+=";";default:if(yf(x=bT(A,t,n,u,c,i,l,y,S=[],$=[],f),o),g===123)if(c===0)kf(A,t,x,x,S,o,f,l,$);else switch(p===99&&mt(A,3)===110?100:p){case 100:case 108:case 109:case 115:kf(e,x,x,r&&yf(bT(e,x,x,0,0,i,l,y,i,S=[],f),$),i,$,f,l,r?S:$);break;default:kf(A,x,x,x,[""],$,0,l,$)}}u=c=d=0,v=h=1,y=A="",f=a;break;case 58:f=1+ar(A),d=m;default:if(v<1){if(g==123)--v;else if(g==125&&v++==0&&fle()==125)continue}switch(A+=vf(g),g*v){case 38:h=c>0?1:(A+="\f",-1);break;case 44:l[u++]=(ar(A)-1)*h,h=1;break;case 64:lr()===45&&(A+=xf(on())),p=lr(),c=f=ar(y=A+=mle(Sf())),g++;break;case 45:m===45&&ar(A)==2&&(v=0)}}return o}function bT(e,t,n,r,i,o,a,l,s,u,c){for(var f=i-1,p=i===0?o:[""],d=Qv(p),m=0,v=0,b=0;m<r;++m)for(var h=0,g=Jl(e,f+1,f=ole(v=a[m])),y=e;h<d;++h)(y=mT(v>0?p[h]+" "+g:Se(g,/&\f/g,p[h])))&&(s[b++]=y);return wf(e,t,n,i===0?Vv:l,s,u,c)}function vle(e,t,n){return wf(e,t,n,pT,vf(cle()),Jl(e,2,-2),0)}function wT(e,t,n,r){return wf(e,t,n,Kv,Jl(e,0,r),Jl(e,r+1,-1),r)}function ua(e,t){for(var n="",r=Qv(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function yle(e,t,n,r){switch(e.type){case ile:if(e.children.length)break;case rle:case Kv:return e.return=e.return||e.value;case pT:return"";case hT:return e.return=e.value+"{"+ua(e.children,r)+"}";case Vv:e.value=e.props.join(",")}return ar(n=ua(e.children,r))?e.return=e.value+"{"+n+"}":""}function ble(e){var t=Qv(e);return function(n,r,i,o){for(var a="",l=0;l<t;l++)a+=e[l](n,r,i,o)||"";return a}}function wle(e){return function(t){t.root||(t=t.return)&&e(t)}}function Sle(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var xle=function(t,n,r){for(var i=0,o=0;i=o,o=lr(),i===38&&o===12&&(n[r]=1),!es(o);)on();return Xl(t,Wt)},kle=function(t,n){var r=-1,i=44;do switch(es(i)){case 0:i===38&&lr()===12&&(n[r]=1),t[r]+=xle(Wt-1,n,r);break;case 2:t[r]+=xf(i);break;case 4:if(i===44){t[++r]=lr()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=vf(i)}while(i=on());return t},Ele=function(t,n){return yT(kle(vT(t),n))},ST=new WeakMap,$le=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!ST.get(r))&&!i){ST.set(t,!0);for(var o=[],a=Ele(n,o),l=r.props,s=0,u=0;s<a.length;s++)for(var c=0;c<l.length;c++,u++)t.props[u]=o[s]?a[s].replace(/&\f/g,l[c]):l[c]+" "+a[s]}}},Cle=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function xT(e,t){switch(lle(e,t)){case 5103:return we+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return we+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return we+e+gf+e+Ct+e+e;case 6828:case 4268:return we+e+Ct+e+e;case 6165:return we+e+Ct+"flex-"+e+e;case 5187:return we+e+Se(e,/(\w+).+(:[^]+)/,we+"box-$1$2"+Ct+"flex-$1$2")+e;case 5443:return we+e+Ct+"flex-item-"+Se(e,/flex-|-self/,"")+e;case 4675:return we+e+Ct+"flex-line-pack"+Se(e,/align-content|flex-|-self/,"")+e;case 5548:return we+e+Ct+Se(e,"shrink","negative")+e;case 5292:return we+e+Ct+Se(e,"basis","preferred-size")+e;case 6060:return we+"box-"+Se(e,"-grow","")+we+e+Ct+Se(e,"grow","positive")+e;case 4554:return we+Se(e,/([^-])(transform)/g,"$1"+we+"$2")+e;case 6187:return Se(Se(Se(e,/(zoom-|grab)/,we+"$1"),/(image-set)/,we+"$1"),e,"")+e;case 5495:case 3959:return Se(e,/(image-set\([^]*)/,we+"$1$`$1");case 4968:return Se(Se(e,/(.+:)(flex-)?(.*)/,we+"box-pack:$3"+Ct+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+we+e+e;case 4095:case 3583:case 4068:case 2532:return Se(e,/(.+)-inline(.+)/,we+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ar(e)-1-t>6)switch(mt(e,t+1)){case 109:if(mt(e,t+4)!==45)break;case 102:return Se(e,/(.+:)(.+)-([^]+)/,"$1"+we+"$2-$3$1"+gf+(mt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Gv(e,"stretch")?xT(Se(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(mt(e,t+1)!==115)break;case 6444:switch(mt(e,ar(e)-3-(~Gv(e,"!important")&&10))){case 107:return Se(e,":",":"+we)+e;case 101:return Se(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+we+(mt(e,14)===45?"inline-":"")+"box$3$1"+we+"$2$3$1"+Ct+"$2box$3")+e}break;case 5936:switch(mt(e,t+11)){case 114:return we+e+Ct+Se(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return we+e+Ct+Se(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return we+e+Ct+Se(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return we+e+Ct+e+e}return e}var Ale=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case Kv:t.return=xT(t.value,t.length);break;case hT:return ua([Zl(t,{value:Se(t.value,"@","@"+we)})],i);case Vv:if(t.length)return ule(t.props,function(o){switch(sle(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ua([Zl(t,{props:[Se(o,/:(read-\w+)/,":"+gf+"$1")]})],i);case"::placeholder":return ua([Zl(t,{props:[Se(o,/:(plac\w+)/,":"+we+"input-$1")]}),Zl(t,{props:[Se(o,/:(plac\w+)/,":"+gf+"$1")]}),Zl(t,{props:[Se(o,/:(plac\w+)/,Ct+"input-$1")]})],i)}return""})}},Ile=[Ale],Tle=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var b=v.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var i=t.stylisPlugins||Ile,o={},a,l=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(v){for(var b=v.getAttribute("data-emotion").split(" "),h=1;h<b.length;h++)o[b[h]]=!0;l.push(v)});var s,u=[$le,Cle];{var c,f=[yle,wle(function(v){c.insert(v)})],p=ble(u.concat(i,f)),d=function(b){return ua(gle(b),p)};s=function(b,h,g,y){c=g,d(b?b+"{"+h.styles+"}":h.styles),y&&(m.inserted[h.name]=!0)}}var m={key:n,sheet:new nle({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:s};return m.sheet.hydrate(l),m};function Ole(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Ple={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},_le=!1,Rle=/[A-Z]|^ms/g,Nle=/_EMO_([^_]+?)_([^]*?)_EMO_/g,kT=function(t){return t.charCodeAt(1)===45},ET=function(t){return t!=null&&typeof t!="boolean"},qv=Sle(function(e){return kT(e)?e:e.replace(Rle,"-$&").toLowerCase()}),$T=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Nle,function(r,i,o){return ci={name:i,styles:o,next:ci},i})}return Ple[t]!==1&&!kT(t)&&typeof n=="number"&&n!==0?n+"px":n},Mle="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ef(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return ci={name:i.name,styles:i.styles,next:ci},i.name;var o=n;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)ci={name:a.name,styles:a.styles,next:ci},a=a.next;var l=o.styles+";";return l}return Dle(e,t,n)}}var s=n;if(t==null)return s;var u=t[s];return u!==void 0?u:s}function Dle(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Ef(e,t,n[i])+";";else for(var o in n){var a=n[o];if(typeof a!="object"){var l=a;t!=null&&t[l]!==void 0?r+=o+"{"+t[l]+"}":ET(l)&&(r+=qv(o)+":"+$T(o,l)+";")}else{if(o==="NO_COMPONENT_SELECTOR"&&_le)throw new Error(Mle);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var s=0;s<a.length;s++)ET(a[s])&&(r+=qv(o)+":"+$T(o,a[s])+";");else{var u=Ef(e,t,a);switch(o){case"animation":case"animationName":{r+=qv(o)+":"+u+";";break}default:r+=o+"{"+u+"}"}}}}return r}var CT=/label:\s*([^\s;{]+)\s*(;|$)/g,ci;function Jv(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i="";ci=void 0;var o=e[0];if(o==null||o.raw===void 0)r=!1,i+=Ef(n,t,o);else{var a=o;i+=a[0]}for(var l=1;l<e.length;l++)if(i+=Ef(n,t,e[l]),r){var s=o;i+=s[l]}CT.lastIndex=0;for(var u="",c;(c=CT.exec(i))!==null;)u+="-"+c[1];var f=Ole(i)+u;return{name:f,styles:i,next:ci}}function AT(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(r+=i+" ")}),r}var Lle=function(t,n,r){var i=t.key+"-"+n.name;t.registered[i]===void 0&&(t.registered[i]=n.styles)},jle=function(t,n,r){Lle(t,n);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function IT(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function TT(e,t,n){var r=[],i=AT(e,r,n);return r.length<2?n:i+t(r)}var Fle=function(t){var n=Tle(t);n.sheet.speedy=function(l){this.isSpeedy=l},n.compat=!0;var r=function(){for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];var f=Jv(u,n.registered,void 0);return jle(n,f),n.key+"-"+f.name},i=function(){for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];var f=Jv(u,n.registered),p="animation-"+f.name;return IT(n,{name:f.name,styles:"@keyframes "+p+"{"+f.styles+"}"}),p},o=function(){for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];var f=Jv(u,n.registered);IT(n,f)},a=function(){for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];return TT(n.registered,r,Ble(u))};return{css:r,cx:a,injectGlobal:o,keyframes:i,hydrate:function(s){s.forEac
219h(function(u){n.inserted[u]=!0})},flush:function(){n.registered={},n.inserted={},n.sheet.flush()},sheet:n.sheet,cache:n,getRegisteredStyles:AT.bind(null,n.registered),merge:TT.bind(null,n.registered,r)}},Ble=function e(t){for(var n="",r=0;r<t.length;r++){var i=t[r];if(i!=null){var o=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))o=e(i);else{o="";for(var a in i)i[a]&&a&&(o&&(o+=" "),o+=a)}break}default:o=i}o&&(n&&(n+=" "),n+=o)}}return n},zle=Ql,Zv=Date.prototype,OT="Invalid Date",PT="toString",Ule=Zv[PT],Hle=Zv.getTime;String(new Date(NaN))!=OT&&zle(Zv,PT,function(){var t=Hle.call(this);return t===t?Ule.call(this):OT});var Wle=Av,Vle=AI,Kle=Wle?{}.toString:function(){return"[object "+Vle(this)+"]"},Gle=Av,Qle=Ql,Yle=Kle;Gle||Qle(Object.prototype,"toString",Yle,{unsafe:!0});var qle=kv.PROPER,Jle=Ql,Zle=si,_T=cf,Xle=Bn,ese=II,Xv="toString",RT=RegExp.prototype,NT=RT[Xv],tse=Xle(function(){return NT.call({source:"a",flags:"b"})!="/a/b"}),nse=qle&&NT.name!=Xv;(tse||nse)&&Jle(RegExp.prototype,Xv,function(){var t=Zle(this),n=_T(t.source),r=t.flags,i=_T(r===void 0&&t instanceof RegExp&&!("flags"in RT)?ese.call(t):r);return"/"+n+"/"+i},{unsafe:!0});var MT=typeof window<"u"?window:self,rse=MT.crypto||MT.msCrypto,ise=function(e){if(!e)return Math.random;var t=Math.pow(2,32),n=new Uint32Array(1);return function(){return e.getRandomValues(n)[0]/t}}(rse);const ose=me(ise);function ase(){return ose().toString(26).substr(2,5).replace(/[0-9]/g,function(e){return String.fromCharCode(e.charCodeAt(0)+65)})}var lse=g$;const DT=me(lse);function Ee(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"white",n="background-color: ".concat(e,"; border-radius: 4px; padding: 2px 4px;");return t&&(n+=" color: ".concat(t,";")),[n,""]}function LT(e,t){for(var n,r,i=arguments.length,o=new Array(i>2?i-2:0),a=2;a<i;a++)o[a-2]=arguments[a];return Ue(n=[Ue(r="%c".concat(e,"%c ")).call(r,t)]).call(n,ve(Ee("green","white")),o)}function sse(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.force,r=n===void 0?!1:n;return r?function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];if(o.length){var l=o,s=ir(l,1),u=s[0];typeof u=="function"&&(o=u());var c=DT(o[0])?o:[o],f=c.length===1;mf(c).call(c,function(p,d){if(f){var m,v;(m=console).log.apply(m,ve(LT.apply(void 0,Ue(v=[e]).call(v,ve(p)))))}else if(d){var b;(b=console).log.apply(b,ve(DT(p)?p:[p]))}else{var h,g;(h=console).groupCollapsed.apply(h,ve(LT.apply(void 0,Ue(g=[e]).call(g,ve(p)))))}}),f||console.groupEnd()}}:function(){return 0}}var use=Bi,cse=kv.EXISTS,fse=Kl.f,jT=Function.prototype,dse=jT.toString,pse=/^\s*function ([^ (]*)/,hse="name";use&&!cse&&fse(jT,hse,{configurable:!0,get:function(){try{return dse.call(this).match(pse)[1]}catch{return""}}});var mse=ht,gse=mse.setTimeout,vse=gse;const yse=me(vse);function bse(e,t){if(!t)return e;var n=0,r=null;return function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var l=ui();l-n>t?(e.apply(void 0,o),n=l):(clearTimeout(r),r=yse(function(){e.apply(void 0,o),n=ui()},Math.max(0,t-l+n)))}}var FT=function(t){var n=t.debounce,r=t.name,i=t.onEvent,o=t.target,a=k.useRef();a.current=i;var l=k.useMemo(function(){return bse(function(u){var c=a.current;c&&c(u)},n)},[n,a]),s=k.useCallback(function(u){u.timeStampLow=ui(),l(u)},[l]);return k.useLayoutEffect(function(){return o.addEventListener(r,s,{passive:!0}),s({target:o,type:r}),function(){return o.removeEventListener(r,s)}},[r,s,o]),!1};FT.defaultProps={debounce:200};var wse=Math.sign||function(t){var n=+t;return n===0||n!==n?n:n<0?-1:1},Sse=Ce,xse=wse;Sse({target:"Math",stat:!0},{sign:xse});var kse=ht,Ese=kse.Math.sign,$se=Ese,Cse=$se,Ase=Cse;const Ise=me(Ase);function Tse(e,t){var n=Ise(t-e),r=Math.sqrt(Math.abs(t-e)),i=e+r*n;return n>0?Math.min(t,i):Math.max(t,i)}function Ose(e,t,n,r){for(var i=e,o=0;o<r;o++)i=n(i,t);return i}var BT=function(t){var n=t.name,r=t.onEnd,i=t.target,o=t.value,a=k.useRef(),l=k.useCallback(function(u,c,f,p){var d=arguments.length>4&&arguments[4]!==void 0?arguments[4]:ui();(f==="100%"||typeof f=="number")&&(cancelAnimationFrame(a.current),a.current=requestAnimationFrame(function(){if(i){var m=f==="100%"?i.scrollHeight-i.offsetHeight:f,v=Ose(c,m,Tse,(ui()-d)/5);Math.abs(m-v)<1.5&&(v=m),i[u]=v,m===v?r&&r(!0):l(u,c,f,p+1,d)}}))},[a,r,i]),s=k.useCallback(function(){cancelAnimationFrame(a.current),r&&r(!1)},[r]);return k.useLayoutEffect(function(){return l(n,i[n],o,1),i?(i.addEventListener("pointerdown",s,{passive:!0}),i.addEventListener("wheel",s,{passive:!0}),function(){i.removeEventListener("pointerdown",s),i.removeEventListener("wheel",s),cancelAnimationFrame(a.current)}):function(){return cancelAnimationFrame(a.current)}},[l,a,s,n,i,o]),!1};BT.propTypes={name:be.string.isRequired,onEnd:be.func,target:be.any.isRequired,value:be.oneOfType([be.number,be.oneOf(["100%"])]).isRequired};function ey(e){var t=k.useState(e),n=ir(t,2),r=n[0],i=n[1],o=k.useRef(),a=k.useCallback(function(l){typeof l=="function"?a(function(s){return l=l(s),o.current=l,l}):(o.current=l,a(l))},[o]);return o.current=r,[r,i,o]}function zT(e,t){var n=Yoe(e);if(rT){var r=rT(e);t&&(r=pae(r).call(r,function(i){return sT(e,i).enumerable})),n.push.apply(n,r)}return n}function UT(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};if(t%2){var r;mf(r=zT(Object(n),!0)).call(r,function(o){UX(e,o,n[o])})}else if(uT)qae(e,uT(n));else{var i;mf(i=zT(Object(n))).call(i,function(o){Zae(e,o,sT(n,o))})}}return e}var Pse=function(){return 1/0},HT=17,_se="bottom",zn="top",WT=1,Rse=34,VT={};function Nse(e,t){return e(),xie(e,t)}function KT(e){var t=e.mode,n=e.target,r=n.offsetHeight,i=n.scrollHeight,o=n.scrollTop,a=i-o-r<WT,l=o<WT,s=t===zn?l:a,u=t!==zn?l:a;return{atBottom:a,atEnd:s,atStart:u,atTop:l}}function ts(e,t){return e===(t===zn?0:"100%")}var ty=function(t){var n=t.checkInterval,r=t.children,i=t.debounce,o=t.debug,a=t.initialScrollBehavior,l=t.mode,s=t.nonce,u=t.scroller,c=k.useMemo(function(){return sse("<ScrollToBottom>",{force:o})},[o]);l=l===zn?zn:_se;var f=k.useRef(0),p=k.useRef(a),d=ey(l===zn?0:"100%"),m=ir(d,3),v=m[0],b=m[1],h=m[2],g=ey(null),y=ir(g,3),S=y[0],$=y[1],x=y[2],A=k.useRef(0),T=k.useRef(0),j=k.useRef(0),C=k.useState(!0),O=ir(C,2),D=O[0],N=O[1],M=k.useState(!0),_=ir(M,2),R=_[0],U=_[1],I=k.useState(!0),B=ir(I,2),w=B[0],z=B[1],W=k.useState(!1),E=ir
219(W,2),Q=E[0],oe=E[1],ne=ey(!0),ae=ir(ne,3),he=ae[0],de=ae[1],X=ae[2],G=k.useRef([]),ee=k.useCallback(function(L){var K=x.current;return G.current.push(L),K&&L({scrollTop:K.scrollTop}),function(){var J=G.current,re=Lie(J).call(J,L);~re&&loe(J).call(J,re,1)}},[G,x]),Y=k.useCallback(function(){var L=h.current;c(function(){var K;return Ue(K=["%cSpineTo%c: %conEnd%c is fired."]).call(K,ve(Ee("magenta")),ve(Ee("orange")),[{animateTo:L}])}),f.current=ui(),ts(L,l)||de(!1),b(null)},[h,c,f,l,b,de]),te=k.useCallback(function(L){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},J=K.behavior,re=x.current;if(typeof L!="number"&&L!=="100%")return console.warn('react-scroll-to-bottom: Arguments passed to scrollTo() must be either number or "100%".');c(function(){var pe;return[Ue(pe=["%cscrollTo%c: Will scroll to %c".concat(typeof L=="number"?L+"px":L.replace(/%/g,"%%"),"%c")]).call(pe,ve(Ee("lime","")),ve(Ee("purple"))),{behavior:J,nextAnimateTo:L,target:re}]}),J==="auto"?(Y(),re&&(re.scrollTop=L==="100%"?re.scrollHeight-re.offsetHeight:L)):(J!=="smooth"&&console.warn('react-scroll-to-bottom: Please set "behavior" when calling "scrollTo". In future versions, the default behavior will be changed from smooth scrolling to discrete scrolling to align with HTML Standard.'),b(L)),ts(L,l)&&(c(function(){var pe;return[Ue(pe=["%cscrollTo%c: Scrolling to end, will set sticky to %ctrue%c."]).call(pe,ve(Ee("lime","")),ve(Ee("purple"))),[{mode:l,nextAnimateTo:L}]]}),de(!0))},[c,Y,l,b,de,x]),ue=k.useCallback(function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},K=L.behavior;c(function(){var J;return Ue(J=["%cscrollToBottom%c: Called"]).call(J,ve(Ee("yellow","")))}),K!=="smooth"&&console.warn('react-scroll-to-bottom: Please set "behavior" when calling "scrollToBottom". In future versions, the default behavior will be changed from smooth scrolling to discrete scrolling to align with HTML Standard.'),te("100%",{behavior:K||"smooth"})},[c,te]),q=k.useCallback(function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},K=L.behavior;c(function(){var J;return Ue(J=["%cscrollToTop%c: Called"]).call(J,ve(Ee("yellow","")))}),K!=="smooth"&&console.warn('react-scroll-to-bottom: Please set "behavior" when calling "scrollToTop". In future versions, the default behavior will be changed from smooth scrolling to discrete scrolling to align with HTML Standard.'),te(0,{behavior:K||"smooth"})},[c,te]),xe=k.useCallback(function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},K=L.behavior;c(function(){var re;return Ue(re=["%cscrollToEnd%c: Called"]).call(re,ve(Ee("yellow","")))}),K!=="smooth"&&console.warn('react-scroll-to-bottom: Please set "behavior" when calling "scrollToEnd". In future versions, the default behavior will be changed from smooth scrolling to discrete scrolling to align with HTML Standard.');var J={behavior:K||"smooth"};l===zn?q(J):ue(J)},[c,l,ue,q]),Te=k.useCallback(function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},K=L.behavior;c(function(){var re;return Ue(re=["%cscrollToStart%c: Called"]).call(re,ve(Ee("yellow","")))}),K!=="smooth"&&console.warn('react-scroll-to-bottom: Please set "behavior" when calling "scrollToStart". In future versions, the default behavior will be changed from smooth scrolling to discrete scrolling to align with HTML Standard.');var J={behavior:K||"smooth"};l===zn?ue(J):q(J)},[c,l,ue,q]),Qe=k.useCallback(function(){var L=x.current;if(L){if(p.current==="auto"){c(function(){var Kt;return Ue(Kt=["%ctarget changed%c: Initial scroll"]).call(Kt,ve(Ee("blue")))}),L.scrollTop=l===zn?0:L.scrollHeight-L.offsetHeight,p.current=!1;return}var K=A.current,J=L.offsetHeight,re=L.scrollHeight,pe=L.scrollTop,gt=l===zn?0:Math.max(0,re-J-pe),vt=Math.max(0,K-pe),dr=u({maxValue:gt,minValue:vt,offsetHeight:J,scrollHeight:re,scrollTop:pe}),Vt=Math.max(0,Math.min(gt,dr)),De;l===zn||Vt!==gt?De=pe+Vt:De="100%",c(function(){var Kt,At,ca;return[Ue(Kt=[Ue(At=Ue(ca="%cscrollToSticky%c: Will animate from %c".concat(K,"px%c to %c")).call(ca,typeof De=="number"?De+"px":De.replace(/%/g,"%%"),"%c (%c")).call(At,(De==="100%"?gt
219:De)+K,"px%c)")]).call(Kt,ve(Ee("orange")),ve(Ee("purple")),ve(Ee("purple")),ve(Ee("purple"))),{animateFrom:K,maxValue:gt,minValue:vt,nextAnimateTo:De,nextValue:Vt,offsetHeight:J,rawNextValue:dr,scrollHeight:re,scrollTop:pe}]}),te(De,{behavior:"smooth"})}},[A,c,l,u,te,x]),an=k.useCallback(function(L){var K,J=L.timeStampLow,re=h.current,pe=x.current,gt=re!==null;if(!(J<=f.current||!pe)){var vt=KT({mode:l,target:pe}),dr=vt.atBottom,Vt=vt.atEnd,De=vt.atStart,Kt=vt.atTop;N(dr),U(Vt),oe(De),z(Kt);var At=pe.offsetHeight,ca=pe.scrollHeight,lO=T.current,sO=j.current,sy=At!==lO,uy=ca!==sO;if(sy&&(T.current=At),uy&&(j.current=ca),!sy&&!uy){var Pf=gt&&ts(re,l)||Vt;X.current!==Pf&&(c(function(){var Vi,uO,cO,fO;return[Ue(Vi=["%conScroll%c: %csetSticky%c(%c".concat(Pf,"%c)")]).call(Vi,ve(Ee("red")),ve(Ee("red")),ve(Ee("purple"))),Ue(uO=[Ue(cO=Ue(fO="(animating = %c".concat(gt,"%c && isEnd = %c")).call(fO,ts(re,l),"%c) || atEnd = %c")).call(cO,Vt,"%c")]).call(uO,ve(Ee("purple")),ve(Ee("purple")),ve(Ee("purple")),[{animating:gt,animateTo:re,atEnd:Vt,mode:l,offsetHeight:pe.offsetHeight,scrollHeight:pe.scrollHeight,sticky:X.current,nextSticky:Pf}])]}),de(Pf))}else X.current&&(c(function(){var Vi;return[Ue(Vi=["%conScroll%c: Size changed while sticky, calling %cscrollToSticky()%c"]).call(Vi,ve(Ee("red")),ve(Ee("orange")),[{offsetHeightChanged:sy,scrollHeightChanged:uy}]),{nextOffsetHeight:At,prevOffsetHeight:lO,nextScrollHeight:ca,prevScrollHeight:sO}]}),Qe());var yue=pe.scrollTop;mf(K=G.current).call(K,function(Vi){return Vi({scrollTop:yue})})}},[h,c,f,l,T,j,G,Qe,N,U,oe,z,de,X,x]);k.useEffect(function(){if(S){var L=!1,K=Nse(function(){var J=x.current,re=h.current!==null;X.current?KT({mode:l,target:J}).atEnd?L=!1:L?ui()-L>Rse&&(re||(A.current=J.scrollTop,c(function(){var pe;return Ue(pe=["%cInterval check%c: Should sticky but not at end, calling %cscrollToSticky()%c to scroll"]).call(pe,ve(Ee("navy")),ve(Ee("orange")))}),Qe()),L=!1):L=ui():J.scrollHeight<=J.offsetHeight&&!X.current&&(c(function(){var pe;return[Ue(pe=["%cInterval check%c: Container is emptied, setting sticky back to %ctrue%c"]).call(pe,ve(Ee("navy")),ve(Ee("purple"))),[{offsetHeight:J.offsetHeight,scrollHeight:J.scrollHeight,sticky:X.current}]]}),de(!0))},Math.max(HT,n)||HT);return function(){return clearInterval(K)}}},[h,n,c,l,Qe,de,X,S,x]);var xn=k.useMemo(function(){var L=VT[s]||(VT[s]=Fle({key:"react-scroll-to-bottom--css-"+ase(),nonce:s}));return function(K){return L.css(K)+""}},[s]),fr=k.useMemo(function(){return{observeScrollPosition:ee,setTarget:$,styleToClassName:xn}},[ee,$,xn]),kn=k.useMemo(function(){return{atBottom:D,atEnd:R,atStart:Q,atTop:w,mode:l}},[D,R,Q,w,l]),ln=k.useMemo(function(){var L=v!==null;return{animating:L,animatingToEnd:L&&ts(v,l),sticky:he}},[v,l,he]),Hn=k.useMemo(function(){return UT(UT({},kn),ln)},[kn,ln]),F=k.useMemo(function(){return{scrollTo:te,scrollToBottom:ue,scrollToEnd:xe,scrollToStart:Te,scrollToTop:q}},[te,ue,xe,Te,q]);return k.useEffect(function(){if(S){var L=function(){j.current=S.scrollHeight};return S.addEventListener("focus",L,{capture:!0,passive:!0}),function(){return S.removeEventListener("focus",L)}}},[S]),c(function(){var L;return[Ue(L=["%cRender%c: Render"]).call(L,ve(Ee("cyan",""))),{animateTo:v,animating:v!==null,sticky:he,target:S}]}),We.createElement(Xc.Provider,{value:fr},We.createElement(ev.Provider,{value:F},We.createElement(rv.Provider,{value:Hn},We.createElement(tv.Provider,{value:kn},We.createElement(nv.Provider,{value:ln},r,S&&We.createElement(FT,{debounce:i,name:"scroll",onEvent:an,target:S}),S&&v!==null&&We.createElement(BT,{name:"scrollTop",onEnd:Y,target:S,value:v}))))))};ty.defaultProps={checkInterval:100,children:void 0,debounce:17,debug:void 0,initialScrollBehavior:"smooth",mode:void 0,nonce:void 0,scroller:Pse},ty.propTypes={checkInterval:be.number,children:be.any,debounce:be.number,debug:be.bool,initialScrollBehavior:be.oneOf(["auto","smooth"]),mode:be.oneOf(["bottom","top"]),nonce:be.string,scroller:be.func};var Mse={height:"100%",overflowY:"auto",width:"100%"},ny=function(t){var n=t.children,r=t.className,i=k.useContext(Xc),o=i.setTarget,a=iv()(Mse);return We.createElement("div",{className:Xg(a,(r||"")+""),ref:o},n)};ny.defaultProps={children:void 0,className:void 0},ny.propTypes={children:be.any,className:be.string};var Dse={position:"relative"},ry=function(t){var n=t.children,r=t.className,i=t.followButtonClassName,o=t.scrollViewClassName,a=iv()(Dse);return We.createElement("div",{className:Xg(a,(r||"")+"")},We.createElement(ny,{className:(o||"")+""},n),We.createElement(ov,{className:(i||"")+""}))};ry.defaultProps={children:void 0,className:void 0,followButtonClassName:void 0,scrollViewClassName:void 0},ry.propTypes={children:be.any,className:be.string,followButtonClassName:be.string,scrollViewClassName:be.string};var iy=function(t){var n=t.checkInterval,r=t.children,i=t.className,o=t.debounce,a=t.debug,l=t.followButtonClassName,s=t.initialScrollBehavior,u=t.mode,c=t.nonce,f=t.scroller,p=t.scrollViewClassName;
219return We.createElement(ty,{checkInterval:n,debounce:o,debug:a,initialScrollBehavior:s,mode:u,nonce:c,scroller:f},We.createElement(ry,{className:i,followButtonClassName:l,scrollViewClassName:p},r))};iy.defaultProps={checkInterval:void 0,children:void 0,className:void 0,debounce:void 0,debug:void 0,followButtonClassName:void 0,initialScrollBehavior:"smooth",mode:void 0,nonce:void 0,scroller:void 0,scrollViewClassName:void 0},iy.propTypes={checkInterval:be.number,children:be.any,className:be.string,debounce:be.number,debug:be.bool,followButtonClassName:be.string,initialScrollBehavior:be.oneOf(["auto","smooth"]),mode:be.oneOf(["bottom","top"]),nonce:be.string,scroller:be.func,scrollViewClassName:be.string},W8();let Lse=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((t,n)=>(n&=63,n<36?t+=n.toString(36):n<62?t+=(n-26).toString(36).toUpperCase():n>62?t+="-":t+="_",t),"");const jse=k.memo(({className:e,messages:t=[],isTyping:n,headerMessage:r,renderers:i,botAvatar:o,botDescription:a,botName:l,sendMessage:s,addMessageFeedback:u,showMarquee:c=!0,showDateSystemMessage:f=!0,showMessageStatus:p=!0,showIncomingMessageAvatar:d=!0,showOutgoingMessageAvatar:m=!1,...v})=>{const{messageList:b}=Ie,h=k.useMemo(()=>f?Vj(t):t,[t]),g=k.useMemo(()=>{const S=h.filter($=>$.direction==="outgoing"&&$.status!=="pending");return S[S.length-1]?.id},[h]),y=S=>{if(S.direction==="incoming")return d;if(S.direction==="outgoing")return m};return P.jsxs(iy,{...v,className:_m(b.container.className,e),followButtonClassName:b.scrollDownButton.className,scrollViewClassName:b.viewPort.className,children:[r&&P.jsx("span",{...b.headerMessage,children:r}),c&&P.jsx(U8,{botAvatar:o,botDescription:a,botName:l}),h.map(S=>P.jsx(RE,{renderers:i,sendMessage:s,addMessageFeedback:u,isLastDeliveredMessage:p&&S.id===g,showAvatar:y(S),...S},S.metadata?.clientMessageId||S.id)),n&&P.jsx(RE,{id:Lse(),renderers:i,sendMessage:s,direction:"incoming",timestamp:new Date,showAvatar:d,block:void 0,sender:t.filter(S=>S.direction==="incoming").at(-1)?.sender??{name:l||"Bot",avatar:o},children:P.jsx(_E,{})})]})});jse.displayName="MessageList";var Fse=Object.defineProperty,Bse=(e,t,n)=>t in e?Fse(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zse=(e,t,n)=>Bse(e,t+"",n),Use=async(e,t)=>{let n=typeof t=="function"?await t(e):t;if(n)return e.scheme==="bearer"?`Bearer ${n}`:e.scheme==="basic"?`Basic ${btoa(n)}`:n},Hse={bodySerializer:e=>JSON.stringify(e,(t,n)=>typeof n=="bigint"?n.toString():n)},Wse=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},Vse=e=>{switch(e){case"form":return",";case"pipeDelimited":return"|";case"spaceDelimited":return"%20";default:return","}},Kse=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},GT=({allowReserved:e,explode:t,name:n,style:r,value:i})=>{if(!t){let l=(e?i:i.map(s=>encodeURIComponent(s))).join(Vse(r));switch(r){case"label":return`.${l}`;case"matrix":return`;${n}=${l}`;case"simple":return l;default:return`${n}=${l}`}}let o=Wse(r),a=i.map(l=>r==="label"||r==="simple"?e?l:encodeURIComponent(l):$f({allowReserved:e,name:n,value:l})).join(o);return r==="label"||r==="matrix"?o+a:a},$f=({allowReserved:e,name:t,value:n})=>{if(n==null)return"";if(typeof n=="object")throw new Error("Deeply-nested arrays/objects arenât supported. Provide your own `querySerializer()` to handle these.");return`${t}=${e?n:encodeURIComponent(n)}`},QT=({allowReserved:e,explode:t,name:n,style:r,value:i})=>{if(i instanceof Date)return`${n}=${i.toISOString()}`;if(r!=="deepObject"&&!t){let l=[];Object.entries(i).forEach(([u,c])=>{l=[...l,u,e?c:encodeURIComponent(c)]});let s=l.join(",");switch(r){case"form":return`${n}=${s}`;case"label":return`.${s}`;case"matrix":return`;${n}=${s}`;default:return s}}let o=Kse(r),a=Object.entries(i).map(([l,s])=>$f({allowReserved:e,name:r==="deepObject"?`${n}[${l}]`:l,value:s})).join(o);return r==="label"||r==="matrix"?o+a:a},Gse=/\{[^{}]+\}/g,Qse=({path:e,url:t})=>{let n=t,r=t.match(Gse);if(r)for(let i of r){let o=!1,a=i.substring(1,i.length-1),l="simple";a.endsWith("*")&&(o=!0,a=a.substring(0,a.length-1)),a.startsWith(".")?(a=a.substring(1),l="label"):a.startsWith(";")&&(a=a.substring(1),l="matrix");let s=e[a];if(s==null)continue;if(Array.isArray(s)){n=n.replace(i,GT({explode:o,name:a,style:l,value:s}));continue}if(typeof s=="object"){n=n.replace(i,QT({explode:o,name:a,style:l,value:s}));continue}if(l==="matrix"){n=n.replace(i,`;${$f({name:a,value:s})}`);continue}let u=encodeURIComponent(l==="label"?`.${s}`:s);n=n.replace(i,u)}return n},YT=({allowReserved:e,array:t,object:n}={})=>r=>{let i=[];if(r&&typeof r=="object")for(let o in r){let a=r[o];if(a!=null){if(Array.isArray(a)){i=[...i,GT({allowReserved:e,explode:!0,name:o,style:"form",value:a,...t})];continue}if(typeof a=="object"){i=[...i,QT({allowReserved:e,explode:!0,name:o,style:"deepObject",value:a,...n})];continue}i=[...i,$f({allowReserved:e,name:o,value:a})]}}return i.join("&")},Yse=e=>{var t;if(!e)return"stream";let n=(t=e.split(";")[0])==null?void 0:t.trim();if(n){if(n.startsWith("application/json")||n.endsWith("+json"))return"json";if(n==="multipart/form-data")return"formData";if(["application/","audio/","image/","video/"].some(r=>n.startsWith(r)))return"blob";if(n.startsWith("text/"))return"text"}},qse=async({security:e,...t})=>{for(let n of e){let r=await Use(n,t.auth);if(!r)continue;let i=n.name??"Authorization";switch(n.in){case"query":t.query||(t.query={}),t.query[i]=r;break;case"cookie":t.headers.append("Cookie",`${i}=${r}`);break;case"header":default:t.headers.set(i,r);break}return}},qT=e=>Jse({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer
219=="function"?e.querySerializer:YT(e.querySerializer),url:e.url}),Jse=({baseUrl:e,path:t,query:n,querySerializer:r,url:i})=>{let o=i.startsWith("/")?i:`/${i}`,a=(e??"")+o;t&&(a=Qse({path:t,url:a}));let l=n?r(n):"";return l.startsWith("?")&&(l=l.substring(1)),l&&(a+=`?${l}`),a},JT=(e,t)=>{var n;let r={...e,...t};return(n=r.baseUrl)!=null&&n.endsWith("/")&&(r.baseUrl=r.baseUrl.substring(0,r.baseUrl.length-1)),r.headers=ZT(e.headers,t.headers),r},ZT=(...e)=>{let t=new Headers;for(let n of e){if(!n||typeof n!="object")continue;let r=n instanceof Headers?n.entries():Object.entries(n);for(let[i,o]of r)if(o===null)t.delete(i);else if(Array.isArray(o))for(let a of o)t.append(i,a);else o!==void 0&&t.set(i,typeof o=="object"?JSON.stringify(o):o)}return t},oy=class{constructor(){zse(this,"_fns"),this._fns=[]}clear(){this._fns=[]}exists(t){return this._fns.indexOf(t)!==-1}eject(t){let n=this._fns.indexOf(t);n!==-1&&(this._fns=[...this._fns.slice(0,n),...this._fns.slice(n+1)])}use(t){this._fns=[...this._fns,t]}},Zse=()=>({error:new oy,request:new oy,response:new oy}),Xse=YT({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),eue={"Content-Type":"application/json"},XT=(e={})=>({...Hse,headers:eue,parseAs:"auto",querySerializer:Xse,...e}),tue=(e={})=>{let t=JT(XT(),e),n=()=>({...t}),r=a=>(t=JT(t,a),n()),i=Zse(),o=async a=>{let l={...t,...a,fetch:a.fetch??t.fetch??globalThis.fetch,headers:ZT(t.headers,a.headers)};l.security&&await qse({...l,security:l.security}),l.body&&l.bodySerializer&&(l.body=l.bodySerializer(l.body)),(l.body===void 0||l.body==="")&&l.headers.delete("Content-Type");let s=qT(l),u={redirect:"follow",...l},c=new Request(s,u);for(let b of i.request._fns)c=await b(c,l);let f=l.fetch,p=await f(c);for(let b of i.response._fns)p=await b(p,c,l);let d={request:c,response:p};if(p.ok){if(p.status===204||p.headers.get("Content-Length")==="0")return{data:{},...d};let b=(l.parseAs==="auto"?Yse(p.headers.get("Content-Type")):l.parseAs)??"json";if(b==="stream")return{data:p.body,...d};let h=await p[b]();return b==="json"&&(l.responseValidator&&await l.responseValidator(h),l.responseTransformer&&(h=await l.responseTransformer(h))),{data:h,...d}}let m=await p.text();try{m=JSON.parse(m)}catch{}let v=m;for(let b of i.error._fns)v=await b(m,p,c,l);if(v=v||{},l.throwOnError)throw v;return{error:v,...d}};return{buildUrl:qT,connect:a=>o({...a,method:"CONNECT"}),delete:a=>o({...a,method:"DELETE"}),get:a=>o({...a,method:"GET"}),getConfig:n,head:a=>o({...a,method:"HEAD"}),interceptors:i,options:a=>o({...a,method:"OPTIONS"}),patch:a=>o({...a,method:"PATCH"}),post:a=>o({...a,method:"POST"}),put:a=>o({...a,method:"PUT"}),request:o,setConfig:r,trace:a=>o({...a,method:"TRACE"})}},nue=tue,rue=XT;const eO=nue((e=>({...e,withCredentials:!0,timeout:6e4,maxBodyLength:104857600,maxContentLength:104857600,throwOnError:!0}))(rue({baseUrl:"https://webchat.botpress.cloud/"}))),iue=e=>(e?.client??eO).post({url:"/p",...e,headers:{"Content-Type":"application/json",...e?.headers}}),oue=e=>e.data,aue={throwOnError:!0},tO=async(e,t,n,r)=>{const i=`${n||eO.getConfig().baseUrl}/${e}`,o={...aue,baseUrl:i};return iue({...o,body:t,headers:r}).then(oue)};new URL("data:audio/ogg;base64,T2dnUwACAAAAAAAAAAAVJAEzAAAAAOU+A6UBHgF2b3JiaXMAAAAAASJWAAD/////AH0AAP////+pAU9nZ1MAAAAAAAAAAAAAFSQBMwEAAAD3T/UfDpz////////////////FA3ZvcmJpcwwAAABMYXZmNjEuNy4xMDAEAAAAHwAAAGVuY29kZXI9TGF2YzYxLjE5LjEwMSBsaWJ2b3JiaXMrAAAAZW5jb2RlZF9ieT1BZG9iZSBQcmVtaWVyZSBQcm8gMjAyNS4wIChNYWNpbhcAAAB0aW1lX3JlZmVyZW5jZT0xMjExMDQwMA8AAABkYXRlPTIwMjUtMDgtMDUBBXZvcmJpcyJCQ1YBAEAAABhCECoFrWOOOsgVIYwZoqBCyinHHULQIaMkQ4g6xjXHGGNHuWSKQsmB0JBVAABAAACkHFdQckkt55xzoxhXzHHoIOecc+UgZ8xxCSXnnHOOOeeSco4x55xzoxhXDnIpLeecc4EUR4pxpxjnnHOkHEeKcagY55xzbTG3knLOOeecc+Ygh1JyrjXnnHOkGGcOcgsl55xzxiBnzHHrIOecc4w1t9RyzjnnnHPOOeecc84555xzjDHnnHPOOeecc24x5xZzrjnnnHPOOeccc84555xzIDRkFQCQAACgoSiK4igOEBqyCgDIAAAQQHEUR5EUS7Ecy9EkDQgNWQUAAAEACAAAoEiGpEiKpViOZmmeJnqiKJqiKquyacqyLMuy67ouEBqyCgBIAABQURTFcBQHCA1ZBQBkAAAIYCiKoziO5FiSpVmeB4SGrAIAgAAABAAAUAxHsRRN8STP8jzP8zzP8zzP8zzP8zzP8zzP8zwNCA1ZBQAgAAAAgihkGANCQ1YBAEAAAAghGhlDnVISXAoWQhwRQx1CzkOppYPgKYUlY9JTrEEIIXzvPffee++B0JBVAAAQAABhFDiIgcckCCGEYhQnRHGmIAghhOUkWMp56CQI3YMQQrice8u59957IDRkFQAACADAIIQQQgghhBBCCCmklFJIKaaYYoopxxxzzDHHIIMMMuigk046yaSSTjrKJKOOUmsptRRTTLHlFmOttdacc69BKWOMMcYYY4wxxhhjjDHGGCMIDVkFAIAAABAGGWSQQQghhBRSSCmmmHLMMcccA0JDVgEAgAAAAgAAABxFUiRHciRHkiTJkixJkzzLszzLszxN1ERNFVXVVW3X9m1f9m3f1WXf9mXb1WVdlmXdtW1d1l1d13Vd13Vd13Vd13Vd13Vd14HQkFUAgAQAgI7kOI7kOI7kSI6kSAoQGrIKAJABABAAgKM4iuNIjuRYjiVZkiZplmd5lqd5mqiJHhAasgoAAAQAEAAAAAAAgKIoiqM4jiRZlqZpnqd6oiiaqqqKpqmqqmqapmmapmmapmmapmmapmmapmmapmmapmmapmmapmmapmkCoSGrAAAJAAAdx3EcR3Ecx3EkR5IkIDRkFQAgAwAgAABDURxFcizHkjRLszzL00TP9FxRNnVTV20gNGQVAAAIACAAAAAAAADHczzHczzJkzzLczzHkzxJ0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRNA0JDVgIAZAAAEJOQSk6xV0YpxiS0XiqkFJPUe6iYYkw67alCBikHuYdKIaWg094ypZBSDHunmELIGOqhg5AxhbDX2nPPvfceCA1ZEQBEAQAAxiDGEGPIMSYlgxIxxyRkUiLnnJROSialpFZazKSEmEqLkXNOSiclk1JaC6llkkprJaYCAAACHAAAAiyEQkNWBABRAACIMUgppBRSSjGnmENKKceUY0gp5ZxyTjnHmHQQKucYdA5KpJRyjjmnnHMSMgeVcw5CJp0AAIAABwCAAAuh0JAVAUCcAACAkHOKMQgRYxBCCSmFUFKqnJPSQUmpg5JSSanFklKMlXNSOgkpdRJSKinFWFKKLaRUY2kt19JSjS3GnFuMvYaUYi2p1Vpaq7nFWHOLNffIOUqdlNY6Ka2l1mpNrdXaSWktpNZiaS3G1mLNKcacMymthZZiK6nF2GLLNbWYc2kt1xRjzynGnmusucecgzCt1ZxayznFmHvMseeYcw+Sc5Q6Ka11UlpLrdWaWqs1k9Jaaa3GkFqLLcacW4sxZ1JaLKnFWFqKMcWYc4st19BarinGnFOLOcdag5Kx9l5aqznFmHuKreeYczA2x547SrmW1nourfVecy5C1tyLaC3n1GoPKsaec87B2NyDEK3lnGrsPcXYe+45GNtz8K3W4FvNRcicg9C5+KZ7MEbV2oPMtQiZcxA66CJ08Ml4lGoureVcWus91hp8zTkI0VruKcbeU4u9156bsL0HIVrLPcXYg4ox+JpzMDrnYlStwcecg5C1FqF7L0rnIJSqtQeZa1Ay1yJ08MXooIsvAABgwAEAIMCEMlBoyIoAIE4AgEHIOaUYhEopCKGElEIoKVWMSciYg5IxJ6WUUloIJbWKMQiZY1Iyx6SEEloqJbQSSmmplNJaKKW1llqMKbUWQymphVJaK6W0llqqMbVWY8SYlMw5KZljUkoprZVSWqsck5IxKKmDkEopKcVSUouVc1Iy6K
219h0EEoqqcRUUmmtpNJSKaXFklJsKcVUW4u1hlJaLKnEVlJqMbVUW4sx14gxKRlzUjLnpJRSUiultJY5J6WDjkrmoKSSUmulpBQz5qR0DkrKIKNSUootpRJTKKW1klJspaTWWoy1ptRaLSW1VlJqsZQSW4sx1xZLTZ2U1koqMYZSWmsx5ppaizGUElspKcaSSmytxZpbbDmGUlosqcRWSmqx1ZZja7Hm1FKNKbWaW2y5xpRTj7X2nFqrNbVUY2ux5lhbb7XWnDsprYVSWislxZhai7HFWHMoJbaSUmylpBhbbLm2FmMPobRYSmqxpBJjazHmGFuOqbVaW2y5ptRirbX2HFtuPaUWa4ux5tJSjTXX3mNNORUAADDgAAAQYEIZKDRkJQAQBQAAGMMYYxAapZxzTkqDlHPOScmcgxBCSplzEEJIKXNOQkotZc5BSKm1UEpKrcUWSkmptRYLAAAocAAACLBBU2JxgEJDVgIAUQAAiDFKMQahMUYp5yA0xijFGIRKKcack1ApxZhzUDLHnINQSuaccxBKCSGUUkpKIYRSSkmpAACAAgcAgAAbNCUWByg0ZEUAEAUAABhjnDPOIQqdpc5SJKmj1lFrKKUaS4ydxlZ767nTGnttuTeUSo2p1o5ry7nV3mlNPbccCwAAO3AAADuwEAoNWQkA5AEAEMYoxZhzzhmFGHPOOecMUow555xzijHnnIMQQsWYc85BCCFzzjkIoYSSOecchBBK6JyDUEoppXTOQQihlFI65yCEUkopnXMQSimllAIAgAocAAACbBTZnGAkqNCQlQBAHgAAYAxCzklprWHMOQgt1dgwxhyUlGKLnIOQUou5RsxBSCnGoDsoKbUYbPCdhJRaizkHk1KLNefeg0iptZqDzj3VVnPPvfecYqw1595zLwAAd8EBAOzARpHNCUaCCg1ZCQDkAQAQCCnFmHPOGaUYc8w554xSjDHmnHOKMcacc85BxRhjzjkHIWPMOecghJAx5pxzEELonHMOQgghdM45ByGEEDrnoIMQQgidcxBCCCGEAgCAChwAAAJsFNmcYCSo0JCVAEA4AAAAIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEELonHPOOeecc84555xzzjnnnHPOOScAyLfCAcD/wcYZVpLOCkeDCw1ZCQCEAwAACkEopWIQSiklkk46KZ2TUEopkYNSSumklFJKCaWUUkoIpZRSSggdlFJCKaWUUkoppZRSSimllFI6KaWUUkoppZTKOSmlk1JKKaVEzkkpIZRSSimlhFJKKaWUUkoppZRSSimllFJKKaWEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQCALgbHAAgEmycYSXprHA0uNCQlQBASAAAoBRzjkoIKZSQUqiYoo5CKSmkUkoKEWPOSeochVBSKKmDyjkIpaSUQiohdc5BByWFkFIJIZWOOugolFBSKiWU0jkopYQUSkoplZBCSKl0lFIoJZWUQiohlVJKSCWVEEoKnaRUSgqppFRSCJ10kEInJaSSSgqpk5RSKiWllEpKJXRSQioppRBCSqmUEEpIKaVOUkmppBRCKCGFlFJKJaWSSkohlVRCCaWklFIooaRUUkoppZJSKQAA4MABACDACDrJqLIIG0248AAUGrISACADAECUdNZpp0kiCDFFmScNKcYgtaQswxBTkonxFGOMOShGQw4x5JQYF0oIoYNiPCaVQ8pQUbm31DkFxRZjfO+xFwEAAAgCAASEBAAYICiYAQAGBwgjBwIdAQQObQCAgQiZCQwKocFBJgA8QERIBQCJCYrShS4IIYJ0EWTxwIUTN5644YQObRAAAAAAABAA8AEAkFAAERHRzFVYXGBkaGxwdHh8gIQEAAAAAAAIAHwAACQiQERENHMVFhcYGRobHB0eHyAhAQAAAAAAAAAAQEBAAAAAAAAgAAAAQEBPZ2dTAASuMwAAAAAAABUkATMCAAAACYS6sR4BAUQxGR89NxobGiEkKCknJiYmJSUhISEaFgwBAQEAAnyfvULHAlAEJgh2vpgQBMHIyMjIyNhIQOjz+ePz58+fL89xAwYBAFaH//3//7/xNw0MBoNB6qlPfWrUKQng+/0FABAAhLEjKuHFBwA4AHC9Fx4Oh7EwDEOgvnJ3RtV+Op0+nU6n5cyzEwAoltTpwed5dgVKMPoru90zNHGA7F0CP98BAAAAAHl9ePviAgCW+3rugPIDwC6BbWoTAFEAAADh5GpCCACgc+0zxlAAVKddkjDsA14GDoJtf7R+NkE4W23hI5mF3d74iVGvzg9PpA4cCQs66joePTmOfhgl7vNZzYzQADDyz30FAGSvVUZ6wJ4MAKbCGeb4+v5NLIdK3YvrLkCu98uV//FpXQNyKAKAV7r186fTktcJJgjAlVp1fUmaGgtrdAAuDXYJSPs/AAAAAHDnAeHxciEUAB76CvfarGjDzIjALoEd+/0EAAAAQNYeMrkBAF6ZKm8xuw94NtgloHDUCAAAAIAMJ5Qz2iUAvjhKL8lkfmA6wi6BWf
219NHgiAAAABq4eeqGgCg8+LAAXQAfhgqz2RKHzAVYJeAynEAIQEAALwq6tFbIQAEEIIO8iULngMAXhgajrw3D5iFWhe7BLZNrwCVKAAA0t2TfT8mADx0aMfS4CULeACvA14YWnasNht80ZpdAhv8BEiiAADgcbm4jo0JANAVCTRV6JqQS0OTADoAXhg6zWy+AZ3GsiDRAYJzgiQAAICnb9FLAQAUNQFd44AioMNJICUAfhi67ZRjA2IMSHTAJK0KkgAAAG7W0uLlEgC6KnQdDkgBlAAdJAB+GHpL40hATAASHSC5CZIAAAAGZ3J60ioBoKsBTQKE5KFJIJFAAp4Y+jp7cg4qINEBi+MASQAAAM8rmdZcAKApwFhNPHQkQEBRQwIAnhj6OZ8KIBwDiQ4Q9ApIFAAAQHRFd6FEALA0NaApQAegnPrDA54Y+nN+AYAIJDoAfgIkCgAAcLRlPVsLALqmKqFpHIwUwQEJCwCeKPpzEQA8kOgAyTlBAgAAgPnK3q8jAWAuJFBYOsbAAgCeKPolEQA8rMFCohQAAMxD2BdSAJYFdNThKcCkBQCOgwKeGPpzEQA8rEEhCQAAoCz4MRGA41gaQMBRjACexHugAACeGPqFCAAeugQAAHryFgBdRYGFhGeow8x7AJ4Y+iURADyIigIAliFAAcYWCQC11gGeGPolEQA8UAAAABoODg4=",Rf&&Rf.tagName.toUpperCase()==="SCRIPT"&&Rf.src||new URL("inject.js",document.baseURI).href).href;const lue=k.forwardRef(({children:e,onClick:t,avatarUrl:n,botName:r,description:i,onClose:o,...a},l)=>{const{messagePreview:s}=Ie,{container:u,closeButton:c,message:f,avatar:p,description:d}=s??{};return P.jsxs("div",{...a,...u,ref:l,onClick:t,children:[P.jsx(dh,{src:n,...p,children:r||"Bot"}),P.jsx("p",{...f,children:e}),P.jsx("p",{...d,children:i}),P.jsx(tU,{...c,onClick:m=>{m.stopPropagation(),o?.()}})]})});lue.displayName="MessagePreview";
219const Cf="bp-unread-message-count",sue="bp-proactive-message-state",nO="x-webchat-version";class Sn{element;type;constructor(t,n){this.element=n,this.type=t}static fromNode(t){return new Sn(t.tagName,t)}static template(t,n){return r=>n(r,Sn.create(t))}static create(t,n){const r=document.createElement(t);return Object.entries(n??{}).forEach(([i,o])=>{o!=null?r.setAttribute(i,o.toString()):o==null&&r.removeAttribute(i)}),new Sn(t,r)}onLoad(t){const n=()=>t(this.element);return this.element.addEventListener("load",n),this}update(t){return typeof t=="function"?(t(this.element),this):(Object.entries(t??{}).forEach(([n,r])=>{r!=null?this.element.setAttribute(n,r.toString()):this.element.removeAttribute(n)}),this)}appendTo(t){return t?(t.appendChild(this.element),this):this}remove(){return this.element.remove(),this}}const rO=`.bpFabWrapper { 220 position: fixed; 221 bottom: 1.5rem; 222 right: 1.5rem; 223 z-index: 9998; 224} 225 226.bpUnreadMessage { 227 position: absolute; 228 top: 0; 229 right: 0; 230 background-color: red; 231 z-index: 1; 232 color: white; 233 font-family: 'Inter', sans-serif; 234 width: 1.25rem; 235 height: 1.25rem; 236 border-radius: 9999px; 237 display: flex; 238 align-items: center; 239 justify-content: center; 240 font-size: 0.75rem; 241 transform: scale(1); 242 opacity: 1; 243 transition: 244 transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1), 245 opacity 0.3s ease-out; 246} 247 248.bpUnreadMessage.bpHideUnreadMessage { 249 opacity: 0; 250 transform: scale(0.6); 251} 252 253.bpFab { 254 z-index: 9998; 255 height: 4rem; 256 width: 4rem; 257 border-radius: 9999px; 258 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 259 transition: 260 transform 0.3s ease, 261 box-shadow 0.3s ease; 262} 263 264.bpFab:hover { 265 transform: scale(1.1); 266 box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2); 267} 268 269.bpFab:hover + .bpUnreadMessage:not(.bpHideUnreadMessage) { 270 transform: translateX(0.25rem) translateY(-0.25rem) scale(1.1); 271} 272 273.bpFab:active { 274 transform: scale(0.9); 275} 276 277.bpWebchat { 278 width: 100%; 279 height: 100dvh; 280 position: fixed; 281 bottom: 0; 282 right: 0; 283 z-index: 9999; 284 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 285} 286@media (min-width: 768px) { 287 .bpWebchat { 288 width: 400px; 289 bottom: 6.5rem; 290 right: 1.5rem; 291 max-height: 700px; 292 height: min(700px, calc(100% - 120px)); 293 transform-origin: bottom right; 294 } 295} 296 297@media (max-width: 700px) { 298 :has(.bpOpen) { 299 overflow: hidden; 300 } 301} 302 303.bpMessagePreview { 304 position: fixed; 305 width: 330px; 306 height: 70px; 307 right: 1.5rem; 308 z-index: 9999; 309 cursor: pointer; 310 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 311} 312 313.bpMessagePreview.bpFABMessagePreview { 314 bottom: 6.5rem 315} 316 317.bpMessagePreview.bpCustomToggleMessagePreview { 318 bottom: var(--bpSpacing-6); 319} 320 321@media (max-width: 480px) { 322 .bpMessagePreview { 323 width: calc(100% - 16px); 324 right: 8px; 325 } 326 327 .bpMessagePreview.bpCustomToggleMessagePreview { 328 bottom: 8px; 329 } 330} 331 332 333.bpOpen { 334 visibility: visible; 335 opacity: 1; 336 transform: translateY(0); 337 transition: 338 opacity 100ms ease-in-out, 339 transform 100ms ease-in-out; 340} 341.bpClose { 342 visibility: hidden; 343 opacity: 0; 344 pointer-events: none; 345 transform: translateY(80px); 346 transition: 347 visibility 0s 100ms, 348 opacity 100ms ease-in-out, 349 transform 100ms ease-in-out; 350} 351 352.bpShowPreview { 353 visibility: visible; 354 opacity: 1; 355 transform: translateY(0); 356 transition: 357 opacity 200ms ease-out, 358 transform 200ms ease-out; 359 360} 361 362.bpHidePreview { 363 visibility: hidden; 364 opacity: 0; 365 pointer-events: none; 366 transform: translateY(80px); 367 transition: 368 visibility 0s 200ms, 369 opacity 200ms ease-out, 370 transform 200ms ease-out; 371} 372 373@media (min-width: 768px) { 374 .bpCustomToggleWebchat { 375 bottom: 1.5rem; 376 } 377} 378`,uue=Sn.template("style",({radius:e},t)=>t.update(n=>{n.textContent=` 379 ${rO} 380 .bpWebchat { 381 border-radius: ${.375*e}rem; 382 }`})),cue=Sn.template("div",(e,t)=>(t.update({class:"bpFabWrapper"}),Sn.create("div",{class:"bpUnreadMessage bpHideUnreadMessage",id:Cf}).appendTo(t.element),t)),Af=Sn.template("iframe",({component:e,rootDivID:t,attributes:n,additionalStylesheetUrl:r,scriptURL:i},o)=>o.update({"aria-hidden":"true",tabIndex:"-1",title:"Botpress",frameborder:"0",name:e,...n?.iframe}).onLoad(a=>{a.contentDocument&&(aO()&&(a.contentDocument.open(),a.contentDocument.write("<!DOCTYPE html>"),a.contentDocument.close()),Sn.fromNode(a.contentDocument.documentElement).update({lang:"en",class:"bpHeightFull bpReset"}).update(l=>{l.innerHTML=`<!DOCTYPE html><html><head><meta name="viewport" content="width=device-width, initial-scale=1 viewport-fit=cover, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"></head><body class="bpHeightFull"><div class="bpHeightFull" id="${t}"></div></body></html>`}),Sn.create("script",{type:"application/json",id:"props"}).update(l=>{l.textContent=JSON.stringify({mountedComponent:e})}).appendTo(a.contentDocument.body),Sn.create("script",{type:"text/javascript",src:i,...n?.script}).appendTo(a.contentDocument.head),r&&Sn.create("link",{href:r,rel:"stylesheet",...n?.stylesheet}
382).appendTo(a.contentDocument.head))})),Or=Symbol.for("@ts-pattern/matcher"),fue=Symbol.for("@ts-pattern/isVariadic"),If="@ts-pattern/anonymous-select-key",ay=e=>!!(e&&typeof e=="object"),Tf=e=>e&&!!e[Or],sr=(e,t,n)=>{if(Tf(e)){const r=e[Or](),{matched:i,selections:o}=r.match(t);return i&&o&&Object.keys(o).forEach(a=>n(a,o[a])),i}if(ay(e)){if(!ay(t))return!1;if(Array.isArray(e)){if(!Array.isArray(t))return!1;let r=[],i=[],o=[];for(const a of e.keys()){const l=e[a];Tf(l)&&l[fue]?o.push(l):o.length?i.push(l):r.push(l)}if(o.length){if(o.length>1)throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(t.length<r.length+i.length)return!1;const a=t.slice(0,r.length),l=i.length===0?[]:t.slice(-i.length),s=t.slice(r.length,i.length===0?1/0:-i.length);return r.every((u,c)=>sr(u,a[c],n))&&i.every((u,c)=>sr(u,l[c],n))&&(o.length===0||sr(o[0],s,n))}return e.length===t.length&&e.every((a,l)=>sr(a,t[l],n))}return Object.keys(e).every(r=>{const i=e[r];return(r in t||Tf(o=i)&&o[Or]().matcherType==="optional")&&sr(i,t[r],n);var o})}return Object.is(t,e)},fi=e=>{var t,n,r;return ay(e)?Tf(e)?(t=(n=(r=e[Or]()).getSelectionKeys)==null?void 0:n.call(r))!=null?t:[]:Array.isArray(e)?ns(e,fi):ns(Object.values(e),fi):[]},ns=(e,t)=>e.reduce((n,r)=>n.concat(t(r)),[]);function Un(e){return Object.assign(e,{optional:()=>due(e),and:t=>He(e,t),or:t=>pue(e,t),select:t=>t===void 0?iO(e):iO(t,e)})}function due(e){return Un({[Or]:()=>({match:t=>{let n={};const r=(i,o)=>{n[i]=o};return t===void 0?(fi(e).forEach(i=>r(i,void 0)),{matched:!0,selections:n}):{matched:sr(e,t,r),selections:n}},getSelectionKeys:()=>fi(e),matcherType:"optional"})})}function He(...e){return Un({[Or]:()=>({match:t=>{let n={};const r=(i,o)=>{n[i]=o};return{matched:e.every(i=>sr(i,t,r)),selections:n}},getSelectionKeys:()=>ns(e,fi),matcherType:"and"})})}function pue(...e){return Un({[Or]:()=>({match:t=>{let n={};const r=(i,o)=>{n[i]=o};return ns(e,fi).forEach(i=>r(i,void 0)),{matched:e.some(i=>sr(i,t,r)),selections:n}},getSelectionKeys:()=>ns(e,fi),matcherType:"or"})})}function $e(e){return{[Or]:()=>({match:t=>({matched:!!e(t)})})}}function iO(...e){const t=typeof e[0]=="string"?e[0]:void 0,n=e.length===2?e[1]:typeof e[0]=="string"?void 0:e[0];return Un({[Or]:()=>({match:r=>{let i={[t??If]:r};return{matched:n===void 0||sr(n,r,(o,a)=>{i[o]=a}),selections:i}},getSelectionKeys:()=>[t??If].concat(n===void 0?[]:fi(n))})})}function ur(e){return typeof e=="number"}function Hi(e){return typeof e=="string"}function di(e){return typeof e=="bigint"}Un($e(function(e){return!0}));const Wi=e=>Object.assign(Un(e),{startsWith:t=>{return Wi(He(e,(n=t,$e(r=>Hi(r)&&r.startsWith(n)))));var n},endsWith:t=>{return Wi(He(e,(n=t,$e(r=>Hi(r)&&r.endsWith(n)))));var n},minLength:t=>Wi(He(e,(n=>$e(r=>Hi(r)&&r.length>=n))(t))),maxLength:t=>Wi(He(e,(n=>$e(r=>Hi(r)&&r.length<=n))(t))),includes:t=>{return Wi(He(e,(n=t,$e(r=>Hi(r)&&r.includes(n)))));var n},regex:t=>{return Wi(He(e,(n=t,$e(r=>Hi(r)&&!!r.match(n)))));var n}});Wi($e(Hi));const cr=e=>Object.assign(Un(e),{between:(t,n)=>cr(He(e,((r,i)=>$e(o=>ur(o)&&r<=o&&i>=o))(t,n))),lt:t=>cr(He(e,(n=>$e(r=>ur(r)&&r<n))(t))),gt:t=>cr(He(e,(n=>$e(r=>ur(r)&&r>n))(t))),lte:t=>cr(He(e,(n=>$e(r=>ur(r)&&r<=n))(t))),gte:t=>cr(He(e,(n=>$e(r=>ur(r)&&r>=n))(t))),int:()=>cr(He(e,$e(t=>ur(t)&&Number.isInteger(t)))),finite:()=>cr(He(e,$e(t=>ur(t)&&Number.isFinite(t)))),positive:()=>cr(He(e,$e(t=>ur(t)&&t>0))),negative:()=>cr(He(e,$e(t=>ur(t)&&t<0)))});cr($e(ur));const pi=e=>Object.assign(Un(e),{between:(t,n)=>pi(He(e,((r,i)=>$e(o=>di(o)&&r<=o&&i>=o))(t,n))),lt:t=>pi(He(e,(n=>$e(r=>di(r)&&r<n))(t))),gt:t=>pi(He(e,(n=>$e(r=>di(r)&&r>n))(t))),lte:t=>pi(He(e,(n=>$e(r=>di(r)&&r<=n))(t))),gte:t=>pi(He(e,(n=>$e(r=>di(r)&&r>=n))(t))),positive:()=>
382pi(He(e,$e(t=>di(t)&&t>0))),negative:()=>pi(He(e,$e(t=>di(t)&&t<0)))});pi($e(di)),Un($e(function(e){return typeof e=="boolean"})),Un($e(function(e){return typeof e=="symbol"})),Un($e(function(e){return e==null}));const ly={matched:!1,value:void 0};function hue(e){return new Of(e,ly)}class Of{constructor(t,n){this.input=void 0,this.state=void 0,this.input=t,this.state=n}with(...t){if(this.state.matched)return this;const n=t[t.length-1],r=[t[0]];let i;t.length===3&&typeof t[1]=="function"?i=t[1]:t.length>2&&r.push(...t.slice(1,t.length-1));let o=!1,a={};const l=(u,c)=>{o=!0,a[u]=c},s=!r.some(u=>sr(u,this.input,l))||i&&!i(this.input)?ly:{matched:!0,value:n(o?If in a?a[If]:a:this.input,this.input)};return new Of(this.input,s)}when(t,n){if(this.state.matched)return this;const r=!!t(this.input);return new Of(this.input,r?{matched:!0,value:n(this.input,this.input)}:ly)}otherwise(t){return this.state.matched?this.state.value:t(this.input)}exhaustive(){if(this.state.matched)return this.state.value;let t;try{t=JSON.stringify(this.input)}catch{t=this.input}throw new Error(`Pattern matching error: no pattern matches value ${t}`)}run(){return this.exhaustive()}returnType(){return this}}class mue{constructor(t){this.key=t}set(t){sessionStorage.setItem(this.key,JSON.stringify(t))}get(){const t=sessionStorage.getItem(this.key);return t?JSON.parse(t):null}remove(){sessionStorage.removeItem(this.key)}}class gue{lastActivityTime=Date.now();idleTimeThreshold;isIdle=!1;intervalId=null;eventListeners=[];onUserIdle;constructor(t,n){this.idleTimeThreshold=t*1e3,this.onUserIdle=n}start(){this.setupEventListeners(),this.startIdleTimer()}stop(){this.removeEventListeners(),this.stopIdleTimer()}resetActivityTimer(){this.lastActivityTime=Date.now(),this.isIdle&&(this.isIdle=!1)}setupEventListeners(){[{element:document,event:"click"},{element:document,event:"keypress"},{element:document,event:"keydown"},{element:document,event:"keyup"},{element:document,event:"mousemove"},{element:document,event:"mousedown"},{element:document,event:"mouseup"},{element:document,event:"touchstart"},{element:document,event:"touchend"},{element:document,event:"touchmove"},{element:window,event:"scroll"}].forEach(({element:n,event:r})=>{const i=this.resetActivityTimer.bind(this);n.addEventListener(r,i,{passive:!0}),this.eventListeners.push({element:n,event:r,handler:i})})}removeEventListeners(){this.eventListeners.forEach(({element:t,event:n,handler:r})=>{t.removeEventListener(n,r)}),this.eventListeners=[]}startIdleTimer(){this.intervalId=setInterval(()=>{this.checkIdleStatus()},1e3)}checkIdleStatus(){const n=Date.now()-this.lastActivityTime;!this.isIdle&&n>=this.idleTimeThreshold&&(this.isIdle=!0,this.onUserIdle())}stopIdleTimer(){this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null)}}const oO=Date.now(),aO=()=>!!navigator.userAgent.match("Firefox");class vue{initialized=!1;version="3.3.0";pushpinUrl="https://webchat.botpress.cloud";webchatScriptUrl="https://cdn.botpress.cloud/webchat/v3.3/webchat.js";fabScriptUrl="https://cdn.botpress.cloud/webchat/v3.3/fab.js";messagePreviewScriptUrl="https://cdn.botpress.cloud/webchat/v3.3/messagePreview.js";conversationId="";clientId="";botId="";state="initial";messagePreviewState="hidden";webchatId="webchat-root";fabId="fab-root";messagePreviewId="message-preview-root";configuration=void 0;allowFileUpload=void 0;error=void 0;user=void 0;eventEmitter=Mw();embeddedWebchatWatchHandler=void 0;proactiveMessageStore=new mue(sue);userActivityTracker=void 0;components={embeddedWebchat:{el:void 0,status:"unmounted"},fab:{el:void 0,status:"unmounted"},webchat:{el:void 0,status:"unmounted"},toggle:{el:void 0,status:"unmounted"},messagePreview:{el:void 0,status:"unmounted"},css:{el:void 0,status:"unmounted"}};constructor(){}init(t){this.configuration=fh(t.configuration??{version:Rw,...ch}),this.user=t.user??this.user,this.state=t.defaultState??this.state,this.conversationId=t.conversationId??this.conversationId,this.botId=t.botId,this.clientId=t.clientId,this.pushpinUrl=t.pushpinUrl??this.pushpinUrl,this.webchatScriptUrl=t.webchatScriptUrl??this.webchatScriptUrl,this.messagePreviewScriptUrl=t.messagePreviewScriptUrl??this.messagePreviewScriptUrl,this.fabScriptUrl=t.fabScriptUrl??this.fabScriptUrl,this.checkConfiguration(t.configuration),this.on("webchat:mount",({mountedComponent:n})=>{this.components[n].status="mounted"}),this.on("webchat:mount",async({mountedComponent:n})=>{if(["webchat","embeddedWebchat"].includes(n))try{await tO(this.clientId,{duration:Date.now()-oO,event:"webchat:render",properties:{clientId:this.clientId,botId:this.botId,conversationId:this.conversationId,configuration:this.configuration,version:this.version}},this.pushpinUrl,{[nO]:"3.3.0"})}catch(r){console.error("Error sending perf metrics:",r)}}),this.on("webchat:initialized",async()=>{try{await tO(this.clientId,{duration:Date.now()-oO,event:"webchat:initialized",properties:{clientId:this.clientId,botId:this.botId,conversationId:this.conversationId,configuration:this.configuration,version:this.version}},this.pushpinUrl,{[nO]:"3.3.0"})}catch(n){console.error("Error sending perf metrics:",n)}}),this.mountAllFromConfiguration(),(this.configuration?.toggleChatId||this.configuration?.embeddedChatId)&&this.initializeDomMutationObserver(),this.on("webchat:config",()=>
382{this._updateWebchatDisplayClasses()}),this.configuration?.proactiveBubbleTriggerType==="userIdle"&&this.configuration?.proactiveMessageEnabled===!0&&!this.userActivityTracker&&this.proactiveMessageStore.get()?.dismissed!==!0&&(this.userActivityTracker=new gue(this.configuration?.proactiveBubbleDelayTime??0,this.showMessagePreview),this.userActivityTracker.start())}checkConfiguration(t){if(t?.showPoweredBy!==void 0&&console.error("Show powered by is no longer used. Please use the footer field instead."),!this.botId){this.error={type:"configuration",message:Fj};return}if(!this.clientId){this.error={type:"configuration",message:jj};return}}initializeDomMutationObserver(){this.embeddedWebchatWatchHandler?.disconnect();const t=new MutationObserver(()=>{this._reconcileMountsFromDom()});t.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["id"]}),this.embeddedWebchatWatchHandler=t,this._reconcileMountsFromDom()}_reconcileMountsFromDom(){if(this.configuration?.toggleChatId){const t=!!this.toggleElement;this.components.webchat.status!=="mounted"&&this.components.webchat.status!=="loading"&&this.mount("webchat",{customToggleInUse:!0}),t&&this.components.toggle.status!=="mounted"&&this.components.toggle.status!=="loading"&&this.mount("toggle"),!t&&(this.components.toggle.status==="mounted"||this.components.toggle.status==="loading")&&this.unmount("toggle")}this.configuration?.embeddedChatId&&(!!this.embeddedChatElement?this.components.embeddedWebchat.status!=="mounted"&&this.components.embeddedWebchat.status!=="loading"&&this.mount("embeddedWebchat"):(this.components.embeddedWebchat.status==="mounted"||this.components.embeddedWebchat.status==="loading")&&this.unmount("embeddedWebchat"))}mountAllFromConfiguration(){this.mount("css"),this.mount("messagePreview",{customToggleInUse:!!this.configuration?.toggleChatId}),this.configuration?.toggleChatId?(this.mount("webchat",{customToggleInUse:!0}),this.mount("toggle")):this.embeddedChatElement?this.mount("embeddedWebchat"):!this.configuration?.toggleChatId&&!this.configuration?.embeddedChatId&&(this.mount("webchat"),this.mount("fab"))}unmount(t){this.components[t].el?.remove();const n=this.components[t].handle;t==="toggle"&&n&&(this.toggleElement?.removeEventListener("click",n),this.components[t].handle=void 0),this.components[t].el=void 0,this.components[t].status="unmounted"}get webchatIframe(){return this.components.webchat.el?.element}get fabIframe(){return this.components.fab.el?.element}get toggleElement(){return this.configuration?.toggleChatId!==void 0?document.getElementById(this.configuration?.toggleChatId):void 0}get embeddedChatElement(){return this.configuration?.embeddedChatId!==void 0?document.getElementById(this.configuration?.embeddedChatId):void 0}mount(t,n){const r=document.body;hue(t).with("css",()=>{this.components.css.el=uue({radius:this.configuration?.radius??1}).appendTo(document.head),this.components.css.status="mounted"}).with("fab",()=>{this.components.fab.status="loading";const i=cue({}).appendTo(r);this.components.fab.el=Af({component:"fab",rootDivID:this.fabId,scriptURL:this.fabScriptUrl,additionalStylesheetUrl:this.configuration?.additionalStylesheetUrl,attributes:{script:{type:"module"}}}).update({class:"bpFab"}).appendTo(i.element),this._updateWebchatDisplayClasses();const o=sessionStorage.getItem(Cf);this.setUnreadMessageCount(o?parseInt(o):0)}).with("messagePreview",()=>{this.components.messagePreview.status="loading",this.components.messagePreview.el=Af({component:"messagePreview",rootDivID:this.messagePreviewId,scriptURL:this.messagePreviewScriptUrl,additionalStylesheetUrl:this.configuration?.additionalStylesheetUrl,attributes:{script:{type:"module"}}}).update({class:`bpMessagePreview ${n?.customToggleInUse?"bpCustomToggleMessagePreview":"bpFABMessagePreview"} ${this.messagePreviewState==="shown"?"bpShowPreview":"bpHidePreview"}`}).appendTo(r)}).with("webchat",()=>{this.components.webchat.status="loading",this.components.webchat.el=Af({component:"webchat",rootDivID:this.webchatId,scriptURL:this.webchatScriptUrl,additionalStylesheetUrl:this.configuration?.additionalStylesheetUrl,attributes:{script:{type:"module"},iframe:{class:`${n?.customToggleInUse?"bpCustomToggleWebchat":"bpFABWebchat"} bpWebchat bpReset`}}}
382).appendTo(r),this._updateWebchatDisplayClasses()}).with("toggle",()=>{this.components.toggle.status="loading";const i=()=>{this.toggle()};this.toggleElement?.addEventListener("click",i),this.components.toggle.handle=i,this.components.toggle.status="mounted"}).with("embeddedWebchat",()=>{if(this.embeddedChatElement){const i=this.embeddedChatElement;if(!i)return;this.components.embeddedWebchat.status="loading",this.components.embeddedWebchat.el=Af({component:"embeddedWebchat",rootDivID:"webchat-root",scriptURL:this.webchatScriptUrl,additionalStylesheetUrl:this.configuration?.additionalStylesheetUrl,attributes:{script:{type:"module"},iframe:{class:"bpEmbeddedWebchat"}}}).update({style:"width: 100%; height: 100%;"}).appendTo(i)}}).exhaustive()}_updateWebchatDisplayClasses(){this.components.webchat.el?.update(t=>{this.state==="opened"?(t.classList.add("bpOpen"),t.classList.remove("bpClose")):(t.classList.add("bpClose"),t.classList.remove("bpOpen"))}),this.components.css.el?.update(t=>{t.innerHTML=rO+` 383 .bpWebchat { 384 border-radius: ${.375*(this.configuration?.radius??1)}rem; 385 } 386 .bpMessagePreview { 387 border-radius: ${.125*(this.configuration?.radius??1)}rem; 388 } 389 `})}open=()=>{this.state="opened",this.hideMessagePreview(),this.setUnreadMessageCount(0),this._emit("webchat:opened",{}),this._updateWebchatDisplayClasses()};close=()=>{this.state="closed",this._emit("webchat:closed",{}),this._updateWebchatDisplayClasses()};toggle=()=>{this.state==="opened"?this.close():this.open()};_updateMessagePreviewDisplayClasses(){this.components.messagePreview.el?.update(t=>{this.messagePreviewState==="shown"?(t.classList.add("bpShowPreview"),t.classList.remove("bpHidePreview")):(t.classList.add("bpHidePreview"),t.classList.remove("bpShowPreview"))})}showMessagePreview=()=>{const t=this.proactiveMessageStore.get();t?.dismissed||(t?.firstShownAt||this.proactiveMessageStore.set({firstShownAt:Date.now()}),this.messagePreviewState="shown",this._updateMessagePreviewDisplayClasses())};hideMessagePreview=()=>{this.messagePreviewState="hidden",this.proactiveMessageStore.set({dismissed:!0}),this._updateMessagePreviewDisplayClasses()};config(t){throw new Error("Botpress webchat is not initialized. Please call botpress.init() before sending events.")}sendEvent(t){throw new Error("Botpress webchat is not initialized. Please call botpress.init() before sending events.")}sendMessage(t){throw new Error("Botpress webchat is not initialized. Please call botpress.init() before sending messages.")}async updateUser(t){this.user=ZM(this.user,t)}async getUser(){throw new Error("Botpress webchat is not initialized. Please call botpress.init() before getting the user information.")}async restartConversation(){throw new Error("Botpress webchat is not initialized. Please call botpress.init() before trying to restart the conversation.")}setUnreadMessageCount(t){const n=document.getElementById(Cf);sessionStorage.setItem(Cf,t.toString()),n&&(t>0?(n.textContent=t.toString(),n.classList.remove("bpHideUnreadMessage")):(n.textContent="",n.classList.add("bpHideUnreadMessage")))}on(t,n){return this.eventEmitter.on(t,n)}_emit(t,n){this.eventEmitter.emit(t,n)}}return window.botpress=new vue,_f.isFirefox=aO,Object.defineProperty(_f,Symbol.toStringTag,{value:"Module"}),_f}({})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.