@infinilabs/chat-message 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,16 +1,16 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode('/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,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}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-20{top:calc(var(--spacing)*20)}.top-21{top:calc(var(--spacing)*21)}.top-full{top:100%}.right-4{right:calc(var(--spacing)*4)}.right-5{right:calc(var(--spacing)*5)}.right-full{right:100%}.bottom-2{bottom:calc(var(--spacing)*2)}.bottom-20{bottom:calc(var(--spacing)*20)}.bottom-full{bottom:100%}.left-0{left:calc(var(--spacing)*0)}.left-2{left:calc(var(--spacing)*2)}.left-2\\.5{left:calc(var(--spacing)*2.5)}.left-full{left:100%}.z-50{z-index:50}.z-999{z-index:999}.z-1000{z-index:1000}.-mx-6{margin-inline:calc(var(--spacing)*-6)}.my-3{margin-block:calc(var(--spacing)*3)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-5{margin-top:calc(var(--spacing)*5)}.mr-2{margin-right:calc(var(--spacing)*2)}.-mb-0\\.5{margin-bottom:calc(var(--spacing)*-.5)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-0\\.5{margin-left:calc(var(--spacing)*.5)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-1\\.5{margin-left:calc(var(--spacing)*1.5)}.ml-2{margin-left:calc(var(--spacing)*2)}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-5{width:calc(var(--spacing)*5);height:calc(var(--spacing)*5)}.size-6{width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-10{height:calc(var(--spacing)*10)}.h-full{height:100%}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-10{width:calc(var(--spacing)*10)}.w-\\[75\\%\\]{width:75%}.w-fit{width:fit-content}.w-full{width:100%}.w-full\\!{width:100%!important}.max-w-\\[85\\%\\]{max-width:85%}.max-w-\\[520px\\]{max-width:520px}.max-w-\\[730px\\]{max-width:730px}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-32{min-width:calc(var(--spacing)*32)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row-reverse{flex-direction:row-reverse}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-\\[\\#018AE5\\]{border-color:#018ae5}.border-\\[\\#E4E5EF\\]{border-color:#e4e5ef}.border-\\[\\#E6E6E6\\]{border-color:#e6e6e6}.border-\\[\\#EEF0F3\\]{border-color:#eef0f3}.border-\\[\\#e5e5e5\\]{border-color:#e5e5e5}.border-black\\/12{border-color:#0000001f}@supports (color:color-mix(in lab,red,red)){.border-black\\/12{border-color:color-mix(in oklab,var(--color-black)12%,transparent)}}.border-black\\/15{border-color:#00000026}@supports (color:color-mix(in lab,red,red)){.border-black\\/15{border-color:color-mix(in oklab,var(--color-black)15%,transparent)}}.border-blue-100{border-color:var(--color-blue-100)}.border-blue-500{border-color:var(--color-blue-500)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.bg-\\[\\#00C868\\]{background-color:#00c868}.bg-\\[\\#1a1a1a\\]{background-color:#1a1a1a}.bg-\\[\\#1784FC\\]{background-color:#1784fc}.bg-\\[\\#666666\\]{background-color:#666}.bg-\\[\\#E9F0FE\\]{background-color:#e9f0fe}.bg-\\[\\#F3F4F6\\]{background-color:#f3f4f6}.bg-\\[\\#F5F5F5\\]{background-color:#f5f5f5}.bg-\\[\\#F7F7F7\\]{background-color:#f7f7f7}.bg-black\\/20{background-color:#0003}@supports (color:color-mix(in lab,red,red)){.bg-black\\/20{background-color:color-mix(in oklab,var(--color-black)20%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-50\\/30{background-color:#eff6ff4d}@supports (color:color-mix(in lab,red,red)){.bg-blue-50\\/30{background-color:color-mix(in oklab,var(--color-blue-50)30%,transparent)}}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-white{background-color:var(--color-white)}.p-0{padding:calc(var(--spacing)*0)}.p-0\\!{padding:calc(var(--spacing)*0)!important}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-\\[2px\\]{padding:2px}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-8{padding-block:calc(var(--spacing)*8)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-6{padding-top:calc(var(--spacing)*6)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-6{padding-right:calc(var(--spacing)*6)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pb-8{padding-bottom:calc(var(--spacing)*8)}.pl-0{padding-left:calc(var(--spacing)*0)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.pl-6{padding-left:calc(var(--spacing)*6)}.pl-7{padding-left:calc(var(--spacing)*7)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-4{--tw-leading:calc(var(--spacing)*4);line-height:calc(var(--spacing)*4)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.wrap-break-word{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[\\#8b8b8b\\]{color:#8b8b8b}.text-\\[\\#018AE5\\]{color:#018ae5}.text-\\[\\#22C55E\\]{color:#22c55e}.text-\\[\\#38C200\\]{color:#38c200}.text-\\[\\#148EFF\\]{color:#148eff}.text-\\[\\#333\\]{color:#333}.text-\\[\\#999\\]{color:#999}.text-\\[\\#1784FC\\]{color:#1784fc}.text-\\[\\#1990FF\\]{color:#1990ff}.text-\\[\\#333333\\]{color:#333}.text-\\[\\#666666\\]{color:#666}.text-\\[\\#999999\\]{color:#999}.text-\\[\\#C8C8C8\\]{color:#c8c8c8}.text-black{color:var(--color-black)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-900{color:var(--color-gray-900)}.text-white{color:var(--color-white)}.italic{font-style:italic}.opacity-0{opacity:0}.shadow-\\[0_2px_20px_rgba\\(0\\,0\\,0\\,0\\.1\\)\\]{--tw-shadow:0 2px 20px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}@media (hover:hover){.group-hover\\:text-\\[\\#0072FF\\]:is(:where(.group):hover *){color:#0072ff}.group-hover\\:text-\\[\\#1784FC\\]:is(:where(.group):hover *){color:#1784fc}}.last\\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\\:pb-0:last-child{padding-bottom:calc(var(--spacing)*0)}@media (hover:hover){.hover\\:border-\\[\\#0072ff\\]\\!:hover{border-color:#0072ff!important}.hover\\:border-blue-200:hover{border-color:var(--color-blue-200)}.hover\\:bg-\\[\\#E0E9FD\\]:hover{background-color:#e0e9fd}.hover\\:bg-\\[\\#EDEDED\\]:hover{background-color:#ededed}.hover\\:bg-\\[\\#F7F7F7\\]:hover{background-color:#f7f7f7}.hover\\:bg-black\\/5:hover{background-color:#0000000d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-black\\/5:hover{background-color:color-mix(in oklab,var(--color-black)5%,transparent)}}.hover\\:bg-blue-50:hover{background-color:var(--color-blue-50)}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:text-\\[\\#0072ff\\]\\!:hover{color:#0072ff!important}.hover\\:text-\\[\\#ff4d4f\\]\\!:hover{color:#ff4d4f!important}.hover\\:text-blue-600:hover{color:var(--color-blue-600)}.hover\\:text-gray-600:hover{color:var(--color-gray-600)}.hover\\:opacity-80:hover{opacity:.8}}@media (min-width:48rem){.md\\:w-\\[610px\\]{width:610px}}.dark\\:border-\\[\\#1D3A6F\\]:where(.dark,.dark *){border-color:#1d3a6f}.dark\\:border-\\[\\#3A3A3A\\]:where(.dark,.dark *){border-color:#3a3a3a}.dark\\:border-\\[\\#4e4e56\\]:where(.dark,.dark *){border-color:#4e4e56}.dark\\:border-\\[\\#272626\\]:where(.dark,.dark *){border-color:#272626}.dark\\:border-black\\/15:where(.dark,.dark *){border-color:#00000026}@supports (color:color-mix(in lab,red,red)){.dark\\:border-black\\/15:where(.dark,.dark *){border-color:color-mix(in oklab,var(--color-black)15%,transparent)}}.dark\\:border-blue-900\\/30:where(.dark,.dark *){border-color:#1c398e4d}@supports (color:color-mix(in lab,red,red)){.dark\\:border-blue-900\\/30:where(.dark,.dark *){border-color:color-mix(in oklab,var(--color-blue-900)30%,transparent)}}.dark\\:border-gray-700:where(.dark,.dark *){border-color:var(--color-gray-700)}.dark\\:border-gray-800:where(.dark,.dark *){border-color:var(--color-gray-800)}.dark\\:border-white\\/15:where(.dark,.dark *){border-color:#ffffff26}@supports (color:color-mix(in lab,red,red)){.dark\\:border-white\\/15:where(.dark,.dark *){border-color:color-mix(in oklab,var(--color-white)15%,transparent)}}.dark\\:bg-\\[\\#1E1E1E\\]:where(.dark,.dark *){background-color:#1e1e1e}.dark\\:bg-\\[\\#1F2937\\]:where(.dark,.dark *){background-color:#1f2937}.dark\\:bg-\\[\\#2A2A2A\\]:where(.dark,.dark *){background-color:#2a2a2a}.dark\\:bg-\\[\\#020617\\]:where(.dark,.dark *){background-color:#020617}.dark\\:bg-\\[\\#020817\\]:where(.dark,.dark *){background-color:#020817}.dark\\:bg-\\[\\#111827\\]:where(.dark,.dark *){background-color:#111827}.dark\\:bg-\\[\\#202126\\]:where(.dark,.dark *){background-color:#202126}.dark\\:bg-\\[\\#202126\\]\\!:where(.dark,.dark *){background-color:#202126!important}.dark\\:bg-\\[\\#A3A3A3\\]:where(.dark,.dark *){background-color:#a3a3a3}.dark\\:bg-black:where(.dark,.dark *){background-color:var(--color-black)}.dark\\:bg-blue-900\\/10:where(.dark,.dark *){background-color:#1c398e1a}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-900\\/10:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-blue-900)10%,transparent)}}.dark\\:bg-blue-900\\/20:where(.dark,.dark *){background-color:#1c398e33}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-900\\/20:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-blue-900)20%,transparent)}}.dark\\:bg-blue-900\\/30:where(.dark,.dark *){background-color:#1c398e4d}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-900\\/30:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-blue-900)30%,transparent)}}.dark\\:bg-gray-700:where(.dark,.dark *){background-color:var(--color-gray-700)}.dark\\:bg-gray-900:where(.dark,.dark *){background-color:var(--color-gray-900)}.dark\\:text-\\[\\#38C200\\]:where(.dark,.dark *){color:#38c200}.dark\\:text-\\[\\#666\\]:where(.dark,.dark *){color:#666}.dark\\:text-\\[\\#1990FF\\]:where(.dark,.dark *){color:#1990ff}.dark\\:text-\\[\\#808080\\]:where(.dark,.dark *){color:gray}.dark\\:text-\\[\\#999999\\]:where(.dark,.dark *){color:#999}.dark\\:text-\\[\\#A3A3A3\\]:where(.dark,.dark *){color:#a3a3a3}.dark\\:text-\\[\\#A6A6A6\\]:where(.dark,.dark *){color:#a6a6a6}.dark\\:text-\\[\\#D1D5DB\\]:where(.dark,.dark *){color:#d1d5db}.dark\\:text-\\[\\#D8D8D8\\]:where(.dark,.dark *){color:#d8d8d8}.dark\\:text-\\[\\#E5E7EB\\]:where(.dark,.dark *){color:#e5e7eb}.dark\\:text-\\[\\#a6a6a6\\]:where(.dark,.dark *){color:#a6a6a6}.dark\\:text-blue-400:where(.dark,.dark *){color:var(--color-blue-400)}.dark\\:text-gray-100:where(.dark,.dark *){color:var(--color-gray-100)}.dark\\:text-gray-300:where(.dark,.dark *){color:var(--color-gray-300)}.dark\\:text-gray-400:where(.dark,.dark *){color:var(--color-gray-400)}.dark\\:text-white:where(.dark,.dark *){color:var(--color-white)}.dark\\:shadow-\\[0_2px_20px_rgba\\(255\\,255\\,255\\,0\\.1\\)\\]:where(.dark,.dark *){--tw-shadow:0 2px 20px var(--tw-shadow-color,#ffffff1a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:drop-shadow-\\[0_0_6px_rgb\\(255\\,255\\,255\\)\\]:where(.dark,.dark *){--tw-drop-shadow-size:drop-shadow(0 0 6px var(--tw-drop-shadow-color,#fff));--tw-drop-shadow:var(--tw-drop-shadow-size);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}@media (hover:hover){.dark\\:group-hover\\:text-\\[\\#0072FF\\]:where(.dark,.dark *):is(:where(.group):hover *){color:#0072ff}.dark\\:hover\\:border-blue-800:where(.dark,.dark *):hover{border-color:var(--color-blue-800)}.dark\\:hover\\:bg-\\[\\#1F2937\\]:where(.dark,.dark *):hover{background-color:#1f2937}.dark\\:hover\\:bg-\\[\\#2C2C2C\\]:where(.dark,.dark *):hover{background-color:#2c2c2c}.dark\\:hover\\:bg-\\[\\#3A3A3A\\]:where(.dark,.dark *):hover{background-color:#3a3a3a}.dark\\:hover\\:bg-\\[\\#111827\\]:where(.dark,.dark *):hover{background-color:#111827}.dark\\:hover\\:bg-blue-900\\/20:where(.dark,.dark *):hover{background-color:#1c398e33}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-blue-900\\/20:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-blue-900)20%,transparent)}}.dark\\:hover\\:bg-blue-900\\/50:where(.dark,.dark *):hover{background-color:#1c398e80}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-blue-900\\/50:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-blue-900)50%,transparent)}}.dark\\:hover\\:bg-gray-800:where(.dark,.dark *):hover{background-color:var(--color-gray-800)}.dark\\:hover\\:bg-white\\/5:where(.dark,.dark *):hover{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-white\\/5:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.dark\\:hover\\:text-blue-400:where(.dark,.dark *):hover{color:var(--color-blue-400)}}.\\[\\&_\\.ant-btn-icon\\]\\:flex .ant-btn-icon{display:flex}}.cm-deep-research-segmented .ant-segmented-item-label{font-size:16px}.cm-deep-research-segmented .ant-segmented-group{background-color:#fff;padding:2px}.cm-deep-research-segmented .ant-segmented-item{background-color:#fff}.cm-deep-research-segmented .ant-segmented-item:not(:last-child){margin-right:2px}.cm-deep-research-segmented .ant-segmented-item-selected{background-color:#018ae517}.cm-deep-research-segmented .ant-segmented-item-selected .ant-segmented-item-label{color:#1784fc}.cm-deep-research-segmented .ant-segmented-item:not(.ant-segmented-item-selected) .ant-segmented-item-label{color:#333}.cm-deep-research-segmented .ant-segmented-item:not(.ant-segmented-item-selected):hover{background-color:#018ae517}.cm-deep-research-segmented .ant-segmented-item:not(.ant-segmented-item-selected):hover .ant-segmented-item-label{color:#1784fc}.cm-markdown h1,.cm-markdown h2,.cm-markdown h3,.cm-markdown h4,.cm-markdown h5,.cm-markdown h6,.cm-markdown p,.cm-markdown ul,.cm-markdown ol{all:revert}.cm-markdown h1{margin-bottom:16px;font-size:24px;font-weight:600;line-height:32px}.cm-markdown h2{margin-top:24px;margin-bottom:8px;font-size:18px;font-weight:600;line-height:26px}.cm-markdown ol{margin-left:24px;list-style:decimal}.cm-markdown p{margin:4px 0;line-height:1.7}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}')),document.head.appendChild(r)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
1
+ (function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode('/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,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}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-20{top:calc(var(--spacing)*20)}.top-21{top:calc(var(--spacing)*21)}.top-full{top:100%}.right-4{right:calc(var(--spacing)*4)}.right-5{right:calc(var(--spacing)*5)}.right-full{right:100%}.bottom-2{bottom:calc(var(--spacing)*2)}.bottom-20{bottom:calc(var(--spacing)*20)}.bottom-full{bottom:100%}.left-0{left:calc(var(--spacing)*0)}.left-2{left:calc(var(--spacing)*2)}.left-full{left:100%}.z-50{z-index:50}.z-999{z-index:999}.z-1000{z-index:1000}.-mx-6{margin-inline:calc(var(--spacing)*-6)}.my-3{margin-block:calc(var(--spacing)*3)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-5{margin-top:calc(var(--spacing)*5)}.mr-2{margin-right:calc(var(--spacing)*2)}.-mb-0\\.5{margin-bottom:calc(var(--spacing)*-.5)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-0\\.5{margin-left:calc(var(--spacing)*.5)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-1\\.5{margin-left:calc(var(--spacing)*1.5)}.ml-2{margin-left:calc(var(--spacing)*2)}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-5{width:calc(var(--spacing)*5);height:calc(var(--spacing)*5)}.size-6{width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-10{height:calc(var(--spacing)*10)}.h-full{height:100%}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-10{width:calc(var(--spacing)*10)}.w-\\[75\\%\\]{width:75%}.w-fit{width:fit-content}.w-full{width:100%}.w-full\\!{width:100%!important}.max-w-\\[85\\%\\]{max-width:85%}.max-w-\\[520px\\]{max-width:520px}.max-w-\\[730px\\]{max-width:730px}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-32{min-width:calc(var(--spacing)*32)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row-reverse{flex-direction:row-reverse}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-\\[\\#018AE5\\]{border-color:#018ae5}.border-\\[\\#018AE5\\]\\/20{border-color:#018ae533}.border-\\[\\#E4E5EF\\]{border-color:#e4e5ef}.border-\\[\\#E6E6E6\\]{border-color:#e6e6e6}.border-\\[\\#EEF0F3\\]{border-color:#eef0f3}.border-\\[\\#e5e5e5\\]{border-color:#e5e5e5}.border-black\\/12{border-color:#0000001f}@supports (color:color-mix(in lab,red,red)){.border-black\\/12{border-color:color-mix(in oklab,var(--color-black)12%,transparent)}}.border-black\\/15{border-color:#00000026}@supports (color:color-mix(in lab,red,red)){.border-black\\/15{border-color:color-mix(in oklab,var(--color-black)15%,transparent)}}.border-blue-100{border-color:var(--color-blue-100)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.bg-\\[\\#00C868\\]{background-color:#00c868}.bg-\\[\\#1a1a1a\\]{background-color:#1a1a1a}.bg-\\[\\#1784FC\\]{background-color:#1784fc}.bg-\\[\\#666666\\]{background-color:#666}.bg-\\[\\#E9F0FE\\]{background-color:#e9f0fe}.bg-\\[\\#F3F4F6\\]{background-color:#f3f4f6}.bg-\\[\\#F5F5F5\\]{background-color:#f5f5f5}.bg-\\[\\#F7F7F7\\]{background-color:#f7f7f7}.bg-black\\/20{background-color:#0003}@supports (color:color-mix(in lab,red,red)){.bg-black\\/20{background-color:color-mix(in oklab,var(--color-black)20%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-50\\/30{background-color:#eff6ff4d}@supports (color:color-mix(in lab,red,red)){.bg-blue-50\\/30{background-color:color-mix(in oklab,var(--color-blue-50)30%,transparent)}}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-white{background-color:var(--color-white)}.p-0{padding:calc(var(--spacing)*0)}.p-0\\!{padding:calc(var(--spacing)*0)!important}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-\\[2px\\]{padding:2px}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-8{padding-block:calc(var(--spacing)*8)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-6{padding-top:calc(var(--spacing)*6)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-6{padding-right:calc(var(--spacing)*6)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pb-8{padding-bottom:calc(var(--spacing)*8)}.pl-0{padding-left:calc(var(--spacing)*0)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.pl-6{padding-left:calc(var(--spacing)*6)}.pl-7{padding-left:calc(var(--spacing)*7)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-4{--tw-leading:calc(var(--spacing)*4);line-height:calc(var(--spacing)*4)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.wrap-break-word{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[\\#8b8b8b\\]{color:#8b8b8b}.text-\\[\\#018AE5\\]{color:#018ae5}.text-\\[\\#22C55E\\]{color:#22c55e}.text-\\[\\#38C200\\]{color:#38c200}.text-\\[\\#148EFF\\]{color:#148eff}.text-\\[\\#333\\]{color:#333}.text-\\[\\#999\\]{color:#999}.text-\\[\\#1784FC\\]{color:#1784fc}.text-\\[\\#1990FF\\]{color:#1990ff}.text-\\[\\#333333\\]{color:#333}.text-\\[\\#666666\\]{color:#666}.text-\\[\\#999999\\]{color:#999}.text-\\[\\#C8C8C8\\]{color:#c8c8c8}.text-black{color:var(--color-black)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-900{color:var(--color-gray-900)}.text-white{color:var(--color-white)}.italic{font-style:italic}.opacity-0{opacity:0}.opacity-50{opacity:.5}.shadow-\\[0_2px_20px_rgba\\(0\\,0\\,0\\,0\\.1\\)\\]{--tw-shadow:0 2px 20px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}@media (hover:hover){.group-hover\\:text-\\[\\#0072FF\\]:is(:where(.group):hover *){color:#0072ff}.group-hover\\:text-\\[\\#1784FC\\]:is(:where(.group):hover *){color:#1784fc}}.last\\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\\:pb-0:last-child{padding-bottom:calc(var(--spacing)*0)}@media (hover:hover){.hover\\:border-\\[\\#0072ff\\]\\!:hover{border-color:#0072ff!important}.hover\\:border-blue-200:hover{border-color:var(--color-blue-200)}.hover\\:bg-\\[\\#E0E9FD\\]:hover{background-color:#e0e9fd}.hover\\:bg-\\[\\#EDEDED\\]:hover{background-color:#ededed}.hover\\:bg-\\[\\#F7F7F7\\]:hover{background-color:#f7f7f7}.hover\\:bg-black\\/5:hover{background-color:#0000000d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-black\\/5:hover{background-color:color-mix(in oklab,var(--color-black)5%,transparent)}}.hover\\:bg-blue-50:hover{background-color:var(--color-blue-50)}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:text-\\[\\#0072ff\\]\\!:hover{color:#0072ff!important}.hover\\:text-\\[\\#ff4d4f\\]\\!:hover{color:#ff4d4f!important}.hover\\:text-blue-600:hover{color:var(--color-blue-600)}.hover\\:text-gray-600:hover{color:var(--color-gray-600)}}@media (min-width:48rem){.md\\:w-\\[610px\\]{width:610px}}.dark\\:border-\\[\\#1D3A6F\\]:where(.dark,.dark *){border-color:#1d3a6f}.dark\\:border-\\[\\#3A3A3A\\]:where(.dark,.dark *){border-color:#3a3a3a}.dark\\:border-\\[\\#4e4e56\\]:where(.dark,.dark *){border-color:#4e4e56}.dark\\:border-\\[\\#272626\\]:where(.dark,.dark *){border-color:#272626}.dark\\:border-black\\/15:where(.dark,.dark *){border-color:#00000026}@supports (color:color-mix(in lab,red,red)){.dark\\:border-black\\/15:where(.dark,.dark *){border-color:color-mix(in oklab,var(--color-black)15%,transparent)}}.dark\\:border-blue-900\\/30:where(.dark,.dark *){border-color:#1c398e4d}@supports (color:color-mix(in lab,red,red)){.dark\\:border-blue-900\\/30:where(.dark,.dark *){border-color:color-mix(in oklab,var(--color-blue-900)30%,transparent)}}.dark\\:border-gray-700:where(.dark,.dark *){border-color:var(--color-gray-700)}.dark\\:border-gray-800:where(.dark,.dark *){border-color:var(--color-gray-800)}.dark\\:border-white\\/15:where(.dark,.dark *){border-color:#ffffff26}@supports (color:color-mix(in lab,red,red)){.dark\\:border-white\\/15:where(.dark,.dark *){border-color:color-mix(in oklab,var(--color-white)15%,transparent)}}.dark\\:bg-\\[\\#1E1E1E\\]:where(.dark,.dark *){background-color:#1e1e1e}.dark\\:bg-\\[\\#1F2937\\]:where(.dark,.dark *){background-color:#1f2937}.dark\\:bg-\\[\\#2A2A2A\\]:where(.dark,.dark *){background-color:#2a2a2a}.dark\\:bg-\\[\\#020617\\]:where(.dark,.dark *){background-color:#020617}.dark\\:bg-\\[\\#020817\\]:where(.dark,.dark *){background-color:#020817}.dark\\:bg-\\[\\#111827\\]:where(.dark,.dark *){background-color:#111827}.dark\\:bg-\\[\\#202126\\]:where(.dark,.dark *){background-color:#202126}.dark\\:bg-\\[\\#202126\\]\\!:where(.dark,.dark *){background-color:#202126!important}.dark\\:bg-\\[\\#A3A3A3\\]:where(.dark,.dark *){background-color:#a3a3a3}.dark\\:bg-black:where(.dark,.dark *){background-color:var(--color-black)}.dark\\:bg-blue-900\\/10:where(.dark,.dark *){background-color:#1c398e1a}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-900\\/10:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-blue-900)10%,transparent)}}.dark\\:bg-blue-900\\/20:where(.dark,.dark *){background-color:#1c398e33}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-900\\/20:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-blue-900)20%,transparent)}}.dark\\:bg-blue-900\\/30:where(.dark,.dark *){background-color:#1c398e4d}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-900\\/30:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-blue-900)30%,transparent)}}.dark\\:bg-gray-700:where(.dark,.dark *){background-color:var(--color-gray-700)}.dark\\:bg-gray-900:where(.dark,.dark *){background-color:var(--color-gray-900)}.dark\\:text-\\[\\#38C200\\]:where(.dark,.dark *){color:#38c200}.dark\\:text-\\[\\#666\\]:where(.dark,.dark *){color:#666}.dark\\:text-\\[\\#1990FF\\]:where(.dark,.dark *){color:#1990ff}.dark\\:text-\\[\\#808080\\]:where(.dark,.dark *){color:gray}.dark\\:text-\\[\\#999999\\]:where(.dark,.dark *){color:#999}.dark\\:text-\\[\\#A3A3A3\\]:where(.dark,.dark *){color:#a3a3a3}.dark\\:text-\\[\\#A6A6A6\\]:where(.dark,.dark *){color:#a6a6a6}.dark\\:text-\\[\\#D1D5DB\\]:where(.dark,.dark *){color:#d1d5db}.dark\\:text-\\[\\#D8D8D8\\]:where(.dark,.dark *){color:#d8d8d8}.dark\\:text-\\[\\#E5E7EB\\]:where(.dark,.dark *){color:#e5e7eb}.dark\\:text-\\[\\#a6a6a6\\]:where(.dark,.dark *){color:#a6a6a6}.dark\\:text-blue-400:where(.dark,.dark *){color:var(--color-blue-400)}.dark\\:text-gray-100:where(.dark,.dark *){color:var(--color-gray-100)}.dark\\:text-gray-300:where(.dark,.dark *){color:var(--color-gray-300)}.dark\\:text-gray-400:where(.dark,.dark *){color:var(--color-gray-400)}.dark\\:text-white:where(.dark,.dark *){color:var(--color-white)}.dark\\:shadow-\\[0_2px_20px_rgba\\(255\\,255\\,255\\,0\\.1\\)\\]:where(.dark,.dark *){--tw-shadow:0 2px 20px var(--tw-shadow-color,#ffffff1a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:drop-shadow-\\[0_0_6px_rgb\\(255\\,255\\,255\\)\\]:where(.dark,.dark *){--tw-drop-shadow-size:drop-shadow(0 0 6px var(--tw-drop-shadow-color,#fff));--tw-drop-shadow:var(--tw-drop-shadow-size);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}@media (hover:hover){.dark\\:group-hover\\:text-\\[\\#0072FF\\]:where(.dark,.dark *):is(:where(.group):hover *){color:#0072ff}.dark\\:hover\\:border-blue-800:where(.dark,.dark *):hover{border-color:var(--color-blue-800)}.dark\\:hover\\:bg-\\[\\#1F2937\\]:where(.dark,.dark *):hover{background-color:#1f2937}.dark\\:hover\\:bg-\\[\\#2C2C2C\\]:where(.dark,.dark *):hover{background-color:#2c2c2c}.dark\\:hover\\:bg-\\[\\#3A3A3A\\]:where(.dark,.dark *):hover{background-color:#3a3a3a}.dark\\:hover\\:bg-\\[\\#111827\\]:where(.dark,.dark *):hover{background-color:#111827}.dark\\:hover\\:bg-blue-900\\/20:where(.dark,.dark *):hover{background-color:#1c398e33}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-blue-900\\/20:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-blue-900)20%,transparent)}}.dark\\:hover\\:bg-blue-900\\/50:where(.dark,.dark *):hover{background-color:#1c398e80}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-blue-900\\/50:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-blue-900)50%,transparent)}}.dark\\:hover\\:bg-gray-800:where(.dark,.dark *):hover{background-color:var(--color-gray-800)}.dark\\:hover\\:bg-white\\/5:where(.dark,.dark *):hover{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-white\\/5:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.dark\\:hover\\:text-blue-400:where(.dark,.dark *):hover{color:var(--color-blue-400)}}.\\[\\&_\\.ant-btn-icon\\]\\:flex .ant-btn-icon{display:flex}}.cm-deep-research-segmented .ant-segmented-item-label{font-size:16px}.cm-deep-research-segmented .ant-segmented-group{background-color:#fff;padding:2px}.cm-deep-research-segmented .ant-segmented-item{background-color:#fff}.cm-deep-research-segmented .ant-segmented-item:not(:last-child){margin-right:2px}.cm-deep-research-segmented .ant-segmented-item-selected{background-color:#018ae517}.cm-deep-research-segmented .ant-segmented-item-selected .ant-segmented-item-label{color:#1784fc}.cm-deep-research-segmented .ant-segmented-item:not(.ant-segmented-item-selected) .ant-segmented-item-label{color:#333}.cm-deep-research-segmented .ant-segmented-item:not(.ant-segmented-item-selected):hover{background-color:#018ae517}.cm-deep-research-segmented .ant-segmented-item:not(.ant-segmented-item-selected):hover .ant-segmented-item-label{color:#1784fc}.cm-markdown h1,.cm-markdown h2,.cm-markdown h3,.cm-markdown h4,.cm-markdown h5,.cm-markdown h6,.cm-markdown p,.cm-markdown ul,.cm-markdown ol{all:revert}.cm-markdown h1{margin-bottom:16px;font-size:24px;font-weight:600;line-height:32px}.cm-markdown h2{margin-top:24px;margin-bottom:8px;font-size:18px;font-weight:600;line-height:26px}.cm-markdown ol{margin-left:24px;list-style:decimal}.cm-markdown p{margin:4px 0;line-height:1.7}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}')),document.head.appendChild(r)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
2
  import * as Qt from "react";
3
- import di, { useState as N, useEffect as ee, useCallback as be, createContext as tt, useRef as me, useLayoutEffect as Ta, useId as zs, useContext as se, useInsertionEffect as Gs, useMemo as oe, Children as Sa, isValidElement as Pa, Fragment as hi, createElement as ja, forwardRef as Js, Component as Ea, memo as fi, useImperativeHandle as Ra } from "react";
3
+ import di, { useState as N, useRef as he, useEffect as $, useCallback as be, createContext as st, useLayoutEffect as Ta, useId as zs, useContext as se, useInsertionEffect as Gs, useMemo as oe, Children as Sa, isValidElement as Pa, Fragment as hi, createElement as Ea, forwardRef as Js, Component as ja, memo as fi, useImperativeHandle as Ra } from "react";
4
4
  import { initReactI18next as Na, useTranslation as ve, I18nextProvider as Va } from "react-i18next";
5
- import vt from "clsx";
5
+ import $e from "clsx";
6
6
  import Ma from "i18next";
7
7
  import Wt from "@infinilabs/markdown";
8
- import { Loader as Ce, ChevronUp as Ve, ChevronDown as Te, Hammer as Da, Globe as Fa, SquareArrowOutUpRight as Ba, Brain as La, Check as Ut, Copy as pi, ThumbsUp as Oa, ThumbsDown as Ia, Volume2 as _a, RotateCcw as Wa, MoveRight as Ua, PencilLine as qa, List as os, CheckCircle as Ka, Search as Kn, FileText as Qs, BookOpenText as Ya, ExternalLink as mi, Download as za, Share2 as Ga, X as Ja, Hourglass as Qa, CirclePause as Ha } from "lucide-react";
8
+ import { Loader as ke, ChevronUp as Ve, ChevronDown as Te, Hammer as Da, Globe as Fa, SquareArrowOutUpRight as Ba, Brain as La, Check as Ut, Copy as pi, ThumbsUp as Oa, ThumbsDown as Ia, Volume2 as _a, RotateCcw as Wa, MoveRight as Ua, PencilLine as qa, List as os, CheckCircle as Ka, Search as Kn, FileText as Qs, BookOpenText as Ya, ExternalLink as mi, Download as za, Share2 as Ga, X as Ja, Hourglass as Qa, CirclePause as Ha } from "lucide-react";
9
9
  import { useAsyncEffect as Xa } from "ahooks";
10
10
  import { Attachments as Za } from "@infinilabs/attachments";
11
11
  import { Segmented as $a, Button as el } from "antd";
12
12
  import tl from "@infinilabs/search-results";
13
- var Vt = { exports: {} }, dt = {};
13
+ var Vt = { exports: {} }, ht = {};
14
14
  /**
15
15
  * @license React
16
16
  * react-jsx-runtime.production.min.js
@@ -22,7 +22,7 @@ var Vt = { exports: {} }, dt = {};
22
22
  */
23
23
  var Yn;
24
24
  function sl() {
25
- if (Yn) return dt;
25
+ if (Yn) return ht;
26
26
  Yn = 1;
27
27
  var e = di, t = Symbol.for("react.element"), s = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
28
28
  function o(a, c, d) {
@@ -32,9 +32,9 @@ function sl() {
32
32
  if (a && a.defaultProps) for (u in c = a.defaultProps, c) h[u] === void 0 && (h[u] = c[u]);
33
33
  return { $$typeof: t, type: a, key: p, ref: m, props: h, _owner: r.current };
34
34
  }
35
- return dt.Fragment = s, dt.jsx = o, dt.jsxs = o, dt;
35
+ return ht.Fragment = s, ht.jsx = o, ht.jsxs = o, ht;
36
36
  }
37
- var ht = {};
37
+ var ft = {};
38
38
  /**
39
39
  * @license React
40
40
  * react-jsx-runtime.development.js
@@ -47,46 +47,46 @@ var ht = {};
47
47
  var zn;
48
48
  function nl() {
49
49
  return zn || (zn = 1, process.env.NODE_ENV !== "production" && (function() {
50
- var e = di, t = Symbol.for("react.element"), s = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), a = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), v = Symbol.iterator, w = "@@iterator";
50
+ var e = di, t = Symbol.for("react.element"), s = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), a = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), x = Symbol.iterator, w = "@@iterator";
51
51
  function A(f) {
52
52
  if (f === null || typeof f != "object")
53
53
  return null;
54
- var b = v && f[v] || f[w];
54
+ var b = x && f[x] || f[w];
55
55
  return typeof b == "function" ? b : null;
56
56
  }
57
57
  var g = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
58
- function x(f) {
58
+ function v(f) {
59
59
  {
60
- for (var b = arguments.length, k = new Array(b > 1 ? b - 1 : 0), E = 1; E < b; E++)
61
- k[E - 1] = arguments[E];
62
- y("error", f, k);
60
+ for (var b = arguments.length, C = new Array(b > 1 ? b - 1 : 0), j = 1; j < b; j++)
61
+ C[j - 1] = arguments[j];
62
+ y("error", f, C);
63
63
  }
64
64
  }
65
- function y(f, b, k) {
65
+ function y(f, b, C) {
66
66
  {
67
- var E = g.ReactDebugCurrentFrame, O = E.getStackAddendum();
68
- O !== "" && (b += "%s", k = k.concat([O]));
69
- var I = k.map(function(F) {
67
+ var j = g.ReactDebugCurrentFrame, O = j.getStackAddendum();
68
+ O !== "" && (b += "%s", C = C.concat([O]));
69
+ var _ = C.map(function(F) {
70
70
  return String(F);
71
71
  });
72
- I.unshift("Warning: " + b), Function.prototype.apply.call(console[f], console, I);
72
+ _.unshift("Warning: " + b), Function.prototype.apply.call(console[f], console, _);
73
73
  }
74
74
  }
75
- var j = !1, P = !1, V = !1, S = !1, T = !1, D;
76
- D = Symbol.for("react.module.reference");
77
- function _(f) {
78
- return !!(typeof f == "string" || typeof f == "function" || f === n || f === i || T || f === r || f === d || f === u || S || f === m || j || P || V || typeof f == "object" && f !== null && (f.$$typeof === p || f.$$typeof === h || f.$$typeof === o || f.$$typeof === a || f.$$typeof === c || // This needs to include all possible module reference object
75
+ var E = !1, P = !1, V = !1, S = !1, T = !1, M;
76
+ M = Symbol.for("react.module.reference");
77
+ function I(f) {
78
+ return !!(typeof f == "string" || typeof f == "function" || f === n || f === i || T || f === r || f === d || f === u || S || f === m || E || P || V || typeof f == "object" && f !== null && (f.$$typeof === p || f.$$typeof === h || f.$$typeof === o || f.$$typeof === a || f.$$typeof === c || // This needs to include all possible module reference object
79
79
  // types supported by any Flight configuration anywhere since
80
80
  // we don't know which Flight build this will end up being used
81
81
  // with.
82
- f.$$typeof === D || f.getModuleId !== void 0));
82
+ f.$$typeof === M || f.getModuleId !== void 0));
83
83
  }
84
- function Q(f, b, k) {
85
- var E = f.displayName;
86
- if (E)
87
- return E;
84
+ function Q(f, b, C) {
85
+ var j = f.displayName;
86
+ if (j)
87
+ return j;
88
88
  var O = b.displayName || b.name || "";
89
- return O !== "" ? k + "(" + O + ")" : k;
89
+ return O !== "" ? C + "(" + O + ")" : C;
90
90
  }
91
91
  function H(f) {
92
92
  return f.displayName || "Context";
@@ -94,7 +94,7 @@ function nl() {
94
94
  function ce(f) {
95
95
  if (f == null)
96
96
  return null;
97
- if (typeof f.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof f == "function")
97
+ if (typeof f.tag == "number" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof f == "function")
98
98
  return f.displayName || f.name || null;
99
99
  if (typeof f == "string")
100
100
  return f;
@@ -118,17 +118,17 @@ function nl() {
118
118
  var b = f;
119
119
  return H(b) + ".Consumer";
120
120
  case o:
121
- var k = f;
122
- return H(k._context) + ".Provider";
121
+ var C = f;
122
+ return H(C._context) + ".Provider";
123
123
  case c:
124
124
  return Q(f, f.render, "ForwardRef");
125
125
  case h:
126
- var E = f.displayName || null;
127
- return E !== null ? E : ce(f.type) || "Memo";
126
+ var j = f.displayName || null;
127
+ return j !== null ? j : ce(f.type) || "Memo";
128
128
  case p: {
129
- var O = f, I = O._payload, F = O._init;
129
+ var O = f, _ = O._payload, F = O._init;
130
130
  try {
131
- return ce(F(I));
131
+ return ce(F(_));
132
132
  } catch {
133
133
  return null;
134
134
  }
@@ -136,18 +136,18 @@ function nl() {
136
136
  }
137
137
  return null;
138
138
  }
139
- var X = Object.assign, de = 0, $, B, L, U, z, re, Ue;
140
- function Et() {
139
+ var X = Object.assign, de = 0, ee, B, L, U, z, re, qe;
140
+ function jt() {
141
141
  }
142
- Et.__reactDisabledLog = !0;
143
- function je() {
142
+ jt.__reactDisabledLog = !0;
143
+ function Ee() {
144
144
  {
145
145
  if (de === 0) {
146
- $ = console.log, B = console.info, L = console.warn, U = console.error, z = console.group, re = console.groupCollapsed, Ue = console.groupEnd;
146
+ ee = console.log, B = console.info, L = console.warn, U = console.error, z = console.group, re = console.groupCollapsed, qe = console.groupEnd;
147
147
  var f = {
148
148
  configurable: !0,
149
149
  enumerable: !0,
150
- value: Et,
150
+ value: jt,
151
151
  writable: !0
152
152
  };
153
153
  Object.defineProperties(console, {
@@ -163,7 +163,7 @@ function nl() {
163
163
  de++;
164
164
  }
165
165
  }
166
- function ot() {
166
+ function at() {
167
167
  {
168
168
  if (de--, de === 0) {
169
169
  var f = {
@@ -173,7 +173,7 @@ function nl() {
173
173
  };
174
174
  Object.defineProperties(console, {
175
175
  log: X({}, f, {
176
- value: $
176
+ value: ee
177
177
  }),
178
178
  info: X({}, f, {
179
179
  value: B
@@ -191,46 +191,46 @@ function nl() {
191
191
  value: re
192
192
  }),
193
193
  groupEnd: X({}, f, {
194
- value: Ue
194
+ value: qe
195
195
  })
196
196
  });
197
197
  }
198
- de < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
198
+ de < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
199
199
  }
200
200
  }
201
- var at = g.ReactCurrentDispatcher, lt;
202
- function qe(f, b, k) {
201
+ var lt = g.ReactCurrentDispatcher, ct;
202
+ function Ke(f, b, C) {
203
203
  {
204
- if (lt === void 0)
204
+ if (ct === void 0)
205
205
  try {
206
206
  throw Error();
207
207
  } catch (O) {
208
- var E = O.stack.trim().match(/\n( *(at )?)/);
209
- lt = E && E[1] || "";
208
+ var j = O.stack.trim().match(/\n( *(at )?)/);
209
+ ct = j && j[1] || "";
210
210
  }
211
211
  return `
212
- ` + lt + f;
212
+ ` + ct + f;
213
213
  }
214
214
  }
215
- var ct = !1, Ke;
215
+ var ut = !1, Be;
216
216
  {
217
217
  var R = typeof WeakMap == "function" ? WeakMap : Map;
218
- Ke = new R();
218
+ Be = new R();
219
219
  }
220
- function Ee(f, b) {
221
- if (!f || ct)
220
+ function je(f, b) {
221
+ if (!f || ut)
222
222
  return "";
223
223
  {
224
- var k = Ke.get(f);
225
- if (k !== void 0)
226
- return k;
224
+ var C = Be.get(f);
225
+ if (C !== void 0)
226
+ return C;
227
227
  }
228
- var E;
229
- ct = !0;
228
+ var j;
229
+ ut = !0;
230
230
  var O = Error.prepareStackTrace;
231
231
  Error.prepareStackTrace = void 0;
232
- var I;
233
- I = at.current, at.current = null, je();
232
+ var _;
233
+ _ = lt.current, lt.current = null, Ee();
234
234
  try {
235
235
  if (b) {
236
236
  var F = function() {
@@ -244,14 +244,14 @@ function nl() {
244
244
  try {
245
245
  Reflect.construct(F, []);
246
246
  } catch (ue) {
247
- E = ue;
247
+ j = ue;
248
248
  }
249
249
  Reflect.construct(f, [], F);
250
250
  } else {
251
251
  try {
252
252
  F.call();
253
253
  } catch (ue) {
254
- E = ue;
254
+ j = ue;
255
255
  }
256
256
  f.call(F.prototype);
257
257
  }
@@ -259,95 +259,95 @@ function nl() {
259
259
  try {
260
260
  throw Error();
261
261
  } catch (ue) {
262
- E = ue;
262
+ j = ue;
263
263
  }
264
264
  f();
265
265
  }
266
266
  } catch (ue) {
267
- if (ue && E && typeof ue.stack == "string") {
268
- for (var M = ue.stack.split(`
269
- `), ie = E.stack.split(`
270
- `), Y = M.length - 1, G = ie.length - 1; Y >= 1 && G >= 0 && M[Y] !== ie[G]; )
267
+ if (ue && j && typeof ue.stack == "string") {
268
+ for (var D = ue.stack.split(`
269
+ `), ie = j.stack.split(`
270
+ `), Y = D.length - 1, G = ie.length - 1; Y >= 1 && G >= 0 && D[Y] !== ie[G]; )
271
271
  G--;
272
272
  for (; Y >= 1 && G >= 0; Y--, G--)
273
- if (M[Y] !== ie[G]) {
273
+ if (D[Y] !== ie[G]) {
274
274
  if (Y !== 1 || G !== 1)
275
275
  do
276
- if (Y--, G--, G < 0 || M[Y] !== ie[G]) {
277
- var he = `
278
- ` + M[Y].replace(" at new ", " at ");
279
- return f.displayName && he.includes("<anonymous>") && (he = he.replace("<anonymous>", f.displayName)), typeof f == "function" && Ke.set(f, he), he;
276
+ if (Y--, G--, G < 0 || D[Y] !== ie[G]) {
277
+ var fe = `
278
+ ` + D[Y].replace(" at new ", " at ");
279
+ return f.displayName && fe.includes("<anonymous>") && (fe = fe.replace("<anonymous>", f.displayName)), typeof f == "function" && Be.set(f, fe), fe;
280
280
  }
281
281
  while (Y >= 1 && G >= 0);
282
282
  break;
283
283
  }
284
284
  }
285
285
  } finally {
286
- ct = !1, at.current = I, ot(), Error.prepareStackTrace = O;
286
+ ut = !1, lt.current = _, at(), Error.prepareStackTrace = O;
287
287
  }
288
- var ze = f ? f.displayName || f.name : "", Be = ze ? qe(ze) : "";
289
- return typeof f == "function" && Ke.set(f, Be), Be;
288
+ var ze = f ? f.displayName || f.name : "", Le = ze ? Ke(ze) : "";
289
+ return typeof f == "function" && Be.set(f, Le), Le;
290
290
  }
291
- function ta(f, b, k) {
292
- return Ee(f, !1);
291
+ function ta(f, b, C) {
292
+ return je(f, !1);
293
293
  }
294
294
  function sa(f) {
295
295
  var b = f.prototype;
296
296
  return !!(b && b.isReactComponent);
297
297
  }
298
- function Rt(f, b, k) {
298
+ function Rt(f, b, C) {
299
299
  if (f == null)
300
300
  return "";
301
301
  if (typeof f == "function")
302
- return Ee(f, sa(f));
302
+ return je(f, sa(f));
303
303
  if (typeof f == "string")
304
- return qe(f);
304
+ return Ke(f);
305
305
  switch (f) {
306
306
  case d:
307
- return qe("Suspense");
307
+ return Ke("Suspense");
308
308
  case u:
309
- return qe("SuspenseList");
309
+ return Ke("SuspenseList");
310
310
  }
311
311
  if (typeof f == "object")
312
312
  switch (f.$$typeof) {
313
313
  case c:
314
314
  return ta(f.render);
315
315
  case h:
316
- return Rt(f.type, b, k);
316
+ return Rt(f.type, b, C);
317
317
  case p: {
318
- var E = f, O = E._payload, I = E._init;
318
+ var j = f, O = j._payload, _ = j._init;
319
319
  try {
320
- return Rt(I(O), b, k);
320
+ return Rt(_(O), b, C);
321
321
  } catch {
322
322
  }
323
323
  }
324
324
  }
325
325
  return "";
326
326
  }
327
- var ut = Object.prototype.hasOwnProperty, Rn = {}, Nn = g.ReactDebugCurrentFrame;
327
+ var dt = Object.prototype.hasOwnProperty, Rn = {}, Nn = g.ReactDebugCurrentFrame;
328
328
  function Nt(f) {
329
329
  if (f) {
330
- var b = f._owner, k = Rt(f.type, f._source, b ? b.type : null);
331
- Nn.setExtraStackFrame(k);
330
+ var b = f._owner, C = Rt(f.type, f._source, b ? b.type : null);
331
+ Nn.setExtraStackFrame(C);
332
332
  } else
333
333
  Nn.setExtraStackFrame(null);
334
334
  }
335
- function na(f, b, k, E, O) {
335
+ function na(f, b, C, j, O) {
336
336
  {
337
- var I = Function.call.bind(ut);
337
+ var _ = Function.call.bind(dt);
338
338
  for (var F in f)
339
- if (I(f, F)) {
340
- var M = void 0;
339
+ if (_(f, F)) {
340
+ var D = void 0;
341
341
  try {
342
342
  if (typeof f[F] != "function") {
343
- var ie = Error((E || "React class") + ": " + k + " type `" + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof f[F] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
343
+ var ie = Error((j || "React class") + ": " + C + " type `" + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof f[F] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
344
344
  throw ie.name = "Invariant Violation", ie;
345
345
  }
346
- M = f[F](b, F, E, k, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
346
+ D = f[F](b, F, j, C, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
347
347
  } catch (Y) {
348
- M = Y;
348
+ D = Y;
349
349
  }
350
- M && !(M instanceof Error) && (Nt(O), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", E || "React class", k, F, typeof M), Nt(null)), M instanceof Error && !(M.message in Rn) && (Rn[M.message] = !0, Nt(O), x("Failed %s type: %s", k, M.message), Nt(null));
350
+ D && !(D instanceof Error) && (Nt(O), v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", j || "React class", C, F, typeof D), Nt(null)), D instanceof Error && !(D.message in Rn) && (Rn[D.message] = !0, Nt(O), v("Failed %s type: %s", C, D.message), Nt(null));
351
351
  }
352
352
  }
353
353
  }
@@ -357,8 +357,8 @@ function nl() {
357
357
  }
358
358
  function ia(f) {
359
359
  {
360
- var b = typeof Symbol == "function" && Symbol.toStringTag, k = b && f[Symbol.toStringTag] || f.constructor.name || "Object";
361
- return k;
360
+ var b = typeof Symbol == "function" && Symbol.toStringTag, C = b && f[Symbol.toStringTag] || f.constructor.name || "Object";
361
+ return C;
362
362
  }
363
363
  }
364
364
  function oa(f) {
@@ -373,7 +373,7 @@ function nl() {
373
373
  }
374
374
  function Mn(f) {
375
375
  if (oa(f))
376
- return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ia(f)), Vn(f);
376
+ return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ia(f)), Vn(f);
377
377
  }
378
378
  var Dn = g.ReactCurrentOwner, aa = {
379
379
  key: !0,
@@ -382,7 +382,7 @@ function nl() {
382
382
  __source: !0
383
383
  }, Fn, Bn;
384
384
  function la(f) {
385
- if (ut.call(f, "ref")) {
385
+ if (dt.call(f, "ref")) {
386
386
  var b = Object.getOwnPropertyDescriptor(f, "ref").get;
387
387
  if (b && b.isReactWarning)
388
388
  return !1;
@@ -390,7 +390,7 @@ function nl() {
390
390
  return f.ref !== void 0;
391
391
  }
392
392
  function ca(f) {
393
- if (ut.call(f, "key")) {
393
+ if (dt.call(f, "key")) {
394
394
  var b = Object.getOwnPropertyDescriptor(f, "key").get;
395
395
  if (b && b.isReactWarning)
396
396
  return !1;
@@ -402,78 +402,78 @@ function nl() {
402
402
  }
403
403
  function da(f, b) {
404
404
  {
405
- var k = function() {
406
- Fn || (Fn = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", b));
405
+ var C = function() {
406
+ Fn || (Fn = !0, v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", b));
407
407
  };
408
- k.isReactWarning = !0, Object.defineProperty(f, "key", {
409
- get: k,
408
+ C.isReactWarning = !0, Object.defineProperty(f, "key", {
409
+ get: C,
410
410
  configurable: !0
411
411
  });
412
412
  }
413
413
  }
414
414
  function ha(f, b) {
415
415
  {
416
- var k = function() {
417
- Bn || (Bn = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", b));
416
+ var C = function() {
417
+ Bn || (Bn = !0, v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", b));
418
418
  };
419
- k.isReactWarning = !0, Object.defineProperty(f, "ref", {
420
- get: k,
419
+ C.isReactWarning = !0, Object.defineProperty(f, "ref", {
420
+ get: C,
421
421
  configurable: !0
422
422
  });
423
423
  }
424
424
  }
425
- var fa = function(f, b, k, E, O, I, F) {
426
- var M = {
425
+ var fa = function(f, b, C, j, O, _, F) {
426
+ var D = {
427
427
  // This tag allows us to uniquely identify this as a React Element
428
428
  $$typeof: t,
429
429
  // Built-in properties that belong on the element
430
430
  type: f,
431
431
  key: b,
432
- ref: k,
432
+ ref: C,
433
433
  props: F,
434
434
  // Record the component responsible for creating this element.
435
- _owner: I
435
+ _owner: _
436
436
  };
437
- return M._store = {}, Object.defineProperty(M._store, "validated", {
437
+ return D._store = {}, Object.defineProperty(D._store, "validated", {
438
438
  configurable: !1,
439
439
  enumerable: !1,
440
440
  writable: !0,
441
441
  value: !1
442
- }), Object.defineProperty(M, "_self", {
442
+ }), Object.defineProperty(D, "_self", {
443
443
  configurable: !1,
444
444
  enumerable: !1,
445
445
  writable: !1,
446
- value: E
447
- }), Object.defineProperty(M, "_source", {
446
+ value: j
447
+ }), Object.defineProperty(D, "_source", {
448
448
  configurable: !1,
449
449
  enumerable: !1,
450
450
  writable: !1,
451
451
  value: O
452
- }), Object.freeze && (Object.freeze(M.props), Object.freeze(M)), M;
452
+ }), Object.freeze && (Object.freeze(D.props), Object.freeze(D)), D;
453
453
  };
454
- function pa(f, b, k, E, O) {
454
+ function pa(f, b, C, j, O) {
455
455
  {
456
- var I, F = {}, M = null, ie = null;
457
- k !== void 0 && (Mn(k), M = "" + k), ca(b) && (Mn(b.key), M = "" + b.key), la(b) && (ie = b.ref, ua(b, O));
458
- for (I in b)
459
- ut.call(b, I) && !aa.hasOwnProperty(I) && (F[I] = b[I]);
456
+ var _, F = {}, D = null, ie = null;
457
+ C !== void 0 && (Mn(C), D = "" + C), ca(b) && (Mn(b.key), D = "" + b.key), la(b) && (ie = b.ref, ua(b, O));
458
+ for (_ in b)
459
+ dt.call(b, _) && !aa.hasOwnProperty(_) && (F[_] = b[_]);
460
460
  if (f && f.defaultProps) {
461
461
  var Y = f.defaultProps;
462
- for (I in Y)
463
- F[I] === void 0 && (F[I] = Y[I]);
462
+ for (_ in Y)
463
+ F[_] === void 0 && (F[_] = Y[_]);
464
464
  }
465
- if (M || ie) {
465
+ if (D || ie) {
466
466
  var G = typeof f == "function" ? f.displayName || f.name || "Unknown" : f;
467
- M && da(F, G), ie && ha(F, G);
467
+ D && da(F, G), ie && ha(F, G);
468
468
  }
469
- return fa(f, M, ie, O, E, Dn.current, F);
469
+ return fa(f, D, ie, O, j, Dn.current, F);
470
470
  }
471
471
  }
472
472
  var ss = g.ReactCurrentOwner, Ln = g.ReactDebugCurrentFrame;
473
473
  function Ye(f) {
474
474
  if (f) {
475
- var b = f._owner, k = Rt(f.type, f._source, b ? b.type : null);
476
- Ln.setExtraStackFrame(k);
475
+ var b = f._owner, C = Rt(f.type, f._source, b ? b.type : null);
476
+ Ln.setExtraStackFrame(C);
477
477
  } else
478
478
  Ln.setExtraStackFrame(null);
479
479
  }
@@ -502,10 +502,10 @@ Check the render method of \`` + f + "`.";
502
502
  {
503
503
  var b = On();
504
504
  if (!b) {
505
- var k = typeof f == "string" ? f : f.displayName || f.name;
506
- k && (b = `
505
+ var C = typeof f == "string" ? f : f.displayName || f.name;
506
+ C && (b = `
507
507
 
508
- Check the top-level render call using <` + k + ">.");
508
+ Check the top-level render call using <` + C + ">.");
509
509
  }
510
510
  return b;
511
511
  }
@@ -515,12 +515,12 @@ Check the top-level render call using <` + k + ">.");
515
515
  if (!f._store || f._store.validated || f.key != null)
516
516
  return;
517
517
  f._store.validated = !0;
518
- var k = ga(b);
519
- if (In[k])
518
+ var C = ga(b);
519
+ if (In[C])
520
520
  return;
521
- In[k] = !0;
522
- var E = "";
523
- f && f._owner && f._owner !== ss.current && (E = " It was passed a child from " + ce(f._owner.type) + "."), Ye(f), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', k, E), Ye(null);
521
+ In[C] = !0;
522
+ var j = "";
523
+ f && f._owner && f._owner !== ss.current && (j = " It was passed a child from " + ce(f._owner.type) + "."), Ye(f), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', C, j), Ye(null);
524
524
  }
525
525
  }
526
526
  function Wn(f, b) {
@@ -528,16 +528,16 @@ Check the top-level render call using <` + k + ">.");
528
528
  if (typeof f != "object")
529
529
  return;
530
530
  if (ts(f))
531
- for (var k = 0; k < f.length; k++) {
532
- var E = f[k];
533
- rs(E) && _n(E, b);
531
+ for (var C = 0; C < f.length; C++) {
532
+ var j = f[C];
533
+ rs(j) && _n(j, b);
534
534
  }
535
535
  else if (rs(f))
536
536
  f._store && (f._store.validated = !0);
537
537
  else if (f) {
538
538
  var O = A(f);
539
539
  if (typeof O == "function" && O !== f.entries)
540
- for (var I = O.call(f), F; !(F = I.next()).done; )
540
+ for (var _ = O.call(f), F; !(F = _.next()).done; )
541
541
  rs(F.value) && _n(F.value, b);
542
542
  }
543
543
  }
@@ -547,92 +547,92 @@ Check the top-level render call using <` + k + ">.");
547
547
  var b = f.type;
548
548
  if (b == null || typeof b == "string")
549
549
  return;
550
- var k;
550
+ var C;
551
551
  if (typeof b == "function")
552
- k = b.propTypes;
552
+ C = b.propTypes;
553
553
  else if (typeof b == "object" && (b.$$typeof === c || // Note: Memo only checks outer props here.
554
554
  // Inner props are checked in the reconciler.
555
555
  b.$$typeof === h))
556
- k = b.propTypes;
556
+ C = b.propTypes;
557
557
  else
558
558
  return;
559
- if (k) {
560
- var E = ce(b);
561
- na(k, f.props, "prop", E, f);
559
+ if (C) {
560
+ var j = ce(b);
561
+ na(C, f.props, "prop", j, f);
562
562
  } else if (b.PropTypes !== void 0 && !ns) {
563
563
  ns = !0;
564
564
  var O = ce(b);
565
- x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", O || "Unknown");
565
+ v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", O || "Unknown");
566
566
  }
567
- typeof b.getDefaultProps == "function" && !b.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
567
+ typeof b.getDefaultProps == "function" && !b.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
568
568
  }
569
569
  }
570
570
  function xa(f) {
571
571
  {
572
- for (var b = Object.keys(f.props), k = 0; k < b.length; k++) {
573
- var E = b[k];
574
- if (E !== "children" && E !== "key") {
575
- Ye(f), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", E), Ye(null);
572
+ for (var b = Object.keys(f.props), C = 0; C < b.length; C++) {
573
+ var j = b[C];
574
+ if (j !== "children" && j !== "key") {
575
+ Ye(f), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", j), Ye(null);
576
576
  break;
577
577
  }
578
578
  }
579
- f.ref !== null && (Ye(f), x("Invalid attribute `ref` supplied to `React.Fragment`."), Ye(null));
579
+ f.ref !== null && (Ye(f), v("Invalid attribute `ref` supplied to `React.Fragment`."), Ye(null));
580
580
  }
581
581
  }
582
582
  var Un = {};
583
- function qn(f, b, k, E, O, I) {
583
+ function qn(f, b, C, j, O, _) {
584
584
  {
585
- var F = _(f);
585
+ var F = I(f);
586
586
  if (!F) {
587
- var M = "";
588
- (f === void 0 || typeof f == "object" && f !== null && Object.keys(f).length === 0) && (M += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
587
+ var D = "";
588
+ (f === void 0 || typeof f == "object" && f !== null && Object.keys(f).length === 0) && (D += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
589
589
  var ie = ma();
590
- ie ? M += ie : M += On();
590
+ ie ? D += ie : D += On();
591
591
  var Y;
592
- f === null ? Y = "null" : ts(f) ? Y = "array" : f !== void 0 && f.$$typeof === t ? (Y = "<" + (ce(f.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : Y = typeof f, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Y, M);
592
+ f === null ? Y = "null" : ts(f) ? Y = "array" : f !== void 0 && f.$$typeof === t ? (Y = "<" + (ce(f.type) || "Unknown") + " />", D = " Did you accidentally export a JSX literal instead of a component?") : Y = typeof f, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Y, D);
593
593
  }
594
- var G = pa(f, b, k, O, I);
594
+ var G = pa(f, b, C, O, _);
595
595
  if (G == null)
596
596
  return G;
597
597
  if (F) {
598
- var he = b.children;
599
- if (he !== void 0)
600
- if (E)
601
- if (ts(he)) {
602
- for (var ze = 0; ze < he.length; ze++)
603
- Wn(he[ze], f);
604
- Object.freeze && Object.freeze(he);
598
+ var fe = b.children;
599
+ if (fe !== void 0)
600
+ if (j)
601
+ if (ts(fe)) {
602
+ for (var ze = 0; ze < fe.length; ze++)
603
+ Wn(fe[ze], f);
604
+ Object.freeze && Object.freeze(fe);
605
605
  } else
606
- x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
606
+ v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
607
607
  else
608
- Wn(he, f);
608
+ Wn(fe, f);
609
609
  }
610
- if (ut.call(b, "key")) {
611
- var Be = ce(f), ue = Object.keys(b).filter(function(Ca) {
612
- return Ca !== "key";
610
+ if (dt.call(b, "key")) {
611
+ var Le = ce(f), ue = Object.keys(b).filter(function(ka) {
612
+ return ka !== "key";
613
613
  }), is = ue.length > 0 ? "{key: someKey, " + ue.join(": ..., ") + ": ...}" : "{key: someKey}";
614
- if (!Un[Be + is]) {
615
- var ka = ue.length > 0 ? "{" + ue.join(": ..., ") + ": ...}" : "{}";
616
- x(`A props object containing a "key" prop is being spread into JSX:
614
+ if (!Un[Le + is]) {
615
+ var Ca = ue.length > 0 ? "{" + ue.join(": ..., ") + ": ...}" : "{}";
616
+ v(`A props object containing a "key" prop is being spread into JSX:
617
617
  let props = %s;
618
618
  <%s {...props} />
619
619
  React keys must be passed directly to JSX without using spread:
620
620
  let props = %s;
621
- <%s key={someKey} {...props} />`, is, Be, ka, Be), Un[Be + is] = !0;
621
+ <%s key={someKey} {...props} />`, is, Le, Ca, Le), Un[Le + is] = !0;
622
622
  }
623
623
  }
624
624
  return f === n ? xa(G) : ya(G), G;
625
625
  }
626
626
  }
627
- function va(f, b, k) {
628
- return qn(f, b, k, !0);
627
+ function va(f, b, C) {
628
+ return qn(f, b, C, !0);
629
629
  }
630
- function ba(f, b, k) {
631
- return qn(f, b, k, !1);
630
+ function ba(f, b, C) {
631
+ return qn(f, b, C, !1);
632
632
  }
633
633
  var wa = ba, Aa = va;
634
- ht.Fragment = n, ht.jsx = wa, ht.jsxs = Aa;
635
- })()), ht;
634
+ ft.Fragment = n, ft.jsx = wa, ft.jsxs = Aa;
635
+ })()), ft;
636
636
  }
637
637
  var Gn;
638
638
  function rl() {
@@ -816,7 +816,7 @@ function Ht({
816
816
  },
817
817
  title: n,
818
818
  onClick: a,
819
- className: vt(
819
+ className: $e(
820
820
  "inline-flex items-center justify-center rounded-sm p-[2px] transition-all",
821
821
  {
822
822
  "cursor-pointer": i
@@ -977,29 +977,31 @@ const ll = ({
977
977
  getSuggestion: s,
978
978
  loading: n
979
979
  }) => {
980
- const { t: r } = ve(), [i, o] = N(!1), [a, c] = N(null);
981
- return ee(() => {
982
- e?.payload && (c(e?.payload), e?.payload?.suggestion && s && s(e?.payload?.suggestion));
983
- }, [e?.payload, s]), ee(() => {
980
+ const { t: r } = ve(), [i, o] = N(!1), [a, c] = N(null), d = he(s);
981
+ return $(() => {
982
+ d.current = s;
983
+ }, [s]), $(() => {
984
+ e?.payload && (c(e?.payload), e?.payload?.suggestion && d.current && d.current(e?.payload?.suggestion));
985
+ }, [e?.payload]), $(() => {
984
986
  if (t?.message_chunk && !n)
985
987
  try {
986
- const u = t.message_chunk.replace(/^"|"$/g, "").match(/<JSON>([\s\S]*?)<\/JSON>/g);
987
- if (u) {
988
- const p = u[u.length - 1].replace(/<JSON>|<\/JSON>/g, ""), m = JSON.parse(p);
989
- m?.suggestion && s && s(m?.suggestion), c(m);
988
+ const h = t.message_chunk.replace(/^"|"$/g, "").match(/<JSON>([\s\S]*?)<\/JSON>/g);
989
+ if (h) {
990
+ const m = h[h.length - 1].replace(/<JSON>|<\/JSON>/g, ""), x = JSON.parse(m);
991
+ x?.suggestion && d.current && d.current(x?.suggestion), c(x);
990
992
  }
991
- } catch (d) {
992
- console.error("Failed to process message chunk in QueryIntent:", d);
993
+ } catch (u) {
994
+ console.error("Failed to process message chunk in QueryIntent:", u);
993
995
  }
994
- }, [t?.message_chunk, n, s]), !t && !e ? null : /* @__PURE__ */ l.jsxs("div", { className: "space-y-2 mb-3 w-full", children: [
996
+ }, [t?.message_chunk, n]), !t && !e ? null : /* @__PURE__ */ l.jsxs("div", { className: "space-y-2 mb-3 w-full", children: [
995
997
  /* @__PURE__ */ l.jsxs(
996
998
  "button",
997
999
  {
998
- onClick: () => o((d) => !d),
1000
+ onClick: () => o((u) => !u),
999
1001
  className: "inline-flex items-center gap-2 px-2 py-1 rounded-xl transition-colors border border-[#E6E6E6] dark:border-[#272626]",
1000
1002
  children: [
1001
1003
  n ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
1002
- /* @__PURE__ */ l.jsx(Ce, { className: "w-4 h-4 animate-spin text-[#1990FF]" }),
1004
+ /* @__PURE__ */ l.jsx(ke, { className: "w-4 h-4 animate-spin text-[#1990FF]" }),
1003
1005
  /* @__PURE__ */ l.jsx("span", { className: "text-xs text-[#999999] italic", children: r(
1004
1006
  `assistant.message.steps.${t?.chunk_type || e.type}`
1005
1007
  ) })
@@ -1020,16 +1022,16 @@ const ll = ({
1020
1022
  r("assistant.message.steps.keywords"),
1021
1023
  ":"
1022
1024
  ] }),
1023
- /* @__PURE__ */ l.jsx("div", { className: "flex flex-wrap gap-1", children: a?.keyword?.map((d, u) => /* @__PURE__ */ l.jsxs(
1025
+ /* @__PURE__ */ l.jsx("div", { className: "flex flex-wrap gap-1", children: a?.keyword?.map((u, h) => /* @__PURE__ */ l.jsxs(
1024
1026
  "span",
1025
1027
  {
1026
1028
  className: "text-[#333333] dark:text-[#D8D8D8]",
1027
1029
  children: [
1028
- d,
1029
- u < 2 && "、"
1030
+ u,
1031
+ h < 2 && "、"
1030
1032
  ]
1031
1033
  },
1032
- d + u
1034
+ u + h
1033
1035
  )) })
1034
1036
  ] }) : null,
1035
1037
  a?.category ? /* @__PURE__ */ l.jsxs("div", { className: "flex items-center gap-1", children: [
@@ -1054,18 +1056,18 @@ const ll = ({
1054
1056
  r("assistant.message.steps.relatedQuestions"),
1055
1057
  ":"
1056
1058
  ] }),
1057
- /* @__PURE__ */ l.jsx("div", { className: "flex-1 flex flex-col text-[#333333] dark:text-[#D8D8D8]", children: a?.query?.map((d, u) => /* @__PURE__ */ l.jsxs("span", { children: [
1059
+ /* @__PURE__ */ l.jsx("div", { className: "flex-1 flex flex-col text-[#333333] dark:text-[#D8D8D8]", children: a?.query?.map((u, h) => /* @__PURE__ */ l.jsxs("span", { children: [
1058
1060
  "- ",
1059
- d
1060
- ] }, d + u)) })
1061
+ u
1062
+ ] }, u + h)) })
1061
1063
  ] }) : null
1062
1064
  ] }) }) })
1063
1065
  ] });
1064
1066
  }, cl = ({ Detail: e, ChunkData: t, loading: s }) => {
1065
1067
  const { t: n } = ve(), [r, i] = N(!1), [o, a] = N("");
1066
- return ee(() => {
1068
+ return $(() => {
1067
1069
  e?.description && a(e?.description);
1068
- }, [e?.description]), ee(() => {
1070
+ }, [e?.description]), $(() => {
1069
1071
  t?.message_chunk && a(t?.message_chunk);
1070
1072
  }, [t?.message_chunk, o]), !t && !e ? null : /* @__PURE__ */ l.jsxs("div", { className: "space-y-2 mb-3 w-full", children: [
1071
1073
  /* @__PURE__ */ l.jsxs(
@@ -1075,7 +1077,7 @@ const ll = ({
1075
1077
  className: "inline-flex items-center gap-2 px-2 py-1 rounded-xl transition-colors border border-[#E6E6E6] dark:border-[#272626]",
1076
1078
  children: [
1077
1079
  s ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
1078
- /* @__PURE__ */ l.jsx(Ce, { className: "w-4 h-4 animate-spin text-[#1990FF]" }),
1080
+ /* @__PURE__ */ l.jsx(ke, { className: "w-4 h-4 animate-spin text-[#1990FF]" }),
1079
1081
  /* @__PURE__ */ l.jsx("span", { className: "text-xs text-[#999999] italic", children: n(`assistant.message.steps.${t?.chunk_type}`) })
1080
1082
  ] }) : /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
1081
1083
  /* @__PURE__ */ l.jsx(Da, { className: "w-4 h-4 text-[#38C200]" }),
@@ -1147,9 +1149,9 @@ const hl = ({
1147
1149
  formatUrl: n
1148
1150
  }) => {
1149
1151
  const { t: r } = ve(), [i, o] = N(!1), [a, c] = N(0), [d, u] = N([]);
1150
- ee(() => {
1152
+ $(() => {
1151
1153
  e?.payload && (u(e?.payload), c(e?.payload.length));
1152
- }, [e?.payload]), ee(() => {
1154
+ }, [e?.payload]), $(() => {
1153
1155
  if (t?.message_chunk && !s)
1154
1156
  try {
1155
1157
  const p = t.message_chunk.match(
@@ -1159,8 +1161,8 @@ const hl = ({
1159
1161
  p && c(Number(p[1]));
1160
1162
  const m = t.message_chunk.match(/\[([\s\S]*)\]/);
1161
1163
  if (m) {
1162
- const v = JSON.parse(m[0]);
1163
- u(v);
1164
+ const x = JSON.parse(m[0]);
1165
+ u(x);
1164
1166
  }
1165
1167
  } catch (p) {
1166
1168
  console.error("Failed to parse fetch source data:", p);
@@ -1363,9 +1365,9 @@ const pl = ({
1363
1365
  loading: s
1364
1366
  }) => {
1365
1367
  const { t: n } = ve(), [r, i] = N(!1), [o, a] = N([]);
1366
- return ee(() => {
1368
+ return $(() => {
1367
1369
  e?.payload && a(e?.payload);
1368
- }, [e?.payload]), ee(() => {
1370
+ }, [e?.payload]), $(() => {
1369
1371
  if (t?.message_chunk && !s)
1370
1372
  try {
1371
1373
  const d = t.message_chunk.replace(/^"|"$/g, "").match(/<JSON>([\s\S]*?)<\/JSON>/g);
@@ -1391,7 +1393,7 @@ const pl = ({
1391
1393
  className: "inline-flex items-center gap-2 px-2 py-1 rounded-xl transition-colors border border-[#E6E6E6] dark:border-[#272626]",
1392
1394
  children: [
1393
1395
  s ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
1394
- /* @__PURE__ */ l.jsx(Ce, { className: "w-4 h-4 animate-spin text-[#1990FF]" }),
1396
+ /* @__PURE__ */ l.jsx(ke, { className: "w-4 h-4 animate-spin text-[#1990FF]" }),
1395
1397
  /* @__PURE__ */ l.jsx("span", { className: "text-xs text-[#999999] italic", children: n("assistant.message.steps.pick_source_start") })
1396
1398
  ] }) : /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
1397
1399
  /* @__PURE__ */ l.jsx(fl, { className: "w-4 h-4 text-[#38C200]" }),
@@ -1560,9 +1562,9 @@ const gl = ({
1560
1562
  loading: s
1561
1563
  }) => {
1562
1564
  const { t: n } = ve(), [r, i] = N(!1), [o, a] = N([]), [c, d] = N("");
1563
- return ee(() => {
1565
+ return $(() => {
1564
1566
  e?.description && d(e?.description);
1565
- }, [e?.description]), ee(() => {
1567
+ }, [e?.description]), $(() => {
1566
1568
  if (t?.message_chunk)
1567
1569
  try {
1568
1570
  if (t.message_chunk.includes("&")) {
@@ -1581,7 +1583,7 @@ const gl = ({
1581
1583
  className: "inline-flex items-center gap-2 px-2 py-1 rounded-xl transition-colors border border-[#E6E6E6] dark:border-[#272626]",
1582
1584
  children: [
1583
1585
  s ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
1584
- /* @__PURE__ */ l.jsx(Ce, { className: "w-4 h-4 animate-spin text-[#1990FF]" }),
1586
+ /* @__PURE__ */ l.jsx(ke, { className: "w-4 h-4 animate-spin text-[#1990FF]" }),
1585
1587
  /* @__PURE__ */ l.jsx("span", { className: "text-xs text-[#999999] italic", children: n(
1586
1588
  `assistant.message.steps.${t?.chunk_type || e?.type}`
1587
1589
  ) })
@@ -1599,10 +1601,10 @@ const gl = ({
1599
1601
  }
1600
1602
  ),
1601
1603
  r && /* @__PURE__ */ l.jsx("div", { className: "pl-2 pt-1 border-l-2 border-[#e5e5e5] dark:border-[#4e4e56]", children: /* @__PURE__ */ l.jsx("div", { className: "text-[#8b8b8b] dark:text-[#a6a6a6] space-y-2", children: /* @__PURE__ */ l.jsxs("div", { className: "mb-4 space-y-3 text-xs", children: [
1602
- o?.map((u) => /* @__PURE__ */ l.jsx("div", { className: "flex flex-col gap-2", children: /* @__PURE__ */ l.jsxs("div", { className: "text-xs text-[#999999] dark:text-[#808080]", children: [
1604
+ o?.map((u, h) => /* @__PURE__ */ l.jsx("div", { className: "flex flex-col gap-2", children: /* @__PURE__ */ l.jsxs("div", { className: "text-xs text-[#999999] dark:text-[#808080]", children: [
1603
1605
  "- ",
1604
1606
  u
1605
- ] }) }, u)),
1607
+ ] }) }, `${u}-${h}`)),
1606
1608
  c?.split(`
1607
1609
  `).map(
1608
1610
  (u, h) => u.trim() && /* @__PURE__ */ l.jsx("p", { className: "text-sm", children: u }, h)
@@ -1611,9 +1613,9 @@ const gl = ({
1611
1613
  ] });
1612
1614
  }, yl = ({ Detail: e, ChunkData: t, loading: s }) => {
1613
1615
  const { t: n } = ve(), [r, i] = N(!0), [o, a] = N("");
1614
- return ee(() => {
1616
+ return $(() => {
1615
1617
  e?.description && a(e?.description);
1616
- }, [e?.description]), ee(() => {
1618
+ }, [e?.description]), $(() => {
1617
1619
  t?.message_chunk && a(t?.message_chunk);
1618
1620
  }, [t?.message_chunk, o]), !t && !e ? null : /* @__PURE__ */ l.jsxs("div", { className: "space-y-2 mb-3 w-full", children: [
1619
1621
  /* @__PURE__ */ l.jsxs(
@@ -1623,7 +1625,7 @@ const gl = ({
1623
1625
  className: "inline-flex items-center gap-2 px-2 py-1 rounded-xl transition-colors border border-[#E6E6E6] dark:border-[#272626]",
1624
1626
  children: [
1625
1627
  s ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
1626
- /* @__PURE__ */ l.jsx(Ce, { className: "w-4 h-4 animate-spin text-[#1990FF]" }),
1628
+ /* @__PURE__ */ l.jsx(ke, { className: "w-4 h-4 animate-spin text-[#1990FF]" }),
1627
1629
  /* @__PURE__ */ l.jsx("span", { className: "text-xs text-[#999999] italic", children: n(`assistant.message.steps.${t?.chunk_type}`) })
1628
1630
  ] }) : /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
1629
1631
  /* @__PURE__ */ l.jsx(La, { className: "w-4 h-4 text-[#38C200]" }),
@@ -1647,7 +1649,7 @@ const gl = ({
1647
1649
  copyButtonId: i,
1648
1650
  onResend: o
1649
1651
  }) => {
1650
- const [a, c] = N(!1), [d, u] = N(!1), [h, p] = N(!1), [m, v] = N(!1), [w, A] = N(!1), g = xl.includes(e), x = async () => {
1652
+ const [a, c] = N(!1), [d, u] = N(!1), [h, p] = N(!1), [m, x] = N(!1), [w, A] = N(!1), g = xl.includes(e), v = async () => {
1651
1653
  try {
1652
1654
  await yi(t), c(!0);
1653
1655
  const S = setTimeout(() => {
@@ -1658,18 +1660,18 @@ const gl = ({
1658
1660
  }
1659
1661
  }, y = () => {
1660
1662
  u(!d), p(!1);
1661
- }, j = () => {
1663
+ }, E = () => {
1662
1664
  p(!h), u(!1);
1663
1665
  }, P = async () => {
1664
1666
  if ("speechSynthesis" in window) {
1665
1667
  if (m) {
1666
- window.speechSynthesis.cancel(), v(!1);
1668
+ window.speechSynthesis.cancel(), x(!1);
1667
1669
  return;
1668
1670
  }
1669
1671
  const S = new SpeechSynthesisUtterance(t);
1670
1672
  S.lang = "zh-CN", S.onend = () => {
1671
- v(!1);
1672
- }, v(!0), window.speechSynthesis.speak(S);
1673
+ x(!1);
1674
+ }, x(!0), window.speechSynthesis.speak(S);
1673
1675
  }
1674
1676
  }, V = () => {
1675
1677
  if (o) {
@@ -1679,12 +1681,12 @@ const gl = ({
1679
1681
  }, 1e3);
1680
1682
  }
1681
1683
  };
1682
- return /* @__PURE__ */ l.jsxs("div", { className: vt("flex items-center gap-2 mt-2", n), children: [
1684
+ return /* @__PURE__ */ l.jsxs("div", { className: $e("flex items-center gap-2 mt-2", n), children: [
1683
1685
  !g && /* @__PURE__ */ l.jsx(
1684
1686
  "button",
1685
1687
  {
1686
1688
  id: i,
1687
- onClick: x,
1689
+ onClick: v,
1688
1690
  className: "p-1 hover:bg-black/5 dark:hover:bg-white/5 rounded-lg transition-colors",
1689
1691
  children: a ? /* @__PURE__ */ l.jsx(
1690
1692
  Ut,
@@ -1727,7 +1729,7 @@ const gl = ({
1727
1729
  !g && /* @__PURE__ */ l.jsx(
1728
1730
  "button",
1729
1731
  {
1730
- onClick: j,
1732
+ onClick: E,
1731
1733
  className: `p-1 hover:bg-black/5 dark:hover:bg-white/5 rounded-lg transition-colors ${h ? "animate-shake" : ""}`,
1732
1734
  children: /* @__PURE__ */ l.jsx(
1733
1735
  Ia,
@@ -1840,7 +1842,7 @@ const wl = ({ textToCopy: e }) => {
1840
1842
  /* @__PURE__ */ l.jsx(
1841
1843
  "div",
1842
1844
  {
1843
- className: vt("size-6 transition", {
1845
+ className: $e("size-6 transition", {
1844
1846
  "opacity-0": !n
1845
1847
  }),
1846
1848
  children: /* @__PURE__ */ l.jsx(wl, { textToCopy: t })
@@ -1860,7 +1862,7 @@ const wl = ({ textToCopy: e }) => {
1860
1862
  i && i.length > 0 && /* @__PURE__ */ l.jsx(
1861
1863
  "div",
1862
1864
  {
1863
- className: vt("w-full", {
1865
+ className: $e("w-full", {
1864
1866
  "mt-3": t
1865
1867
  }),
1866
1868
  children: /* @__PURE__ */ l.jsx(
@@ -1879,53 +1881,53 @@ const wl = ({ textToCopy: e }) => {
1879
1881
  }
1880
1882
  )
1881
1883
  ] });
1882
- }, kl = ({ name: e, className: t, style: s, ...n }) => /* @__PURE__ */ l.jsx("svg", { className: `icon dark:drop-shadow-[0_0_6px_rgb(255,255,255)] ${t || ""}`, style: s, ...n, children: /* @__PURE__ */ l.jsx("use", { xlinkHref: `#${e}` }) });
1883
- function Cl() {
1884
- const [e, t] = N(), [s, n] = N(), [r, i] = N(), [o, a] = N(), [c, d] = N(), [u, h] = N(), [p, m] = N(), [v, w] = N([]), A = {
1885
- deal_query_intent: be((x) => {
1884
+ }, Cl = ({ name: e, className: t, style: s, ...n }) => /* @__PURE__ */ l.jsx("svg", { className: `icon dark:drop-shadow-[0_0_6px_rgb(255,255,255)] ${t || ""}`, style: s, ...n, children: /* @__PURE__ */ l.jsx("use", { xlinkHref: `#${e}` }) });
1885
+ function kl() {
1886
+ const [e, t] = N(), [s, n] = N(), [r, i] = N(), [o, a] = N(), [c, d] = N(), [u, h] = N(), [p, m] = N(), [x, w] = N([]), A = {
1887
+ deal_query_intent: be((v) => {
1886
1888
  t((y) => y ? {
1887
1889
  ...y,
1888
- message_chunk: (y.message_chunk || "") + (x.message_chunk || "")
1889
- } : x);
1890
+ message_chunk: (y.message_chunk || "") + (v.message_chunk || "")
1891
+ } : v);
1890
1892
  }, []),
1891
- deal_tools: be((x) => {
1893
+ deal_tools: be((v) => {
1892
1894
  n((y) => y ? {
1893
1895
  ...y,
1894
- message_chunk: (y.message_chunk || "") + (x.message_chunk || "")
1895
- } : x);
1896
+ message_chunk: (y.message_chunk || "") + (v.message_chunk || "")
1897
+ } : v);
1896
1898
  }, []),
1897
- deal_fetch_source: be((x) => {
1899
+ deal_fetch_source: be((v) => {
1898
1900
  i((y) => y ? {
1899
1901
  ...y,
1900
- message_chunk: (y.message_chunk || "") + (x.message_chunk || "")
1901
- } : x);
1902
+ message_chunk: (y.message_chunk || "") + (v.message_chunk || "")
1903
+ } : v);
1902
1904
  }, []),
1903
- deal_pick_source: be((x) => {
1905
+ deal_pick_source: be((v) => {
1904
1906
  a((y) => y ? {
1905
1907
  ...y,
1906
- message_chunk: (y.message_chunk || "") + (x.message_chunk || "")
1907
- } : x);
1908
+ message_chunk: (y.message_chunk || "") + (v.message_chunk || "")
1909
+ } : v);
1908
1910
  }, []),
1909
- deal_deep_read: be((x) => {
1911
+ deal_deep_read: be((v) => {
1910
1912
  d((y) => y ? {
1911
1913
  ...y,
1912
- message_chunk: (y.message_chunk || "") + "&" + (x.message_chunk || "")
1913
- } : x);
1914
+ message_chunk: (y.message_chunk || "") + "&" + (v.message_chunk || "")
1915
+ } : v);
1914
1916
  }, []),
1915
- deal_think: be((x) => {
1917
+ deal_think: be((v) => {
1916
1918
  h((y) => y ? {
1917
1919
  ...y,
1918
- message_chunk: (y.message_chunk || "") + (x.message_chunk || "")
1919
- } : x);
1920
+ message_chunk: (y.message_chunk || "") + (v.message_chunk || "")
1921
+ } : v);
1920
1922
  }, []),
1921
- deal_response: be((x) => {
1923
+ deal_response: be((v) => {
1922
1924
  m((y) => y ? {
1923
1925
  ...y,
1924
- message_chunk: (y.message_chunk || "") + (x.message_chunk || "")
1925
- } : x);
1926
+ message_chunk: (y.message_chunk || "") + (v.message_chunk || "")
1927
+ } : v);
1926
1928
  }, []),
1927
- deal_deep_research: be((x) => {
1928
- w((y) => [...y, x]);
1929
+ deal_deep_research: be((v) => {
1930
+ w((y) => [...y, v]);
1929
1931
  }, [])
1930
1932
  };
1931
1933
  return {
@@ -1937,20 +1939,20 @@ function Cl() {
1937
1939
  deep_read: c,
1938
1940
  think: u,
1939
1941
  response: p,
1940
- deepResearch: v
1942
+ deepResearch: x
1941
1943
  },
1942
1944
  handlers: A,
1943
- clearAllChunkData: () => new Promise((x) => {
1944
- t(void 0), n(void 0), i(void 0), a(void 0), d(void 0), h(void 0), m(void 0), w([]), setTimeout(x, 0);
1945
+ clearAllChunkData: () => new Promise((v) => {
1946
+ t(void 0), n(void 0), i(void 0), a(void 0), d(void 0), h(void 0), m(void 0), w([]), setTimeout(v, 0);
1945
1947
  })
1946
1948
  };
1947
1949
  }
1948
- const Hs = tt({});
1950
+ const Hs = st({});
1949
1951
  function Xs(e) {
1950
- const t = me(null);
1952
+ const t = he(null);
1951
1953
  return t.current === null && (t.current = e()), t.current;
1952
1954
  }
1953
- const Zs = typeof window < "u", vi = Zs ? Ta : ee, Xt = /* @__PURE__ */ tt(null);
1955
+ const Zs = typeof window < "u", vi = Zs ? Ta : $, Xt = /* @__PURE__ */ st(null);
1954
1956
  function $s(e, t) {
1955
1957
  e.indexOf(t) === -1 && e.push(t);
1956
1958
  }
@@ -1958,18 +1960,18 @@ function en(e, t) {
1958
1960
  const s = e.indexOf(t);
1959
1961
  s > -1 && e.splice(s, 1);
1960
1962
  }
1961
- const ke = (e, t, s) => s > t ? t : s < e ? e : s;
1962
- function ks(e, t) {
1963
+ const Ce = (e, t, s) => s > t ? t : s < e ? e : s;
1964
+ function Cs(e, t) {
1963
1965
  return t ? `${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}` : e;
1964
1966
  }
1965
- let st = () => {
1967
+ let nt = () => {
1966
1968
  }, Se = () => {
1967
1969
  };
1968
- typeof process < "u" && process.env?.NODE_ENV !== "production" && (st = (e, t, s) => {
1969
- !e && typeof console < "u" && console.warn(ks(t, s));
1970
+ typeof process < "u" && process.env?.NODE_ENV !== "production" && (nt = (e, t, s) => {
1971
+ !e && typeof console < "u" && console.warn(Cs(t, s));
1970
1972
  }, Se = (e, t, s) => {
1971
1973
  if (!e)
1972
- throw new Error(ks(t, s));
1974
+ throw new Error(Cs(t, s));
1973
1975
  });
1974
1976
  const Pe = {}, bi = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);
1975
1977
  function wi(e) {
@@ -2010,40 +2012,40 @@ class sn {
2010
2012
  this.subscriptions.length = 0;
2011
2013
  }
2012
2014
  }
2013
- const we = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, pe = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3;
2014
- function ki(e, t) {
2015
+ const we = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, me = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3;
2016
+ function Ci(e, t) {
2015
2017
  return t ? e * (1e3 / t) : 0;
2016
2018
  }
2017
2019
  const Jn = /* @__PURE__ */ new Set();
2018
2020
  function nn(e, t, s) {
2019
- e || Jn.has(t) || (console.warn(ks(t, s)), Jn.add(t));
2021
+ e || Jn.has(t) || (console.warn(Cs(t, s)), Jn.add(t));
2020
2022
  }
2021
- const Ci = (e, t, s) => (((1 - 3 * s + 3 * t) * e + (3 * s - 6 * t)) * e + 3 * t) * e, Sl = 1e-7, Pl = 12;
2022
- function jl(e, t, s, n, r) {
2023
+ const ki = (e, t, s) => (((1 - 3 * s + 3 * t) * e + (3 * s - 6 * t)) * e + 3 * t) * e, Sl = 1e-7, Pl = 12;
2024
+ function El(e, t, s, n, r) {
2023
2025
  let i, o, a = 0;
2024
2026
  do
2025
- o = t + (s - t) / 2, i = Ci(o, n, r) - e, i > 0 ? s = o : t = o;
2027
+ o = t + (s - t) / 2, i = ki(o, n, r) - e, i > 0 ? s = o : t = o;
2026
2028
  while (Math.abs(i) > Sl && ++a < Pl);
2027
2029
  return o;
2028
2030
  }
2029
2031
  function St(e, t, s, n) {
2030
2032
  if (e === t && s === n)
2031
2033
  return ge;
2032
- const r = (i) => jl(i, 0, 1, e, s);
2033
- return (i) => i === 0 || i === 1 ? i : Ci(r(i), t, n);
2034
+ const r = (i) => El(i, 0, 1, e, s);
2035
+ return (i) => i === 0 || i === 1 ? i : ki(r(i), t, n);
2034
2036
  }
2035
- const Ti = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, Si = (e) => (t) => 1 - e(1 - t), Pi = /* @__PURE__ */ St(0.33, 1.53, 0.69, 0.99), rn = /* @__PURE__ */ Si(Pi), ji = /* @__PURE__ */ Ti(rn), Ei = (e) => (e *= 2) < 1 ? 0.5 * rn(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), on = (e) => 1 - Math.sin(Math.acos(e)), Ri = Si(on), Ni = Ti(on), El = /* @__PURE__ */ St(0.42, 0, 1, 1), Rl = /* @__PURE__ */ St(0, 0, 0.58, 1), Vi = /* @__PURE__ */ St(0.42, 0, 0.58, 1), Nl = (e) => Array.isArray(e) && typeof e[0] != "number", Mi = (e) => Array.isArray(e) && typeof e[0] == "number", Qn = {
2037
+ const Ti = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, Si = (e) => (t) => 1 - e(1 - t), Pi = /* @__PURE__ */ St(0.33, 1.53, 0.69, 0.99), rn = /* @__PURE__ */ Si(Pi), Ei = /* @__PURE__ */ Ti(rn), ji = (e) => (e *= 2) < 1 ? 0.5 * rn(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), on = (e) => 1 - Math.sin(Math.acos(e)), Ri = Si(on), Ni = Ti(on), jl = /* @__PURE__ */ St(0.42, 0, 1, 1), Rl = /* @__PURE__ */ St(0, 0, 0.58, 1), Vi = /* @__PURE__ */ St(0.42, 0, 0.58, 1), Nl = (e) => Array.isArray(e) && typeof e[0] != "number", Mi = (e) => Array.isArray(e) && typeof e[0] == "number", Qn = {
2036
2038
  linear: ge,
2037
- easeIn: El,
2039
+ easeIn: jl,
2038
2040
  easeInOut: Vi,
2039
2041
  easeOut: Rl,
2040
2042
  circIn: on,
2041
2043
  circInOut: Ni,
2042
2044
  circOut: Ri,
2043
2045
  backIn: rn,
2044
- backInOut: ji,
2046
+ backInOut: Ei,
2045
2047
  backOut: Pi,
2046
- anticipate: Ei
2048
+ anticipate: ji
2047
2049
  }, Vl = (e) => typeof e == "string", Hn = (e) => {
2048
2050
  if (Mi(e)) {
2049
2051
  Se(e.length === 4, "Cubic bezier arrays must contain four numerical values.", "cubic-bezier-length");
@@ -2086,8 +2088,8 @@ function Ml(e, t) {
2086
2088
  * Schedule a process to run on the next frame.
2087
2089
  */
2088
2090
  schedule: (u, h = !1, p = !1) => {
2089
- const v = p && r ? s : n;
2090
- return h && o.add(u), v.has(u) || v.add(u), u;
2091
+ const x = p && r ? s : n;
2092
+ return h && o.add(u), x.has(u) || x.add(u), u;
2091
2093
  },
2092
2094
  /**
2093
2095
  * Cancel the provided callback from running on the next frame.
@@ -2115,18 +2117,18 @@ function Di(e, t) {
2115
2117
  delta: 0,
2116
2118
  timestamp: 0,
2117
2119
  isProcessing: !1
2118
- }, i = () => s = !0, o = Mt.reduce((y, j) => (y[j] = Ml(i), y), {}), { setup: a, read: c, resolveKeyframes: d, preUpdate: u, update: h, preRender: p, render: m, postRender: v } = o, w = () => {
2120
+ }, i = () => s = !0, o = Mt.reduce((y, E) => (y[E] = Ml(i), y), {}), { setup: a, read: c, resolveKeyframes: d, preUpdate: u, update: h, preRender: p, render: m, postRender: x } = o, w = () => {
2119
2121
  const y = Pe.useManualTiming ? r.timestamp : performance.now();
2120
- s = !1, Pe.useManualTiming || (r.delta = n ? 1e3 / 60 : Math.max(Math.min(y - r.timestamp, Dl), 1)), r.timestamp = y, r.isProcessing = !0, a.process(r), c.process(r), d.process(r), u.process(r), h.process(r), p.process(r), m.process(r), v.process(r), r.isProcessing = !1, s && t && (n = !1, e(w));
2122
+ s = !1, Pe.useManualTiming || (r.delta = n ? 1e3 / 60 : Math.max(Math.min(y - r.timestamp, Dl), 1)), r.timestamp = y, r.isProcessing = !0, a.process(r), c.process(r), d.process(r), u.process(r), h.process(r), p.process(r), m.process(r), x.process(r), r.isProcessing = !1, s && t && (n = !1, e(w));
2121
2123
  }, A = () => {
2122
2124
  s = !0, n = !0, r.isProcessing || e(w);
2123
2125
  };
2124
- return { schedule: Mt.reduce((y, j) => {
2125
- const P = o[j];
2126
- return y[j] = (V, S = !1, T = !1) => (s || A(), P.schedule(V, S, T)), y;
2126
+ return { schedule: Mt.reduce((y, E) => {
2127
+ const P = o[E];
2128
+ return y[E] = (V, S = !1, T = !1) => (s || A(), P.schedule(V, S, T)), y;
2127
2129
  }, {}), cancel: (y) => {
2128
- for (let j = 0; j < Mt.length; j++)
2129
- o[Mt[j]].cancel(y);
2130
+ for (let E = 0; E < Mt.length; E++)
2131
+ o[Mt[E]].cancel(y);
2130
2132
  }, state: r, steps: o };
2131
2133
  }
2132
2134
  const { schedule: W, cancel: Me, state: te, steps: as } = /* @__PURE__ */ Di(typeof requestAnimationFrame < "u" ? requestAnimationFrame : ge, !0);
@@ -2143,17 +2145,17 @@ const ae = {
2143
2145
  function Xn(e) {
2144
2146
  return typeof e != "string" ? !1 : e.split("/*")[0].includes("var(--");
2145
2147
  }
2146
- const nt = {
2148
+ const rt = {
2147
2149
  test: (e) => typeof e == "number",
2148
2150
  parse: parseFloat,
2149
2151
  transform: (e) => e
2150
2152
  }, wt = {
2151
- ...nt,
2152
- transform: (e) => ke(0, 1, e)
2153
+ ...rt,
2154
+ transform: (e) => Ce(0, 1, e)
2153
2155
  }, Dt = {
2154
- ...nt,
2156
+ ...rt,
2155
2157
  default: 1
2156
- }, gt = (e) => Math.round(e * 1e5) / 1e5, ln = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
2158
+ }, yt = (e) => Math.round(e * 1e5) / 1e5, ln = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
2157
2159
  function Ol(e) {
2158
2160
  return e == null;
2159
2161
  }
@@ -2167,13 +2169,13 @@ const Il = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
2167
2169
  [s]: parseFloat(o),
2168
2170
  alpha: a !== void 0 ? parseFloat(a) : 1
2169
2171
  };
2170
- }, _l = (e) => ke(0, 255, e), ls = {
2171
- ...nt,
2172
+ }, _l = (e) => Ce(0, 255, e), ls = {
2173
+ ...rt,
2172
2174
  transform: (e) => Math.round(_l(e))
2173
- }, Ie = {
2175
+ }, _e = {
2174
2176
  test: /* @__PURE__ */ cn("rgb", "red"),
2175
2177
  parse: /* @__PURE__ */ Li("red", "green", "blue"),
2176
- transform: ({ red: e, green: t, blue: s, alpha: n = 1 }) => "rgba(" + ls.transform(e) + ", " + ls.transform(t) + ", " + ls.transform(s) + ", " + gt(wt.transform(n)) + ")"
2178
+ transform: ({ red: e, green: t, blue: s, alpha: n = 1 }) => "rgba(" + ls.transform(e) + ", " + ls.transform(t) + ", " + ls.transform(s) + ", " + yt(wt.transform(n)) + ")"
2177
2179
  };
2178
2180
  function Wl(e) {
2179
2181
  let t = "", s = "", n = "", r = "";
@@ -2184,26 +2186,26 @@ function Wl(e) {
2184
2186
  alpha: r ? parseInt(r, 16) / 255 : 1
2185
2187
  };
2186
2188
  }
2187
- const Cs = {
2189
+ const ks = {
2188
2190
  test: /* @__PURE__ */ cn("#"),
2189
2191
  parse: Wl,
2190
- transform: Ie.transform
2192
+ transform: _e.transform
2191
2193
  }, Pt = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
2192
2194
  test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
2193
2195
  parse: parseFloat,
2194
2196
  transform: (t) => `${t}${e}`
2195
- }), Re = /* @__PURE__ */ Pt("deg"), Ae = /* @__PURE__ */ Pt("%"), C = /* @__PURE__ */ Pt("px"), Ul = /* @__PURE__ */ Pt("vh"), ql = /* @__PURE__ */ Pt("vw"), Zn = {
2197
+ }), Re = /* @__PURE__ */ Pt("deg"), Ae = /* @__PURE__ */ Pt("%"), k = /* @__PURE__ */ Pt("px"), Ul = /* @__PURE__ */ Pt("vh"), ql = /* @__PURE__ */ Pt("vw"), Zn = {
2196
2198
  ...Ae,
2197
2199
  parse: (e) => Ae.parse(e) / 100,
2198
2200
  transform: (e) => Ae.transform(e * 100)
2199
2201
  }, Ge = {
2200
2202
  test: /* @__PURE__ */ cn("hsl", "hue"),
2201
2203
  parse: /* @__PURE__ */ Li("hue", "saturation", "lightness"),
2202
- transform: ({ hue: e, saturation: t, lightness: s, alpha: n = 1 }) => "hsla(" + Math.round(e) + ", " + Ae.transform(gt(t)) + ", " + Ae.transform(gt(s)) + ", " + gt(wt.transform(n)) + ")"
2204
+ transform: ({ hue: e, saturation: t, lightness: s, alpha: n = 1 }) => "hsla(" + Math.round(e) + ", " + Ae.transform(yt(t)) + ", " + Ae.transform(yt(s)) + ", " + yt(wt.transform(n)) + ")"
2203
2205
  }, J = {
2204
- test: (e) => Ie.test(e) || Cs.test(e) || Ge.test(e),
2205
- parse: (e) => Ie.test(e) ? Ie.parse(e) : Ge.test(e) ? Ge.parse(e) : Cs.parse(e),
2206
- transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? Ie.transform(e) : Ge.transform(e),
2206
+ test: (e) => _e.test(e) || ks.test(e) || Ge.test(e),
2207
+ parse: (e) => _e.test(e) ? _e.parse(e) : Ge.test(e) ? Ge.parse(e) : ks.parse(e),
2208
+ transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? _e.transform(e) : Ge.transform(e),
2207
2209
  getAnimatableNone: (e) => {
2208
2210
  const t = J.parse(e);
2209
2211
  return t.alpha = 0, J.transform(t);
@@ -2233,7 +2235,7 @@ function Wi(e) {
2233
2235
  for (let o = 0; o < n; o++)
2234
2236
  if (i += t[o], r[o] !== void 0) {
2235
2237
  const a = s[o];
2236
- a === Oi ? i += gt(r[o]) : a === Ii ? i += J.transform(r[o]) : i += r[o];
2238
+ a === Oi ? i += yt(r[o]) : a === Ii ? i += J.transform(r[o]) : i += r[o];
2237
2239
  }
2238
2240
  return i;
2239
2241
  };
@@ -2274,10 +2276,10 @@ function qt(e, t) {
2274
2276
  const K = (e, t, s) => e + (t - e) * s, us = (e, t, s) => {
2275
2277
  const n = e * e, r = s * (t * t - n) + n;
2276
2278
  return r < 0 ? 0 : Math.sqrt(r);
2277
- }, Zl = [Cs, Ie, Ge], $l = (e) => Zl.find((t) => t.test(e));
2279
+ }, Zl = [ks, _e, Ge], $l = (e) => Zl.find((t) => t.test(e));
2278
2280
  function er(e) {
2279
2281
  const t = $l(e);
2280
- if (st(!!t, `'${e}' is not an animatable color. Use the equivalent color code instead.`, "color-not-animatable"), !t)
2282
+ if (nt(!!t, `'${e}' is not an animatable color. Use the equivalent color code instead.`, "color-not-animatable"), !t)
2281
2283
  return !1;
2282
2284
  let s = t.parse(e);
2283
2285
  return t === Ge && (s = Xl(s)), s;
@@ -2287,7 +2289,7 @@ const tr = (e, t) => {
2287
2289
  if (!s || !n)
2288
2290
  return qt(e, t);
2289
2291
  const r = { ...s };
2290
- return (i) => (r.red = us(s.red, n.red, i), r.green = us(s.green, n.green, i), r.blue = us(s.blue, n.blue, i), r.alpha = K(s.alpha, n.alpha, i), Ie.transform(r));
2292
+ return (i) => (r.red = us(s.red, n.red, i), r.green = us(s.green, n.green, i), r.blue = us(s.blue, n.blue, i), r.alpha = K(s.alpha, n.alpha, i), _e.transform(r));
2291
2293
  }, Ts = /* @__PURE__ */ new Set(["none", "hidden"]);
2292
2294
  function ec(e, t) {
2293
2295
  return Ts.has(e) ? (s) => s <= 0 ? e : t : (s) => s >= 1 ? t : e;
@@ -2326,7 +2328,7 @@ function nc(e, t) {
2326
2328
  }
2327
2329
  const rc = (e, t) => {
2328
2330
  const s = De.createTransformer(t), n = At(e), r = At(t);
2329
- return n.indexes.var.length === r.indexes.var.length && n.indexes.color.length === r.indexes.color.length && n.indexes.number.length >= r.indexes.number.length ? Ts.has(e) && !r.values.length || Ts.has(t) && !n.values.length ? ec(e, t) : Tt(Ui(nc(n, r), r.values), s) : (st(!0, `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`, "complex-values-different"), qt(e, t));
2331
+ return n.indexes.var.length === r.indexes.var.length && n.indexes.color.length === r.indexes.color.length && n.indexes.number.length >= r.indexes.number.length ? Ts.has(e) && !r.values.length || Ts.has(t) && !n.values.length ? ec(e, t) : Tt(Ui(nc(n, r), r.values), s) : (nt(!0, `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`, "complex-values-different"), qt(e, t));
2330
2332
  };
2331
2333
  function qi(e, t, s) {
2332
2334
  return typeof e == "number" && typeof t == "number" && typeof s == "number" ? K(e, t, s) : un(e)(e, t);
@@ -2362,13 +2364,13 @@ function oc(e, t = 100, s) {
2362
2364
  return {
2363
2365
  type: "keyframes",
2364
2366
  ease: (i) => n.next(r * i).value / t,
2365
- duration: /* @__PURE__ */ pe(r)
2367
+ duration: /* @__PURE__ */ me(r)
2366
2368
  };
2367
2369
  }
2368
2370
  const ac = 5;
2369
2371
  function Yi(e, t, s) {
2370
2372
  const n = Math.max(t - ac, 0);
2371
- return ki(s - e(n), t - n);
2373
+ return Ci(s - e(n), t - n);
2372
2374
  }
2373
2375
  const q = {
2374
2376
  // Default spring physics
@@ -2401,14 +2403,14 @@ const q = {
2401
2403
  }, ds = 1e-3;
2402
2404
  function lc({ duration: e = q.duration, bounce: t = q.bounce, velocity: s = q.velocity, mass: n = q.mass }) {
2403
2405
  let r, i;
2404
- st(e <= /* @__PURE__ */ we(q.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
2406
+ nt(e <= /* @__PURE__ */ we(q.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
2405
2407
  let o = 1 - t;
2406
- o = ke(q.minDamping, q.maxDamping, o), e = ke(q.minDuration, q.maxDuration, /* @__PURE__ */ pe(e)), o < 1 ? (r = (d) => {
2407
- const u = d * o, h = u * e, p = u - s, m = Ss(d, o), v = Math.exp(-h);
2408
- return ds - p / m * v;
2408
+ o = Ce(q.minDamping, q.maxDamping, o), e = Ce(q.minDuration, q.maxDuration, /* @__PURE__ */ me(e)), o < 1 ? (r = (d) => {
2409
+ const u = d * o, h = u * e, p = u - s, m = Ss(d, o), x = Math.exp(-h);
2410
+ return ds - p / m * x;
2409
2411
  }, i = (d) => {
2410
- const h = d * o * e, p = h * s + s, m = Math.pow(o, 2) * Math.pow(d, 2) * e, v = Math.exp(-h), w = Ss(Math.pow(d, 2), o);
2411
- return (-r(d) + ds > 0 ? -1 : 1) * ((p - m) * v) / w;
2412
+ const h = d * o * e, p = h * s + s, m = Math.pow(o, 2) * Math.pow(d, 2) * e, x = Math.exp(-h), w = Ss(Math.pow(d, 2), o);
2413
+ return (-r(d) + ds > 0 ? -1 : 1) * ((p - m) * x) / w;
2412
2414
  }) : (r = (d) => {
2413
2415
  const u = Math.exp(-d * e), h = (d - s) * e + 1;
2414
2416
  return -ds + u * h;
@@ -2457,7 +2459,7 @@ function fc(e) {
2457
2459
  };
2458
2460
  if (!sr(e, hc) && sr(e, dc))
2459
2461
  if (e.visualDuration) {
2460
- const s = e.visualDuration, n = 2 * Math.PI / (s * 1.2), r = n * n, i = 2 * ke(0.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(r);
2462
+ const s = e.visualDuration, n = 2 * Math.PI / (s * 1.2), r = n * n, i = 2 * Ce(0.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(r);
2461
2463
  t = {
2462
2464
  ...t,
2463
2465
  mass: q.mass,
@@ -2483,47 +2485,47 @@ function Yt(e = q.visualDuration, t = q.bounce) {
2483
2485
  let { restSpeed: n, restDelta: r } = s;
2484
2486
  const i = s.keyframes[0], o = s.keyframes[s.keyframes.length - 1], a = { done: !1, value: i }, { stiffness: c, damping: d, mass: u, duration: h, velocity: p, isResolvedFromDuration: m } = fc({
2485
2487
  ...s,
2486
- velocity: -/* @__PURE__ */ pe(s.velocity || 0)
2487
- }), v = p || 0, w = d / (2 * Math.sqrt(c * u)), A = o - i, g = /* @__PURE__ */ pe(Math.sqrt(c / u)), x = Math.abs(A) < 5;
2488
- n || (n = x ? q.restSpeed.granular : q.restSpeed.default), r || (r = x ? q.restDelta.granular : q.restDelta.default);
2488
+ velocity: -/* @__PURE__ */ me(s.velocity || 0)
2489
+ }), x = p || 0, w = d / (2 * Math.sqrt(c * u)), A = o - i, g = /* @__PURE__ */ me(Math.sqrt(c / u)), v = Math.abs(A) < 5;
2490
+ n || (n = v ? q.restSpeed.granular : q.restSpeed.default), r || (r = v ? q.restDelta.granular : q.restDelta.default);
2489
2491
  let y;
2490
2492
  if (w < 1) {
2491
2493
  const P = Ss(g, w);
2492
2494
  y = (V) => {
2493
2495
  const S = Math.exp(-w * g * V);
2494
- return o - S * ((v + w * g * A) / P * Math.sin(P * V) + A * Math.cos(P * V));
2496
+ return o - S * ((x + w * g * A) / P * Math.sin(P * V) + A * Math.cos(P * V));
2495
2497
  };
2496
2498
  } else if (w === 1)
2497
- y = (P) => o - Math.exp(-g * P) * (A + (v + g * A) * P);
2499
+ y = (P) => o - Math.exp(-g * P) * (A + (x + g * A) * P);
2498
2500
  else {
2499
2501
  const P = g * Math.sqrt(w * w - 1);
2500
2502
  y = (V) => {
2501
2503
  const S = Math.exp(-w * g * V), T = Math.min(P * V, 300);
2502
- return o - S * ((v + w * g * A) * Math.sinh(T) + P * A * Math.cosh(T)) / P;
2504
+ return o - S * ((x + w * g * A) * Math.sinh(T) + P * A * Math.cosh(T)) / P;
2503
2505
  };
2504
2506
  }
2505
- const j = {
2507
+ const E = {
2506
2508
  calculatedDuration: m && h || null,
2507
2509
  next: (P) => {
2508
2510
  const V = y(P);
2509
2511
  if (m)
2510
2512
  a.done = P >= h;
2511
2513
  else {
2512
- let S = P === 0 ? v : 0;
2513
- w < 1 && (S = P === 0 ? /* @__PURE__ */ we(v) : Yi(y, P, V));
2514
- const T = Math.abs(S) <= n, D = Math.abs(o - V) <= r;
2515
- a.done = T && D;
2514
+ let S = P === 0 ? x : 0;
2515
+ w < 1 && (S = P === 0 ? /* @__PURE__ */ we(x) : Yi(y, P, V));
2516
+ const T = Math.abs(S) <= n, M = Math.abs(o - V) <= r;
2517
+ a.done = T && M;
2516
2518
  }
2517
2519
  return a.value = a.done ? o : V, a;
2518
2520
  },
2519
2521
  toString: () => {
2520
- const P = Math.min(dn(j), Kt), V = Ki((S) => j.next(P * S).value, P, 30);
2522
+ const P = Math.min(dn(E), Kt), V = Ki((S) => E.next(P * S).value, P, 30);
2521
2523
  return P + "ms " + V;
2522
2524
  },
2523
2525
  toTransition: () => {
2524
2526
  }
2525
2527
  };
2526
- return j;
2528
+ return E;
2527
2529
  }
2528
2530
  Yt.applyToOptions = (e) => {
2529
2531
  const t = oc(e, 100, Yt);
@@ -2533,18 +2535,18 @@ function Ps({ keyframes: e, velocity: t = 0, power: s = 0.8, timeConstant: n = 3
2533
2535
  const h = e[0], p = {
2534
2536
  done: !1,
2535
2537
  value: h
2536
- }, m = (T) => a !== void 0 && T < a || c !== void 0 && T > c, v = (T) => a === void 0 ? c : c === void 0 || Math.abs(a - T) < Math.abs(c - T) ? a : c;
2538
+ }, m = (T) => a !== void 0 && T < a || c !== void 0 && T > c, x = (T) => a === void 0 ? c : c === void 0 || Math.abs(a - T) < Math.abs(c - T) ? a : c;
2537
2539
  let w = s * t;
2538
2540
  const A = h + w, g = o === void 0 ? A : o(A);
2539
2541
  g !== A && (w = g - h);
2540
- const x = (T) => -w * Math.exp(-T / n), y = (T) => g + x(T), j = (T) => {
2541
- const D = x(T), _ = y(T);
2542
- p.done = Math.abs(D) <= d, p.value = p.done ? g : _;
2542
+ const v = (T) => -w * Math.exp(-T / n), y = (T) => g + v(T), E = (T) => {
2543
+ const M = v(T), I = y(T);
2544
+ p.done = Math.abs(M) <= d, p.value = p.done ? g : I;
2543
2545
  };
2544
2546
  let P, V;
2545
2547
  const S = (T) => {
2546
2548
  m(p.value) && (P = T, V = Yt({
2547
- keyframes: [p.value, v(p.value)],
2549
+ keyframes: [p.value, x(p.value)],
2548
2550
  velocity: Yi(y, T, p.value),
2549
2551
  // TODO: This should be passing * 1000
2550
2552
  damping: r,
@@ -2556,8 +2558,8 @@ function Ps({ keyframes: e, velocity: t = 0, power: s = 0.8, timeConstant: n = 3
2556
2558
  return S(0), {
2557
2559
  calculatedDuration: null,
2558
2560
  next: (T) => {
2559
- let D = !1;
2560
- return !V && P === void 0 && (D = !0, j(T), S(T)), P !== void 0 && T >= P ? V.next(T - P) : (!D && j(T), p);
2561
+ let M = !1;
2562
+ return !V && P === void 0 && (M = !0, E(T), S(T)), P !== void 0 && T >= P ? V.next(T - P) : (!M && E(T), p);
2561
2563
  }
2562
2564
  };
2563
2565
  }
@@ -2591,7 +2593,7 @@ function mc(e, t, { clamp: s = !0, ease: n, mixer: r } = {}) {
2591
2593
  const p = /* @__PURE__ */ bt(e[h], e[h + 1], u);
2592
2594
  return a[h](p);
2593
2595
  };
2594
- return s ? (u) => d(ke(e[0], e[i - 1], u)) : d;
2596
+ return s ? (u) => d(Ce(e[0], e[i - 1], u)) : d;
2595
2597
  }
2596
2598
  function gc(e, t) {
2597
2599
  const s = e[e.length - 1];
@@ -2698,22 +2700,22 @@ class pn extends fn {
2698
2700
  const { generator: n, totalDuration: r, mixKeyframes: i, mirroredGenerator: o, resolvedDuration: a, calculatedDuration: c } = this;
2699
2701
  if (this.startTime === null)
2700
2702
  return n.next(0);
2701
- const { delay: d = 0, keyframes: u, repeat: h, repeatType: p, repeatDelay: m, type: v, onUpdate: w, finalKeyframe: A } = this.options;
2703
+ const { delay: d = 0, keyframes: u, repeat: h, repeatType: p, repeatDelay: m, type: x, onUpdate: w, finalKeyframe: A } = this.options;
2702
2704
  this.speed > 0 ? this.startTime = Math.min(this.startTime, t) : this.speed < 0 && (this.startTime = Math.min(t - r / this.speed, this.startTime)), s ? this.currentTime = t : this.updateTime(t);
2703
- const g = this.currentTime - d * (this.playbackSpeed >= 0 ? 1 : -1), x = this.playbackSpeed >= 0 ? g < 0 : g > r;
2705
+ const g = this.currentTime - d * (this.playbackSpeed >= 0 ? 1 : -1), v = this.playbackSpeed >= 0 ? g < 0 : g > r;
2704
2706
  this.currentTime = Math.max(g, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = r);
2705
- let y = this.currentTime, j = n;
2707
+ let y = this.currentTime, E = n;
2706
2708
  if (h) {
2707
2709
  const T = Math.min(this.currentTime, r) / a;
2708
- let D = Math.floor(T), _ = T % 1;
2709
- !_ && T >= 1 && (_ = 1), _ === 1 && D--, D = Math.min(D, h + 1), !!(D % 2) && (p === "reverse" ? (_ = 1 - _, m && (_ -= m / a)) : p === "mirror" && (j = o)), y = ke(0, 1, _) * a;
2710
+ let M = Math.floor(T), I = T % 1;
2711
+ !I && T >= 1 && (I = 1), I === 1 && M--, M = Math.min(M, h + 1), !!(M % 2) && (p === "reverse" ? (I = 1 - I, m && (I -= m / a)) : p === "mirror" && (E = o)), y = Ce(0, 1, I) * a;
2710
2712
  }
2711
- const P = x ? { done: !1, value: u[0] } : j.next(y);
2713
+ const P = v ? { done: !1, value: u[0] } : E.next(y);
2712
2714
  i && (P.value = i(P.value));
2713
2715
  let { done: V } = P;
2714
- !x && c !== null && (V = this.playbackSpeed >= 0 ? this.currentTime >= r : this.currentTime <= 0);
2716
+ !v && c !== null && (V = this.playbackSpeed >= 0 ? this.currentTime >= r : this.currentTime <= 0);
2715
2717
  const S = this.holdTime === null && (this.state === "finished" || this.state === "running" && V);
2716
- return S && v !== Ps && (P.value = hn(u, this.options, A, this.speed)), w && w(P.value), S && this.finish(), P;
2718
+ return S && x !== Ps && (P.value = hn(u, this.options, A, this.speed)), w && w(P.value), S && this.finish(), P;
2717
2719
  }
2718
2720
  /**
2719
2721
  * Allows the returned animation to be awaited or promise-chained. Currently
@@ -2724,14 +2726,14 @@ class pn extends fn {
2724
2726
  return this.finished.then(t, s);
2725
2727
  }
2726
2728
  get duration() {
2727
- return /* @__PURE__ */ pe(this.calculatedDuration);
2729
+ return /* @__PURE__ */ me(this.calculatedDuration);
2728
2730
  }
2729
2731
  get iterationDuration() {
2730
2732
  const { delay: t = 0 } = this.options || {};
2731
- return this.duration + /* @__PURE__ */ pe(t);
2733
+ return this.duration + /* @__PURE__ */ me(t);
2732
2734
  }
2733
2735
  get time() {
2734
- return /* @__PURE__ */ pe(this.currentTime);
2736
+ return /* @__PURE__ */ me(this.currentTime);
2735
2737
  }
2736
2738
  set time(t) {
2737
2739
  t = /* @__PURE__ */ we(t), this.currentTime = t, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = t : this.driver && (this.startTime = this.driver.now() - t / this.playbackSpeed), this.driver?.start(!1);
@@ -2742,7 +2744,7 @@ class pn extends fn {
2742
2744
  set speed(t) {
2743
2745
  this.updateTime(ae.now());
2744
2746
  const s = this.playbackSpeed !== t;
2745
- this.playbackSpeed = t, s && (this.time = /* @__PURE__ */ pe(this.currentTime));
2747
+ this.playbackSpeed = t, s && (this.time = /* @__PURE__ */ me(this.currentTime));
2746
2748
  }
2747
2749
  play() {
2748
2750
  if (this.isStopped)
@@ -2777,14 +2779,14 @@ class pn extends fn {
2777
2779
  return this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear", this.initAnimation()), this.driver?.stop(), t.observe(this);
2778
2780
  }
2779
2781
  }
2780
- function kc(e) {
2782
+ function Cc(e) {
2781
2783
  for (let t = 1; t < e.length; t++)
2782
2784
  e[t] ?? (e[t] = e[t - 1]);
2783
2785
  }
2784
- const _e = (e) => e * 180 / Math.PI, js = (e) => {
2785
- const t = _e(Math.atan2(e[1], e[0]));
2786
- return Es(t);
2787
- }, Cc = {
2786
+ const We = (e) => e * 180 / Math.PI, Es = (e) => {
2787
+ const t = We(Math.atan2(e[1], e[0]));
2788
+ return js(t);
2789
+ }, kc = {
2788
2790
  x: 4,
2789
2791
  y: 5,
2790
2792
  translateX: 4,
@@ -2792,12 +2794,12 @@ const _e = (e) => e * 180 / Math.PI, js = (e) => {
2792
2794
  scaleX: 0,
2793
2795
  scaleY: 3,
2794
2796
  scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,
2795
- rotate: js,
2796
- rotateZ: js,
2797
- skewX: (e) => _e(Math.atan(e[1])),
2798
- skewY: (e) => _e(Math.atan(e[2])),
2797
+ rotate: Es,
2798
+ rotateZ: Es,
2799
+ skewX: (e) => We(Math.atan(e[1])),
2800
+ skewY: (e) => We(Math.atan(e[2])),
2799
2801
  skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2
2800
- }, Es = (e) => (e = e % 360, e < 0 && (e += 360), e), nr = js, rr = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), ir = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), Tc = {
2802
+ }, js = (e) => (e = e % 360, e < 0 && (e += 360), e), nr = Es, rr = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), ir = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), Tc = {
2801
2803
  x: 12,
2802
2804
  y: 13,
2803
2805
  z: 14,
@@ -2807,12 +2809,12 @@ const _e = (e) => e * 180 / Math.PI, js = (e) => {
2807
2809
  scaleX: rr,
2808
2810
  scaleY: ir,
2809
2811
  scale: (e) => (rr(e) + ir(e)) / 2,
2810
- rotateX: (e) => Es(_e(Math.atan2(e[6], e[5]))),
2811
- rotateY: (e) => Es(_e(Math.atan2(-e[2], e[0]))),
2812
+ rotateX: (e) => js(We(Math.atan2(e[6], e[5]))),
2813
+ rotateY: (e) => js(We(Math.atan2(-e[2], e[0]))),
2812
2814
  rotateZ: nr,
2813
2815
  rotate: nr,
2814
- skewX: (e) => _e(Math.atan(e[4])),
2815
- skewY: (e) => _e(Math.atan(e[1])),
2816
+ skewX: (e) => We(Math.atan(e[4])),
2817
+ skewY: (e) => We(Math.atan(e[1])),
2816
2818
  skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2
2817
2819
  };
2818
2820
  function Rs(e) {
@@ -2827,7 +2829,7 @@ function Ns(e, t) {
2827
2829
  n = Tc, r = s;
2828
2830
  else {
2829
2831
  const a = e.match(/^matrix\(([-\d.e\s,]+)\)$/u);
2830
- n = Cc, r = a;
2832
+ n = kc, r = a;
2831
2833
  }
2832
2834
  if (!r)
2833
2835
  return Rs(t);
@@ -2841,7 +2843,7 @@ const Sc = (e, t) => {
2841
2843
  function Pc(e) {
2842
2844
  return parseFloat(e.trim());
2843
2845
  }
2844
- const rt = [
2846
+ const it = [
2845
2847
  "transformPerspective",
2846
2848
  "x",
2847
2849
  "y",
@@ -2859,10 +2861,10 @@ const rt = [
2859
2861
  "skew",
2860
2862
  "skewX",
2861
2863
  "skewY"
2862
- ], it = new Set(rt), or = (e) => e === nt || e === C, jc = /* @__PURE__ */ new Set(["x", "y", "z"]), Ec = rt.filter((e) => !jc.has(e));
2864
+ ], ot = new Set(it), or = (e) => e === rt || e === k, Ec = /* @__PURE__ */ new Set(["x", "y", "z"]), jc = it.filter((e) => !Ec.has(e));
2863
2865
  function Rc(e) {
2864
2866
  const t = [];
2865
- return Ec.forEach((s) => {
2867
+ return jc.forEach((s) => {
2866
2868
  const n = e.getValue(s);
2867
2869
  n !== void 0 && (t.push([s, n.get()]), n.set(s.startsWith("scale") ? 1 : 0));
2868
2870
  }), t;
@@ -2881,11 +2883,11 @@ const Ne = {
2881
2883
  };
2882
2884
  Ne.translateX = Ne.x;
2883
2885
  Ne.translateY = Ne.y;
2884
- const We = /* @__PURE__ */ new Set();
2886
+ const Ue = /* @__PURE__ */ new Set();
2885
2887
  let Vs = !1, Ms = !1, Ds = !1;
2886
2888
  function Gi() {
2887
2889
  if (Ms) {
2888
- const e = Array.from(We).filter((n) => n.needsMeasurement), t = new Set(e.map((n) => n.element)), s = /* @__PURE__ */ new Map();
2890
+ const e = Array.from(Ue).filter((n) => n.needsMeasurement), t = new Set(e.map((n) => n.element)), s = /* @__PURE__ */ new Map();
2889
2891
  t.forEach((n) => {
2890
2892
  const r = Rc(n);
2891
2893
  r.length && (s.set(n, r), n.render());
@@ -2899,10 +2901,10 @@ function Gi() {
2899
2901
  n.suspendedScrollY !== void 0 && window.scrollTo(0, n.suspendedScrollY);
2900
2902
  });
2901
2903
  }
2902
- Ms = !1, Vs = !1, We.forEach((e) => e.complete(Ds)), We.clear();
2904
+ Ms = !1, Vs = !1, Ue.forEach((e) => e.complete(Ds)), Ue.clear();
2903
2905
  }
2904
2906
  function Ji() {
2905
- We.forEach((e) => {
2907
+ Ue.forEach((e) => {
2906
2908
  e.readKeyframes(), e.needsMeasurement && (Ms = !0);
2907
2909
  });
2908
2910
  }
@@ -2914,7 +2916,7 @@ class mn {
2914
2916
  this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...t], this.onComplete = s, this.name = n, this.motionValue = r, this.element = i, this.isAsync = o;
2915
2917
  }
2916
2918
  scheduleResolve() {
2917
- this.state = "scheduled", this.isAsync ? (We.add(this), Vs || (Vs = !0, W.read(Ji), W.resolveKeyframes(Gi))) : (this.readKeyframes(), this.complete());
2919
+ this.state = "scheduled", this.isAsync ? (Ue.add(this), Vs || (Vs = !0, W.read(Ji), W.resolveKeyframes(Gi))) : (this.readKeyframes(), this.complete());
2918
2920
  }
2919
2921
  readKeyframes() {
2920
2922
  const { unresolvedKeyframes: t, name: s, element: n, motionValue: r } = this;
@@ -2928,7 +2930,7 @@ class mn {
2928
2930
  }
2929
2931
  t[0] === void 0 && (t[0] = o), r && i === void 0 && r.set(t[0]);
2930
2932
  }
2931
- kc(t);
2933
+ Cc(t);
2932
2934
  }
2933
2935
  setFinalKeyframe() {
2934
2936
  }
@@ -2939,10 +2941,10 @@ class mn {
2939
2941
  measureEndState() {
2940
2942
  }
2941
2943
  complete(t = !1) {
2942
- this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, t), We.delete(this);
2944
+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, t), Ue.delete(this);
2943
2945
  }
2944
2946
  cancel() {
2945
- this.state === "scheduled" && (We.delete(this), this.state = "pending");
2947
+ this.state === "scheduled" && (Ue.delete(this), this.state = "pending");
2946
2948
  }
2947
2949
  resume() {
2948
2950
  this.state === "pending" && this.scheduleResolve();
@@ -2964,20 +2966,20 @@ const Qi = /* @__PURE__ */ Bc(() => {
2964
2966
  return !1;
2965
2967
  }
2966
2968
  return !0;
2967
- }, "linearEasing"), pt = ([e, t, s, n]) => `cubic-bezier(${e}, ${t}, ${s}, ${n})`, ar = {
2969
+ }, "linearEasing"), mt = ([e, t, s, n]) => `cubic-bezier(${e}, ${t}, ${s}, ${n})`, ar = {
2968
2970
  linear: "linear",
2969
2971
  ease: "ease",
2970
2972
  easeIn: "ease-in",
2971
2973
  easeOut: "ease-out",
2972
2974
  easeInOut: "ease-in-out",
2973
- circIn: /* @__PURE__ */ pt([0, 0.65, 0.55, 1]),
2974
- circOut: /* @__PURE__ */ pt([0.55, 0, 1, 0.45]),
2975
- backIn: /* @__PURE__ */ pt([0.31, 0.01, 0.66, -0.59]),
2976
- backOut: /* @__PURE__ */ pt([0.33, 1.53, 0.69, 0.99])
2975
+ circIn: /* @__PURE__ */ mt([0, 0.65, 0.55, 1]),
2976
+ circOut: /* @__PURE__ */ mt([0.55, 0, 1, 0.45]),
2977
+ backIn: /* @__PURE__ */ mt([0.31, 0.01, 0.66, -0.59]),
2978
+ backOut: /* @__PURE__ */ mt([0.33, 1.53, 0.69, 0.99])
2977
2979
  };
2978
2980
  function Hi(e, t) {
2979
2981
  if (e)
2980
- return typeof e == "function" ? Qi() ? Ki(e, t) : "ease-out" : Mi(e) ? pt(e) : Array.isArray(e) ? e.map((s) => Hi(s, t) || ar.easeOut) : ar[e];
2982
+ return typeof e == "function" ? Qi() ? Ki(e, t) : "ease-out" : Mi(e) ? mt(e) : Array.isArray(e) ? e.map((s) => Hi(s, t) || ar.easeOut) : ar[e];
2981
2983
  }
2982
2984
  function Lc(e, t, s, { delay: n = 0, duration: r = 300, repeat: i = 0, repeatType: o = "loop", ease: a = "easeOut", times: c } = {}, d = void 0) {
2983
2985
  const u = {
@@ -3056,14 +3058,14 @@ class Ic extends fn {
3056
3058
  }
3057
3059
  get duration() {
3058
3060
  const t = this.animation.effect?.getComputedTiming?.().duration || 0;
3059
- return /* @__PURE__ */ pe(Number(t));
3061
+ return /* @__PURE__ */ me(Number(t));
3060
3062
  }
3061
3063
  get iterationDuration() {
3062
3064
  const { delay: t = 0 } = this.options || {};
3063
- return this.duration + /* @__PURE__ */ pe(t);
3065
+ return this.duration + /* @__PURE__ */ me(t);
3064
3066
  }
3065
3067
  get time() {
3066
- return /* @__PURE__ */ pe(Number(this.animation.currentTime) || 0);
3068
+ return /* @__PURE__ */ me(Number(this.animation.currentTime) || 0);
3067
3069
  }
3068
3070
  set time(t) {
3069
3071
  this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ we(t);
@@ -3095,8 +3097,8 @@ class Ic extends fn {
3095
3097
  }
3096
3098
  }
3097
3099
  const Zi = {
3098
- anticipate: Ei,
3099
- backInOut: ji,
3100
+ anticipate: ji,
3101
+ backInOut: Ei,
3100
3102
  circInOut: Ni
3101
3103
  };
3102
3104
  function _c(e) {
@@ -3129,7 +3131,7 @@ class Uc extends Ic {
3129
3131
  const a = new pn({
3130
3132
  ...o,
3131
3133
  autoplay: !1
3132
- }), c = Math.max(hs, ae.now() - this.startTime), d = ke(0, hs, c - hs);
3134
+ }), c = Math.max(hs, ae.now() - this.startTime), d = Ce(0, hs, c - hs);
3133
3135
  s.setWithVelocity(a.sample(Math.max(0, c - d)).value, a.sample(c).value, d), a.stop();
3134
3136
  }
3135
3137
  }
@@ -3151,7 +3153,7 @@ function Kc(e, t, s, n) {
3151
3153
  if (t === "display" || t === "visibility")
3152
3154
  return !0;
3153
3155
  const i = e[e.length - 1], o = lr(r, t), a = lr(i, t);
3154
- return st(o === a, `You are trying to animate ${t} from "${r}" to "${i}". "${o ? i : r}" is not an animatable value.`, "value-not-animatable"), !o || !a ? !1 : qc(e) || (s === "spring" || Xi(s)) && n;
3156
+ return nt(o === a, `You are trying to animate ${t} from "${r}" to "${i}". "${o ? i : r}" is not an animatable value.`, "value-not-animatable"), !o || !a ? !1 : qc(e) || (s === "spring" || Xi(s)) && n;
3155
3157
  }
3156
3158
  function Fs(e) {
3157
3159
  e.duration = 0, e.type = "keyframes";
@@ -3193,7 +3195,7 @@ class Qc extends fn {
3193
3195
  element: u,
3194
3196
  ...h
3195
3197
  }, m = u?.KeyframeResolver || mn;
3196
- this.keyframeResolver = new m(a, (v, w, A) => this.onKeyframesResolved(v, w, p, !A), c, d, u), this.keyframeResolver?.scheduleResolve();
3198
+ this.keyframeResolver = new m(a, (x, w, A) => this.onKeyframesResolved(x, w, p, !A), c, d, u), this.keyframeResolver?.scheduleResolve();
3197
3199
  }
3198
3200
  onKeyframesResolved(t, s, n, r) {
3199
3201
  this.keyframeResolver = void 0;
@@ -3294,11 +3296,11 @@ const eo = /* @__PURE__ */ new Set([
3294
3296
  "left",
3295
3297
  "right",
3296
3298
  "bottom",
3297
- ...rt
3299
+ ...it
3298
3300
  ]), $c = {
3299
3301
  test: (e) => e === "auto",
3300
3302
  parse: (e) => e
3301
- }, to = (e) => (t) => t.test(e), so = [nt, C, Ae, Re, ql, Ul, $c], cr = (e) => so.find(to(e));
3303
+ }, to = (e) => (t) => t.test(e), so = [rt, k, Ae, Re, ql, Ul, $c], cr = (e) => so.find(to(e));
3302
3304
  function eu(e) {
3303
3305
  return typeof e == "number" ? e === 0 : e !== null ? e === "none" || e === "0" || Ai(e) : !0;
3304
3306
  }
@@ -3321,7 +3323,7 @@ const nu = /\b([a-z-]*)\(.*?\)/gu, Bs = {
3321
3323
  return t ? t.map(su).join(" ") : e;
3322
3324
  }
3323
3325
  }, ur = {
3324
- ...nt,
3326
+ ...rt,
3325
3327
  transform: Math.round
3326
3328
  }, ru = {
3327
3329
  rotate: Re,
@@ -3335,74 +3337,74 @@ const nu = /\b([a-z-]*)\(.*?\)/gu, Bs = {
3335
3337
  skew: Re,
3336
3338
  skewX: Re,
3337
3339
  skewY: Re,
3338
- distance: C,
3339
- translateX: C,
3340
- translateY: C,
3341
- translateZ: C,
3342
- x: C,
3343
- y: C,
3344
- z: C,
3345
- perspective: C,
3346
- transformPerspective: C,
3340
+ distance: k,
3341
+ translateX: k,
3342
+ translateY: k,
3343
+ translateZ: k,
3344
+ x: k,
3345
+ y: k,
3346
+ z: k,
3347
+ perspective: k,
3348
+ transformPerspective: k,
3347
3349
  opacity: wt,
3348
3350
  originX: Zn,
3349
3351
  originY: Zn,
3350
- originZ: C
3352
+ originZ: k
3351
3353
  }, yn = {
3352
3354
  // Border props
3353
- borderWidth: C,
3354
- borderTopWidth: C,
3355
- borderRightWidth: C,
3356
- borderBottomWidth: C,
3357
- borderLeftWidth: C,
3358
- borderRadius: C,
3359
- radius: C,
3360
- borderTopLeftRadius: C,
3361
- borderTopRightRadius: C,
3362
- borderBottomRightRadius: C,
3363
- borderBottomLeftRadius: C,
3355
+ borderWidth: k,
3356
+ borderTopWidth: k,
3357
+ borderRightWidth: k,
3358
+ borderBottomWidth: k,
3359
+ borderLeftWidth: k,
3360
+ borderRadius: k,
3361
+ radius: k,
3362
+ borderTopLeftRadius: k,
3363
+ borderTopRightRadius: k,
3364
+ borderBottomRightRadius: k,
3365
+ borderBottomLeftRadius: k,
3364
3366
  // Positioning props
3365
- width: C,
3366
- maxWidth: C,
3367
- height: C,
3368
- maxHeight: C,
3369
- top: C,
3370
- right: C,
3371
- bottom: C,
3372
- left: C,
3373
- inset: C,
3374
- insetBlock: C,
3375
- insetBlockStart: C,
3376
- insetBlockEnd: C,
3377
- insetInline: C,
3378
- insetInlineStart: C,
3379
- insetInlineEnd: C,
3367
+ width: k,
3368
+ maxWidth: k,
3369
+ height: k,
3370
+ maxHeight: k,
3371
+ top: k,
3372
+ right: k,
3373
+ bottom: k,
3374
+ left: k,
3375
+ inset: k,
3376
+ insetBlock: k,
3377
+ insetBlockStart: k,
3378
+ insetBlockEnd: k,
3379
+ insetInline: k,
3380
+ insetInlineStart: k,
3381
+ insetInlineEnd: k,
3380
3382
  // Spacing props
3381
- padding: C,
3382
- paddingTop: C,
3383
- paddingRight: C,
3384
- paddingBottom: C,
3385
- paddingLeft: C,
3386
- paddingBlock: C,
3387
- paddingBlockStart: C,
3388
- paddingBlockEnd: C,
3389
- paddingInline: C,
3390
- paddingInlineStart: C,
3391
- paddingInlineEnd: C,
3392
- margin: C,
3393
- marginTop: C,
3394
- marginRight: C,
3395
- marginBottom: C,
3396
- marginLeft: C,
3397
- marginBlock: C,
3398
- marginBlockStart: C,
3399
- marginBlockEnd: C,
3400
- marginInline: C,
3401
- marginInlineStart: C,
3402
- marginInlineEnd: C,
3383
+ padding: k,
3384
+ paddingTop: k,
3385
+ paddingRight: k,
3386
+ paddingBottom: k,
3387
+ paddingLeft: k,
3388
+ paddingBlock: k,
3389
+ paddingBlockStart: k,
3390
+ paddingBlockEnd: k,
3391
+ paddingInline: k,
3392
+ paddingInlineStart: k,
3393
+ paddingInlineEnd: k,
3394
+ margin: k,
3395
+ marginTop: k,
3396
+ marginRight: k,
3397
+ marginBottom: k,
3398
+ marginLeft: k,
3399
+ marginBlock: k,
3400
+ marginBlockStart: k,
3401
+ marginBlockEnd: k,
3402
+ marginInline: k,
3403
+ marginInlineStart: k,
3404
+ marginInlineEnd: k,
3403
3405
  // Misc
3404
- backgroundPositionX: C,
3405
- backgroundPositionY: C,
3406
+ backgroundPositionX: k,
3407
+ backgroundPositionY: k,
3406
3408
  ...ru,
3407
3409
  zIndex: ur,
3408
3410
  // SVG
@@ -3661,7 +3663,7 @@ class du {
3661
3663
  if (!this.canTrackVelocity || this.prevFrameValue === void 0 || t - this.updatedAt > dr)
3662
3664
  return 0;
3663
3665
  const s = Math.min(this.updatedAt - this.prevUpdatedAt, dr);
3664
- return ki(parseFloat(this.current) - parseFloat(this.prevFrameValue), s);
3666
+ return Ci(parseFloat(this.current) - parseFloat(this.prevFrameValue), s);
3665
3667
  }
3666
3668
  /**
3667
3669
  * Registers a new animation to control this `MotionValue`. Only one
@@ -3712,7 +3714,7 @@ class du {
3712
3714
  this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
3713
3715
  }
3714
3716
  }
3715
- function $e(e, t) {
3717
+ function et(e, t) {
3716
3718
  return new du(e, t);
3717
3719
  }
3718
3720
  const { schedule: xn } = /* @__PURE__ */ Di(queueMicrotask, !1), xe = {
@@ -3799,8 +3801,8 @@ function gu(e, t, s = {}) {
3799
3801
  if (!pr(a))
3800
3802
  return;
3801
3803
  Ot.add(c);
3802
- const d = t(c, a), u = (m, v) => {
3803
- window.removeEventListener("pointerup", h), window.removeEventListener("pointercancel", p), Ot.has(c) && Ot.delete(c), pr(m) && typeof d == "function" && d(m, { success: v });
3804
+ const d = t(c, a), u = (m, x) => {
3805
+ window.removeEventListener("pointerup", h), window.removeEventListener("pointercancel", p), Ot.has(c) && Ot.delete(c), pr(m) && typeof d == "function" && d(m, { success: x });
3804
3806
  }, h = (m) => {
3805
3807
  u(m, c === window || c === document || s.useGlobalTarget || co(c, m.target));
3806
3808
  }, p = (m) => {
@@ -3818,7 +3820,7 @@ function ho(e) {
3818
3820
  function yu(e) {
3819
3821
  return ho(e) && e.tagName === "svg";
3820
3822
  }
3821
- const ne = (e) => !!(e && e.getVelocity), xu = [...so, J, De], vu = (e) => xu.find(to(e)), bn = tt({
3823
+ const ne = (e) => !!(e && e.getVelocity), xu = [...so, J, De], vu = (e) => xu.find(to(e)), bn = st({
3822
3824
  transformPagePoint: (e) => e,
3823
3825
  isStatic: !1,
3824
3826
  reducedMotion: "never"
@@ -3865,8 +3867,8 @@ class Au extends Qt.Component {
3865
3867
  return this.props.children;
3866
3868
  }
3867
3869
  }
3868
- function ku({ children: e, isPresent: t, anchorX: s, root: n }) {
3869
- const r = zs(), i = me(null), o = me({
3870
+ function Cu({ children: e, isPresent: t, anchorX: s, root: n }) {
3871
+ const r = zs(), i = he(null), o = he({
3870
3872
  width: 0,
3871
3873
  height: 0,
3872
3874
  top: 0,
@@ -3874,10 +3876,10 @@ function ku({ children: e, isPresent: t, anchorX: s, root: n }) {
3874
3876
  right: 0
3875
3877
  }), { nonce: a } = se(bn), c = e.props?.ref ?? e?.ref, d = wu(i, c);
3876
3878
  return Gs(() => {
3877
- const { width: u, height: h, top: p, left: m, right: v } = o.current;
3879
+ const { width: u, height: h, top: p, left: m, right: x } = o.current;
3878
3880
  if (t || !i.current || !u || !h)
3879
3881
  return;
3880
- const w = s === "left" ? `left: ${m}` : `right: ${v}`;
3882
+ const w = s === "left" ? `left: ${m}` : `right: ${x}`;
3881
3883
  i.current.dataset.motionPopId = r;
3882
3884
  const A = document.createElement("style");
3883
3885
  a && (A.nonce = a);
@@ -3895,7 +3897,7 @@ function ku({ children: e, isPresent: t, anchorX: s, root: n }) {
3895
3897
  };
3896
3898
  }, [t]), l.jsx(Au, { isPresent: t, childRef: i, sizeRef: o, children: Qt.cloneElement(e, { ref: d }) });
3897
3899
  }
3898
- const Cu = ({ children: e, initial: t, isPresent: s, onExitComplete: n, custom: r, presenceAffectsLayout: i, mode: o, anchorX: a, root: c }) => {
3900
+ const ku = ({ children: e, initial: t, isPresent: s, onExitComplete: n, custom: r, presenceAffectsLayout: i, mode: o, anchorX: a, root: c }) => {
3899
3901
  const d = Xs(Tu), u = zs();
3900
3902
  let h = !0, p = oe(() => (h = !1, {
3901
3903
  id: u,
@@ -3904,18 +3906,18 @@ const Cu = ({ children: e, initial: t, isPresent: s, onExitComplete: n, custom:
3904
3906
  custom: r,
3905
3907
  onExitComplete: (m) => {
3906
3908
  d.set(m, !0);
3907
- for (const v of d.values())
3908
- if (!v)
3909
+ for (const x of d.values())
3910
+ if (!x)
3909
3911
  return;
3910
3912
  n && n();
3911
3913
  },
3912
3914
  register: (m) => (d.set(m, !1), () => d.delete(m))
3913
3915
  }), [s, d, n]);
3914
3916
  return i && h && (p = { ...p }), oe(() => {
3915
- d.forEach((m, v) => d.set(v, !1));
3917
+ d.forEach((m, x) => d.set(x, !1));
3916
3918
  }, [s]), Qt.useEffect(() => {
3917
3919
  !s && !d.size && n && n();
3918
- }, [s]), o === "popLayout" && (e = l.jsx(ku, { isPresent: s, anchorX: a, root: c, children: e })), l.jsx(Xt.Provider, { value: p, children: e });
3920
+ }, [s]), o === "popLayout" && (e = l.jsx(Cu, { isPresent: s, anchorX: a, root: c, children: e })), l.jsx(Xt.Provider, { value: p, children: e });
3919
3921
  };
3920
3922
  function Tu() {
3921
3923
  return /* @__PURE__ */ new Map();
@@ -3925,7 +3927,7 @@ function fo(e = !0) {
3925
3927
  if (t === null)
3926
3928
  return [!0, null];
3927
3929
  const { isPresent: s, onExitComplete: n, register: r } = t, i = zs();
3928
- ee(() => {
3930
+ $(() => {
3929
3931
  if (e)
3930
3932
  return r(i);
3931
3933
  }, [e]);
@@ -3940,9 +3942,9 @@ function gr(e) {
3940
3942
  }), t;
3941
3943
  }
3942
3944
  const Su = ({ children: e, custom: t, initial: s = !0, onExitComplete: n, presenceAffectsLayout: r = !0, mode: i = "sync", propagate: o = !1, anchorX: a = "left", root: c }) => {
3943
- const [d, u] = fo(o), h = oe(() => gr(e), [e]), p = o && !d ? [] : h.map(Ft), m = me(!0), v = me(h), w = Xs(() => /* @__PURE__ */ new Map()), A = me(/* @__PURE__ */ new Set()), [g, x] = N(h), [y, j] = N(h);
3945
+ const [d, u] = fo(o), h = oe(() => gr(e), [e]), p = o && !d ? [] : h.map(Ft), m = he(!0), x = he(h), w = Xs(() => /* @__PURE__ */ new Map()), A = he(/* @__PURE__ */ new Set()), [g, v] = N(h), [y, E] = N(h);
3944
3946
  vi(() => {
3945
- m.current = !1, v.current = h;
3947
+ m.current = !1, x.current = h;
3946
3948
  for (let S = 0; S < y.length; S++) {
3947
3949
  const T = Ft(y[S]);
3948
3950
  p.includes(T) ? (w.delete(T), A.current.delete(T)) : w.get(T) !== !0 && w.set(T, !1);
@@ -3952,15 +3954,15 @@ const Su = ({ children: e, custom: t, initial: s = !0, onExitComplete: n, presen
3952
3954
  if (h !== g) {
3953
3955
  let S = [...h];
3954
3956
  for (let T = 0; T < y.length; T++) {
3955
- const D = y[T], _ = Ft(D);
3956
- p.includes(_) || (S.splice(T, 0, D), P.push(D));
3957
+ const M = y[T], I = Ft(M);
3958
+ p.includes(I) || (S.splice(T, 0, M), P.push(M));
3957
3959
  }
3958
- return i === "wait" && P.length && (S = P), j(gr(S)), x(h), null;
3960
+ return i === "wait" && P.length && (S = P), E(gr(S)), v(h), null;
3959
3961
  }
3960
3962
  process.env.NODE_ENV !== "production" && i === "wait" && y.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
3961
3963
  const { forceRender: V } = se(Hs);
3962
3964
  return l.jsx(l.Fragment, { children: y.map((S) => {
3963
- const T = Ft(S), D = o && !d ? !1 : h === y || p.includes(T), _ = () => {
3965
+ const T = Ft(S), M = o && !d ? !1 : h === y || p.includes(T), I = () => {
3964
3966
  if (A.current.has(T))
3965
3967
  return;
3966
3968
  if (A.current.add(T), w.has(T))
@@ -3970,11 +3972,11 @@ const Su = ({ children: e, custom: t, initial: s = !0, onExitComplete: n, presen
3970
3972
  let Q = !0;
3971
3973
  w.forEach((H) => {
3972
3974
  H || (Q = !1);
3973
- }), Q && (V?.(), j(v.current), o && u?.(), n && n());
3975
+ }), Q && (V?.(), E(x.current), o && u?.(), n && n());
3974
3976
  };
3975
- return l.jsx(Cu, { isPresent: D, initial: !m.current || s ? void 0 : !1, custom: t, presenceAffectsLayout: r, mode: i, root: c, onExitComplete: D ? void 0 : _, anchorX: a, children: S }, T);
3977
+ return l.jsx(ku, { isPresent: M, initial: !m.current || s ? void 0 : !1, custom: t, presenceAffectsLayout: r, mode: i, root: c, onExitComplete: M ? void 0 : I, anchorX: a, children: S }, T);
3976
3978
  }) });
3977
- }, po = tt({ strict: !1 }), yr = {
3979
+ }, po = st({ strict: !1 }), yr = {
3978
3980
  animation: [
3979
3981
  "animate",
3980
3982
  "variants",
@@ -3993,19 +3995,19 @@ const Su = ({ children: e, custom: t, initial: s = !0, onExitComplete: n, presen
3993
3995
  pan: ["onPan", "onPanStart", "onPanSessionStart", "onPanEnd"],
3994
3996
  inView: ["whileInView", "onViewportEnter", "onViewportLeave"],
3995
3997
  layout: ["layout", "layoutId"]
3996
- }, et = {};
3998
+ }, tt = {};
3997
3999
  for (const e in yr)
3998
- et[e] = {
4000
+ tt[e] = {
3999
4001
  isEnabled: (t) => yr[e].some((s) => !!t[s])
4000
4002
  };
4001
4003
  function Pu(e) {
4002
4004
  for (const t in e)
4003
- et[t] = {
4004
- ...et[t],
4005
+ tt[t] = {
4006
+ ...tt[t],
4005
4007
  ...e[t]
4006
4008
  };
4007
4009
  }
4008
- const ju = /* @__PURE__ */ new Set([
4010
+ const Eu = /* @__PURE__ */ new Set([
4009
4011
  "animate",
4010
4012
  "exit",
4011
4013
  "variants",
@@ -4038,14 +4040,14 @@ const ju = /* @__PURE__ */ new Set([
4038
4040
  "viewport"
4039
4041
  ]);
4040
4042
  function zt(e) {
4041
- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || ju.has(e);
4043
+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Eu.has(e);
4042
4044
  }
4043
4045
  let mo = (e) => !zt(e);
4044
- function Eu(e) {
4046
+ function ju(e) {
4045
4047
  typeof e == "function" && (mo = (t) => t.startsWith("on") ? !zt(t) : e(t));
4046
4048
  }
4047
4049
  try {
4048
- Eu(require("@emotion/is-prop-valid").default);
4050
+ ju(require("@emotion/is-prop-valid").default);
4049
4051
  } catch {
4050
4052
  }
4051
4053
  function Ru(e, t, s) {
@@ -4055,11 +4057,11 @@ function Ru(e, t, s) {
4055
4057
  e.draggable && r.startsWith("onDrag")) && (n[r] = e[r]);
4056
4058
  return n;
4057
4059
  }
4058
- const Zt = /* @__PURE__ */ tt({});
4060
+ const Zt = /* @__PURE__ */ st({});
4059
4061
  function $t(e) {
4060
4062
  return e !== null && typeof e == "object" && typeof e.start == "function";
4061
4063
  }
4062
- function kt(e) {
4064
+ function Ct(e) {
4063
4065
  return typeof e == "string" || Array.isArray(e);
4064
4066
  }
4065
4067
  const wn = [
@@ -4072,7 +4074,7 @@ const wn = [
4072
4074
  "exit"
4073
4075
  ], An = ["initial", ...wn];
4074
4076
  function es(e) {
4075
- return $t(e.animate) || An.some((t) => kt(e[t]));
4077
+ return $t(e.animate) || An.some((t) => Ct(e[t]));
4076
4078
  }
4077
4079
  function go(e) {
4078
4080
  return !!(es(e) || e.variants);
@@ -4081,8 +4083,8 @@ function Nu(e, t) {
4081
4083
  if (es(e)) {
4082
4084
  const { initial: s, animate: n } = e;
4083
4085
  return {
4084
- initial: s === !1 || kt(s) ? s : void 0,
4085
- animate: kt(n) ? n : void 0
4086
+ initial: s === !1 || Ct(s) ? s : void 0,
4087
+ animate: Ct(n) ? n : void 0
4086
4088
  };
4087
4089
  }
4088
4090
  return e.inherit !== !1 ? t : {};
@@ -4097,12 +4099,12 @@ function xr(e) {
4097
4099
  function vr(e, t) {
4098
4100
  return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
4099
4101
  }
4100
- const ft = {
4102
+ const pt = {
4101
4103
  correct: (e, t) => {
4102
4104
  if (!t.target)
4103
4105
  return e;
4104
4106
  if (typeof e == "string")
4105
- if (C.test(e))
4107
+ if (k.test(e))
4106
4108
  e = parseFloat(e);
4107
4109
  else
4108
4110
  return e;
@@ -4121,7 +4123,7 @@ const ft = {
4121
4123
  }
4122
4124
  }, Ls = {
4123
4125
  borderRadius: {
4124
- ...ft,
4126
+ ...pt,
4125
4127
  applyTo: [
4126
4128
  "borderTopLeftRadius",
4127
4129
  "borderTopRightRadius",
@@ -4129,25 +4131,25 @@ const ft = {
4129
4131
  "borderBottomRightRadius"
4130
4132
  ]
4131
4133
  },
4132
- borderTopLeftRadius: ft,
4133
- borderTopRightRadius: ft,
4134
- borderBottomLeftRadius: ft,
4135
- borderBottomRightRadius: ft,
4134
+ borderTopLeftRadius: pt,
4135
+ borderTopRightRadius: pt,
4136
+ borderBottomLeftRadius: pt,
4137
+ borderBottomRightRadius: pt,
4136
4138
  boxShadow: Mu
4137
4139
  };
4138
4140
  function yo(e, { layout: t, layoutId: s }) {
4139
- return it.has(e) || e.startsWith("origin") || (t || s !== void 0) && (!!Ls[e] || e === "opacity");
4141
+ return ot.has(e) || e.startsWith("origin") || (t || s !== void 0) && (!!Ls[e] || e === "opacity");
4140
4142
  }
4141
4143
  const Du = {
4142
4144
  x: "translateX",
4143
4145
  y: "translateY",
4144
4146
  z: "translateZ",
4145
4147
  transformPerspective: "perspective"
4146
- }, Fu = rt.length;
4148
+ }, Fu = it.length;
4147
4149
  function Bu(e, t, s) {
4148
4150
  let n = "", r = !0;
4149
4151
  for (let i = 0; i < Fu; i++) {
4150
- const o = rt[i], a = e[o];
4152
+ const o = it[i], a = e[o];
4151
4153
  if (a === void 0)
4152
4154
  continue;
4153
4155
  let c = !0;
@@ -4163,12 +4165,12 @@ function Bu(e, t, s) {
4163
4165
  }
4164
4166
  return n = n.trim(), s ? n = s(t, r ? "" : n) : r && (n = "none"), n;
4165
4167
  }
4166
- function kn(e, t, s) {
4168
+ function Cn(e, t, s) {
4167
4169
  const { style: n, vars: r, transformOrigin: i } = e;
4168
4170
  let o = !1, a = !1;
4169
4171
  for (const c in t) {
4170
4172
  const d = t[c];
4171
- if (it.has(c)) {
4173
+ if (ot.has(c)) {
4172
4174
  o = !0;
4173
4175
  continue;
4174
4176
  } else if (Bi(c)) {
@@ -4184,7 +4186,7 @@ function kn(e, t, s) {
4184
4186
  n.transformOrigin = `${c} ${d} ${u}`;
4185
4187
  }
4186
4188
  }
4187
- const Cn = () => ({
4189
+ const kn = () => ({
4188
4190
  style: {},
4189
4191
  transform: {},
4190
4192
  transformOrigin: {},
@@ -4196,8 +4198,8 @@ function xo(e, t, s) {
4196
4198
  }
4197
4199
  function Lu({ transformTemplate: e }, t) {
4198
4200
  return oe(() => {
4199
- const s = Cn();
4200
- return kn(s, t, e), Object.assign({}, s.vars, s.style);
4201
+ const s = kn();
4202
+ return Cn(s, t, e), Object.assign({}, s.vars, s.style);
4201
4203
  }, [t]);
4202
4204
  }
4203
4205
  function Ou(e, t) {
@@ -4218,8 +4220,8 @@ const _u = {
4218
4220
  function Uu(e, t, s = 1, n = 0, r = !0) {
4219
4221
  e.pathLength = 1;
4220
4222
  const i = r ? _u : Wu;
4221
- e[i.offset] = C.transform(-n);
4222
- const o = C.transform(t), a = C.transform(s);
4223
+ e[i.offset] = k.transform(-n);
4224
+ const o = k.transform(t), a = k.transform(s);
4223
4225
  e[i.array] = `${o} ${a}`;
4224
4226
  }
4225
4227
  const qu = [
@@ -4238,7 +4240,7 @@ function vo(e, {
4238
4240
  // This is object creation, which we try to avoid per-frame.
4239
4241
  ...a
4240
4242
  }, c, d, u) {
4241
- if (kn(e, a, d), c) {
4243
+ if (Cn(e, a, d), c) {
4242
4244
  e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);
4243
4245
  return;
4244
4246
  }
@@ -4250,7 +4252,7 @@ function vo(e, {
4250
4252
  t !== void 0 && (h.x = t), s !== void 0 && (h.y = s), n !== void 0 && (h.scale = n), r !== void 0 && Uu(h, r, i, o, !1);
4251
4253
  }
4252
4254
  const bo = () => ({
4253
- ...Cn(),
4255
+ ...kn(),
4254
4256
  attrs: {}
4255
4257
  }), wo = (e) => typeof e == "string" && e.toLowerCase() === "svg";
4256
4258
  function Ku(e, t, s, n) {
@@ -4316,7 +4318,7 @@ function Tn(e) {
4316
4318
  }
4317
4319
  function zu(e, t, s, { latestValues: n }, r, i = !1, o) {
4318
4320
  const c = (o ?? Tn(e) ? Ku : Iu)(t, n, r, e), d = Ru(t, typeof e == "string", i), u = e !== hi ? { ...d, ...c, ref: s } : {}, { children: h } = t, p = oe(() => ne(h) ? h.get() : h, [h]);
4319
- return ja(e, {
4321
+ return Ea(e, {
4320
4322
  ...u,
4321
4323
  children: p
4322
4324
  });
@@ -4360,19 +4362,19 @@ function Ju(e, t, s, n) {
4360
4362
  if (h && typeof h != "boolean" && !$t(h)) {
4361
4363
  const p = Array.isArray(h) ? h : [h];
4362
4364
  for (let m = 0; m < p.length; m++) {
4363
- const v = Sn(e, p[m]);
4364
- if (v) {
4365
- const { transitionEnd: w, transition: A, ...g } = v;
4366
- for (const x in g) {
4367
- let y = g[x];
4365
+ const x = Sn(e, p[m]);
4366
+ if (x) {
4367
+ const { transitionEnd: w, transition: A, ...g } = x;
4368
+ for (const v in g) {
4369
+ let y = g[v];
4368
4370
  if (Array.isArray(y)) {
4369
- const j = u ? y.length - 1 : 0;
4370
- y = y[j];
4371
+ const E = u ? y.length - 1 : 0;
4372
+ y = y[E];
4371
4373
  }
4372
- y !== null && (r[x] = y);
4374
+ y !== null && (r[v] = y);
4373
4375
  }
4374
- for (const x in w)
4375
- r[x] = w[x];
4376
+ for (const v in w)
4377
+ r[v] = w[v];
4376
4378
  }
4377
4379
  }
4378
4380
  }
@@ -4390,27 +4392,27 @@ function Pn(e, t, s) {
4390
4392
  }
4391
4393
  const Qu = /* @__PURE__ */ Ao({
4392
4394
  scrapeMotionValuesFromProps: Pn,
4393
- createRenderState: Cn
4395
+ createRenderState: kn
4394
4396
  });
4395
- function ko(e, t, s) {
4397
+ function Co(e, t, s) {
4396
4398
  const n = Pn(e, t, s);
4397
4399
  for (const r in e)
4398
4400
  if (ne(e[r]) || ne(t[r])) {
4399
- const i = rt.indexOf(r) !== -1 ? "attr" + r.charAt(0).toUpperCase() + r.substring(1) : r;
4401
+ const i = it.indexOf(r) !== -1 ? "attr" + r.charAt(0).toUpperCase() + r.substring(1) : r;
4400
4402
  n[i] = e[r];
4401
4403
  }
4402
4404
  return n;
4403
4405
  }
4404
4406
  const Hu = /* @__PURE__ */ Ao({
4405
- scrapeMotionValuesFromProps: ko,
4407
+ scrapeMotionValuesFromProps: Co,
4406
4408
  createRenderState: bo
4407
4409
  }), Xu = Symbol.for("motionComponentSymbol");
4408
4410
  function Zu(e, t, s) {
4409
- const n = me(s);
4411
+ const n = he(s);
4410
4412
  Gs(() => {
4411
4413
  n.current = s;
4412
4414
  });
4413
- const r = me(null);
4415
+ const r = he(null);
4414
4416
  return be((i) => {
4415
4417
  i && e.onMount?.(i), t && (i ? t.mount(i) : t.unmount());
4416
4418
  const o = n.current;
@@ -4422,12 +4424,12 @@ function Zu(e, t, s) {
4422
4424
  else o && (o.current = i);
4423
4425
  }, [t]);
4424
4426
  }
4425
- const jn = (e) => e.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), $u = "framerAppearId", Co = "data-" + jn($u), To = tt({});
4426
- function mt(e) {
4427
+ const En = (e) => e.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), $u = "framerAppearId", ko = "data-" + En($u), To = st({});
4428
+ function gt(e) {
4427
4429
  return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
4428
4430
  }
4429
4431
  function ed(e, t, s, n, r, i) {
4430
- const { visualElement: o } = se(Zt), a = se(po), c = se(Xt), d = se(bn).reducedMotion, u = me(null);
4432
+ const { visualElement: o } = se(Zt), a = se(po), c = se(Xt), d = se(bn).reducedMotion, u = he(null);
4431
4433
  n = n || a.renderer, !u.current && n && (u.current = n(e, {
4432
4434
  visualState: t,
4433
4435
  parent: o,
@@ -4439,16 +4441,16 @@ function ed(e, t, s, n, r, i) {
4439
4441
  }));
4440
4442
  const h = u.current, p = se(To);
4441
4443
  h && !h.projection && r && (h.type === "html" || h.type === "svg") && td(u.current, s, r, p);
4442
- const m = me(!1);
4444
+ const m = he(!1);
4443
4445
  Gs(() => {
4444
4446
  h && m.current && h.update(s, c);
4445
4447
  });
4446
- const v = s[Co], w = me(!!v && !window.MotionHandoffIsComplete?.(v) && window.MotionHasOptimisedAnimation?.(v));
4448
+ const x = s[ko], w = he(!!x && !window.MotionHandoffIsComplete?.(x) && window.MotionHasOptimisedAnimation?.(x));
4447
4449
  return vi(() => {
4448
4450
  h && (m.current = !0, window.MotionIsMounted = !0, h.updateFeatures(), h.scheduleRenderMicrotask(), w.current && h.animationState && h.animationState.animateChanges());
4449
- }), ee(() => {
4451
+ }), $(() => {
4450
4452
  h && (!w.current && h.animationState && h.animationState.animateChanges(), w.current && (queueMicrotask(() => {
4451
- window.MotionHandoffMarkAsComplete?.(v);
4453
+ window.MotionHandoffMarkAsComplete?.(x);
4452
4454
  }), w.current = !1), h.enteringChildren = void 0);
4453
4455
  }), h;
4454
4456
  }
@@ -4457,7 +4459,7 @@ function td(e, t, s, n) {
4457
4459
  e.projection = new s(e.latestValues, t["data-framer-portal-id"] ? void 0 : So(e.parent)), e.projection.setOptions({
4458
4460
  layoutId: r,
4459
4461
  layout: i,
4460
- alwaysMeasureLayout: !!o || a && mt(a),
4462
+ alwaysMeasureLayout: !!o || a && gt(a),
4461
4463
  visualElement: e,
4462
4464
  /**
4463
4465
  * TODO: Update options in an effect. This could be tricky as it'll be too late
@@ -4486,13 +4488,13 @@ function ps(e, { forwardMotionProps: t = !1, type: s } = {}, n, r) {
4486
4488
  ...se(bn),
4487
4489
  ...d,
4488
4490
  layoutId: sd(d)
4489
- }, { isStatic: m } = p, v = Vu(d), w = o(d, m);
4491
+ }, { isStatic: m } = p, x = Vu(d), w = o(d, m);
4490
4492
  if (!m && Zs) {
4491
4493
  nd(p, n);
4492
4494
  const A = rd(p);
4493
- h = A.MeasureLayout, v.visualElement = ed(e, w, p, r, A.ProjectionNode, i);
4495
+ h = A.MeasureLayout, x.visualElement = ed(e, w, p, r, A.ProjectionNode, i);
4494
4496
  }
4495
- return l.jsxs(Zt.Provider, { value: v, children: [h && v.visualElement ? l.jsx(h, { visualElement: v.visualElement, ...p }) : null, zu(e, d, Zu(w, v.visualElement, u), w, m, t, i)] });
4497
+ return l.jsxs(Zt.Provider, { value: x, children: [h && x.visualElement ? l.jsx(h, { visualElement: x.visualElement, ...p }) : null, zu(e, d, Zu(w, x.visualElement, u), w, m, t, i)] });
4496
4498
  }
4497
4499
  a.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;
4498
4500
  const c = Js(a);
@@ -4506,11 +4508,11 @@ function nd(e, t) {
4506
4508
  const s = se(po).strict;
4507
4509
  if (process.env.NODE_ENV !== "production" && t && s) {
4508
4510
  const n = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
4509
- e.ignoreStrict ? st(!1, n, "lazy-strict-mode") : Se(!1, n, "lazy-strict-mode");
4511
+ e.ignoreStrict ? nt(!1, n, "lazy-strict-mode") : Se(!1, n, "lazy-strict-mode");
4510
4512
  }
4511
4513
  }
4512
4514
  function rd(e) {
4513
- const { drag: t, layout: s } = et;
4515
+ const { drag: t, layout: s } = tt;
4514
4516
  if (!t && !s)
4515
4517
  return {};
4516
4518
  const n = { ...t, ...s };
@@ -4558,10 +4560,10 @@ function ms(e) {
4558
4560
  function Os({ scale: e, scaleX: t, scaleY: s }) {
4559
4561
  return !ms(e) || !ms(t) || !ms(s);
4560
4562
  }
4561
- function Oe(e) {
4562
- return Os(e) || jo(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
4563
+ function Ie(e) {
4564
+ return Os(e) || Eo(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
4563
4565
  }
4564
- function jo(e) {
4566
+ function Eo(e) {
4565
4567
  return wr(e.x) || wr(e.y);
4566
4568
  }
4567
4569
  function wr(e) {
@@ -4577,10 +4579,10 @@ function Ar(e, t, s, n, r) {
4577
4579
  function Is(e, t = 0, s = 1, n, r) {
4578
4580
  e.min = Ar(e.min, t, s, n, r), e.max = Ar(e.max, t, s, n, r);
4579
4581
  }
4580
- function Eo(e, { x: t, y: s }) {
4582
+ function jo(e, { x: t, y: s }) {
4581
4583
  Is(e.x, t.translate, t.scale, t.originPoint), Is(e.y, s.translate, s.scale, s.originPoint);
4582
4584
  }
4583
- const kr = 0.999999999999, Cr = 1.0000000000001;
4585
+ const Cr = 0.999999999999, kr = 1.0000000000001;
4584
4586
  function ld(e, t, s, n = !1) {
4585
4587
  const r = s.length;
4586
4588
  if (!r)
@@ -4593,9 +4595,9 @@ function ld(e, t, s, n = !1) {
4593
4595
  c && c.props.style && c.props.style.display === "contents" || (n && i.options.layoutScroll && i.scroll && i !== i.root && He(e, {
4594
4596
  x: -i.scroll.offset.x,
4595
4597
  y: -i.scroll.offset.y
4596
- }), o && (t.x *= o.x.scale, t.y *= o.y.scale, Eo(e, o)), n && Oe(i.latestValues) && He(e, i.latestValues));
4598
+ }), o && (t.x *= o.x.scale, t.y *= o.y.scale, jo(e, o)), n && Ie(i.latestValues) && He(e, i.latestValues));
4597
4599
  }
4598
- t.x < Cr && t.x > kr && (t.x = 1), t.y < Cr && t.y > kr && (t.y = 1);
4600
+ t.x < kr && t.x > Cr && (t.x = 1), t.y < kr && t.y > Cr && (t.y = 1);
4599
4601
  }
4600
4602
  function Qe(e, t) {
4601
4603
  e.min = e.min + t, e.max = e.max + t;
@@ -4641,21 +4643,21 @@ function hd(e, t, s) {
4641
4643
  if (ne(r))
4642
4644
  e.addValue(n, r);
4643
4645
  else if (ne(i))
4644
- e.addValue(n, $e(r, { owner: e }));
4646
+ e.addValue(n, et(r, { owner: e }));
4645
4647
  else if (i !== r)
4646
4648
  if (e.hasValue(n)) {
4647
4649
  const o = e.getValue(n);
4648
4650
  o.liveStyle === !0 ? o.jump(r) : o.hasAnimated || o.set(r);
4649
4651
  } else {
4650
4652
  const o = e.getStaticValue(n);
4651
- e.addValue(n, $e(o !== void 0 ? o : r, { owner: e }));
4653
+ e.addValue(n, et(o !== void 0 ? o : r, { owner: e }));
4652
4654
  }
4653
4655
  }
4654
4656
  for (const n in s)
4655
4657
  t[n] === void 0 && e.removeValue(n);
4656
4658
  return t;
4657
4659
  }
4658
- const jr = [
4660
+ const Er = [
4659
4661
  "AnimationStart",
4660
4662
  "AnimationComplete",
4661
4663
  "Update",
@@ -4711,7 +4713,7 @@ class fd {
4711
4713
  }
4712
4714
  bindToMotionValue(t, s) {
4713
4715
  this.valueSubscriptions.has(t) && this.valueSubscriptions.get(t)();
4714
- const n = it.has(t);
4716
+ const n = ot.has(t);
4715
4717
  n && this.onBindTransform && this.onBindTransform();
4716
4718
  const r = s.on("change", (o) => {
4717
4719
  this.latestValues[t] = o, this.props.onUpdate && W.preRender(this.notifyUpdate), n && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
@@ -4726,8 +4728,8 @@ class fd {
4726
4728
  }
4727
4729
  updateFeatures() {
4728
4730
  let t = "animation";
4729
- for (t in et) {
4730
- const s = et[t];
4731
+ for (t in tt) {
4732
+ const s = tt[t];
4731
4733
  if (!s)
4732
4734
  continue;
4733
4735
  const { isEnabled: n, Feature: r } = s;
@@ -4760,8 +4762,8 @@ class fd {
4760
4762
  */
4761
4763
  update(t, s) {
4762
4764
  (t.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = t, this.prevPresenceContext = this.presenceContext, this.presenceContext = s;
4763
- for (let n = 0; n < jr.length; n++) {
4764
- const r = jr[n];
4765
+ for (let n = 0; n < Er.length; n++) {
4766
+ const r = Er[n];
4765
4767
  this.propEventSubscriptions[r] && (this.propEventSubscriptions[r](), delete this.propEventSubscriptions[r]);
4766
4768
  const i = "on" + r, o = t[i];
4767
4769
  o && (this.propEventSubscriptions[r] = this.on(r, o));
@@ -4822,7 +4824,7 @@ class fd {
4822
4824
  if (this.props.values && this.props.values[t])
4823
4825
  return this.props.values[t];
4824
4826
  let n = this.values.get(t);
4825
- return n === void 0 && s !== void 0 && (n = $e(s === null ? void 0 : s, { owner: this }), this.addValue(t, n)), n;
4827
+ return n === void 0 && s !== void 0 && (n = et(s === null ? void 0 : s, { owner: this }), this.addValue(t, n)), n;
4826
4828
  }
4827
4829
  /**
4828
4830
  * If we're trying to animate to a previously unencountered value,
@@ -4904,7 +4906,7 @@ class md extends Vo {
4904
4906
  super(...arguments), this.type = "html", this.renderInstance = Mo;
4905
4907
  }
4906
4908
  readValueFromInstance(t, s) {
4907
- if (it.has(s))
4909
+ if (ot.has(s))
4908
4910
  return this.projection?.isProjecting ? Rs(s) : Sc(t, s);
4909
4911
  {
4910
4912
  const n = pd(t), r = (Bi(s) ? n.getPropertyValue(s) : n[s]) || 0;
@@ -4915,7 +4917,7 @@ class md extends Vo {
4915
4917
  return Ro(t, s);
4916
4918
  }
4917
4919
  build(t, s, n) {
4918
- kn(t, s, n.transformTemplate);
4920
+ Cn(t, s, n.transformTemplate);
4919
4921
  }
4920
4922
  scrapeMotionValuesFromProps(t, s, n) {
4921
4923
  return Pn(t, s, n);
@@ -4949,7 +4951,7 @@ const Do = /* @__PURE__ */ new Set([
4949
4951
  function gd(e, t, s, n) {
4950
4952
  Mo(e, t, void 0, n);
4951
4953
  for (const r in t.attrs)
4952
- e.setAttribute(Do.has(r) ? r : jn(r), t.attrs[r]);
4954
+ e.setAttribute(Do.has(r) ? r : En(r), t.attrs[r]);
4953
4955
  }
4954
4956
  class yd extends Vo {
4955
4957
  constructor() {
@@ -4959,14 +4961,14 @@ class yd extends Vo {
4959
4961
  return t[s];
4960
4962
  }
4961
4963
  readValueFromInstance(t, s) {
4962
- if (it.has(s)) {
4964
+ if (ot.has(s)) {
4963
4965
  const n = no(s);
4964
4966
  return n && n.default || 0;
4965
4967
  }
4966
- return s = Do.has(s) ? s : jn(s), t.getAttribute(s);
4968
+ return s = Do.has(s) ? s : En(s), t.getAttribute(s);
4967
4969
  }
4968
4970
  scrapeMotionValuesFromProps(t, s, n) {
4969
- return ko(t, s, n);
4971
+ return Co(t, s, n);
4970
4972
  }
4971
4973
  build(t, s, n) {
4972
4974
  vo(t, s, this.isSVGTag, n.transformTemplate, n.style);
@@ -4987,7 +4989,7 @@ function Ze(e, t, s) {
4987
4989
  }
4988
4990
  const Ws = (e) => Array.isArray(e);
4989
4991
  function vd(e, t, s) {
4990
- e.hasValue(t) ? e.getValue(t).set(s) : e.addValue(t, $e(s));
4992
+ e.hasValue(t) ? e.getValue(t).set(s) : e.addValue(t, et(s));
4991
4993
  }
4992
4994
  function bd(e) {
4993
4995
  return Ws(e) ? e[e.length - 1] || 0 : e;
@@ -5014,11 +5016,11 @@ function Us(e, t) {
5014
5016
  }
5015
5017
  }
5016
5018
  function Fo(e) {
5017
- return e.props[Co];
5019
+ return e.props[ko];
5018
5020
  }
5019
- const kd = (e) => e !== null;
5020
- function Cd(e, { repeat: t, repeatType: s = "loop" }, n) {
5021
- const r = e.filter(kd), i = t && s !== "loop" && t % 2 === 1 ? 0 : r.length - 1;
5021
+ const Cd = (e) => e !== null;
5022
+ function kd(e, { repeat: t, repeatType: s = "loop" }, n) {
5023
+ const r = e.filter(Cd), i = t && s !== "loop" && t % 2 === 1 ? 0 : r.length - 1;
5022
5024
  return r[i];
5023
5025
  }
5024
5026
  const Td = {
@@ -5034,15 +5036,15 @@ const Td = {
5034
5036
  }), Pd = {
5035
5037
  type: "keyframes",
5036
5038
  duration: 0.8
5037
- }, jd = {
5039
+ }, Ed = {
5038
5040
  type: "keyframes",
5039
5041
  ease: [0.25, 0.1, 0.35, 1],
5040
5042
  duration: 0.3
5041
- }, Ed = (e, { keyframes: t }) => t.length > 2 ? Pd : it.has(e) ? e.startsWith("scale") ? Sd(t[1]) : Td : jd;
5043
+ }, jd = (e, { keyframes: t }) => t.length > 2 ? Pd : ot.has(e) ? e.startsWith("scale") ? Sd(t[1]) : Td : Ed;
5042
5044
  function Rd({ when: e, delay: t, delayChildren: s, staggerChildren: n, staggerDirection: r, repeat: i, repeatType: o, repeatDelay: a, from: c, elapsed: d, ...u }) {
5043
5045
  return !!Object.keys(u).length;
5044
5046
  }
5045
- const En = (e, t, s, n = {}, r, i) => (o) => {
5047
+ const jn = (e, t, s, n = {}, r, i) => (o) => {
5046
5048
  const a = gn(n, e) || {}, c = a.delay || n.delay || 0;
5047
5049
  let { elapsed: d = 0 } = n;
5048
5050
  d = d - /* @__PURE__ */ we(c);
@@ -5062,10 +5064,10 @@ const En = (e, t, s, n = {}, r, i) => (o) => {
5062
5064
  motionValue: t,
5063
5065
  element: i ? void 0 : r
5064
5066
  };
5065
- Rd(a) || Object.assign(u, Ed(e, u)), u.duration && (u.duration = /* @__PURE__ */ we(u.duration)), u.repeatDelay && (u.repeatDelay = /* @__PURE__ */ we(u.repeatDelay)), u.from !== void 0 && (u.keyframes[0] = u.from);
5067
+ Rd(a) || Object.assign(u, jd(e, u)), u.duration && (u.duration = /* @__PURE__ */ we(u.duration)), u.repeatDelay && (u.repeatDelay = /* @__PURE__ */ we(u.repeatDelay)), u.from !== void 0 && (u.keyframes[0] = u.from);
5066
5068
  let h = !1;
5067
5069
  if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (Fs(u), u.delay === 0 && (h = !0)), (Pe.instantAnimations || Pe.skipAnimations) && (h = !0, Fs(u), u.delay = 0), u.allowFlatten = !a.type && !a.ease, h && !i && t.get() !== void 0) {
5068
- const p = Cd(u.keyframes, a);
5070
+ const p = kd(u.keyframes, a);
5069
5071
  if (p !== void 0) {
5070
5072
  W.update(() => {
5071
5073
  u.onUpdate(p), u.onComplete();
@@ -5090,18 +5092,18 @@ function Bo(e, t, { delay: s = 0, transitionOverride: n, type: r } = {}) {
5090
5092
  const m = {
5091
5093
  delay: s,
5092
5094
  ...gn(i || {}, u)
5093
- }, v = h.get();
5094
- if (v !== void 0 && !h.isAnimating && !Array.isArray(p) && p === v && !m.velocity)
5095
+ }, x = h.get();
5096
+ if (x !== void 0 && !h.isAnimating && !Array.isArray(p) && p === x && !m.velocity)
5095
5097
  continue;
5096
5098
  let w = !1;
5097
5099
  if (window.MotionHandoffAnimation) {
5098
5100
  const g = Fo(e);
5099
5101
  if (g) {
5100
- const x = window.MotionHandoffAnimation(g, u, W);
5101
- x !== null && (m.startTime = x, w = !0);
5102
+ const v = window.MotionHandoffAnimation(g, u, W);
5103
+ v !== null && (m.startTime = v, w = !0);
5102
5104
  }
5103
5105
  }
5104
- Us(e, u), h.start(En(u, h, p, e.shouldReduceMotion && eo.has(u) ? { type: !1 } : m, e, w));
5106
+ Us(e, u), h.start(jn(u, h, p, e.shouldReduceMotion && eo.has(u) ? { type: !1 } : m, e, w));
5105
5107
  const A = h.animation;
5106
5108
  A && c.push(A);
5107
5109
  }
@@ -5176,7 +5178,7 @@ function Io(e) {
5176
5178
  const t = {};
5177
5179
  for (let s = 0; s < Dd; s++) {
5178
5180
  const n = An[s], r = e.props[n];
5179
- (kt(r) || r === !1) && (t[n] = r);
5181
+ (Ct(r) || r === !1) && (t[n] = r);
5180
5182
  }
5181
5183
  return t;
5182
5184
  }
@@ -5185,12 +5187,12 @@ function Ld(e) {
5185
5187
  return (t) => Promise.all(t.map(({ animation: s, options: n }) => Md(e, s, n)));
5186
5188
  }
5187
5189
  function Od(e) {
5188
- let t = Ld(e), s = Er(), n = !0;
5190
+ let t = Ld(e), s = jr(), n = !0;
5189
5191
  const r = (c) => (d, u) => {
5190
5192
  const h = Ze(e, u, c === "exit" ? e.presenceContext?.custom : void 0);
5191
5193
  if (h) {
5192
- const { transition: p, transitionEnd: m, ...v } = h;
5193
- d = { ...d, ...v, ...m };
5194
+ const { transition: p, transitionEnd: m, ...x } = h;
5195
+ d = { ...d, ...x, ...m };
5194
5196
  }
5195
5197
  return d;
5196
5198
  };
@@ -5199,28 +5201,28 @@ function Od(e) {
5199
5201
  }
5200
5202
  function o(c) {
5201
5203
  const { props: d } = e, u = Io(e.parent) || {}, h = [], p = /* @__PURE__ */ new Set();
5202
- let m = {}, v = 1 / 0;
5204
+ let m = {}, x = 1 / 0;
5203
5205
  for (let A = 0; A < Bd; A++) {
5204
- const g = Fd[A], x = s[g], y = d[g] !== void 0 ? d[g] : u[g], j = kt(y), P = g === c ? x.isActive : null;
5205
- P === !1 && (v = A);
5206
- let V = y === u[g] && y !== d[g] && j;
5207
- if (V && n && e.manuallyAnimateOnMount && (V = !1), x.protectedKeys = { ...m }, // If it isn't active and hasn't *just* been set as inactive
5208
- !x.isActive && P === null || // If we didn't and don't have any defined prop for this animation type
5209
- !y && !x.prevProp || // Or if the prop doesn't define an animation
5206
+ const g = Fd[A], v = s[g], y = d[g] !== void 0 ? d[g] : u[g], E = Ct(y), P = g === c ? v.isActive : null;
5207
+ P === !1 && (x = A);
5208
+ let V = y === u[g] && y !== d[g] && E;
5209
+ if (V && n && e.manuallyAnimateOnMount && (V = !1), v.protectedKeys = { ...m }, // If it isn't active and hasn't *just* been set as inactive
5210
+ !v.isActive && P === null || // If we didn't and don't have any defined prop for this animation type
5211
+ !y && !v.prevProp || // Or if the prop doesn't define an animation
5210
5212
  $t(y) || typeof y == "boolean")
5211
5213
  continue;
5212
- const S = Id(x.prevProp, y);
5214
+ const S = Id(v.prevProp, y);
5213
5215
  let T = S || // If we're making this variant active, we want to always make it active
5214
- g === c && x.isActive && !V && j || // If we removed a higher-priority variant (i is in reverse order)
5215
- A > v && j, D = !1;
5216
- const _ = Array.isArray(y) ? y : [y];
5217
- let Q = _.reduce(r(g), {});
5216
+ g === c && v.isActive && !V && E || // If we removed a higher-priority variant (i is in reverse order)
5217
+ A > x && E, M = !1;
5218
+ const I = Array.isArray(y) ? y : [y];
5219
+ let Q = I.reduce(r(g), {});
5218
5220
  P === !1 && (Q = {});
5219
- const { prevResolvedValues: H = {} } = x, ce = {
5221
+ const { prevResolvedValues: H = {} } = v, ce = {
5220
5222
  ...H,
5221
5223
  ...Q
5222
5224
  }, X = (B) => {
5223
- T = !0, p.has(B) && (D = !0, p.delete(B)), x.needsAnimating[B] = !0;
5225
+ T = !0, p.has(B) && (M = !0, p.delete(B)), v.needsAnimating[B] = !0;
5224
5226
  const L = e.getValue(B);
5225
5227
  L && (L.liveStyle = !1);
5226
5228
  };
@@ -5229,11 +5231,11 @@ function Od(e) {
5229
5231
  if (m.hasOwnProperty(B))
5230
5232
  continue;
5231
5233
  let z = !1;
5232
- Ws(L) && Ws(U) ? z = !Oo(L, U) : z = L !== U, z ? L != null ? X(B) : p.add(B) : L !== void 0 && p.has(B) ? X(B) : x.protectedKeys[B] = !0;
5234
+ Ws(L) && Ws(U) ? z = !Oo(L, U) : z = L !== U, z ? L != null ? X(B) : p.add(B) : L !== void 0 && p.has(B) ? X(B) : v.protectedKeys[B] = !0;
5233
5235
  }
5234
- x.prevProp = y, x.prevResolvedValues = Q, x.isActive && (m = { ...m, ...Q }), n && e.blockInitialAnimation && (T = !1);
5236
+ v.prevProp = y, v.prevResolvedValues = Q, v.isActive && (m = { ...m, ...Q }), n && e.blockInitialAnimation && (T = !1);
5235
5237
  const de = V && S;
5236
- T && (!de || D) && h.push(..._.map((B) => {
5238
+ T && (!de || M) && h.push(...I.map((B) => {
5237
5239
  const L = { type: g };
5238
5240
  if (typeof B == "string" && n && !de && e.manuallyAnimateOnMount && e.parent) {
5239
5241
  const { parent: U } = e, z = Ze(U, B);
@@ -5255,8 +5257,8 @@ function Od(e) {
5255
5257
  g && g.transition && (A.transition = g.transition);
5256
5258
  }
5257
5259
  p.forEach((g) => {
5258
- const x = e.getBaseTarget(g), y = e.getValue(g);
5259
- y && (y.liveStyle = !0), A[g] = x ?? null;
5260
+ const v = e.getBaseTarget(g), y = e.getValue(g);
5261
+ y && (y.liveStyle = !0), A[g] = v ?? null;
5260
5262
  }), h.push({ animation: A });
5261
5263
  }
5262
5264
  let w = !!h.length;
@@ -5277,14 +5279,14 @@ function Od(e) {
5277
5279
  setAnimateFunction: i,
5278
5280
  getState: () => s,
5279
5281
  reset: () => {
5280
- s = Er();
5282
+ s = jr();
5281
5283
  }
5282
5284
  };
5283
5285
  }
5284
5286
  function Id(e, t) {
5285
5287
  return typeof t == "string" ? t !== e : Array.isArray(t) ? !Oo(t, e) : !1;
5286
5288
  }
5287
- function Le(e = !1) {
5289
+ function Oe(e = !1) {
5288
5290
  return {
5289
5291
  isActive: e,
5290
5292
  protectedKeys: {},
@@ -5292,15 +5294,15 @@ function Le(e = !1) {
5292
5294
  prevResolvedValues: {}
5293
5295
  };
5294
5296
  }
5295
- function Er() {
5297
+ function jr() {
5296
5298
  return {
5297
- animate: Le(!0),
5298
- whileInView: Le(),
5299
- whileHover: Le(),
5300
- whileTap: Le(),
5301
- whileDrag: Le(),
5302
- whileFocus: Le(),
5303
- exit: Le()
5299
+ animate: Oe(!0),
5300
+ whileInView: Oe(),
5301
+ whileHover: Oe(),
5302
+ whileTap: Oe(),
5303
+ whileDrag: Oe(),
5304
+ whileFocus: Oe(),
5305
+ exit: Oe()
5304
5306
  };
5305
5307
  }
5306
5308
  class Fe {
@@ -5368,10 +5370,10 @@ const qd = {
5368
5370
  Feature: Ud
5369
5371
  }
5370
5372
  };
5371
- function Ct(e, t, s, n = { passive: !0 }) {
5373
+ function kt(e, t, s, n = { passive: !0 }) {
5372
5374
  return e.addEventListener(t, s, n), () => e.removeEventListener(t, s);
5373
5375
  }
5374
- function jt(e) {
5376
+ function Et(e) {
5375
5377
  return {
5376
5378
  point: {
5377
5379
  x: e.pageX,
@@ -5379,9 +5381,9 @@ function jt(e) {
5379
5381
  }
5380
5382
  };
5381
5383
  }
5382
- const Kd = (e) => (t) => vn(t) && e(t, jt(t));
5383
- function yt(e, t, s, n) {
5384
- return Ct(e, t, Kd(s), n);
5384
+ const Kd = (e) => (t) => vn(t) && e(t, Et(t));
5385
+ function xt(e, t, s, n) {
5386
+ return kt(e, t, Kd(s), n);
5385
5387
  }
5386
5388
  const _o = 1e-4, Yd = 1 - _o, zd = 1 + _o, Wo = 0.01, Gd = 0 - Wo, Jd = 0 + Wo;
5387
5389
  function le(e) {
@@ -5393,7 +5395,7 @@ function Qd(e, t, s) {
5393
5395
  function Rr(e, t, s, n = 0.5) {
5394
5396
  e.origin = n, e.originPoint = K(t.min, t.max, e.origin), e.scale = le(s) / le(t), e.translate = K(s.min, s.max, e.origin) - e.originPoint, (e.scale >= Yd && e.scale <= zd || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Gd && e.translate <= Jd || isNaN(e.translate)) && (e.translate = 0);
5395
5397
  }
5396
- function xt(e, t, s, n) {
5398
+ function vt(e, t, s, n) {
5397
5399
  Rr(e.x, t.x, s.x, n ? n.originX : void 0), Rr(e.y, t.y, s.y, n ? n.originY : void 0);
5398
5400
  }
5399
5401
  function Nr(e, t, s) {
@@ -5408,7 +5410,7 @@ function Vr(e, t, s) {
5408
5410
  function Jt(e, t, s) {
5409
5411
  Vr(e.x, t.x, s.x), Vr(e.y, t.y, s.y);
5410
5412
  }
5411
- function fe(e) {
5413
+ function pe(e) {
5412
5414
  return [e("x"), e("y")];
5413
5415
  }
5414
5416
  const Uo = ({ current: e }) => e ? e.ownerDocument.defaultView : null, Mr = (e, t) => Math.abs(e - t);
@@ -5426,29 +5428,29 @@ class qo {
5426
5428
  }, this.updatePoint = () => {
5427
5429
  if (!(this.lastMoveEvent && this.lastMoveEventInfo))
5428
5430
  return;
5429
- const m = ys(this.lastMoveEventInfo, this.history), v = this.startEvent !== null, w = Xd(m.offset, { x: 0, y: 0 }) >= this.distanceThreshold;
5430
- if (!v && !w)
5431
+ const m = ys(this.lastMoveEventInfo, this.history), x = this.startEvent !== null, w = Xd(m.offset, { x: 0, y: 0 }) >= this.distanceThreshold;
5432
+ if (!x && !w)
5431
5433
  return;
5432
5434
  const { point: A } = m, { timestamp: g } = te;
5433
5435
  this.history.push({ ...A, timestamp: g });
5434
- const { onStart: x, onMove: y } = this.handlers;
5435
- v || (x && x(this.lastMoveEvent, m), this.startEvent = this.lastMoveEvent), y && y(this.lastMoveEvent, m);
5436
- }, this.handlePointerMove = (m, v) => {
5437
- this.lastMoveEvent = m, this.lastMoveEventInfo = gs(v, this.transformPagePoint), W.update(this.updatePoint, !0);
5438
- }, this.handlePointerUp = (m, v) => {
5436
+ const { onStart: v, onMove: y } = this.handlers;
5437
+ x || (v && v(this.lastMoveEvent, m), this.startEvent = this.lastMoveEvent), y && y(this.lastMoveEvent, m);
5438
+ }, this.handlePointerMove = (m, x) => {
5439
+ this.lastMoveEvent = m, this.lastMoveEventInfo = gs(x, this.transformPagePoint), W.update(this.updatePoint, !0);
5440
+ }, this.handlePointerUp = (m, x) => {
5439
5441
  this.end();
5440
5442
  const { onEnd: w, onSessionEnd: A, resumeAnimation: g } = this.handlers;
5441
5443
  if ((this.dragSnapToOrigin || !this.startEvent) && g && g(), !(this.lastMoveEvent && this.lastMoveEventInfo))
5442
5444
  return;
5443
- const x = ys(m.type === "pointercancel" ? this.lastMoveEventInfo : gs(v, this.transformPagePoint), this.history);
5444
- this.startEvent && w && w(m, x), A && A(m, x);
5445
+ const v = ys(m.type === "pointercancel" ? this.lastMoveEventInfo : gs(x, this.transformPagePoint), this.history);
5446
+ this.startEvent && w && w(m, v), A && A(m, v);
5445
5447
  }, !vn(t))
5446
5448
  return;
5447
5449
  this.dragSnapToOrigin = i, this.handlers = s, this.transformPagePoint = n, this.distanceThreshold = o, this.contextWindow = r || window;
5448
- const c = jt(t), d = gs(c, this.transformPagePoint), { point: u } = d, { timestamp: h } = te;
5450
+ const c = Et(t), d = gs(c, this.transformPagePoint), { point: u } = d, { timestamp: h } = te;
5449
5451
  this.history = [{ ...u, timestamp: h }];
5450
5452
  const { onSessionStart: p } = s;
5451
- p && p(t, ys(d, this.history)), this.removeListeners = Tt(yt(this.contextWindow, "pointermove", this.handlePointerMove), yt(this.contextWindow, "pointerup", this.handlePointerUp), yt(this.contextWindow, "pointercancel", this.handlePointerUp)), a && this.startScrollTracking(a);
5453
+ p && p(t, ys(d, this.history)), this.removeListeners = Tt(xt(this.contextWindow, "pointermove", this.handlePointerMove), xt(this.contextWindow, "pointerup", this.handlePointerUp), xt(this.contextWindow, "pointercancel", this.handlePointerUp)), a && this.startScrollTracking(a);
5452
5454
  }
5453
5455
  /**
5454
5456
  * Start tracking scroll on ancestors and window.
@@ -5528,7 +5530,7 @@ function $d(e, t) {
5528
5530
  s--;
5529
5531
  if (!n)
5530
5532
  return { x: 0, y: 0 };
5531
- const i = /* @__PURE__ */ pe(r.timestamp - n.timestamp);
5533
+ const i = /* @__PURE__ */ me(r.timestamp - n.timestamp);
5532
5534
  if (i === 0)
5533
5535
  return { x: 0, y: 0 };
5534
5536
  const o = {
@@ -5565,7 +5567,7 @@ function sh(e, t) {
5565
5567
  function nh(e, t) {
5566
5568
  let s = 0.5;
5567
5569
  const n = le(e), r = le(t);
5568
- return r > n ? s = /* @__PURE__ */ bt(t.min, t.max - n, e.min) : n > r && (s = /* @__PURE__ */ bt(e.min, e.max - r, t.min)), ke(0, 1, s);
5570
+ return r > n ? s = /* @__PURE__ */ bt(t.min, t.max - n, e.min) : n > r && (s = /* @__PURE__ */ bt(e.min, e.max - r, t.min)), Ce(0, 1, s);
5569
5571
  }
5570
5572
  function rh(e, t) {
5571
5573
  const s = {};
@@ -5597,39 +5599,39 @@ class ah {
5597
5599
  if (r && r.isPresent === !1)
5598
5600
  return;
5599
5601
  const i = (h) => {
5600
- s ? (this.stopAnimation(), this.snapToCursor(jt(h).point)) : this.pauseAnimation();
5602
+ s ? (this.stopAnimation(), this.snapToCursor(Et(h).point)) : this.pauseAnimation();
5601
5603
  }, o = (h, p) => {
5602
5604
  this.stopAnimation();
5603
- const { drag: m, dragPropagation: v, onDragStart: w } = this.getProps();
5604
- if (m && !v && (this.openDragLock && this.openDragLock(), this.openDragLock = hu(m), !this.openDragLock))
5605
+ const { drag: m, dragPropagation: x, onDragStart: w } = this.getProps();
5606
+ if (m && !x && (this.openDragLock && this.openDragLock(), this.openDragLock = hu(m), !this.openDragLock))
5605
5607
  return;
5606
- this.latestPointerEvent = h, this.latestPanInfo = p, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), fe((g) => {
5607
- let x = this.getAxisMotionValue(g).get() || 0;
5608
- if (Ae.test(x)) {
5608
+ this.latestPointerEvent = h, this.latestPanInfo = p, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), pe((g) => {
5609
+ let v = this.getAxisMotionValue(g).get() || 0;
5610
+ if (Ae.test(v)) {
5609
5611
  const { projection: y } = this.visualElement;
5610
5612
  if (y && y.layout) {
5611
- const j = y.layout.layoutBox[g];
5612
- j && (x = le(j) * (parseFloat(x) / 100));
5613
+ const E = y.layout.layoutBox[g];
5614
+ E && (v = le(E) * (parseFloat(v) / 100));
5613
5615
  }
5614
5616
  }
5615
- this.originPoint[g] = x;
5617
+ this.originPoint[g] = v;
5616
5618
  }), w && W.postRender(() => w(h, p)), Us(this.visualElement, "transform");
5617
5619
  const { animationState: A } = this.visualElement;
5618
5620
  A && A.setActive("whileDrag", !0);
5619
5621
  }, a = (h, p) => {
5620
5622
  this.latestPointerEvent = h, this.latestPanInfo = p;
5621
- const { dragPropagation: m, dragDirectionLock: v, onDirectionLock: w, onDrag: A } = this.getProps();
5623
+ const { dragPropagation: m, dragDirectionLock: x, onDirectionLock: w, onDrag: A } = this.getProps();
5622
5624
  if (!m && !this.openDragLock)
5623
5625
  return;
5624
5626
  const { offset: g } = p;
5625
- if (v && this.currentDirection === null) {
5627
+ if (x && this.currentDirection === null) {
5626
5628
  this.currentDirection = lh(g), this.currentDirection !== null && w && w(this.currentDirection);
5627
5629
  return;
5628
5630
  }
5629
5631
  this.updateAxis("x", p.point, g), this.updateAxis("y", p.point, g), this.visualElement.render(), A && A(h, p);
5630
5632
  }, c = (h, p) => {
5631
5633
  this.latestPointerEvent = h, this.latestPanInfo = p, this.stop(h, p), this.latestPointerEvent = null, this.latestPanInfo = null;
5632
- }, d = () => fe((h) => this.getAnimationState(h) === "paused" && this.getAxisMotionValue(h).animation?.play()), { dragSnapToOrigin: u } = this.getProps();
5634
+ }, d = () => pe((h) => this.getAnimationState(h) === "paused" && this.getAxisMotionValue(h).animation?.play()), { dragSnapToOrigin: u } = this.getProps();
5633
5635
  this.panSession = new qo(t, {
5634
5636
  onSessionStart: i,
5635
5637
  onStart: o,
@@ -5676,13 +5678,13 @@ class ah {
5676
5678
  }
5677
5679
  resolveConstraints() {
5678
5680
  const { dragConstraints: t, dragElastic: s } = this.getProps(), n = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, r = this.constraints;
5679
- t && mt(t) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : t && n ? this.constraints = th(n.layoutBox, t) : this.constraints = !1, this.elastic = ih(s), r !== this.constraints && n && this.constraints && !this.hasMutatedConstraints && fe((i) => {
5681
+ t && gt(t) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : t && n ? this.constraints = th(n.layoutBox, t) : this.constraints = !1, this.elastic = ih(s), r !== this.constraints && n && this.constraints && !this.hasMutatedConstraints && pe((i) => {
5680
5682
  this.constraints !== !1 && this.getAxisMotionValue(i) && (this.constraints[i] = rh(n.layoutBox[i], this.constraints[i]));
5681
5683
  });
5682
5684
  }
5683
5685
  resolveRefConstraints() {
5684
5686
  const { dragConstraints: t, onMeasureDragConstraints: s } = this.getProps();
5685
- if (!t || !mt(t))
5687
+ if (!t || !gt(t))
5686
5688
  return !1;
5687
5689
  const n = t.current;
5688
5690
  Se(n !== null, "If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.", "drag-constraints-ref");
@@ -5698,12 +5700,12 @@ class ah {
5698
5700
  return o;
5699
5701
  }
5700
5702
  startAnimation(t) {
5701
- const { drag: s, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: o, onDragTransitionEnd: a } = this.getProps(), c = this.constraints || {}, d = fe((u) => {
5703
+ const { drag: s, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: o, onDragTransitionEnd: a } = this.getProps(), c = this.constraints || {}, d = pe((u) => {
5702
5704
  if (!Bt(u, s, this.currentDirection))
5703
5705
  return;
5704
5706
  let h = c && c[u] || {};
5705
5707
  o && (h = { min: 0, max: 0 });
5706
- const p = r ? 200 : 1e6, m = r ? 40 : 1e7, v = {
5708
+ const p = r ? 200 : 1e6, m = r ? 40 : 1e7, x = {
5707
5709
  type: "inertia",
5708
5710
  velocity: n ? t[u] : 0,
5709
5711
  bounceStiffness: p,
@@ -5714,19 +5716,19 @@ class ah {
5714
5716
  ...i,
5715
5717
  ...h
5716
5718
  };
5717
- return this.startAxisValueAnimation(u, v);
5719
+ return this.startAxisValueAnimation(u, x);
5718
5720
  });
5719
5721
  return Promise.all(d).then(a);
5720
5722
  }
5721
5723
  startAxisValueAnimation(t, s) {
5722
5724
  const n = this.getAxisMotionValue(t);
5723
- return Us(this.visualElement, t), n.start(En(t, n, 0, s, this.visualElement, !1));
5725
+ return Us(this.visualElement, t), n.start(jn(t, n, 0, s, this.visualElement, !1));
5724
5726
  }
5725
5727
  stopAnimation() {
5726
- fe((t) => this.getAxisMotionValue(t).stop());
5728
+ pe((t) => this.getAxisMotionValue(t).stop());
5727
5729
  }
5728
5730
  pauseAnimation() {
5729
- fe((t) => this.getAxisMotionValue(t).animation?.pause());
5731
+ pe((t) => this.getAxisMotionValue(t).animation?.pause());
5730
5732
  }
5731
5733
  getAnimationState(t) {
5732
5734
  return this.getAxisMotionValue(t).animation?.state;
@@ -5742,7 +5744,7 @@ class ah {
5742
5744
  return r || this.visualElement.getValue(t, (n.initial ? n.initial[t] : void 0) || 0);
5743
5745
  }
5744
5746
  snapToCursor(t) {
5745
- fe((s) => {
5747
+ pe((s) => {
5746
5748
  const { drag: n } = this.getProps();
5747
5749
  if (!Bt(s, n, this.currentDirection))
5748
5750
  return;
@@ -5762,11 +5764,11 @@ class ah {
5762
5764
  if (!this.visualElement.current)
5763
5765
  return;
5764
5766
  const { drag: t, dragConstraints: s } = this.getProps(), { projection: n } = this.visualElement;
5765
- if (!mt(s) || !n || !this.constraints)
5767
+ if (!gt(s) || !n || !this.constraints)
5766
5768
  return;
5767
5769
  this.stopAnimation();
5768
5770
  const r = { x: 0, y: 0 };
5769
- fe((o) => {
5771
+ pe((o) => {
5770
5772
  const a = this.getAxisMotionValue(o);
5771
5773
  if (a && this.constraints !== !1) {
5772
5774
  const c = a.get();
@@ -5774,7 +5776,7 @@ class ah {
5774
5776
  }
5775
5777
  });
5776
5778
  const { transformTemplate: i } = this.visualElement.getProps();
5777
- this.visualElement.current.style.transform = i ? i({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.resolveConstraints(), fe((o) => {
5779
+ this.visualElement.current.style.transform = i ? i({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.resolveConstraints(), pe((o) => {
5778
5780
  if (!Bt(o, t, null))
5779
5781
  return;
5780
5782
  const a = this.getAxisMotionValue(o), { min: c, max: d } = this.constraints[o];
@@ -5785,16 +5787,16 @@ class ah {
5785
5787
  if (!this.visualElement.current)
5786
5788
  return;
5787
5789
  oh.set(this.visualElement, this);
5788
- const t = this.visualElement.current, s = yt(t, "pointerdown", (c) => {
5790
+ const t = this.visualElement.current, s = xt(t, "pointerdown", (c) => {
5789
5791
  const { drag: d, dragListener: u = !0 } = this.getProps();
5790
5792
  d && u && !uo(c.target) && this.start(c);
5791
5793
  }), n = () => {
5792
5794
  const { dragConstraints: c } = this.getProps();
5793
- mt(c) && c.current && (this.constraints = this.resolveRefConstraints());
5795
+ gt(c) && c.current && (this.constraints = this.resolveRefConstraints());
5794
5796
  }, { projection: r } = this.visualElement, i = r.addEventListener("measure", n);
5795
5797
  r && !r.layout && (r.root && r.root.updateScroll(), r.updateLayout()), W.read(n);
5796
- const o = Ct(window, "resize", () => this.scalePositionWithinConstraints()), a = r.addEventListener("didUpdate", (({ delta: c, hasLayoutChanged: d }) => {
5797
- this.isDragging && d && (fe((u) => {
5798
+ const o = kt(window, "resize", () => this.scalePositionWithinConstraints()), a = r.addEventListener("didUpdate", (({ delta: c, hasLayoutChanged: d }) => {
5799
+ this.isDragging && d && (pe((u) => {
5798
5800
  const h = this.getAxisMotionValue(u);
5799
5801
  h && (this.originPoint[u] += c[u].translate, h.set(h.get() + c[u].translate));
5800
5802
  }), this.visualElement.render());
@@ -5864,7 +5866,7 @@ class uh extends Fe {
5864
5866
  };
5865
5867
  }
5866
5868
  mount() {
5867
- this.removePointerDownListener = yt(this.node.current, "pointerdown", (t) => this.onPointerDown(t));
5869
+ this.removePointerDownListener = xt(this.node.current, "pointerdown", (t) => this.onPointerDown(t));
5868
5870
  }
5869
5871
  update() {
5870
5872
  this.session && this.session.updateHandlers(this.createPanHandlers());
@@ -5886,7 +5888,7 @@ const _t = {
5886
5888
  hasEverUpdated: !1
5887
5889
  };
5888
5890
  let xs = !1;
5889
- class dh extends Ea {
5891
+ class dh extends ja {
5890
5892
  /**
5891
5893
  * This only mounts projection nodes for components that
5892
5894
  * need measuring, we might want to do it for all components
@@ -5931,8 +5933,8 @@ function Yo(e) {
5931
5933
  return l.jsx(dh, { ...e, layoutGroup: n, switchLayoutGroup: se(To), isPresent: t, safeToRemove: s });
5932
5934
  }
5933
5935
  function hh(e, t, s) {
5934
- const n = ne(e) ? e : $e(e);
5935
- return n.start(En("", n, t, s)), n.animation;
5936
+ const n = ne(e) ? e : et(e);
5937
+ return n.start(jn("", n, t, s)), n.animation;
5936
5938
  }
5937
5939
  const fh = (e, t) => e.depth - t.depth;
5938
5940
  class ph {
@@ -5956,7 +5958,7 @@ function mh(e, t) {
5956
5958
  };
5957
5959
  return W.setup(n, !0), () => Me(n);
5958
5960
  }
5959
- const zo = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], gh = zo.length, Wr = (e) => typeof e == "string" ? parseFloat(e) : e, Ur = (e) => typeof e == "number" || C.test(e);
5961
+ const zo = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], gh = zo.length, Wr = (e) => typeof e == "string" ? parseFloat(e) : e, Ur = (e) => typeof e == "number" || k.test(e);
5960
5962
  function yh(e, t, s, n, r, i) {
5961
5963
  r ? (e.opacity = K(0, s.opacity ?? 1, xh(n)), e.opacityExit = K(t.opacity ?? 1, 0, vh(n))) : i && (e.opacity = K(t.opacity ?? 1, s.opacity ?? 1, n));
5962
5964
  for (let o = 0; o < gh; o++) {
@@ -6009,7 +6011,7 @@ function Jo(e) {
6009
6011
  function Hr(e, t) {
6010
6012
  return e.min === t.min && e.max === t.max;
6011
6013
  }
6012
- function kh(e, t) {
6014
+ function Ch(e, t) {
6013
6015
  return Hr(e.x, t.x) && Hr(e.y, t.y);
6014
6016
  }
6015
6017
  function Xr(e, t) {
@@ -6024,7 +6026,7 @@ function Zr(e) {
6024
6026
  function $r(e, t) {
6025
6027
  return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
6026
6028
  }
6027
- class Ch {
6029
+ class kh {
6028
6030
  constructor() {
6029
6031
  this.members = [];
6030
6032
  }
@@ -6082,8 +6084,8 @@ function Th(e, t, s) {
6082
6084
  let n = "";
6083
6085
  const r = e.x.translate / t.x, i = e.y.translate / t.y, o = s?.z || 0;
6084
6086
  if ((r || i || o) && (n = `translate3d(${r}px, ${i}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (n += `scale(${1 / t.x}, ${1 / t.y}) `), s) {
6085
- const { transformPerspective: d, rotate: u, rotateX: h, rotateY: p, skewX: m, skewY: v } = s;
6086
- d && (n = `perspective(${d}px) ${n}`), u && (n += `rotate(${u}deg) `), h && (n += `rotateX(${h}deg) `), p && (n += `rotateY(${p}deg) `), m && (n += `skewX(${m}deg) `), v && (n += `skewY(${v}deg) `);
6087
+ const { transformPerspective: d, rotate: u, rotateX: h, rotateY: p, skewX: m, skewY: x } = s;
6088
+ d && (n = `perspective(${d}px) ${n}`), u && (n += `rotate(${u}deg) `), h && (n += `rotateX(${h}deg) `), p && (n += `rotateY(${p}deg) `), m && (n += `skewX(${m}deg) `), x && (n += `skewY(${x}deg) `);
6087
6089
  }
6088
6090
  const a = e.x.scale * t.x, c = e.y.scale * t.y;
6089
6091
  return (a !== 1 || c !== 1) && (n += `scale(${a}, ${c})`), n || "none";
@@ -6153,15 +6155,15 @@ function Xo({ attachResizeListener: e, defaultParent: t, measureScroll: s, check
6153
6155
  this.target = void 0, this.relativeTarget = void 0;
6154
6156
  return;
6155
6157
  }
6156
- const v = this.options.transition || d.getDefaultTransition() || _h, { onLayoutAnimationStart: w, onLayoutAnimationComplete: A } = d.getProps(), g = !this.targetLayout || !Qo(this.targetLayout, m), x = !h && p;
6157
- if (this.options.layoutRoot || this.resumeFrom || x || h && (g || !this.currentAnimation)) {
6158
+ const x = this.options.transition || d.getDefaultTransition() || _h, { onLayoutAnimationStart: w, onLayoutAnimationComplete: A } = d.getProps(), g = !this.targetLayout || !Qo(this.targetLayout, m), v = !h && p;
6159
+ if (this.options.layoutRoot || this.resumeFrom || v || h && (g || !this.currentAnimation)) {
6158
6160
  this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
6159
6161
  const y = {
6160
- ...gn(v, "layout"),
6162
+ ...gn(x, "layout"),
6161
6163
  onPlay: w,
6162
6164
  onComplete: A
6163
6165
  };
6164
- (d.shouldReduceMotion || this.options.layoutRoot) && (y.delay = 0, y.type = !1), this.startAnimation(y), this.setAnimationOrigin(u, x);
6166
+ (d.shouldReduceMotion || this.options.layoutRoot) && (y.delay = 0, y.type = !1), this.startAnimation(y), this.setAnimationOrigin(u, v);
6165
6167
  } else
6166
6168
  h || si(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
6167
6169
  this.targetLayout = m;
@@ -6220,9 +6222,9 @@ function Xo({ attachResizeListener: e, defaultParent: t, measureScroll: s, check
6220
6222
  this.nodes.forEach(ti);
6221
6223
  return;
6222
6224
  }
6223
- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Mh), this.nodes.forEach(jh), this.nodes.forEach(Eh)) : this.nodes.forEach(ti), this.clearAllSnapshots();
6225
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Mh), this.nodes.forEach(Eh), this.nodes.forEach(jh)) : this.nodes.forEach(ti), this.clearAllSnapshots();
6224
6226
  const a = ae.now();
6225
- te.delta = ke(0, 1e3 / 60, a - te.timestamp), te.timestamp = a, te.isProcessing = !0, as.update.process(te), as.preRender.process(te), as.render.process(te), te.isProcessing = !1;
6227
+ te.delta = Ce(0, 1e3 / 60, a - te.timestamp), te.timestamp = a, te.isProcessing = !0, as.update.process(te), as.preRender.process(te), as.render.process(te), te.isProcessing = !1;
6226
6228
  }
6227
6229
  didUpdate() {
6228
6230
  this.updateScheduled || (this.updateScheduled = !0, xn.read(this.scheduleUpdate));
@@ -6272,7 +6274,7 @@ function Xo({ attachResizeListener: e, defaultParent: t, measureScroll: s, check
6272
6274
  if (!r)
6273
6275
  return;
6274
6276
  const o = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, a = this.projectionDelta && !Jo(this.projectionDelta), c = this.getTransformTemplate(), d = c ? c(this.latestValues, "") : void 0, u = d !== this.prevTransformTemplateValue;
6275
- o && this.instance && (a || Oe(this.latestValues) || u) && (r(this.instance, d), this.shouldResetTransform = !1, this.scheduleRender());
6277
+ o && this.instance && (a || Ie(this.latestValues) || u) && (r(this.instance, d), this.shouldResetTransform = !1, this.scheduleRender());
6276
6278
  }
6277
6279
  measure(o = !0) {
6278
6280
  const a = this.measurePageBox();
@@ -6314,22 +6316,22 @@ function Xo({ attachResizeListener: e, defaultParent: t, measureScroll: s, check
6314
6316
  !a && u.options.layoutScroll && u.scroll && u !== u.root && He(c, {
6315
6317
  x: -u.scroll.offset.x,
6316
6318
  y: -u.scroll.offset.y
6317
- }), Oe(u.latestValues) && He(c, u.latestValues);
6319
+ }), Ie(u.latestValues) && He(c, u.latestValues);
6318
6320
  }
6319
- return Oe(this.latestValues) && He(c, this.latestValues), c;
6321
+ return Ie(this.latestValues) && He(c, this.latestValues), c;
6320
6322
  }
6321
6323
  removeTransform(o) {
6322
6324
  const a = Z();
6323
6325
  ye(a, o);
6324
6326
  for (let c = 0; c < this.path.length; c++) {
6325
6327
  const d = this.path[c];
6326
- if (!d.instance || !Oe(d.latestValues))
6328
+ if (!d.instance || !Ie(d.latestValues))
6327
6329
  continue;
6328
6330
  Os(d.latestValues) && d.updateSnapshot();
6329
6331
  const u = Z(), h = d.measurePageBox();
6330
6332
  ye(u, h), Jr(a, d.latestValues, d.snapshot ? d.snapshot.layoutBox : void 0, u);
6331
6333
  }
6332
- return Oe(this.latestValues) && Jr(a, this.latestValues), a;
6334
+ return Ie(this.latestValues) && Jr(a, this.latestValues), a;
6333
6335
  }
6334
6336
  setTargetDelta(o) {
6335
6337
  this.targetDelta = o, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -6358,10 +6360,10 @@ function Xo({ attachResizeListener: e, defaultParent: t, measureScroll: s, check
6358
6360
  return;
6359
6361
  this.resolvedRelativeTargetAt = te.timestamp;
6360
6362
  const p = this.getClosestProjectingParent();
6361
- p && this.linkedParentVersion !== p.layoutVersion && !p.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (p && p.layout ? this.createRelativeTarget(p, this.layout.layoutBox, p.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = Z(), this.targetWithTransforms = Z()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Hd(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : ye(this.target, this.layout.layoutBox), Eo(this.target, this.targetDelta)) : ye(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, p && !!p.resumingFrom == !!this.resumingFrom && !p.options.layoutScroll && p.target && this.animationProgress !== 1 ? this.createRelativeTarget(p, this.target, p.target) : this.relativeParent = this.relativeTarget = void 0));
6363
+ p && this.linkedParentVersion !== p.layoutVersion && !p.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (p && p.layout ? this.createRelativeTarget(p, this.layout.layoutBox, p.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = Z(), this.targetWithTransforms = Z()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Hd(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : ye(this.target, this.layout.layoutBox), jo(this.target, this.targetDelta)) : ye(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, p && !!p.resumingFrom == !!this.resumingFrom && !p.options.layoutScroll && p.target && this.animationProgress !== 1 ? this.createRelativeTarget(p, this.target, p.target) : this.relativeParent = this.relativeTarget = void 0));
6362
6364
  }
6363
6365
  getClosestProjectingParent() {
6364
- if (!(!this.parent || Os(this.parent.latestValues) || jo(this.parent.latestValues)))
6366
+ if (!(!this.parent || Os(this.parent.latestValues) || Eo(this.parent.latestValues)))
6365
6367
  return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
6366
6368
  }
6367
6369
  isProjecting() {
@@ -6389,7 +6391,7 @@ function Xo({ attachResizeListener: e, defaultParent: t, measureScroll: s, check
6389
6391
  this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
6390
6392
  return;
6391
6393
  }
6392
- !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Yr(this.prevProjectionDelta.x, this.projectionDelta.x), Yr(this.prevProjectionDelta.y, this.projectionDelta.y)), xt(this.projectionDelta, this.layoutCorrected, m, this.latestValues), (this.treeScale.x !== h || this.treeScale.y !== p || !$r(this.projectionDelta.x, this.prevProjectionDelta.x) || !$r(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", m));
6394
+ !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Yr(this.prevProjectionDelta.x, this.projectionDelta.x), Yr(this.prevProjectionDelta.y, this.projectionDelta.y)), vt(this.projectionDelta, this.layoutCorrected, m, this.latestValues), (this.treeScale.x !== h || this.treeScale.y !== p || !$r(this.projectionDelta.x, this.prevProjectionDelta.x) || !$r(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", m));
6393
6395
  }
6394
6396
  hide() {
6395
6397
  this.isVisible = !1;
@@ -6410,17 +6412,17 @@ function Xo({ attachResizeListener: e, defaultParent: t, measureScroll: s, check
6410
6412
  setAnimationOrigin(o, a = !1) {
6411
6413
  const c = this.snapshot, d = c ? c.latestValues : {}, u = { ...this.latestValues }, h = Xe();
6412
6414
  (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !a;
6413
- const p = Z(), m = c ? c.source : void 0, v = this.layout ? this.layout.source : void 0, w = m !== v, A = this.getStack(), g = !A || A.members.length <= 1, x = !!(w && !g && this.options.crossfade === !0 && !this.path.some(Ih));
6415
+ const p = Z(), m = c ? c.source : void 0, x = this.layout ? this.layout.source : void 0, w = m !== x, A = this.getStack(), g = !A || A.members.length <= 1, v = !!(w && !g && this.options.crossfade === !0 && !this.path.some(Ih));
6414
6416
  this.animationProgress = 0;
6415
6417
  let y;
6416
- this.mixTargetDelta = (j) => {
6417
- const P = j / 1e3;
6418
- ni(h.x, o.x, P), ni(h.y, o.y, P), this.setTargetDelta(h), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Jt(p, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Oh(this.relativeTarget, this.relativeTargetOrigin, p, P), y && kh(this.relativeTarget, y) && (this.isProjectionDirty = !1), y || (y = Z()), ye(y, this.relativeTarget)), w && (this.animationValues = u, yh(u, d, this.latestValues, P, x, g)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = P;
6418
+ this.mixTargetDelta = (E) => {
6419
+ const P = E / 1e3;
6420
+ ni(h.x, o.x, P), ni(h.y, o.y, P), this.setTargetDelta(h), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Jt(p, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Oh(this.relativeTarget, this.relativeTargetOrigin, p, P), y && Ch(this.relativeTarget, y) && (this.isProjectionDirty = !1), y || (y = Z()), ye(y, this.relativeTarget)), w && (this.animationValues = u, yh(u, d, this.latestValues, P, v, g)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = P;
6419
6421
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
6420
6422
  }
6421
6423
  startAnimation(o) {
6422
6424
  this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation && (Me(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = W.update(() => {
6423
- _t.hasAnimatedSinceResize = !0, this.motionValue || (this.motionValue = $e(0)), this.currentAnimation = hh(this.motionValue, [0, 1e3], {
6425
+ _t.hasAnimatedSinceResize = !0, this.motionValue || (this.motionValue = et(0)), this.currentAnimation = hh(this.motionValue, [0, 1e3], {
6424
6426
  ...o,
6425
6427
  velocity: 0,
6426
6428
  isSync: !0,
@@ -6454,11 +6456,11 @@ function Xo({ attachResizeListener: e, defaultParent: t, measureScroll: s, check
6454
6456
  const p = le(this.layout.layoutBox.y);
6455
6457
  c.y.min = o.target.y.min, c.y.max = c.y.min + p;
6456
6458
  }
6457
- ye(a, c), He(a, u), xt(this.projectionDeltaWithTransform, this.layoutCorrected, a, u);
6459
+ ye(a, c), He(a, u), vt(this.projectionDeltaWithTransform, this.layoutCorrected, a, u);
6458
6460
  }
6459
6461
  }
6460
6462
  registerSharedNode(o, a) {
6461
- this.sharedNodes.has(o) || this.sharedNodes.set(o, new Ch()), this.sharedNodes.get(o).add(a);
6463
+ this.sharedNodes.has(o) || this.sharedNodes.set(o, new kh()), this.sharedNodes.get(o).add(a);
6462
6464
  const d = a.options.initialPromotionConfig;
6463
6465
  a.promote({
6464
6466
  transition: d ? d.transition : void 0,
@@ -6521,7 +6523,7 @@ function Xo({ attachResizeListener: e, defaultParent: t, measureScroll: s, check
6521
6523
  }
6522
6524
  const d = this.getLead();
6523
6525
  if (!this.projectionDelta || !this.layout || !d.target) {
6524
- this.options.layoutId && (o.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, o.pointerEvents = It(a?.pointerEvents) || ""), this.hasProjected && !Oe(this.latestValues) && (o.transform = c ? c({}, "") : "none", this.hasProjected = !1);
6526
+ this.options.layoutId && (o.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, o.pointerEvents = It(a?.pointerEvents) || ""), this.hasProjected && !Ie(this.latestValues) && (o.transform = c ? c({}, "") : "none", this.hasProjected = !1);
6525
6527
  return;
6526
6528
  }
6527
6529
  o.visibility = "";
@@ -6531,16 +6533,16 @@ function Xo({ attachResizeListener: e, defaultParent: t, measureScroll: s, check
6531
6533
  c && (h = c(u, h)), o.transform = h;
6532
6534
  const { x: p, y: m } = this.projectionDelta;
6533
6535
  o.transformOrigin = `${p.origin * 100}% ${m.origin * 100}% 0`, d.animationValues ? o.opacity = d === this ? u.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : u.opacityExit : o.opacity = d === this ? u.opacity !== void 0 ? u.opacity : "" : u.opacityExit !== void 0 ? u.opacityExit : 0;
6534
- for (const v in Ls) {
6535
- if (u[v] === void 0)
6536
+ for (const x in Ls) {
6537
+ if (u[x] === void 0)
6536
6538
  continue;
6537
- const { correct: w, applyTo: A, isCSSVariable: g } = Ls[v], x = h === "none" ? u[v] : w(u[v], d);
6539
+ const { correct: w, applyTo: A, isCSSVariable: g } = Ls[x], v = h === "none" ? u[x] : w(u[x], d);
6538
6540
  if (A) {
6539
6541
  const y = A.length;
6540
- for (let j = 0; j < y; j++)
6541
- o[A[j]] = x;
6542
+ for (let E = 0; E < y; E++)
6543
+ o[A[E]] = v;
6542
6544
  } else
6543
- g ? this.options.visualElement.renderState.vars[v] = x : o[v] = x;
6545
+ g ? this.options.visualElement.renderState.vars[x] = v : o[x] = v;
6544
6546
  }
6545
6547
  this.options.layoutId && (o.pointerEvents = d === this ? It(a?.pointerEvents) || "" : "none");
6546
6548
  }
@@ -6553,24 +6555,24 @@ function Xo({ attachResizeListener: e, defaultParent: t, measureScroll: s, check
6553
6555
  }
6554
6556
  };
6555
6557
  }
6556
- function jh(e) {
6558
+ function Eh(e) {
6557
6559
  e.updateLayout();
6558
6560
  }
6559
- function Eh(e) {
6561
+ function jh(e) {
6560
6562
  const t = e.resumeFrom?.snapshot || e.snapshot;
6561
6563
  if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {
6562
6564
  const { layoutBox: s, measuredBox: n } = e.layout, { animationType: r } = e.options, i = t.source !== e.layout.source;
6563
- r === "size" ? fe((u) => {
6565
+ r === "size" ? pe((u) => {
6564
6566
  const h = i ? t.measuredBox[u] : t.layoutBox[u], p = le(h);
6565
6567
  h.min = s[u].min, h.max = h.min + p;
6566
- }) : Zo(r, t.layoutBox, s) && fe((u) => {
6568
+ }) : Zo(r, t.layoutBox, s) && pe((u) => {
6567
6569
  const h = i ? t.measuredBox[u] : t.layoutBox[u], p = le(s[u]);
6568
6570
  h.max = h.min + p, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[u].max = e.relativeTarget[u].min + p);
6569
6571
  });
6570
6572
  const o = Xe();
6571
- xt(o, s, t.layoutBox);
6573
+ vt(o, s, t.layoutBox);
6572
6574
  const a = Xe();
6573
- i ? xt(a, e.applyTransform(n, !0), t.measuredBox) : xt(a, s, t.layoutBox);
6575
+ i ? vt(a, e.applyTransform(n, !0), t.measuredBox) : vt(a, s, t.layoutBox);
6574
6576
  const c = !Jo(o);
6575
6577
  let d = !1;
6576
6578
  if (!e.resumeFrom) {
@@ -6580,8 +6582,8 @@ function Eh(e) {
6580
6582
  if (h && p) {
6581
6583
  const m = Z();
6582
6584
  Jt(m, t.layoutBox, h.layoutBox);
6583
- const v = Z();
6584
- Jt(v, s, p.layoutBox), Qo(m, v) || (d = !0), u.options.layoutRoot && (e.relativeTarget = v, e.relativeTargetOrigin = m, e.relativeParent = u);
6585
+ const x = Z();
6586
+ Jt(x, s, p.layoutBox), Qo(m, x) || (d = !0), u.options.layoutRoot && (e.relativeTarget = x, e.relativeTargetOrigin = m, e.relativeParent = u);
6585
6587
  }
6586
6588
  }
6587
6589
  }
@@ -6662,7 +6664,7 @@ function Uh(e) {
6662
6664
  return e !== e.root && e.scroll?.wasRoot;
6663
6665
  }
6664
6666
  const qh = Xo({
6665
- attachResizeListener: (e, t) => Ct(e, "resize", t),
6667
+ attachResizeListener: (e, t) => kt(e, "resize", t),
6666
6668
  measureScroll: () => ({
6667
6669
  x: document.documentElement.scrollLeft || document.body.scrollLeft,
6668
6670
  y: document.documentElement.scrollTop || document.body.scrollTop
@@ -6700,7 +6702,7 @@ function li(e, t, s) {
6700
6702
  const { props: n } = e;
6701
6703
  e.animationState && n.whileHover && e.animationState.setActive("whileHover", s === "Start");
6702
6704
  const r = "onHover" + s, i = n[r];
6703
- i && W.postRender(() => i(t, jt(t)));
6705
+ i && W.postRender(() => i(t, Et(t)));
6704
6706
  }
6705
6707
  class Yh extends Fe {
6706
6708
  mount() {
@@ -6727,7 +6729,7 @@ class zh extends Fe {
6727
6729
  !this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
6728
6730
  }
6729
6731
  mount() {
6730
- this.unmount = Tt(Ct(this.node.current, "focus", () => this.onFocus()), Ct(this.node.current, "blur", () => this.onBlur()));
6732
+ this.unmount = Tt(kt(this.node.current, "focus", () => this.onFocus()), kt(this.node.current, "blur", () => this.onBlur()));
6731
6733
  }
6732
6734
  unmount() {
6733
6735
  }
@@ -6738,7 +6740,7 @@ function ci(e, t, s) {
6738
6740
  return;
6739
6741
  e.animationState && n.whileTap && e.animationState.setActive("whileTap", s === "Start");
6740
6742
  const r = "onTap" + (s === "End" ? "" : s), i = n[r];
6741
- i && W.postRender(() => i(t, jt(t)));
6743
+ i && W.postRender(() => i(t, Et(t)));
6742
6744
  }
6743
6745
  class Gh extends Fe {
6744
6746
  mount() {
@@ -6837,26 +6839,26 @@ const tf = {
6837
6839
  const { t: r } = ve(), i = e ?? [], [o, a] = N(
6838
6840
  /* @__PURE__ */ new Set()
6839
6841
  ), [c, d] = N(!1), u = (g) => {
6840
- a((x) => {
6841
- const y = new Set(x);
6842
+ a((v) => {
6843
+ const y = new Set(v);
6842
6844
  return y.has(g) ? y.delete(g) : y.add(g), y;
6843
6845
  });
6844
6846
  }, h = i.findIndex((g) => g.status !== "pending"), p = i.reduce(
6845
- (g, x, y) => x.status !== "pending" ? y : g,
6847
+ (g, v, y) => v.status !== "pending" ? y : g,
6846
6848
  -1
6847
- ), m = i.length ? i.some((g) => g.status === "in_progress") ? "in_progress" : i.every((g) => g.status === "done") ? "done" : i.some((g) => g.status === "done") ? "in_progress" : "pending" : "pending", v = t ?? (i.length ? "done" : "pending"), w = s ?? m, A = n ?? "pending";
6849
+ ), m = i.length ? i.some((g) => g.status === "in_progress") ? "in_progress" : i.every((g) => g.status === "done") ? "done" : i.some((g) => g.status === "done") ? "in_progress" : "pending" : "pending", x = t ?? (i.length ? "done" : "pending"), w = s ?? m, A = n ?? "pending";
6848
6850
  return /* @__PURE__ */ l.jsxs("div", { className: "space-y-6 pr-6", children: [
6849
6851
  /* @__PURE__ */ l.jsx("div", { className: "text-sm text-[#333] dark:text-[#E5E7EB]", children: r("deepResearch.steps.intro") }),
6850
6852
  /* @__PURE__ */ l.jsxs("div", { className: "space-y-4", children: [
6851
6853
  /* @__PURE__ */ l.jsxs(
6852
6854
  "div",
6853
6855
  {
6854
- className: `flex items-center gap-2 text-base font-medium ${v === "pending" ? "text-[#999] dark:text-[#666]" : "text-[#333] dark:text-[#E5E7EB]"}`,
6856
+ className: `flex items-center gap-2 text-base font-medium ${x === "pending" ? "text-[#999] dark:text-[#666]" : "text-[#333] dark:text-[#E5E7EB]"}`,
6855
6857
  children: [
6856
- v === "in_progress" ? /* @__PURE__ */ l.jsx("div", { className: "w-5 h-5 bg-white dark:bg-[#020817] border-2 border-blue-500 rounded-full flex items-center justify-center", children: /* @__PURE__ */ l.jsx(Ce, { className: "w-3 h-3 text-blue-500 animate-spin" }) }) : /* @__PURE__ */ l.jsx(
6858
+ x === "in_progress" ? /* @__PURE__ */ l.jsx(ke, { className: "w-5 h-5 text-[#1784FC] animate-spin" }) : /* @__PURE__ */ l.jsx(
6857
6859
  qa,
6858
6860
  {
6859
- className: `w-4 h-4 ${v === "pending" ? "text-[#999]" : "text-[#1784FC]"}`
6861
+ className: `w-4 h-4 ${x === "pending" ? "text-[#999]" : "text-[#1784FC]"}`
6860
6862
  }
6861
6863
  ),
6862
6864
  r("deepResearch.steps.planTitle")
@@ -6878,9 +6880,9 @@ const tf = {
6878
6880
  ]
6879
6881
  }
6880
6882
  ),
6881
- c && i.length > 0 && /* @__PURE__ */ l.jsx("div", { className: "mt-2 space-y-1 rounded-lg bg-white dark:bg-[#020817] border border-[#EEF0F3] dark:border-[#1D3A6F] p-3", children: i.map((g, x) => /* @__PURE__ */ l.jsxs("div", { className: "flex items-start gap-2 text-sm", children: [
6883
+ c && i.length > 0 && /* @__PURE__ */ l.jsx("div", { className: "mt-2 space-y-1 rounded-lg bg-white dark:bg-[#020817] border border-[#EEF0F3] dark:border-[#1D3A6F] p-3", children: i.map((g, v) => /* @__PURE__ */ l.jsxs("div", { className: "flex items-start gap-2 text-sm", children: [
6882
6884
  /* @__PURE__ */ l.jsxs("span", { className: "text-[#999] dark:text-[#A6A6A6]", children: [
6883
- x + 1,
6885
+ v + 1,
6884
6886
  "."
6885
6887
  ] }),
6886
6888
  /* @__PURE__ */ l.jsx("span", { className: "text-[#333] dark:text-[#E5E7EB]", children: g.title })
@@ -6897,8 +6899,8 @@ const tf = {
6897
6899
  ]
6898
6900
  }
6899
6901
  ),
6900
- i.map((g, x) => {
6901
- const y = g.status !== "pending", j = x === h, P = x === p, V = g.status === "pending" && !g.searches;
6902
+ i.map((g, v) => {
6903
+ const y = g.status !== "pending", E = v === h, P = v === p, V = g.status === "pending" && !g.searches;
6902
6904
  return /* @__PURE__ */ l.jsxs(
6903
6905
  "div",
6904
6906
  {
@@ -6907,15 +6909,15 @@ const tf = {
6907
6909
  y && h !== -1 && p !== -1 && /* @__PURE__ */ l.jsx(
6908
6910
  "div",
6909
6911
  {
6910
- className: "absolute left-2.5 border-l border-dashed border-gray-200 dark:border-gray-700",
6912
+ className: "absolute left-2 border-l border-dashed border-[#018AE5]/20 dark:border-gray-700",
6911
6913
  style: {
6912
- top: j ? 10 : 0,
6913
- bottom: P ? 10 : 0
6914
+ top: E ? 10 : 16,
6915
+ bottom: P ? 10 : -12
6914
6916
  }
6915
6917
  }
6916
6918
  ),
6917
- g.status === "done" && /* @__PURE__ */ l.jsx("div", { className: "absolute left-0 top-0 w-5 h-5 bg-blue-500 rounded-full flex items-center justify-center", children: /* @__PURE__ */ l.jsx(Ka, { className: "w-3 h-3 text-white" }) }),
6918
- g.status === "in_progress" && /* @__PURE__ */ l.jsx("div", { className: "absolute left-0 top-0 w-5 h-5 bg-white dark:bg-[#020817] border-2 border-blue-500 rounded-full flex items-center justify-center", children: /* @__PURE__ */ l.jsx(Ce, { className: "w-3 h-3 text-blue-500 animate-spin" }) }),
6919
+ g.status === "done" && /* @__PURE__ */ l.jsx(Ka, { className: "absolute left-0 top-0 w-4 h-4 text-[#1784FC]" }),
6920
+ g.status === "in_progress" && /* @__PURE__ */ l.jsx(ke, { className: "absolute left-0 top-0 w-4 h-4 text-[#1784FC] animate-spin" }),
6919
6921
  V ? /* @__PURE__ */ l.jsxs("div", { className: "flex items-center gap-2", children: [
6920
6922
  /* @__PURE__ */ l.jsx(os, { className: "w-4 h-4 text-[#C8C8C8]" }),
6921
6923
  /* @__PURE__ */ l.jsx("div", { className: "text-sm text-[#999999] dark:text-[#666]", children: g.title })
@@ -6971,7 +6973,7 @@ const tf = {
6971
6973
  ]
6972
6974
  }
6973
6975
  ),
6974
- o.has(S.id) && S.hits && /* @__PURE__ */ l.jsx("div", { className: "mt-2 space-y-2 pl-4", children: S.hits.map((T, D) => /* @__PURE__ */ l.jsx(
6976
+ o.has(S.id) && S.hits && /* @__PURE__ */ l.jsx("div", { className: "mt-2 space-y-2 pl-4", children: S.hits.map((T, M) => /* @__PURE__ */ l.jsx(
6975
6977
  "div",
6976
6978
  {
6977
6979
  className: "p-3 bg-white dark:bg-[#020817] border border-gray-100 dark:border-[#1D3A6F] rounded-lg hover:border-blue-200 dark:hover:border-blue-800 transition-colors cursor-pointer group",
@@ -6981,7 +6983,7 @@ const tf = {
6981
6983
  T.content && /* @__PURE__ */ l.jsx("div", { className: "text-xs text-[#999] dark:text-[#A6A6A6] mt-1 line-clamp-2", children: T.content })
6982
6984
  ] }) })
6983
6985
  },
6984
- D
6986
+ M
6985
6987
  )) }),
6986
6988
  S.note && /* @__PURE__ */ l.jsx("p", { className: "text-[#999] dark:text-[#A6A6A6] text-sm mt-4 mb-2", children: S.note })
6987
6989
  ] }, S.id)
@@ -7006,7 +7008,7 @@ const tf = {
7006
7008
  {
7007
7009
  className: `flex items-center gap-2 text-base font-medium mb-4 ${A === "pending" ? "text-[#999] dark:text-[#666]" : "text-[#333] dark:text-[#E5E7EB]"}`,
7008
7010
  children: [
7009
- A === "in_progress" ? /* @__PURE__ */ l.jsx("div", { className: "w-5 h-5 bg-white dark:bg-[#020817] border-2 border-blue-500 rounded-full flex items-center justify-center", children: /* @__PURE__ */ l.jsx(Ce, { className: "w-3 h-3 text-blue-500 animate-spin" }) }) : /* @__PURE__ */ l.jsx(
7011
+ A === "in_progress" ? /* @__PURE__ */ l.jsx(ke, { className: "w-5 h-5 text-blue-500 animate-spin" }) : /* @__PURE__ */ l.jsx(
7010
7012
  Ya,
7011
7013
  {
7012
7014
  className: `w-4 h-4 ${A === "pending" ? "text-[#999]" : "text-[#1784FC]"}`
@@ -7101,8 +7103,8 @@ const tf = {
7101
7103
  theme: h,
7102
7104
  showReportOnly: p = !1
7103
7105
  }) => {
7104
- const { t: m } = ve(), [v, w] = N(s || m("deepResearch.tab.steps"));
7105
- return ee(() => {
7106
+ const { t: m } = ve(), [x, w] = N(s || m("deepResearch.tab.steps"));
7107
+ return $(() => {
7106
7108
  p ? w(m("deepResearch.tab.report")) : s && w(s);
7107
7109
  }, [s, p, m]), /* @__PURE__ */ l.jsx(Su, { children: e && /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
7108
7110
  /* @__PURE__ */ l.jsx(
@@ -7143,7 +7145,7 @@ const tf = {
7143
7145
  $a,
7144
7146
  {
7145
7147
  className: "cm-deep-research-segmented",
7146
- value: v,
7148
+ value: x,
7147
7149
  style: { marginBottom: 8 },
7148
7150
  onChange: (A) => w(A),
7149
7151
  options: [
@@ -7154,7 +7156,7 @@ const tf = {
7154
7156
  }
7155
7157
  ),
7156
7158
  /* @__PURE__ */ l.jsxs("div", { className: "flex items-center gap-2", children: [
7157
- v === m("deepResearch.tab.report") && /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
7159
+ x === m("deepResearch.tab.report") && /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
7158
7160
  /* @__PURE__ */ l.jsxs(
7159
7161
  "button",
7160
7162
  {
@@ -7191,7 +7193,7 @@ const tf = {
7191
7193
  ] })
7192
7194
  ] }),
7193
7195
  /* @__PURE__ */ l.jsxs("div", { className: "pt-6 flex-1 overflow-y-auto bg-white dark:bg-black", children: [
7194
- v === m("deepResearch.tab.report") && /* @__PURE__ */ l.jsx(
7196
+ x === m("deepResearch.tab.report") && /* @__PURE__ */ l.jsx(
7195
7197
  of,
7196
7198
  {
7197
7199
  content: c,
@@ -7199,7 +7201,7 @@ const tf = {
7199
7201
  formatUrl: u
7200
7202
  }
7201
7203
  ),
7202
- v === m("deepResearch.tab.steps") && /* @__PURE__ */ l.jsx(
7204
+ x === m("deepResearch.tab.steps") && /* @__PURE__ */ l.jsx(
7203
7205
  rf,
7204
7206
  {
7205
7207
  steps: n,
@@ -7208,7 +7210,7 @@ const tf = {
7208
7210
  reportStatus: o
7209
7211
  }
7210
7212
  ),
7211
- v === m("deepResearch.tab.searchResults") && /* @__PURE__ */ l.jsx(af, { hits: d, theme: h })
7213
+ x === m("deepResearch.tab.searchResults") && /* @__PURE__ */ l.jsx(af, { hits: d, theme: h })
7212
7214
  ] })
7213
7215
  ]
7214
7216
  }
@@ -7320,21 +7322,19 @@ const tf = {
7320
7322
  }) => {
7321
7323
  const { t: r } = ve(), [i, o] = N(!1), [a, c] = N(
7322
7324
  r("deepResearch.tab.steps")
7323
- );
7324
- console.log(111111111, e);
7325
- const {
7325
+ ), {
7326
7326
  deepResearchPlans: d,
7327
7327
  deepResearchCurrentStepIndex: u,
7328
7328
  deepResearchCurrentStepFinished: h,
7329
7329
  deepResearchQuery: p,
7330
7330
  deepResearchResultCount: m,
7331
- deepResearchPlannerStarted: v,
7331
+ deepResearchPlannerStarted: x,
7332
7332
  deepResearchResearcherStarted: w,
7333
7333
  deepResearchReporterStarted: A,
7334
7334
  deepResearchReporterFinished: g,
7335
- deepResearchReportData: x,
7335
+ deepResearchReportData: v,
7336
7336
  deepResearchSearchMap: y
7337
- } = oe(() => lf(e), [e]), j = d.length > 0 && u >= 0 && u < d.length, P = j ? d[u] : "", V = d.length > 0 ? 1 : 0, S = j ? (u + 1) / d.length : 0, T = g ? 1 : A ? 0.5 : 0, D = (V + S + T) / 3, _ = oe(() => {
7337
+ } = oe(() => lf(e), [e]), E = d.length > 0 && u >= 0 && u < d.length, P = E ? d[u] : "", V = d.length > 0 ? 1 : 0, S = E ? (u + 1) / d.length : 0, T = g ? 1 : A ? 0.5 : 0, M = (V + S + T) / 3, I = oe(() => {
7338
7338
  if (g)
7339
7339
  return typeof m == "number" ? `深度研究完成 · 找到 ${m} 条相关结果` : "深度研究完成";
7340
7340
  if (A)
@@ -7352,7 +7352,7 @@ const tf = {
7352
7352
  ]), Q = oe(() => d.length ? d.map((L, U) => {
7353
7353
  let z = "pending";
7354
7354
  g || A ? z = "done" : w && (U < u ? z = "done" : U === u && (z = h ? "done" : "in_progress"));
7355
- const re = y[L], Ue = re?.query ? [
7355
+ const re = y[L], qe = re?.query ? [
7356
7356
  {
7357
7357
  id: `step-${U + 1}-search-1`,
7358
7358
  query: re.query,
@@ -7365,7 +7365,7 @@ const tf = {
7365
7365
  id: `step-${U + 1}`,
7366
7366
  title: L,
7367
7367
  status: z,
7368
- searches: Ue,
7368
+ searches: qe,
7369
7369
  showOptimizePlan: !1
7370
7370
  };
7371
7371
  }) : [], [
@@ -7381,7 +7381,9 @@ const tf = {
7381
7381
  return Object.values(y).forEach((U) => {
7382
7382
  U.hits && Array.isArray(U.hits) && L.push(...U.hits);
7383
7383
  }), L;
7384
- }, [y]), ce = d.length ? "done" : v ? "in_progress" : "pending", X = oe(() => Q.length ? Q.some((L) => L.status === "in_progress") ? "in_progress" : Q.some((L) => L.status === "done") ? "done" : "pending" : "pending", [Q]), de = g ? "done" : A ? "in_progress" : "pending", $ = oe(() => typeof D != "number" || Number.isNaN(D) || D < 0 ? 0 : D > 1 ? 1 : D, [D]), B = oe(() => _ || ($ >= 1 ? typeof m == "number" ? r("deepResearch.status.completedWithCount", { count: m }) : r("deepResearch.status.completed") : $ > 0 ? r("deepResearch.status.running") : r("deepResearch.status.preparing")), [_, $, m, r]);
7384
+ }, [y]), ce = d.length ? "done" : x ? "in_progress" : "pending", X = oe(() => Q.length ? Q.some((L) => L.status === "in_progress") ? "in_progress" : Q.some((L) => L.status === "done") ? "done" : "pending" : "pending", [Q]), de = g ? "done" : A ? "in_progress" : "pending", ee = oe(() => typeof M != "number" || Number.isNaN(M) || M < 0 ? 0 : M > 1 ? 1 : M, [M]), B = oe(() => I || (ee >= 1 ? typeof m == "number" ? r("deepResearch.status.completedWithCount", {
7385
+ count: m
7386
+ }) : r("deepResearch.status.completed") : ee > 0 ? r("deepResearch.status.running") : r("deepResearch.status.preparing")), [I, ee, m, r]);
7385
7387
  return e.length ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
7386
7388
  /* @__PURE__ */ l.jsx(
7387
7389
  "div",
@@ -7393,11 +7395,11 @@ const tf = {
7393
7395
  children: /* @__PURE__ */ l.jsxs("div", { className: "w-full rounded-xl border border-[#EEF0F3] bg-[#F3F4F6] dark:border-[#1D3A6F] dark:bg-[#020817] p-4", children: [
7394
7396
  /* @__PURE__ */ l.jsxs("div", { className: "flex items-center gap-2 mb-4", children: [
7395
7397
  /* @__PURE__ */ l.jsx(Qa, { className: "h-4 w-4 text-[#148EFF] cm-hourglass-rotate" }),
7396
- /* @__PURE__ */ l.jsx("div", { className: "text-sm font-medium text-[#333] dark:text-[#E5E7EB] truncate", children: P || "-" })
7398
+ /* @__PURE__ */ l.jsx("div", { className: "text-sm font-medium text-[#333] dark:text-[#E5E7EB] truncate", children: P || "——" })
7397
7399
  ] }),
7398
7400
  /* @__PURE__ */ l.jsxs("div", { className: "mt-2 flex items-center justify-between rounded-full bg-white px-3 py-2 text-sm text-[#333] dark:bg-[#111827] dark:text-[#D1D5DB]", children: [
7399
7401
  /* @__PURE__ */ l.jsxs("div", { className: "flex min-w-0 items-center gap-2 flex-1", children: [
7400
- $ >= 1 ? /* @__PURE__ */ l.jsx(Ut, { className: "h-4 w-4 text-[#22C55E] shrink-0" }) : /* @__PURE__ */ l.jsx(Ce, { className: "h-4 w-4 animate-spin text-[#148EFF] shrink-0" }),
7402
+ ee >= 1 ? /* @__PURE__ */ l.jsx(Ut, { className: "h-4 w-4 text-[#22C55E] shrink-0" }) : /* @__PURE__ */ l.jsx(ke, { className: "h-4 w-4 animate-spin text-[#148EFF] shrink-0" }),
7401
7403
  /* @__PURE__ */ l.jsxs("div", { className: "flex min-w-0 items-center flex-1", children: [
7402
7404
  /* @__PURE__ */ l.jsx("span", { className: "whitespace-nowrap shrink-0", children: B }),
7403
7405
  /* @__PURE__ */ l.jsxs("span", { className: "text-[#999] dark:text-[#A6A6A6] truncate ml-1", children: [
@@ -7407,8 +7409,8 @@ const tf = {
7407
7409
  ] })
7408
7410
  ] }),
7409
7411
  /* @__PURE__ */ l.jsxs("div", { className: "ml-2 flex items-center gap-2 shrink-0", children: [
7410
- $ < 1 && typeof m == "number" ? /* @__PURE__ */ l.jsx("div", { className: "flex py-0.5 px-1 items-center justify-center rounded-full border border-[#018AE5] bg-white text-xs font-medium text-[#018AE5] dark:bg-[#020617]", children: m }) : null,
7411
- $ >= 1 && /* @__PURE__ */ l.jsx(
7412
+ ee < 1 && typeof m == "number" ? /* @__PURE__ */ l.jsx("div", { className: "flex py-0.5 px-1 items-center justify-center rounded-full border border-[#018AE5] bg-white text-xs font-medium text-[#018AE5] dark:bg-[#020617]", children: m }) : null,
7413
+ ee >= 1 && /* @__PURE__ */ l.jsx(
7412
7414
  "button",
7413
7415
  {
7414
7416
  type: "button",
@@ -7425,11 +7427,11 @@ const tf = {
7425
7427
  /* @__PURE__ */ l.jsx("div", { className: "h-2 rounded-full flex-1 items-center bg-white dark:bg-[#1F2937]", children: /* @__PURE__ */ l.jsx(
7426
7428
  "div",
7427
7429
  {
7428
- className: `h-full rounded-full transition-all ${$ >= 1 ? "bg-[#00C868]" : "bg-[#1784FC]"}`,
7429
- style: { width: `${$ * 100}%` }
7430
+ className: `h-full rounded-full transition-all ${ee >= 1 ? "bg-[#00C868]" : "bg-[#1784FC]"}`,
7431
+ style: { width: `${ee * 100}%` }
7430
7432
  }
7431
7433
  ) }),
7432
- /* @__PURE__ */ l.jsx("div", { className: "flex items-center justify-center cursor-pointer hover:opacity-80 transition-opacity", children: $ >= 1 ? /* @__PURE__ */ l.jsx(Ut, { className: "h-4 w-4 text-[#22C55E]" }) : /* @__PURE__ */ l.jsx(Ha, { className: "h-4 w-4 text-[#1784FC]" }) })
7434
+ /* @__PURE__ */ l.jsx("div", { className: "flex items-center justify-center cursor-not-allowed opacity-50", children: ee >= 1 ? /* @__PURE__ */ l.jsx(Ut, { className: "h-4 w-4 text-[#22C55E]" }) : /* @__PURE__ */ l.jsx(Ha, { className: "h-4 w-4 text-[#1784FC]" }) })
7433
7435
  ] })
7434
7436
  ] })
7435
7437
  }
@@ -7444,7 +7446,7 @@ const tf = {
7444
7446
  plannerStatus: ce,
7445
7447
  executionStatus: X,
7446
7448
  reportStatus: de,
7447
- reportData: x,
7449
+ reportData: v,
7448
7450
  searchHits: H,
7449
7451
  formatUrl: s,
7450
7452
  theme: n
@@ -7529,21 +7531,21 @@ const ff = fi(
7529
7531
  locale: h,
7530
7532
  assistantList: p,
7531
7533
  currentAssistant: m
7532
- }, v) {
7533
- const { t: w, i18n: A } = ve(), g = hf(u), [x, y] = N({}), {
7534
+ }, x) {
7535
+ const { t: w, i18n: A } = ve(), g = hf(u), [v, y] = N({}), {
7534
7536
  data: {
7535
- query_intent: j,
7537
+ query_intent: E,
7536
7538
  tools: P,
7537
7539
  fetch_source: V,
7538
7540
  pick_source: S,
7539
7541
  deep_read: T,
7540
- think: D,
7541
- response: _,
7542
+ think: M,
7543
+ response: I,
7542
7544
  deepResearch: Q
7543
7545
  },
7544
7546
  handlers: H,
7545
7547
  clearAllChunkData: ce
7546
- } = Cl(), [X, de] = N({
7548
+ } = kl(), [X, de] = N({
7547
7549
  query_intent: !1,
7548
7550
  tools: !1,
7549
7551
  fetch_source: !1,
@@ -7552,8 +7554,8 @@ const ff = fi(
7552
7554
  think: !1,
7553
7555
  response: !1,
7554
7556
  deepResearch: !1
7555
- }), $ = me(!1);
7556
- Ra(v, () => ({
7557
+ }), ee = he(!1);
7558
+ Ra(x, () => ({
7557
7559
  addChunk: (R) => {
7558
7560
  if (de(() => ({
7559
7561
  query_intent: !1,
@@ -7578,16 +7580,16 @@ const ff = fi(
7578
7580
  else if (R.chunk_type === "think")
7579
7581
  H.deal_think(R);
7580
7582
  else if (R.chunk_type === "response") {
7581
- const Ee = R.message_chunk;
7582
- if (typeof Ee == "string") {
7583
- if (Ee.includes("<think>") || Ee.includes("<think>")) {
7584
- $.current = !0;
7583
+ const je = R.message_chunk;
7584
+ if (typeof je == "string") {
7585
+ if (je.includes("<think>") || je.includes("<think>")) {
7586
+ ee.current = !0;
7585
7587
  return;
7586
- } else if (Ee.includes("</think>") || Ee.includes("</think>")) {
7587
- $.current = !1;
7588
+ } else if (je.includes("</think>") || je.includes("</think>")) {
7589
+ ee.current = !1;
7588
7590
  return;
7589
7591
  }
7590
- $.current ? H.deal_think({ ...R, chunk_type: "think" }) : H.deal_response(R);
7592
+ ee.current ? H.deal_think({ ...R, chunk_type: "think" }) : H.deal_response(R);
7591
7593
  }
7592
7594
  } else df.includes(R.chunk_type || "") ? H.deal_deep_research(R) : R.chunk_type;
7593
7595
  },
@@ -7601,13 +7603,13 @@ const ff = fi(
7601
7603
  think: !1,
7602
7604
  response: !1,
7603
7605
  deepResearch: !1
7604
- }), $.current = !1;
7606
+ }), ee.current = !1;
7605
7607
  }
7606
7608
  }));
7607
7609
  const B = t?._source?.type === "assistant", L = t?._source?.assistant_id, U = t?._source?.assistant_item;
7608
- ee(() => {
7610
+ $(() => {
7609
7611
  h && A.language !== h && A.changeLanguage(h);
7610
- }, [h, A]), ee(() => {
7612
+ }, [h, A]), $(() => {
7611
7613
  if (U) {
7612
7614
  y(U);
7613
7615
  return;
@@ -7626,22 +7628,22 @@ const ff = fi(
7626
7628
  p,
7627
7629
  m
7628
7630
  ]);
7629
- const z = t?._source, re = z?.message || "", Ue = z?.payload, Et = z?.attachments ?? [], je = z?.details || [], ot = z?.question || "", at = s === !1 && (re || _?.message_chunk), [lt, qe] = N([]), ct = (R) => {
7630
- qe(R);
7631
- }, Ke = () => B ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
7631
+ const z = t?._source, re = z?.message || "", qe = z?.payload, jt = z?.attachments ?? [], Ee = z?.details || [], at = z?.question || "", lt = s === !1 && (re || I?.message_chunk), [ct, Ke] = N([]), ut = (R) => {
7632
+ Ke(R);
7633
+ }, Be = () => B ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
7632
7634
  /* @__PURE__ */ l.jsx(
7633
7635
  ll,
7634
7636
  {
7635
- Detail: je.find((R) => R.type === "query_intent"),
7636
- ChunkData: j,
7637
- getSuggestion: ct,
7637
+ Detail: Ee.find((R) => R.type === "query_intent"),
7638
+ ChunkData: E,
7639
+ getSuggestion: ut,
7638
7640
  loading: X?.query_intent
7639
7641
  }
7640
7642
  ),
7641
7643
  /* @__PURE__ */ l.jsx(
7642
7644
  cl,
7643
7645
  {
7644
- Detail: je.find((R) => R.type === "tools"),
7646
+ Detail: Ee.find((R) => R.type === "tools"),
7645
7647
  ChunkData: P,
7646
7648
  loading: X?.tools
7647
7649
  }
@@ -7649,7 +7651,7 @@ const ff = fi(
7649
7651
  /* @__PURE__ */ l.jsx(
7650
7652
  hl,
7651
7653
  {
7652
- Detail: je.find((R) => R.type === "fetch_source"),
7654
+ Detail: Ee.find((R) => R.type === "fetch_source"),
7653
7655
  ChunkData: V,
7654
7656
  loading: X?.fetch_source,
7655
7657
  formatUrl: d
@@ -7658,7 +7660,7 @@ const ff = fi(
7658
7660
  /* @__PURE__ */ l.jsx(
7659
7661
  pl,
7660
7662
  {
7661
- Detail: je.find((R) => R.type === "pick_source"),
7663
+ Detail: Ee.find((R) => R.type === "pick_source"),
7662
7664
  ChunkData: S,
7663
7665
  loading: X?.pick_source
7664
7666
  }
@@ -7666,7 +7668,7 @@ const ff = fi(
7666
7668
  /* @__PURE__ */ l.jsx(
7667
7669
  gl,
7668
7670
  {
7669
- Detail: je.find((R) => R.type === "deep_read"),
7671
+ Detail: Ee.find((R) => R.type === "deep_read"),
7670
7672
  ChunkData: T,
7671
7673
  loading: X?.deep_read
7672
7674
  }
@@ -7674,54 +7676,54 @@ const ff = fi(
7674
7676
  /* @__PURE__ */ l.jsx(
7675
7677
  yl,
7676
7678
  {
7677
- Detail: je.find((R) => R.type === "think"),
7678
- ChunkData: D,
7679
+ Detail: Ee.find((R) => R.type === "think"),
7680
+ ChunkData: M,
7679
7681
  loading: X?.think
7680
7682
  }
7681
7683
  ),
7682
7684
  /* @__PURE__ */ l.jsx("div", { className: "cm-markdown", children: /* @__PURE__ */ l.jsx(
7683
7685
  Wt,
7684
7686
  {
7685
- content: re || _?.message_chunk || ""
7687
+ content: re || I?.message_chunk || ""
7686
7688
  }
7687
7689
  ) }),
7688
- /* @__PURE__ */ l.jsx(uf, { payload: Ue, formatUrl: d }),
7690
+ /* @__PURE__ */ l.jsx(uf, { payload: qe, formatUrl: d }),
7689
7691
  /* @__PURE__ */ l.jsx(
7690
7692
  cf,
7691
7693
  {
7692
7694
  ChunkData: Q,
7693
- question: ot,
7695
+ question: at,
7694
7696
  formatUrl: d,
7695
7697
  theme: g
7696
7698
  }
7697
7699
  ),
7698
7700
  s && /* @__PURE__ */ l.jsx("div", { className: "inline-block w-1.5 h-5 ml-0.5 -mb-0.5 bg-[#666666] dark:bg-[#A3A3A3] rounded-sm animate-typing" }),
7699
- at && /* @__PURE__ */ l.jsx(
7701
+ lt && /* @__PURE__ */ l.jsx(
7700
7702
  vl,
7701
7703
  {
7702
7704
  id: t._id ?? "",
7703
- content: re || _?.message_chunk || "",
7704
- question: ot,
7705
+ content: re || I?.message_chunk || "",
7706
+ question: at,
7705
7707
  actionClassName: o,
7706
7708
  actionIconSize: a,
7707
7709
  copyButtonId: c,
7708
7710
  onResend: () => {
7709
- n && n(ot);
7711
+ n && n(at);
7710
7712
  }
7711
7713
  }
7712
7714
  ),
7713
7715
  !s && /* @__PURE__ */ l.jsx(
7714
7716
  bl,
7715
7717
  {
7716
- suggestions: lt,
7718
+ suggestions: ct,
7717
7719
  onSelect: (R) => n && n(R)
7718
7720
  }
7719
7721
  )
7720
- ] }) : /* @__PURE__ */ l.jsx(Al, { message: re, attachments: Et });
7722
+ ] }) : /* @__PURE__ */ l.jsx(Al, { message: re, attachments: jt });
7721
7723
  return /* @__PURE__ */ l.jsx(
7722
7724
  "div",
7723
7725
  {
7724
- className: vt(
7726
+ className: $e(
7725
7727
  "w-full py-8 flex",
7726
7728
  [B ? "justify-start" : "justify-end"],
7727
7729
  g === "dark" && "dark",
@@ -7736,11 +7738,11 @@ const ff = fi(
7736
7738
  {
7737
7739
  className: `w-full space-y-2 ${B ? "text-left" : "text-right"}`,
7738
7740
  children: [
7739
- !r && /* @__PURE__ */ l.jsxs("div", { className: "w-full flex items-center gap-1 font-semibold text-sm text-[#333] dark:text-white", children: [
7740
- B ? /* @__PURE__ */ l.jsx("div", { className: "w-6 h-6 flex justify-center items-center rounded-full bg-white dark:bg-[#2A2A2A] border border-[#E6E6E6] dark:border-[#3A3A3A]", children: x?._source?.icon?.startsWith("font_") ? /* @__PURE__ */ l.jsx(
7741
- kl,
7741
+ !r && (Be() || I || M) && /* @__PURE__ */ l.jsxs("div", { className: "w-full flex items-center gap-1 font-semibold text-sm text-[#333] dark:text-white", children: [
7742
+ B ? /* @__PURE__ */ l.jsx("div", { className: "w-6 h-6 flex justify-center items-center rounded-full bg-white dark:bg-[#2A2A2A] border border-[#E6E6E6] dark:border-[#3A3A3A]", children: v?._source?.icon?.startsWith("font_") ? /* @__PURE__ */ l.jsx(
7743
+ Cl,
7742
7744
  {
7743
- name: x._source.icon,
7745
+ name: v._source.icon,
7744
7746
  className: "w-4 h-4"
7745
7747
  }
7746
7748
  ) : /* @__PURE__ */ l.jsx(
@@ -7751,9 +7753,18 @@ const ff = fi(
7751
7753
  alt: w("assistant.message.logo")
7752
7754
  }
7753
7755
  ) }) : null,
7754
- B ? x?._source?.name || "Coco AI" : ""
7756
+ B ? v?._source?.name || "Coco AI" : ""
7755
7757
  ] }),
7756
- /* @__PURE__ */ l.jsx("div", { className: "w-full prose dark:prose-invert prose-sm max-w-none", children: /* @__PURE__ */ l.jsx("div", { className: "w-full pl-7 text-[#333] dark:text-white leading-relaxed", children: Ke() }) })
7758
+ /* @__PURE__ */ l.jsx("div", { className: "w-full prose dark:prose-invert prose-sm max-w-none", children: /* @__PURE__ */ l.jsx(
7759
+ "div",
7760
+ {
7761
+ className: $e(
7762
+ "w-full text-[#333] dark:text-white leading-relaxed",
7763
+ B && "pl-7"
7764
+ ),
7765
+ children: Be()
7766
+ }
7767
+ ) })
7757
7768
  ]
7758
7769
  }
7759
7770
  )