From f5c963e50dbcde3d80e5d5fb42734491b00c25e1 Mon Sep 17 00:00:00 2001 From: Peter White Date: Wed, 18 Dec 2024 14:10:37 -0700 Subject: [PATCH] chore: update frontend to remove trailing slash --- crates/pop-cli/src/assets/index.html | 30 ++++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/crates/pop-cli/src/assets/index.html b/crates/pop-cli/src/assets/index.html index c5fc0024..d1d5a8ef 100644 --- a/crates/pop-cli/src/assets/index.html +++ b/crates/pop-cli/src/assets/index.html @@ -7,7 +7,7 @@ href="data:image/svg+xml,%3Csvg width='512' height='512' viewBox='0 0 512 512' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_873_174)'%3E%3Crect width='512' height='512' rx='256' fill='%231C0533'/%3E%3Crect width='512' height='512' rx='256' fill='url(%23paint0_radial_873_174)' fill-opacity='0.8'/%3E%3Crect width='512' height='512' rx='256' fill='url(%23paint1_radial_873_174)' fill-opacity='0.6'/%3E%3Cmask id='mask0_873_174' style='mask-type:alpha' maskUnits='userSpaceOnUse' x='-429' y='-502' width='1428' height='1351'%3E%3Cpath d='M127.637 -501.289L998.911 322.903L984.661 336.383L113.388 -487.809L127.637 -501.289Z' fill='%23D9D9D9'/%3E%3Cpath d='M88.9594 -464.701L960.232 359.491L945.983 372.971L74.7096 -451.221L88.9594 -464.701Z' fill='%23D9D9D9'/%3E%3Cpath d='M50.2814 -428.113L921.554 396.079L907.305 409.559L36.0316 -414.633L50.2814 -428.113Z' fill='%23D9D9D9'/%3E%3Cpath d='M11.6034 -391.525L882.876 432.667L868.627 446.147L-2.64642 -378.045L11.6034 -391.525Z' fill='%23D9D9D9'/%3E%3Cpath d='M-27.0746 -354.937L844.198 469.255L829.949 482.735L-41.3244 -341.457L-27.0746 -354.937Z' fill='%23D9D9D9'/%3E%3Cpath d='M-65.7526 -318.349L805.52 505.843L791.271 519.323L-80.0024 -304.869L-65.7526 -318.349Z' fill='%23D9D9D9'/%3E%3Cpath d='M-104.431 -281.761L766.842 542.431L752.593 555.911L-118.68 -268.281L-104.431 -281.761Z' fill='%23D9D9D9'/%3E%3Cpath d='M-143.109 -245.173L728.164 579.019L713.915 592.499L-157.358 -231.693L-143.109 -245.173Z' fill='%23D9D9D9'/%3E%3Cpath d='M-181.787 -208.585L689.486 615.607L675.237 629.087L-196.036 -195.105L-181.787 -208.585Z' fill='%23D9D9D9'/%3E%3Cpath d='M-220.465 -171.997L650.808 652.195L636.559 665.675L-234.714 -158.517L-220.465 -171.997Z' fill='%23D9D9D9'/%3E%3Cpath d='M-259.143 -135.409L612.13 688.783L597.881 702.263L-273.392 -121.929L-259.143 -135.409Z' fill='%23D9D9D9'/%3E%3Cpath d='M-297.821 -98.8211L573.452 725.371L559.203 738.851L-312.07 -85.3413L-297.821 -98.8211Z' fill='%23D9D9D9'/%3E%3Cpath d='M-336.499 -62.2331L534.774 761.959L520.525 775.439L-350.748 -48.7533L-336.499 -62.2331Z' fill='%23D9D9D9'/%3E%3Cpath d='M-375.177 -25.6452L496.096 798.547L481.847 812.026L-389.426 -12.1654L-375.177 -25.6452Z' fill='%23D9D9D9'/%3E%3Cpath d='M-413.855 10.9428L457.418 835.135L443.169 848.615L-428.104 24.4225L-413.855 10.9428Z' fill='%23D9D9D9'/%3E%3C/mask%3E%3Cg mask='url(%23mask0_873_174)'%3E%3Cpath d='M511.169 254.929C511.169 396.905 396.739 512 255.584 512C114.428 512 -0.000976562 396.905 -0.000976562 254.929C-0.000976562 112.953 114.428 -2.14209 255.584 -2.14209C396.739 -2.14209 511.169 112.953 511.169 254.929Z' fill='%23E6007A'/%3E%3C/g%3E%3Cpath d='M183.804 160.44C171.052 151.144 156.458 147.168 141.864 147.168H52.2334L5.63086 367.567H122.684L132.083 322.765C141.879 321.622 151.384 318.84 160.403 314.394C161.8 313.705 163.178 312.986 164.536 312.239C168.249 321.014 173.177 329.173 179.315 336.581C187.573 346.548 197.657 354.366 209.117 360.016L209.12 360.018L209.517 360.213L209.917 360.399C222.605 366.289 236.098 368.784 249.63 368.784C263.218 368.784 276.507 366.489 289.292 361.868C295.36 359.675 301.212 357.046 306.832 353.988L303.961 367.567H421.013L430.413 322.765C440.209 321.622 449.714 318.84 458.733 314.394C469.61 309.03 479.317 301.877 487.672 293.046L487.682 293.035L487.841 292.867L487.995 292.7L487.998 292.697C496.09 283.931 502.611 273.995 507.338 262.975C512.203 251.631 514.88 239.536 514.88 226.953C514.88 214.447 512.231 202.327 507.001 190.977C501.508 178.753 493.141 168.335 482.134 160.44C469.382 151.144 454.788 147.168 440.194 147.168H350.563L345.323 171.949C338.297 165.041 330.227 159.445 321.314 155.191C308.55 148.958 294.91 146.357 281.28 146.357C267.691 146.357 254.402 148.652 241.618 153.273C229.473 157.663 218.174 163.78 207.814 171.541C205.377 173.358 203.011 175.252 200.715 177.221C196.062 170.823 190.408 165.177 183.804 160.44Z' fill='%232B0532'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M229.569 331.163L229.632 331.194L229.696 331.224C237.592 334.889 246.407 336.65 256.019 336.65C265.979 336.65 275.609 334.978 284.877 331.628C294.055 328.31 302.528 323.689 310.277 317.771C317.967 311.898 324.68 305.15 330.397 297.531L330.413 297.509L330.429 297.487C336.137 289.737 340.585 281.451 343.748 272.638C347.074 263.611 348.753 254.388 348.753 244.999C348.753 236.541 347.45 228.398 344.825 220.6C342.311 212.598 338.452 205.423 333.24 199.132C327.963 192.763 321.484 187.769 313.875 184.16C306.078 180.325 297.295 178.491 287.67 178.491C277.709 178.491 268.079 180.164 258.812 183.513C249.647 186.826 241.125 191.437 233.261 197.332C225.542 203.084 218.751 209.844 212.899 217.597L212.889 217.611C207.16 225.246 202.642 233.54 199.345 242.478L199.33 242.518L199.316 242.559C196.135 251.575 194.532 260.778 194.532 270.142C194.532 278.624 195.843 286.844 198.472 294.776L198.477 294.792L198.482 294.808C201.135 302.663 205.057 309.744 210.248 316.009C215.517 322.37 221.981 327.422 229.569 331.163ZM287.732 276.015L287.742 276C290.74 271.657 292.939 267.045 294.364 262.148C295.831 257.108 296.54 252.276 296.54 247.635C296.54 243.3 295.843 239.458 294.528 236.043L294.487 235.934L294.449 235.824C293.328 232.545 291.583 230.131 289.252 228.349C287.226 226.801 284.199 225.736 279.606 225.736C274.271 225.736 269.81 226.979 266.027 229.305L265.974 229.337L265.921 229.368C261.869 231.746 258.495 234.905 255.765 238.909C252.893 243.123 250.673 247.698 249.104 252.654C247.65 257.67 246.947 262.48 246.947 267.101C246.947 271.459 247.585 275.422 248.809 279.033C250.055 282.339 251.89 284.885 254.293 286.836C256.34 288.379 259.301 289.405 263.68 289.405C269.175 289.405 273.697 288.15 277.46 285.837C281.567 283.313 284.975 280.058 287.722 276.029L287.732 276.015Z' fill='%23E6007A'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M171.542 186.53C164.879 181.64 157.017 179.302 148.254 179.302H84.4909L51.4775 335.434H103.163L112.436 291.23H128.094C136.792 291.23 145.029 289.337 152.73 285.54C160.225 281.844 166.856 276.954 172.594 270.888L172.619 270.861L172.644 270.834C178.339 264.665 182.824 257.798 186.062 250.247C189.323 242.645 190.992 234.866 190.992 226.953C190.992 219.052 189.327 211.496 186.009 204.348C182.762 197.062 177.927 191.083 171.542 186.53ZM135.575 242.131L135.598 242.101C136.363 241.1 137.06 239.71 137.567 237.773L137.604 237.631L137.648 237.49C138.222 235.663 138.577 233.269 138.577 230.197C138.577 227.864 138.266 226.771 138.111 226.428C138.024 226.235 137.948 226.093 137.889 225.994L137.862 225.949L137.849 225.939H126.349L122.444 244.594H132.693C132.756 244.581 132.999 244.516 133.45 244.244C133.961 243.935 134.685 243.325 135.553 242.16L135.575 242.131Z' fill='%23E6007A'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M469.872 186.53C463.209 181.64 455.347 179.302 446.583 179.302H382.821L349.807 335.434H401.493L410.766 291.23H426.424C435.122 291.23 443.359 289.337 451.06 285.54C458.555 281.844 465.186 276.954 470.923 270.888L470.949 270.861L470.973 270.834C476.669 264.665 481.153 257.798 484.392 250.247C487.652 242.645 489.322 234.866 489.322 226.953C489.322 219.052 487.657 211.496 484.339 204.348C481.092 197.062 476.257 191.083 469.872 186.53ZM433.905 242.131L433.928 242.101C434.693 241.1 435.39 239.71 435.896 237.773L435.934 237.631L435.978 237.49C436.552 235.663 436.907 233.269 436.907 230.197C436.907 227.864 436.596 226.771 436.441 226.428C436.354 226.235 436.278 226.093 436.219 225.994L436.192 225.949L436.178 225.939H424.678L420.774 244.594H431.023C431.086 244.581 431.329 244.516 431.779 244.244C432.29 243.935 433.014 243.325 433.883 242.16L433.905 242.131Z' fill='%23E6007A'/%3E%3Cmask id='path-6-outside-1_873_174' maskUnits='userSpaceOnUse' x='35.8232' y='166.788' width='435' height='156' fill='black'%3E%3Crect fill='white' x='35.8232' y='166.788' width='435' height='156'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M68.9791 168.599H131.11C139.505 168.599 146.942 170.833 153.22 175.445C159.314 179.787 163.927 185.486 167.032 192.461C170.229 199.344 171.832 206.612 171.832 214.222C171.832 221.841 170.226 229.347 167.067 236.713C163.922 244.045 159.566 250.719 154.022 256.724L154.006 256.742L153.989 256.759C148.417 262.651 141.98 267.398 134.699 270.989C127.28 274.646 119.347 276.472 110.95 276.472H93.6573L84.3839 320.675H36.8232L68.9791 168.599ZM90.3873 272.416H110.95C118.745 272.416 126.07 270.727 132.924 267.347C139.778 263.968 145.826 259.507 151.068 253.964C156.309 248.287 160.408 242.001 163.365 235.107C166.322 228.213 167.8 221.251 167.8 214.222C167.8 207.193 166.322 200.501 163.365 194.148C160.543 187.795 156.376 182.658 150.866 178.738C145.356 174.682 138.77 172.655 131.11 172.655H72.2437L41.8028 316.62H81.1139L90.3873 272.416ZM120.037 230.626L120.052 230.607C121.01 229.354 121.81 227.706 122.372 225.559L122.397 225.463L122.427 225.37C123.078 223.296 123.449 220.685 123.449 217.466C123.449 215.01 123.13 213.583 122.802 212.859C122.362 211.884 122.041 211.655 122.042 211.653L121.876 211.558L121.71 211.439C121.399 211.215 121.2 211.18 121.03 211.18H107.569L102.815 233.89H115.587C115.879 233.89 116.444 233.794 117.343 233.252C118.131 232.776 119.04 231.963 120.022 230.646L120.037 230.626ZM97.8464 237.946L104.297 207.125H121.03C122.105 207.125 123.113 207.463 124.054 208.139C124.995 208.68 125.801 209.693 126.473 211.18C127.145 212.667 127.481 214.763 127.481 217.466C127.481 220.981 127.078 224.022 126.271 226.591C125.599 229.159 124.591 231.322 123.247 233.079C122.038 234.701 120.761 235.918 119.417 236.729C118.073 237.54 116.796 237.946 115.587 237.946H97.8464ZM213.354 316.632L213.312 316.611C205.969 312.991 199.733 308.113 194.652 301.981C189.624 295.911 185.822 289.05 183.247 281.426L183.24 281.404C180.681 273.683 179.404 265.679 179.404 257.411C179.404 248.285 180.966 239.311 184.072 230.507L184.081 230.479L184.091 230.452C187.319 221.7 191.743 213.579 197.354 206.101L197.361 206.092C203.099 198.491 209.753 191.867 217.318 186.229C225.025 180.452 233.372 175.936 242.35 172.691C251.395 169.421 260.794 167.788 270.526 167.788C279.899 167.788 288.376 169.574 295.858 173.257C303.215 176.744 309.461 181.561 314.547 187.699C319.59 193.786 323.327 200.732 325.764 208.5C328.321 216.086 329.593 224.016 329.593 232.268C329.593 241.412 327.958 250.4 324.71 259.212C321.616 267.835 317.262 275.95 311.665 283.549L311.655 283.564L311.644 283.578C306.04 291.046 299.46 297.663 291.914 303.425C284.329 309.218 276.037 313.741 267.051 316.989C258.006 320.259 248.606 321.892 238.875 321.892C229.51 321.892 220.99 320.177 213.397 316.652L213.354 316.632ZM320.924 257.817C324.016 249.436 325.561 240.92 325.561 232.268C325.561 224.428 324.352 216.926 321.932 209.761C319.648 202.461 316.153 195.973 311.449 190.295C306.746 184.618 300.966 180.157 294.112 176.913C287.258 173.533 279.396 171.843 270.526 171.843C261.252 171.843 252.315 173.398 243.713 176.507C235.112 179.616 227.115 183.942 219.723 189.484C212.466 194.891 206.082 201.245 200.572 208.544C195.196 215.709 190.962 223.482 187.871 231.863C184.915 240.244 183.436 248.76 183.436 257.411C183.436 265.252 184.646 272.822 187.065 280.121C189.484 287.286 193.046 293.707 197.75 299.384C202.453 305.062 208.233 309.59 215.087 312.97C222.075 316.214 230.005 317.836 238.875 317.836C248.148 317.836 257.086 316.282 265.687 313.173C274.289 310.064 282.218 305.738 289.475 300.196C296.733 294.653 303.05 288.3 308.425 281.135C313.801 273.836 317.968 266.063 320.924 257.817ZM272.24 264.445L272.254 264.426C275.373 259.908 277.667 255.099 279.155 249.987C280.67 244.779 281.412 239.756 281.412 234.904C281.412 230.347 280.678 226.254 279.264 222.58L279.237 222.508L279.212 222.434C277.972 218.806 276.002 216.048 273.327 214.004C270.857 212.115 267.361 210.978 262.462 210.978C256.8 210.978 251.967 212.302 247.832 214.844L247.796 214.865L247.761 214.886C243.447 217.417 239.854 220.785 236.959 225.032C233.968 229.418 231.66 234.18 230.031 239.332C228.525 244.523 227.787 249.532 227.787 254.37C227.787 258.944 228.459 263.14 229.768 266.989C231.136 270.636 233.189 273.504 235.911 275.706C238.394 277.588 241.822 278.702 246.536 278.702C252.349 278.702 257.246 277.37 261.367 274.836C265.718 272.162 269.334 268.708 272.24 264.445ZM233.432 278.905C230.072 276.201 227.586 272.687 225.973 268.361C224.495 264.035 223.755 259.372 223.755 254.37C223.755 249.098 224.562 243.691 226.175 238.149C227.922 232.606 230.408 227.469 233.634 222.738C236.859 218.007 240.891 214.222 245.729 211.383C250.568 208.409 256.145 206.922 262.462 206.922C267.972 206.922 272.407 208.206 275.767 210.775C279.127 213.343 281.546 216.79 283.024 221.116C284.637 225.307 285.444 229.903 285.444 234.904C285.444 240.176 284.637 245.583 283.024 251.126C281.412 256.668 278.925 261.872 275.565 266.739C272.34 271.47 268.308 275.323 263.47 278.297C258.631 281.271 252.987 282.757 246.536 282.757C241.16 282.757 236.792 281.473 233.432 278.905ZM367.309 168.599H429.439C437.835 168.599 445.272 170.833 451.55 175.445C457.644 179.787 462.256 185.485 465.361 192.46C468.559 199.344 470.162 206.611 470.162 214.222C470.162 221.841 468.556 229.347 465.397 236.713C462.252 244.045 457.896 250.719 452.352 256.724L452.335 256.742L452.319 256.759C446.747 262.651 440.31 267.398 433.028 270.989C425.61 274.646 417.677 276.472 409.28 276.472H391.987L382.714 320.675H335.153L367.309 168.599ZM388.717 272.416H409.28C417.075 272.416 424.4 270.727 431.254 267.347C438.108 263.968 444.156 259.507 449.397 253.964C454.639 248.287 458.738 242.001 461.695 235.107C464.651 228.213 466.13 221.251 466.13 214.222C466.13 207.193 464.651 200.501 461.695 194.148C458.872 187.795 454.706 182.658 449.196 178.738C443.686 174.682 437.1 172.655 429.439 172.655H370.574L340.133 316.62H379.444L388.717 272.416ZM418.366 230.626L418.381 230.607C419.34 229.354 420.14 227.706 420.702 225.559L420.727 225.463L420.756 225.37C421.408 223.296 421.779 220.685 421.779 217.466C421.779 215.01 421.46 213.583 421.132 212.859C420.692 211.884 420.371 211.655 420.372 211.653L420.206 211.558L420.04 211.439C419.729 211.215 419.53 211.18 419.36 211.18H405.899L401.145 233.89H413.917C414.209 233.89 414.774 233.794 415.673 233.252C416.461 232.776 417.369 231.963 418.352 230.646L418.366 230.626ZM396.176 237.946L402.627 207.125H419.36C420.435 207.125 421.443 207.463 422.384 208.139C423.324 208.68 424.131 209.693 424.803 211.18C425.475 212.667 425.811 214.763 425.811 217.466C425.811 220.981 425.408 224.022 424.601 226.591C423.929 229.159 422.921 231.322 421.577 233.079C420.368 234.701 419.091 235.918 417.747 236.729C416.403 237.54 415.126 237.946 413.917 237.946H396.176Z'/%3E%3C/mask%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M68.9791 168.599H131.11C139.505 168.599 146.942 170.833 153.22 175.445C159.314 179.787 163.927 185.486 167.032 192.461C170.229 199.344 171.832 206.612 171.832 214.222C171.832 221.841 170.226 229.347 167.067 236.713C163.922 244.045 159.566 250.719 154.022 256.724L154.006 256.742L153.989 256.759C148.417 262.651 141.98 267.398 134.699 270.989C127.28 274.646 119.347 276.472 110.95 276.472H93.6573L84.3839 320.675H36.8232L68.9791 168.599ZM90.3873 272.416H110.95C118.745 272.416 126.07 270.727 132.924 267.347C139.778 263.968 145.826 259.507 151.068 253.964C156.309 248.287 160.408 242.001 163.365 235.107C166.322 228.213 167.8 221.251 167.8 214.222C167.8 207.193 166.322 200.501 163.365 194.148C160.543 187.795 156.376 182.658 150.866 178.738C145.356 174.682 138.77 172.655 131.11 172.655H72.2437L41.8028 316.62H81.1139L90.3873 272.416ZM120.037 230.626L120.052 230.607C121.01 229.354 121.81 227.706 122.372 225.559L122.397 225.463L122.427 225.37C123.078 223.296 123.449 220.685 123.449 217.466C123.449 215.01 123.13 213.583 122.802 212.859C122.362 211.884 122.041 211.655 122.042 211.653L121.876 211.558L121.71 211.439C121.399 211.215 121.2 211.18 121.03 211.18H107.569L102.815 233.89H115.587C115.879 233.89 116.444 233.794 117.343 233.252C118.131 232.776 119.04 231.963 120.022 230.646L120.037 230.626ZM97.8464 237.946L104.297 207.125H121.03C122.105 207.125 123.113 207.463 124.054 208.139C124.995 208.68 125.801 209.693 126.473 211.18C127.145 212.667 127.481 214.763 127.481 217.466C127.481 220.981 127.078 224.022 126.271 226.591C125.599 229.159 124.591 231.322 123.247 233.079C122.038 234.701 120.761 235.918 119.417 236.729C118.073 237.54 116.796 237.946 115.587 237.946H97.8464ZM213.354 316.632L213.312 316.611C205.969 312.991 199.733 308.113 194.652 301.981C189.624 295.911 185.822 289.05 183.247 281.426L183.24 281.404C180.681 273.683 179.404 265.679 179.404 257.411C179.404 248.285 180.966 239.311 184.072 230.507L184.081 230.479L184.091 230.452C187.319 221.7 191.743 213.579 197.354 206.101L197.361 206.092C203.099 198.491 209.753 191.867 217.318 186.229C225.025 180.452 233.372 175.936 242.35 172.691C251.395 169.421 260.794 167.788 270.526 167.788C279.899 167.788 288.376 169.574 295.858 173.257C303.215 176.744 309.461 181.561 314.547 187.699C319.59 193.786 323.327 200.732 325.764 208.5C328.321 216.086 329.593 224.016 329.593 232.268C329.593 241.412 327.958 250.4 324.71 259.212C321.616 267.835 317.262 275.95 311.665 283.549L311.655 283.564L311.644 283.578C306.04 291.046 299.46 297.663 291.914 303.425C284.329 309.218 276.037 313.741 267.051 316.989C258.006 320.259 248.606 321.892 238.875 321.892C229.51 321.892 220.99 320.177 213.397 316.652L213.354 316.632ZM320.924 257.817C324.016 249.436 325.561 240.92 325.561 232.268C325.561 224.428 324.352 216.926 321.932 209.761C319.648 202.461 316.153 195.973 311.449 190.295C306.746 184.618 300.966 180.157 294.112 176.913C287.258 173.533 279.396 171.843 270.526 171.843C261.252 171.843 252.315 173.398 243.713 176.507C235.112 179.616 227.115 183.942 219.723 189.484C212.466 194.891 206.082 201.245 200.572 208.544C195.196 215.709 190.962 223.482 187.871 231.863C184.915 240.244 183.436 248.76 183.436 257.411C183.436 265.252 184.646 272.822 187.065 280.121C189.484 287.286 193.046 293.707 197.75 299.384C202.453 305.062 208.233 309.59 215.087 312.97C222.075 316.214 230.005 317.836 238.875 317.836C248.148 317.836 257.086 316.282 265.687 313.173C274.289 310.064 282.218 305.738 289.475 300.196C296.733 294.653 303.05 288.3 308.425 281.135C313.801 273.836 317.968 266.063 320.924 257.817ZM272.24 264.445L272.254 264.426C275.373 259.908 277.667 255.099 279.155 249.987C280.67 244.779 281.412 239.756 281.412 234.904C281.412 230.347 280.678 226.254 279.264 222.58L279.237 222.508L279.212 222.434C277.972 218.806 276.002 216.048 273.327 214.004C270.857 212.115 267.361 210.978 262.462 210.978C256.8 210.978 251.967 212.302 247.832 214.844L247.796 214.865L247.761 214.886C243.447 217.417 239.854 220.785 236.959 225.032C233.968 229.418 231.66 234.18 230.031 239.332C228.525 244.523 227.787 249.532 227.787 254.37C227.787 258.944 228.459 263.14 229.768 266.989C231.136 270.636 233.189 273.504 235.911 275.706C238.394 277.588 241.822 278.702 246.536 278.702C252.349 278.702 257.246 277.37 261.367 274.836C265.718 272.162 269.334 268.708 272.24 264.445ZM233.432 278.905C230.072 276.201 227.586 272.687 225.973 268.361C224.495 264.035 223.755 259.372 223.755 254.37C223.755 249.098 224.562 243.691 226.175 238.149C227.922 232.606 230.408 227.469 233.634 222.738C236.859 218.007 240.891 214.222 245.729 211.383C250.568 208.409 256.145 206.922 262.462 206.922C267.972 206.922 272.407 208.206 275.767 210.775C279.127 213.343 281.546 216.79 283.024 221.116C284.637 225.307 285.444 229.903 285.444 234.904C285.444 240.176 284.637 245.583 283.024 251.126C281.412 256.668 278.925 261.872 275.565 266.739C272.34 271.47 268.308 275.323 263.47 278.297C258.631 281.271 252.987 282.757 246.536 282.757C241.16 282.757 236.792 281.473 233.432 278.905ZM367.309 168.599H429.439C437.835 168.599 445.272 170.833 451.55 175.445C457.644 179.787 462.256 185.485 465.361 192.46C468.559 199.344 470.162 206.611 470.162 214.222C470.162 221.841 468.556 229.347 465.397 236.713C462.252 244.045 457.896 250.719 452.352 256.724L452.335 256.742L452.319 256.759C446.747 262.651 440.31 267.398 433.028 270.989C425.61 274.646 417.677 276.472 409.28 276.472H391.987L382.714 320.675H335.153L367.309 168.599ZM388.717 272.416H409.28C417.075 272.416 424.4 270.727 431.254 267.347C438.108 263.968 444.156 259.507 449.397 253.964C454.639 248.287 458.738 242.001 461.695 235.107C464.651 228.213 466.13 221.251 466.13 214.222C466.13 207.193 464.651 200.501 461.695 194.148C458.872 187.795 454.706 182.658 449.196 178.738C443.686 174.682 437.1 172.655 429.439 172.655H370.574L340.133 316.62H379.444L388.717 272.416ZM418.366 230.626L418.381 230.607C419.34 229.354 420.14 227.706 420.702 225.559L420.727 225.463L420.756 225.37C421.408 223.296 421.779 220.685 421.779 217.466C421.779 215.01 421.46 213.583 421.132 212.859C420.692 211.884 420.371 211.655 420.372 211.653L420.206 211.558L420.04 211.439C419.729 211.215 419.53 211.18 419.36 211.18H405.899L401.145 233.89H413.917C414.209 233.89 414.774 233.794 415.673 233.252C416.461 232.776 417.369 231.963 418.352 230.646L418.366 230.626ZM396.176 237.946L402.627 207.125H419.36C420.435 207.125 421.443 207.463 422.384 208.139C423.324 208.68 424.131 209.693 424.803 211.18C425.475 212.667 425.811 214.763 425.811 217.466C425.811 220.981 425.408 224.022 424.601 226.591C423.929 229.159 422.921 231.322 421.577 233.079C420.368 234.701 419.091 235.918 417.747 236.729C416.403 237.54 415.126 237.946 413.917 237.946H396.176Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M68.9791 168.599H131.11C139.505 168.599 146.942 170.833 153.22 175.445C159.314 179.787 163.927 185.486 167.032 192.461C170.229 199.344 171.832 206.612 171.832 214.222C171.832 221.841 170.226 229.347 167.067 236.713C163.922 244.045 159.566 250.719 154.022 256.724L154.006 256.742L153.989 256.759C148.417 262.651 141.98 267.398 134.699 270.989C127.28 274.646 119.347 276.472 110.95 276.472H93.6573L84.3839 320.675H36.8232L68.9791 168.599ZM90.3873 272.416H110.95C118.745 272.416 126.07 270.727 132.924 267.347C139.778 263.968 145.826 259.507 151.068 253.964C156.309 248.287 160.408 242.001 163.365 235.107C166.322 228.213 167.8 221.251 167.8 214.222C167.8 207.193 166.322 200.501 163.365 194.148C160.543 187.795 156.376 182.658 150.866 178.738C145.356 174.682 138.77 172.655 131.11 172.655H72.2437L41.8028 316.62H81.1139L90.3873 272.416ZM120.037 230.626L120.052 230.607C121.01 229.354 121.81 227.706 122.372 225.559L122.397 225.463L122.427 225.37C123.078 223.296 123.449 220.685 123.449 217.466C123.449 215.01 123.13 213.583 122.802 212.859C122.362 211.884 122.041 211.655 122.042 211.653L121.876 211.558L121.71 211.439C121.399 211.215 121.2 211.18 121.03 211.18H107.569L102.815 233.89H115.587C115.879 233.89 116.444 233.794 117.343 233.252C118.131 232.776 119.04 231.963 120.022 230.646L120.037 230.626ZM97.8464 237.946L104.297 207.125H121.03C122.105 207.125 123.113 207.463 124.054 208.139C124.995 208.68 125.801 209.693 126.473 211.18C127.145 212.667 127.481 214.763 127.481 217.466C127.481 220.981 127.078 224.022 126.271 226.591C125.599 229.159 124.591 231.322 123.247 233.079C122.038 234.701 120.761 235.918 119.417 236.729C118.073 237.54 116.796 237.946 115.587 237.946H97.8464ZM213.354 316.632L213.312 316.611C205.969 312.991 199.733 308.113 194.652 301.981C189.624 295.911 185.822 289.05 183.247 281.426L183.24 281.404C180.681 273.683 179.404 265.679 179.404 257.411C179.404 248.285 180.966 239.311 184.072 230.507L184.081 230.479L184.091 230.452C187.319 221.7 191.743 213.579 197.354 206.101L197.361 206.092C203.099 198.491 209.753 191.867 217.318 186.229C225.025 180.452 233.372 175.936 242.35 172.691C251.395 169.421 260.794 167.788 270.526 167.788C279.899 167.788 288.376 169.574 295.858 173.257C303.215 176.744 309.461 181.561 314.547 187.699C319.59 193.786 323.327 200.732 325.764 208.5C328.321 216.086 329.593 224.016 329.593 232.268C329.593 241.412 327.958 250.4 324.71 259.212C321.616 267.835 317.262 275.95 311.665 283.549L311.655 283.564L311.644 283.578C306.04 291.046 299.46 297.663 291.914 303.425C284.329 309.218 276.037 313.741 267.051 316.989C258.006 320.259 248.606 321.892 238.875 321.892C229.51 321.892 220.99 320.177 213.397 316.652L213.354 316.632ZM320.924 257.817C324.016 249.436 325.561 240.92 325.561 232.268C325.561 224.428 324.352 216.926 321.932 209.761C319.648 202.461 316.153 195.973 311.449 190.295C306.746 184.618 300.966 180.157 294.112 176.913C287.258 173.533 279.396 171.843 270.526 171.843C261.252 171.843 252.315 173.398 243.713 176.507C235.112 179.616 227.115 183.942 219.723 189.484C212.466 194.891 206.082 201.245 200.572 208.544C195.196 215.709 190.962 223.482 187.871 231.863C184.915 240.244 183.436 248.76 183.436 257.411C183.436 265.252 184.646 272.822 187.065 280.121C189.484 287.286 193.046 293.707 197.75 299.384C202.453 305.062 208.233 309.59 215.087 312.97C222.075 316.214 230.005 317.836 238.875 317.836C248.148 317.836 257.086 316.282 265.687 313.173C274.289 310.064 282.218 305.738 289.475 300.196C296.733 294.653 303.05 288.3 308.425 281.135C313.801 273.836 317.968 266.063 320.924 257.817ZM272.24 264.445L272.254 264.426C275.373 259.908 277.667 255.099 279.155 249.987C280.67 244.779 281.412 239.756 281.412 234.904C281.412 230.347 280.678 226.254 279.264 222.58L279.237 222.508L279.212 222.434C277.972 218.806 276.002 216.048 273.327 214.004C270.857 212.115 267.361 210.978 262.462 210.978C256.8 210.978 251.967 212.302 247.832 214.844L247.796 214.865L247.761 214.886C243.447 217.417 239.854 220.785 236.959 225.032C233.968 229.418 231.66 234.18 230.031 239.332C228.525 244.523 227.787 249.532 227.787 254.37C227.787 258.944 228.459 263.14 229.768 266.989C231.136 270.636 233.189 273.504 235.911 275.706C238.394 277.588 241.822 278.702 246.536 278.702C252.349 278.702 257.246 277.37 261.367 274.836C265.718 272.162 269.334 268.708 272.24 264.445ZM233.432 278.905C230.072 276.201 227.586 272.687 225.973 268.361C224.495 264.035 223.755 259.372 223.755 254.37C223.755 249.098 224.562 243.691 226.175 238.149C227.922 232.606 230.408 227.469 233.634 222.738C236.859 218.007 240.891 214.222 245.729 211.383C250.568 208.409 256.145 206.922 262.462 206.922C267.972 206.922 272.407 208.206 275.767 210.775C279.127 213.343 281.546 216.79 283.024 221.116C284.637 225.307 285.444 229.903 285.444 234.904C285.444 240.176 284.637 245.583 283.024 251.126C281.412 256.668 278.925 261.872 275.565 266.739C272.34 271.47 268.308 275.323 263.47 278.297C258.631 281.271 252.987 282.757 246.536 282.757C241.16 282.757 236.792 281.473 233.432 278.905ZM367.309 168.599H429.439C437.835 168.599 445.272 170.833 451.55 175.445C457.644 179.787 462.256 185.485 465.361 192.46C468.559 199.344 470.162 206.611 470.162 214.222C470.162 221.841 468.556 229.347 465.397 236.713C462.252 244.045 457.896 250.719 452.352 256.724L452.335 256.742L452.319 256.759C446.747 262.651 440.31 267.398 433.028 270.989C425.61 274.646 417.677 276.472 409.28 276.472H391.987L382.714 320.675H335.153L367.309 168.599ZM388.717 272.416H409.28C417.075 272.416 424.4 270.727 431.254 267.347C438.108 263.968 444.156 259.507 449.397 253.964C454.639 248.287 458.738 242.001 461.695 235.107C464.651 228.213 466.13 221.251 466.13 214.222C466.13 207.193 464.651 200.501 461.695 194.148C458.872 187.795 454.706 182.658 449.196 178.738C443.686 174.682 437.1 172.655 429.439 172.655H370.574L340.133 316.62H379.444L388.717 272.416ZM418.366 230.626L418.381 230.607C419.34 229.354 420.14 227.706 420.702 225.559L420.727 225.463L420.756 225.37C421.408 223.296 421.779 220.685 421.779 217.466C421.779 215.01 421.46 213.583 421.132 212.859C420.692 211.884 420.371 211.655 420.372 211.653L420.206 211.558L420.04 211.439C419.729 211.215 419.53 211.18 419.36 211.18H405.899L401.145 233.89H413.917C414.209 233.89 414.774 233.794 415.673 233.252C416.461 232.776 417.369 231.963 418.352 230.646L418.366 230.626ZM396.176 237.946L402.627 207.125H419.36C420.435 207.125 421.443 207.463 422.384 208.139C423.324 208.68 424.131 209.693 424.803 211.18C425.475 212.667 425.811 214.763 425.811 217.466C425.811 220.981 425.408 224.022 424.601 226.591C423.929 229.159 422.921 231.322 421.577 233.079C420.368 234.701 419.091 235.918 417.747 236.729C416.403 237.54 415.126 237.946 413.917 237.946H396.176Z' stroke='white' stroke-width='0.3' mask='url(%23path-6-outside-1_873_174)'/%3E%3C/g%3E%3Cdefs%3E%3CradialGradient id='paint0_radial_873_174' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(-62.8 -86.4) rotate(70.436) scale(686.854 394.059)'%3E%3Cstop stop-color='%236335EC'/%3E%3Cstop offset='1' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='paint1_radial_873_174' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(640.4 677.6) rotate(-116.448) scale(1055.25 662.094)'%3E%3Cstop stop-color='%23E6007A'/%3E%3Cstop offset='1' stop-opacity='0'/%3E%3C/radialGradient%3E%3CclipPath id='clip0_873_174'%3E%3Crect width='512' height='512' rx='256' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A" /> Pop CLI Signing Portal - + `],K);d$=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}([RA("dc-connection-button")],d$);const f$={chains:{},wallets:[new class extends QE{constructor(e){super(),X(this,"options"),this.options=e}async getWallets(){return await lS,(()=>{const{injectedWeb3:e}=window;return e?Object.keys(e):[]})().map((e=>new aS(e,this.options)))}}]};function p$(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function h$(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function v$(...e){return t=>{let n=!1;const r=e.map((e=>{const r=h$(e,t);return n||"function"!=typeof r||(n=!0),r}));if(n)return()=>{for(let t=0;t{const t=n.map((e=>qe.createContext(e)));return function(n){const r=(null==n?void 0:n[e])||t;return qe.useMemo((()=>({[`__scope${e}`]:{...n,[e]:r}})),[n,r])}};return r.scopeName=e,[function(t,r){const o=qe.createContext(r),i=n.length;n=[...n,r];const s=t=>{var n;const{scope:r,children:s,...a}=t,l=(null==(n=null==r?void 0:r[e])?void 0:n[i])||o,c=qe.useMemo((()=>a),Object.values(a));return nt.jsx(l.Provider,{value:c,children:s})};return s.displayName=t+"Provider",[s,function(n,s){var a;const l=(null==(a=null==s?void 0:s[e])?void 0:a[i])||o,c=qe.useContext(l);if(c)return c;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},y$(r,...t)]}function y$(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const r=n.reduce(((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]})),{});return qe.useMemo((()=>({[`__scope${t.scopeName}`]:r})),[r])}};return n.scopeName=t.scopeName,n}function b$(e){const t=qe.useRef(e);return qe.useEffect((()=>{t.current=e})),qe.useMemo((()=>(...e)=>{var n;return null==(n=t.current)?void 0:n.call(t,...e)}),[])}function w$({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=function({defaultProp:e,onChange:t}){const n=qe.useState(e),[r]=n,o=qe.useRef(r),i=b$(t);return qe.useEffect((()=>{o.current!==r&&(i(r),o.current=r)}),[r,o,i]),n}({defaultProp:t,onChange:n}),i=void 0!==e,s=i?e:r,a=b$(n);return[s,qe.useCallback((t=>{if(i){const n="function"==typeof t?t(e):t;n!==e&&a(n)}else o(t)}),[i,e,o,a])]}!function(e){_A.next(e.wallets)}({wallets:f$.wallets});var x$=qe.forwardRef(((e,t)=>{const{children:n,...r}=e,o=qe.Children.toArray(n),i=o.find(S$);if(i){const e=i.props.children,n=o.map((t=>t===i?qe.Children.count(e)>1?qe.Children.only(null):qe.isValidElement(e)?e.props.children:null:t));return nt.jsx(k$,{...r,ref:t,children:qe.isValidElement(e)?qe.cloneElement(e,void 0,n):null})}return nt.jsx(k$,{...r,ref:t,children:n})}));x$.displayName="Slot";var k$=qe.forwardRef(((e,t)=>{const{children:n,...r}=e;if(qe.isValidElement(n)){const e=function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;if(o)return e.ref;if(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o)return e.props.ref;return e.props.ref||e.ref}(n);return qe.cloneElement(n,{...C$(r,n.props),ref:t?v$(t,e):e})}return qe.Children.count(n)>1?qe.Children.only(null):null}));k$.displayName="SlotClone";var E$=({children:e})=>nt.jsx(nt.Fragment,{children:e});function S$(e){return qe.isValidElement(e)&&e.type===E$}function C$(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}var _$=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce(((e,t)=>{const n=qe.forwardRef(((e,n)=>{const{asChild:r,...o}=e,i=r?x$:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),nt.jsx(i,{...o,ref:n})}));return n.displayName=`Primitive.${t}`,{...e,[t]:n}}),{});function A$(e,t){e&&df.flushSync((()=>e.dispatchEvent(t)))}function N$(e){const t=e+"CollectionProvider",[n,r]=g$(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{const{scope:t,children:n}=e,r=Ke.useRef(null),i=Ke.useRef(new Map).current;return nt.jsx(o,{scope:t,itemMap:i,collectionRef:r,children:n})};s.displayName=t;const a=e+"CollectionSlot",l=Ke.forwardRef(((e,t)=>{const{scope:n,children:r}=e,o=m$(t,i(a,n).collectionRef);return nt.jsx(x$,{ref:o,children:r})}));l.displayName=a;const c=e+"CollectionItemSlot",u="data-radix-collection-item",d=Ke.forwardRef(((e,t)=>{const{scope:n,children:r,...o}=e,s=Ke.useRef(null),a=m$(t,s),l=i(c,n);return Ke.useEffect((()=>(l.itemMap.set(s,{ref:s,...o}),()=>{l.itemMap.delete(s)}))),nt.jsx(x$,{[u]:"",ref:a,children:r})}));return d.displayName=c,[{Provider:s,Slot:l,ItemSlot:d},function(t){const n=i(e+"CollectionConsumer",t),r=Ke.useCallback((()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${u}]`)),r=Array.from(n.itemMap.values()).sort(((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current)));return r}),[n.collectionRef,n.itemMap]);return r},r]}var P$=qe.createContext(void 0);function $$(e){const t=qe.useContext(P$);return e||t||"ltr"}var j$,O$="dismissableLayer.update",R$="dismissableLayer.pointerDownOutside",M$="dismissableLayer.focusOutside",T$=qe.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),L$=qe.forwardRef(((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...l}=e,c=qe.useContext(T$),[u,d]=qe.useState(null),f=(null==u?void 0:u.ownerDocument)??(null==globalThis?void 0:globalThis.document),[,p]=qe.useState({}),h=m$(t,(e=>d(e))),v=Array.from(c.layers),[m]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),g=v.indexOf(m),y=u?v.indexOf(u):-1,b=c.layersWithOutsidePointerEventsDisabled.size>0,w=y>=g,x=function(e,t=(null==globalThis?void 0:globalThis.document)){const n=b$(e),r=qe.useRef(!1),o=qe.useRef((()=>{}));return qe.useEffect((()=>{const e=e=>{if(e.target&&!r.current){let r=function(){I$(R$,n,i,{discrete:!0})};const i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=r,t.addEventListener("click",o.current,{once:!0})):r()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}}),[t,n]),{onPointerDownCapture:()=>r.current=!0}}((e=>{const t=e.target,n=[...c.branches].some((e=>e.contains(t)));w&&!n&&(null==o||o(e),null==s||s(e),e.defaultPrevented||null==a||a())}),f),k=function(e,t=(null==globalThis?void 0:globalThis.document)){const n=b$(e),r=qe.useRef(!1);return qe.useEffect((()=>{const e=e=>{if(e.target&&!r.current){I$(M$,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}((e=>{const t=e.target;[...c.branches].some((e=>e.contains(t)))||(null==i||i(e),null==s||s(e),e.defaultPrevented||null==a||a())}),f);return function(e,t=(null==globalThis?void 0:globalThis.document)){const n=b$(e);qe.useEffect((()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})}),[n,t])}((e=>{y===c.layers.size-1&&(null==r||r(e),!e.defaultPrevented&&a&&(e.preventDefault(),a()))}),f),qe.useEffect((()=>{if(u)return n&&(0===c.layersWithOutsidePointerEventsDisabled.size&&(j$=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),z$(),()=>{n&&1===c.layersWithOutsidePointerEventsDisabled.size&&(f.body.style.pointerEvents=j$)}}),[u,f,n,c]),qe.useEffect((()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),z$())}),[u,c]),qe.useEffect((()=>{const e=()=>p({});return document.addEventListener(O$,e),()=>document.removeEventListener(O$,e)}),[]),nt.jsx(_$.div,{...l,ref:h,style:{pointerEvents:b?w?"auto":"none":void 0,...e.style},onFocusCapture:p$(e.onFocusCapture,k.onFocusCapture),onBlurCapture:p$(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:p$(e.onPointerDownCapture,x.onPointerDownCapture)})}));L$.displayName="DismissableLayer";function z$(){const e=new CustomEvent(O$);document.dispatchEvent(e)}function I$(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?A$(o,i):o.dispatchEvent(i)}qe.forwardRef(((e,t)=>{const n=qe.useContext(T$),r=qe.useRef(null),o=m$(t,r);return qe.useEffect((()=>{const e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}}),[n.branches]),nt.jsx(_$.div,{...e,ref:o})})).displayName="DismissableLayerBranch";var D$=0;function B$(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var U$="focusScope.autoFocusOnMount",F$="focusScope.autoFocusOnUnmount",H$={bubbles:!1,cancelable:!0},V$=qe.forwardRef(((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...s}=e,[a,l]=qe.useState(null),c=b$(o),u=b$(i),d=qe.useRef(null),f=m$(t,(e=>l(e))),p=qe.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;qe.useEffect((()=>{if(r){let e=function(e){if(p.paused||!a)return;const t=e.target;a.contains(t)?d.current=t:Q$(d.current,{select:!0})},t=function(e){if(p.paused||!a)return;const t=e.relatedTarget;null!==t&&(a.contains(t)||Q$(d.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&Q$(a)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return a&&r.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}}),[r,a,p.paused]),qe.useEffect((()=>{if(a){Y$.add(p);const t=document.activeElement;if(!a.contains(t)){const n=new CustomEvent(U$,H$);a.addEventListener(U$,c),a.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Q$(r,{select:t}),document.activeElement!==n)return}((e=W$(a),e.filter((e=>"A"!==e.tagName))),{select:!0}),document.activeElement===t&&Q$(a))}return()=>{a.removeEventListener(U$,c),setTimeout((()=>{const e=new CustomEvent(F$,H$);a.addEventListener(F$,u),a.dispatchEvent(e),e.defaultPrevented||Q$(t??document.body,{select:!0}),a.removeEventListener(F$,u),Y$.remove(p)}),0)}}var e}),[a,c,u,p]);const h=qe.useCallback((e=>{if(!n&&!r)return;if(p.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){const t=e.currentTarget,[r,i]=function(e){const t=W$(e),n=q$(t,e),r=q$(t.reverse(),e);return[n,r]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&Q$(i,{select:!0})):(e.preventDefault(),n&&Q$(r,{select:!0})):o===t&&e.preventDefault()}}),[n,r,p.paused]);return nt.jsx(_$.div,{tabIndex:-1,...s,ref:f,onKeyDown:h})}));function W$(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function q$(e,t){for(const n of e)if(!K$(n,{upTo:t}))return n}function K$(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function Q$(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}V$.displayName="FocusScope";var Y$=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=G$(e,t),e.unshift(t)},remove(t){var n;e=G$(e,t),null==(n=e[0])||n.resume()}}}();function G$(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}var J$=Boolean(null==globalThis?void 0:globalThis.document)?qe.useLayoutEffect:()=>{},X$=Qe["useId".toString()]||(()=>{}),Z$=0;function ej(e){const[t,n]=qe.useState(X$());return J$((()=>{n((e=>e??String(Z$++)))}),[e]),t?`radix-${t}`:""}const tj=["top","right","bottom","left"],nj=Math.min,rj=Math.max,oj=Math.round,ij=Math.floor,sj=e=>({x:e,y:e}),aj={left:"right",right:"left",bottom:"top",top:"bottom"},lj={start:"end",end:"start"};function cj(e,t,n){return rj(e,nj(t,n))}function uj(e,t){return"function"==typeof e?e(t):e}function dj(e){return e.split("-")[0]}function fj(e){return e.split("-")[1]}function pj(e){return"x"===e?"y":"x"}function hj(e){return"y"===e?"height":"width"}function vj(e){return["top","bottom"].includes(dj(e))?"y":"x"}function mj(e){return pj(vj(e))}function gj(e){return e.replace(/start|end/g,(e=>lj[e]))}function yj(e){return e.replace(/left|right|bottom|top/g,(e=>aj[e]))}function bj(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function wj(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function xj(e,t,n){let{reference:r,floating:o}=e;const i=vj(t),s=mj(t),a=hj(s),l=dj(t),c="y"===i,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[a]/2-o[a]/2;let p;switch(l){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-o.width,y:d};break;default:p={x:r.x,y:r.y}}switch(fj(t)){case"start":p[s]-=f*(n&&c?-1:1);break;case"end":p[s]+=f*(n&&c?-1:1)}return p}async function kj(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=uj(t,e),h=bj(p),v=a[f?"floating"===d?"reference":"floating":d],m=wj(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(v)))||n?v:v.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),g="floating"===d?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),b=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},w=wj(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:y,strategy:l}):g);return{top:(m.top-w.top+h.top)/b.y,bottom:(w.bottom-m.bottom+h.bottom)/b.y,left:(m.left-w.left+h.left)/b.x,right:(w.right-m.right+h.right)/b.x}}function Ej(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Sj(e){return tj.some((t=>e[t]>=0))}function Cj(){return"undefined"!=typeof window}function _j(e){return Pj(e)?(e.nodeName||"").toLowerCase():"#document"}function Aj(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Nj(e){var t;return null==(t=(Pj(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Pj(e){return!!Cj()&&(e instanceof Node||e instanceof Aj(e).Node)}function $j(e){return!!Cj()&&(e instanceof Element||e instanceof Aj(e).Element)}function jj(e){return!!Cj()&&(e instanceof HTMLElement||e instanceof Aj(e).HTMLElement)}function Oj(e){return!(!Cj()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Aj(e).ShadowRoot)}function Rj(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Dj(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Mj(e){return["table","td","th"].includes(_j(e))}function Tj(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(n){return!1}}))}function Lj(e){const t=zj(),n=$j(e)?Dj(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function zj(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ij(e){return["html","body","#document"].includes(_j(e))}function Dj(e){return Aj(e).getComputedStyle(e)}function Bj(e){return $j(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Uj(e){if("html"===_j(e))return e;const t=e.assignedSlot||e.parentNode||Oj(e)&&e.host||Nj(e);return Oj(t)?t.host:t}function Fj(e){const t=Uj(e);return Ij(t)?e.ownerDocument?e.ownerDocument.body:e.body:jj(t)&&Rj(t)?t:Fj(t)}function Hj(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=Fj(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),s=Aj(o);if(i){const e=Vj(s);return t.concat(s,s.visualViewport||[],Rj(o)?o:[],e&&n?Hj(e):[])}return t.concat(o,Hj(o,[],n))}function Vj(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Wj(e){const t=Dj(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=jj(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=oj(n)!==i||oj(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function qj(e){return $j(e)?e:e.contextElement}function Kj(e){const t=qj(e);if(!jj(t))return sj(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Wj(t);let s=(i?oj(n.width):n.width)/r,a=(i?oj(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const Qj=sj(0);function Yj(e){const t=Aj(e);return zj()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Qj}function Gj(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=qj(e);let s=sj(1);t&&(r?$j(r)&&(s=Kj(r)):s=Kj(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Aj(e))&&t}(i,n,r)?Yj(i):sj(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,u=o.width/s.x,d=o.height/s.y;if(i){const e=Aj(i),t=r&&$j(r)?Aj(r):r;let n=e,o=Vj(n);for(;o&&r&&t!==n;){const e=Kj(o),t=o.getBoundingClientRect(),r=Dj(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=s,n=Aj(o),o=Vj(n)}}return wj({width:u,height:d,x:l,y:c})}function Jj(e,t){const n=Bj(e).scrollLeft;return t?t.left+n:Gj(Nj(e)).left+n}function Xj(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:Jj(e,r)),y:r.top+t.scrollTop}}function Zj(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Aj(e),r=Nj(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const e=zj();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}(e,n);else if("document"===t)r=function(e){const t=Nj(e),n=Bj(e),r=e.ownerDocument.body,o=rj(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=rj(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Jj(e);const a=-n.scrollTop;return"rtl"===Dj(r).direction&&(s+=rj(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}(Nj(e));else if($j(t))r=function(e,t){const n=Gj(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=jj(e)?Kj(e):sj(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=Yj(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return wj(r)}function eO(e,t){const n=Uj(e);return!(n===t||!$j(n)||Ij(n))&&("fixed"===Dj(n).position||eO(n,t))}function tO(e,t,n){const r=jj(t),o=Nj(t),i="fixed"===n,s=Gj(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=sj(0);if(r||!r&&!i)if(("body"!==_j(t)||Rj(o))&&(a=Bj(t)),r){const e=Gj(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=Jj(o));const c=!o||r||i?sj(0):Xj(o,a);return{x:s.left+a.scrollLeft-l.x-c.x,y:s.top+a.scrollTop-l.y-c.y,width:s.width,height:s.height}}function nO(e){return"static"===Dj(e).position}function rO(e,t){if(!jj(e)||"fixed"===Dj(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Nj(e)===n&&(n=n.ownerDocument.body),n}function oO(e,t){const n=Aj(e);if(Tj(e))return n;if(!jj(e)){let t=Uj(e);for(;t&&!Ij(t);){if($j(t)&&!nO(t))return t;t=Uj(t)}return n}let r=rO(e,t);for(;r&&Mj(r)&&nO(r);)r=rO(r,t);return r&&Ij(r)&&nO(r)&&!Lj(r)?n:r||function(e){let t=Uj(e);for(;jj(t)&&!Ij(t);){if(Lj(t))return t;if(Tj(t))return null;t=Uj(t)}return null}(e)||n}const iO={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,s=Nj(r),a=!!t&&Tj(t.floating);if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},c=sj(1);const u=sj(0),d=jj(r);if((d||!d&&!i)&&(("body"!==_j(r)||Rj(s))&&(l=Bj(r)),jj(r))){const e=Gj(r);c=Kj(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const f=!s||d||i?sj(0):Xj(s,l,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+f.x,y:n.y*c.y-l.scrollTop*c.y+u.y+f.y}},getDocumentElement:Nj,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?Tj(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=Hj(e,[],!1).filter((e=>$j(e)&&"body"!==_j(e))),o=null;const i="fixed"===Dj(e).position;let s=i?Uj(e):e;for(;$j(s)&&!Ij(s);){const t=Dj(s),n=Lj(s);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||Rj(s)&&!n&&eO(e,s))?r=r.filter((e=>e!==s)):o=t,s=Uj(s)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=i[0],a=i.reduce(((e,n)=>{const r=Zj(t,n,o);return e.top=rj(r.top,e.top),e.right=nj(r.right,e.right),e.bottom=nj(r.bottom,e.bottom),e.left=rj(r.left,e.left),e}),Zj(t,s,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:oO,getElementRects:async function(e){const t=this.getOffsetParent||oO,n=this.getDimensions,r=await n(e.floating);return{reference:tO(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=Wj(e);return{width:t,height:n}},getScale:Kj,isElement:$j,isRTL:function(e){return"rtl"===Dj(e).direction}};function sO(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=qj(e),u=o||i?[...c?Hj(c):[],...Hj(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const d=c&&a?function(e,t){let n,r=null;const o=Nj(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),i();const{left:c,top:u,width:d,height:f}=e.getBoundingClientRect();if(a||t(),!d||!f)return;const p={rootMargin:-ij(u)+"px "+-ij(o.clientWidth-(c+d))+"px "+-ij(o.clientHeight-(u+f))+"px "+-ij(c)+"px",threshold:rj(0,nj(1,l))||1};let h=!0;function v(e){const t=e[0].intersectionRatio;if(t!==l){if(!h)return s();t?s(!1,t):n=setTimeout((()=>{s(!1,1e-7)}),1e3)}h=!1}try{r=new IntersectionObserver(v,{...p,root:o.ownerDocument})}catch(m){r=new IntersectionObserver(v,p)}r.observe(e)}(!0),i}(c,n):null;let f,p=-1,h=null;s&&(h=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=h)||e.observe(t)}))),n()})),c&&!l&&h.observe(c),h.observe(t));let v=l?Gj(e):null;return l&&function t(){const r=Gj(e);!v||r.x===v.x&&r.y===v.y&&r.width===v.width&&r.height===v.height||n();v=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(f)}}const aO=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),s=dj(n),a=fj(n),l="y"===vj(n),c=["left","top"].includes(s)?-1:1,u=i&&l?-1:1,d=uj(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&"number"==typeof h&&(p="end"===a?-1*h:h),l?{x:p*u,y:f*c}:{x:f*c,y:p*u}}(t,e);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},lO=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=uj(e,t),c={x:n,y:r},u=await kj(t,l),d=vj(dj(o)),f=pj(d);let p=c[f],h=c[d];if(i){const e="y"===f?"bottom":"right";p=cj(p+u["y"===f?"top":"left"],p,p-u[e])}if(s){const e="y"===d?"bottom":"right";h=cj(h+u["y"===d?"top":"left"],h,h-u[e])}const v=a.fn({...t,[f]:p,[d]:h});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[f]:i,[d]:s}}}}}},cO=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...m}=uj(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const g=dj(o),y=vj(a),b=dj(a)===a,w=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=f||(b||!v?[yj(a)]:function(e){const t=yj(e);return[gj(e),t,gj(t)]}(a)),k="none"!==h;!f&&k&&x.push(...function(e,t,n,r){const o=fj(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}(dj(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(gj)))),i}(a,v,h,w));const E=[a,...x],S=await kj(t,m),C=[];let _=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&C.push(S[g]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=fj(e),o=mj(e),i=hj(o);let s="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=yj(s)),[s,yj(s)]}(o,s,w);C.push(S[e[0]],S[e[1]])}if(_=[..._,{placement:o,overflows:C}],!C.every((e=>e<=0))){var A,N;const e=((null==(A=i.flip)?void 0:A.index)||0)+1,t=E[e];if(t)return{data:{index:e,overflows:_},reset:{placement:t}};let n=null==(N=_.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:N.placement;if(!n)switch(p){case"bestFit":{var P;const e=null==(P=_.filter((e=>{if(k){const t=vj(e.placement);return t===y||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:P[0];e&&(n=e);break}case"initialPlacement":n=a}if(o!==n)return{reset:{placement:n}}}return{}}}},uO=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:l=()=>{},...c}=uj(e,t),u=await kj(t,c),d=dj(o),f=fj(o),p="y"===vj(o),{width:h,height:v}=i.floating;let m,g;"top"===d||"bottom"===d?(m=d,g=f===(await(null==s.isRTL?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(g=d,m="end"===f?"top":"bottom");const y=v-u.top-u.bottom,b=h-u.left-u.right,w=nj(v-u[m],y),x=nj(h-u[g],b),k=!t.middlewareData.shift;let E=w,S=x;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(S=b),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(E=y),k&&!f){const e=rj(u.left,0),t=rj(u.right,0),n=rj(u.top,0),r=rj(u.bottom,0);p?S=h-2*(0!==e||0!==t?e+t:rj(u.left,u.right)):E=v-2*(0!==n||0!==r?n+r:rj(u.top,u.bottom))}await l({...t,availableWidth:S,availableHeight:E});const C=await s.getDimensions(a.floating);return h!==C.width||v!==C.height?{reset:{rects:!0}}:{}}}},dO=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=uj(e,t);switch(r){case"referenceHidden":{const e=Ej(await kj(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Sj(e)}}}case"escaped":{const e=Ej(await kj(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Sj(e)}}}default:return{}}}}},fO=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=uj(e,t)||{};if(null==c)return{};const d=bj(u),f={x:n,y:r},p=mj(o),h=hj(p),v=await s.getDimensions(c),m="y"===p,g=m?"top":"left",y=m?"bottom":"right",b=m?"clientHeight":"clientWidth",w=i.reference[h]+i.reference[p]-f[p]-i.floating[h],x=f[p]-i.reference[p],k=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let E=k?k[b]:0;E&&await(null==s.isElement?void 0:s.isElement(k))||(E=a.floating[b]||i.floating[h]);const S=w/2-x/2,C=E/2-v[h]/2-1,_=nj(d[g],C),A=nj(d[y],C),N=_,P=E-v[h]-A,$=E/2-v[h]/2+S,j=cj(N,$,P),O=!l.arrow&&null!=fj(o)&&$!==j&&i.reference[h]/2-($n&&(p=n)}if(c){var g,y;const e="y"===f?"width":"height",t=["top","left"].includes(dj(o)),n=i.reference[d]-i.floating[e]+(t&&(null==(g=s.offset)?void 0:g[d])||0)+(t?0:m.crossAxis),r=i.reference[d]+i.reference[e]+(t?0:(null==(y=s.offset)?void 0:y[d])||0)-(t?m.crossAxis:0);hr&&(h=r)}return{[f]:p,[d]:h}}}},hO=(e,t,n)=>{const r=new Map,o={platform:iO,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=xj(c,r,l),f=r,p={},h=0;for(let v=0;v{t.current=e})),t}const wO=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?fO({element:n.current,padding:r}).fn(t):{}:n?fO({element:n,padding:r}).fn(t):{};var o}}),xO=(e,t)=>({...aO(e),options:[e,t]}),kO=(e,t)=>({...lO(e),options:[e,t]}),EO=(e,t)=>({...pO(e),options:[e,t]}),SO=(e,t)=>({...cO(e),options:[e,t]}),CO=(e,t)=>({...uO(e),options:[e,t]}),_O=(e,t)=>({...dO(e),options:[e,t]}),AO=(e,t)=>({...wO(e),options:[e,t]});var NO=qe.forwardRef(((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return nt.jsx(_$.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:nt.jsx("polygon",{points:"0,0 30,0 15,10"})})}));NO.displayName="Arrow";var PO=NO;var $O="Popper",[jO,OO]=g$($O),[RO,MO]=jO($O),TO=e=>{const{__scopePopper:t,children:n}=e,[r,o]=qe.useState(null);return nt.jsx(RO,{scope:t,anchor:r,onAnchorChange:o,children:n})};TO.displayName=$O;var LO="PopperAnchor",zO=qe.forwardRef(((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=MO(LO,n),s=qe.useRef(null),a=m$(t,s);return qe.useEffect((()=>{i.onAnchorChange((null==r?void 0:r.current)||s.current)})),r?null:nt.jsx(_$.div,{...o,ref:a})}));zO.displayName=LO;var IO="PopperContent",[DO,BO]=jO(IO),UO=qe.forwardRef(((e,t)=>{var n,r,o,i,s,a;const{__scopePopper:l,side:c="bottom",sideOffset:u=0,align:d="center",alignOffset:f=0,arrowPadding:p=0,avoidCollisions:h=!0,collisionBoundary:v=[],collisionPadding:m=0,sticky:g="partial",hideWhenDetached:y=!1,updatePositionStrategy:b="optimized",onPlaced:w,...x}=e,k=MO(IO,l),[E,S]=qe.useState(null),C=m$(t,(e=>S(e))),[_,A]=qe.useState(null),N=function(e){const[t,n]=qe.useState(void 0);return J$((()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver((t=>{if(!Array.isArray(t))return;if(!t.length)return;const r=t[0];let o,i;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=e.offsetWidth,i=e.offsetHeight;n({width:o,height:i})}));return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)}),[e]),t}(_),P=(null==N?void 0:N.width)??0,$=(null==N?void 0:N.height)??0,j=c+("center"!==d?"-"+d:""),O="number"==typeof m?m:{top:0,right:0,bottom:0,left:0,...m},R=Array.isArray(v)?v:[v],M=R.length>0,T={padding:O,boundary:R.filter(WO),altBoundary:M},{refs:L,floatingStyles:z,placement:I,isPositioned:D,middlewareData:B}=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:l,open:c}=e,[u,d]=qe.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=qe.useState(r);mO(f,r)||p(r);const[h,v]=qe.useState(null),[m,g]=qe.useState(null),y=qe.useCallback((e=>{e!==k.current&&(k.current=e,v(e))}),[]),b=qe.useCallback((e=>{e!==E.current&&(E.current=e,g(e))}),[]),w=i||h,x=s||m,k=qe.useRef(null),E=qe.useRef(null),S=qe.useRef(u),C=null!=l,_=bO(l),A=bO(o),N=bO(c),P=qe.useCallback((()=>{if(!k.current||!E.current)return;const e={placement:t,strategy:n,middleware:f};A.current&&(e.platform=A.current),hO(k.current,E.current,e).then((e=>{const t={...e,isPositioned:!1!==N.current};$.current&&!mO(S.current,t)&&(S.current=t,df.flushSync((()=>{d(t)})))}))}),[f,t,n,A,N]);vO((()=>{!1===c&&S.current.isPositioned&&(S.current.isPositioned=!1,d((e=>({...e,isPositioned:!1}))))}),[c]);const $=qe.useRef(!1);vO((()=>($.current=!0,()=>{$.current=!1})),[]),vO((()=>{if(w&&(k.current=w),x&&(E.current=x),w&&x){if(_.current)return _.current(w,x,P);P()}}),[w,x,P,_,C]);const j=qe.useMemo((()=>({reference:k,floating:E,setReference:y,setFloating:b})),[y,b]),O=qe.useMemo((()=>({reference:w,floating:x})),[w,x]),R=qe.useMemo((()=>{const e={position:n,left:0,top:0};if(!O.floating)return e;const t=yO(O.floating,u.x),r=yO(O.floating,u.y);return a?{...e,transform:"translate("+t+"px, "+r+"px)",...gO(O.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,a,O.floating,u.x,u.y]);return qe.useMemo((()=>({...u,update:P,refs:j,elements:O,floatingStyles:R})),[u,P,j,O,R])}({strategy:"fixed",placement:j,whileElementsMounted:(...e)=>sO(...e,{animationFrame:"always"===b}),elements:{reference:k.anchor},middleware:[xO({mainAxis:u+$,alignmentAxis:f}),h&&kO({mainAxis:!0,crossAxis:!1,limiter:"partial"===g?EO():void 0,...T}),h&&SO({...T}),CO({...T,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{const{width:o,height:i}=t.reference,s=e.floating.style;s.setProperty("--radix-popper-available-width",`${n}px`),s.setProperty("--radix-popper-available-height",`${r}px`),s.setProperty("--radix-popper-anchor-width",`${o}px`),s.setProperty("--radix-popper-anchor-height",`${i}px`)}}),_&&AO({element:_,padding:p}),qO({arrowWidth:P,arrowHeight:$}),y&&_O({strategy:"referenceHidden",...T})]}),[U,F]=KO(I),H=b$(w);J$((()=>{D&&(null==H||H())}),[D,H]);const V=null==(n=B.arrow)?void 0:n.x,W=null==(r=B.arrow)?void 0:r.y,q=0!==(null==(o=B.arrow)?void 0:o.centerOffset),[K,Q]=qe.useState();return J$((()=>{E&&Q(window.getComputedStyle(E).zIndex)}),[E]),nt.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...z,transform:D?z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:K,"--radix-popper-transform-origin":[null==(i=B.transformOrigin)?void 0:i.x,null==(s=B.transformOrigin)?void 0:s.y].join(" "),...(null==(a=B.hide)?void 0:a.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:nt.jsx(DO,{scope:l,placedSide:U,onArrowChange:A,arrowX:V,arrowY:W,shouldHideArrow:q,children:nt.jsx(_$.div,{"data-side":U,"data-align":F,...x,ref:C,style:{...x.style,animation:D?void 0:"none"}})})})}));UO.displayName=IO;var FO="PopperArrow",HO={top:"bottom",right:"left",bottom:"top",left:"right"},VO=qe.forwardRef((function(e,t){const{__scopePopper:n,...r}=e,o=BO(FO,n),i=HO[o.placedSide];return nt.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:nt.jsx(PO,{...r,ref:t,style:{...r.style,display:"block"}})})}));function WO(e){return null!==e}VO.displayName=FO;var qO=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o;const{placement:i,rects:s,middlewareData:a}=t,l=0!==(null==(n=a.arrow)?void 0:n.centerOffset),c=l?0:e.arrowWidth,u=l?0:e.arrowHeight,[d,f]=KO(i),p={start:"0%",center:"50%",end:"100%"}[f],h=((null==(r=a.arrow)?void 0:r.x)??0)+c/2,v=((null==(o=a.arrow)?void 0:o.y)??0)+u/2;let m="",g="";return"bottom"===d?(m=l?p:`${h}px`,g=-u+"px"):"top"===d?(m=l?p:`${h}px`,g=`${s.floating.height+u}px`):"right"===d?(m=-u+"px",g=l?p:`${v}px`):"left"===d&&(m=`${s.floating.width+u}px`,g=l?p:`${v}px`),{data:{x:m,y:g}}}});function KO(e){const[t,n="center"]=e.split("-");return[t,n]}var QO=TO,YO=zO,GO=UO,JO=VO,XO=qe.forwardRef(((e,t)=>{var n;const{container:r,...o}=e,[i,s]=qe.useState(!1);J$((()=>s(!0)),[]);const a=r||i&&(null==(n=null==globalThis?void 0:globalThis.document)?void 0:n.body);return a?ff.createPortal(nt.jsx(_$.div,{...o,ref:t}),a):null}));XO.displayName="Portal";var ZO=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=qe.useState(),r=qe.useRef({}),o=qe.useRef(e),i=qe.useRef("none"),s=e?"mounted":"unmounted",[a,l]=function(e,t){return qe.useReducer(((e,n)=>t[e][n]??e),e)}(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return qe.useEffect((()=>{const e=eR(r.current);i.current="mounted"===a?e:"none"}),[a]),J$((()=>{const t=r.current,n=o.current;if(n!==e){const r=i.current,s=eR(t);if(e)l("MOUNT");else if("none"===s||"none"===(null==t?void 0:t.display))l("UNMOUNT");else{l(n&&r!==s?"ANIMATION_OUT":"UNMOUNT")}o.current=e}}),[e,l]),J$((()=>{if(t){let e;const n=t.ownerDocument.defaultView??window,s=i=>{const s=eR(r.current).includes(i.animationName);if(i.target===t&&s&&(l("ANIMATION_END"),!o.current)){const r=t.style.animationFillMode;t.style.animationFillMode="forwards",e=n.setTimeout((()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=r)}))}},a=e=>{e.target===t&&(i.current=eR(r.current))};return t.addEventListener("animationstart",a),t.addEventListener("animationcancel",s),t.addEventListener("animationend",s),()=>{n.clearTimeout(e),t.removeEventListener("animationstart",a),t.removeEventListener("animationcancel",s),t.removeEventListener("animationend",s)}}l("ANIMATION_END")}),[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:qe.useCallback((e=>{e&&(r.current=getComputedStyle(e)),n(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):qe.Children.only(n),i=m$(r.ref,function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;if(o)return e.ref;if(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o)return e.props.ref;return e.props.ref||e.ref}(o));return"function"==typeof n||r.isPresent?qe.cloneElement(o,{ref:i}):null};function eR(e){return(null==e?void 0:e.animationName)||"none"}ZO.displayName="Presence";var tR="rovingFocusGroup.onEntryFocus",nR={bubbles:!1,cancelable:!0},rR="RovingFocusGroup",[oR,iR,sR]=N$(rR),[aR,lR]=g$(rR,[sR]),[cR,uR]=aR(rR),dR=qe.forwardRef(((e,t)=>nt.jsx(oR.Provider,{scope:e.__scopeRovingFocusGroup,children:nt.jsx(oR.Slot,{scope:e.__scopeRovingFocusGroup,children:nt.jsx(fR,{...e,ref:t})})})));dR.displayName=rR;var fR=qe.forwardRef(((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:s,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:l,onEntryFocus:c,preventScrollOnEntryFocus:u=!1,...d}=e,f=qe.useRef(null),p=m$(t,f),h=$$(i),[v=null,m]=w$({prop:s,defaultProp:a,onChange:l}),[g,y]=qe.useState(!1),b=b$(c),w=iR(n),x=qe.useRef(!1),[k,E]=qe.useState(0);return qe.useEffect((()=>{const e=f.current;if(e)return e.addEventListener(tR,b),()=>e.removeEventListener(tR,b)}),[b]),nt.jsx(cR,{scope:n,orientation:r,dir:h,loop:o,currentTabStopId:v,onItemFocus:qe.useCallback((e=>m(e)),[m]),onItemShiftTab:qe.useCallback((()=>y(!0)),[]),onFocusableItemAdd:qe.useCallback((()=>E((e=>e+1))),[]),onFocusableItemRemove:qe.useCallback((()=>E((e=>e-1))),[]),children:nt.jsx(_$.div,{tabIndex:g||0===k?-1:0,"data-orientation":r,...d,ref:p,style:{outline:"none",...e.style},onMouseDown:p$(e.onMouseDown,(()=>{x.current=!0})),onFocus:p$(e.onFocus,(e=>{const t=!x.current;if(e.target===e.currentTarget&&t&&!g){const t=new CustomEvent(tR,nR);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=w().filter((e=>e.focusable));mR([e.find((e=>e.active)),e.find((e=>e.id===v)),...e].filter(Boolean).map((e=>e.ref.current)),u)}}x.current=!1})),onBlur:p$(e.onBlur,(()=>y(!1)))})})})),pR="RovingFocusGroupItem",hR=qe.forwardRef(((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...s}=e,a=ej(),l=i||a,c=uR(pR,n),u=c.currentTabStopId===l,d=iR(n),{onFocusableItemAdd:f,onFocusableItemRemove:p}=c;return qe.useEffect((()=>{if(r)return f(),()=>p()}),[r,f,p]),nt.jsx(oR.ItemSlot,{scope:n,id:l,focusable:r,active:o,children:nt.jsx(_$.span,{tabIndex:u?0:-1,"data-orientation":c.orientation,...s,ref:t,onMouseDown:p$(e.onMouseDown,(e=>{r?c.onItemFocus(l):e.preventDefault()})),onFocus:p$(e.onFocus,(()=>c.onItemFocus(l))),onKeyDown:p$(e.onKeyDown,(e=>{if("Tab"===e.key&&e.shiftKey)return void c.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const r=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);return"vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)?void 0:vR[r]}(e,c.orientation,c.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=d().filter((e=>e.focusable)).map((e=>e.ref.current));if("last"===t)o.reverse();else if("prev"===t||"next"===t){"prev"===t&&o.reverse();const i=o.indexOf(e.currentTarget);o=c.loop?(r=i+1,(n=o).map(((e,t)=>n[(r+t)%n.length]))):o.slice(i+1)}setTimeout((()=>mR(o)))}var n,r}))})})}));hR.displayName=pR;var vR={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function mR(e,t=!1){const n=document.activeElement;for(const r of e){if(r===n)return;if(r.focus({preventScroll:t}),document.activeElement!==n)return}}var gR=dR,yR=hR,bR=new WeakMap,wR=new WeakMap,xR={},kR=0,ER=function(e){return e&&(e.host||ER(e.parentNode))},SR=function(e,t,n,r){var o=function(e,t){return t.map((function(t){if(e.contains(t))return t;var n=ER(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return Boolean(e)}))}(t,Array.isArray(e)?e:[e]);xR[n]||(xR[n]=new WeakMap);var i=xR[n],s=[],a=new Set,l=new Set(o),c=function(e){e&&!a.has(e)&&(a.add(e),c(e.parentNode))};o.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,(function(e){if(a.has(e))u(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,l=(bR.get(e)||0)+1,c=(i.get(e)||0)+1;bR.set(e,l),i.set(e,c),s.push(e),1===l&&o&&wR.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(d){console.error("aria-hidden: cannot operate on ",e,d)}}))};return u(t),a.clear(),kR++,function(){s.forEach((function(e){var t=bR.get(e)-1,o=i.get(e)-1;bR.set(e,t),i.set(e,o),t||(wR.has(e)||e.removeAttribute(r),wR.delete(e)),o||e.removeAttribute(n)})),--kR||(bR=new WeakMap,bR=new WeakMap,wR=new WeakMap,xR={})}},CR=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),SR(r,o,n,"aria-hidden")):function(){return null}},_R="right-scroll-bar-position",AR="width-before-scroll-bar";function NR(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var PR="undefined"!=typeof window?qe.useLayoutEffect:qe.useEffect,$R=new WeakMap;function jR(e,t){var n,r,o,i=(n=null,r=function(t){return e.forEach((function(e){return NR(e,t)}))},(o=qe.useState((function(){return{value:n,callback:r,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}}))[0]).callback=r,o.facade);return PR((function(){var t=$R.get(i);if(t){var n=new Set(t),r=new Set(e),o=i.current;n.forEach((function(e){r.has(e)||NR(e,null)})),r.forEach((function(e){n.has(e)||NR(e,o)}))}$R.set(i,e)}),[e]),i}function OR(e){return e}var RR=function(e){var t=e.sideCar,n=Qy(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return qe.createElement(r,Ky({},n))};RR.isSideCarExport=!0;var MR=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=OR);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},s=function(){return Promise.resolve().then(i)};s(),n={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),n}}}}}(null);return t.options=Ky({async:!0,ssr:!1},e),t}(),TR=function(){},LR=qe.forwardRef((function(e,t){var n=qe.useRef(null),r=qe.useState({onScrollCapture:TR,onWheelCapture:TR,onTouchMoveCapture:TR}),o=r[0],i=r[1],s=e.forwardProps,a=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,d=e.shards,f=e.sideCar,p=e.noIsolation,h=e.inert,v=e.allowPinchZoom,m=e.as,g=void 0===m?"div":m,y=e.gapMode,b=Qy(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),w=f,x=jR([n,t]),k=Ky(Ky({},b),o);return qe.createElement(qe.Fragment,null,u&&qe.createElement(w,{sideCar:MR,removeScrollBar:c,shards:d,noIsolation:p,inert:h,setCallbacks:i,allowPinchZoom:!!v,lockRef:n,gapMode:y}),s?qe.cloneElement(qe.Children.only(a),Ky(Ky({},k),{ref:x})):qe.createElement(g,Ky({},k,{className:l,ref:x}),a))}));LR.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},LR.classNames={fullWidth:AR,zeroRight:_R};function zR(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if("undefined"!=typeof __webpack_nonce__)return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}var IR=function(){var e=0,t=null;return{add:function(n){var r,o;0==e&&(t=zR())&&(o=n,(r=t).styleSheet?r.styleSheet.cssText=o:r.appendChild(document.createTextNode(o)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},DR=function(){var e,t=(e=IR(),function(t,n){qe.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},BR={left:0,top:0,right:0,gap:0},UR=function(e){return parseInt(e||"",10)||0},FR=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return BR;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[UR(n),UR(r),UR(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},HR=DR(),VR="data-scroll-locked",WR=function(e,t,n,r){var o=e.left,i=e.top,s=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(a,"px ").concat(r,";\n }\n body[").concat(VR,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(_R," {\n right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(AR," {\n margin-right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(_R," .").concat(_R," {\n right: 0 ").concat(r,";\n }\n \n .").concat(AR," .").concat(AR," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(VR,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},qR=function(){var e=parseInt(document.body.getAttribute(VR)||"0",10);return isFinite(e)?e:0},KR=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;qe.useEffect((function(){return document.body.setAttribute(VR,(qR()+1).toString()),function(){var e=qR()-1;e<=0?document.body.removeAttribute(VR):document.body.setAttribute(VR,e.toString())}}),[]);var i=qe.useMemo((function(){return FR(o)}),[o]);return qe.createElement(HR,{styles:WR(i,!t,o,n?"":"!important")})},QR=!1;if("undefined"!=typeof window)try{var YR=Object.defineProperty({},"passive",{get:function(){return QR=!0,!0}});window.addEventListener("test",YR,YR),window.removeEventListener("test",YR,YR)}catch(az){QR=!1}var GR=!!QR&&{passive:!1},JR=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},XR=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),ZR(e,r)){var o=eM(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},ZR=function(e,t){return"v"===e?function(e){return JR(e,"overflowY")}(t):function(e){return JR(e,"overflowX")}(t)},eM=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},tM=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},nM=function(e){return[e.deltaX,e.deltaY]},rM=function(e){return e&&"current"in e?e.current:e},oM=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},iM=0,sM=[];function aM(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const lM=(cM=function(e){var t=qe.useRef([]),n=qe.useRef([0,0]),r=qe.useRef(),o=qe.useState(iM++)[0],i=qe.useState(DR)[0],s=qe.useRef(e);qe.useEffect((function(){s.current=e}),[e]),qe.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=Zy([e.lockRef.current],(e.shards||[]).map(rM),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var a=qe.useCallback((function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var o,i=tM(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-i[0],c="deltaY"in e?e.deltaY:a[1]-i[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=XR(d,u);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=XR(d,u)),!f)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=o),!o)return!0;var p=r.current||o;return function(e,t,n,r,o){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),s=i*r,a=n.target,l=t.contains(a),c=!1,u=s>0,d=0,f=0;do{var p=eM(e,a),h=p[0],v=p[1]-p[2]-i*h;(h||v)&&ZR(e,a)&&(d+=v,f+=h),a=a instanceof ShadowRoot?a.host:a.parentNode}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return u&&(Math.abs(d)<1||!o)?c=!0:u||!(Math.abs(f)<1)&&o||(c=!0),c}(p,t,e,"h"===p?l:c,!0)}),[]),l=qe.useCallback((function(e){var n=e;if(sM.length&&sM[sM.length-1]===i){var r="deltaY"in n?nM(n):tM(n),o=t.current.filter((function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&(t=e.delta,o=r,t[0]===o[0]&&t[1]===o[1]);var t,o}))[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var l=(s.current.shards||[]).map(rM).filter(Boolean).filter((function(e){return e.contains(n.target)}));(l.length>0?a(n,l[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}}),[]),c=qe.useCallback((function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:aM(r)};t.current.push(i),setTimeout((function(){t.current=t.current.filter((function(e){return e!==i}))}),1)}),[]),u=qe.useCallback((function(e){n.current=tM(e),r.current=void 0}),[]),d=qe.useCallback((function(t){c(t.type,nM(t),t.target,a(t,e.lockRef.current))}),[]),f=qe.useCallback((function(t){c(t.type,tM(t),t.target,a(t,e.lockRef.current))}),[]);qe.useEffect((function(){return sM.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",l,GR),document.addEventListener("touchmove",l,GR),document.addEventListener("touchstart",u,GR),function(){sM=sM.filter((function(e){return e!==i})),document.removeEventListener("wheel",l,GR),document.removeEventListener("touchmove",l,GR),document.removeEventListener("touchstart",u,GR)}}),[]);var p=e.removeScrollBar,h=e.inert;return qe.createElement(qe.Fragment,null,h?qe.createElement(i,{styles:oM(o)}):null,p?qe.createElement(KR,{gapMode:e.gapMode}):null)},MR.useMedium(cM),RR);var cM,uM=qe.forwardRef((function(e,t){return qe.createElement(LR,Ky({},e,{ref:t,sideCar:lM}))}));uM.classNames=LR.classNames;var dM=["Enter"," "],fM=["ArrowUp","PageDown","End"],pM=["ArrowDown","PageUp","Home",...fM],hM={ltr:[...dM,"ArrowRight"],rtl:[...dM,"ArrowLeft"]},vM={ltr:["ArrowLeft"],rtl:["ArrowRight"]},mM="Menu",[gM,yM,bM]=N$(mM),[wM,xM]=g$(mM,[bM,OO,lR]),kM=OO(),EM=lR(),[SM,CM]=wM(mM),[_M,AM]=wM(mM),NM=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:s=!0}=e,a=kM(t),[l,c]=qe.useState(null),u=qe.useRef(!1),d=b$(i),f=$$(o);return qe.useEffect((()=>{const e=()=>{u.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>u.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}}),[]),nt.jsx(QO,{...a,children:nt.jsx(SM,{scope:t,open:n,onOpenChange:d,content:l,onContentChange:c,children:nt.jsx(_M,{scope:t,onClose:qe.useCallback((()=>d(!1)),[d]),isUsingKeyboardRef:u,dir:f,modal:s,children:r})})})};NM.displayName=mM;var PM=qe.forwardRef(((e,t)=>{const{__scopeMenu:n,...r}=e,o=kM(n);return nt.jsx(YO,{...o,...r,ref:t})}));PM.displayName="MenuAnchor";var $M="MenuPortal",[jM,OM]=wM($M,{forceMount:void 0}),RM=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=CM($M,t);return nt.jsx(jM,{scope:t,forceMount:n,children:nt.jsx(ZO,{present:n||i.open,children:nt.jsx(XO,{asChild:!0,container:o,children:r})})})};RM.displayName=$M;var MM="MenuContent",[TM,LM]=wM(MM),zM=qe.forwardRef(((e,t)=>{const n=OM(MM,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=CM(MM,e.__scopeMenu),s=AM(MM,e.__scopeMenu);return nt.jsx(gM.Provider,{scope:e.__scopeMenu,children:nt.jsx(ZO,{present:r||i.open,children:nt.jsx(gM.Slot,{scope:e.__scopeMenu,children:s.modal?nt.jsx(IM,{...o,ref:t}):nt.jsx(DM,{...o,ref:t})})})})})),IM=qe.forwardRef(((e,t)=>{const n=CM(MM,e.__scopeMenu),r=qe.useRef(null),o=m$(t,r);return qe.useEffect((()=>{const e=r.current;if(e)return CR(e)}),[]),nt.jsx(BM,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:p$(e.onFocusOutside,(e=>e.preventDefault()),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})})),DM=qe.forwardRef(((e,t)=>{const n=CM(MM,e.__scopeMenu);return nt.jsx(BM,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})})),BM=qe.forwardRef(((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:a,onEntryFocus:l,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:f,onDismiss:p,disableOutsideScroll:h,...v}=e,m=CM(MM,n),g=AM(MM,n),y=kM(n),b=EM(n),w=yM(n),[x,k]=qe.useState(null),E=qe.useRef(null),S=m$(t,E,m.onContentChange),C=qe.useRef(0),_=qe.useRef(""),A=qe.useRef(0),N=qe.useRef(null),P=qe.useRef("right"),$=qe.useRef(0),j=h?uM:qe.Fragment,O=h?{as:x$,allowPinchZoom:!0}:void 0,R=e=>{var t,n;const r=_.current+e,o=w().filter((e=>!e.disabled)),i=document.activeElement,s=null==(t=o.find((e=>e.ref.current===i)))?void 0:t.textValue,a=function(e,t,n){const r=t.length>1&&Array.from(t).every((e=>e===t[0])),o=r?t[0]:t,i=n?e.indexOf(n):-1;let s=(a=e,l=Math.max(i,0),a.map(((e,t)=>a[(l+t)%a.length])));var a,l;1===o.length&&(s=s.filter((e=>e!==n)));const c=s.find((e=>e.toLowerCase().startsWith(o.toLowerCase())));return c!==n?c:void 0}(o.map((e=>e.textValue)),r,s),l=null==(n=o.find((e=>e.textValue===a)))?void 0:n.ref.current;!function e(t){_.current=t,window.clearTimeout(C.current),""!==t&&(C.current=window.setTimeout((()=>e("")),1e3))}(r),l&&setTimeout((()=>l.focus()))};qe.useEffect((()=>()=>window.clearTimeout(C.current)),[]),qe.useEffect((()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??B$()),document.body.insertAdjacentElement("beforeend",e[1]??B$()),D$++,()=>{1===D$&&document.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),D$--}}),[]);const M=qe.useCallback((e=>{var t,n;return P.current===(null==(t=N.current)?void 0:t.side)&&function(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return function(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;ir!=c>r&&n<(l-e)*(r-a)/(c-a)+e&&(o=!o)}return o}(n,t)}(e,null==(n=N.current)?void 0:n.area)}),[]);return nt.jsx(TM,{scope:n,searchRef:_,onItemEnter:qe.useCallback((e=>{M(e)&&e.preventDefault()}),[M]),onItemLeave:qe.useCallback((e=>{var t;M(e)||(null==(t=E.current)||t.focus(),k(null))}),[M]),onTriggerLeave:qe.useCallback((e=>{M(e)&&e.preventDefault()}),[M]),pointerGraceTimerRef:A,onPointerGraceIntentChange:qe.useCallback((e=>{N.current=e}),[]),children:nt.jsx(j,{...O,children:nt.jsx(V$,{asChild:!0,trapped:o,onMountAutoFocus:p$(i,(e=>{var t;e.preventDefault(),null==(t=E.current)||t.focus({preventScroll:!0})})),onUnmountAutoFocus:s,children:nt.jsx(L$,{asChild:!0,disableOutsidePointerEvents:a,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:f,onDismiss:p,children:nt.jsx(gR,{asChild:!0,...b,dir:g.dir,orientation:"vertical",loop:r,currentTabStopId:x,onCurrentTabStopIdChange:k,onEntryFocus:p$(l,(e=>{g.isUsingKeyboardRef.current||e.preventDefault()})),preventScrollOnEntryFocus:!0,children:nt.jsx(GO,{role:"menu","aria-orientation":"vertical","data-state":fT(m.open),"data-radix-menu-content":"",dir:g.dir,...y,...v,ref:S,style:{outline:"none",...v.style},onKeyDown:p$(v.onKeyDown,(e=>{const t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&R(e.key));const o=E.current;if(e.target!==o)return;if(!pM.includes(e.key))return;e.preventDefault();const i=w().filter((e=>!e.disabled)).map((e=>e.ref.current));fM.includes(e.key)&&i.reverse(),function(e){const t=document.activeElement;for(const n of e){if(n===t)return;if(n.focus(),document.activeElement!==t)return}}(i)})),onBlur:p$(e.onBlur,(e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(C.current),_.current="")})),onPointerMove:p$(e.onPointerMove,vT((e=>{const t=e.target,n=$.current!==e.clientX;if(e.currentTarget.contains(t)&&n){const t=e.clientX>$.current?"right":"left";P.current=t,$.current=e.clientX}})))})})})})})})}));zM.displayName=MM;var UM=qe.forwardRef(((e,t)=>{const{__scopeMenu:n,...r}=e;return nt.jsx(_$.div,{role:"group",...r,ref:t})}));UM.displayName="MenuGroup";var FM=qe.forwardRef(((e,t)=>{const{__scopeMenu:n,...r}=e;return nt.jsx(_$.div,{...r,ref:t})}));FM.displayName="MenuLabel";var HM="MenuItem",VM="menu.itemSelect",WM=qe.forwardRef(((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,i=qe.useRef(null),s=AM(HM,e.__scopeMenu),a=LM(HM,e.__scopeMenu),l=m$(t,i),c=qe.useRef(!1);return nt.jsx(qM,{...o,ref:l,disabled:n,onClick:p$(e.onClick,(()=>{const e=i.current;if(!n&&e){const t=new CustomEvent(VM,{bubbles:!0,cancelable:!0});e.addEventListener(VM,(e=>null==r?void 0:r(e)),{once:!0}),A$(e,t),t.defaultPrevented?c.current=!1:s.onClose()}})),onPointerDown:t=>{var n;null==(n=e.onPointerDown)||n.call(e,t),c.current=!0},onPointerUp:p$(e.onPointerUp,(e=>{var t;c.current||null==(t=e.currentTarget)||t.click()})),onKeyDown:p$(e.onKeyDown,(e=>{const t=""!==a.searchRef.current;n||t&&" "===e.key||dM.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())}))})}));WM.displayName=HM;var qM=qe.forwardRef(((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,s=LM(HM,n),a=EM(n),l=qe.useRef(null),c=m$(t,l),[u,d]=qe.useState(!1),[f,p]=qe.useState("");return qe.useEffect((()=>{const e=l.current;e&&p((e.textContent??"").trim())}),[i.children]),nt.jsx(gM.ItemSlot,{scope:n,disabled:r,textValue:o??f,children:nt.jsx(yR,{asChild:!0,...a,focusable:!r,children:nt.jsx(_$.div,{role:"menuitem","data-highlighted":u?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...i,ref:c,onPointerMove:p$(e.onPointerMove,vT((e=>{if(r)s.onItemLeave(e);else if(s.onItemEnter(e),!e.defaultPrevented){e.currentTarget.focus({preventScroll:!0})}}))),onPointerLeave:p$(e.onPointerLeave,vT((e=>s.onItemLeave(e)))),onFocus:p$(e.onFocus,(()=>d(!0))),onBlur:p$(e.onBlur,(()=>d(!1)))})})})})),KM=qe.forwardRef(((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return nt.jsx(tT,{scope:e.__scopeMenu,checked:n,children:nt.jsx(WM,{role:"menuitemcheckbox","aria-checked":pT(n)?"mixed":n,...o,ref:t,"data-state":hT(n),onSelect:p$(o.onSelect,(()=>null==r?void 0:r(!!pT(n)||!n)),{checkForDefaultPrevented:!1})})})}));KM.displayName="MenuCheckboxItem";var QM="MenuRadioGroup",[YM,GM]=wM(QM,{value:void 0,onValueChange:()=>{}}),JM=qe.forwardRef(((e,t)=>{const{value:n,onValueChange:r,...o}=e,i=b$(r);return nt.jsx(YM,{scope:e.__scopeMenu,value:n,onValueChange:i,children:nt.jsx(UM,{...o,ref:t})})}));JM.displayName=QM;var XM="MenuRadioItem",ZM=qe.forwardRef(((e,t)=>{const{value:n,...r}=e,o=GM(XM,e.__scopeMenu),i=n===o.value;return nt.jsx(tT,{scope:e.__scopeMenu,checked:i,children:nt.jsx(WM,{role:"menuitemradio","aria-checked":i,...r,ref:t,"data-state":hT(i),onSelect:p$(r.onSelect,(()=>{var e;return null==(e=o.onValueChange)?void 0:e.call(o,n)}),{checkForDefaultPrevented:!1})})})}));ZM.displayName=XM;var eT="MenuItemIndicator",[tT,nT]=wM(eT,{checked:!1}),rT=qe.forwardRef(((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,i=nT(eT,n);return nt.jsx(ZO,{present:r||pT(i.checked)||!0===i.checked,children:nt.jsx(_$.span,{...o,ref:t,"data-state":hT(i.checked)})})}));rT.displayName=eT;var oT=qe.forwardRef(((e,t)=>{const{__scopeMenu:n,...r}=e;return nt.jsx(_$.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})}));oT.displayName="MenuSeparator";var iT=qe.forwardRef(((e,t)=>{const{__scopeMenu:n,...r}=e,o=kM(n);return nt.jsx(JO,{...o,...r,ref:t})}));iT.displayName="MenuArrow";var[sT,aT]=wM("MenuSub"),lT="MenuSubTrigger",cT=qe.forwardRef(((e,t)=>{const n=CM(lT,e.__scopeMenu),r=AM(lT,e.__scopeMenu),o=aT(lT,e.__scopeMenu),i=LM(lT,e.__scopeMenu),s=qe.useRef(null),{pointerGraceTimerRef:a,onPointerGraceIntentChange:l}=i,c={__scopeMenu:e.__scopeMenu},u=qe.useCallback((()=>{s.current&&window.clearTimeout(s.current),s.current=null}),[]);return qe.useEffect((()=>u),[u]),qe.useEffect((()=>{const e=a.current;return()=>{window.clearTimeout(e),l(null)}}),[a,l]),nt.jsx(PM,{asChild:!0,...c,children:nt.jsx(qM,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":fT(n.open),...e,ref:v$(t,o.onTriggerChange),onClick:t=>{var r;null==(r=e.onClick)||r.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:p$(e.onPointerMove,vT((t=>{i.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||s.current||(i.onPointerGraceIntentChange(null),s.current=window.setTimeout((()=>{n.onOpenChange(!0),u()}),100))}))),onPointerLeave:p$(e.onPointerLeave,vT((e=>{var t,r;u();const o=null==(t=n.content)?void 0:t.getBoundingClientRect();if(o){const t=null==(r=n.content)?void 0:r.dataset.side,s="right"===t,l=s?-5:5,c=o[s?"left":"right"],u=o[s?"right":"left"];i.onPointerGraceIntentChange({area:[{x:e.clientX+l,y:e.clientY},{x:c,y:o.top},{x:u,y:o.top},{x:u,y:o.bottom},{x:c,y:o.bottom}],side:t}),window.clearTimeout(a.current),a.current=window.setTimeout((()=>i.onPointerGraceIntentChange(null)),300)}else{if(i.onTriggerLeave(e),e.defaultPrevented)return;i.onPointerGraceIntentChange(null)}}))),onKeyDown:p$(e.onKeyDown,(t=>{var o;const s=""!==i.searchRef.current;e.disabled||s&&" "===t.key||hM[r.dir].includes(t.key)&&(n.onOpenChange(!0),null==(o=n.content)||o.focus(),t.preventDefault())}))})})}));cT.displayName=lT;var uT="MenuSubContent",dT=qe.forwardRef(((e,t)=>{const n=OM(MM,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=CM(MM,e.__scopeMenu),s=AM(MM,e.__scopeMenu),a=aT(uT,e.__scopeMenu),l=qe.useRef(null),c=m$(t,l);return nt.jsx(gM.Provider,{scope:e.__scopeMenu,children:nt.jsx(ZO,{present:r||i.open,children:nt.jsx(gM.Slot,{scope:e.__scopeMenu,children:nt.jsx(BM,{id:a.contentId,"aria-labelledby":a.triggerId,...o,ref:c,align:"start",side:"rtl"===s.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;s.isUsingKeyboardRef.current&&(null==(t=l.current)||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:p$(e.onFocusOutside,(e=>{e.target!==a.trigger&&i.onOpenChange(!1)})),onEscapeKeyDown:p$(e.onEscapeKeyDown,(e=>{s.onClose(),e.preventDefault()})),onKeyDown:p$(e.onKeyDown,(e=>{var t;const n=e.currentTarget.contains(e.target),r=vM[s.dir].includes(e.key);n&&r&&(i.onOpenChange(!1),null==(t=a.trigger)||t.focus(),e.preventDefault())}))})})})})}));function fT(e){return e?"open":"closed"}function pT(e){return"indeterminate"===e}function hT(e){return pT(e)?"indeterminate":e?"checked":"unchecked"}function vT(e){return t=>"mouse"===t.pointerType?e(t):void 0}dT.displayName=uT;var mT=NM,gT=PM,yT=RM,bT=zM,wT=UM,xT=FM,kT=WM,ET=KM,ST=JM,CT=ZM,_T=rT,AT=oT,NT=iT,PT=cT,$T=dT,jT="DropdownMenu",[OT,RT]=g$(jT,[xM]),MT=xM(),[TT,LT]=OT(jT),zT=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:i,onOpenChange:s,modal:a=!0}=e,l=MT(t),c=qe.useRef(null),[u=!1,d]=w$({prop:o,defaultProp:i,onChange:s});return nt.jsx(TT,{scope:t,triggerId:ej(),triggerRef:c,contentId:ej(),open:u,onOpenChange:d,onOpenToggle:qe.useCallback((()=>d((e=>!e))),[d]),modal:a,children:nt.jsx(mT,{...l,open:u,onOpenChange:d,dir:r,modal:a,children:n})})};zT.displayName=jT;var IT="DropdownMenuTrigger",DT=qe.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,i=LT(IT,n),s=MT(n);return nt.jsx(gT,{asChild:!0,...s,children:nt.jsx(_$.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:v$(t,i.triggerRef),onPointerDown:p$(e.onPointerDown,(e=>{r||0!==e.button||!1!==e.ctrlKey||(i.onOpenToggle(),i.open||e.preventDefault())})),onKeyDown:p$(e.onKeyDown,(e=>{r||(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())}))})})}));DT.displayName=IT;var BT=e=>{const{__scopeDropdownMenu:t,...n}=e,r=MT(t);return nt.jsx(yT,{...r,...n})};BT.displayName="DropdownMenuPortal";var UT="DropdownMenuContent",FT=qe.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=LT(UT,n),i=MT(n),s=qe.useRef(!1);return nt.jsx(bT,{id:o.contentId,"aria-labelledby":o.triggerId,...i,...r,ref:t,onCloseAutoFocus:p$(e.onCloseAutoFocus,(e=>{var t;s.current||null==(t=o.triggerRef.current)||t.focus(),s.current=!1,e.preventDefault()})),onInteractOutside:p$(e.onInteractOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;o.modal&&!r||(s.current=!0)})),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})}));FT.displayName=UT;qe.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=MT(n);return nt.jsx(wT,{...o,...r,ref:t})})).displayName="DropdownMenuGroup";var HT=qe.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=MT(n);return nt.jsx(xT,{...o,...r,ref:t})}));HT.displayName="DropdownMenuLabel";var VT=qe.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=MT(n);return nt.jsx(kT,{...o,...r,ref:t})}));VT.displayName="DropdownMenuItem";var WT=qe.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=MT(n);return nt.jsx(ET,{...o,...r,ref:t})}));WT.displayName="DropdownMenuCheckboxItem";qe.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=MT(n);return nt.jsx(ST,{...o,...r,ref:t})})).displayName="DropdownMenuRadioGroup";qe.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=MT(n);return nt.jsx(CT,{...o,...r,ref:t})})).displayName="DropdownMenuRadioItem";var qT=qe.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=MT(n);return nt.jsx(_T,{...o,...r,ref:t})}));qT.displayName="DropdownMenuItemIndicator";var KT=qe.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=MT(n);return nt.jsx(AT,{...o,...r,ref:t})}));KT.displayName="DropdownMenuSeparator";qe.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=MT(n);return nt.jsx(NT,{...o,...r,ref:t})})).displayName="DropdownMenuArrow";var QT=qe.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=MT(n);return nt.jsx(PT,{...o,...r,ref:t})}));QT.displayName="DropdownMenuSubTrigger";var YT=qe.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=MT(n);return nt.jsx($T,{...o,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})}));YT.displayName="DropdownMenuSubContent";var GT=zT,JT=DT,XT=BT,ZT=FT,eL=HT,tL=VT,nL=WT,rL=qT,oL=KT,iL=QT,sL=YT;const aL=(...e)=>e.filter(((e,t,n)=>Boolean(e)&&""!==e.trim()&&n.indexOf(e)===t)).join(" ").trim();var lL={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const cL=qe.forwardRef((({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:s,...a},l)=>qe.createElement("svg",{ref:l,...lL,width:t,height:t,stroke:e,strokeWidth:r?24*Number(n)/Number(t):n,className:aL("lucide",o),...a},[...s.map((([e,t])=>qe.createElement(e,t))),...Array.isArray(i)?i:[i]]))),uL=(e,t)=>{const n=qe.forwardRef((({className:n,...r},o)=>{return qe.createElement(cL,{ref:o,iconNode:t,className:aL(`lucide-${i=e,i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,n),...r});var i}));return n.displayName=`${e}`,n},dL=uL("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),fL=uL("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),pL=GT,hL=JT;qe.forwardRef((({className:e,inset:t,children:n,...r},o)=>nt.jsxs(iL,{ref:o,className:ap("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",e),...r,children:[n,nt.jsx(fL,{className:"ml-auto h-4 w-4"})]}))).displayName=iL.displayName;qe.forwardRef((({className:e,...t},n)=>nt.jsx(sL,{ref:n,className:ap("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}))).displayName=sL.displayName;const vL=qe.forwardRef((({className:e,sideOffset:t=4,...n},r)=>nt.jsx(XT,{children:nt.jsx(ZT,{ref:r,sideOffset:t,className:ap("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})})));vL.displayName=ZT.displayName;const mL=qe.forwardRef((({className:e,inset:t,...n},r)=>nt.jsx(tL,{ref:r,className:ap("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...n})));mL.displayName=tL.displayName;qe.forwardRef((({className:e,children:t,checked:n,...r},o)=>nt.jsxs(nL,{ref:o,className:ap("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:n,...r,children:[nt.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:nt.jsx(rL,{children:nt.jsx(dL,{className:"h-4 w-4"})})}),t]}))).displayName=nL.displayName;qe.forwardRef((({className:e,inset:t,...n},r)=>nt.jsx(eL,{ref:r,className:ap("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}))).displayName=eL.displayName;const gL=qe.forwardRef((({className:e,...t},n)=>nt.jsx(oL,{ref:n,className:ap("-mx-1 my-1 h-px bg-muted",e),...t})));gL.displayName=oL.displayName;const yL=new Set(["children","localName","ref","style","className"]),bL=new WeakMap,wL=(e,t,n,r,o)=>{const i=null==o?void 0:o[t];void 0===i?(e[t]=n,null==n&&t in HTMLElement.prototype&&e.removeAttribute(t)):n!==r&&((e,t,n)=>{let r=bL.get(e);void 0===r&&bL.set(e,r=new Map);let o=r.get(t);void 0!==n?void 0===o?(r.set(t,o={handleEvent:n}),e.addEventListener(t,o)):o.handleEvent=n:void 0!==o&&(r.delete(t),e.removeEventListener(t,o))})(e,i,n)},xL=({react:e,tagName:t,elementClass:n,events:r,displayName:o})=>{const i=new Set(Object.keys(r??{})),s=e.forwardRef(((o,s)=>{const a=e.useRef(new Map),l=e.useRef(null),c={},u={};for(const[e,t]of Object.entries(o))yL.has(e)?c["className"===e?"class":e]=t:i.has(e)||e in n.prototype?u[e]=t:c[e]=t;return e.useLayoutEffect((()=>{if(null===l.current)return;const e=new Map;for(const t in u)wL(l.current,t,o[t],a.current.get(t),r),a.current.delete(t),e.set(t,o[t]);for(const[t,n]of a.current)wL(l.current,t,void 0,n,r);a.current=e})),e.useLayoutEffect((()=>{var e;null==(e=l.current)||e.removeAttribute("defer-hydration")}),[]),c.suppressHydrationWarning=!0,e.createElement(t,{...c,ref:e.useCallback((e=>{l.current=e,"function"==typeof s?s(e):null!==s&&(s.current=e)}),[s])})}));return s.displayName=o??n.name,s};xL({tagName:"dc-connection-button",elementClass:d$,react:Ke});const kL=xL({tagName:"dc-connection-dialog",elementClass:o$,react:Ke,events:{onClose:"close"}});function EL(...e){const t=e=>e,n=(e,t)=>n=>e(t(n));return{encode:e.map((e=>e.encode)).reduceRight(n,t),decode:e.map((e=>e.decode)).reduce(n,t)}}function SL(e){return{encode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw new Error("alphabet.encode input should be an array of numbers");return t.map((t=>{if(t<0||t>=e.length)throw new Error(`Digit index outside alphabet: ${t} (alphabet: ${e.length})`);return e[t]}))},decode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw new Error("alphabet.decode input should be array of strings");return t.map((t=>{if("string"!=typeof t)throw new Error(`alphabet.decode: not string element=${t}`);const n=e.indexOf(t);if(-1===n)throw new Error(`Unknown letter: "${t}". Allowed: ${e}`);return n}))}}}function CL(e=""){if("string"!=typeof e)throw new Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw new Error("join.encode input should be array of strings");for(let e of t)if("string"!=typeof e)throw new Error(`join.encode: non-string input=${e}`);return t.join(e)},decode:t=>{if("string"!=typeof t)throw new Error("join.decode input should be string");return t.split(e)}}}function _L(e,t,n){if(t<2)throw new Error(`convertRadix: wrong from=${t}, base cannot be less than 2`);if(n<2)throw new Error(`convertRadix: wrong to=${n}, base cannot be less than 2`);if(!Array.isArray(e))throw new Error("convertRadix: data should be array");if(!e.length)return[];let r=0;const o=[],i=Array.from(e);for(i.forEach((e=>{if(e<0||e>=t)throw new Error(`Wrong integer: ${e}`)}));;){let e=0,s=!0;for(let o=r;o{if(!function(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}(t))throw new Error("radix.encode input should be Uint8Array");return _L(Array.from(t),256,e)},decode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(_L(t,e,256))}}}const NL=(e=>EL(AL(58),SL(e),CL("")))("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz");function PL(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`positive integer expected, not ${e}`)}function $L(e,...t){if(!function(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}function jL(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}const OL=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4)),RL=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],ML=e=>e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255,TL=RL?e=>e:e=>ML(e);function LL(e){for(let t=0;te(n).update(zL(t)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=t=>e(t),t}const BL=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3]);class UL extends IL{constructor(e,t,n={},r,o,i){if(super(),this.blockLen=e,this.outputLen=t,this.length=0,this.pos=0,this.finished=!1,this.destroyed=!1,PL(e),PL(t),PL(r),t<0||t>r)throw new Error("outputLen bigger than keyLen");if(void 0!==n.key&&(n.key.length<1||n.key.length>r))throw new Error(`key must be up 1..${r} byte long or undefined`);if(void 0!==n.salt&&n.salt.length!==o)throw new Error(`salt must be ${o} byte long or undefined`);if(void 0!==n.personalization&&n.personalization.length!==i)throw new Error(`personalization must be ${i} byte long or undefined`);this.buffer32=OL(this.buffer=new Uint8Array(e))}update(e){jL(this);const{blockLen:t,buffer:n,buffer32:r}=this,o=(e=zL(e)).length,i=e.byteOffset,s=e.buffer;for(let a=0;ar[t]=TL(e)))}digest(){const{buffer:e,outputLen:t}=this;this.digestInto(e);const n=e.slice(0,t);return this.destroy(),n}_cloneInto(e){const{buffer:t,length:n,finished:r,destroyed:o,outputLen:i,pos:s}=this;return e||(e=new this.constructor({dkLen:i})),e.set(...this.get()),e.length=n,e.finished=r,e.destroyed=o,e.outputLen=i,e.buffer.set(t),e.pos=s,e}}const FL=BigInt(2**32-1),HL=BigInt(32);function VL(e,t=!1){return t?{h:Number(e&FL),l:Number(e>>HL&FL)}:{h:0|Number(e>>HL&FL),l:0|Number(e&FL)}}const WL={fromBig:VL,split:function(e,t=!1){let n=new Uint32Array(e.length),r=new Uint32Array(e.length);for(let o=0;oBigInt(e>>>0)<>>0),shrSH:(e,t,n)=>e>>>n,shrSL:(e,t,n)=>e<<32-n|t>>>n,rotrSH:(e,t,n)=>e>>>n|t<<32-n,rotrSL:(e,t,n)=>e<<32-n|t>>>n,rotrBH:(e,t,n)=>e<<64-n|t>>>n-32,rotrBL:(e,t,n)=>e>>>n-32|t<<64-n,rotr32H:(e,t)=>t,rotr32L:(e,t)=>e,rotlSH:(e,t,n)=>e<>>32-n,rotlSL:(e,t,n)=>t<>>32-n,rotlBH:(e,t,n)=>t<>>64-n,rotlBL:(e,t,n)=>e<>>64-n,add:function(e,t,n,r){const o=(t>>>0)+(r>>>0);return{h:e+n+(o/2**32|0)|0,l:0|o}},add3L:(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0),add3H:(e,t,n,r)=>t+n+r+(e/2**32|0)|0,add4L:(e,t,n,r)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0),add4H:(e,t,n,r,o)=>t+n+r+o+(e/2**32|0)|0,add5H:(e,t,n,r,o,i)=>t+n+r+o+i+(e/2**32|0)|0,add5L:(e,t,n,r,o)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0)+(o>>>0)},qL=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),KL=new Uint32Array(32);function QL(e,t,n,r,o,i){const s=o[i],a=o[i+1];let l=KL[2*e],c=KL[2*e+1],u=KL[2*t],d=KL[2*t+1],f=KL[2*n],p=KL[2*n+1],h=KL[2*r],v=KL[2*r+1],m=WL.add3L(l,u,s);c=WL.add3H(m,c,d,a),l=0|m,({Dh:v,Dl:h}={Dh:v^c,Dl:h^l}),({Dh:v,Dl:h}={Dh:WL.rotr32H(v,h),Dl:WL.rotr32L(v,h)}),({h:p,l:f}=WL.add(p,f,v,h)),({Bh:d,Bl:u}={Bh:d^p,Bl:u^f}),({Bh:d,Bl:u}={Bh:WL.rotrSH(d,u,24),Bl:WL.rotrSL(d,u,24)}),KL[2*e]=l,KL[2*e+1]=c,KL[2*t]=u,KL[2*t+1]=d,KL[2*n]=f,KL[2*n+1]=p,KL[2*r]=h,KL[2*r+1]=v}function YL(e,t,n,r,o,i){const s=o[i],a=o[i+1];let l=KL[2*e],c=KL[2*e+1],u=KL[2*t],d=KL[2*t+1],f=KL[2*n],p=KL[2*n+1],h=KL[2*r],v=KL[2*r+1],m=WL.add3L(l,u,s);c=WL.add3H(m,c,d,a),l=0|m,({Dh:v,Dl:h}={Dh:v^c,Dl:h^l}),({Dh:v,Dl:h}={Dh:WL.rotrSH(v,h,16),Dl:WL.rotrSL(v,h,16)}),({h:p,l:f}=WL.add(p,f,v,h)),({Bh:d,Bl:u}={Bh:d^p,Bl:u^f}),({Bh:d,Bl:u}={Bh:WL.rotrBH(d,u,63),Bl:WL.rotrBL(d,u,63)}),KL[2*e]=l,KL[2*e+1]=c,KL[2*t]=u,KL[2*t+1]=d,KL[2*n]=f,KL[2*n+1]=p,KL[2*r]=h,KL[2*r+1]=v}class GL extends UL{constructor(e={}){super(128,void 0===e.dkLen?64:e.dkLen,e,64,16,16),this.v0l=0|qL[0],this.v0h=0|qL[1],this.v1l=0|qL[2],this.v1h=0|qL[3],this.v2l=0|qL[4],this.v2h=0|qL[5],this.v3l=0|qL[6],this.v3h=0|qL[7],this.v4l=0|qL[8],this.v4h=0|qL[9],this.v5l=0|qL[10],this.v5h=0|qL[11],this.v6l=0|qL[12],this.v6h=0|qL[13],this.v7l=0|qL[14],this.v7h=0|qL[15];const t=e.key?e.key.length:0;if(this.v0l^=this.outputLen|t<<8|65536|1<<24,e.salt){const t=OL(zL(e.salt));this.v4l^=TL(t[0]),this.v4h^=TL(t[1]),this.v5l^=TL(t[2]),this.v5h^=TL(t[3])}if(e.personalization){const t=OL(zL(e.personalization));this.v6l^=TL(t[0]),this.v6h^=TL(t[1]),this.v7l^=TL(t[2]),this.v7h^=TL(t[3])}if(e.key){const t=new Uint8Array(this.blockLen);t.set(zL(e.key)),this.update(t)}}get(){let{v0l:e,v0h:t,v1l:n,v1h:r,v2l:o,v2h:i,v3l:s,v3h:a,v4l:l,v4h:c,v5l:u,v5h:d,v6l:f,v6h:p,v7l:h,v7h:v}=this;return[e,t,n,r,o,i,s,a,l,c,u,d,f,p,h,v]}set(e,t,n,r,o,i,s,a,l,c,u,d,f,p,h,v){this.v0l=0|e,this.v0h=0|t,this.v1l=0|n,this.v1h=0|r,this.v2l=0|o,this.v2h=0|i,this.v3l=0|s,this.v3h=0|a,this.v4l=0|l,this.v4h=0|c,this.v5l=0|u,this.v5h=0|d,this.v6l=0|f,this.v6h=0|p,this.v7l=0|h,this.v7h=0|v}compress(e,t,n){this.get().forEach(((e,t)=>KL[t]=e)),KL.set(qL,16);let{h:r,l:o}=WL.fromBig(BigInt(this.length));KL[24]=qL[8]^o,KL[25]=qL[9]^r,n&&(KL[28]=~KL[28],KL[29]=~KL[29]);let i=0;const s=BL;for(let a=0;a<12;a++)QL(0,4,8,12,e,t+2*s[i++]),YL(0,4,8,12,e,t+2*s[i++]),QL(1,5,9,13,e,t+2*s[i++]),YL(1,5,9,13,e,t+2*s[i++]),QL(2,6,10,14,e,t+2*s[i++]),YL(2,6,10,14,e,t+2*s[i++]),QL(3,7,11,15,e,t+2*s[i++]),YL(3,7,11,15,e,t+2*s[i++]),QL(0,5,10,15,e,t+2*s[i++]),YL(0,5,10,15,e,t+2*s[i++]),QL(1,6,11,12,e,t+2*s[i++]),YL(1,6,11,12,e,t+2*s[i++]),QL(2,7,8,13,e,t+2*s[i++]),YL(2,7,8,13,e,t+2*s[i++]),QL(3,4,9,14,e,t+2*s[i++]),YL(3,4,9,14,e,t+2*s[i++]);this.v0l^=KL[0]^KL[16],this.v0h^=KL[1]^KL[17],this.v1l^=KL[2]^KL[18],this.v1h^=KL[3]^KL[19],this.v2l^=KL[4]^KL[20],this.v2h^=KL[5]^KL[21],this.v3l^=KL[6]^KL[22],this.v3h^=KL[7]^KL[23],this.v4l^=KL[8]^KL[24],this.v4h^=KL[9]^KL[25],this.v5l^=KL[10]^KL[26],this.v5h^=KL[11]^KL[27],this.v6l^=KL[12]^KL[28],this.v6h^=KL[13]^KL[29],this.v7l^=KL[14]^KL[30],this.v7h^=KL[15]^KL[31],KL.fill(0)}destroy(){this.destroyed=!0,this.buffer32.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const JL=DL((e=>new GL(e))),XL=(new TextEncoder).encode("SS58PRE"),ZL=e=>{try{const t=NL.decode(e),n=t.subarray(0,64&t[0]?2:1),r=t.subarray(n.length,t.length-2),o=t.subarray(n.length+r.length),i=JL(Uint8Array.of(...XL,...n,...r),{dkLen:64}).subarray(0,2);return o[0]===i[0]&&o[1]===i[1]?{isValid:!0,ss58Format:ez(n),publicKey:r.slice()}:{isValid:!1}}catch{return{isValid:!1}}},ez=e=>{const t=new DataView(e.buffer,e.byteOffset,e.byteLength);return 1===t.byteLength?t.getUint8(0):t.getUint16(0)},tz={target:{colors:[0,28,0,0,28,0,0,28,0,0,28,0,0,28,0,0,28,0,1],freq:1},cube:{colors:[0,1,3,2,4,3,0,1,3,2,4,3,0,1,3,2,4,3,5],freq:20},quazar:{colors:[1,2,3,1,2,4,5,5,4,1,2,3,1,2,4,5,5,4,0],freq:16},flower:{colors:[0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,3],freq:32},cyclic:{colors:[0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5,6],freq:32},vmirror:{colors:[0,1,2,3,4,5,3,4,2,0,1,6,7,8,9,7,8,6,10],freq:128},hmirror:{colors:[0,1,2,3,4,5,6,7,8,9,10,8,6,7,5,3,4,2,11],freq:128}},nz=e=>{let t=0;const n=Object.values(tz).find((n=>(t+=n.freq,e{var l;const[c,u]=qe.useState(!1),[d,f]=qe.useState(i),[p,h]=qe.useState(),[v,m]=qe.useState(),[g,y]=qe.useState();qe.useEffect((()=>{if("string"==typeof e&&!e.includes("px")&&!e.includes("rem"))throw new Error("Providing a string for 'size' in Polkicon should be expressed either in 'px', 'rem' or 'em'");let t,n;if("string"==typeof e)switch(n=e.replace(/[0-9.]/g,""),n){case"px":t=parseFloat(e);break;case"rem":t=10*parseFloat(e)}else"number"==typeof e&&(t=e);var r,o;h(n?""+("px"===n?t+"px":t/10+"rem"):t),t<12&&(r=n||"number",o="px"===n?"12px":"rem"===n?"1.2rem":12,console.warn(`Polkicon: 'Size' expressed in '${r}' cannot be less than ${o}. Will be resized to minimum size.`)),t<32?(y("0rem 0.5rem"),m("0.5rem")):t>=32&&t<64?(y("1rem 0.5rem"),m("1rem")):t>=64&&t<100?(y("2rem 1rem"),m("1.5rem")):t>=100&&(y("3rem 1rem"),m("2rem"))}),[e]);const b=qe.useCallback((()=>{n&&(async e=>{try{await navigator.clipboard.writeText(e),u(!0),f(i)}catch{u(!0),f("Failed!")}})(t)}),[n,t,i]);qe.useEffect((()=>{n&&c&&setTimeout((()=>{u(!1)}),o)}),[n,c,o]);const{c:w,r:x,rroot3o2:k,ro2:E,rroot3o4:S,ro4:C,r3o4:_,z:A,rot:N,scheme:P,palette:$}=(e=>{const t=JL(new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])),n=ZL(e);let r=n.isValid?n.publicKey:e;if(!("object"==typeof r&&r&&r instanceof Uint8Array&&32==r.length))return{};r=Uint8Array.from(JL(r)).map(((e,n)=>(e+256-t[n])%256));const o=22.4,i=o*Math.sqrt(3)/2,s=o*Math.sqrt(3)/4,a=3*o/4,l=Object.keys(tz).map((e=>tz[e].freq)).reduce(((e,t)=>e+t)),c=Math.floor(70*r[29]/256+26)%80+30,u=Math.floor((r[30]+256*r[31])%l),d=nz(u),f=Array.from(r).map(((e,t)=>{const n=(e+t%28*58)%256;if(0==n)return"#444";if(255==n)return"transparent";const r=Math.floor(n%64*360/64),o=[53,15,35,75][Math.floor(n/64)];return`hsl(${r}, ${c}%, ${o}%)`}));return{c:32,r:o,rroot3o2:i,ro2:11.2,rroot3o4:s,ro4:5.6,r3o4:a,z:5,rot:r[28]%6*3,scheme:d,palette:f}})(t),j=ZL(t).isValid?null==(l=null==P?void 0:P.colors)?void 0:l.map(((e,t)=>$[null==P?void 0:P.colors[t<18?(t+N)%18:18]])):[];let O=0;return j?nt.jsxs("div",{onClick:n?b:void 0,style:n?{cursor:c?"none":"copy",position:"relative",display:"flex",justifyContent:"center",alignItems:"center"}:{display:"flex",justifyContent:"center",alignItems:"center"},children:[nt.jsxs("svg",{id:Math.random().toString(36).substring(2,9),className:a,style:s,width:p,height:p,viewBox:"0 0 64 64",children:[nt.jsx("circle",{cx:32,cy:32,r:32,fill:r}),nt.jsx("circle",{cx:w,cy:w-x,r:A,fill:j[O++]}),nt.jsx("circle",{cx:w,cy:w-E,r:A,fill:j[O++]}),nt.jsx("circle",{cx:w-S,cy:w-_,r:A,fill:j[O++]}),nt.jsx("circle",{cx:w-k,cy:w-E,r:A,fill:j[O++]}),nt.jsx("circle",{cx:w-S,cy:w-C,r:A,fill:j[O++]}),nt.jsx("circle",{cx:w-k,cy:w,r:A,fill:j[O++]}),nt.jsx("circle",{cx:w-k,cy:w+E,r:A,fill:j[O++]}),nt.jsx("circle",{cx:w-S,cy:w+C,r:A,fill:j[O++]}),nt.jsx("circle",{cx:w-S,cy:w+_,r:A,fill:j[O++]}),nt.jsx("circle",{cx:w,cy:w+x,r:A,fill:j[O++]}),nt.jsx("circle",{cx:w,cy:w+E,r:A,fill:j[O++]}),nt.jsx("circle",{cx:w+S,cy:w+_,r:A,fill:j[O++]}),nt.jsx("circle",{cx:w+k,cy:w+E,r:A,fill:j[O++]}),nt.jsx("circle",{cx:w+S,cy:w+C,r:A,fill:j[O++]}),nt.jsx("circle",{cx:w+k,cy:w,r:A,fill:j[O++]}),nt.jsx("circle",{cx:w+k,cy:w-E,r:A,fill:j[O++]}),nt.jsx("circle",{cx:w+S,cy:w-C,r:A,fill:j[O++]}),nt.jsx("circle",{cx:w+S,cy:w-_,r:A,fill:j[O++]}),nt.jsx("circle",{cx:w,cy:w,r:A,fill:j[O++]})]}),n&&c&&nt.jsx("p",{style:{fontSize:v,fontWeight:"bold",padding:g,width:p,height:p,position:"absolute",borderRadius:"55rem",color:"white",background:"green",opacity:"80%",alignItems:"center",justifyContent:"center",display:"flex"},children:d})]}):null},oz=()=>{const{accounts:e,selectAccount:t,selectedAccount:n}=QS(),[,r]=DS(),[o,i]=qe.useState(!1);return qe.useEffect((()=>{!(null==n?void 0:n.address)&&e.length>0&&(t(e[0]),i(!1))}),[e,t,null==n?void 0:n.address]),nt.jsxs(nt.Fragment,{children:[nt.jsx("div",{className:"flex w-full justify-center",children:nt.jsxs("div",{className:"flex w-full",children:[!e.length&&nt.jsx(aC,{onClick:()=>i(!0),className:"w-full text-lg font-bold bg-pink-700 hover:bg-blue-600",children:"Connect Wallet"}),!!e.length&&nt.jsxs(pL,{children:[nt.jsx(hL,{asChild:!0,children:nt.jsxs(aC,{variant:"outline",size:"default",className:"cursor-pointer overflow-hidden w-full flex items-center justify-center gap-2",children:[nt.jsx(rz,{size:36,address:(null==n?void 0:n.address)||"",className:"mr-2",outerColor:"transparent"}),null==n?void 0:n.name,nt.jsx(cC,{className:"ml-2 h-4 w-4",isOpen:!1})]})}),nt.jsxs(vL,{className:"max-h-[calc(100vh-5rem)] overflow-auto",children:[e.map(((n,r)=>nt.jsxs(qe.Fragment,{children:[nt.jsxs(mL,{className:"cursor-pointer",onClick:()=>t(n),children:[nt.jsx(rz,{size:28,address:n.address||"",className:"mr-2",outerColor:"transparent"}),n.name]},n.address),r!==e.length-1&&nt.jsx(gL,{})]},n.address))),nt.jsx(mL,{className:"cursor-pointer",onClick:()=>{i(!0)},children:"Show wallets"},"show"),nt.jsx(mL,{className:"cursor-pointer",onClick:()=>{r(),t(void 0)},children:"Disconnect"},"logout")]})]})]})}),nt.jsx(kL,{open:o,onClose:()=>i(!1)})]})};function iz(){return nt.jsx("div",{className:"flex items-center justify-center mt-6",children:nt.jsxs(up,{className:"w-full max-w-xl",children:[nt.jsx(dp,{children:nt.jsxs(fp,{className:"text-4xl text-center flex items-center justify-center gap-2",children:[nt.jsx(sz,{}),nt.jsxs("span",{children:["CLI: ",nt.jsx("span",{className:"font-light",children:"Signing Portal"})]})]})}),nt.jsx(pp,{className:"grid gap-4",children:nt.jsx(PS,{config:f$,children:nt.jsx(KS,{children:nt.jsxs("div",{className:"overflow-auto break-words whitespace-pre-wrap",children:[nt.jsx(oz,{}),nt.jsx(yC,{})]})})})})]})})}const sz=()=>nt.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",fill:"none",viewBox:"0 0 512 512",children:[nt.jsxs("g",{clipPath:"url(#clip0_873_174)",children:[nt.jsx("rect",{width:"512",height:"512",fill:"#1C0533",rx:"256"}),nt.jsx("rect",{width:"512",height:"512",fill:"url(#paint0_radial_873_174)",fillOpacity:"0.8",rx:"256"}),nt.jsx("rect",{width:"512",height:"512",fill:"url(#paint1_radial_873_174)",fillOpacity:"0.6",rx:"256"}),nt.jsx("mask",{id:"mask0_873_174",width:"1428",height:"1351",x:"-429",y:"-502",maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:nt.jsx("path",{fill:"#D9D9D9",d:"m127.637-501.289 871.274 824.192-14.25 13.48-871.273-824.192zM88.96-464.701l871.272 824.192-14.249 13.48L74.71-451.221zM50.281-428.113l871.273 824.192-14.249 13.48L36.032-414.633zM11.603-391.525l871.273 824.192-14.249 13.48L-2.646-378.045zM-27.075-354.937l871.273 824.192-14.249 13.48-871.273-824.192zM-65.753-318.349 805.52 505.843l-14.249 13.48-871.273-824.192zM-104.431-281.761l871.273 824.192-14.249 13.48-871.273-824.192zM-143.109-245.173l871.273 824.192-14.249 13.48-871.273-824.192zM-181.787-208.585l871.273 824.192-14.249 13.48-871.273-824.192zM-220.465-171.997l871.273 824.192-14.249 13.48-871.273-824.192zM-259.143-135.409 612.13 688.783l-14.249 13.48-871.273-824.192zM-297.821-98.821 573.452 725.37l-14.249 13.48L-312.07-85.341zM-336.499-62.233l871.273 824.192-14.249 13.48-871.273-824.192zM-375.177-25.645l871.273 824.192-14.249 13.479-871.273-824.191zM-413.855 10.943l871.273 824.192-14.249 13.48-871.273-824.192z"})}),nt.jsx("g",{mask:"url(#mask0_873_174)",children:nt.jsx("path",{fill:"#E6007A",d:"M511.169 254.929C511.169 396.905 396.739 512 255.584 512 114.428 512-.001 396.905-.001 254.929S114.428-2.142 255.584-2.142c141.155 0 255.585 115.095 255.585 257.071"})}),nt.jsx("path",{fill:"#2B0532",d:"M183.804 160.44c-12.752-9.296-27.346-13.272-41.94-13.272h-89.63L5.63 367.567h117.053l9.399-44.802a86.4 86.4 0 0 0 28.32-8.371 104 104 0 0 0 4.133-2.155 97.7 97.7 0 0 0 14.779 24.342c8.258 9.967 18.342 17.785 29.802 23.435l.003.002.397.195.4.186c12.688 5.89 26.181 8.385 39.713 8.385 13.588 0 26.877-2.295 39.662-6.916a127 127 0 0 0 17.54-7.88l-2.871 13.579h117.052l9.4-44.802a86.4 86.4 0 0 0 28.32-8.371 101.4 101.4 0 0 0 28.939-21.348l.01-.011.159-.168.154-.167.003-.003c8.092-8.766 14.613-18.702 19.34-29.722 4.865-11.344 7.542-23.439 7.542-36.022 0-12.506-2.649-24.626-7.879-35.976-5.493-12.224-13.86-22.642-24.867-30.537-12.752-9.296-27.346-13.272-41.94-13.272h-89.631l-5.24 24.781c-7.026-6.908-15.096-12.504-24.009-16.758-12.764-6.233-26.404-8.834-40.034-8.834-13.589 0-26.878 2.295-39.662 6.916-12.145 4.39-23.444 10.507-33.804 18.268a133 133 0 0 0-7.099 5.68 74.6 74.6 0 0 0-16.911-16.781"}),nt.jsx("path",{fill:"#E6007A",fillRule:"evenodd",d:"m229.569 331.163.063.031.064.03c7.896 3.665 16.711 5.426 26.323 5.426 9.96 0 19.59-1.672 28.858-5.022a94.6 94.6 0 0 0 25.4-13.857c7.69-5.873 14.403-12.621 20.12-20.24l.016-.022.016-.022c5.708-7.75 10.156-16.036 13.319-24.849 3.326-9.027 5.005-18.25 5.005-27.639 0-8.458-1.303-16.601-3.928-24.399-2.514-8.002-6.373-15.177-11.585-21.468-5.277-6.369-11.756-11.363-19.365-14.972-7.797-3.835-16.58-5.669-26.205-5.669-9.961 0-19.591 1.673-28.858 5.022-9.165 3.313-17.687 7.924-25.551 13.819-7.719 5.752-14.51 12.512-20.362 20.265l-.01.014a97.4 97.4 0 0 0-13.544 24.867l-.015.04-.014.041c-3.181 9.016-4.784 18.219-4.784 27.583 0 8.482 1.311 16.702 3.94 24.634l.005.016.005.016c2.653 7.855 6.575 14.936 11.766 21.201 5.269 6.361 11.733 11.413 19.321 15.154m58.163-55.148.01-.015c2.998-4.343 5.197-8.955 6.622-13.852 1.467-5.04 2.176-9.872 2.176-14.513 0-4.335-.697-8.177-2.012-11.592l-.041-.109-.038-.11c-1.121-3.279-2.866-5.693-5.197-7.475-2.026-1.548-5.053-2.613-9.646-2.613-5.335 0-9.796 1.243-13.579 3.569l-.053.032-.053.031c-4.052 2.378-7.426 5.537-10.156 9.541a52.3 52.3 0 0 0-6.661 13.745c-1.454 5.016-2.157 9.826-2.157 14.447 0 4.358.638 8.321 1.862 11.932 1.246 3.306 3.081 5.852 5.484 7.803 2.047 1.543 5.008 2.569 9.387 2.569 5.495 0 10.017-1.255 13.78-3.568 4.107-2.524 7.515-5.779 10.262-9.808zM171.542 186.53c-6.663-4.89-14.525-7.228-23.288-7.228H84.491L51.478 335.434h51.685l9.273-44.204h15.658c8.698 0 16.935-1.893 24.636-5.69a69.4 69.4 0 0 0 19.864-14.652l.025-.027.025-.027c5.695-6.169 10.18-13.036 13.418-20.587 3.261-7.602 4.93-15.381 4.93-23.294 0-7.901-1.665-15.457-4.983-22.605-3.247-7.286-8.082-13.265-14.467-17.818m-35.967 55.601.023-.03c.765-1.001 1.462-2.391 1.969-4.328l.037-.142.044-.141c.574-1.827.929-4.221.929-7.293 0-2.333-.311-3.426-.466-3.769a4 4 0 0 0-.222-.434l-.027-.045-.013-.01h-11.5l-3.905 18.655h10.249c.063-.013.306-.078.757-.35.511-.309 1.235-.919 2.103-2.084zM469.872 186.53c-6.663-4.89-14.525-7.228-23.289-7.228h-63.762l-33.014 156.132h51.686l9.273-44.204h15.658c8.698 0 16.935-1.893 24.636-5.69a69.4 69.4 0 0 0 19.863-14.652l.026-.027.024-.027c5.696-6.169 10.18-13.036 13.419-20.587 3.26-7.602 4.93-15.381 4.93-23.294 0-7.901-1.665-15.457-4.983-22.605-3.247-7.286-8.082-13.265-14.467-17.818m-35.967 55.601.023-.03c.765-1.001 1.462-2.391 1.968-4.328l.038-.142.044-.141c.574-1.827.929-4.221.929-7.293 0-2.333-.311-3.426-.466-3.769a4 4 0 0 0-.222-.434l-.027-.045-.014-.01h-11.5l-3.904 18.655h10.249c.063-.013.306-.078.756-.35.511-.309 1.235-.919 2.104-2.084z",clipRule:"evenodd"}),nt.jsxs("mask",{id:"path-6-outside-1_873_174",width:"435",height:"156",x:"35.823",y:"166.788",fill:"#000",maskUnits:"userSpaceOnUse",children:[nt.jsx("path",{fill:"#fff",d:"M35.823 166.788h435v156h-435z"}),nt.jsx("path",{fillRule:"evenodd",d:"M68.98 168.599h62.13c8.395 0 15.832 2.234 22.11 6.846 6.094 4.342 10.707 10.041 13.812 17.016 3.197 6.883 4.8 14.151 4.8 21.761 0 7.619-1.606 15.125-4.765 22.491-3.145 7.332-7.501 14.006-13.045 20.011l-.016.018-.017.017a67.4 67.4 0 0 1-19.29 14.23c-7.419 3.657-15.352 5.483-23.749 5.483H93.657l-9.273 44.203h-47.56zm21.407 103.817h20.563q11.693 0 21.974-5.069a63.3 63.3 0 0 0 18.144-13.383q7.862-8.516 12.297-18.857t4.435-20.885-4.435-20.074q-4.233-9.53-12.499-15.41-8.265-6.084-19.756-6.083H72.244L41.803 316.62h39.31zm29.65-41.79.015-.019c.958-1.253 1.758-2.901 2.32-5.048l.025-.096.03-.093c.651-2.074 1.022-4.685 1.022-7.904 0-2.456-.319-3.883-.647-4.607-.44-.975-.761-1.204-.76-1.206l-.166-.095-.166-.119c-.311-.224-.51-.259-.68-.259h-13.461l-4.754 22.71h12.772c.292 0 .857-.096 1.756-.638.788-.476 1.697-1.289 2.679-2.606zm-22.19 7.32 6.45-30.821h16.733q1.612 0 3.024 1.014 1.411.811 2.419 3.041t1.008 6.286q0 5.272-1.21 9.125-1.008 3.852-3.024 6.488-1.814 2.433-3.83 3.65t-3.83 1.217zm115.507 78.686-.042-.021c-7.343-3.62-13.579-8.498-18.66-14.63-5.028-6.07-8.83-12.931-11.405-20.555l-.007-.022c-2.559-7.721-3.836-15.725-3.836-23.993 0-9.126 1.562-18.1 4.668-26.904l.009-.028.01-.027a95.4 95.4 0 0 1 13.263-24.351l.007-.009c5.738-7.601 12.392-14.225 19.957-19.863 7.707-5.777 16.054-10.293 25.032-13.538 9.045-3.27 18.444-4.903 28.176-4.903 9.373 0 17.85 1.786 25.332 5.469 7.357 3.487 13.603 8.304 18.689 14.442 5.043 6.087 8.78 13.033 11.217 20.801 2.557 7.586 3.829 15.516 3.829 23.768 0 9.144-1.635 18.132-4.883 26.944-3.094 8.623-7.448 16.738-13.045 24.337l-.01.015-.011.014c-5.604 7.468-12.184 14.085-19.73 19.847a92.6 92.6 0 0 1-24.863 13.564c-9.045 3.27-18.445 4.903-28.176 4.903-9.365 0-17.885-1.715-25.478-5.24zm107.57-58.815q4.638-12.571 4.637-25.549 0-11.76-3.629-22.507-3.427-10.95-10.483-19.466-7.055-8.516-17.337-13.382-10.281-5.07-23.586-5.07-13.91 0-26.813 4.664t-23.99 12.977q-10.886 8.111-19.151 19.06a91.3 91.3 0 0 0-12.701 23.319q-4.434 12.571-4.435 25.548 0 11.762 3.629 22.71 3.629 10.748 10.685 19.263 7.055 8.517 17.337 13.586 10.482 4.866 23.788 4.866 13.91 0 26.812-4.663a88.6 88.6 0 0 0 23.788-12.977q10.887-8.314 18.95-19.061 8.065-10.949 12.499-23.318m-48.684 6.628.014-.019c3.119-4.518 5.413-9.327 6.901-14.439 1.515-5.208 2.257-10.231 2.257-15.083 0-4.557-.734-8.65-2.148-12.324l-.027-.072-.025-.074c-1.24-3.628-3.21-6.386-5.885-8.43-2.47-1.889-5.966-3.026-10.865-3.026-5.662 0-10.495 1.324-14.63 3.866l-.036.021-.035.021c-4.314 2.531-7.907 5.899-10.802 10.146a54.3 54.3 0 0 0-6.928 14.3c-1.506 5.191-2.244 10.2-2.244 15.038 0 4.574.672 8.77 1.981 12.619 1.368 3.647 3.421 6.515 6.143 8.717 2.483 1.882 5.911 2.996 10.625 2.996 5.813 0 10.71-1.332 14.831-3.866 4.351-2.674 7.967-6.128 10.873-10.391m-38.808 14.46q-5.04-4.056-7.459-10.544-2.217-6.489-2.218-13.991 0-7.908 2.42-16.221a58.3 58.3 0 0 1 7.459-15.411q4.838-7.096 12.095-11.355 7.258-4.461 16.733-4.461 8.265 0 13.305 3.853 5.04 3.852 7.257 10.341 2.42 6.287 2.42 13.788 0 7.908-2.42 16.222-2.418 8.313-7.459 15.613-4.838 7.097-12.095 11.558t-16.934 4.46q-8.064 0-13.104-3.852m133.877-110.306h62.13c8.396 0 15.833 2.234 22.111 6.846 6.094 4.342 10.706 10.04 13.811 17.015 3.198 6.884 4.801 14.151 4.801 21.762 0 7.619-1.606 15.125-4.765 22.491-3.145 7.332-7.501 14.006-13.045 20.011l-.017.018-.016.017a67.4 67.4 0 0 1-19.291 14.23c-7.418 3.657-15.351 5.483-23.748 5.483h-17.293l-9.273 44.203h-47.561zm21.408 103.817h20.563q11.693 0 21.974-5.069a63.3 63.3 0 0 0 18.143-13.383q7.863-8.516 12.298-18.857t4.435-20.885-4.435-20.074q-4.234-9.53-12.499-15.41-8.265-6.084-19.757-6.083h-58.865L340.133 316.62h39.311zm29.649-41.79.015-.019c.959-1.253 1.759-2.901 2.321-5.048l.025-.096.029-.093c.652-2.074 1.023-4.685 1.023-7.904 0-2.456-.319-3.883-.647-4.607-.44-.975-.761-1.204-.76-1.206l-.166-.095-.166-.119c-.311-.224-.51-.259-.68-.259h-13.461l-4.754 22.71h12.772c.292 0 .857-.096 1.756-.638.788-.476 1.696-1.289 2.679-2.606zm-22.19 7.32 6.451-30.821h16.733q1.613 0 3.024 1.014 1.41.811 2.419 3.041 1.008 2.231 1.008 6.286 0 5.272-1.21 9.125-1.008 3.852-3.024 6.488-1.814 2.433-3.83 3.65t-3.83 1.217z",clipRule:"evenodd"})]}),nt.jsx("path",{fill:"#fff",fillRule:"evenodd",d:"M68.98 168.599h62.13c8.395 0 15.832 2.234 22.11 6.846 6.094 4.342 10.707 10.041 13.812 17.016 3.197 6.883 4.8 14.151 4.8 21.761 0 7.619-1.606 15.125-4.765 22.491-3.145 7.332-7.501 14.006-13.045 20.011l-.016.018-.017.017a67.4 67.4 0 0 1-19.29 14.23c-7.419 3.657-15.352 5.483-23.749 5.483H93.657l-9.273 44.203h-47.56zm21.407 103.817h20.563q11.693 0 21.974-5.069a63.3 63.3 0 0 0 18.144-13.383q7.862-8.516 12.297-18.857t4.435-20.885-4.435-20.074q-4.233-9.53-12.499-15.41-8.265-6.084-19.756-6.083H72.244L41.803 316.62h39.31zm29.65-41.79.015-.019c.958-1.253 1.758-2.901 2.32-5.048l.025-.096.03-.093c.651-2.074 1.022-4.685 1.022-7.904 0-2.456-.319-3.883-.647-4.607-.44-.975-.761-1.204-.76-1.206l-.166-.095-.166-.119c-.311-.224-.51-.259-.68-.259h-13.461l-4.754 22.71h12.772c.292 0 .857-.096 1.756-.638.788-.476 1.697-1.289 2.679-2.606zm-22.19 7.32 6.45-30.821h16.733q1.612 0 3.024 1.014 1.411.811 2.419 3.041t1.008 6.286q0 5.272-1.21 9.125-1.008 3.852-3.024 6.488-1.814 2.433-3.83 3.65t-3.83 1.217zm115.507 78.686-.042-.021c-7.343-3.62-13.579-8.498-18.66-14.63-5.028-6.07-8.83-12.931-11.405-20.555l-.007-.022c-2.559-7.721-3.836-15.725-3.836-23.993 0-9.126 1.562-18.1 4.668-26.904l.009-.028.01-.027a95.4 95.4 0 0 1 13.263-24.351l.007-.009c5.738-7.601 12.392-14.225 19.957-19.863 7.707-5.777 16.054-10.293 25.032-13.538 9.045-3.27 18.444-4.903 28.176-4.903 9.373 0 17.85 1.786 25.332 5.469 7.357 3.487 13.603 8.304 18.689 14.442 5.043 6.087 8.78 13.033 11.217 20.801 2.557 7.586 3.829 15.516 3.829 23.768 0 9.144-1.635 18.132-4.883 26.944-3.094 8.623-7.448 16.738-13.045 24.337l-.01.015-.011.014c-5.604 7.468-12.184 14.085-19.73 19.847a92.6 92.6 0 0 1-24.863 13.564c-9.045 3.27-18.445 4.903-28.176 4.903-9.365 0-17.885-1.715-25.478-5.24zm107.57-58.815q4.638-12.571 4.637-25.549 0-11.76-3.629-22.507-3.427-10.95-10.483-19.466-7.055-8.516-17.337-13.382-10.281-5.07-23.586-5.07-13.91 0-26.813 4.664t-23.99 12.977q-10.886 8.111-19.151 19.06a91.3 91.3 0 0 0-12.701 23.319q-4.434 12.571-4.435 25.548 0 11.762 3.629 22.71 3.629 10.748 10.685 19.263 7.055 8.517 17.337 13.586 10.482 4.866 23.788 4.866 13.91 0 26.812-4.663a88.6 88.6 0 0 0 23.788-12.977q10.887-8.314 18.95-19.061 8.065-10.949 12.499-23.318m-48.684 6.628.014-.019c3.119-4.518 5.413-9.327 6.901-14.439 1.515-5.208 2.257-10.231 2.257-15.083 0-4.557-.734-8.65-2.148-12.324l-.027-.072-.025-.074c-1.24-3.628-3.21-6.386-5.885-8.43-2.47-1.889-5.966-3.026-10.865-3.026-5.662 0-10.495 1.324-14.63 3.866l-.036.021-.035.021c-4.314 2.531-7.907 5.899-10.802 10.146a54.3 54.3 0 0 0-6.928 14.3c-1.506 5.191-2.244 10.2-2.244 15.038 0 4.574.672 8.77 1.981 12.619 1.368 3.647 3.421 6.515 6.143 8.717 2.483 1.882 5.911 2.996 10.625 2.996 5.813 0 10.71-1.332 14.831-3.866 4.351-2.674 7.967-6.128 10.873-10.391m-38.808 14.46q-5.04-4.056-7.459-10.544-2.217-6.489-2.218-13.991 0-7.908 2.42-16.221a58.3 58.3 0 0 1 7.459-15.411q4.838-7.096 12.095-11.355 7.258-4.461 16.733-4.461 8.265 0 13.305 3.853 5.04 3.852 7.257 10.341 2.42 6.287 2.42 13.788 0 7.908-2.42 16.222-2.418 8.313-7.459 15.613-4.838 7.097-12.095 11.558t-16.934 4.46q-8.064 0-13.104-3.852m133.877-110.306h62.13c8.396 0 15.833 2.234 22.111 6.846 6.094 4.342 10.706 10.04 13.811 17.015 3.198 6.884 4.801 14.151 4.801 21.762 0 7.619-1.606 15.125-4.765 22.491-3.145 7.332-7.501 14.006-13.045 20.011l-.017.018-.016.017a67.4 67.4 0 0 1-19.291 14.23c-7.418 3.657-15.351 5.483-23.748 5.483h-17.293l-9.273 44.203h-47.561zm21.408 103.817h20.563q11.693 0 21.974-5.069a63.3 63.3 0 0 0 18.143-13.383q7.863-8.516 12.298-18.857t4.435-20.885-4.435-20.074q-4.234-9.53-12.499-15.41-8.265-6.084-19.757-6.083h-58.865L340.133 316.62h39.311zm29.649-41.79.015-.019c.959-1.253 1.759-2.901 2.321-5.048l.025-.096.029-.093c.652-2.074 1.023-4.685 1.023-7.904 0-2.456-.319-3.883-.647-4.607-.44-.975-.761-1.204-.76-1.206l-.166-.095-.166-.119c-.311-.224-.51-.259-.68-.259h-13.461l-4.754 22.71h12.772c.292 0 .857-.096 1.756-.638.788-.476 1.696-1.289 2.679-2.606zm-22.19 7.32 6.451-30.821h16.733q1.613 0 3.024 1.014 1.41.811 2.419 3.041 1.008 2.231 1.008 6.286 0 5.272-1.21 9.125-1.008 3.852-3.024 6.488-1.814 2.433-3.83 3.65t-3.83 1.217z",clipRule:"evenodd"}),nt.jsx("path",{stroke:"#fff",strokeWidth:"0.3",d:"M68.98 168.599h62.13c8.395 0 15.832 2.234 22.11 6.846 6.094 4.342 10.707 10.041 13.812 17.016 3.197 6.883 4.8 14.151 4.8 21.761 0 7.619-1.606 15.125-4.765 22.491-3.145 7.332-7.501 14.006-13.045 20.011l-.016.018-.017.017a67.4 67.4 0 0 1-19.29 14.23c-7.419 3.657-15.352 5.483-23.749 5.483H93.657l-9.273 44.203h-47.56zm21.407 103.817h20.563q11.693 0 21.974-5.069a63.3 63.3 0 0 0 18.144-13.383q7.862-8.516 12.297-18.857t4.435-20.885-4.435-20.074q-4.233-9.53-12.499-15.41-8.265-6.084-19.756-6.083H72.244L41.803 316.62h39.31zm29.65-41.79.015-.019c.958-1.253 1.758-2.901 2.32-5.048l.025-.096.03-.093c.651-2.074 1.022-4.685 1.022-7.904 0-2.456-.319-3.883-.647-4.607-.44-.975-.761-1.204-.76-1.206l-.166-.095-.166-.119c-.311-.224-.51-.259-.68-.259h-13.461l-4.754 22.71h12.772c.292 0 .857-.096 1.756-.638.788-.476 1.697-1.289 2.679-2.606zm-22.19 7.32 6.45-30.821h16.733q1.612 0 3.024 1.014 1.411.811 2.419 3.041t1.008 6.286q0 5.272-1.21 9.125-1.008 3.852-3.024 6.488-1.814 2.433-3.83 3.65t-3.83 1.217zm115.507 78.686-.042-.021c-7.343-3.62-13.579-8.498-18.66-14.63-5.028-6.07-8.83-12.931-11.405-20.555l-.007-.022c-2.559-7.721-3.836-15.725-3.836-23.993 0-9.126 1.562-18.1 4.668-26.904l.009-.028.01-.027a95.4 95.4 0 0 1 13.263-24.351l.007-.009c5.738-7.601 12.392-14.225 19.957-19.863 7.707-5.777 16.054-10.293 25.032-13.538 9.045-3.27 18.444-4.903 28.176-4.903 9.373 0 17.85 1.786 25.332 5.469 7.357 3.487 13.603 8.304 18.689 14.442 5.043 6.087 8.78 13.033 11.217 20.801 2.557 7.586 3.829 15.516 3.829 23.768 0 9.144-1.635 18.132-4.883 26.944-3.094 8.623-7.448 16.738-13.045 24.337l-.01.015-.011.014c-5.604 7.468-12.184 14.085-19.73 19.847a92.6 92.6 0 0 1-24.863 13.564c-9.045 3.27-18.445 4.903-28.176 4.903-9.365 0-17.885-1.715-25.478-5.24zm107.57-58.815q4.638-12.571 4.637-25.549 0-11.76-3.629-22.507-3.427-10.95-10.483-19.466-7.055-8.516-17.337-13.382-10.281-5.07-23.586-5.07-13.91 0-26.813 4.664t-23.99 12.977q-10.886 8.111-19.151 19.06a91.3 91.3 0 0 0-12.701 23.319q-4.434 12.571-4.435 25.548 0 11.762 3.629 22.71 3.629 10.748 10.685 19.263 7.055 8.517 17.337 13.586 10.482 4.866 23.788 4.866 13.91 0 26.812-4.663a88.6 88.6 0 0 0 23.788-12.977q10.887-8.314 18.95-19.061 8.065-10.949 12.499-23.318Zm-48.684 6.628.014-.019c3.119-4.518 5.413-9.327 6.901-14.439 1.515-5.208 2.257-10.231 2.257-15.083 0-4.557-.734-8.65-2.148-12.324l-.027-.072-.025-.074c-1.24-3.628-3.21-6.386-5.885-8.43-2.47-1.889-5.966-3.026-10.865-3.026-5.662 0-10.495 1.324-14.63 3.866l-.036.021-.035.021c-4.314 2.531-7.907 5.899-10.802 10.146a54.3 54.3 0 0 0-6.928 14.3c-1.506 5.191-2.244 10.2-2.244 15.038 0 4.574.672 8.77 1.981 12.619 1.368 3.647 3.421 6.515 6.143 8.717 2.483 1.882 5.911 2.996 10.625 2.996 5.813 0 10.71-1.332 14.831-3.866 4.351-2.674 7.967-6.128 10.873-10.391Zm-38.808 14.46q-5.04-4.056-7.459-10.544-2.217-6.489-2.218-13.991 0-7.908 2.42-16.221a58.3 58.3 0 0 1 7.459-15.411q4.838-7.096 12.095-11.355 7.258-4.461 16.733-4.461 8.265 0 13.305 3.853 5.04 3.852 7.257 10.341 2.42 6.287 2.42 13.788 0 7.908-2.42 16.222-2.418 8.313-7.459 15.613-4.838 7.097-12.095 11.558t-16.934 4.46q-8.064 0-13.104-3.852Zm133.877-110.306h62.13c8.396 0 15.833 2.234 22.111 6.846 6.094 4.342 10.706 10.04 13.811 17.015 3.198 6.884 4.801 14.151 4.801 21.762 0 7.619-1.606 15.125-4.765 22.491-3.145 7.332-7.501 14.006-13.045 20.011l-.017.018-.016.017a67.4 67.4 0 0 1-19.291 14.23c-7.418 3.657-15.351 5.483-23.748 5.483h-17.293l-9.273 44.203h-47.561zm21.408 103.817h20.563q11.693 0 21.974-5.069a63.3 63.3 0 0 0 18.143-13.383q7.863-8.516 12.298-18.857t4.435-20.885-4.435-20.074q-4.234-9.53-12.499-15.41-8.265-6.084-19.757-6.083h-58.865L340.133 316.62h39.311zm29.649-41.79.015-.019c.959-1.253 1.759-2.901 2.321-5.048l.025-.096.029-.093c.652-2.074 1.023-4.685 1.023-7.904 0-2.456-.319-3.883-.647-4.607-.44-.975-.761-1.204-.76-1.206l-.166-.095-.166-.119c-.311-.224-.51-.259-.68-.259h-13.461l-4.754 22.71h12.772c.292 0 .857-.096 1.756-.638.788-.476 1.696-1.289 2.679-2.606zm-22.19 7.32 6.451-30.821h16.733q1.613 0 3.024 1.014 1.41.811 2.419 3.041 1.008 2.231 1.008 6.286 0 5.272-1.21 9.125-1.008 3.852-3.024 6.488-1.814 2.433-3.83 3.65t-3.83 1.217z",clipRule:"evenodd",mask:"url(#path-6-outside-1_873_174)"})]}),nt.jsxs("defs",{children:[nt.jsxs("radialGradient",{id:"paint0_radial_873_174",cx:"0",cy:"0",r:"1",gradientTransform:"matrix(229.99965 647.20057 -371.3092 131.95444 -62.8 -86.4)",gradientUnits:"userSpaceOnUse",children:[nt.jsx("stop",{stopColor:"#6335EC"}),nt.jsx("stop",{offset:"1",stopOpacity:"0"})]}),nt.jsxs("radialGradient",{id:"paint1_radial_873_174",cx:"0",cy:"0",r:"1",gradientTransform:"rotate(-116.448 530.068 140.453)scale(1055.25 662.094)",gradientUnits:"userSpaceOnUse",children:[nt.jsx("stop",{stopColor:"#E6007A"}),nt.jsx("stop",{offset:"1",stopOpacity:"0"})]}),nt.jsx("clipPath",{id:"clip0_873_174",children:nt.jsx("rect",{width:"512",height:"512",fill:"#fff",rx:"256"})})]})]});rt.createRoot(document.getElementById("root")).render(nt.jsx(Ke.StrictMode,{children:nt.jsx(iz,{})}));