diff --git a/404.html b/404.html index 94fe5ec..f8e5fbc 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/_next/static/chunks/pages/_app-f632ccc9515a530b.js b/_next/static/chunks/pages/_app-7861ba8208fc74c7.js similarity index 51% rename from _next/static/chunks/pages/_app-f632ccc9515a530b.js rename to _next/static/chunks/pages/_app-7861ba8208fc74c7.js index 85b3861..45bb952 100644 --- a/_next/static/chunks/pages/_app-f632ccc9515a530b.js +++ b/_next/static/chunks/pages/_app-7861ba8208fc74c7.js @@ -1,4 +1,4 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{3498:function(e,t,n){"use strict";n.d(t,{AS7:function(){return T},BGW:function(){return x},Hf3:function(){return l},NWY:function(){return C},NhS:function(){return c},UG6:function(){return g},VZf:function(){return k},_Ve:function(){return y},kLh:function(){return w},nWS:function(){return h},veu:function(){return s},xrR:function(){return f}});var r=n(4177);function i(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}var o=["color"],s=(0,r.forwardRef)(function(e,t){var n=e.color,s=i(e,o);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s,{ref:t}),(0,r.createElement)("path",{d:"M7.5 2C7.77614 2 8 2.22386 8 2.5L8 11.2929L11.1464 8.14645C11.3417 7.95118 11.6583 7.95118 11.8536 8.14645C12.0488 8.34171 12.0488 8.65829 11.8536 8.85355L7.85355 12.8536C7.75979 12.9473 7.63261 13 7.5 13C7.36739 13 7.24021 12.9473 7.14645 12.8536L3.14645 8.85355C2.95118 8.65829 2.95118 8.34171 3.14645 8.14645C3.34171 7.95118 3.65829 7.95118 3.85355 8.14645L7 11.2929L7 2.5C7 2.22386 7.22386 2 7.5 2Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),a=["color"],l=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,a);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M7.14645 2.14645C7.34171 1.95118 7.65829 1.95118 7.85355 2.14645L11.8536 6.14645C12.0488 6.34171 12.0488 6.65829 11.8536 6.85355C11.6583 7.04882 11.3417 7.04882 11.1464 6.85355L8 3.70711L8 12.5C8 12.7761 7.77614 13 7.5 13C7.22386 13 7 12.7761 7 12.5L7 3.70711L3.85355 6.85355C3.65829 7.04882 3.34171 7.04882 3.14645 6.85355C2.95118 6.65829 2.95118 6.34171 3.14645 6.14645L7.14645 2.14645Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),u=["color"],c=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,u);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M7.49991 0.877045C3.84222 0.877045 0.877075 3.84219 0.877075 7.49988C0.877075 11.1575 3.84222 14.1227 7.49991 14.1227C11.1576 14.1227 14.1227 11.1575 14.1227 7.49988C14.1227 3.84219 11.1576 0.877045 7.49991 0.877045ZM1.82708 7.49988C1.82708 4.36686 4.36689 1.82704 7.49991 1.82704C10.6329 1.82704 13.1727 4.36686 13.1727 7.49988C13.1727 10.6329 10.6329 13.1727 7.49991 13.1727C4.36689 13.1727 1.82708 10.6329 1.82708 7.49988ZM10.1589 5.53774C10.3178 5.31191 10.2636 5.00001 10.0378 4.84109C9.81194 4.68217 9.50004 4.73642 9.34112 4.96225L6.51977 8.97154L5.35681 7.78706C5.16334 7.59002 4.84677 7.58711 4.64973 7.78058C4.45268 7.97404 4.44978 8.29061 4.64325 8.48765L6.22658 10.1003C6.33054 10.2062 6.47617 10.2604 6.62407 10.2483C6.77197 10.2363 6.90686 10.1591 6.99226 10.0377L10.1589 5.53774Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),d=["color"],f=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,d);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704ZM9.85358 5.14644C10.0488 5.3417 10.0488 5.65829 9.85358 5.85355L8.20713 7.49999L9.85358 9.14644C10.0488 9.3417 10.0488 9.65829 9.85358 9.85355C9.65832 10.0488 9.34173 10.0488 9.14647 9.85355L7.50002 8.2071L5.85358 9.85355C5.65832 10.0488 5.34173 10.0488 5.14647 9.85355C4.95121 9.65829 4.95121 9.3417 5.14647 9.14644L6.79292 7.49999L5.14647 5.85355C4.95121 5.65829 4.95121 5.3417 5.14647 5.14644C5.34173 4.95118 5.65832 4.95118 5.85358 5.14644L7.50002 6.79289L9.14647 5.14644C9.34173 4.95118 9.65832 4.95118 9.85358 5.14644Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),p=["color"],h=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,p);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M3.625 7.5C3.625 8.12132 3.12132 8.625 2.5 8.625C1.87868 8.625 1.375 8.12132 1.375 7.5C1.375 6.87868 1.87868 6.375 2.5 6.375C3.12132 6.375 3.625 6.87868 3.625 7.5ZM8.625 7.5C8.625 8.12132 8.12132 8.625 7.5 8.625C6.87868 8.625 6.375 8.12132 6.375 7.5C6.375 6.87868 6.87868 6.375 7.5 6.375C8.12132 6.375 8.625 6.87868 8.625 7.5ZM12.5 8.625C13.1213 8.625 13.625 8.12132 13.625 7.5C13.625 6.87868 13.1213 6.375 12.5 6.375C11.8787 6.375 11.375 6.87868 11.375 7.5C11.375 8.12132 11.8787 8.625 12.5 8.625Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),m=["color"],g=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,m);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M7.07095 0.650238C6.67391 0.650238 6.32977 0.925096 6.24198 1.31231L6.0039 2.36247C5.6249 2.47269 5.26335 2.62363 4.92436 2.81013L4.01335 2.23585C3.67748 2.02413 3.23978 2.07312 2.95903 2.35386L2.35294 2.95996C2.0722 3.2407 2.0232 3.6784 2.23493 4.01427L2.80942 4.92561C2.62307 5.2645 2.47227 5.62594 2.36216 6.00481L1.31209 6.24287C0.924883 6.33065 0.650024 6.6748 0.650024 7.07183V7.92897C0.650024 8.32601 0.924883 8.67015 1.31209 8.75794L2.36228 8.99603C2.47246 9.375 2.62335 9.73652 2.80979 10.0755L2.2354 10.9867C2.02367 11.3225 2.07267 11.7602 2.35341 12.041L2.95951 12.6471C3.24025 12.9278 3.67795 12.9768 4.01382 12.7651L4.92506 12.1907C5.26384 12.377 5.62516 12.5278 6.0039 12.6379L6.24198 13.6881C6.32977 14.0753 6.67391 14.3502 7.07095 14.3502H7.92809C8.32512 14.3502 8.66927 14.0753 8.75705 13.6881L8.99505 12.6383C9.37411 12.5282 9.73573 12.3773 10.0748 12.1909L10.986 12.7653C11.3218 12.977 11.7595 12.928 12.0403 12.6473L12.6464 12.0412C12.9271 11.7604 12.9761 11.3227 12.7644 10.9869L12.1902 10.076C12.3768 9.73688 12.5278 9.37515 12.638 8.99596L13.6879 8.75794C14.0751 8.67015 14.35 8.32601 14.35 7.92897V7.07183C14.35 6.6748 14.0751 6.33065 13.6879 6.24287L12.6381 6.00488C12.528 5.62578 12.3771 5.26414 12.1906 4.92507L12.7648 4.01407C12.9766 3.6782 12.9276 3.2405 12.6468 2.95975L12.0407 2.35366C11.76 2.07292 11.3223 2.02392 10.9864 2.23565L10.0755 2.80989C9.73622 2.62328 9.37437 2.47229 8.99505 2.36209L8.75705 1.31231C8.66927 0.925096 8.32512 0.650238 7.92809 0.650238H7.07095ZM4.92053 3.81251C5.44724 3.44339 6.05665 3.18424 6.71543 3.06839L7.07095 1.50024H7.92809L8.28355 3.06816C8.94267 3.18387 9.5524 3.44302 10.0794 3.81224L11.4397 2.9547L12.0458 3.56079L11.1882 4.92117C11.5573 5.44798 11.8164 6.0575 11.9321 6.71638L13.5 7.07183V7.92897L11.932 8.28444C11.8162 8.94342 11.557 9.55301 11.1878 10.0798L12.0453 11.4402L11.4392 12.0462L10.0787 11.1886C9.55192 11.5576 8.94241 11.8166 8.28355 11.9323L7.92809 13.5002H7.07095L6.71543 11.932C6.0569 11.8162 5.44772 11.5572 4.92116 11.1883L3.56055 12.046L2.95445 11.4399L3.81213 10.0794C3.4431 9.55266 3.18403 8.94326 3.06825 8.2845L1.50002 7.92897V7.07183L3.06818 6.71632C3.18388 6.05765 3.44283 5.44833 3.81171 4.92165L2.95398 3.561L3.56008 2.95491L4.92053 3.81251ZM9.02496 7.50008C9.02496 8.34226 8.34223 9.02499 7.50005 9.02499C6.65786 9.02499 5.97513 8.34226 5.97513 7.50008C5.97513 6.65789 6.65786 5.97516 7.50005 5.97516C8.34223 5.97516 9.02496 6.65789 9.02496 7.50008ZM9.92496 7.50008C9.92496 8.83932 8.83929 9.92499 7.50005 9.92499C6.1608 9.92499 5.07513 8.83932 5.07513 7.50008C5.07513 6.16084 6.1608 5.07516 7.50005 5.07516C8.83929 5.07516 9.92496 6.16084 9.92496 7.50008Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),v=["color"],y=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,v);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),b=["color"],w=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,b);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M2.89998 0.499976C2.89998 0.279062 2.72089 0.0999756 2.49998 0.0999756C2.27906 0.0999756 2.09998 0.279062 2.09998 0.499976V1.09998H1.49998C1.27906 1.09998 1.09998 1.27906 1.09998 1.49998C1.09998 1.72089 1.27906 1.89998 1.49998 1.89998H2.09998V2.49998C2.09998 2.72089 2.27906 2.89998 2.49998 2.89998C2.72089 2.89998 2.89998 2.72089 2.89998 2.49998V1.89998H3.49998C3.72089 1.89998 3.89998 1.72089 3.89998 1.49998C3.89998 1.27906 3.72089 1.09998 3.49998 1.09998H2.89998V0.499976ZM5.89998 3.49998C5.89998 3.27906 5.72089 3.09998 5.49998 3.09998C5.27906 3.09998 5.09998 3.27906 5.09998 3.49998V4.09998H4.49998C4.27906 4.09998 4.09998 4.27906 4.09998 4.49998C4.09998 4.72089 4.27906 4.89998 4.49998 4.89998H5.09998V5.49998C5.09998 5.72089 5.27906 5.89998 5.49998 5.89998C5.72089 5.89998 5.89998 5.72089 5.89998 5.49998V4.89998H6.49998C6.72089 4.89998 6.89998 4.72089 6.89998 4.49998C6.89998 4.27906 6.72089 4.09998 6.49998 4.09998H5.89998V3.49998ZM1.89998 6.49998C1.89998 6.27906 1.72089 6.09998 1.49998 6.09998C1.27906 6.09998 1.09998 6.27906 1.09998 6.49998V7.09998H0.499976C0.279062 7.09998 0.0999756 7.27906 0.0999756 7.49998C0.0999756 7.72089 0.279062 7.89998 0.499976 7.89998H1.09998V8.49998C1.09998 8.72089 1.27906 8.89997 1.49998 8.89997C1.72089 8.89997 1.89998 8.72089 1.89998 8.49998V7.89998H2.49998C2.72089 7.89998 2.89998 7.72089 2.89998 7.49998C2.89998 7.27906 2.72089 7.09998 2.49998 7.09998H1.89998V6.49998ZM8.54406 0.98184L8.24618 0.941586C8.03275 0.917676 7.90692 1.1655 8.02936 1.34194C8.17013 1.54479 8.29981 1.75592 8.41754 1.97445C8.91878 2.90485 9.20322 3.96932 9.20322 5.10022C9.20322 8.37201 6.82247 11.0878 3.69887 11.6097C3.45736 11.65 3.20988 11.6772 2.96008 11.6906C2.74563 11.702 2.62729 11.9535 2.77721 12.1072C2.84551 12.1773 2.91535 12.2458 2.98667 12.3128L3.05883 12.3795L3.31883 12.6045L3.50684 12.7532L3.62796 12.8433L3.81491 12.9742L3.99079 13.089C4.11175 13.1651 4.23536 13.2375 4.36157 13.3059L4.62496 13.4412L4.88553 13.5607L5.18837 13.6828L5.43169 13.7686C5.56564 13.8128 5.70149 13.8529 5.83857 13.8885C5.94262 13.9155 6.04767 13.9401 6.15405 13.9622C6.27993 13.9883 6.40713 14.0109 6.53544 14.0298L6.85241 14.0685L7.11934 14.0892C7.24637 14.0965 7.37436 14.1002 7.50322 14.1002C11.1483 14.1002 14.1032 11.1453 14.1032 7.50023C14.1032 7.25044 14.0893 7.00389 14.0623 6.76131L14.0255 6.48407C13.991 6.26083 13.9453 6.04129 13.8891 5.82642C13.8213 5.56709 13.7382 5.31398 13.6409 5.06881L13.5279 4.80132L13.4507 4.63542L13.3766 4.48666C13.2178 4.17773 13.0353 3.88295 12.8312 3.60423L12.6782 3.40352L12.4793 3.16432L12.3157 2.98361L12.1961 2.85951L12.0355 2.70246L11.8134 2.50184L11.4925 2.24191L11.2483 2.06498L10.9562 1.87446L10.6346 1.68894L10.3073 1.52378L10.1938 1.47176L9.95488 1.3706L9.67791 1.2669L9.42566 1.1846L9.10075 1.09489L8.83599 1.03486L8.54406 0.98184ZM10.4032 5.30023C10.4032 4.27588 10.2002 3.29829 9.83244 2.40604C11.7623 3.28995 13.1032 5.23862 13.1032 7.50023C13.1032 10.593 10.596 13.1002 7.50322 13.1002C6.63646 13.1002 5.81597 12.9036 5.08355 12.5522C6.5419 12.0941 7.81081 11.2082 8.74322 10.0416C8.87963 10.2284 9.10028 10.3497 9.34928 10.3497C9.76349 10.3497 10.0993 10.0139 10.0993 9.59971C10.0993 9.24256 9.84965 8.94373 9.51535 8.86816C9.57741 8.75165 9.63653 8.63334 9.6926 8.51332C9.88358 8.63163 10.1088 8.69993 10.35 8.69993C11.0403 8.69993 11.6 8.14028 11.6 7.44993C11.6 6.75976 11.0406 6.20024 10.3505 6.19993C10.3853 5.90487 10.4032 5.60464 10.4032 5.30023Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),_=["color"],x=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,_);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M1.84998 7.49998C1.84998 4.66458 4.05979 1.84998 7.49998 1.84998C10.2783 1.84998 11.6515 3.9064 12.2367 5H10.5C10.2239 5 10 5.22386 10 5.5C10 5.77614 10.2239 6 10.5 6H13.5C13.7761 6 14 5.77614 14 5.5V2.5C14 2.22386 13.7761 2 13.5 2C13.2239 2 13 2.22386 13 2.5V4.31318C12.2955 3.07126 10.6659 0.849976 7.49998 0.849976C3.43716 0.849976 0.849976 4.18537 0.849976 7.49998C0.849976 10.8146 3.43716 14.15 7.49998 14.15C9.44382 14.15 11.0622 13.3808 12.2145 12.2084C12.8315 11.5806 13.3133 10.839 13.6418 10.0407C13.7469 9.78536 13.6251 9.49315 13.3698 9.38806C13.1144 9.28296 12.8222 9.40478 12.7171 9.66014C12.4363 10.3425 12.0251 10.9745 11.5013 11.5074C10.5295 12.4963 9.16504 13.15 7.49998 13.15C4.05979 13.15 1.84998 10.3354 1.84998 7.49998Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),E=["color"],C=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,E);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M7.5 0C7.77614 0 8 0.223858 8 0.5V2.5C8 2.77614 7.77614 3 7.5 3C7.22386 3 7 2.77614 7 2.5V0.5C7 0.223858 7.22386 0 7.5 0ZM2.1967 2.1967C2.39196 2.00144 2.70854 2.00144 2.90381 2.1967L4.31802 3.61091C4.51328 3.80617 4.51328 4.12276 4.31802 4.31802C4.12276 4.51328 3.80617 4.51328 3.61091 4.31802L2.1967 2.90381C2.00144 2.70854 2.00144 2.39196 2.1967 2.1967ZM0.5 7C0.223858 7 0 7.22386 0 7.5C0 7.77614 0.223858 8 0.5 8H2.5C2.77614 8 3 7.77614 3 7.5C3 7.22386 2.77614 7 2.5 7H0.5ZM2.1967 12.8033C2.00144 12.608 2.00144 12.2915 2.1967 12.0962L3.61091 10.682C3.80617 10.4867 4.12276 10.4867 4.31802 10.682C4.51328 10.8772 4.51328 11.1938 4.31802 11.3891L2.90381 12.8033C2.70854 12.9986 2.39196 12.9986 2.1967 12.8033ZM12.5 7C12.2239 7 12 7.22386 12 7.5C12 7.77614 12.2239 8 12.5 8H14.5C14.7761 8 15 7.77614 15 7.5C15 7.22386 14.7761 7 14.5 7H12.5ZM10.682 4.31802C10.4867 4.12276 10.4867 3.80617 10.682 3.61091L12.0962 2.1967C12.2915 2.00144 12.608 2.00144 12.8033 2.1967C12.9986 2.39196 12.9986 2.70854 12.8033 2.90381L11.3891 4.31802C11.1938 4.51328 10.8772 4.51328 10.682 4.31802ZM8 12.5C8 12.2239 7.77614 12 7.5 12C7.22386 12 7 12.2239 7 12.5V14.5C7 14.7761 7.22386 15 7.5 15C7.77614 15 8 14.7761 8 14.5V12.5ZM10.682 10.682C10.8772 10.4867 11.1938 10.4867 11.3891 10.682L12.8033 12.0962C12.9986 12.2915 12.9986 12.608 12.8033 12.8033C12.608 12.9986 12.2915 12.9986 12.0962 12.8033L10.682 11.3891C10.4867 11.1938 10.4867 10.8772 10.682 10.682ZM5.5 7.5C5.5 6.39543 6.39543 5.5 7.5 5.5C8.60457 5.5 9.5 6.39543 9.5 7.5C9.5 8.60457 8.60457 9.5 7.5 9.5C6.39543 9.5 5.5 8.60457 5.5 7.5ZM7.5 4.5C5.84315 4.5 4.5 5.84315 4.5 7.5C4.5 9.15685 5.84315 10.5 7.5 10.5C9.15685 10.5 10.5 9.15685 10.5 7.5C10.5 5.84315 9.15685 4.5 7.5 4.5Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),S=["color"],T=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,S);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M4 6H11L7.5 10.5L4 6Z",fill:void 0===n?"currentColor":n}))}),P=["color"],k=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,P);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M6 11L6 4L10.5 7.5L6 11Z",fill:void 0===n?"currentColor":n}))})},3822:function(e,t,n){n(4199)},3617:function(e,t,n){n(9327);var r=n(229),i="undefined"!=typeof WeakMap?WeakMap:function(){var e=[],t=[];return{set:function(n,r){e.push(n),t.push(r)},get:function(n){for(var r=0;r/),i=r?r[0]:" ",o="}"===n[n.length-1]?"}":"";return i.replace(/\r\n|\n/g," ").replace(/\s+/g," ")+" /* ... */ "+o},t.restore=function(e,t){var n=e[0],o=e.slice(1);switch(n){case"$":return r(t,e);case"r":var s=o.indexOf(","),a=o.slice(0,s);return RegExp(o.slice(s+1),a);case"d":return new Date(+o);case"f":var l=function(){throw Error("can't run jsan parsed function")};return l.toString=function(){return o},l;case"u":return;case"e":var u=Error(o);return u.stack="Stack is unavailable for jsan parsed errors",u;case"s":return Symbol(o);case"g":return Symbol.for(o);case"m":return new Map(i.parse(o));case"l":return new Set(i.parse(o));case"n":return NaN;case"i":return 1/0;case"y":return-1/0;default:return console.warn("unknown type",e),e}}},7003:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(7002)}])},1463:function(e,t,n){"use strict";n.d(t,{M:function(){return o}});var r=n(5316),i=n(2825);let o=(0,r.eK)(()=>({state:{}}),{withActions:e=>({add:t=>{e.state[t]?e.state[t]<0?e.state[t]=1:e.state[t]++:e.state[t]=1},remove:t=>{e.state[t]&&(e.state[t]<0?e.state[t]=0:e.state[t]--)},clear:()=>{e.state={}}})});i.s||(window.useActiveNode=o)},9676:function(e,t,n){"use strict";n.d(t,{p:function(){return l}});var r=n(5316),i=n(2825),o=n(8344),s=n(5696),a=n(1773);let l=(0,r.eK)(()=>({nodes:[],list:[]}),{withDeepSelector:!1,withActions:e=>({addNode:t=>{let n=a.O.getReadonlyState().closeList,r=Array.from(s.k.getReadonlyState().filter);e.nodes.find(e=>e.i===t.i)?(e.nodes=e.nodes.map(e=>e.i===t.i?t:e),e.list=e.nodes.map(e=>(0,o.VB)(e,e=>null==n?void 0:n[e.i],e=>r.some(t=>+t&e.t))).flat(1)):(e.nodes=[...e.nodes,t],e.list=[...e.list,...(0,o.VB)(t,e=>null==n?void 0:n[e.i],e=>r.some(t=>+t&e.t))]),a.O.getActions().updateSelectList()},update:()=>{let t=a.O.getReadonlyState().closeList,n=Array.from(s.k.getReadonlyState().filter);e.list=e.nodes.map(e=>(0,o.VB)(e,e=>null==t?void 0:t[e.i],e=>n.some(t=>+t&e.t))).flat(1),a.O.getActions().updateSelectList()},clear:()=>{e.nodes=[],e.list=[]}})});i.s||(window.useAppTree=l)},6721:function(e,t,n){"use strict";n.d(t,{F:function(){return o}});var r=n(5316),i=n(2825);let o=(0,r.eK)(()=>({id:null,data:{}}),{withActions:e=>({setLoading:t=>{e.id=t},setLoaded:()=>{e.id=null},setChunk:t=>{e.id&&t[e.id]&&(e.id=null),e.data={...e.data,...t}},clear:()=>{e.id=null,e.data={}}}),withDeepSelector:!1,withStableSelector:!0});i.s||(window.useChunk=o)},4688:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5316),i=n(2825);let o=(0,r.eK)(()=>({state:{enableHover:!1,enableUpdate:!1,enableRuntimeCount:!1,enableRuntimeMis:!1}}),{withActions:e=>({setEnableHover(t){e.state.enableHover=t},setEnableUpdate(t){e.state.enableUpdate=t},setEnableRuntimeCount(t){e.state.enableRuntimeCount=t},setEnableRuntimeMis(t){e.state.enableRuntimeMis=t}}),withNamespace:"useConfig",withDeepSelector:!0});i.s||(window.useConfig=o)},4874:function(e,t,n){"use strict";n.d(t,{$:function(){return o}});var r=n(5316),i=n(2825);let o=(0,r.eK)(()=>({state:!1,render:void 0,error:void 0,cb:null}),{withActions:e=>({connect(){e.state=!0},setRender(t){e.render=t},setError(t){e.error=t},setWebDev(t,n){e.name=t,e.url=n},disconnect(){e.state=!1,e.url=void 0,e.name=void 0},setConnectHandler(t){e.cb=t}}),withDeepSelector:!1});i.s||(window.useConnect=o)},3105:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(5316),i=n(2825);let o=(0,r.eK)(()=>({nodes:[],loading:!1,error:null}),{withActions:e=>({addNode:t=>{let n=e.nodes.filter(e=>e.i!==t.i);n.push(t),e.nodes=n},delNode:t=>{e.nodes=e.nodes.filter(e=>e.i!==t)},setLoading:t=>{e.loading=t},setError:t=>{e.error=t},clear:()=>{e.nodes=[],e.loading=!1,e.error=null}}),withDeepSelector:!1});i.s||(window.useDetailNode=o)},5696:function(e,t,n){"use strict";n.d(t,{k:function(){return a}});var r=n(4063),i=n(5316),o=n(9676);let s=new Set([r.NODE_TYPE.__comment__,r.NODE_TYPE.__initial__,r.NODE_TYPE.__text__,r.NODE_TYPE.__empty__,r.NODE_TYPE.__null__,r.NODE_TYPE.__plain__].map(e=>"".concat(e))),a=(0,i.eK)(()=>({filter:s}),{withActions:e=>({onChange:t=>{e.filter=t,o.p.getActions().update()}}),withDeepSelector:!1,withNamespace:"useFilterNode"})},5720:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r=n(5316),i=n(2825);let o=(0,r.eK)(()=>({state:{}}),{withDeepSelector:!1,withActions:e=>({update:t=>{Object.keys(t).forEach(n=>{e.state[n]=t[n]})},reset:()=>{e.state={}}})});i.s||(window.useHMRNode=o)},5993:function(e,t,n){"use strict";n.d(t,{i:function(){return o}});var r=n(5316),i=n(2825);let o=(0,r.eK)(()=>({map:{},state:{}}),{withDeepSelector:!1,withActions:e=>({set:t=>{Object.keys(t).forEach(n=>{e.state[n]=t[n],e.map[t[n]]=n})},clear:()=>{e.state={},e.map={}}})});i.s||(window.useNodeName=o)},4736:function(e,t,n){"use strict";n.d(t,{g:function(){return o}});var r=n(5316),i=n(2825);let o=(0,r.eK)(()=>({state:{}}),{withDeepSelector:!1,withActions:e=>({update:t=>{Object.keys(t).forEach(n=>{e.state[n]={...e.state[n],...t[n]}})},reset:()=>{e.state={}}})});i.s||(window.useRunNode=o)},1773:function(e,t,n){"use strict";n.d(t,{O:function(){return f}});var r=n(715),i=n(5316),o=n(2825),s=n(8344),a=n(9676),l=n(6721),u=n(3105);let c=l.F.getActions().clear,d=u.K.getActions().delNode,f=(0,i.eK)(()=>({select:null,hover:null,closeList:{},selectList:{},force:0}),{withActions:e=>{let t=(0,r.debounce)(()=>{let t=a.p.getReadonlyState().list.find(t=>t.i===e.select);t&&(e.selectList=(0,s.VB)(t,()=>!1,()=>!1).reduce((e,t)=>(e[t.i]=!0,e),{}))},16);return{setSelect:(n,r)=>{n!==e.select||r?(e.select=n,t()):(e.select=null,e.selectList={})},forceReload:()=>{e.select&&(e.force++,d(e.select)),c()},updateSelectList:t,setHover:t=>{t===e.hover?e.hover=null:e.hover=t},setClose:t=>{var n;t&&((null===(n=e.closeList)||void 0===n?void 0:n[t])?e.closeList={...e.closeList,[t]:!1}:e.closeList={...e.closeList,[t]:!0},a.p.getActions().update())},clear:()=>{e.hover=null,e.select=null,e.closeList={},e.selectList={}}}},withDeepSelector:!1});o.s||(window.useTreeNode=f)},872:function(e,t,n){"use strict";n.d(t,{P:function(){return o}});var r=n(5316),i=n(2825);let o=(0,r.eK)(()=>({state:{}}),{withDeepSelector:!1,withActions:e=>({update:t=>{Object.keys(t).forEach(n=>{e.state[n]=t[n]})},reset:()=>{e.state={}}})});i.s||(window.useTriggerNode=o)},7002:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return en}});var r=n(4746),i=n(3760),o=n.n(i),s=n(3443),a=n.n(s),l=n(4177),u=n(7954),c=n(2954),d=n(203),f=(0,d.tv)({slots:{base:"inline-flex items-center justify-between h-fit rounded-large gap-2",pre:"bg-transparent text-inherit font-mono font-normal inline-block whitespace-nowrap",content:"flex flex-col",symbol:"select-none",copyButton:["group","relative","z-10","text-large","text-inherit","data-[hover=true]:bg-transparent"],copyIcon:["absolute text-inherit opacity-100 scale-100 group-data-[copied=true]:opacity-0 group-data-[copied=true]:scale-50"],checkIcon:["absolute text-inherit opacity-0 scale-50 group-data-[copied=true]:opacity-100 group-data-[copied=true]:scale-100"]},variants:{variant:{flat:"",solid:"",bordered:"border-medium bg-transparent",shadow:""},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{base:"px-1.5 py-0.5 text-tiny rounded-small"},md:{base:"px-3 py-1.5 text-small rounded-medium"},lg:{base:"px-4 py-2 text-medium rounded-large"}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"}},fullWidth:{true:{base:"w-full"}},disableAnimation:{true:{},false:{copyIcon:"transition-transform-opacity",checkIcon:"transition-transform-opacity"}}},defaultVariants:{color:"default",variant:"flat",size:"md",fullWidth:!1},compoundVariants:[{variant:["solid","shadow"],color:"default",class:{copyButton:"data-[focus-visible]:outline-default-foreground"}},{variant:["solid","shadow"],color:"primary",class:{copyButton:"data-[focus-visible]:outline-primary-foreground"}},{variant:["solid","shadow"],color:"secondary",class:{copyButton:"data-[focus-visible]:outline-secondary-foreground"}},{variant:["solid","shadow"],color:"success",class:{copyButton:"data-[focus-visible]:outline-success-foreground"}},{variant:["solid","shadow"],color:"warning",class:{copyButton:"data-[focus-visible]:outline-warning-foreground"}},{variant:["solid","shadow"],color:"danger",class:{copyButton:"data-[focus-visible]:outline-danger-foreground"}},{variant:"flat",color:"default",class:{base:c.J.flat.default}},{variant:"flat",color:"primary",class:{base:c.J.flat.primary}},{variant:"flat",color:"secondary",class:{base:c.J.flat.secondary}},{variant:"flat",color:"success",class:{base:c.J.flat.success}},{variant:"flat",color:"warning",class:{base:c.J.flat.warning}},{variant:"flat",color:"danger",class:{base:c.J.flat.danger}},{variant:"solid",color:"default",class:{base:c.J.solid.default}},{variant:"solid",color:"primary",class:{base:c.J.solid.primary}},{variant:"solid",color:"secondary",class:{base:c.J.solid.secondary}},{variant:"solid",color:"success",class:{base:c.J.solid.success}},{variant:"solid",color:"warning",class:{base:c.J.solid.warning}},{variant:"solid",color:"danger",class:{base:c.J.solid.danger}},{variant:"shadow",color:"default",class:{base:c.J.shadow.default}},{variant:"shadow",color:"primary",class:{base:c.J.shadow.primary}},{variant:"shadow",color:"secondary",class:{base:c.J.shadow.secondary}},{variant:"shadow",color:"success",class:{base:c.J.shadow.success}},{variant:"shadow",color:"warning",class:{base:c.J.shadow.warning}},{variant:"shadow",color:"danger",class:{base:c.J.shadow.danger}},{variant:"bordered",color:"default",class:{base:c.J.bordered.default}},{variant:"bordered",color:"primary",class:{base:c.J.bordered.primary}},{variant:"bordered",color:"secondary",class:{base:c.J.bordered.secondary}},{variant:"bordered",color:"success",class:{base:c.J.bordered.success}},{variant:"bordered",color:"warning",class:{base:c.J.bordered.warning}},{variant:"bordered",color:"danger",class:{base:c.J.bordered.danger}}]}),p=n(4479),h=n(3917),m=n(4341),g=n(3563),v=n(5667),y=n(2189),b=n(5677),w=n(8511),_=n(154),x=e=>(0,r.jsxs)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",role:"presentation",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"1em",...e,children:[(0,r.jsx)("path",{d:"M16 17.1c0 3.5-1.4 4.9-4.9 4.9H6.9C3.4 22 2 20.6 2 17.1v-4.2C2 9.4 3.4 8 6.9 8h4.2c3.5 0 4.9 1.4 4.9 4.9Z"}),(0,r.jsx)("path",{d:"M8 8V6.9C8 3.4 9.4 2 12.9 2h4.2C20.6 2 22 3.4 22 6.9v4.2c0 3.5-1.4 4.9-4.9 4.9H16"}),(0,r.jsx)("path",{d:"M16 12.9C16 9.4 14.6 8 11.1 8"})]}),E=e=>(0,r.jsx)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",role:"presentation",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",width:"1em",...e,children:(0,r.jsx)("polyline",{points:"20 6 9 17 4 12"})}),C=n(418),S=(0,h.Gp)((e,t)=>{let{Component:n,domRef:i,preRef:o,children:s,slots:a,classNames:u,copied:c,copyIcon:d=(0,r.jsx)(x,{}),checkIcon:S=(0,r.jsx)(E,{}),symbolBefore:T,disableCopy:P,disableTooltip:k,hideSymbol:M,hideCopyButton:L,tooltipProps:$,isMultiLine:A,onCopy:O,getSnippetProps:R,getCopyButtonProps:N}=function(e){var t,n,r,i;let o=(0,p.w)(),[s,a]=(0,h.oe)(e,f.variantKeys),{ref:u,as:c,children:d,symbol:_="$",classNames:x,timeout:E,copyIcon:C,checkIcon:S,codeString:T,disableCopy:P=!1,disableTooltip:k=!1,hideCopyButton:M=!1,autoFocus:L=!1,hideSymbol:$=!1,onCopy:A,tooltipProps:O={},copyButtonProps:R={},className:N,...j}=s,I=c||"div",F="string"==typeof I,D=null!=(n=null!=(t=null==e?void 0:e.disableAnimation)?t:null==o?void 0:o.disableAnimation)&&n,V={offset:15,delay:1e3,content:"Copy to clipboard",color:null!=(i=null==e?void 0:e.color)?i:null==(r=f.defaultVariants)?void 0:r.color,isDisabled:s.disableCopy,...O},z=(0,m.gy)(u),H=(0,l.useRef)(null),{copy:K,copied:W}=function({timeout:e=2e3}={}){let[t,n]=(0,l.useState)(null),[r,i]=(0,l.useState)(!1),[o,s]=(0,l.useState)(null),a=(0,l.useCallback)(()=>{o&&clearTimeout(o)},[o]),u=(0,l.useCallback)(t=>{a(),s(setTimeout(()=>i(!1),e)),i(t)},[a,e]);return{copy:(0,l.useCallback)(e=>{"clipboard"in navigator?navigator.clipboard.writeText(e).then(()=>u(!0)).catch(e=>n(e)):n(Error("useClipboard: navigator.clipboard is not supported"))},[u]),reset:(0,l.useCallback)(()=>{i(!1),n(null),a()},[a]),error:t,copied:r}}({timeout:E}),B=d&&Array.isArray(d),{isFocusVisible:U,isFocused:J,focusProps:G}=(0,w.F)({autoFocus:L}),Y=(0,l.useMemo)(()=>f({...a,disableAnimation:D}),[(0,v.Xx)(a),D]),Z=(0,l.useMemo)(()=>{if(!_||"string"!=typeof _)return _;let e=_.trim();return e?`${e} `:""},[_]),X=(0,y.W)(null==x?void 0:x.base,N),q=(0,l.useCallback)(()=>({className:Y.base({class:X}),...(0,g.z)(j,{enabled:F})}),[Y,X,B,j]),Q=(0,l.useCallback)(()=>{var e;if(P)return;let t="";"string"==typeof d?t=d:Array.isArray(d)&&d.forEach(e=>{var n,r;let i="string"==typeof e?e:null==(r=null==(n=null==e?void 0:e.props)?void 0:n.children)?void 0:r.toString();i&&(t+=i+"\n")});let n=T||t||(null==(e=H.current)?void 0:e.textContent)||"";K(n),null==A||A(n)},[K,T,P,A,d]),ee={"aria-label":"string"==typeof V.content?V.content:"Copy to clipboard",size:"sm",variant:"light",isDisabled:P,onPress:Q,isIconOnly:!0,...R},et=(0,l.useCallback)(()=>({...ee,"data-copied":(0,b.PB)(W),className:Y.copyButton({class:(0,y.W)(null==x?void 0:x.copyButton)})}),[Y,U,J,P,null==x?void 0:x.copyButton,ee,G]);return{Component:I,as:c,domRef:z,preRef:H,children:d,slots:Y,classNames:x,copied:W,onCopy:Q,copyIcon:C,checkIcon:S,symbolBefore:Z,isMultiLine:B,isFocusVisible:U,hideCopyButton:M,disableCopy:P,disableTooltip:k,hideSymbol:$,tooltipProps:V,getSnippetProps:q,getCopyButtonProps:et}}({...e,ref:t}),j=(0,l.useCallback)(({children:e})=>(0,r.jsx)(_.e,{...$,isDisabled:c||$.isDisabled,children:e}),[(0,v.Xx)($)]),I=(0,l.useMemo)(()=>{if(L)return null;let e=S&&(0,l.cloneElement)(S,{className:a.checkIcon()}),t=d&&(0,l.cloneElement)(d,{className:a.copyIcon()}),n=(0,r.jsxs)(C.A,{...N(),children:[e,t]});return k?n:(0,r.jsx)(j,{children:n})},[a,null==u?void 0:u.copyButton,c,S,d,O,j,P,k,L]),F=(0,l.useMemo)(()=>A&&s&&Array.isArray(s)?(0,r.jsx)("div",{className:a.content({class:null==u?void 0:u.content}),children:s.map((e,t)=>(0,r.jsxs)("pre",{className:a.pre({class:null==u?void 0:u.pre}),children:[!M&&(0,r.jsx)("span",{className:a.symbol({class:null==u?void 0:u.symbol}),children:T}),e]},`${t}-${e}`))}):(0,r.jsxs)("pre",{ref:o,className:a.pre({class:null==u?void 0:u.pre}),children:[!M&&(0,r.jsx)("span",{className:a.symbol({class:null==u?void 0:u.symbol}),children:T}),s]}),[s,M,A,T,null==u?void 0:u.pre,a]);return(0,r.jsxs)(n,{ref:i,...R(),children:[F,I]})});S.displayName="NextUI.Snippet";var T=(0,d.tv)({base:["px-2","py-1","h-fit","font-mono","font-normal","inline-block","whitespace-nowrap"],variants:{color:{default:c.J.flat.default,primary:c.J.flat.primary,secondary:c.J.flat.secondary,success:c.J.flat.success,warning:c.J.flat.warning,danger:c.J.flat.danger},size:{sm:"text-small",md:"text-medium",lg:"text-large"},radius:{none:"rounded-none",sm:"rounded-small",md:"rounded-medium",lg:"rounded-large",full:"rounded-full"}},defaultVariants:{color:"default",size:"sm",radius:"sm"}}),P=(0,h.Gp)((e,t)=>{let{Component:n,children:i,getCodeProps:o}=function(e){let[t,n]=(0,h.oe)(e,T.variantKeys),{as:r,children:i,className:o,...s}=t,a=(0,l.useMemo)(()=>T({...n,className:o}),[(0,v.Xx)(n),o]);return{Component:r||"code",children:i,getCodeProps:()=>({className:a,...s})}}({...e});return(0,r.jsx)(n,{ref:t,...o(),children:i})});P.displayName="NextUI.Code";var k=n(6388),M=n(1669),L=n(3052),$=n(2774),A=n(9963),O=({children:e,navigate:t,useHref:n,disableAnimation:i=!1,disableRipple:o=!1,skipFramerMotionAnimations:s=i,validationBehavior:a="aria",locale:u="en-US",defaultDates:c,createCalendar:d,...f})=>{let h=e;t&&(h=(0,r.jsx)(L.pG,{navigate:t,useHref:n,children:h}));let m=(0,l.useMemo)(()=>(i&&s&&(A.c.skipAnimations=!0),{createCalendar:d,defaultDates:c,disableAnimation:i,disableRipple:o,validationBehavior:a}),[d,null==c?void 0:c.maxDate,null==c?void 0:c.minDate,i,o,a]);return(0,r.jsx)(p.a,{value:m,children:(0,r.jsx)(M.b,{locale:u,children:(0,r.jsx)($.N3,{...f,children:h})})})},R=n(3498),N=n(2551),j=n(4874),I=n(715),F=n(1463),D=n(9676),V=n(6721),z=n(4688),H=n(3105),K=n(5720),W=n(5993),B=n(4736),U=n(1773),J=n(872);let G="@my-react/devtool",Y=e=>{try{e()}catch(e){j.$.getActions().setError(e.message)}},Z=()=>{(0,l.useEffect)(()=>{},[])},X="iframe",q=e=>{var t;null===(t=window.top)||void 0===t||t.postMessage({from:X,...e,source:G},"*")},Q=(0,I.debounce)(q,100),ee=()=>{(0,l.useEffect)(()=>{if(window!==window.top&&window.top){console.log("[Dev mode] iframe start");let e=!1,t=null,n=[],r=()=>{e||(q({type:I.MessageWorkerType.init}),q({type:I.MessagePanelType.show}),t=setTimeout(r,1e3))},i=()=>{console.log("[Dev mode] iframe disconnect"),e=!1,t&&clearTimeout(t),n.forEach(e=>e()),j.$.getActions().disconnect()};return window.addEventListener("message",t=>{var n,r,i;if(t.source!==window.top||(null===(n=t.data)||void 0===n?void 0:n.source)!==G||(null===(r=t.data)||void 0===r?void 0:r.from)===X)return;let o=(null===(i=t.data)||void 0===i?void 0:i.type)==="hook-render"?t.data.data:t.data;o.type===I.DevToolMessageEnum.init&&Y(()=>{e=!0,j.$.getActions().setRender(o.data)}),o.type===I.DevToolMessageEnum.dir&&Y(()=>{W.i.getActions().set(o.data)}),o.type===I.DevToolMessageEnum.ready&&Y(()=>{o.data&&D.p.getActions().addNode(o.data)}),o.type===I.DevToolMessageEnum.unmount&&Y(()=>{var e,t,n,r,i,o,s,a,l,u,c,d,f,p,h,m,g;null===V.F||void 0===V.F||null===(n=V.F.getActions)||void 0===n||null===(t=n.call(V.F))||void 0===t||null===(e=t.clear)||void 0===e||e.call(t),null===D.p||void 0===D.p||null===(o=D.p.getActions)||void 0===o||null===(i=o.call(D.p))||void 0===i||null===(r=i.clear)||void 0===r||r.call(i),null===W.i||void 0===W.i||null===(l=W.i.getActions)||void 0===l||null===(a=l.call(W.i))||void 0===a||null===(s=a.clear)||void 0===s||s.call(a),null===U.O||void 0===U.O||null===(d=U.O.getActions)||void 0===d||null===(c=d.call(U.O))||void 0===c||null===(u=c.clear)||void 0===u||u.call(c),null===H.K||void 0===H.K||null===(h=H.K.getActions)||void 0===h||null===(p=h.call(H.K))||void 0===p||null===(f=p.clear)||void 0===f||f.call(p),null===F.M||void 0===F.M||null===(g=F.M.getActions())||void 0===g||null===(m=g.clear)||void 0===m||m.call(g)}),o.type===I.DevToolMessageEnum.hmr&&Y(()=>{K.m.getActions().update(o.data)}),o.type===I.DevToolMessageEnum.trigger&&Y(()=>{J.P.getActions().update(o.data)}),o.type===I.DevToolMessageEnum.run&&Y(()=>{B.g.getActions().update(o.data)}),o.type===I.DevToolMessageEnum.detail&&Y(()=>{o.data&&H.K.getActions().addNode(o.data),H.K.getActions().setLoading(!1)}),o.type===I.DevToolMessageEnum.config&&Y(()=>{var e,t;z.Z.getActions().setEnableHover(null===(e=o.data)||void 0===e?void 0:e.enableHover),z.Z.getActions().setEnableUpdate(null===(t=o.data)||void 0===t?void 0:t.enableUpdate)}),o.type===I.DevToolMessageEnum.chunk&&Y(()=>{V.F.getActions().setChunk(o.data)})}),console.log("[Dev mode] iframe connect"),j.$.getActions().connect(),r(),n.push(U.O.subscribe(e=>e.select,()=>{let e=U.O.getReadonlyState().select;e?(H.K.getActions().setLoading(!0),q({type:I.MessagePanelType.nodeSelect,data:e})):q({type:I.MessagePanelType.nodeSelect,data:null})})),n.push(U.O.subscribe(e=>e.force,()=>{let e=U.O.getReadonlyState().select;e&&(H.K.getActions().setLoading(!0),Q({type:I.MessagePanelType.nodeSelectForce,data:e}))})),n.push(U.O.subscribe(e=>e.hover,()=>q({type:I.MessagePanelType.nodeHover,data:U.O.getReadonlyState().hover}))),n.push(F.M.subscribe(e=>e.state,(0,I.debounce)(()=>q({type:I.MessagePanelType.nodeSubscriber,data:F.M.getReadonlyState().state}),100))),n.push(z.Z.subscribe(e=>e.state.enableHover,()=>q({type:I.MessagePanelType.enableHover,data:z.Z.getReadonlyState().state.enableHover}))),n.push(z.Z.subscribe(e=>e.state.enableUpdate,()=>q({type:I.MessagePanelType.enableUpdate,data:z.Z.getReadonlyState().state.enableUpdate}))),n.push(V.F.subscribe(e=>e.id,()=>{let e=V.F.getReadonlyState().id;e&&q({type:I.MessagePanelType.chunk,data:e})})),()=>{i()}}},[])},et=()=>{let[e,t]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{t(!0)},[]),e};function en(e){let{Component:t,pageProps:n,router:i}=e,{render:s,state:l,name:c,url:d,reconnect:f}=(0,j.$)(e=>({render:e.render,state:e.state,name:e.name,url:e.url,reconnect:e.cb})),p=et(),h="/devTool"===i.pathname,m=(0,r.jsx)(t,{...n});h&&"boolean"!=typeof s?(p&&window.location.origin,m=(0,r.jsx)("div",{className:"flex items-center justify-center w-screen h-screen",children:(0,r.jsxs)("div",{className:"flex flex-col items-center",children:[(0,r.jsx)(u.c,{color:"primary",size:"lg"}),!1,!1]})})):h&&!s&&(m=(0,r.jsx)("div",{className:"flex items-center justify-center w-screen h-screen",children:(0,r.jsxs)("div",{className:"text-center text-[20px] text-red-400 px-10",children:[(0,r.jsxs)("div",{children:["This ","page"," not render By ",(0,r.jsx)(P,{className:" text-inherit text-[20px] ml-2",children:"@my-react"})]}),(0,r.jsx)(k.q,{className:"my-2"}),(0,r.jsx)(S,{symbol:"",color:"warning",variant:"solid",hideCopyButton:!0,children:"https://github.com/MrWangJustToDo/MyReact"}),(0,r.jsx)("div",{className:"fixed top-4 right-4",children:(0,r.jsx)(_.e,{content:(0,r.jsx)("p",{className:l?"text-green-400":"text-red-400",children:l?"DevTool Connect":"DevTool DisConnect"}),showArrow:!0,placement:"bottom-end",children:(0,r.jsx)(C.A,{isIconOnly:!0,disabled:l,onClick:()=>null==f?void 0:f(),children:l?(0,r.jsx)(R.NhS,{className:"text-green-500"}):(0,r.jsx)(R.xrR,{className:" text-red-500"})})})})]})})),Z(),ee();let g=p?m:(0,r.jsx)("div",{className:"fixed w-full h-full flex items-center justify-center",children:(0,r.jsx)(u.c,{color:"primary",size:"lg"})});return(0,r.jsxs)(O,{disableAnimation:!0,children:[(0,r.jsx)(a(),{id:"babad980b5499b20",dynamic:[o().style.fontFamily,o().style.fontFamily,o().style.fontFamily],children:"html{font-family:".concat(o().style.fontFamily,"!important;--root-font--:").concat(o().style.fontFamily,"}body{font-family:").concat(o().style.fontFamily,"!important}")}),(0,r.jsx)(N.f,{attribute:"class",defaultTheme:"light",children:g})]})}n(41),n(5988),l.__my_react_shared__.enableLoopFromRoot.current=!0},2825:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});let r=!1},8344:function(e,t,n){"use strict";n.d(t,{VB:function(){return i},VR:function(){return r}});let r=(e,t)=>t.some(t=>(null==e?void 0:e.t)&t),i=(e,t,n)=>{let r=[],i=[e];for(;i.length;){let e=i.pop();if(e&&(n(e)||r.push(e),e.c&&!t(e)))for(let t=e.c.length-1;t>=0;t--)i.push(e.c[t])}return r}},9068:function(e,t,n){"use strict";var r=n(4675);n(5355);var i=n(4177),o=i&&"object"==typeof i&&"default"in i?i:{default:i},s=void 0!==r&&r.env&&!0,a=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,n=t.name,r=void 0===n?"stylesheet":n,i=t.optimizeForSpeed,o=void 0===i?s:i;u(a(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",u("boolean"==typeof o,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=o,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l=document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t=e.prototype;return t.setOptimizeForSpeed=function(e){u("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},t.isOptimizeForSpeed=function(){return this._optimizeForSpeed},t.inject=function(){var e=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(s||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},t.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t>>0},d={};function f(e,t){if(!t)return"jsx-"+e;var n=String(t),r=e+n;return d[r]||(d[r]="jsx-"+c(e+"-"+n)),d[r]}function p(e,t){var n=e+t;return d[n]||(d[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),d[n]}var h=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,r=void 0===n?null:n,i=t.optimizeForSpeed,o=void 0!==i&&i;this._sheet=r||new l({name:"styled-jsx",optimizeForSpeed:o}),this._sheet.inject(),r&&"boolean"==typeof o&&(this._sheet.setOptimizeForSpeed(o),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),r=n.styleId,i=n.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var o=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=o,this._instancesCounts[r]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var r=this._fromServer&&this._fromServer[n];r?(r.parentNode.removeChild(r),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,n;return t=this.cssRules(),void 0===(n=e)&&(n={}),t.map(function(e){var t=e[0],r=e[1];return o.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:n.nonce?n.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})})},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,r=e.id;if(n){var i=f(r,n);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return p(i,e)}):[p(i,t)]}}return{styleId:f(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),m=i.createContext(null);m.displayName="StyleSheetContext";var g=o.default.useInsertionEffect||o.default.useLayoutEffect,v=new h;function y(e){var t=v||i.useContext(m);return t&&g(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}y.dynamic=function(e){return e.map(function(e){return f(e[0],e[1])}).join(" ")},t.style=y},3443:function(e,t,n){"use strict";e.exports=n(9068).style},5355:function(){},5988:function(){},41:function(){},3760:function(e){e.exports={style:{fontFamily:"'__Fira_Code_5c49b7', '__Fira_Code_Fallback_5c49b7'",fontWeight:400,fontStyle:"normal"},className:"__className_5c49b7",variable:"__variable_5c49b7"}},4675:function(e){var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var l=[],u=!1,c=-1;function d(){u&&r&&(u=!1,r.length?l=r.concat(l):c=-1,l.length&&f())}function f(){if(!u){var e=a(d);u=!0;for(var t=l.length;t;){for(r=l,l=[];++c1)for(var n=1;n"),e:r}:"Error"===n?{t:n,v:e.message,e:r}:"object"==typeof e&&null!==e?{t:n,v:Object.prototype.toString.call(e),e:r}:{t:n,v:String(e),e:r}},E=function(e,t){return void 0===t&&(t=3),y=new WeakMap,x(e,t)},C=function(e){var t=g.get(e);if(t){m=!0;var n=x(t);return m=!1,n}},S=0,T=function(e){this.i=e||"".concat(S++)};(r=l||(l={}))[r.__initial__=0]="__initial__",r[r.__class__=1]="__class__",r[r.__function__=2]="__function__",r[r.__lazy__=4]="__lazy__",r[r.__memo__=8]="__memo__",r[r.__forwardRef__=16]="__forwardRef__",r[r.__provider__=32]="__provider__",r[r.__consumer__=64]="__consumer__",r[r.__portal__=128]="__portal__",r[r.__null__=256]="__null__",r[r.__text__=512]="__text__",r[r.__empty__=1024]="__empty__",r[r.__plain__=2048]="__plain__",r[r.__strict__=4096]="__strict__",r[r.__suspense__=8192]="__suspense__",r[r.__fragment__=16384]="__fragment__",r[r.__keepLive__=32768]="__keepLive__",r[r.__scope__=65536]="__scope__",r[r.__comment__=131072]="__comment__",r[r.__profiler__=262144]="__profiler__",r[r.__compiler__=524288]="__compiler__";var P=new Map,k=new Map,M=new Map,L=new Map,$={},A=0,O=function(e,t){var n=null!==t.key&&void 0!==t.key;n&&!$[t.key]&&($[t.key]=++A+"");var r=J(t);$[r]||($[r]=++A+""),e.k=n?$[t.key]:void 0,e.t=U(t),e.n=$[r]},R=function(e,t,n){O(e,t),e.p=Q(t,n),e._s=Z(t),e._t=X(t),e._h=q(t,n),t.type&l.__class__&&(e.s=ee(t,n))},N=function(e,t){if(!e)return null;var n=P.get(e),r=n||new T;return r.c=null,t?(t.c=t.c||[],t.c.push(r),r._d=t._d+1):r._d=0,O(r,e),n||(P.set(e,r),M.set(r.i,e),L.set(r.i,r)),e.child&&N(e.child,r),e.sibling&&N(e.sibling,t),{current:r,directory:$}},j=function(e,t,n){if(!e)return null;t.add(e);var r=P.get(e);if(!r&&!n)return null;var i=r||new T;return i.c=null,n&&(n.c=n.c||[],n.c.push(i),i._d=n._d+1),O(i,e),r||(P.set(e,i),M.set(i.i,e),L.set(i.i,i)),e.child&&j(e.child,t,i),e.sibling&&j(e.sibling,t,n),{current:i,directory:$}},I=function(e){var t=P.get(e);t&&(M.delete(t.i),L.delete(t.i)),P.delete(e),k.delete(e)},F=function(e){return P.get(e)},D=function(e){var t=F(e);return null==t?void 0:t.i},V=function(e){return e?e.parent?V(e.parent):F(e):null},z=function(e){var t=new WeakSet,n=[];return e.listToFoot(function(e){if(!t.has(e)){t.add(e);var r=j(e,t);r&&r.current&&n.push(r.current)}}),{result:n,directory:$}},H=function(e,t){var n=F(e);if(!n)throw Error("plainNode not found, look like a bug for @my-react/devtools");var r=k.get(e);if(r)return R(r,e,t),r;var i=new T(n.i);return R(i,e,t),k.set(e,i),i},K=function(e){return M.get(e)},W=[],B=Symbol.for("react.memo_cache_sentinel");Object.keys(l).forEach(function(e){e.startsWith("__")||W.push(+e)});var U=function(e){var t,n=e.type,r=!1;return null===(t=e.hookList)||void 0===t||t.listToFoot(function(e){var t;!r&&e.type===u.HOOK_TYPE.useMemo&&(null===(t=e.result)||void 0===t?void 0:t[B])&&(r=!0)}),r?u.merge(n,l.__compiler__):n},J=function(e){if(e.type&l.__provider__){var t=e.elementType,n=t.Context.displayName;return"".concat(n||"Context",".Provider")}if(e.type&l.__consumer__){var t=e.elementType,r=t.Context.displayName;return"".concat(r||"Context",".Consumer")}if(e.type&l.__lazy__){var t=e.elementType,i=null==t?void 0:t.render,o=(null==i?void 0:i.displayName)||(null==i?void 0:i.name)||"";return"".concat(o||"anonymous")}if(e.type&l.__portal__)return"Portal";if(e.type&l.__null__)return"Null";if(e.type&l.__empty__)return"Empty";if(e.type&l.__scope__)return"Scope";if(e.type&l.__strict__)return"Strict";if(e.type&l.__profiler__)return"Profiler";if(e.type&l.__suspense__)return"Suspense";if(e.type&l.__comment__)return"Comment";if(e.type&l.__keepLive__)return"KeepAlive";if(e.type&l.__fragment__)return"Fragment";if(e.type&l.__text__)return"text";if("string"==typeof e.elementType)return"".concat(e.elementType);if("function"==typeof e.elementType){var t=e.elementType,s=t.displayName||t.name||"anonymous";return"".concat(s)}return"unknown"},G=function(e){switch(e){case u.HOOK_TYPE.useReducer:return"Reducer";case u.HOOK_TYPE.useEffect:return"Effect";case u.HOOK_TYPE.useLayoutEffect:return"LayoutEffect";case u.HOOK_TYPE.useMemo:return"Memo";case u.HOOK_TYPE.useCallback:return"Callback";case u.HOOK_TYPE.useRef:return"Ref";case u.HOOK_TYPE.useImperativeHandle:return"ImperativeHandle";case u.HOOK_TYPE.useDebugValue:return"DebugValue";case u.HOOK_TYPE.useContext:return"Context";case u.HOOK_TYPE.useDeferredValue:return"DeferredValue";case u.HOOK_TYPE.useTransition:return"Transition";case u.HOOK_TYPE.useId:return"Id";case u.HOOK_TYPE.useSyncExternalStore:return"SyncExternalStore";case u.HOOK_TYPE.useInsertionEffect:return"InsertionEffect";case u.HOOK_TYPE.useState:return"State";case u.HOOK_TYPE.useSignal:return"Signal"}},Y=function(e){return e.displayName||"Context"},Z=function(e){return e._debugElement?e._debugElement._source:null},X=function(e){for(var t,n=[],r=null==e?void 0:e.parent;r;){var i=F(r).i;if(n.push(i),!r.parent){var o=r;if(o.renderDispatch&&o.renderDispatch.version)n.push("@my-react ".concat(o.renderDispatch.version));else{var s=null===(t=o.containerNode.__container__)||void 0===t?void 0:t.version;s&&n.push("@my-react ".concat(s))}}r=r.parent}return n},q=function(e,t){var n,r=[],i=e.hookList,o={};return null===(n=null==i?void 0:i.toArray())||void 0===n||n.forEach(function(e,n){var i=e._debugStack;if(i&&Array.isArray(i)&&0!==i.length)for(var s="",a=0;at.left+t.width&&(s=t.left+t.width-o-5),{style:{top:r+="px",left:s+="px"}});ea(this.tip.style,l.style)},e}(),ec=function(){function e(e){this.agent=e;var t=window.__REACT_DEVTOOLS_TARGET_WINDOW__||window;this.window=t;var n=window.__REACT_DEVTOOLS_TARGET_WINDOW__||window;this.tipBoundsWindow=n;var r=t.document;this.container=r.createElement("div"),this.container.style.zIndex="10000000",this.container.setAttribute("data-select","@my-react"),this.tip=new eu(r,this.container),this.rects=[],this.agent=e,r.body.appendChild(this.container)}return e.prototype.remove=function(){this.tip.remove(),this.rects.forEach(function(e){e.remove()}),this.rects.length=0,this.container.parentNode&&this.container.parentNode.removeChild(this.container)},e.prototype.inspect=function(e,t){for(var n=this,r=t.filter(function(e){return e.nodeType===Node.ELEMENT_NODE});this.rects.length>r.length;)this.rects.pop().remove();if(0!==r.length){for(;this.rects.length=0&&i.left>=0&&i.right<=(window.innerWidth||document.documentElement.clientWidth)&&i.bottom<=(window.innerHeight||document.documentElement.clientHeight)){var o=i.left-.5,s=i.top-.5,a=i.width+1,l=i.height+1;n.strokeRect(o<0?0:o,s<0?0:s,a>window.innerWidth?window.innerWidth:a,l>window.innerHeight?window.innerHeight:l)}}catch(e){}},this.flashPending=function(){var e=t.mask.getContext("2d"),n=new Set(t.__pendingUpdate__);t.__pendingUpdate__.clear(),e.strokeStyle=ep.update,n.forEach(function(n){return t.processHighlight(n,e)});var r=new Set(t.__pendingAppend__);t.__pendingAppend__.clear(),e.strokeStyle=ep.append,r.forEach(function(n){return t.processHighlight(n,e)});var i=new Set(t.__pendingSetRef__);t.__pendingSetRef__.clear(),e.strokeStyle=ep.setRef,i.forEach(function(n){return t.processHighlight(n,e)});var o=new Set(t.__pendingWarn__);t.__pendingWarn__.clear(),e.strokeStyle=ep.warn,o.forEach(function(n){return t.processHighlight(n,e)}),setTimeout(function(){e.clearRect(0,0,t.width,t.height),t.running=!1,(t.__pendingUpdate__.size||t.__pendingAppend__.size||t.__pendingSetRef__.size)&&(t.running=!0,t.flashPending())},100)}},em=function(e,t){e.$$hasDevToolInject||(e.$$hasDevToolInject=!0,function(e){if("function"==typeof e.onFiberUnmount)e.onFiberUnmount(I);else{var t=e.patchToFiberUnmount;e.patchToFiberUnmount=function(e){t.call(this,e),I(e)}}}(e),Object.defineProperty(e,"__devtool_runtime__",{value:t}))};t.DevToolMessageEnum=void 0,(i=t.DevToolMessageEnum||(t.DevToolMessageEnum={})).init="init",i.dir="dir",i.config="config",i.ready="ready",i.update="update",i.changed="changed",i.highlight="highlight",i.trigger="trigger",i.hmr="hmr",i.run="run",i.detail="detail",i.unmount="unmount",i.chunk="chunk";var eg=function(e,t){var n=null;return function(){for(var r=[],i=0;i0}).forEach(function(t){n[t]=e._run[t]}),e._notify({type:t.DevToolMessageEnum.run,data:n})}},100),this.notifyAll=eg(function(){e.notifyDetector(),e._needUnmount&&(e._notify({type:t.DevToolMessageEnum.unmount,data:null}),e._needUnmount=!1),e._dispatch.size&&e._dispatch.forEach(function(t){e.notifyDispatch(t)}),e.notifyConfig(),e.notifyDir(),e.notifyTrigger(),e.notifyHMR(),e.notifySelect()},200),this.update=new eh(this)}e.prototype.getDispatch=function(){return Array.from(this._dispatch)},Object.defineProperty(e.prototype,"hasEnable",{get:function(){return this._enabled||this._forceEnable},enumerable:!1,configurable:!0}),e.prototype.setHoverStatus=function(e){this._enableHover=e},e.prototype.setUpdateStatus=function(e){this._enableUpdate=e},e.prototype.addDispatch=function(e){e&&(this._detector=!0),this.hasDispatch(e)||(em(e,this),this._dispatch.add(e),this.patchDispatch(e))},e.prototype.patchDispatch=function(e){var t,n,r,i,o,s,a,l,d,f,p,h=this;if(!e.$$hasDevToolPatch){e.$$hasDevToolPatch=!0;var m=ev(function(){h.hasEnable&&(h.notifyDispatch(e),h.notifySelect())},200),g=function(){h._needUnmount=!0,h.delDispatch(e)};if("function"==typeof e.onAfterCommit&&"function"==typeof e.onAfterUpdate)e.onAfterCommit(m),null===(t=e.onAfterUnmount)||void 0===t||t.call(e,g),null===(n=e.onFiberState)||void 0===n||n.call(e,function(e){var t=D(e);t&&(h._state[t]=h._state[t]?h._state[t]+1:1)}),null===(r=e.onFiberTrigger)||void 0===r||r.call(e,function(e){var t=D(e);t&&(h._trigger[t]=h._trigger[t]?h._trigger[t]+1:1,h.hasEnable&&h.notifyTrigger())}),null===(i=e.onPerformanceWarn)||void 0===i||i.call(e,function(e){var t=D(e);t&&(h.hasEnable&&h._enableUpdate&&h.update.highLight(e,"warn"),h.notifyHighlight(t,"performance"))}),null===(o=e.onFiberChange)||void 0===o||o.call(e,function(e){var t=z(e).directory;u.isNormalEquals(h._dir,t)||(h._dir=c({},t),h.notifyDir()),h.notifyChanged(e)}),null===(s=e.onFiberUpdate)||void 0===s||s.call(e,function(e){var t=D(e);t&&h.hasEnable&&t===h._selectId&&h.notifySelect()}),null===(a=e.onFiberHMR)||void 0===a||a.call(e,function(t){var n=D(t);n&&(h._hmr[n]=h._hmr[n]?h._hmr[n]+1:1,h.hasEnable&&(h.notifyHMR(),h.notifyDispatch(e,!0)))}),null===(l=e.onFiberRun)||void 0===l||l.call(e,function(e){var t,n,r=D(e);r&&(h._run[r]?h._run[r]={c:h._run[r].c+1,t:null===(t=e._debugRenderState)||void 0===t?void 0:t.timeForRender}:h._run[r]={c:1,t:null===(n=e._debugRenderState)||void 0===n?void 0:n.timeForRender},h.notifyRun())}),null===(d=e.onDOMUpdate)||void 0===d||d.call(e,function(e){h.hasEnable&&h._enableUpdate&&h.update.highLight(e,"update")}),null===(f=e.onDOMAppend)||void 0===f||f.call(e,function(e){h.hasEnable&&h._enableUpdate&&h.update.highLight(e,"append")}),null===(p=e.onDOMSetRef)||void 0===p||p.call(e,function(e){h.hasEnable&&h._enableUpdate&&h.update.highLight(e,"setRef")});else{var v=e.afterCommit,y=e.afterUpdate,b=e.afterUnmount;e.afterCommit=function(){var e;null===(e=null==v?void 0:v.call)||void 0===e||e.call(v,this),m()},e.afterUpdate=function(){var e;null===(e=null==y?void 0:y.call)||void 0===e||e.call(y,this),m()},e.afterUnmount=function(){var e;null===(e=null==b?void 0:b.call)||void 0===e||e.call(b,this),g()}}}},e.prototype.hasDispatch=function(e){return this._dispatch.has(e)},e.prototype.delDispatch=function(e){this._map.delete(e),this._dispatch.delete(e),this.notifyAll()},e.prototype.subscribe=function(e){var t=this;return this._listeners.add(e),function(){return t._listeners.delete(e)}},e.prototype.unSubscribe=function(e){this._listeners.delete(e)},e.prototype._notify=function(e){this._listeners.forEach(function(t){return t(e)})},e.prototype.getTree=function(e){var t=N(e.rootFiber),n=t.directory,r=t.current;return u.isNormalEquals(this._dir,n)||(this._dir=c({},n),this.notifyDir()),this._map.set(e,r),r},e.prototype.setSelect=function(e){this._selectId=e},e.prototype.setHover=function(e){this._hoverId=e},e.prototype.setSubscribe=function(e){this._activeIds=e},e.prototype.showHover=function(){var e,t,n,r;if(this._enableHover){if(null===(t=null===(e=this.select)||void 0===e?void 0:e.remove)||void 0===t||t.call(e),this.select=new ec(this),this._hoverId){var i=K(this._hoverId);i&&this.select.inspect(i,et(i))}else null===(r=null===(n=this.select)||void 0===n?void 0:n.remove)||void 0===r||r.call(n),this.select=null}},e.prototype.notifyDir=function(){this.hasEnable&&this._notify({type:t.DevToolMessageEnum.dir,data:this._dir})},e.prototype.notifyDetector=function(){this.hasEnable&&this._notify({type:t.DevToolMessageEnum.init,data:this._detector})},e.prototype.notifyHighlight=function(e,n){this.hasEnable&&this._notify({type:t.DevToolMessageEnum.highlight,data:{id:e,type:n}})},e.prototype.notifyChanged=function(e){if(this.hasEnable){var n=V(e.head.value);this._notify({type:t.DevToolMessageEnum.ready,data:n})}},e.prototype.notifyHMR=function(){this.hasEnable&&this._notify({type:t.DevToolMessageEnum.hmr,data:this._hmr})},e.prototype.notifyConfig=function(){this.hasEnable&&this._notify({type:t.DevToolMessageEnum.config,data:{enableHover:this._enableHover,enableUpdate:this._enableUpdate}})},e.prototype.notifySelect=function(e){if(void 0===e&&(e=!1),this.hasEnable){var n=this._selectId;if(n){var r=K(n);r?this._notify({type:t.DevToolMessageEnum.detail,data:H(r,e)}):this._notify({type:t.DevToolMessageEnum.detail,data:null})}}},e.prototype.notifyChunk=function(e){if(this.hasEnable){var n,r=C(Number(e));this._notify({type:t.DevToolMessageEnum.chunk,data:((n={})[e]={loaded:r},n)})}},e.prototype.notifyDispatch=function(e,n){if(this.hasEnable&&this._dispatch.has(e)){var r=Date.now();if(n){ey.set(e,r);var i=this.getTree(e);this._notify({type:t.DevToolMessageEnum.ready,data:i})}else{var o=ey.get(e);if(o&&r-o<200)return;ey.set(e,r);var i=this.getTree(e);this._notify({type:t.DevToolMessageEnum.ready,data:i})}}},e.prototype.connect=function(){this._enabled||(this._enabled=!0)},e.prototype.disconnect=function(){var e,t;this._enabled&&(null===(t=null===(e=this.select)||void 0===e?void 0:e.remove)||void 0===t||t.call(e),this.select=null,this._enabled=!1)}})(),t.ou=void 0,(o=t.ou||(t.ou={})).init="hook-init",o.mount="hook-mount",o.render="hook-render",t.ns=void 0,(t.ns||(t.ns={})).init="detector-init",t.MessagePanelType=void 0,(s=t.MessagePanelType||(t.MessagePanelType={})).show="panel-show",s.hide="panel-hide",s.enableHover="panel-enable-hover",s.enableUpdate="panel-enable-update",s.nodeHover="panel-hover",s.nodeSelect="panel-select",s.nodeSelectForce="panel-select-force",s.nodeSubscriber="panel-subscriber",s.chunk="panel-chunk",t.MessageWorkerType=void 0,(a=t.MessageWorkerType||(t.MessageWorkerType={})).init="worker-init",a.close="worker-close",t.color=ep,t.debounce=eg,t.getFiberTag=function(e){var t=[];return e&l.__memo__&&t.push("memo"),e&l.__forwardRef__&&t.push("forwardRef"),e&l.__lazy__&&t.push("lazy"),e&l.__compiler__&&t.push("compiler ✨"),t},t.getTypeName=function(e){switch(e){case l.__keepLive__:return"KeepAlive";case l.__memo__:return"Memo";case l.__forwardRef__:return"ForwardRef";case l.__lazy__:return"Lazy";case l.__provider__:return"Provider";case l.__consumer__:return"Consumer";case l.__fragment__:return"Fragment";case l.__scope__:return"Scope";case l.__strict__:return"Strict";case l.__profiler__:return"Profiler";case l.__suspense__:return"Suspense";case l.__portal__:return"Portal";case l.__comment__:return"Comment";case l.__empty__:return"Empty";case l.__null__:return"Null";case l.__text__:return"Text";case l.__function__:return"Function";case l.__class__:return"Class";case l.__plain__:return"Plain";case l.__initial__:return"Initial";default:return""}},t.typeKeys=W},715:function(e,t,n){"use strict";e.exports=n(6779)},5381:function(e,t,n){"use strict";n.d(t,{VS:function(){return r},Yv:function(){return o},Yx:function(){return i},sK:function(){return s}});var r=e=>{let t={top:{originY:1},bottom:{originY:0},left:{originX:1},right:{originX:0},"top-start":{originX:0,originY:1},"top-end":{originX:1,originY:1},"bottom-start":{originX:0,originY:0},"bottom-end":{originX:1,originY:0},"right-start":{originX:0,originY:0},"right-end":{originX:0,originY:1},"left-start":{originX:1,originY:0},"left-end":{originX:1,originY:1}};return(null==t?void 0:t[e])||{}},i=e=>({top:"top",bottom:"bottom",left:"left",right:"right","top-start":"top start","top-end":"top end","bottom-start":"bottom start","bottom-end":"bottom end","left-start":"left top","left-end":"left bottom","right-start":"right top","right-end":"right bottom"})[e],o=(e,t)=>{if(t.includes("-")){let[n]=t.split("-");if(n.includes(e))return!1}return!0},s=(e,t)=>{if(t.includes("-")){let[,n]=t.split("-");return`${e}-${n}`}return e}},7956:function(e,t,n){"use strict";n.d(t,{D:function(){return r},M:function(){return i}});var[r,i]=(0,n(6265).k)({name:"ButtonGroupContext",strict:!1})},418:function(e,t,n){"use strict";n.d(t,{A:function(){return _}});var r=n(7956),i=n(4479),o=n(5677),s=n(4177),a=n(8511),l=n(7661),u=n(1610),c=n(4341),d=n(3563),f=n(3290),p=n(57),h=n(6150),m=n(1114),g=n(7954),v=n(545),y=n(3917),b=n(4746),w=(0,y.Gp)((e,t)=>{let{Component:n,domRef:y,children:w,styles:_,spinnerSize:x,spinner:E=(0,b.jsx)(g.c,{color:"current",size:x}),spinnerPlacement:C,startContent:S,endContent:T,isLoading:P,disableRipple:k,getButtonProps:M,getRippleProps:L,isIconOnly:$}=function(e){var t,n,g,v,y,b,w,_,x;let E=(0,r.M)(),C=(0,i.w)(),S=!!E,{ref:T,as:P,children:k,startContent:M,endContent:L,autoFocus:$,className:A,spinner:O,isLoading:R=!1,disableRipple:N=!1,fullWidth:j=null!=(t=null==E?void 0:E.fullWidth)&&t,radius:I=null==E?void 0:E.radius,size:F=null!=(n=null==E?void 0:E.size)?n:"md",color:D=null!=(g=null==E?void 0:E.color)?g:"default",variant:V=null!=(v=null==E?void 0:E.variant)?v:"solid",disableAnimation:z=null!=(b=null!=(y=null==E?void 0:E.disableAnimation)?y:null==C?void 0:C.disableAnimation)&&b,isDisabled:H=null!=(w=null==E?void 0:E.isDisabled)&&w,isIconOnly:K=null!=(_=null==E?void 0:E.isIconOnly)&&_,spinnerPlacement:W="start",onPress:B,onClick:U,...J}=e,G=P||"button",Y="string"==typeof G,Z=(0,c.gy)(T),X=null!=(x=N||(null==C?void 0:C.disableRipple))?x:z,{isFocusVisible:q,isFocused:Q,focusProps:ee}=(0,a.F)({autoFocus:$}),et=H||R,en=(0,s.useMemo)(()=>(0,f.L)({size:F,color:D,variant:V,radius:I,fullWidth:j,isDisabled:et,isInGroup:S,disableAnimation:z,isIconOnly:K,className:A}),[F,D,V,I,j,et,S,K,z,A]),{onClick:er,onClear:ei,ripples:eo}=(0,m.i)(),es=(0,s.useCallback)(e=>{X||et||z||!Z.current||er(e)},[X,et,z,Z,er]),{buttonProps:ea,isPressed:el}=(0,p.j)({elementType:P,isDisabled:et,onPress:B,onClick:(0,l.t)(U,es),...J},Z),{isHovered:eu,hoverProps:ec}=(0,h.X)({isDisabled:et}),ed=(0,s.useCallback)((e={})=>({"data-disabled":(0,o.PB)(et),"data-focus":(0,o.PB)(Q),"data-pressed":(0,o.PB)(el),"data-focus-visible":(0,o.PB)(q),"data-hover":(0,o.PB)(eu),"data-loading":(0,o.PB)(R),...(0,u.d)(ea,ee,ec,(0,d.z)(J,{enabled:Y}),(0,d.z)(e))}),[R,et,Q,el,Y,q,eu,ea,ee,ec,J]),ef=e=>(0,s.isValidElement)(e)?(0,s.cloneElement)(e,{"aria-hidden":!0,focusable:!1,tabIndex:-1}):null,ep=ef(M);return{Component:G,children:k,domRef:Z,spinner:O,styles:en,startContent:ep,endContent:ef(L),isLoading:R,spinnerPlacement:W,spinnerSize:(0,s.useMemo)(()=>({sm:"sm",md:"sm",lg:"md"})[F],[F]),disableRipple:X,getButtonProps:ed,getRippleProps:(0,s.useCallback)(()=>({ripples:eo,onClear:ei}),[eo,ei]),isIconOnly:K}}({...e,ref:t});return(0,b.jsxs)(n,{ref:y,className:_,...M(),children:[S,P&&"start"===C&&E,P&&$?null:w,P&&"end"===C&&E,T,!k&&(0,b.jsx)(v.L,{...L()})]})});w.displayName="NextUI.Button";var _=w},1845:function(e,t,n){"use strict";n.d(t,{Lj:function(){return r},y7:function(){return i}});var r={ease:[.36,.66,.4,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1],spring:[.155,1.105,.295,1.12],springOut:[.57,-.15,.62,.07],softSpring:[.16,1.11,.3,1.02]};r.easeOut,r.easeIn;var i={scaleSpring:{enter:{transform:"scale(1)",opacity:1,transition:{type:"spring",bounce:0,duration:.2}},exit:{transform:"scale(0.85)",opacity:0,transition:{type:"easeOut",duration:.15}}},scaleSpringOpacity:{initial:{opacity:0,transform:"scale(0.8)"},enter:{opacity:1,transform:"scale(1)",transition:{type:"spring",bounce:0,duration:.3}},exit:{opacity:0,transform:"scale(0.96)",transition:{type:"easeOut",bounce:0,duration:.15}}},scale:{enter:{scale:1},exit:{scale:.95}},scaleFadeIn:{enter:{transform:"scale(1)",opacity:1,transition:{duration:.25,ease:r.easeIn}},exit:{transform:"scale(0.95)",opacity:0,transition:{duration:.2,ease:r.easeOut}}},scaleInOut:{enter:{transform:"scale(1)",opacity:1,transition:{duration:.4,ease:r.ease}},exit:{transform:"scale(1.03)",opacity:0,transition:{duration:.3,ease:r.ease}}},fade:{enter:{opacity:1,transition:{duration:.4,ease:r.ease}},exit:{opacity:0,transition:{duration:.3,ease:r.ease}}},collapse:{enter:{opacity:1,height:"auto",transition:{height:{type:"spring",bounce:0,duration:.3},opacity:{easings:"ease",duration:.4}}},exit:{opacity:0,height:0,transition:{easings:"ease",duration:.3}}}}},3563:function(e,t,n){"use strict";n.d(t,{z:function(){return l}});var r=new Set(["id","type","style","title","role","tabIndex","htmlFor","width","height","abbr","accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","challenge","charset","checked","cite","class","className","cols","colSpan","command","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","dropzone","encType","enterKeyHint","for","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","hidden","high","href","hrefLang","httpEquiv","icon","inputMode","isMap","itemId","itemProp","itemRef","itemScope","itemType","kind","label","lang","list","loop","manifest","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","open","optimum","pattern","ping","placeholder","poster","preload","radioGroup","referrerPolicy","readOnly","rel","required","rows","rowSpan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","slot","sortable","span","spellCheck","src","srcDoc","srcSet","start","step","target","translate","typeMustMatch","useMap","value","wmode","wrap"]),i=new Set(["onCopy","onCut","onPaste","onLoad","onError","onWheel","onScroll","onCompositionEnd","onCompositionStart","onCompositionUpdate","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onSubmit","onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onPointerDown","onPointerEnter","onPointerLeave","onPointerUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd"]),o=/^(data-.*)$/,s=/^(aria-.*)$/,a=/^(on[A-Z].*)$/;function l(e,t={}){let{labelable:n=!0,enabled:l=!0,propNames:u,omitPropNames:c,omitEventNames:d,omitDataProps:f,omitEventProps:p}=t,h={};if(!l)return e;for(let t in e)!((null==c?void 0:c.has(t))||(null==d?void 0:d.has(t))&&a.test(t)||a.test(t)&&!i.has(t)||f&&o.test(t)||p&&a.test(t))&&(Object.prototype.hasOwnProperty.call(e,t)&&(r.has(t)||n&&s.test(t)||(null==u?void 0:u.has(t))||o.test(t))||a.test(t))&&(h[t]=e[t]);return h}},6265:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var r=n(4177);function i(e={}){let{strict:t=!0,errorMessage:n="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:i}=e,o=r.createContext(void 0);return o.displayName=i,[o.Provider,function e(){var i;let s=r.useContext(o);if(!s&&t){let t=Error(n);throw t.name="ContextError",null==(i=Error.captureStackTrace)||i.call(Error,t,e),t}return s},o]}},9475:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(5677);function i(...e){return t=>{e.forEach(e=>(function(e,t){if(null!=e){if((0,r.mf)(e)){e(t);return}try{e.current=t}catch(n){throw Error(`Cannot assign value '${t}' to ref '${e}'`)}}})(e,t))}}},4341:function(e,t,n){"use strict";n.d(t,{fg:function(){return i},gy:function(){return o}});var r=n(4177);function i(e){return{UNSAFE_getDOMNode:()=>e.current}}function o(e){let t=(0,r.useRef)(null);return(0,r.useImperativeHandle)(e,()=>t.current),t}"undefined"!=typeof window&&window.document&&window.document.createElement},1114:function(e,t,n){"use strict";n.d(t,{i:function(){return o}});var r=n(5667),i=n(4177);function o(e={}){let[t,n]=(0,i.useState)([]);return{ripples:t,onClick:(0,i.useCallback)(e=>{let t=e.currentTarget,i=Math.max(t.clientWidth,t.clientHeight),o=t.getBoundingClientRect();n(t=>[...t,{key:(0,r.QI)(t.length.toString()),size:i,x:e.clientX-o.left-i/2,y:e.clientY-o.top-i/2}])},[]),onClear:(0,i.useCallback)(e=>{n(t=>t.filter(t=>t.key!==e))},[]),...e}}},545:function(e,t,n){"use strict";n.d(t,{L:function(){return u}});var r=n(3393),i=n(9841),o=n(8971),s=n(1757),a=n(4746),l=e=>{let{ripples:t=[],motionProps:n,color:l="currentColor",style:u,onClear:c}=e;return(0,a.jsx)(a.Fragment,{children:t.map(e=>{let t=Math.min(Math.max(.01*e.size,.2),e.size>100?.75:.5);return(0,a.jsx)(r.X,{features:i.H,children:(0,a.jsx)(o.M,{mode:"popLayout",children:(0,a.jsx)(s.m.span,{animate:{transform:"scale(2)",opacity:0},className:"nextui-ripple",exit:{opacity:0},initial:{transform:"scale(0)",opacity:.35},style:{position:"absolute",backgroundColor:l,borderRadius:"100%",transformOrigin:"center",pointerEvents:"none",overflow:"hidden",inset:0,zIndex:0,top:e.y,left:e.x,width:`${e.size}px`,height:`${e.size}px`,...u},transition:{duration:t},onAnimationComplete:()=>{c(e.key)},...n})})},e.key)})})};l.displayName="NextUI.Ripple";var u=l},2189:function(e,t,n){"use strict";function r(...e){for(var t,n,i=0,o="";ie?"true":void 0},3038:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(4675),i={};function o(e,t,...n){var s;let a=t?` [${t}]`:" ",l=`[Next UI]${a}: ${e}`;if("undefined"!=typeof console&&!i[l]&&(i[l]=!0,(null==(s=null==r?void 0:r.env)?void 0:s.NODE_ENV)!=="production"))return console.warn(l,n)}},5667:function(e,t,n){"use strict";n.d(t,{Os:function(){return o},QI:function(){return i},Xx:function(){return s},kC:function(){return r}});var r=e=>e.charAt(0).toUpperCase()+e.slice(1);function i(e){return`${e}-${Math.floor(1e6*Math.random())}`}function o(e){for(let t in e)t.startsWith("on")&&delete e[t];return e}function s(e){if(!e||"object"!=typeof e)return"";try{return JSON.stringify(e)}catch(e){return""}}},6388:function(e,t,n){"use strict";n.d(t,{q:function(){return p}});var r={px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},i=n(3917),o=(0,n(203).tv)({base:"w-px h-px inline-block",variants:{isInline:{true:"inline-block",false:"block"}},defaultVariants:{isInline:!1}}),s=n(5667),a=n(5677),l=n(2189),u=n(4177),c=e=>{var t;return null!=(t=r[e])?t:e},d=n(4746),f=(0,i.Gp)((e,t)=>{let{Component:n,getSpacerProps:r}=function(e){let[t,n]=(0,i.oe)(e,o.variantKeys),{as:r,className:d,x:f=1,y:p=1,...h}=t,m=(0,u.useMemo)(()=>o({...n,className:d}),[(0,s.Xx)(n),d]),g=c(f),v=c(p);return{Component:r||"span",getSpacerProps:(e={})=>({...e,...h,"aria-hidden":(0,a.PB)(!0),className:(0,l.W)(m,e.className),style:{...e.style,...h.style,marginLeft:g,marginTop:v}})}}({...e});return(0,d.jsx)(n,{ref:t,...r()})});f.displayName="NextUI.Spacer";var p=f},7954:function(e,t,n){"use strict";n.d(t,{c:function(){return c}});var r=n(3917),i=(0,n(203).tv)({slots:{base:"relative inline-flex flex-col gap-2 items-center justify-center",wrapper:"relative flex",circle1:["absolute","w-full","h-full","rounded-full","animate-spinner-ease-spin","border-2","border-solid","border-t-transparent","border-l-transparent","border-r-transparent"],circle2:["absolute","w-full","h-full","rounded-full","opacity-75","animate-spinner-linear-spin","border-2","border-dotted","border-t-transparent","border-l-transparent","border-r-transparent"],label:"text-foreground dark:text-foreground-dark font-regular"},variants:{size:{sm:{wrapper:"w-5 h-5",circle1:"border-2",circle2:"border-2",label:"text-small"},md:{wrapper:"w-8 h-8",circle1:"border-3",circle2:"border-3",label:"text-medium"},lg:{wrapper:"w-10 h-10",circle1:"border-3",circle2:"border-3",label:"text-large"}},color:{current:{circle1:"border-b-current",circle2:"border-b-current"},white:{circle1:"border-b-white",circle2:"border-b-white"},default:{circle1:"border-b-default",circle2:"border-b-default"},primary:{circle1:"border-b-primary",circle2:"border-b-primary"},secondary:{circle1:"border-b-secondary",circle2:"border-b-secondary"},success:{circle1:"border-b-success",circle2:"border-b-success"},warning:{circle1:"border-b-warning",circle2:"border-b-warning"},danger:{circle1:"border-b-danger",circle2:"border-b-danger"}},labelColor:{foreground:{label:"text-foreground"},primary:{label:"text-primary"},secondary:{label:"text-secondary"},success:{label:"text-success"},warning:{label:"text-warning"},danger:{label:"text-danger"}}},defaultVariants:{size:"md",color:"primary",labelColor:"foreground"}}),o=n(5667),s=n(2189),a=n(4177),l=n(4746),u=(0,r.Gp)((e,t)=>{let{slots:n,classNames:u,label:c,getSpinnerProps:d}=function(e){let[t,n]=(0,r.oe)(e,i.variantKeys),{children:l,className:u,classNames:c,label:d,...f}=t,p=(0,a.useMemo)(()=>i({...n}),[(0,o.Xx)(n)]),h=(0,s.W)(null==c?void 0:c.base,u),m=d||l,g=(0,a.useMemo)(()=>m&&"string"==typeof m?m:f["aria-label"]?"":"Loading",[l,m,f["aria-label"]]),v=(0,a.useCallback)(()=>({"aria-label":g,className:p.base({class:h}),...f}),[g,p,h,f]);return{label:m,slots:p,classNames:c,getSpinnerProps:v}}({...e});return(0,l.jsxs)("div",{ref:t,...d(),children:[(0,l.jsxs)("div",{className:n.wrapper({class:null==u?void 0:u.wrapper}),children:[(0,l.jsx)("i",{className:n.circle1({class:null==u?void 0:u.circle1})}),(0,l.jsx)("i",{className:n.circle2({class:null==u?void 0:u.circle2})})]}),c&&(0,l.jsx)("span",{className:n.label({class:null==u?void 0:u.label}),children:c})]})});u.displayName="NextUI.Spinner";var c=u},3917:function(e,t,n){"use strict";n.d(t,{Gp:function(){return i},oe:function(){return o}});var r=n(4177);function i(e){return(0,r.forwardRef)(e)}var o=(e,t,n=!0)=>{if(!t)return[e,{}];let r=t.reduce((t,n)=>n in e?{...t,[n]:e[n]}:t,{});return n?[Object.keys(e).filter(e=>!t.includes(e)).reduce((t,n)=>({...t,[n]:e[n]}),{}),r]:[e,r]}},4479:function(e,t,n){"use strict";n.d(t,{a:function(){return r},w:function(){return i}});var[r,i]=(0,n(6265).k)({name:"ProviderContext",strict:!1})},2954:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});var r={solid:{default:"bg-default text-default-foreground",primary:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",success:"bg-success text-success-foreground",warning:"bg-warning text-warning-foreground",danger:"bg-danger text-danger-foreground",foreground:"bg-foreground text-background"},shadow:{default:"shadow-lg shadow-default/50 bg-default text-default-foreground",primary:"shadow-lg shadow-primary/40 bg-primary text-primary-foreground",secondary:"shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",success:"shadow-lg shadow-success/40 bg-success text-success-foreground",warning:"shadow-lg shadow-warning/40 bg-warning text-warning-foreground",danger:"shadow-lg shadow-danger/40 bg-danger text-danger-foreground",foreground:"shadow-lg shadow-foreground/40 bg-foreground text-background"},bordered:{default:"bg-transparent border-default text-foreground",primary:"bg-transparent border-primary text-primary",secondary:"bg-transparent border-secondary text-secondary",success:"bg-transparent border-success text-success",warning:"bg-transparent border-warning text-warning",danger:"bg-transparent border-danger text-danger",foreground:"bg-transparent border-foreground text-foreground"},flat:{default:"bg-default/40 text-default-700",primary:"bg-primary/20 text-primary-700",secondary:"bg-secondary/20 text-secondary-700",success:"bg-success/20 text-success-800 dark:text-success",warning:"bg-warning/20 text-warning-800 dark:text-warning",danger:"bg-danger/20 text-danger-800 dark:text-danger-500",foreground:"bg-foreground/10 text-foreground"},faded:{default:"border-default bg-default-100 text-default-foreground",primary:"border-default bg-default-100 text-primary",secondary:"border-default bg-default-100 text-secondary",success:"border-default bg-default-100 text-success",warning:"border-default bg-default-100 text-warning",danger:"border-default bg-default-100 text-danger",foreground:"border-default bg-default-100 text-foreground"},light:{default:"bg-transparent text-default-foreground",primary:"bg-transparent text-primary",secondary:"bg-transparent text-secondary",success:"bg-transparent text-success",warning:"bg-transparent text-warning",danger:"bg-transparent text-danger",foreground:"bg-transparent text-foreground"},ghost:{default:"border-default text-default-foreground",primary:"border-primary text-primary",secondary:"border-secondary text-secondary",success:"border-success text-success",warning:"border-warning text-warning",danger:"border-danger text-danger",foreground:"border-foreground text-foreground hover:!bg-foreground"}}},203:function(e,t,n){"use strict";n.d(t,{tv:function(){return en}});var r=["small","medium","large"],i={theme:{opacity:["disabled"],spacing:["divider"],borderWidth:r,borderRadius:r},classGroups:{shadow:[{shadow:r}],"font-size":[{text:["tiny",...r]}],"bg-image":["bg-stripe-gradient"]}},o=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,s=e=>!e||"object"!=typeof e||0===Object.keys(e).length,a=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function l(e){let t=[];return function e(t,n){t.forEach(function(t){Array.isArray(t)?e(t,n):n.push(t)})}(e,t),t}var u=(...e)=>l(e).filter(Boolean),c=(e,t)=>{let n={},r=Object.keys(e),i=Object.keys(t);for(let o of r)if(i.includes(o)){let r=e[o],i=t[o];"object"==typeof r&&"object"==typeof i?n[o]=c(r,i):Array.isArray(r)||Array.isArray(i)?n[o]=u(i,r):n[o]=i+" "+r}else n[o]=e[o];for(let e of i)r.includes(e)||(n[e]=t[e]);return n},d=e=>e&&"string"==typeof e?e.replace(/\s+/g," ").trim():e,f=/^\[(.+)\]$/;function p(e,t){var n=e;return t.split("-").forEach(function(e){n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n}var h=/\s+/;function m(){for(var e,t,n=0,r="";ne&&(t=0,r=n,n=new Map)}return{get:function(e){var t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(i(e,t),t):void 0},set:function(e,t){n.has(e)?n.set(e,t):i(e,t)}}}(e.cacheSize),splitModifiers:(n=1===(t=e.separator||":").length,r=t[0],i=t.length,function(e){for(var o,s=[],a=0,l=0,u=0;ul?o-l:void 0}}),...(l=e.theme,u=e.prefix,c={nextPart:new Map,validators:[]},(d=Object.entries(e.classGroups),u?d.map(function(e){return[e[0],e[1].map(function(e){return"string"==typeof e?u+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(function(e){return[u+e[0],e[1]]})):e})]}):d).forEach(function(e){var t=e[0];(function e(t,n,r,i){t.forEach(function(t){if("string"==typeof t){(""===t?n:p(n,t)).classGroupId=r;return}if("function"==typeof t){if(t.isThemeGetter){e(t(i),n,r,i);return}n.validators.push({validator:t,classGroupId:r});return}Object.entries(t).forEach(function(t){var o=t[0];e(t[1],p(n,o),r,i)})})})(e[1],c,t,l)}),o=e.conflictingClassGroups,a=void 0===(s=e.conflictingClassGroupModifiers)?{}:s,{getClassGroupId:function(e){var t=e.split("-");return""===t[0]&&1!==t.length&&t.shift(),function e(t,n){if(0===t.length)return n.classGroupId;var r=t[0],i=n.nextPart.get(r),o=i?e(t.slice(1),i):void 0;if(o)return o;if(0!==n.validators.length){var s=t.join("-");return n.validators.find(function(e){return(0,e.validator)(s)})?.classGroupId}}(t,c)||function(e){if(f.test(e)){var t=f.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}(e)},getConflictingClassGroupIds:function(e,t){var n=o[e]||[];return t&&a[e]?[].concat(n,a[e]):n}})}}(i.slice(1).reduce(function(e,t){return t(e)},o()))).cache.get,n=e.cache.set,s=a,a(r)};function a(r){var i,o,s,a,l,u=t(r);if(u)return u;var c=(o=(i=e).splitModifiers,s=i.getClassGroupId,a=i.getConflictingClassGroupIds,l=new Set,r.trim().split(h).map(function(e){var t=o(e),n=t.modifiers,r=t.hasImportantModifier,i=t.baseClassName,a=t.maybePostfixModifierPosition,l=s(a?i.substring(0,a):i),u=!!a;if(!l){if(!a||!(l=s(i)))return{isTailwindClass:!1,originalClassName:e};u=!1}var c=(function(e){if(e.length<=1)return e;var t=[],n=[];return e.forEach(function(e){"["===e[0]?(t.push.apply(t,n.sort().concat([e])),n=[]):n.push(e)}),t.push.apply(t,n.sort()),t})(n).join(":");return{isTailwindClass:!0,modifierId:r?c+"!":c,classGroupId:l,originalClassName:e,hasPostfixModifier:u}}).reverse().filter(function(e){if(!e.isTailwindClass)return!0;var t=e.modifierId,n=e.classGroupId,r=e.hasPostfixModifier,i=t+n;return!l.has(i)&&(l.add(i),a(n,r).forEach(function(e){return l.add(t+e)}),!0)}).reverse().map(function(e){return e.originalClassName}).join(" "));return n(r,c),c}return function(){return s(m.apply(null,arguments))}}function v(e){var t=function(t){return t[e]||[]};return t.isThemeGetter=!0,t}var y=/^\[(?:([a-z-]+):)?(.+)\]$/i,b=/^\d+\/\d+$/,w=new Set(["px","full","screen"]),_=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,x=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,E=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function C(e){return L(e)||w.has(e)||b.test(e)||S(e)}function S(e){return I(e,"length",F)}function T(e){return I(e,"size",D)}function P(e){return I(e,"position",D)}function k(e){return I(e,"url",V)}function M(e){return I(e,"number",L)}function L(e){return!Number.isNaN(Number(e))}function $(e){return e.endsWith("%")&&L(e.slice(0,-1))}function A(e){return z(e)||I(e,"number",z)}function O(e){return y.test(e)}function R(){return!0}function N(e){return _.test(e)}function j(e){return I(e,"",H)}function I(e,t,n){var r=y.exec(e);return!!r&&(r[1]?r[1]===t:n(r[2]))}function F(e){return x.test(e)}function D(){return!1}function V(e){return e.startsWith("url(")}function z(e){return Number.isInteger(Number(e))}function H(e){return E.test(e)}function K(){var e=v("colors"),t=v("spacing"),n=v("blur"),r=v("brightness"),i=v("borderColor"),o=v("borderRadius"),s=v("borderSpacing"),a=v("borderWidth"),l=v("contrast"),u=v("grayscale"),c=v("hueRotate"),d=v("invert"),f=v("gap"),p=v("gradientColorStops"),h=v("gradientColorStopPositions"),m=v("inset"),g=v("margin"),y=v("opacity"),b=v("padding"),w=v("saturate"),_=v("scale"),x=v("sepia"),E=v("skew"),I=v("space"),F=v("translate"),D=function(){return["auto","contain","none"]},V=function(){return["auto","hidden","clip","visible","scroll"]},z=function(){return["auto",O,t]},H=function(){return[O,t]},K=function(){return["",C]},W=function(){return["auto",L,O]},B=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},U=function(){return["solid","dashed","dotted","double","none"]},J=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},G=function(){return["start","end","center","between","around","evenly","stretch"]},Y=function(){return["","0",O]},Z=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},X=function(){return[L,M]},q=function(){return[L,O]};return{cacheSize:500,theme:{colors:[R],spacing:[C],blur:["none","",N,O],brightness:X(),borderColor:[e],borderRadius:["none","","full",N,O],borderSpacing:H(),borderWidth:K(),contrast:X(),grayscale:Y(),hueRotate:q(),invert:Y(),gap:H(),gradientColorStops:[e],gradientColorStopPositions:[$,S],inset:z(),margin:z(),opacity:X(),padding:H(),saturate:X(),scale:X(),sepia:Y(),skew:q(),space:H(),translate:H()},classGroups:{aspect:[{aspect:["auto","square","video",O]}],container:["container"],columns:[{columns:[N]}],"break-after":[{"break-after":Z()}],"break-before":[{"break-before":Z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(B(),[O])}],overflow:[{overflow:V()}],"overflow-x":[{"overflow-x":V()}],"overflow-y":[{"overflow-y":V()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",A]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",O]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",A]}],"grid-cols":[{"grid-cols":[R]}],"col-start-end":[{col:["auto",{span:["full",A]},O]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[R]}],"row-start-end":[{row:["auto",{span:[A]},O]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",O]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",O]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal"].concat(G())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(G(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(G(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[I]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[I]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",O,t]}],"min-w":[{"min-w":["min","max","fit",O,C]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[N]},N,O]}],h:[{h:[O,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",O,C]}],"max-h":[{"max-h":[O,t,"min","max","fit"]}],"font-size":[{text:["base",N,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",M]}],"font-family":[{font:[R]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",O]}],"line-clamp":[{"line-clamp":["none",L,M]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",O,C]}],"list-image":[{"list-image":["none",O]}],"list-style-type":[{list:["none","disc","decimal",O]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(U(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",C]}],"underline-offset":[{"underline-offset":["auto",O,C]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:H()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",O]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",O]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(B(),[P])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",T]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},k]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[].concat(U(),["hidden"])}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:U()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:[""].concat(U())}],"outline-offset":[{"outline-offset":[O,C]}],"outline-w":[{outline:[C]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[C]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",N,j]}],"shadow-color":[{shadow:[R]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":J()}],"bg-blend":[{"bg-blend":J()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",N,O]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[w]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",O]}],duration:[{duration:q()}],ease:[{ease:["linear","in","out","in-out",O]}],delay:[{delay:q()}],animate:[{animate:["none","spin","ping","pulse","bounce",O]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[_]}],"scale-x":[{"scale-x":[_]}],"scale-y":[{"scale-y":[_]}],rotate:[{rotate:[A,O]}],"translate-x":[{"translate-x":[F]}],"translate-y":[{"translate-y":[F]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",O]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",O]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":H()}],"scroll-mx":[{"scroll-mx":H()}],"scroll-my":[{"scroll-my":H()}],"scroll-ms":[{"scroll-ms":H()}],"scroll-me":[{"scroll-me":H()}],"scroll-mt":[{"scroll-mt":H()}],"scroll-mr":[{"scroll-mr":H()}],"scroll-mb":[{"scroll-mb":H()}],"scroll-ml":[{"scroll-ml":H()}],"scroll-p":[{"scroll-p":H()}],"scroll-px":[{"scroll-px":H()}],"scroll-py":[{"scroll-py":H()}],"scroll-ps":[{"scroll-ps":H()}],"scroll-pe":[{"scroll-pe":H()}],"scroll-pt":[{"scroll-pt":H()}],"scroll-pr":[{"scroll-pr":H()}],"scroll-pb":[{"scroll-pb":H()}],"scroll-pl":[{"scroll-pl":H()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",O]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[C,M]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var W=g(K),B=Object.prototype.hasOwnProperty,U=new Set(["string","number","boolean"]),J={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},G=e=>e||void 0,Y=(...e)=>G(l(e).filter(Boolean).join(" ")),Z=null,X={},q=!1,Q=(...e)=>t=>t.twMerge?((!Z||q)&&(q=!1,Z=s(X)?W:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r{for(let n in t)e.hasOwnProperty(n)?e[n]=Y(e[n],t[n]):e[n]=t[n];return e},et=(e,t)=>{let{extend:n=null,slots:r={},variants:i={},compoundVariants:l=[],compoundSlots:f=[],defaultVariants:p={}}=e,h={...J,...t},m=null!=n&&n.base?Y(n.base,null==e?void 0:e.base):null==e?void 0:e.base,g=null!=n&&n.variants&&!s(n.variants)?c(i,n.variants):i,v=null!=n&&n.defaultVariants&&!s(n.defaultVariants)?{...n.defaultVariants,...p}:p;s(h.twMergeConfig)||a(h.twMergeConfig,X)||(q=!0,X=h.twMergeConfig);let y=s(null==n?void 0:n.slots),b=s(r)?{}:{base:Y(null==e?void 0:e.base,y&&(null==n?void 0:n.base)),...r},w=y?b:ee({...null==n?void 0:n.slots},s(b)?{base:null==e?void 0:e.base}:b),_=e=>{if(s(g)&&s(r)&&y)return Q(m,null==e?void 0:e.class,null==e?void 0:e.className)(h);if(l&&!Array.isArray(l))throw TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof l}`);if(f&&!Array.isArray(f))throw TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof f}`);let t=(e,t,n=[],r)=>{let i=n;if("string"==typeof t)i=i.concat(d(t).split(" ").map(t=>`${e}:${t}`));else if(Array.isArray(t))i=i.concat(t.reduce((t,n)=>t.concat(`${e}:${n}`),[]));else if("object"==typeof t&&"string"==typeof r){for(let n in t)if(t.hasOwnProperty(n)&&n===r){let o=t[n];if(o&&"string"==typeof o){let t=d(o);i[r]?i[r]=i[r].concat(t.split(" ").map(t=>`${e}:${t}`)):i[r]=t.split(" ").map(t=>`${e}:${t}`)}else Array.isArray(o)&&o.length>0&&(i[r]=o.reduce((t,n)=>t.concat(`${e}:${n}`),[]))}}return i},i=(n,r=g,i=null,a=null)=>{var l;let u=r[n];if(!u||s(u))return null;let c=null!=(l=null==a?void 0:a[n])?l:null==e?void 0:e[n];if(null===c)return null;let d=o(c),f=Array.isArray(h.responsiveVariants)&&h.responsiveVariants.length>0||!0===h.responsiveVariants,p=null==v?void 0:v[n],m=[];if("object"==typeof d&&f)for(let[e,n]of Object.entries(d)){let r=u[n];if("initial"===e){p=n;continue}Array.isArray(h.responsiveVariants)&&!h.responsiveVariants.includes(e)||(m=t(e,r,m,i))}let y=u[d]||u[o(p)];return"object"==typeof m&&"string"==typeof i&&m[i]?ee(m,y):m.length>0?(m.push(y),m):y},a=(e,t)=>{if(!g||"object"!=typeof g)return null;let n=[];for(let r in g){let o=i(r,g,e,t),s="base"===e&&"string"==typeof o?o:o&&o[e];s&&(n[n.length]=s)}return n},c={};for(let t in e)void 0!==e[t]&&(c[t]=e[t]);let p=(t,n)=>{var r;let i="object"==typeof(null==e?void 0:e[t])?{[t]:null==(r=e[t])?void 0:r.initial}:{};return{...v,...c,...i,...n}},b=(e=[],t)=>{let n=[];for(let{class:r,className:i,...o}of e){let e=!0;for(let[n,r]of Object.entries(o)){let i=p(n,t);if(Array.isArray(r)){if(!r.includes(i[n])){e=!1;break}}else if(i[n]!==r){e=!1;break}}e&&(r&&n.push(r),i&&n.push(i))}return n},_=e=>{let t=b(l,e);return u(b(null==n?void 0:n.compoundVariants,e),t)},x=e=>{let t=_(e);if(!Array.isArray(t))return t;let n={};for(let e of t)if("string"==typeof e&&(n.base=Q(n.base,e)(h)),"object"==typeof e)for(let[t,r]of Object.entries(e))n[t]=Q(n[t],r)(h);return n},E=e=>{if(f.length<1)return null;let t={};for(let{slots:n=[],class:r,className:i,...o}of f){if(!s(o)){let t=!0;for(let n of Object.keys(o)){let r=p(n,e)[n];if(void 0===r||(Array.isArray(o[n])?!o[n].includes(r):o[n]!==r)){t=!1;break}}if(!t)continue}for(let e of n)t[e]=t[e]||[],t[e].push([r,i])}return t};if(!s(r)||!y){let e={};if("object"==typeof w&&!s(w))for(let t of Object.keys(w))e[t]=e=>{var n,r;return Q(w[t],a(t,e),(null!=(n=x(e))?n:[])[t],(null!=(r=E(e))?r:[])[t],null==e?void 0:e.class,null==e?void 0:e.className)(h)};return e}return Q(m,g?Object.keys(g).map(e=>i(e,g)):null,_(),null==e?void 0:e.class,null==e?void 0:e.className)(h)};return _.variantKeys=(()=>{if(!(!g||"object"!=typeof g))return Object.keys(g)})(),_.extend=n,_.base=m,_.slots=w,_.variants=g,_.defaultVariants=v,_.compoundSlots=f,_.compoundVariants=l,_},en=(e,t)=>{var n,r,o;return et(e,{...t,twMerge:null==(n=null==t?void 0:t.twMerge)||n,twMergeConfig:{...null==t?void 0:t.twMergeConfig,theme:{...null==(r=null==t?void 0:t.twMergeConfig)?void 0:r.theme,...i.theme},classGroups:{...null==(o=null==t?void 0:t.twMergeConfig)?void 0:o.classGroups,...i.classGroups}}})}},4136:function(e,t,n){"use strict";n.d(t,{Dh:function(){return r},ID:function(){return i},Zs:function(){return s},jR:function(){return o}});var r=["outline-none","data-[focus-visible=true]:z-10","data-[focus-visible=true]:outline-2","data-[focus-visible=true]:outline-focus","data-[focus-visible=true]:outline-offset-2"],i=["outline-none","group-data-[focus-visible=true]:z-10","group-data-[focus-visible=true]:ring-2","group-data-[focus-visible=true]:ring-focus","group-data-[focus-visible=true]:ring-offset-2","group-data-[focus-visible=true]:ring-offset-background"],o=["outline-none","ring-2","ring-focus","ring-offset-2","ring-offset-background"],s={default:["[&+.border-medium.border-default]:ms-[calc(theme(borderWidth.medium)*-1)]"],primary:["[&+.border-medium.border-primary]:ms-[calc(theme(borderWidth.medium)*-1)]"],secondary:["[&+.border-medium.border-secondary]:ms-[calc(theme(borderWidth.medium)*-1)]"],success:["[&+.border-medium.border-success]:ms-[calc(theme(borderWidth.medium)*-1)]"],warning:["[&+.border-medium.border-warning]:ms-[calc(theme(borderWidth.medium)*-1)]"],danger:["[&+.border-medium.border-danger]:ms-[calc(theme(borderWidth.medium)*-1)]"]}},6492:function(e,t,n){"use strict";n.d(t,{v:function(){return s}});var r=n(2954),i=n(203),o=n(4136),s=(0,i.tv)({slots:{base:["z-0","relative","bg-transparent","before:content-['']","before:hidden","before:z-[-1]","before:absolute","before:rotate-45","before:w-2.5","before:h-2.5","before:rounded-sm","data-[arrow=true]:before:block","data-[placement=top]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top]:before:left-1/2","data-[placement=top]:before:-translate-x-1/2","data-[placement=top-start]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top-start]:before:left-3","data-[placement=top-end]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top-end]:before:right-3","data-[placement=bottom]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom]:before:left-1/2","data-[placement=bottom]:before:-translate-x-1/2","data-[placement=bottom-start]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom-start]:before:left-3","data-[placement=bottom-end]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom-end]:before:right-3","data-[placement=left]:before:-right-[calc(theme(spacing.5)/4_-_2px)]","data-[placement=left]:before:top-1/2","data-[placement=left]:before:-translate-y-1/2","data-[placement=left-start]:before:-right-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=left-start]:before:top-1/4","data-[placement=left-end]:before:-right-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=left-end]:before:bottom-1/4","data-[placement=right]:before:-left-[calc(theme(spacing.5)/4_-_2px)]","data-[placement=right]:before:top-1/2","data-[placement=right]:before:-translate-y-1/2","data-[placement=right-start]:before:-left-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=right-start]:before:top-1/4","data-[placement=right-end]:before:-left-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=right-end]:before:bottom-1/4",...o.Dh],content:["z-10","px-2.5","py-1","w-full","inline-flex","flex-col","items-center","justify-center","box-border","subpixel-antialiased","outline-none","box-border"],trigger:["z-10"],backdrop:["hidden"],arrow:[]},variants:{size:{sm:{content:"text-tiny"},md:{content:"text-small"},lg:{content:"text-medium"}},color:{default:{base:"before:bg-content1 before:shadow-small",content:"bg-content1"},foreground:{base:"before:bg-foreground",content:r.J.solid.foreground},primary:{base:"before:bg-primary",content:r.J.solid.primary},secondary:{base:"before:bg-secondary",content:r.J.solid.secondary},success:{base:"before:bg-success",content:r.J.solid.success},warning:{base:"before:bg-warning",content:r.J.solid.warning},danger:{base:"before:bg-danger",content:r.J.solid.danger}},radius:{none:{content:"rounded-none"},sm:{content:"rounded-small"},md:{content:"rounded-medium"},lg:{content:"rounded-large"},full:{content:"rounded-full"}},shadow:{sm:{content:"shadow-small"},md:{content:"shadow-medium"},lg:{content:"shadow-large"}},backdrop:{transparent:{},opaque:{backdrop:"bg-overlay/50 backdrop-opacity-disabled"},blur:{backdrop:"backdrop-blur-sm backdrop-saturate-150 bg-overlay/30"}},triggerScaleOnOpen:{true:{trigger:["aria-expanded:scale-[0.97]","aria-expanded:opacity-70","subpixel-antialiased"]},false:{}},disableAnimation:{true:{base:"animate-none"}},isTriggerDisabled:{true:{trigger:"opacity-disabled pointer-events-none"},false:{}}},defaultVariants:{color:"default",radius:"lg",size:"md",shadow:"md",backdrop:"transparent",triggerScaleOnOpen:!0},compoundVariants:[{backdrop:["opaque","blur"],class:{backdrop:"block w-full h-full fixed inset-0 -z-30"}}]})},3290:function(e,t,n){"use strict";n.d(t,{D:function(){return a},L:function(){return s}});var r=n(2954),i=n(203),o=n(4136),s=(0,i.tv)({base:["z-0","group","relative","inline-flex","items-center","justify-center","box-border","appearance-none","outline-none","select-none","whitespace-nowrap","min-w-max","font-normal","subpixel-antialiased","overflow-hidden","tap-highlight-transparent","data-[pressed=true]:scale-[0.97]",...o.Dh],variants:{variant:{solid:"",bordered:"border-medium bg-transparent",light:"bg-transparent",flat:"",faded:"border-medium",shadow:"",ghost:"border-medium bg-transparent"},size:{sm:"px-3 min-w-16 h-8 text-tiny gap-2 rounded-small",md:"px-4 min-w-20 h-10 text-small gap-2 rounded-medium",lg:"px-6 min-w-24 h-12 text-medium gap-3 rounded-large"},color:{default:"",primary:"",secondary:"",success:"",warning:"",danger:""},radius:{none:"rounded-none",sm:"rounded-small",md:"rounded-medium",lg:"rounded-large",full:"rounded-full"},fullWidth:{true:"w-full"},isDisabled:{true:"opacity-disabled pointer-events-none"},isInGroup:{true:"[&:not(:first-child):not(:last-child)]:rounded-none"},isIconOnly:{true:"px-0 !gap-0",false:"[&>svg]:max-w-[theme(spacing.8)]"},disableAnimation:{true:"!transition-none data-[pressed=true]:scale-100",false:"transition-transform-colors-opacity motion-reduce:transition-none"}},defaultVariants:{size:"md",variant:"solid",color:"default",fullWidth:!1,isDisabled:!1,isInGroup:!1},compoundVariants:[{variant:"solid",color:"default",class:r.J.solid.default},{variant:"solid",color:"primary",class:r.J.solid.primary},{variant:"solid",color:"secondary",class:r.J.solid.secondary},{variant:"solid",color:"success",class:r.J.solid.success},{variant:"solid",color:"warning",class:r.J.solid.warning},{variant:"solid",color:"danger",class:r.J.solid.danger},{variant:"shadow",color:"default",class:r.J.shadow.default},{variant:"shadow",color:"primary",class:r.J.shadow.primary},{variant:"shadow",color:"secondary",class:r.J.shadow.secondary},{variant:"shadow",color:"success",class:r.J.shadow.success},{variant:"shadow",color:"warning",class:r.J.shadow.warning},{variant:"shadow",color:"danger",class:r.J.shadow.danger},{variant:"bordered",color:"default",class:r.J.bordered.default},{variant:"bordered",color:"primary",class:r.J.bordered.primary},{variant:"bordered",color:"secondary",class:r.J.bordered.secondary},{variant:"bordered",color:"success",class:r.J.bordered.success},{variant:"bordered",color:"warning",class:r.J.bordered.warning},{variant:"bordered",color:"danger",class:r.J.bordered.danger},{variant:"flat",color:"default",class:r.J.flat.default},{variant:"flat",color:"primary",class:r.J.flat.primary},{variant:"flat",color:"secondary",class:r.J.flat.secondary},{variant:"flat",color:"success",class:r.J.flat.success},{variant:"flat",color:"warning",class:r.J.flat.warning},{variant:"flat",color:"danger",class:r.J.flat.danger},{variant:"faded",color:"default",class:r.J.faded.default},{variant:"faded",color:"primary",class:r.J.faded.primary},{variant:"faded",color:"secondary",class:r.J.faded.secondary},{variant:"faded",color:"success",class:r.J.faded.success},{variant:"faded",color:"warning",class:r.J.faded.warning},{variant:"faded",color:"danger",class:r.J.faded.danger},{variant:"light",color:"default",class:[r.J.light.default,"data-[hover=true]:bg-default/40"]},{variant:"light",color:"primary",class:[r.J.light.primary,"data-[hover=true]:bg-primary/20"]},{variant:"light",color:"secondary",class:[r.J.light.secondary,"data-[hover=true]:bg-secondary/20"]},{variant:"light",color:"success",class:[r.J.light.success,"data-[hover=true]:bg-success/20"]},{variant:"light",color:"warning",class:[r.J.light.warning,"data-[hover=true]:bg-warning/20"]},{variant:"light",color:"danger",class:[r.J.light.danger,"data-[hover=true]:bg-danger/20"]},{variant:"ghost",color:"default",class:[r.J.ghost.default,"data-[hover=true]:!bg-default"]},{variant:"ghost",color:"primary",class:[r.J.ghost.primary,"data-[hover=true]:!bg-primary data-[hover=true]:!text-primary-foreground"]},{variant:"ghost",color:"secondary",class:[r.J.ghost.secondary,"data-[hover=true]:!bg-secondary data-[hover=true]:!text-secondary-foreground"]},{variant:"ghost",color:"success",class:[r.J.ghost.success,"data-[hover=true]:!bg-success data-[hover=true]:!text-success-foreground"]},{variant:"ghost",color:"warning",class:[r.J.ghost.warning,"data-[hover=true]:!bg-warning data-[hover=true]:!text-warning-foreground"]},{variant:"ghost",color:"danger",class:[r.J.ghost.danger,"data-[hover=true]:!bg-danger !text-danger-foreground"]},{isInGroup:!0,class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,size:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,isRounded:!0,class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,radius:"none",class:"rounded-none first:rounded-s-none last:rounded-e-none"},{isInGroup:!0,radius:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,radius:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,radius:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,radius:"full",class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,variant:["ghost","bordered"],color:"default",className:o.Zs.default},{isInGroup:!0,variant:["ghost","bordered"],color:"primary",className:o.Zs.primary},{isInGroup:!0,variant:["ghost","bordered"],color:"secondary",className:o.Zs.secondary},{isInGroup:!0,variant:["ghost","bordered"],color:"success",className:o.Zs.success},{isInGroup:!0,variant:["ghost","bordered"],color:"warning",className:o.Zs.warning},{isInGroup:!0,variant:["ghost","bordered"],color:"danger",className:o.Zs.danger},{isIconOnly:!0,size:"sm",class:"min-w-8 w-8 h-8"},{isIconOnly:!0,size:"md",class:"min-w-10 w-10 h-10"},{isIconOnly:!0,size:"lg",class:"min-w-12 w-12 h-12"},{variant:["solid","faded","flat","bordered","shadow"],class:"data-[hover=true]:opacity-hover"}]}),a=(0,i.tv)({base:"inline-flex items-center justify-center h-auto",variants:{fullWidth:{true:"w-full"}},defaultVariants:{fullWidth:!1}})},154:function(e,t,n){"use strict";n.d(t,{e:function(){return I}});var r=n(4177),i=n(4668);let o={},s=0,a=!1,l=null,u=null;var c=n(1610),d=n(7101),f=n(6150),p=n(9107),h=n(4856),m=n(2904),g=n(2628),v=n(458),y=n(4479),b=n(3917),w=n(6492),_=n(5667),x=n(5677),E=n(2189),C=n(9475),S=n(4341),T=n(5381),P=n(2002),k=n(2774),M=n(3393),L=n(9841),$=n(1757),A=n(8971),O=n(1845),R=n(3038),N=n(4746),j=(0,b.Gp)((e,t)=>{let n;let{Component:j,children:I,content:F,isOpen:D,portalContainer:V,placement:z,disableAnimation:H,motionProps:K,getTriggerProps:W,getTooltipProps:B,getTooltipContentProps:U}=function(e){var t,n;let k=(0,y.w)(),[M,L]=(0,b.oe)(e,w.v.variantKeys),{ref:$,as:A,isOpen:O,content:R,children:N,defaultOpen:j,onOpenChange:I,isDisabled:F,trigger:D,shouldFlip:V=!0,containerPadding:z=12,placement:H="top",delay:K=0,closeDelay:W=500,showArrow:B=!1,offset:U=7,crossOffset:J=0,isDismissable:G,shouldCloseOnBlur:Y=!0,portalContainer:Z,isKeyboardDismissDisabled:X=!1,updatePositionDeps:q=[],shouldCloseOnInteractOutside:Q,className:ee,onClose:et,motionProps:en,classNames:er,...ei}=M,eo=null!=(n=null!=(t=null==e?void 0:e.disableAnimation)?t:null==k?void 0:k.disableAnimation)&&n,es=function(e={}){let{delay:t=1500,closeDelay:n=500}=e,{isOpen:c,open:d,close:f}=(0,i.d)(e),p=(0,r.useMemo)(()=>`${++s}`,[]),h=(0,r.useRef)(),m=()=>{o[p]=y},g=()=>{for(let e in o)e!==p&&(o[e](!0),delete o[e])},v=()=>{clearTimeout(h.current),h.current=null,g(),m(),a=!0,d(),l&&(clearTimeout(l),l=null),u&&(clearTimeout(u),u=null)},y=e=>{e||n<=0?(clearTimeout(h.current),h.current=null,f()):h.current||(h.current=setTimeout(()=>{h.current=null,f()},n)),l&&(clearTimeout(l),l=null),a&&(u&&clearTimeout(u),u=setTimeout(()=>{delete o[p],u=null,a=!1},Math.max(500,n)))},b=()=>{g(),m(),c||l||a?c||v():l=setTimeout(()=>{l=null,a=!0,v()},t)};return(0,r.useEffect)(()=>()=>{clearTimeout(h.current),o[p]&&delete o[p]},[p]),{isOpen:c,open:e=>{e||!(t>0)||h.current?v():b()},close:y}}({delay:K,closeDelay:W,isDisabled:F,defaultOpen:j,isOpen:O,onOpenChange:e=>{null==I||I(e),e||null==et||et()}}),ea=(0,r.useRef)(null),el=(0,r.useRef)(null),eu=(0,r.useId)(),ec=es.isOpen&&!F;(0,r.useImperativeHandle)($,()=>(0,S.fg)(el));let{triggerProps:ed,tooltipProps:ef}=function(e,t,n){let{isDisabled:i,trigger:o}=e,s=(0,p.Me)(),a=(0,r.useRef)(!1),l=(0,r.useRef)(!1),u=()=>{(a.current||l.current)&&t.open(l.current)},m=e=>{a.current||l.current||t.close(e)};(0,r.useEffect)(()=>{let e=e=>{n&&n.current&&"Escape"===e.key&&(e.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener("keydown",e,!0),()=>{document.removeEventListener("keydown",e,!0)}},[n,t]);let g=()=>{l.current=!1,a.current=!1,m(!0)},{hoverProps:v}=(0,f.X)({isDisabled:i,onHoverStart:()=>{"focus"!==o&&("pointer"===(0,d.Jz)()?a.current=!0:a.current=!1,u())},onHoverEnd:()=>{"focus"!==o&&(l.current=!1,a.current=!1,m())}}),{focusableProps:y}=(0,h.k)({isDisabled:i,onFocus:()=>{(0,d.E)()&&(l.current=!0,u())},onBlur:()=>{l.current=!1,a.current=!1,m(!0)}},n);return{triggerProps:{"aria-describedby":t.isOpen?s:void 0,...(0,c.d)(y,v,{onPointerDown:g,onKeyDown:g})},tooltipProps:{id:s}}}({isDisabled:F,trigger:D},es,ea),{tooltipProps:ep}=function(e,t){let n=(0,m.z)(e,{labelable:!0}),{hoverProps:r}=(0,f.X)({onHoverStart:()=>null==t?void 0:t.open(!0),onHoverEnd:()=>null==t?void 0:t.close()});return{tooltipProps:(0,c.d)(n,r,{role:"tooltip"})}}({isOpen:ec,...(0,c.d)(M,ef)},es),{overlayProps:eh,placement:em,updatePosition:eg}=(0,g.t)({isOpen:ec,targetRef:ea,placement:(0,T.Yx)(H),overlayRef:el,offset:B?U+3:U,crossOffset:J,shouldFlip:V,containerPadding:z});(0,P.G)(()=>{q.length&&eg()},q);let{overlayProps:ev}=(0,v.I)({isOpen:ec,onClose:es.close,isDismissable:G,shouldCloseOnBlur:Y,isKeyboardDismissDisabled:X,shouldCloseOnInteractOutside:Q},el),ey=(0,r.useMemo)(()=>{var t,n,r;return(0,w.v)({...L,disableAnimation:eo,radius:null!=(t=null==e?void 0:e.radius)?t:"md",size:null!=(n=null==e?void 0:e.size)?n:"md",shadow:null!=(r=null==e?void 0:e.shadow)?r:"sm"})},[(0,_.Xx)(L),eo,null==e?void 0:e.radius,null==e?void 0:e.size,null==e?void 0:e.shadow]),eb=(0,r.useCallback)((e={},t=null)=>({...(0,c.d)(ed,e),ref:(0,C.l)(t,ea),"aria-describedby":ec?eu:void 0}),[ed,ec,eu,es]),ew=(0,r.useCallback)(()=>({ref:el,"data-slot":"base","data-open":(0,x.PB)(ec),"data-arrow":(0,x.PB)(B),"data-disabled":(0,x.PB)(F),"data-placement":(0,T.sK)(em,H),...(0,c.d)(ep,ev,ei),style:(0,c.d)(eh.style,ei.style,M.style),className:ey.base({class:null==er?void 0:er.base}),id:eu}),[ey,ec,B,F,em,H,ep,ev,ei,eh,M,eu]),e_=(0,r.useCallback)(()=>({"data-slot":"content","data-open":(0,x.PB)(ec),"data-arrow":(0,x.PB)(B),"data-disabled":(0,x.PB)(F),"data-placement":(0,T.sK)(em,H),className:ey.content({class:(0,E.W)(null==er?void 0:er.content,ee)})}),[ey,ec,B,F,em,H,er]);return{Component:A||"div",content:R,children:N,isOpen:ec,triggerRef:ea,showArrow:B,portalContainer:Z,placement:H,disableAnimation:eo,isDisabled:F,motionProps:en,getTooltipContentProps:e_,getTriggerProps:eb,getTooltipProps:ew}}({...e,ref:t});try{let e=r.Children.count(I);if(1!==e)throw Error();n=(0,r.isValidElement)(I)?(0,r.cloneElement)(I,W(I.props,I.ref)):(0,N.jsx)("p",{...W(),children:I})}catch(e){n=(0,N.jsx)("span",{}),(0,R.Z)("Tooltip must have only one child node. Please, check your code.")}let{ref:J,id:G,style:Y,...Z}=B(),X=(0,N.jsx)("div",{ref:J,id:G,style:Y,children:(0,N.jsx)(M.X,{features:L.H,children:(0,N.jsx)($.m.div,{animate:"enter",exit:"exit",initial:"exit",variants:O.y7.scaleSpring,...(0,c.d)(K,Z),style:{...(0,T.VS)(z)},children:(0,N.jsx)(j,{...U(),children:F})})})});return(0,N.jsxs)(N.Fragment,{children:[n,H&&D?(0,N.jsx)(k.Xj,{portalContainer:V,children:(0,N.jsx)("div",{ref:J,id:G,style:Y,...Z,children:(0,N.jsx)(j,{...U(),children:F})})}):(0,N.jsx)(A.M,{children:D?(0,N.jsx)(k.Xj,{portalContainer:V,children:X}):null})]})});j.displayName="NextUI.Tooltip";var I=j},57:function(e,t,n){"use strict";n.d(t,{j:function(){return a}});var r=n(1610),i=n(2904),o=n(4856),s=n(3715);function a(e,t){let n,{elementType:a="button",isDisabled:l,onPress:u,onPressStart:c,onPressEnd:d,onPressChange:f,preventFocusOnPress:p,allowFocusWhenDisabled:h,onClick:m,href:g,target:v,rel:y,type:b="button",allowTextSelectionOnPress:w}=e;n="button"===a?{type:b,disabled:l}:{role:"button",tabIndex:l?void 0:0,href:"a"===a&&l?void 0:g,target:"a"===a?v:void 0,type:"input"===a?b:void 0,disabled:"input"===a?l:void 0,"aria-disabled":l&&"input"!==a?l:void 0,rel:"a"===a?y:void 0};let{pressProps:_,isPressed:x}=(0,s.r)({onPressStart:c,onPressEnd:d,onPressChange:f,onPress:u,isDisabled:l,preventFocusOnPress:p,allowTextSelectionOnPress:w,ref:t}),{focusableProps:E}=(0,o.k)(e,t);h&&(E.tabIndex=l?-1:E.tabIndex);let C=(0,r.d)(E,_,(0,i.z)(e,{labelable:!0}));return{isPressed:x,buttonProps:(0,r.d)(n,C,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:e=>{null==m||m(e)}})}}},2002:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(4177),i=(null==globalThis?void 0:globalThis.document)?r.useLayoutEffect:r.useEffect},2613:function(e,t,n){"use strict";n.d(t,{MT:function(){return u},QL:function(){return _},cW:function(){return v}});var r=n(6034),i=n(6540),o=n(2380),s=n(4177);let a=s.createContext(null),l=null;function u(e){let t,n,{children:r,contain:u,restoreFocus:c,autoFocus:d}=e,f=(0,s.useRef)(null),v=(0,s.useRef)(null),x=(0,s.useRef)([]),{parentNode:S}=(0,s.useContext)(a)||{},T=(0,s.useMemo)(()=>new E({scopeRef:x}),[x]);(0,o.b)(()=>{let e=S||C.root;if(C.getTreeNode(e.scopeRef)&&l&&!y(l,e.scopeRef)){let t=C.getTreeNode(l);t&&(e=t)}e.addChild(T),C.addNode(T)},[T,S]),(0,o.b)(()=>{let e=C.getTreeNode(x);e&&(e.contain=!!u)},[u]),(0,o.b)(()=>{var e;let t=null===(e=f.current)||void 0===e?void 0:e.nextSibling,n=[];for(;t&&t!==v.current;)n.push(t),t=t.nextSibling;x.current=n},[r]),(0,o.b)(()=>{if(c||u)return;let e=x.current,t=(0,i.r)(e?e[0]:void 0),n=e=>{let t=e.target;m(t,x.current)?l=x:g(t)||(l=null)};return t.addEventListener("focusin",n,!1),null==e||e.forEach(e=>e.addEventListener("focusin",n,!1)),()=>{t.removeEventListener("focusin",n,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",n,!1))}},[x,c,u]),t=(0,s.useRef)(),n=(0,s.useRef)(),(0,o.b)(()=>{let e=x.current;if(!u){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}let r=(0,i.r)(e?e[0]:void 0),o=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!h(x)||e.isComposing)return;let t=r.activeElement,n=x.current;if(!n||!m(t,n))return;let i=_(p(n),{tabbable:!0},n);if(!t)return;i.currentNode=t;let o=e.shiftKey?i.previousNode():i.nextNode();o||(i.currentNode=e.shiftKey?n[n.length-1].nextElementSibling:n[0].previousElementSibling,o=e.shiftKey?i.previousNode():i.nextNode()),e.preventDefault(),o&&b(o,!0)},s=e=>{(!l||y(l,x))&&m(e.target,x.current)?(l=x,t.current=e.target):h(x)&&!g(e.target,x)?t.current?t.current.focus():l&&l.current&&w(l.current):h(x)&&(t.current=e.target)},a=e=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{if(r.activeElement&&h(x)&&!g(r.activeElement,x)){if(l=x,r.body.contains(e.target)){var n;t.current=e.target,null===(n=t.current)||void 0===n||n.focus()}else l.current&&w(l.current)}})};return r.addEventListener("keydown",o,!1),r.addEventListener("focusin",s,!1),null==e||e.forEach(e=>e.addEventListener("focusin",s,!1)),null==e||e.forEach(e=>e.addEventListener("focusout",a,!1)),()=>{r.removeEventListener("keydown",o,!1),r.removeEventListener("focusin",s,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",s,!1)),null==e||e.forEach(e=>e.removeEventListener("focusout",a,!1))}},[x,u]),(0,o.b)(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n]),function(e,t,n){let r=(0,s.useRef)("undefined"!=typeof document?(0,i.r)(e.current?e.current[0]:void 0).activeElement:null);(0,o.b)(()=>{let r=e.current,o=(0,i.r)(r?r[0]:void 0);if(!t||n)return;let s=()=>{(!l||y(l,e))&&m(o.activeElement,e.current)&&(l=e)};return o.addEventListener("focusin",s,!1),null==r||r.forEach(e=>e.addEventListener("focusin",s,!1)),()=>{o.removeEventListener("focusin",s,!1),null==r||r.forEach(e=>e.removeEventListener("focusin",s,!1))}},[e,n]),(0,o.b)(()=>{let r=(0,i.r)(e.current?e.current[0]:void 0);if(!t)return;let o=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!h(e)||t.isComposing)return;let n=r.activeElement;if(!m(n,e.current))return;let i=C.getTreeNode(e);if(!i)return;let o=i.nodeToRestore,s=_(r.body,{tabbable:!0});s.currentNode=n;let a=t.shiftKey?s.previousNode():s.nextNode();if(o&&r.body.contains(o)&&o!==r.body||(o=void 0,i.nodeToRestore=void 0),(!a||!m(a,e.current))&&o){s.currentNode=o;do a=t.shiftKey?s.previousNode():s.nextNode();while(m(a,e.current));(t.preventDefault(),t.stopPropagation(),a)?b(a,!0):g(o)?b(o,!0):n.blur()}};return n||r.addEventListener("keydown",o,!0),()=>{n||r.removeEventListener("keydown",o,!0)}},[e,t,n]),(0,o.b)(()=>{var n;let o=(0,i.r)(e.current?e.current[0]:void 0);if(!t)return;let s=C.getTreeNode(e);if(s)return s.nodeToRestore=null!==(n=r.current)&&void 0!==n?n:void 0,()=>{let n=C.getTreeNode(e);if(!n)return;let r=n.nodeToRestore;if(t&&r&&(m(o.activeElement,e.current)||o.activeElement===o.body&&function(e){let t=C.getTreeNode(l);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}(e))){let t=C.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let n=t.getTreeNode(e);for(;n;){if(n.nodeToRestore&&n.nodeToRestore.isConnected){b(n.nodeToRestore);return}n=n.parent}for(n=t.getTreeNode(e);n;){if(n.scopeRef&&n.scopeRef.current&&C.getTreeNode(n.scopeRef)){w(n.scopeRef.current,!0);return}n=n.parent}}})}}},[e,t])}(x,c,u),function(e,t){let n=s.useRef(t);(0,s.useEffect)(()=>{n.current&&(l=e,!m((0,i.r)(e.current?e.current[0]:void 0).activeElement,l.current)&&e.current&&w(e.current)),n.current=!1},[e])}(x,d),(0,s.useEffect)(()=>{let e=(0,i.r)(x.current?x.current[0]:void 0).activeElement,t=null;if(m(e,x.current)){for(let n of C.traverse())n.scopeRef&&m(e,n.scopeRef.current)&&(t=n);t===C.getTreeNode(x)&&(l=t.scopeRef)}},[x]),(0,o.b)(()=>()=>{var e,t,n;let r=null!==(n=null===(t=C.getTreeNode(x))||void 0===t?void 0:null===(e=t.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==n?n:null;(x===l||y(x,l))&&(!r||C.getTreeNode(r))&&(l=r),C.removeTreeNode(x)},[x]);let P=(0,s.useMemo)(()=>({focusNext(e={}){let t=x.current,{from:n,tabbable:r,wrap:o,accept:s}=e,a=n||(0,i.r)(t[0]).activeElement,l=t[0].previousElementSibling,u=_(p(t),{tabbable:r,accept:s},t);u.currentNode=m(a,t)?a:l;let c=u.nextNode();return!c&&o&&(u.currentNode=l,c=u.nextNode()),c&&b(c,!0),c},focusPrevious(e={}){let t=x.current,{from:n,tabbable:r,wrap:o,accept:s}=e,a=n||(0,i.r)(t[0]).activeElement,l=t[t.length-1].nextElementSibling,u=_(p(t),{tabbable:r,accept:s},t);u.currentNode=m(a,t)?a:l;let c=u.previousNode();return!c&&o&&(u.currentNode=l,c=u.previousNode()),c&&b(c,!0),c},focusFirst(e={}){let t=x.current,{tabbable:n,accept:r}=e,i=_(p(t),{tabbable:n,accept:r},t);i.currentNode=t[0].previousElementSibling;let o=i.nextNode();return o&&b(o,!0),o},focusLast(e={}){let t=x.current,{tabbable:n,accept:r}=e,i=_(p(t),{tabbable:n,accept:r},t);i.currentNode=t[t.length-1].nextElementSibling;let o=i.previousNode();return o&&b(o,!0),o}}),[]),k=(0,s.useMemo)(()=>({focusManager:P,parentNode:T}),[T,P]);return s.createElement(a.Provider,{value:k},s.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:f}),r,s.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:v}))}let c=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],d=c.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";c.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let f=c.join(':not([hidden]):not([tabindex="-1"]),');function p(e){return e[0].parentElement}function h(e){let t=C.getTreeNode(l);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function m(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}function g(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of C.traverse(C.getTreeNode(t)))if(n&&m(e,n.current))return!0;return!1}function v(e){return g(e,l)}function y(e,t){var n;let r=null===(n=C.getTreeNode(t))||void 0===n?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function b(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch(e){}}else try{(0,r.e)(e)}catch(e){}}function w(e,t=!0){let n=e[0].previousElementSibling,r=p(e),i=_(r,{tabbable:t},e);i.currentNode=n;let o=i.nextNode();t&&!o&&((i=_(r=p(e),{tabbable:!1},e)).currentNode=n,o=i.nextNode()),b(o)}function _(e,t,n){let r=(null==t?void 0:t.tabbable)?f:d,o=(0,i.r)(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(e){var o;return(null==t?void 0:null===(o=t.from)||void 0===o?void 0:o.contains(e))?NodeFilter.FILTER_REJECT:e.matches(r)&&function e(t,n){return"#comment"!==t.nodeName&&function(e){let t=(0,i.k)(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,o="none"!==n&&"hidden"!==r&&"collapse"!==r;if(o){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:n,visibility:r}=t(e);o="none"!==n&&"hidden"!==r&&"collapse"!==r}return o}(t)&&!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==t.nodeName||!n||"SUMMARY"===n.nodeName||t.hasAttribute("open"))&&(!t.parentElement||e(t.parentElement,t))}(e)&&(!n||m(e,n))&&(!(null==t?void 0:t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return(null==t?void 0:t.from)&&(o.currentNode=t.from),o}class x{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null);if(!r)return;let i=new E({scopeRef:e});r.addChild(i),i.parent=r,this.fastMap.set(e,i),n&&(i.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&m(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let n=new x;for(let r of this.traverse())n.addTreeNode(r.scopeRef,null!==(t=null===(e=r.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null,r.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new E({scopeRef:null}),this.fastMap.set(null,this.root)}}class E{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let C=new x},6034:function(e,t,n){"use strict";n.d(t,{e:function(){return a}});var r=n(6540),i=n(8e3),o=n(8715),s=n(7101);function a(e){let t=(0,r.r)(e);if("virtual"===(0,s.Jz)()){let n=t.activeElement;(0,i.Q)(()=>{t.activeElement===n&&e.isConnected&&(0,o.A)(e)})}else(0,o.A)(e)}},8511:function(e,t,n){"use strict";n.d(t,{F:function(){return a}});var r=n(7101),i=n(136),o=n(4279),s=n(4177);function a(e={}){let{autoFocus:t=!1,isTextInput:n,within:a}=e,l=(0,s.useRef)({isFocused:!1,isFocusVisible:t||(0,r.E)()}),[u,c]=(0,s.useState)(!1),[d,f]=(0,s.useState)(()=>l.current.isFocused&&l.current.isFocusVisible),p=(0,s.useCallback)(()=>f(l.current.isFocused&&l.current.isFocusVisible),[]),h=(0,s.useCallback)(e=>{l.current.isFocused=e,c(e),p()},[p]);(0,r.mG)(e=>{l.current.isFocusVisible=e,p()},[],{isTextInput:n});let{focusProps:m}=(0,i.K)({isDisabled:a,onFocusChange:h}),{focusWithinProps:g}=(0,o.L)({isDisabled:!a,onFocusWithinChange:h});return{isFocused:u,isFocusVisible:d,focusProps:a?g:m}}},4856:function(e,t,n){"use strict";n.d(t,{k:function(){return c}});var r=n(6034),i=n(3851),o=n(1610),s=n(4177),a=n(136);function l(e){if(!e)return;let t=!0;return n=>{e({...n,preventDefault(){n.preventDefault()},isDefaultPrevented:()=>n.isDefaultPrevented(),stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}}),t&&n.stopPropagation()}}let u=s.createContext(null);function c(e,t){let{focusProps:n}=(0,a.K)(e),{keyboardProps:c}={keyboardProps:e.isDisabled?{}:{onKeyDown:l(e.onKeyDown),onKeyUp:l(e.onKeyUp)}},d=(0,o.d)(n,c),f=function(e){let t=(0,s.useContext)(u)||{};(0,i.l)(t,e);let{ref:n,...r}=t;return r}(t),p=e.isDisabled?{}:f,h=(0,s.useRef)(e.autoFocus);return(0,s.useEffect)(()=>{h.current&&t.current&&(0,r.e)(t.current),h.current=!1},[t]),{focusableProps:(0,o.d)({...d,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},p)}}},1669:function(e,t,n){"use strict";n.d(t,{b:function(){return m},j:function(){return g}});let r=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),i=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function o(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),n="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(n)return"rtl"===n.direction;if(t.script)return r.has(t.script)}let t=e.split("-")[0];return i.has(t)}var s=n(4177),a=n(2677);let l=Symbol.for("react-aria.i18n.locale");function u(){let e="undefined"!=typeof window&&window[l]||"undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch(t){e="en-US"}return{locale:e,direction:o(e)?"rtl":"ltr"}}let c=u(),d=new Set;function f(){for(let e of(c=u(),d))e(c)}function p(){let e=(0,a.Av)(),[t,n]=(0,s.useState)(c);return((0,s.useEffect)(()=>(0===d.size&&window.addEventListener("languagechange",f),d.add(n),()=>{d.delete(n),0===d.size&&window.removeEventListener("languagechange",f)}),[]),e)?{locale:"en-US",direction:"ltr"}:t}let h=s.createContext(null);function m(e){let{locale:t,children:n}=e,r=p(),i=s.useMemo(()=>t?{locale:t,direction:o(t)?"rtl":"ltr"}:r,[r,t]);return s.createElement(h.Provider,{value:i},n)}function g(){let e=p();return(0,s.useContext)(h)||e}},8566:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});let r=n(4177).createContext({register:()=>{}});r.displayName="PressResponderContext"},136:function(e,t,n){"use strict";n.d(t,{K:function(){return s}});var r=n(8843),i=n(4177),o=n(6540);function s(e){let{isDisabled:t,onFocus:n,onBlur:s,onFocusChange:a}=e,l=(0,i.useCallback)(e=>{if(e.target===e.currentTarget)return s&&s(e),a&&a(!1),!0},[s,a]),u=(0,r.d)(l),c=(0,i.useCallback)(e=>{let t=(0,o.r)(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(n&&n(e),a&&a(!0),u(e))},[a,n,u]);return{focusProps:{onFocus:!t&&(n||a||s)?c:void 0,onBlur:!t&&(s||a)?l:void 0}}}},7101:function(e,t,n){"use strict";n.d(t,{E:function(){return x},Jz:function(){return E},Kf:function(){return S},_w:function(){return C},mG:function(){return P}});var r=n(958),i=n(9996),o=n(6540),s=n(4177),a=n(2677);let l=null,u=new Set,c=new Map,d=!1,f=!1,p={Tab:!0,Escape:!0};function h(e,t){for(let n of u)n(e,t)}function m(e){d=!0,e.metaKey||!(0,r.V5)()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(l="keyboard",h("keyboard",e))}function g(e){l="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(d=!0,h("pointer",e))}function v(e){(0,i.Z)(e)&&(d=!0,l="virtual")}function y(e){e.target!==window&&e.target!==document&&(d||f||(l="virtual",h("virtual",e)),d=!1,f=!1)}function b(){d=!1,f=!0}function w(e){if("undefined"==typeof window||c.get((0,o.k)(e)))return;let t=(0,o.k)(e),n=(0,o.r)(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){d=!0,r.apply(this,arguments)},n.addEventListener("keydown",m,!0),n.addEventListener("keyup",m,!0),n.addEventListener("click",v,!0),t.addEventListener("focus",y,!0),t.addEventListener("blur",b,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",g,!0),n.addEventListener("pointermove",g,!0),n.addEventListener("pointerup",g,!0)):(n.addEventListener("mousedown",g,!0),n.addEventListener("mousemove",g,!0),n.addEventListener("mouseup",g,!0)),t.addEventListener("beforeunload",()=>{_(e)},{once:!0}),c.set(t,{focus:r})}let _=(e,t)=>{let n=(0,o.k)(e),r=(0,o.r)(e);t&&r.removeEventListener("DOMContentLoaded",t),c.has(n)&&(n.HTMLElement.prototype.focus=c.get(n).focus,r.removeEventListener("keydown",m,!0),r.removeEventListener("keyup",m,!0),r.removeEventListener("click",v,!0),n.removeEventListener("focus",y,!0),n.removeEventListener("blur",b,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",g,!0),r.removeEventListener("pointermove",g,!0),r.removeEventListener("pointerup",g,!0)):(r.removeEventListener("mousedown",g,!0),r.removeEventListener("mousemove",g,!0),r.removeEventListener("mouseup",g,!0)),c.delete(n))};function x(){return"pointer"!==l}function E(){return l}function C(e){l=e,h(e,null)}function S(){w();let[e,t]=(0,s.useState)(l);return(0,s.useEffect)(()=>{let e=()=>{t(l)};return u.add(e),()=>{u.delete(e)}},[]),(0,a.Av)()?null:e}"undefined"!=typeof document&&function(e){let t;let n=(0,o.r)(void 0);"loading"!==n.readyState?w(void 0):(t=()=>{w(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>_(e,t)}();let T=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function P(e,t,n){w(),(0,s.useEffect)(()=>{let t=(t,r)=>{(function(e,t,n){var r;let i="undefined"!=typeof window?(0,o.k)(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,s="undefined"!=typeof window?(0,o.k)(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,a="undefined"!=typeof window?(0,o.k)(null==n?void 0:n.target).HTMLElement:HTMLElement,l="undefined"!=typeof window?(0,o.k)(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==n?void 0:n.target)instanceof i&&!T.has(null==n?void 0:null===(r=n.target)||void 0===r?void 0:r.type)||(null==n?void 0:n.target)instanceof s||(null==n?void 0:n.target)instanceof a&&(null==n?void 0:n.target.isContentEditable))&&"keyboard"===t&&n instanceof l&&!p[n.key])})(!!(null==n?void 0:n.isTextInput),t,r)&&e(x())};return u.add(t),()=>{u.delete(t)}},t)}},4279:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(8843),i=n(4177);function o(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:o,onFocusWithinChange:s}=e,a=(0,i.useRef)({isFocusWithin:!1}),l=(0,i.useCallback)(e=>{a.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(a.current.isFocusWithin=!1,n&&n(e),s&&s(!1))},[n,s,a]),u=(0,r.d)(l),c=(0,i.useCallback)(e=>{a.current.isFocusWithin||document.activeElement!==e.target||(o&&o(e),s&&s(!0),a.current.isFocusWithin=!0,u(e))},[o,s,u]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:l}}}},6150:function(e,t,n){"use strict";n.d(t,{X:function(){return u}});var r=n(4177);let i=!1,o=0;function s(){i=!0,setTimeout(()=>{i=!1},50)}function a(e){"touch"===e.pointerType&&s()}function l(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",a):document.addEventListener("touchend",s),o++,()=>{--o>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",a):document.removeEventListener("touchend",s))}}function u(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:o,isDisabled:s}=e,[a,u]=(0,r.useState)(!1),c=(0,r.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,r.useEffect)(l,[]);let{hoverProps:d,triggerHoverEnd:f}=(0,r.useMemo)(()=>{let e=(e,r)=>{if(c.pointerType=r,s||"touch"===r||c.isHovered||!e.currentTarget.contains(e.target))return;c.isHovered=!0;let i=e.currentTarget;c.target=i,t&&t({type:"hoverstart",target:i,pointerType:r}),n&&n(!0),u(!0)},r=(e,t)=>{if(c.pointerType="",c.target=null,"touch"===t||!c.isHovered)return;c.isHovered=!1;let r=e.currentTarget;o&&o({type:"hoverend",target:r,pointerType:t}),n&&n(!1),u(!1)},a={};return"undefined"!=typeof PointerEvent?(a.onPointerEnter=t=>{i&&"mouse"===t.pointerType||e(t,t.pointerType)},a.onPointerLeave=e=>{!s&&e.currentTarget.contains(e.target)&&r(e,e.pointerType)}):(a.onTouchStart=()=>{c.ignoreEmulatedMouseEvents=!0},a.onMouseEnter=t=>{c.ignoreEmulatedMouseEvents||i||e(t,"mouse"),c.ignoreEmulatedMouseEvents=!1},a.onMouseLeave=e=>{!s&&e.currentTarget.contains(e.target)&&r(e,"mouse")}),{hoverProps:a,triggerHoverEnd:r}},[t,n,o,s,c]);return(0,r.useEffect)(()=>{s&&f({currentTarget:c.target},c.pointerType)},[s]),{hoverProps:d,isHovered:a}}},3715:function(e,t,n){"use strict";n.d(t,{r:function(){return T}});var r=n(958),i=n(6540),o=n(8e3);let s="default",a="",l=new WeakMap;function u(e){if((0,r.gn)()){if("default"===s){let t=(0,i.r)(e);a=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}s="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(l.set(e,e.style.userSelect),e.style.userSelect="none")}function c(e){if((0,r.gn)())"disabled"===s&&(s="restoring",setTimeout(()=>{(0,o.Q)(()=>{if("restoring"===s){let t=(0,i.r)(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=a||""),a="",s="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&l.has(e)){let t=l.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),l.delete(e)}}var d=n(8566);function f(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function p(e,t,n){var r=f(e,t,"set");return!function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=n}}(e,r,n),n}var h=n(1610),m=n(3851),g=n(3619),v=n(9588),y=n(7661),b=n(3052),w=n(9996),_=n(8715),x=n(4177),E=new WeakMap;class C{continuePropagation(){p(this,E,!1)}get shouldStopPropagation(){var e;return(e=f(this,E,"get")).get?e.get.call(this):e.value}constructor(e,t,n){var r;r={writable:!0,value:void 0},function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}(this,E),E.set(this,r),p(this,E,!0),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey}}let S=Symbol("linkClicked");function T(e){let{onPress:t,onPressChange:n,onPressStart:o,onPressEnd:s,onPressUp:a,isDisabled:l,isPressed:f,preventFocusOnPress:p,shouldCancelOnPointerExit:E,allowTextSelectionOnPress:T,ref:R,...N}=function(e){let t=(0,x.useContext)(d.O);if(t){let{register:n,...r}=t;e=(0,h.d)(r,e),n()}return(0,m.l)(t,e.ref),e}(e),[j,I]=(0,x.useState)(!1),F=(0,x.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:D,removeAllGlobalListeners:V}=(0,g.x)(),z=(0,v.i)((e,t)=>{let r=F.current;if(l||r.didFirePressStart)return!1;let i=!0;if(r.isTriggeringEvent=!0,o){let n=new C("pressstart",t,e);o(n),i=n.shouldStopPropagation}return n&&n(!0),r.isTriggeringEvent=!1,r.didFirePressStart=!0,I(!0),i}),H=(0,v.i)((e,r,i=!0)=>{let o=F.current;if(!o.didFirePressStart)return!1;o.ignoreClickAfterPress=!0,o.didFirePressStart=!1,o.isTriggeringEvent=!0;let a=!0;if(s){let t=new C("pressend",r,e);s(t),a=t.shouldStopPropagation}if(n&&n(!1),I(!1),t&&i&&!l){let n=new C("press",r,e);t(n),a&&(a=n.shouldStopPropagation)}return o.isTriggeringEvent=!1,a}),K=(0,v.i)((e,t)=>{let n=F.current;if(l)return!1;if(a){n.isTriggeringEvent=!0;let r=new C("pressup",t,e);return a(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0}),W=(0,v.i)(e=>{let t=F.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&H(L(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,V(),T||c(t.target))}),B=(0,v.i)(e=>{E&&W(e)}),U=(0,x.useMemo)(()=>{let e=F.current,t={onKeyDown(t){if(k(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var o;O(t.target,t.key)&&t.preventDefault();let s=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,s=z(t,"keyboard");let r=t.currentTarget;D((0,i.r)(t.currentTarget),"keyup",(0,y.t)(t=>{k(t,r)&&!t.repeat&&r.contains(t.target)&&e.target&&K(L(e.target,t),"keyboard")},n),!0)}s&&t.stopPropagation(),t.metaKey&&(0,r.V5)()&&(null===(o=e.metaKeyEvents)||void 0===o||o.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!b.nG.isOpening){let n=!0;if(l&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||(0,w.Z)(t.nativeEvent))){l||p||(0,_.A)(t.currentTarget);let e=z(t,"virtual"),r=K(t,"virtual"),i=H(t,"virtual");n=e&&r&&i}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,n&&t.stopPropagation()}}},n=t=>{var n,r,i;if(e.isPressed&&e.target&&k(t,e.target)){O(t.target,t.key)&&t.preventDefault();let n=t.target;H(L(e.target,t),"keyboard",e.target.contains(n)),V(),"Enter"!==t.key&&P(e.target)&&e.target.contains(n)&&!t[S]&&(t[S]=!0,(0,b.nG)(e.target,t,!1)),e.isPressed=!1,null===(r=e.metaKeyEvents)||void 0===r||r.delete(t.key)}else if("Meta"===t.key&&(null===(n=e.metaKeyEvents)||void 0===n?void 0:n.size)){let t=e.metaKeyEvents;for(let n of(e.metaKeyEvents=void 0,t.values()))null===(i=e.target)||void 0===i||i.dispatchEvent(new KeyboardEvent("keyup",n))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{if(0!==t.button||!t.currentTarget.contains(t.target))return;if((0,w.c)(t.nativeEvent)){e.pointerType="virtual";return}A(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let s=!0;e.isPressed||(e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,l||p||(0,_.A)(t.currentTarget),T||u(e.target),s=z(t,e.pointerType),D((0,i.r)(t.currentTarget),"pointermove",n,!1),D((0,i.r)(t.currentTarget),"pointerup",r,!1),D((0,i.r)(t.currentTarget),"pointercancel",o,!1)),s&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(A(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&$(t,t.currentTarget)&&K(t,e.pointerType||t.pointerType)};let n=t=>{t.pointerId===e.activePointerId&&(e.target&&$(t,e.target)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,z(L(e.target,t),e.pointerType)):e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,H(L(e.target,t),e.pointerType,!1),B(t)))},r=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&($(t,e.target)&&null!=e.pointerType?H(L(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&H(L(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,V(),T||c(e.target))},o=e=>{W(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&W(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(A(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=(0,w.Z)(t.nativeEvent)?"virtual":"mouse",l||p||(0,_.A)(t.currentTarget),z(t,e.pointerType)&&t.stopPropagation(),D((0,i.r)(t.currentTarget),"mouseup",n,!1)}},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,n=z(t,e.pointerType)),n&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,n=H(t,e.pointerType,!1),B(t)),n&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&0===t.button&&K(t,e.pointerType||"mouse")};let n=t=>{if(0===t.button){if(e.isPressed=!1,V(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&$(t,e.target)&&null!=e.pointerType?H(L(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&H(L(e.target,t),e.pointerType,!1),e.isOverTarget=!1}};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let n=function(e){let{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);n&&(e.activePointerId=n.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",l||p||(0,_.A)(t.currentTarget),T||u(e.target),z(t,e.pointerType)&&t.stopPropagation(),D((0,i.k)(t.currentTarget),"scroll",r,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let n=M(t.nativeEvent,e.activePointerId),r=!0;n&&$(n,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,r=z(t,e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,r=H(t,e.pointerType,!1),B(t)),r&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let n=M(t.nativeEvent,e.activePointerId),r=!0;n&&$(n,t.currentTarget)&&null!=e.pointerType?(K(t,e.pointerType),r=H(t,e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(r=H(t,e.pointerType,!1)),r&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!T&&c(e.target),V()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&W(t))};let r=t=>{e.isPressed&&t.target.contains(e.target)&&W({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&W(e)}}return t},[D,l,p,V,T,W,B,H,z,K]);return(0,x.useEffect)(()=>()=>{var e;T||c(null!==(e=F.current.target)&&void 0!==e?e:void 0)},[T]),{isPressed:f||j,pressProps:(0,h.d)(N,U)}}function P(e){return"A"===e.tagName&&e.hasAttribute("href")}function k(e,t){let{key:n,code:r}=e,o=t.getAttribute("role");return("Enter"===n||" "===n||"Spacebar"===n||"Space"===r)&&!(t instanceof(0,i.k)(t).HTMLInputElement&&!N(t,n)||t instanceof(0,i.k)(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===o||!o&&P(t))&&"Enter"!==n)}function M(e,t){let n=e.changedTouches;for(let e=0;eo.right)&&!(o.left>i.right)&&!(i.top>o.bottom)&&!(o.top>i.bottom)}function A(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function O(e,t){return e instanceof HTMLInputElement?!N(e,t):e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!P(e)}let R=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function N(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:R.has(e.type)}},8843:function(e,t,n){"use strict";n.d(t,{d:function(){return a}});var r=n(4177),i=n(2380),o=n(9588);class s{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function a(e){let t=(0,r.useRef)({isFocused:!1,observer:null});(0,i.b)(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let n=(0,o.i)(t=>{null==e||e(t)});return(0,r.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(new s("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])}},1747:function(e,t,n){"use strict";n.d(t,{O:function(){return o},v:function(){return i}});var r=n(4177);let i=new WeakMap;function o(e){let{triggerRef:t,isOpen:n,onClose:o}=e;(0,r.useEffect)(()=>{if(!n||null===o)return;let e=e=>{let n=e.target;if(!t.current||n instanceof Node&&!n.contains(t.current))return;let r=o||i.get(t.current);r&&r()};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}},[n,o,t])}},2774:function(e,t,n){"use strict";n.d(t,{N3:function(){return u},Xj:function(){return c}});var r=n(4177),i=n(6156),o=n(2677);let s=r.createContext(null);function a(e){let{children:t}=e,n=(0,r.useContext)(s),[i,o]=(0,r.useState)(0),a=(0,r.useMemo)(()=>({parent:n,modalCount:i,addModal(){o(e=>e+1),n&&n.addModal()},removeModal(){o(e=>e-1),n&&n.removeModal()}}),[n,i]);return r.createElement(s.Provider,{value:a},t)}function l(e){let t;let{modalProviderProps:n}={modalProviderProps:{"aria-hidden":!!(t=(0,r.useContext)(s))&&t.modalCount>0||null}};return r.createElement("div",{"data-overlay-container":!0,...e,...n})}function u(e){return r.createElement(a,null,r.createElement(l,e))}function c(e){let t=(0,o.Av)(),{portalContainer:n=t?null:document.body,...s}=e;if(r.useEffect(()=>{if(null==n?void 0:n.closest("[data-overlay-container]"))throw Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[n]),!n)return null;let a=r.createElement(u,s);return i.createPortal(a,n)}},458:function(e,t,n){"use strict";n.d(t,{I:function(){return c}});var r=n(2613),i=n(4177),o=n(9588),s=n(6540);function a(e,t){if(e.button>0)return!1;if(e.target){let t=e.target.ownerDocument;if(!t||!t.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}var l=n(4279);let u=[];function c(e,t){let{onClose:n,shouldCloseOnBlur:c,isOpen:d,isDismissable:f=!1,isKeyboardDismissDisabled:p=!1,shouldCloseOnInteractOutside:h}=e;(0,i.useEffect)(()=>(d&&u.push(t),()=>{let e=u.indexOf(t);e>=0&&u.splice(e,1)}),[d,t]);let m=()=>{u[u.length-1]===t&&n&&n()};!function(e){let{ref:t,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:l}=e,u=(0,i.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),c=(0,o.i)(e=>{n&&a(e,t)&&(l&&l(e),u.current.isPointerDown=!0)}),d=(0,o.i)(e=>{n&&n(e)});(0,i.useEffect)(()=>{let e=u.current;if(r)return;let n=t.current,i=(0,s.r)(n);if("undefined"!=typeof PointerEvent){let n=n=>{e.isPointerDown&&a(n,t)&&d(n),e.isPointerDown=!1};return i.addEventListener("pointerdown",c,!0),i.addEventListener("pointerup",n,!0),()=>{i.removeEventListener("pointerdown",c,!0),i.removeEventListener("pointerup",n,!0)}}{let n=n=>{e.ignoreEmulatedMouseEvents?e.ignoreEmulatedMouseEvents=!1:e.isPointerDown&&a(n,t)&&d(n),e.isPointerDown=!1},r=n=>{e.ignoreEmulatedMouseEvents=!0,e.isPointerDown&&a(n,t)&&d(n),e.isPointerDown=!1};return i.addEventListener("mousedown",c,!0),i.addEventListener("mouseup",n,!0),i.addEventListener("touchstart",c,!0),i.addEventListener("touchend",r,!0),()=>{i.removeEventListener("mousedown",c,!0),i.removeEventListener("mouseup",n,!0),i.removeEventListener("touchstart",c,!0),i.removeEventListener("touchend",r,!0)}}},[t,r,c,d])}({ref:t,onInteractOutside:f&&d?e=>{(!h||h(e.target))&&(u[u.length-1]===t&&(e.stopPropagation(),e.preventDefault()),m())}:null,onInteractOutsideStart:e=>{(!h||h(e.target))&&u[u.length-1]===t&&(e.stopPropagation(),e.preventDefault())}});let{focusWithinProps:g}=(0,l.L)({isDisabled:!c,onBlurWithin:e=>{!(!e.relatedTarget||(0,r.cW)(e.relatedTarget))&&(!h||h(e.relatedTarget))&&n()}});return{overlayProps:{onKeyDown:e=>{"Escape"!==e.key||p||e.nativeEvent.isComposing||(e.stopPropagation(),e.preventDefault(),m())},...g},underlayProps:{onPointerDown:e=>{e.target===e.currentTarget&&e.preventDefault()}}}}},2628:function(e,t,n){"use strict";n.d(t,{t:function(){return S}});var r=n(958);function i(e,t=-1/0,n=1/0){return Math.min(Math.max(e,t),n)}let o={top:"top",bottom:"top",left:"left",right:"left"},s={top:"bottom",bottom:"top",left:"right",right:"left"},a={top:"left",left:"top"},l={top:"height",left:"width"},u={width:"totalWidth",height:"totalHeight"},c={},d="undefined"!=typeof document&&window.visualViewport;function f(e){let t=0,n=0,i=0,o=0,s=0,a=0,l={},u=(null==d?void 0:d.scale)>1;if("BODY"===e.tagName){var c,f;let r=document.documentElement;i=r.clientWidth,o=r.clientHeight,t=null!==(c=null==d?void 0:d.width)&&void 0!==c?c:i,n=null!==(f=null==d?void 0:d.height)&&void 0!==f?f:o,l.top=r.scrollTop||e.scrollTop,l.left=r.scrollLeft||e.scrollLeft,d&&(s=d.offsetTop,a=d.offsetLeft)}else({width:t,height:n,top:s,left:a}=v(e)),l.top=e.scrollTop,l.left=e.scrollLeft,i=t,o=n;return(0,r.Pf)()&&("BODY"===e.tagName||"HTML"===e.tagName)&&u&&(l.top=0,l.left=0,s=d.pageTop,a=d.pageLeft),{width:t,height:n,totalWidth:i,totalHeight:o,scroll:l,top:s,left:a}}function p(e,t,n,r,i,s,a){let u=i.scroll[e],c=r[l[e]],d=r.scroll[o[e]]+s,f=c+r.scroll[o[e]]-s,p=t-u+a[e]-r[o[e]],h=t-u+n+a[e]-r[o[e]];return pf?Math.max(f-h,d-p):0}function h(e){if(c[e])return c[e];let[t,n]=e.split(" "),r=o[t]||"right",i=a[r];o[n]||(n="center");let s=l[r],u=l[i];return c[e]={placement:t,crossPlacement:n,axis:r,crossAxis:i,size:s,crossSize:u},c[e]}function m(e,t,n,r,o,a,l,c,d,f){let{placement:p,crossPlacement:h,axis:m,crossAxis:g,size:v,crossSize:y}=r,b={};b[g]=e[g],"center"===h?b[g]+=(e[y]-n[y])/2:h!==g&&(b[g]+=e[y]-n[y]),b[g]+=a;let w=e[g]-n[y]+d+f,_=e[g]+e[y]-d-f;if(b[g]=i(b[g],w,_),p===m){let n=c?l[v]:t[u[v]];b[s[m]]=Math.floor(n-e[m]+o)}else b[m]=Math.floor(e[m]+e[v]+o);return b}function g(e,t,n,r,i,o){let{placement:a,axis:l,size:u}=o;return a===l?Math.max(0,n[l]-e[l]-e.scroll[l]+t[l]-r[l]-r[s[l]]-i):Math.max(0,e[u]+e[l]+e.scroll[l]-t[l]-n[l]-n[u]-r[l]-r[s[l]]-i)}function v(e){let{top:t,left:n,width:r,height:i}=e.getBoundingClientRect(),{scrollTop:o,scrollLeft:s,clientTop:a,clientLeft:l}=document.documentElement;return{top:t+o-a,left:n+s-l,width:r,height:i}}function y(e,t){let n,r=window.getComputedStyle(e);if("fixed"===r.position){let{top:t,left:r,width:i,height:o}=e.getBoundingClientRect();n={top:t,left:r,width:i,height:o}}else{n=v(e);let r=v(t),i=window.getComputedStyle(t);r.top+=(parseInt(i.borderTopWidth,10)||0)-t.scrollTop,r.left+=(parseInt(i.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=r.top,n.left-=r.left}return n.top-=parseInt(r.marginTop,10)||0,n.left-=parseInt(r.marginLeft,10)||0,n}function b(e){let t=window.getComputedStyle(e);return"none"!==t.transform||/transform|perspective/.test(t.willChange)||"none"!==t.filter||"paint"===t.contain||"backdropFilter"in t&&"none"!==t.backdropFilter||"WebkitBackdropFilter"in t&&"none"!==t.WebkitBackdropFilter}var w=n(1747),_=n(4177),x=n(2380),E=n(1669);let C="undefined"!=typeof document&&window.visualViewport;function S(e){let{direction:t}=(0,E.j)(),{arrowSize:n=0,targetRef:r,overlayRef:o,scrollRef:a=o,placement:l="bottom",containerPadding:c=12,shouldFlip:d=!0,boundaryElement:S="undefined"!=typeof document?document.body:null,offset:T=0,crossOffset:P=0,shouldUpdatePosition:k=!0,isOpen:M=!0,onClose:L,maxHeight:$,arrowBoundaryOffset:A=0}=e,[O,R]=(0,_.useState)({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),N=[k,l,o.current,r.current,a.current,c,d,S,T,P,M,t,$,A,n],j=(0,_.useRef)(null==C?void 0:C.scale);(0,_.useEffect)(()=>{M&&(j.current=null==C?void 0:C.scale)},[M]);let I=(0,_.useCallback)(()=>{var e,w;if(!1===k||!M||!o.current||!r.current||!a.current||!S||(null==C?void 0:C.scale)!==j.current)return;let _=o.current;!$&&o.current&&(_.style.top="0px",_.style.bottom="",_.style.maxHeight=(null!==(w=null===(e=window.visualViewport)||void 0===e?void 0:e.height)&&void 0!==w?w:window.innerHeight)+"px");let x=function(e){let t,{placement:n,targetNode:r,overlayNode:o,scrollNode:a,padding:l,shouldFlip:c,boundaryElement:d,offset:w,crossOffset:_,maxHeight:x,arrowSize:E=0,arrowBoundaryOffset:C=0}=e,S=o instanceof HTMLElement?function(e){let t=e.offsetParent;if(t&&t===document.body&&"static"===window.getComputedStyle(t).position&&!b(t)&&(t=document.documentElement),null==t)for(t=e.parentElement;t&&!b(t);)t=t.parentElement;return t||document.documentElement}(o):document.documentElement,T=S===document.documentElement,P=window.getComputedStyle(S).position,k=T?v(r):y(r,S);if(!T){let{marginTop:e,marginLeft:t}=window.getComputedStyle(r);k.top+=parseInt(e,10)||0,k.left+=parseInt(t,10)||0}let M=v(o),L={top:parseInt((t=window.getComputedStyle(o)).marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0};M.width+=L.left+L.right,M.height+=L.top+L.bottom;let $={top:a.scrollTop,left:a.scrollLeft,width:a.scrollWidth,height:a.scrollHeight},A=f(d),O=f(S),R="BODY"===d.tagName?v(S):y(S,d);return"HTML"===S.tagName&&"BODY"===d.tagName&&(O.scroll.top=0,O.scroll.left=0),function(e,t,n,r,o,a,l,c,d,f,v,y,b,w,_,x){let E=h(e),{size:C,crossAxis:S,crossSize:T,placement:P,crossPlacement:k}=E,M=m(t,c,n,E,v,y,f,b,_,x),L=v,$=g(c,f,t,o,a+v,E);if(l&&r[C]>$){let e=h(`${s[P]} ${k}`),r=m(t,c,n,e,v,y,f,b,_,x);g(c,f,t,o,a+v,e)>$&&(E=e,M=r,L=v)}let A="bottom";"top"===E.axis?"top"===E.placement?A="top":"bottom"===E.placement&&(A="bottom"):"top"===E.crossAxis&&("top"===E.crossPlacement?A="bottom":"bottom"===E.crossPlacement&&(A="top"));let O=p(S,M[S],n[T],c,d,a,f);M[S]+=O;let R=function(e,t,n,r,i,o,s,a){let l=r?n.height:t[u.height],c=null!=e.top?n.top+e.top:n.top+(l-e.bottom-s),d="top"!==a?Math.max(0,t.height+t.top+t.scroll.top-c-(i.top+i.bottom+o)):Math.max(0,c+s-(t.top+t.scroll.top)-(i.top+i.bottom+o));return Math.min(t.height-2*o,d)}(M,c,f,b,o,a,n.height,A);w&&w_.style[e]=x.position[e]+"px"),_.style.maxHeight=null!=x.maxHeight?x.maxHeight+"px":void 0,R(x)},N);(0,x.b)(I,N),(0,x.b)(()=>(window.addEventListener("resize",I,!1),()=>{window.removeEventListener("resize",I,!1)}),[I]),function(e){let{ref:t,onResize:n}=e;(0,_.useEffect)(()=>{let e=null==t?void 0:t.current;if(e){if(!(void 0!==window.ResizeObserver))return window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)};{let t=new window.ResizeObserver(e=>{e.length&&n()});return t.observe(e),()=>{e&&t.unobserve(e)}}}},[n,t])}({ref:o,onResize:I});let F=(0,_.useRef)(!1);(0,x.b)(()=>{let e;let t=()=>{F.current=!0,clearTimeout(e),e=setTimeout(()=>{F.current=!1},500),I()},n=()=>{F.current&&t()};return null==C||C.addEventListener("resize",t),null==C||C.addEventListener("scroll",n),()=>{null==C||C.removeEventListener("resize",t),null==C||C.removeEventListener("scroll",n)}},[I]);let D=(0,_.useCallback)(()=>{F.current||L()},[L,F]);return(0,w.O)({triggerRef:r,isOpen:M,onClose:L&&D}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...O.position,maxHeight:O.maxHeight}},placement:O.placement,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:O.arrowOffsetLeft,top:O.arrowOffsetTop}},updatePosition:I}}},2677:function(e,t,n){"use strict";n.d(t,{Av:function(){return p},gP:function(){return u}});var r=n(4177);let i={prefix:String(Math.round(1e10*Math.random())),current:0},o=r.createContext(i),s=r.createContext(!1),a=!!("undefined"!=typeof window&&window.document&&window.document.createElement),l=new WeakMap,u="function"==typeof r.useId?function(e){let t=r.useId(),[n]=(0,r.useState)(p()),o=n?"react-aria":`react-aria${i.prefix}`;return e||`${o}-${t}`}:function(e){let t=(0,r.useContext)(o);t!==i||a||console.warn("When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server.");let n=function(e=!1){let t=(0,r.useContext)(o),n=(0,r.useRef)(null);if(null===n.current&&!e){var i,s;let e=null===(s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===s?void 0:null===(i=s.ReactCurrentOwner)||void 0===i?void 0:i.current;if(e){let n=l.get(e);null==n?l.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,l.delete(e))}n.current=++t.current}return n.current}(!!e),s=`react-aria${t.prefix}`;return e||`${s}-${n}`};function c(){return!1}function d(){return!0}function f(e){return()=>{}}function p(){return"function"==typeof r.useSyncExternalStore?r.useSyncExternalStore(f,c,d):(0,r.useContext)(s)}},7661:function(e,t,n){"use strict";function r(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}n.d(t,{t:function(){return r}})},6540:function(e,t,n){"use strict";n.d(t,{k:function(){return i},r:function(){return r}});let r=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},i=e=>e&&"window"in e&&e.window===e?e:r(e).defaultView||window},2904:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});let r=new Set(["id"]),i=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),o=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),s=/^(data-.*)$/;function a(e,t={}){let{labelable:n,isLink:a,propNames:l}=t,u={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r.has(t)||n&&i.has(t)||a&&o.has(t)||(null==l?void 0:l.has(t))||s.test(t))&&(u[t]=e[t]);return u}},8715:function(e,t,n){"use strict";function r(e){if(function(){if(null==i){i=!1;try{document.createElement("div").focus({get preventScroll(){return i=!0,!0}})}catch(e){}}return i}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight=65&&90>=e.charCodeAt(2)?t[e]=(0,r.t)(n,a):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof a?t[e]=o(n,a):"id"===e&&n&&a?t.id=(0,i.ur)(n,a):t[e]=void 0!==a?a:n}}return t}},3052:function(e,t,n){"use strict";n.d(t,{eY:function(){return d},nG:function(){return u},pG:function(){return a},tv:function(){return l}});var r=n(8715),i=n(958),o=n(4177);let s=(0,o.createContext)({isNative:!0,open:function(e,t){c(e,e=>u(e,t))},useHref:e=>e});function a(e){let{children:t,navigate:n,useHref:r}=e,i=(0,o.useMemo)(()=>({isNative:!1,open:(e,t,r,i)=>{c(e,e=>{let o;(o=e.getAttribute("target"))&&"_self"!==o||e.origin!==location.origin||e.hasAttribute("download")||t.metaKey||t.ctrlKey||t.altKey||t.shiftKey?u(e,t):n(r,i)})},useHref:r||(e=>e)}),[n,r]);return o.createElement(s.Provider,{value:i},t)}function l(){return(0,o.useContext)(s)}function u(e,t,n=!0){var o,s;let{metaKey:a,ctrlKey:l,altKey:c,shiftKey:d}=t;(0,i.vU)()&&(null===(s=window.event)||void 0===s?void 0:null===(o=s.type)||void 0===o?void 0:o.startsWith("key"))&&"_blank"===e.target&&((0,i.V5)()?a=!0:l=!0);let f=(0,i.Pf)()&&(0,i.V5)()&&!(0,i.zc)()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:l,altKey:c,shiftKey:d}):new MouseEvent("click",{metaKey:a,ctrlKey:l,altKey:c,shiftKey:d,bubbles:!0,cancelable:!0});u.isOpening=n,(0,r.A)(e),e.dispatchEvent(f),u.isOpening=!1}function c(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let n=document.createElement("a");n.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(n.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(n.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(n.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(n.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(n),t(n),e.removeChild(n)}}function d(e){let t=l();return{href:(null==e?void 0:e.href)?t.useHref(null==e?void 0:e.href):void 0,target:null==e?void 0:e.target,rel:null==e?void 0:e.rel,download:null==e?void 0:e.download,ping:null==e?void 0:e.ping,referrerPolicy:null==e?void 0:e.referrerPolicy}}u.isOpening=!1},958:function(e,t,n){"use strict";function r(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function i(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function o(){return i(/^Mac/i)}function s(){return i(/^iPad/i)||o()&&navigator.maxTouchPoints>1}function a(){return i(/^iPhone/i)||s()}function l(){return o()||a()}function u(){return r(/AppleWebKit/i)&&!r(/Chrome/i)}function c(){return r(/Android/i)}function d(){return r(/Firefox/i)}n.d(t,{Dt:function(){return c},Pf:function(){return u},V5:function(){return o},ad:function(){return l},gn:function(){return a},vU:function(){return d},zc:function(){return s}})},8e3:function(e,t,n){"use strict";n.d(t,{Q:function(){return s}});let r=new Map,i=new Set;function o(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let o=r.get(n.target);if(o&&(o.delete(n.propertyName),0===o.size&&(n.target.removeEventListener("transitioncancel",t),r.delete(n.target)),0===r.size)){for(let e of i)e();i.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let i=r.get(n.target);i||(i=new Set,r.set(n.target,i),n.target.addEventListener("transitioncancel",t,{once:!0})),i.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function s(e){requestAnimationFrame(()=>{0===r.size?e():i.add(e)})}"undefined"!=typeof document&&("loading"!==document.readyState?o():document.addEventListener("DOMContentLoaded",o))},9588:function(e,t,n){"use strict";n.d(t,{i:function(){return o}});var r=n(2380),i=n(4177);function o(e){let t=(0,i.useRef)(null);return(0,r.b)(()=>{t.current=e},[e]),(0,i.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}},3619:function(e,t,n){"use strict";n.d(t,{x:function(){return i}});var r=n(4177);function i(){let e=(0,r.useRef)(new Map),t=(0,r.useCallback)((t,n,r,i)=>{let o=(null==i?void 0:i.once)?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:o,options:i}),t.addEventListener(n,r,i)},[]),n=(0,r.useCallback)((t,n,r,i)=>{var o;let s=(null===(o=e.current.get(r))||void 0===o?void 0:o.fn)||r;t.removeEventListener(n,s,i),e.current.delete(r)},[]),i=(0,r.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,r.useEffect)(()=>i,[i]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:i}}},9107:function(e,t,n){"use strict";n.d(t,{ur:function(){return c},Me:function(){return u},mp:function(){return d}});var r=n(2380),i=n(9588),o=n(4177),s=n(2677);let a=!!("undefined"!=typeof window&&window.document&&window.document.createElement),l=new Map;function u(e){let[t,n]=(0,o.useState)(e),i=(0,o.useRef)(null),u=(0,s.gP)(t),c=(0,o.useCallback)(e=>{i.current=e},[]);return a&&l.set(u,c),(0,r.b)(()=>()=>{l.delete(u)},[u]),(0,o.useEffect)(()=>{let e=i.current;e&&(i.current=null,n(e))}),u}function c(e,t){if(e===t)return e;let n=l.get(e);if(n)return n(t),t;let r=l.get(t);return r?(r(e),e):t}function d(e=[]){let t=u(),[n,s]=function(e){let[t,n]=(0,o.useState)(e),s=(0,o.useRef)(null),a=(0,i.i)(()=>{if(!s.current)return;let e=s.current.next();if(e.done){s.current=null;return}t===e.value?a():n(e.value)});(0,r.b)(()=>{s.current&&a()});let l=(0,i.i)(e=>{s.current=e(t),a()});return[t,l]}(t),a=(0,o.useCallback)(()=>{s(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,s]);return(0,r.b)(a,[t,a,...e]),n}},2380:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var r=n(4177);let i="undefined"!=typeof document?r.useLayoutEffect:()=>{}},3851:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(2380);function i(e,t){(0,r.b)(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}},4668:function(e,t,n){"use strict";n.d(t,{d:function(){return o}});var r=n(4177),i=n(6681);function o(e){let[t,n]=(0,i.z)(e.isOpen,e.defaultOpen||!1,e.onOpenChange),o=(0,r.useCallback)(()=>{n(!0)},[n]),s=(0,r.useCallback)(()=>{n(!1)},[n]),a=(0,r.useCallback)(()=>{n(!t)},[n,t]);return{isOpen:t,setOpen:n,open:o,close:s,toggle:a}}},6681:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var r=n(4177);function i(e,t,n){let[i,o]=(0,r.useState)(e||t),s=(0,r.useRef)(void 0!==e),a=void 0!==e;(0,r.useEffect)(()=>{let e=s.current;e!==a&&console.warn(`WARN: A component changed from ${e?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}.`),s.current=a},[a]);let l=a?e:i,u=(0,r.useCallback)((e,...t)=>{let r=(e,...t)=>{n&&!Object.is(l,e)&&n(e,...t),a||(l=e)};"function"==typeof e?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((n,...i)=>{let o=e(a?l:n,...i);return(r(o,...t),a)?n:o})):(a||o(e),r(e,...t))},[a,l,n]);return[l,u]}},7449:function(e,t,n){"use strict";n.d(t,{t:function(){return r}});let r=new Set(["opacity","clipPath","filter","transform"])},8824:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});let r="data-"+(0,n(5558).D)("framerAppearId")},5837:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}n.d(t,{H:function(){return r}})},6735:function(e,t,n){"use strict";n.d(t,{C:function(){return r}});let r=e=>Array.isArray(e)},8971:function(e,t,n){"use strict";n.d(t,{M:function(){return y}});var r=n(4746),i=n(4177),o=n(2570);function s(){let e=(0,i.useRef)(!1);return(0,o.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var a=n(8563),l=n(9769),u=n(6645),c=n(7302);class d extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function f({children:e,isPresent:t}){let n=(0,i.useId)(),o=(0,i.useRef)(null),s=(0,i.useRef)({width:0,height:0,top:0,left:0}),{nonce:a}=(0,i.useContext)(c._);return(0,i.useInsertionEffect)(()=>{let{width:e,height:r,top:i,left:l}=s.current;if(t||!o.current||!e||!r)return;o.current.dataset.motionPopId=n;let u=document.createElement("style");return a&&(u.nonce=a),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(` +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{3498:function(e,t,n){"use strict";n.d(t,{AS7:function(){return T},BGW:function(){return x},Hf3:function(){return l},NWY:function(){return C},NhS:function(){return c},UG6:function(){return g},VZf:function(){return k},_Ve:function(){return y},kLh:function(){return w},nWS:function(){return h},veu:function(){return s},xrR:function(){return f}});var r=n(4177);function i(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}var o=["color"],s=(0,r.forwardRef)(function(e,t){var n=e.color,s=i(e,o);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s,{ref:t}),(0,r.createElement)("path",{d:"M7.5 2C7.77614 2 8 2.22386 8 2.5L8 11.2929L11.1464 8.14645C11.3417 7.95118 11.6583 7.95118 11.8536 8.14645C12.0488 8.34171 12.0488 8.65829 11.8536 8.85355L7.85355 12.8536C7.75979 12.9473 7.63261 13 7.5 13C7.36739 13 7.24021 12.9473 7.14645 12.8536L3.14645 8.85355C2.95118 8.65829 2.95118 8.34171 3.14645 8.14645C3.34171 7.95118 3.65829 7.95118 3.85355 8.14645L7 11.2929L7 2.5C7 2.22386 7.22386 2 7.5 2Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),a=["color"],l=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,a);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M7.14645 2.14645C7.34171 1.95118 7.65829 1.95118 7.85355 2.14645L11.8536 6.14645C12.0488 6.34171 12.0488 6.65829 11.8536 6.85355C11.6583 7.04882 11.3417 7.04882 11.1464 6.85355L8 3.70711L8 12.5C8 12.7761 7.77614 13 7.5 13C7.22386 13 7 12.7761 7 12.5L7 3.70711L3.85355 6.85355C3.65829 7.04882 3.34171 7.04882 3.14645 6.85355C2.95118 6.65829 2.95118 6.34171 3.14645 6.14645L7.14645 2.14645Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),u=["color"],c=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,u);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M7.49991 0.877045C3.84222 0.877045 0.877075 3.84219 0.877075 7.49988C0.877075 11.1575 3.84222 14.1227 7.49991 14.1227C11.1576 14.1227 14.1227 11.1575 14.1227 7.49988C14.1227 3.84219 11.1576 0.877045 7.49991 0.877045ZM1.82708 7.49988C1.82708 4.36686 4.36689 1.82704 7.49991 1.82704C10.6329 1.82704 13.1727 4.36686 13.1727 7.49988C13.1727 10.6329 10.6329 13.1727 7.49991 13.1727C4.36689 13.1727 1.82708 10.6329 1.82708 7.49988ZM10.1589 5.53774C10.3178 5.31191 10.2636 5.00001 10.0378 4.84109C9.81194 4.68217 9.50004 4.73642 9.34112 4.96225L6.51977 8.97154L5.35681 7.78706C5.16334 7.59002 4.84677 7.58711 4.64973 7.78058C4.45268 7.97404 4.44978 8.29061 4.64325 8.48765L6.22658 10.1003C6.33054 10.2062 6.47617 10.2604 6.62407 10.2483C6.77197 10.2363 6.90686 10.1591 6.99226 10.0377L10.1589 5.53774Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),d=["color"],f=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,d);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704ZM9.85358 5.14644C10.0488 5.3417 10.0488 5.65829 9.85358 5.85355L8.20713 7.49999L9.85358 9.14644C10.0488 9.3417 10.0488 9.65829 9.85358 9.85355C9.65832 10.0488 9.34173 10.0488 9.14647 9.85355L7.50002 8.2071L5.85358 9.85355C5.65832 10.0488 5.34173 10.0488 5.14647 9.85355C4.95121 9.65829 4.95121 9.3417 5.14647 9.14644L6.79292 7.49999L5.14647 5.85355C4.95121 5.65829 4.95121 5.3417 5.14647 5.14644C5.34173 4.95118 5.65832 4.95118 5.85358 5.14644L7.50002 6.79289L9.14647 5.14644C9.34173 4.95118 9.65832 4.95118 9.85358 5.14644Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),p=["color"],h=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,p);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M3.625 7.5C3.625 8.12132 3.12132 8.625 2.5 8.625C1.87868 8.625 1.375 8.12132 1.375 7.5C1.375 6.87868 1.87868 6.375 2.5 6.375C3.12132 6.375 3.625 6.87868 3.625 7.5ZM8.625 7.5C8.625 8.12132 8.12132 8.625 7.5 8.625C6.87868 8.625 6.375 8.12132 6.375 7.5C6.375 6.87868 6.87868 6.375 7.5 6.375C8.12132 6.375 8.625 6.87868 8.625 7.5ZM12.5 8.625C13.1213 8.625 13.625 8.12132 13.625 7.5C13.625 6.87868 13.1213 6.375 12.5 6.375C11.8787 6.375 11.375 6.87868 11.375 7.5C11.375 8.12132 11.8787 8.625 12.5 8.625Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),m=["color"],g=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,m);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M7.07095 0.650238C6.67391 0.650238 6.32977 0.925096 6.24198 1.31231L6.0039 2.36247C5.6249 2.47269 5.26335 2.62363 4.92436 2.81013L4.01335 2.23585C3.67748 2.02413 3.23978 2.07312 2.95903 2.35386L2.35294 2.95996C2.0722 3.2407 2.0232 3.6784 2.23493 4.01427L2.80942 4.92561C2.62307 5.2645 2.47227 5.62594 2.36216 6.00481L1.31209 6.24287C0.924883 6.33065 0.650024 6.6748 0.650024 7.07183V7.92897C0.650024 8.32601 0.924883 8.67015 1.31209 8.75794L2.36228 8.99603C2.47246 9.375 2.62335 9.73652 2.80979 10.0755L2.2354 10.9867C2.02367 11.3225 2.07267 11.7602 2.35341 12.041L2.95951 12.6471C3.24025 12.9278 3.67795 12.9768 4.01382 12.7651L4.92506 12.1907C5.26384 12.377 5.62516 12.5278 6.0039 12.6379L6.24198 13.6881C6.32977 14.0753 6.67391 14.3502 7.07095 14.3502H7.92809C8.32512 14.3502 8.66927 14.0753 8.75705 13.6881L8.99505 12.6383C9.37411 12.5282 9.73573 12.3773 10.0748 12.1909L10.986 12.7653C11.3218 12.977 11.7595 12.928 12.0403 12.6473L12.6464 12.0412C12.9271 11.7604 12.9761 11.3227 12.7644 10.9869L12.1902 10.076C12.3768 9.73688 12.5278 9.37515 12.638 8.99596L13.6879 8.75794C14.0751 8.67015 14.35 8.32601 14.35 7.92897V7.07183C14.35 6.6748 14.0751 6.33065 13.6879 6.24287L12.6381 6.00488C12.528 5.62578 12.3771 5.26414 12.1906 4.92507L12.7648 4.01407C12.9766 3.6782 12.9276 3.2405 12.6468 2.95975L12.0407 2.35366C11.76 2.07292 11.3223 2.02392 10.9864 2.23565L10.0755 2.80989C9.73622 2.62328 9.37437 2.47229 8.99505 2.36209L8.75705 1.31231C8.66927 0.925096 8.32512 0.650238 7.92809 0.650238H7.07095ZM4.92053 3.81251C5.44724 3.44339 6.05665 3.18424 6.71543 3.06839L7.07095 1.50024H7.92809L8.28355 3.06816C8.94267 3.18387 9.5524 3.44302 10.0794 3.81224L11.4397 2.9547L12.0458 3.56079L11.1882 4.92117C11.5573 5.44798 11.8164 6.0575 11.9321 6.71638L13.5 7.07183V7.92897L11.932 8.28444C11.8162 8.94342 11.557 9.55301 11.1878 10.0798L12.0453 11.4402L11.4392 12.0462L10.0787 11.1886C9.55192 11.5576 8.94241 11.8166 8.28355 11.9323L7.92809 13.5002H7.07095L6.71543 11.932C6.0569 11.8162 5.44772 11.5572 4.92116 11.1883L3.56055 12.046L2.95445 11.4399L3.81213 10.0794C3.4431 9.55266 3.18403 8.94326 3.06825 8.2845L1.50002 7.92897V7.07183L3.06818 6.71632C3.18388 6.05765 3.44283 5.44833 3.81171 4.92165L2.95398 3.561L3.56008 2.95491L4.92053 3.81251ZM9.02496 7.50008C9.02496 8.34226 8.34223 9.02499 7.50005 9.02499C6.65786 9.02499 5.97513 8.34226 5.97513 7.50008C5.97513 6.65789 6.65786 5.97516 7.50005 5.97516C8.34223 5.97516 9.02496 6.65789 9.02496 7.50008ZM9.92496 7.50008C9.92496 8.83932 8.83929 9.92499 7.50005 9.92499C6.1608 9.92499 5.07513 8.83932 5.07513 7.50008C5.07513 6.16084 6.1608 5.07516 7.50005 5.07516C8.83929 5.07516 9.92496 6.16084 9.92496 7.50008Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),v=["color"],y=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,v);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),b=["color"],w=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,b);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M2.89998 0.499976C2.89998 0.279062 2.72089 0.0999756 2.49998 0.0999756C2.27906 0.0999756 2.09998 0.279062 2.09998 0.499976V1.09998H1.49998C1.27906 1.09998 1.09998 1.27906 1.09998 1.49998C1.09998 1.72089 1.27906 1.89998 1.49998 1.89998H2.09998V2.49998C2.09998 2.72089 2.27906 2.89998 2.49998 2.89998C2.72089 2.89998 2.89998 2.72089 2.89998 2.49998V1.89998H3.49998C3.72089 1.89998 3.89998 1.72089 3.89998 1.49998C3.89998 1.27906 3.72089 1.09998 3.49998 1.09998H2.89998V0.499976ZM5.89998 3.49998C5.89998 3.27906 5.72089 3.09998 5.49998 3.09998C5.27906 3.09998 5.09998 3.27906 5.09998 3.49998V4.09998H4.49998C4.27906 4.09998 4.09998 4.27906 4.09998 4.49998C4.09998 4.72089 4.27906 4.89998 4.49998 4.89998H5.09998V5.49998C5.09998 5.72089 5.27906 5.89998 5.49998 5.89998C5.72089 5.89998 5.89998 5.72089 5.89998 5.49998V4.89998H6.49998C6.72089 4.89998 6.89998 4.72089 6.89998 4.49998C6.89998 4.27906 6.72089 4.09998 6.49998 4.09998H5.89998V3.49998ZM1.89998 6.49998C1.89998 6.27906 1.72089 6.09998 1.49998 6.09998C1.27906 6.09998 1.09998 6.27906 1.09998 6.49998V7.09998H0.499976C0.279062 7.09998 0.0999756 7.27906 0.0999756 7.49998C0.0999756 7.72089 0.279062 7.89998 0.499976 7.89998H1.09998V8.49998C1.09998 8.72089 1.27906 8.89997 1.49998 8.89997C1.72089 8.89997 1.89998 8.72089 1.89998 8.49998V7.89998H2.49998C2.72089 7.89998 2.89998 7.72089 2.89998 7.49998C2.89998 7.27906 2.72089 7.09998 2.49998 7.09998H1.89998V6.49998ZM8.54406 0.98184L8.24618 0.941586C8.03275 0.917676 7.90692 1.1655 8.02936 1.34194C8.17013 1.54479 8.29981 1.75592 8.41754 1.97445C8.91878 2.90485 9.20322 3.96932 9.20322 5.10022C9.20322 8.37201 6.82247 11.0878 3.69887 11.6097C3.45736 11.65 3.20988 11.6772 2.96008 11.6906C2.74563 11.702 2.62729 11.9535 2.77721 12.1072C2.84551 12.1773 2.91535 12.2458 2.98667 12.3128L3.05883 12.3795L3.31883 12.6045L3.50684 12.7532L3.62796 12.8433L3.81491 12.9742L3.99079 13.089C4.11175 13.1651 4.23536 13.2375 4.36157 13.3059L4.62496 13.4412L4.88553 13.5607L5.18837 13.6828L5.43169 13.7686C5.56564 13.8128 5.70149 13.8529 5.83857 13.8885C5.94262 13.9155 6.04767 13.9401 6.15405 13.9622C6.27993 13.9883 6.40713 14.0109 6.53544 14.0298L6.85241 14.0685L7.11934 14.0892C7.24637 14.0965 7.37436 14.1002 7.50322 14.1002C11.1483 14.1002 14.1032 11.1453 14.1032 7.50023C14.1032 7.25044 14.0893 7.00389 14.0623 6.76131L14.0255 6.48407C13.991 6.26083 13.9453 6.04129 13.8891 5.82642C13.8213 5.56709 13.7382 5.31398 13.6409 5.06881L13.5279 4.80132L13.4507 4.63542L13.3766 4.48666C13.2178 4.17773 13.0353 3.88295 12.8312 3.60423L12.6782 3.40352L12.4793 3.16432L12.3157 2.98361L12.1961 2.85951L12.0355 2.70246L11.8134 2.50184L11.4925 2.24191L11.2483 2.06498L10.9562 1.87446L10.6346 1.68894L10.3073 1.52378L10.1938 1.47176L9.95488 1.3706L9.67791 1.2669L9.42566 1.1846L9.10075 1.09489L8.83599 1.03486L8.54406 0.98184ZM10.4032 5.30023C10.4032 4.27588 10.2002 3.29829 9.83244 2.40604C11.7623 3.28995 13.1032 5.23862 13.1032 7.50023C13.1032 10.593 10.596 13.1002 7.50322 13.1002C6.63646 13.1002 5.81597 12.9036 5.08355 12.5522C6.5419 12.0941 7.81081 11.2082 8.74322 10.0416C8.87963 10.2284 9.10028 10.3497 9.34928 10.3497C9.76349 10.3497 10.0993 10.0139 10.0993 9.59971C10.0993 9.24256 9.84965 8.94373 9.51535 8.86816C9.57741 8.75165 9.63653 8.63334 9.6926 8.51332C9.88358 8.63163 10.1088 8.69993 10.35 8.69993C11.0403 8.69993 11.6 8.14028 11.6 7.44993C11.6 6.75976 11.0406 6.20024 10.3505 6.19993C10.3853 5.90487 10.4032 5.60464 10.4032 5.30023Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),_=["color"],x=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,_);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M1.84998 7.49998C1.84998 4.66458 4.05979 1.84998 7.49998 1.84998C10.2783 1.84998 11.6515 3.9064 12.2367 5H10.5C10.2239 5 10 5.22386 10 5.5C10 5.77614 10.2239 6 10.5 6H13.5C13.7761 6 14 5.77614 14 5.5V2.5C14 2.22386 13.7761 2 13.5 2C13.2239 2 13 2.22386 13 2.5V4.31318C12.2955 3.07126 10.6659 0.849976 7.49998 0.849976C3.43716 0.849976 0.849976 4.18537 0.849976 7.49998C0.849976 10.8146 3.43716 14.15 7.49998 14.15C9.44382 14.15 11.0622 13.3808 12.2145 12.2084C12.8315 11.5806 13.3133 10.839 13.6418 10.0407C13.7469 9.78536 13.6251 9.49315 13.3698 9.38806C13.1144 9.28296 12.8222 9.40478 12.7171 9.66014C12.4363 10.3425 12.0251 10.9745 11.5013 11.5074C10.5295 12.4963 9.16504 13.15 7.49998 13.15C4.05979 13.15 1.84998 10.3354 1.84998 7.49998Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),E=["color"],C=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,E);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M7.5 0C7.77614 0 8 0.223858 8 0.5V2.5C8 2.77614 7.77614 3 7.5 3C7.22386 3 7 2.77614 7 2.5V0.5C7 0.223858 7.22386 0 7.5 0ZM2.1967 2.1967C2.39196 2.00144 2.70854 2.00144 2.90381 2.1967L4.31802 3.61091C4.51328 3.80617 4.51328 4.12276 4.31802 4.31802C4.12276 4.51328 3.80617 4.51328 3.61091 4.31802L2.1967 2.90381C2.00144 2.70854 2.00144 2.39196 2.1967 2.1967ZM0.5 7C0.223858 7 0 7.22386 0 7.5C0 7.77614 0.223858 8 0.5 8H2.5C2.77614 8 3 7.77614 3 7.5C3 7.22386 2.77614 7 2.5 7H0.5ZM2.1967 12.8033C2.00144 12.608 2.00144 12.2915 2.1967 12.0962L3.61091 10.682C3.80617 10.4867 4.12276 10.4867 4.31802 10.682C4.51328 10.8772 4.51328 11.1938 4.31802 11.3891L2.90381 12.8033C2.70854 12.9986 2.39196 12.9986 2.1967 12.8033ZM12.5 7C12.2239 7 12 7.22386 12 7.5C12 7.77614 12.2239 8 12.5 8H14.5C14.7761 8 15 7.77614 15 7.5C15 7.22386 14.7761 7 14.5 7H12.5ZM10.682 4.31802C10.4867 4.12276 10.4867 3.80617 10.682 3.61091L12.0962 2.1967C12.2915 2.00144 12.608 2.00144 12.8033 2.1967C12.9986 2.39196 12.9986 2.70854 12.8033 2.90381L11.3891 4.31802C11.1938 4.51328 10.8772 4.51328 10.682 4.31802ZM8 12.5C8 12.2239 7.77614 12 7.5 12C7.22386 12 7 12.2239 7 12.5V14.5C7 14.7761 7.22386 15 7.5 15C7.77614 15 8 14.7761 8 14.5V12.5ZM10.682 10.682C10.8772 10.4867 11.1938 10.4867 11.3891 10.682L12.8033 12.0962C12.9986 12.2915 12.9986 12.608 12.8033 12.8033C12.608 12.9986 12.2915 12.9986 12.0962 12.8033L10.682 11.3891C10.4867 11.1938 10.4867 10.8772 10.682 10.682ZM5.5 7.5C5.5 6.39543 6.39543 5.5 7.5 5.5C8.60457 5.5 9.5 6.39543 9.5 7.5C9.5 8.60457 8.60457 9.5 7.5 9.5C6.39543 9.5 5.5 8.60457 5.5 7.5ZM7.5 4.5C5.84315 4.5 4.5 5.84315 4.5 7.5C4.5 9.15685 5.84315 10.5 7.5 10.5C9.15685 10.5 10.5 9.15685 10.5 7.5C10.5 5.84315 9.15685 4.5 7.5 4.5Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),S=["color"],T=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,S);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M4 6H11L7.5 10.5L4 6Z",fill:void 0===n?"currentColor":n}))}),P=["color"],k=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,P);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M6 11L6 4L10.5 7.5L6 11Z",fill:void 0===n?"currentColor":n}))})},3822:function(e,t,n){n(4199)},3617:function(e,t,n){n(9327);var r=n(229),i="undefined"!=typeof WeakMap?WeakMap:function(){var e=[],t=[];return{set:function(n,r){e.push(n),t.push(r)},get:function(n){for(var r=0;r/),i=r?r[0]:" ",o="}"===n[n.length-1]?"}":"";return i.replace(/\r\n|\n/g," ").replace(/\s+/g," ")+" /* ... */ "+o},t.restore=function(e,t){var n=e[0],o=e.slice(1);switch(n){case"$":return r(t,e);case"r":var s=o.indexOf(","),a=o.slice(0,s);return RegExp(o.slice(s+1),a);case"d":return new Date(+o);case"f":var l=function(){throw Error("can't run jsan parsed function")};return l.toString=function(){return o},l;case"u":return;case"e":var u=Error(o);return u.stack="Stack is unavailable for jsan parsed errors",u;case"s":return Symbol(o);case"g":return Symbol.for(o);case"m":return new Map(i.parse(o));case"l":return new Set(i.parse(o));case"n":return NaN;case"i":return 1/0;case"y":return-1/0;default:return console.warn("unknown type",e),e}}},7003:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(7002)}])},1463:function(e,t,n){"use strict";n.d(t,{M:function(){return o}});var r=n(5316),i=n(2825);let o=(0,r.eK)(()=>({state:{}}),{withActions:e=>({add:t=>{e.state[t]?e.state[t]<0?e.state[t]=1:e.state[t]++:e.state[t]=1},remove:t=>{e.state[t]&&(e.state[t]<0?e.state[t]=0:e.state[t]--)},clear:()=>{e.state={}}})});i.s||(window.useActiveNode=o)},9676:function(e,t,n){"use strict";n.d(t,{p:function(){return l}});var r=n(5316),i=n(2825),o=n(8344),s=n(5696),a=n(1773);let l=(0,r.eK)(()=>({nodes:[],list:[]}),{withDeepSelector:!1,withActions:e=>({addNode:t=>{let n=a.O.getReadonlyState().closeList,r=Array.from(s.k.getReadonlyState().filter);e.nodes.find(e=>e.i===t.i)?(e.nodes=e.nodes.map(e=>e.i===t.i?t:e),e.list=e.nodes.map(e=>(0,o.VB)(e,e=>null==n?void 0:n[e.i],e=>r.some(t=>+t&e.t))).flat(1)):(e.nodes=[...e.nodes,t],e.list=[...e.list,...(0,o.VB)(t,e=>null==n?void 0:n[e.i],e=>r.some(t=>+t&e.t))]),a.O.getActions().updateSelectList()},update:()=>{let t=a.O.getReadonlyState().closeList,n=Array.from(s.k.getReadonlyState().filter);e.list=e.nodes.map(e=>(0,o.VB)(e,e=>null==t?void 0:t[e.i],e=>n.some(t=>+t&e.t))).flat(1),a.O.getActions().updateSelectList()},clear:()=>{e.nodes=[],e.list=[]}})});i.s||(window.useAppTree=l)},6721:function(e,t,n){"use strict";n.d(t,{F:function(){return o}});var r=n(5316),i=n(2825);let o=(0,r.eK)(()=>({id:null,data:{}}),{withActions:e=>({setLoading:t=>{e.id=t},setLoaded:()=>{e.id=null},setChunk:t=>{e.id&&t[e.id]&&(e.id=null),e.data={...e.data,...t}},clear:()=>{e.id=null,e.data={}}}),withDeepSelector:!1,withStableSelector:!0});i.s||(window.useChunk=o)},4688:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5316),i=n(2825);let o=(0,r.eK)(()=>({state:{enableHover:!1,enableUpdate:!1,enableRuntimeCount:!1,enableRuntimeMis:!1}}),{withActions:e=>({setEnableHover(t){e.state.enableHover=t},setEnableUpdate(t){e.state.enableUpdate=t},setEnableRuntimeCount(t){e.state.enableRuntimeCount=t},setEnableRuntimeMis(t){e.state.enableRuntimeMis=t}}),withNamespace:"useConfig",withDeepSelector:!0});i.s||(window.useConfig=o)},4874:function(e,t,n){"use strict";n.d(t,{$:function(){return o}});var r=n(5316),i=n(2825);let o=(0,r.eK)(()=>({state:!1,render:void 0,error:void 0,cb:null}),{withActions:e=>({connect(){e.state=!0},setRender(t){e.render=t},setError(t){e.error=t},setWebDev(t,n){e.name=t,e.url=n},disconnect(){e.state=!1,e.url=void 0,e.name=void 0},setConnectHandler(t){e.cb=t}}),withDeepSelector:!1});i.s||(window.useConnect=o)},3105:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(5316),i=n(2825);let o=(0,r.eK)(()=>({nodes:[],loading:!1,error:null}),{withActions:e=>({addNode:t=>{let n=e.nodes.filter(e=>e.i!==t.i);n.push(t),e.nodes=n},delNode:t=>{e.nodes=e.nodes.filter(e=>e.i!==t)},setLoading:t=>{e.loading=t},setError:t=>{e.error=t},clear:()=>{e.nodes=[],e.loading=!1,e.error=null}}),withDeepSelector:!1});i.s||(window.useDetailNode=o)},5696:function(e,t,n){"use strict";n.d(t,{k:function(){return a}});var r=n(4063),i=n(5316),o=n(9676);let s=new Set([r.NODE_TYPE.__comment__,r.NODE_TYPE.__initial__,r.NODE_TYPE.__text__,r.NODE_TYPE.__empty__,r.NODE_TYPE.__null__,r.NODE_TYPE.__plain__].map(e=>"".concat(e))),a=(0,i.eK)(()=>({filter:s}),{withActions:e=>({onChange:t=>{e.filter=t,o.p.getActions().update()}}),withDeepSelector:!1,withNamespace:"useFilterNode"})},5720:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r=n(5316),i=n(2825);let o=(0,r.eK)(()=>({state:{}}),{withDeepSelector:!1,withActions:e=>({update:t=>{Object.keys(t).forEach(n=>{e.state[n]=t[n]})},reset:()=>{e.state={}}})});i.s||(window.useHMRNode=o)},5993:function(e,t,n){"use strict";n.d(t,{i:function(){return o}});var r=n(5316),i=n(2825);let o=(0,r.eK)(()=>({map:{},state:{}}),{withDeepSelector:!1,withActions:e=>({set:t=>{Object.keys(t).forEach(n=>{e.state[n]=t[n],e.map[t[n]]=n})},clear:()=>{e.state={},e.map={}}})});i.s||(window.useNodeName=o)},4736:function(e,t,n){"use strict";n.d(t,{g:function(){return o}});var r=n(5316),i=n(2825);let o=(0,r.eK)(()=>({state:{}}),{withDeepSelector:!1,withActions:e=>({update:t=>{Object.keys(t).forEach(n=>{e.state[n]={...e.state[n],...t[n]}})},reset:()=>{e.state={}}})});i.s||(window.useRunNode=o)},1773:function(e,t,n){"use strict";n.d(t,{O:function(){return f}});var r=n(715),i=n(5316),o=n(2825),s=n(8344),a=n(9676),l=n(6721),u=n(3105);let c=l.F.getActions().clear,d=u.K.getActions().delNode,f=(0,i.eK)(()=>({select:null,hover:null,closeList:{},selectList:{},force:0}),{withActions:e=>{let t=(0,r.debounce)(()=>{let t=a.p.getReadonlyState().list.find(t=>t.i===e.select);t&&(e.selectList=(0,s.VB)(t,()=>!1,()=>!1).reduce((e,t)=>(e[t.i]=!0,e),{}))},16);return{setSelect:(n,r)=>{n!==e.select||r?(e.select=n,t()):(e.select=null,e.selectList={})},forceReload:()=>{e.select&&(e.force++,d(e.select)),c()},updateSelectList:t,setHover:t=>{t===e.hover?e.hover=null:e.hover=t},setClose:t=>{var n;t&&((null===(n=e.closeList)||void 0===n?void 0:n[t])?e.closeList={...e.closeList,[t]:!1}:e.closeList={...e.closeList,[t]:!0},a.p.getActions().update())},clear:()=>{e.hover=null,e.select=null,e.closeList={},e.selectList={}}}},withDeepSelector:!1});o.s||(window.useTreeNode=f)},872:function(e,t,n){"use strict";n.d(t,{P:function(){return o}});var r=n(5316),i=n(2825);let o=(0,r.eK)(()=>({state:{}}),{withDeepSelector:!1,withActions:e=>({update:t=>{Object.keys(t).forEach(n=>{e.state[n]=t[n]})},reset:()=>{e.state={}}})});i.s||(window.useTriggerNode=o)},7002:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return en}});var r=n(4746),i=n(3760),o=n.n(i),s=n(3443),a=n.n(s),l=n(4177),u=n(7954),c=n(2954),d=n(203),f=(0,d.tv)({slots:{base:"inline-flex items-center justify-between h-fit rounded-large gap-2",pre:"bg-transparent text-inherit font-mono font-normal inline-block whitespace-nowrap",content:"flex flex-col",symbol:"select-none",copyButton:["group","relative","z-10","text-large","text-inherit","data-[hover=true]:bg-transparent"],copyIcon:["absolute text-inherit opacity-100 scale-100 group-data-[copied=true]:opacity-0 group-data-[copied=true]:scale-50"],checkIcon:["absolute text-inherit opacity-0 scale-50 group-data-[copied=true]:opacity-100 group-data-[copied=true]:scale-100"]},variants:{variant:{flat:"",solid:"",bordered:"border-medium bg-transparent",shadow:""},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{base:"px-1.5 py-0.5 text-tiny rounded-small"},md:{base:"px-3 py-1.5 text-small rounded-medium"},lg:{base:"px-4 py-2 text-medium rounded-large"}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"}},fullWidth:{true:{base:"w-full"}},disableAnimation:{true:{},false:{copyIcon:"transition-transform-opacity",checkIcon:"transition-transform-opacity"}}},defaultVariants:{color:"default",variant:"flat",size:"md",fullWidth:!1},compoundVariants:[{variant:["solid","shadow"],color:"default",class:{copyButton:"data-[focus-visible]:outline-default-foreground"}},{variant:["solid","shadow"],color:"primary",class:{copyButton:"data-[focus-visible]:outline-primary-foreground"}},{variant:["solid","shadow"],color:"secondary",class:{copyButton:"data-[focus-visible]:outline-secondary-foreground"}},{variant:["solid","shadow"],color:"success",class:{copyButton:"data-[focus-visible]:outline-success-foreground"}},{variant:["solid","shadow"],color:"warning",class:{copyButton:"data-[focus-visible]:outline-warning-foreground"}},{variant:["solid","shadow"],color:"danger",class:{copyButton:"data-[focus-visible]:outline-danger-foreground"}},{variant:"flat",color:"default",class:{base:c.J.flat.default}},{variant:"flat",color:"primary",class:{base:c.J.flat.primary}},{variant:"flat",color:"secondary",class:{base:c.J.flat.secondary}},{variant:"flat",color:"success",class:{base:c.J.flat.success}},{variant:"flat",color:"warning",class:{base:c.J.flat.warning}},{variant:"flat",color:"danger",class:{base:c.J.flat.danger}},{variant:"solid",color:"default",class:{base:c.J.solid.default}},{variant:"solid",color:"primary",class:{base:c.J.solid.primary}},{variant:"solid",color:"secondary",class:{base:c.J.solid.secondary}},{variant:"solid",color:"success",class:{base:c.J.solid.success}},{variant:"solid",color:"warning",class:{base:c.J.solid.warning}},{variant:"solid",color:"danger",class:{base:c.J.solid.danger}},{variant:"shadow",color:"default",class:{base:c.J.shadow.default}},{variant:"shadow",color:"primary",class:{base:c.J.shadow.primary}},{variant:"shadow",color:"secondary",class:{base:c.J.shadow.secondary}},{variant:"shadow",color:"success",class:{base:c.J.shadow.success}},{variant:"shadow",color:"warning",class:{base:c.J.shadow.warning}},{variant:"shadow",color:"danger",class:{base:c.J.shadow.danger}},{variant:"bordered",color:"default",class:{base:c.J.bordered.default}},{variant:"bordered",color:"primary",class:{base:c.J.bordered.primary}},{variant:"bordered",color:"secondary",class:{base:c.J.bordered.secondary}},{variant:"bordered",color:"success",class:{base:c.J.bordered.success}},{variant:"bordered",color:"warning",class:{base:c.J.bordered.warning}},{variant:"bordered",color:"danger",class:{base:c.J.bordered.danger}}]}),p=n(4479),h=n(3917),m=n(4341),g=n(3563),v=n(5667),y=n(2189),b=n(5677),w=n(8511),_=n(154),x=e=>(0,r.jsxs)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",role:"presentation",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"1em",...e,children:[(0,r.jsx)("path",{d:"M16 17.1c0 3.5-1.4 4.9-4.9 4.9H6.9C3.4 22 2 20.6 2 17.1v-4.2C2 9.4 3.4 8 6.9 8h4.2c3.5 0 4.9 1.4 4.9 4.9Z"}),(0,r.jsx)("path",{d:"M8 8V6.9C8 3.4 9.4 2 12.9 2h4.2C20.6 2 22 3.4 22 6.9v4.2c0 3.5-1.4 4.9-4.9 4.9H16"}),(0,r.jsx)("path",{d:"M16 12.9C16 9.4 14.6 8 11.1 8"})]}),E=e=>(0,r.jsx)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",role:"presentation",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",width:"1em",...e,children:(0,r.jsx)("polyline",{points:"20 6 9 17 4 12"})}),C=n(418),S=(0,h.Gp)((e,t)=>{let{Component:n,domRef:i,preRef:o,children:s,slots:a,classNames:u,copied:c,copyIcon:d=(0,r.jsx)(x,{}),checkIcon:S=(0,r.jsx)(E,{}),symbolBefore:T,disableCopy:P,disableTooltip:k,hideSymbol:M,hideCopyButton:L,tooltipProps:$,isMultiLine:A,onCopy:O,getSnippetProps:R,getCopyButtonProps:N}=function(e){var t,n,r,i;let o=(0,p.w)(),[s,a]=(0,h.oe)(e,f.variantKeys),{ref:u,as:c,children:d,symbol:_="$",classNames:x,timeout:E,copyIcon:C,checkIcon:S,codeString:T,disableCopy:P=!1,disableTooltip:k=!1,hideCopyButton:M=!1,autoFocus:L=!1,hideSymbol:$=!1,onCopy:A,tooltipProps:O={},copyButtonProps:R={},className:N,...j}=s,I=c||"div",F="string"==typeof I,D=null!=(n=null!=(t=null==e?void 0:e.disableAnimation)?t:null==o?void 0:o.disableAnimation)&&n,V={offset:15,delay:1e3,content:"Copy to clipboard",color:null!=(i=null==e?void 0:e.color)?i:null==(r=f.defaultVariants)?void 0:r.color,isDisabled:s.disableCopy,...O},z=(0,m.gy)(u),H=(0,l.useRef)(null),{copy:K,copied:W}=function({timeout:e=2e3}={}){let[t,n]=(0,l.useState)(null),[r,i]=(0,l.useState)(!1),[o,s]=(0,l.useState)(null),a=(0,l.useCallback)(()=>{o&&clearTimeout(o)},[o]),u=(0,l.useCallback)(t=>{a(),s(setTimeout(()=>i(!1),e)),i(t)},[a,e]);return{copy:(0,l.useCallback)(e=>{"clipboard"in navigator?navigator.clipboard.writeText(e).then(()=>u(!0)).catch(e=>n(e)):n(Error("useClipboard: navigator.clipboard is not supported"))},[u]),reset:(0,l.useCallback)(()=>{i(!1),n(null),a()},[a]),error:t,copied:r}}({timeout:E}),B=d&&Array.isArray(d),{isFocusVisible:U,isFocused:J,focusProps:G}=(0,w.F)({autoFocus:L}),Y=(0,l.useMemo)(()=>f({...a,disableAnimation:D}),[(0,v.Xx)(a),D]),Z=(0,l.useMemo)(()=>{if(!_||"string"!=typeof _)return _;let e=_.trim();return e?`${e} `:""},[_]),X=(0,y.W)(null==x?void 0:x.base,N),q=(0,l.useCallback)(()=>({className:Y.base({class:X}),...(0,g.z)(j,{enabled:F})}),[Y,X,B,j]),Q=(0,l.useCallback)(()=>{var e;if(P)return;let t="";"string"==typeof d?t=d:Array.isArray(d)&&d.forEach(e=>{var n,r;let i="string"==typeof e?e:null==(r=null==(n=null==e?void 0:e.props)?void 0:n.children)?void 0:r.toString();i&&(t+=i+"\n")});let n=T||t||(null==(e=H.current)?void 0:e.textContent)||"";K(n),null==A||A(n)},[K,T,P,A,d]),ee={"aria-label":"string"==typeof V.content?V.content:"Copy to clipboard",size:"sm",variant:"light",isDisabled:P,onPress:Q,isIconOnly:!0,...R},et=(0,l.useCallback)(()=>({...ee,"data-copied":(0,b.PB)(W),className:Y.copyButton({class:(0,y.W)(null==x?void 0:x.copyButton)})}),[Y,U,J,P,null==x?void 0:x.copyButton,ee,G]);return{Component:I,as:c,domRef:z,preRef:H,children:d,slots:Y,classNames:x,copied:W,onCopy:Q,copyIcon:C,checkIcon:S,symbolBefore:Z,isMultiLine:B,isFocusVisible:U,hideCopyButton:M,disableCopy:P,disableTooltip:k,hideSymbol:$,tooltipProps:V,getSnippetProps:q,getCopyButtonProps:et}}({...e,ref:t}),j=(0,l.useCallback)(({children:e})=>(0,r.jsx)(_.e,{...$,isDisabled:c||$.isDisabled,children:e}),[(0,v.Xx)($)]),I=(0,l.useMemo)(()=>{if(L)return null;let e=S&&(0,l.cloneElement)(S,{className:a.checkIcon()}),t=d&&(0,l.cloneElement)(d,{className:a.copyIcon()}),n=(0,r.jsxs)(C.A,{...N(),children:[e,t]});return k?n:(0,r.jsx)(j,{children:n})},[a,null==u?void 0:u.copyButton,c,S,d,O,j,P,k,L]),F=(0,l.useMemo)(()=>A&&s&&Array.isArray(s)?(0,r.jsx)("div",{className:a.content({class:null==u?void 0:u.content}),children:s.map((e,t)=>(0,r.jsxs)("pre",{className:a.pre({class:null==u?void 0:u.pre}),children:[!M&&(0,r.jsx)("span",{className:a.symbol({class:null==u?void 0:u.symbol}),children:T}),e]},`${t}-${e}`))}):(0,r.jsxs)("pre",{ref:o,className:a.pre({class:null==u?void 0:u.pre}),children:[!M&&(0,r.jsx)("span",{className:a.symbol({class:null==u?void 0:u.symbol}),children:T}),s]}),[s,M,A,T,null==u?void 0:u.pre,a]);return(0,r.jsxs)(n,{ref:i,...R(),children:[F,I]})});S.displayName="NextUI.Snippet";var T=(0,d.tv)({base:["px-2","py-1","h-fit","font-mono","font-normal","inline-block","whitespace-nowrap"],variants:{color:{default:c.J.flat.default,primary:c.J.flat.primary,secondary:c.J.flat.secondary,success:c.J.flat.success,warning:c.J.flat.warning,danger:c.J.flat.danger},size:{sm:"text-small",md:"text-medium",lg:"text-large"},radius:{none:"rounded-none",sm:"rounded-small",md:"rounded-medium",lg:"rounded-large",full:"rounded-full"}},defaultVariants:{color:"default",size:"sm",radius:"sm"}}),P=(0,h.Gp)((e,t)=>{let{Component:n,children:i,getCodeProps:o}=function(e){let[t,n]=(0,h.oe)(e,T.variantKeys),{as:r,children:i,className:o,...s}=t,a=(0,l.useMemo)(()=>T({...n,className:o}),[(0,v.Xx)(n),o]);return{Component:r||"code",children:i,getCodeProps:()=>({className:a,...s})}}({...e});return(0,r.jsx)(n,{ref:t,...o(),children:i})});P.displayName="NextUI.Code";var k=n(6388),M=n(1669),L=n(3052),$=n(2774),A=n(9963),O=({children:e,navigate:t,useHref:n,disableAnimation:i=!1,disableRipple:o=!1,skipFramerMotionAnimations:s=i,validationBehavior:a="aria",locale:u="en-US",defaultDates:c,createCalendar:d,...f})=>{let h=e;t&&(h=(0,r.jsx)(L.pG,{navigate:t,useHref:n,children:h}));let m=(0,l.useMemo)(()=>(i&&s&&(A.c.skipAnimations=!0),{createCalendar:d,defaultDates:c,disableAnimation:i,disableRipple:o,validationBehavior:a}),[d,null==c?void 0:c.maxDate,null==c?void 0:c.minDate,i,o,a]);return(0,r.jsx)(p.a,{value:m,children:(0,r.jsx)(M.b,{locale:u,children:(0,r.jsx)($.N3,{...f,children:h})})})},R=n(3498),N=n(2551),j=n(4874),I=n(715),F=n(1463),D=n(9676),V=n(6721),z=n(4688),H=n(3105),K=n(5720),W=n(5993),B=n(4736),U=n(1773),J=n(872);let G="@my-react/devtool",Y=e=>{try{e()}catch(e){j.$.getActions().setError(e.message)}},Z=()=>{(0,l.useEffect)(()=>{},[])},X="iframe",q=e=>{var t;null===(t=window.top)||void 0===t||t.postMessage({from:X,...e,source:G},"*")},Q=(0,I.debounce)(q,100),ee=()=>{(0,l.useEffect)(()=>{if(window!==window.top&&window.top){console.log("[Dev mode] iframe start");let e=!1,t=null,n=[],r=()=>{e||(q({type:I.MessageWorkerType.init}),q({type:I.MessagePanelType.show}),t=setTimeout(r,1e3))},i=()=>{console.log("[Dev mode] iframe disconnect"),e=!1,t&&clearTimeout(t),n.forEach(e=>e()),j.$.getActions().disconnect()};return window.addEventListener("message",t=>{var n,r,i;if(t.source!==window.top||(null===(n=t.data)||void 0===n?void 0:n.source)!==G||(null===(r=t.data)||void 0===r?void 0:r.from)===X)return;let o=(null===(i=t.data)||void 0===i?void 0:i.type)==="hook-render"?t.data.data:t.data;o.type===I.DevToolMessageEnum.init&&Y(()=>{e=!0,j.$.getActions().setRender(o.data)}),o.type===I.DevToolMessageEnum.dir&&Y(()=>{W.i.getActions().set(o.data)}),o.type===I.DevToolMessageEnum.ready&&Y(()=>{o.data&&D.p.getActions().addNode(o.data)}),o.type===I.DevToolMessageEnum.unmount&&Y(()=>{var e,t,n,r,i,o,s,a,l,u,c,d,f,p,h,m,g;null===V.F||void 0===V.F||null===(n=V.F.getActions)||void 0===n||null===(t=n.call(V.F))||void 0===t||null===(e=t.clear)||void 0===e||e.call(t),null===D.p||void 0===D.p||null===(o=D.p.getActions)||void 0===o||null===(i=o.call(D.p))||void 0===i||null===(r=i.clear)||void 0===r||r.call(i),null===W.i||void 0===W.i||null===(l=W.i.getActions)||void 0===l||null===(a=l.call(W.i))||void 0===a||null===(s=a.clear)||void 0===s||s.call(a),null===U.O||void 0===U.O||null===(d=U.O.getActions)||void 0===d||null===(c=d.call(U.O))||void 0===c||null===(u=c.clear)||void 0===u||u.call(c),null===H.K||void 0===H.K||null===(h=H.K.getActions)||void 0===h||null===(p=h.call(H.K))||void 0===p||null===(f=p.clear)||void 0===f||f.call(p),null===F.M||void 0===F.M||null===(g=F.M.getActions())||void 0===g||null===(m=g.clear)||void 0===m||m.call(g)}),o.type===I.DevToolMessageEnum.hmr&&Y(()=>{K.m.getActions().update(o.data)}),o.type===I.DevToolMessageEnum.trigger&&Y(()=>{J.P.getActions().update(o.data)}),o.type===I.DevToolMessageEnum.run&&Y(()=>{B.g.getActions().update(o.data)}),o.type===I.DevToolMessageEnum.detail&&Y(()=>{o.data&&H.K.getActions().addNode(o.data),H.K.getActions().setLoading(!1)}),o.type===I.DevToolMessageEnum.config&&Y(()=>{var e,t;z.Z.getActions().setEnableHover(null===(e=o.data)||void 0===e?void 0:e.enableHover),z.Z.getActions().setEnableUpdate(null===(t=o.data)||void 0===t?void 0:t.enableUpdate)}),o.type===I.DevToolMessageEnum.chunk&&Y(()=>{V.F.getActions().setChunk(o.data)})}),console.log("[Dev mode] iframe connect"),j.$.getActions().connect(),r(),n.push(U.O.subscribe(e=>e.select,()=>{let e=U.O.getReadonlyState().select;e?(H.K.getActions().setLoading(!0),q({type:I.MessagePanelType.nodeSelect,data:e})):q({type:I.MessagePanelType.nodeSelect,data:null})})),n.push(U.O.subscribe(e=>e.force,()=>{let e=U.O.getReadonlyState().select;e&&(H.K.getActions().setLoading(!0),Q({type:I.MessagePanelType.nodeSelectForce,data:e}))})),n.push(U.O.subscribe(e=>e.hover,()=>q({type:I.MessagePanelType.nodeHover,data:U.O.getReadonlyState().hover}))),n.push(F.M.subscribe(e=>e.state,(0,I.debounce)(()=>q({type:I.MessagePanelType.nodeSubscriber,data:F.M.getReadonlyState().state}),100))),n.push(z.Z.subscribe(e=>e.state.enableHover,()=>q({type:I.MessagePanelType.enableHover,data:z.Z.getReadonlyState().state.enableHover}))),n.push(z.Z.subscribe(e=>e.state.enableUpdate,()=>q({type:I.MessagePanelType.enableUpdate,data:z.Z.getReadonlyState().state.enableUpdate}))),n.push(V.F.subscribe(e=>e.id,()=>{let e=V.F.getReadonlyState().id;e&&q({type:I.MessagePanelType.chunk,data:e})})),()=>{i()}}},[])},et=()=>{let[e,t]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{t(!0)},[]),e};function en(e){let{Component:t,pageProps:n,router:i}=e,{render:s,state:l,name:c,url:d,reconnect:f}=(0,j.$)(e=>({render:e.render,state:e.state,name:e.name,url:e.url,reconnect:e.cb})),p=et(),h="/devTool"===i.pathname,m=(0,r.jsx)(t,{...n});h&&"boolean"!=typeof s?(p&&window.location.origin,m=(0,r.jsx)("div",{className:"flex items-center justify-center w-screen h-screen",children:(0,r.jsxs)("div",{className:"flex flex-col items-center",children:[(0,r.jsx)(u.c,{color:"primary",size:"lg"}),!1,!1]})})):h&&!s&&(m=(0,r.jsx)("div",{className:"flex items-center justify-center w-screen h-screen",children:(0,r.jsxs)("div",{className:"text-center text-[20px] text-red-400 px-10",children:[(0,r.jsxs)("div",{children:["This ","page"," not render By ",(0,r.jsx)(P,{className:" text-inherit text-[20px] ml-2",children:"@my-react"})]}),(0,r.jsx)(k.q,{className:"my-2"}),(0,r.jsx)(S,{symbol:"",color:"warning",variant:"solid",hideCopyButton:!0,children:"https://github.com/MrWangJustToDo/MyReact"}),(0,r.jsx)("div",{className:"fixed top-4 right-4",children:(0,r.jsx)(_.e,{content:(0,r.jsx)("p",{className:l?"text-green-400":"text-red-400",children:l?"DevTool Connect":"DevTool DisConnect"}),showArrow:!0,placement:"bottom-end",children:(0,r.jsx)(C.A,{isIconOnly:!0,disabled:l,onClick:()=>null==f?void 0:f(),children:l?(0,r.jsx)(R.NhS,{className:"text-green-500"}):(0,r.jsx)(R.xrR,{className:" text-red-500"})})})})]})})),Z(),ee();let g=p?m:(0,r.jsx)("div",{className:"fixed w-full h-full flex items-center justify-center",children:(0,r.jsx)(u.c,{color:"primary",size:"lg"})});return(0,r.jsxs)(O,{disableAnimation:!0,children:[(0,r.jsx)(a(),{id:"babad980b5499b20",dynamic:[o().style.fontFamily,o().style.fontFamily,o().style.fontFamily],children:"html{font-family:".concat(o().style.fontFamily,"!important;--root-font--:").concat(o().style.fontFamily,"}body{font-family:").concat(o().style.fontFamily,"!important}")}),(0,r.jsx)(N.f,{attribute:"class",defaultTheme:"light",children:g})]})}n(41),n(5988),l.__my_react_shared__.enableLoopFromRoot.current=!0},2825:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});let r=!1},8344:function(e,t,n){"use strict";n.d(t,{VB:function(){return i},VR:function(){return r}});let r=(e,t)=>t.some(t=>(null==e?void 0:e.t)&t),i=(e,t,n)=>{let r=[],i=[e];for(;i.length;){let e=i.pop();if(e&&(n(e)||r.push(e),e.c&&!t(e)))for(let t=e.c.length-1;t>=0;t--)i.push(e.c[t])}return r}},9068:function(e,t,n){"use strict";var r=n(4675);n(5355);var i=n(4177),o=i&&"object"==typeof i&&"default"in i?i:{default:i},s=void 0!==r&&r.env&&!0,a=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,n=t.name,r=void 0===n?"stylesheet":n,i=t.optimizeForSpeed,o=void 0===i?s:i;u(a(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",u("boolean"==typeof o,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=o,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l=document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t=e.prototype;return t.setOptimizeForSpeed=function(e){u("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},t.isOptimizeForSpeed=function(){return this._optimizeForSpeed},t.inject=function(){var e=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(s||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},t.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t>>0},d={};function f(e,t){if(!t)return"jsx-"+e;var n=String(t),r=e+n;return d[r]||(d[r]="jsx-"+c(e+"-"+n)),d[r]}function p(e,t){var n=e+t;return d[n]||(d[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),d[n]}var h=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,r=void 0===n?null:n,i=t.optimizeForSpeed,o=void 0!==i&&i;this._sheet=r||new l({name:"styled-jsx",optimizeForSpeed:o}),this._sheet.inject(),r&&"boolean"==typeof o&&(this._sheet.setOptimizeForSpeed(o),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),r=n.styleId,i=n.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var o=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=o,this._instancesCounts[r]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var r=this._fromServer&&this._fromServer[n];r?(r.parentNode.removeChild(r),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,n;return t=this.cssRules(),void 0===(n=e)&&(n={}),t.map(function(e){var t=e[0],r=e[1];return o.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:n.nonce?n.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})})},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,r=e.id;if(n){var i=f(r,n);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return p(i,e)}):[p(i,t)]}}return{styleId:f(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),m=i.createContext(null);m.displayName="StyleSheetContext";var g=o.default.useInsertionEffect||o.default.useLayoutEffect,v=new h;function y(e){var t=v||i.useContext(m);return t&&g(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}y.dynamic=function(e){return e.map(function(e){return f(e[0],e[1])}).join(" ")},t.style=y},3443:function(e,t,n){"use strict";e.exports=n(9068).style},5355:function(){},5988:function(){},41:function(){},3760:function(e){e.exports={style:{fontFamily:"'__Fira_Code_5c49b7', '__Fira_Code_Fallback_5c49b7'",fontWeight:400,fontStyle:"normal"},className:"__className_5c49b7",variable:"__variable_5c49b7"}},4675:function(e){var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var l=[],u=!1,c=-1;function d(){u&&r&&(u=!1,r.length?l=r.concat(l):c=-1,l.length&&f())}function f(){if(!u){var e=a(d);u=!0;for(var t=l.length;t;){for(r=l,l=[];++c1)for(var n=1;n"),e:r};if("Error"===n)return{t:n,v:e.message,e:r};if("object"==typeof e&&null!==e)return{t:n,v:Object.prototype.toString.call(e),e:r};return{t:n,v:String(e),e:r}}catch(e){return{t:"ReadError",v:"Read data error: "+e.message,e:!1}}},E=function(e,t){return void 0===t&&(t=3),y=new WeakMap,x(e,t)},C=function(e){var t=g.get(e);if(t){m=!0;var n=x(t);return m=!1,n}},S=0,T=function(e){this.i=e||"".concat(S++)};(r=l||(l={}))[r.__initial__=0]="__initial__",r[r.__class__=1]="__class__",r[r.__function__=2]="__function__",r[r.__lazy__=4]="__lazy__",r[r.__memo__=8]="__memo__",r[r.__forwardRef__=16]="__forwardRef__",r[r.__provider__=32]="__provider__",r[r.__consumer__=64]="__consumer__",r[r.__portal__=128]="__portal__",r[r.__null__=256]="__null__",r[r.__text__=512]="__text__",r[r.__empty__=1024]="__empty__",r[r.__plain__=2048]="__plain__",r[r.__strict__=4096]="__strict__",r[r.__suspense__=8192]="__suspense__",r[r.__fragment__=16384]="__fragment__",r[r.__keepLive__=32768]="__keepLive__",r[r.__scope__=65536]="__scope__",r[r.__comment__=131072]="__comment__",r[r.__profiler__=262144]="__profiler__",r[r.__compiler__=524288]="__compiler__";var P=new Map,k=new Map,M=new Map,L=new Map,$={},A=0,O=function(e,t){var n=null!==t.key&&void 0!==t.key;n&&!$[t.key]&&($[t.key]=++A+"");var r=J(t);$[r]||($[r]=++A+""),e.k=n?$[t.key]:void 0,e.t=U(t),e.n=$[r]},R=function(e,t,n){O(e,t),e.p=Q(t,n),e._s=Z(t),e._t=X(t),e._h=q(t,n),t.type&l.__class__&&(e.s=ee(t,n))},N=function(e,t){if(!e)return null;var n=P.get(e),r=n||new T;return r.c=null,t?(t.c=t.c||[],t.c.push(r),r._d=t._d+1):r._d=0,O(r,e),n||(P.set(e,r),M.set(r.i,e),L.set(r.i,r)),e.child&&N(e.child,r),e.sibling&&N(e.sibling,t),{current:r,directory:$}},j=function(e,t,n){if(!e)return null;t.add(e);var r=P.get(e);if(!r&&!n)return null;var i=r||new T;return i.c=null,n&&(n.c=n.c||[],n.c.push(i),i._d=n._d+1),O(i,e),r||(P.set(e,i),M.set(i.i,e),L.set(i.i,i)),e.child&&j(e.child,t,i),e.sibling&&j(e.sibling,t,n),{current:i,directory:$}},I=function(e){var t=P.get(e);t&&(M.delete(t.i),L.delete(t.i)),P.delete(e),k.delete(e)},F=function(e){return P.get(e)},D=function(e){var t=F(e);return null==t?void 0:t.i},V=function(e){return e?e.parent?V(e.parent):F(e):null},z=function(e){var t=new WeakSet,n=[];return e.listToFoot(function(e){if(!t.has(e)){t.add(e);var r=j(e,t);r&&r.current&&n.push(r.current)}}),{result:n,directory:$}},H=function(e,t){var n=F(e);if(!n)throw Error("plainNode not found, look like a bug for @my-react/devtools");var r=k.get(e);if(r)return R(r,e,t),r;var i=new T(n.i);return R(i,e,t),k.set(e,i),i},K=function(e){return M.get(e)},W=[],B=Symbol.for("react.memo_cache_sentinel");Object.keys(l).forEach(function(e){e.startsWith("__")||W.push(+e)});var U=function(e){var t,n=e.type,r=!1;return null===(t=e.hookList)||void 0===t||t.listToFoot(function(e){var t;!r&&e.type===u.HOOK_TYPE.useMemo&&(null===(t=e.result)||void 0===t?void 0:t[B])&&(r=!0)}),r?u.merge(n,l.__compiler__):n},J=function(e){if(e.type&l.__provider__){var t=e.elementType,n=t.Context.displayName;return"".concat(n||"Context",".Provider")}if(e.type&l.__consumer__){var t=e.elementType,r=t.Context.displayName;return"".concat(r||"Context",".Consumer")}if(e.type&l.__lazy__){var t=e.elementType,i=null==t?void 0:t.render,o=(null==i?void 0:i.displayName)||(null==i?void 0:i.name)||"";return"".concat(o||"anonymous")}if(e.type&l.__portal__)return"Portal";if(e.type&l.__null__)return"Null";if(e.type&l.__empty__)return"Empty";if(e.type&l.__scope__)return"Scope";if(e.type&l.__strict__)return"Strict";if(e.type&l.__profiler__)return"Profiler";if(e.type&l.__suspense__)return"Suspense";if(e.type&l.__comment__)return"Comment";if(e.type&l.__keepLive__)return"KeepAlive";if(e.type&l.__fragment__)return"Fragment";if(e.type&l.__text__)return"text";if("string"==typeof e.elementType)return"".concat(e.elementType);if("function"==typeof e.elementType){var t=e.elementType,s=t.displayName||t.name||"anonymous";return"".concat(s)}return"unknown"},G=function(e){switch(e){case u.HOOK_TYPE.useReducer:return"Reducer";case u.HOOK_TYPE.useEffect:return"Effect";case u.HOOK_TYPE.useLayoutEffect:return"LayoutEffect";case u.HOOK_TYPE.useMemo:return"Memo";case u.HOOK_TYPE.useCallback:return"Callback";case u.HOOK_TYPE.useRef:return"Ref";case u.HOOK_TYPE.useImperativeHandle:return"ImperativeHandle";case u.HOOK_TYPE.useDebugValue:return"DebugValue";case u.HOOK_TYPE.useContext:return"Context";case u.HOOK_TYPE.useDeferredValue:return"DeferredValue";case u.HOOK_TYPE.useTransition:return"Transition";case u.HOOK_TYPE.useId:return"Id";case u.HOOK_TYPE.useSyncExternalStore:return"SyncExternalStore";case u.HOOK_TYPE.useInsertionEffect:return"InsertionEffect";case u.HOOK_TYPE.useState:return"State";case u.HOOK_TYPE.useSignal:return"Signal"}},Y=function(e){return e.displayName||"Context"},Z=function(e){return e._debugElement?e._debugElement._source:null},X=function(e){for(var t,n=[],r=null==e?void 0:e.parent;r;){var i=F(r).i;if(n.push(i),!r.parent){var o=r;if(o.renderDispatch&&o.renderDispatch.version)n.push("@my-react ".concat(o.renderDispatch.version));else{var s=null===(t=o.containerNode.__container__)||void 0===t?void 0:t.version;s&&n.push("@my-react ".concat(s))}}r=r.parent}return n},q=function(e,t){var n,r=[],i=e.hookList,o={};return null===(n=null==i?void 0:i.toArray())||void 0===n||n.forEach(function(e,n){var i=e._debugStack;if(i&&Array.isArray(i)&&0!==i.length)for(var s="",a=0;at.left+t.width&&(s=t.left+t.width-o-5),{style:{top:r+="px",left:s+="px"}});ea(this.tip.style,l.style)},e}(),ec=function(){function e(e){this.agent=e;var t=window.__REACT_DEVTOOLS_TARGET_WINDOW__||window;this.window=t;var n=window.__REACT_DEVTOOLS_TARGET_WINDOW__||window;this.tipBoundsWindow=n;var r=t.document;this.container=r.createElement("div"),this.container.style.zIndex="10000000",this.container.setAttribute("data-select","@my-react"),this.tip=new eu(r,this.container),this.rects=[],this.agent=e,r.body.appendChild(this.container)}return e.prototype.remove=function(){this.tip.remove(),this.rects.forEach(function(e){e.remove()}),this.rects.length=0,this.container.parentNode&&this.container.parentNode.removeChild(this.container)},e.prototype.inspect=function(e,t){for(var n=this,r=t.filter(function(e){return e.nodeType===Node.ELEMENT_NODE});this.rects.length>r.length;)this.rects.pop().remove();if(0!==r.length){for(;this.rects.length=0&&i.left>=0&&i.right<=(window.innerWidth||document.documentElement.clientWidth)&&i.bottom<=(window.innerHeight||document.documentElement.clientHeight)){var o=i.left-.5,s=i.top-.5,a=i.width+1,l=i.height+1;n.strokeRect(o<0?0:o,s<0?0:s,a>window.innerWidth?window.innerWidth:a,l>window.innerHeight?window.innerHeight:l)}}catch(e){}},this.flashPending=function(){var e=t.mask.getContext("2d"),n=new Set(t.__pendingUpdate__);t.__pendingUpdate__.clear(),e.strokeStyle=ep.update,n.forEach(function(n){return t.processHighlight(n,e)});var r=new Set(t.__pendingAppend__);t.__pendingAppend__.clear(),e.strokeStyle=ep.append,r.forEach(function(n){return t.processHighlight(n,e)});var i=new Set(t.__pendingSetRef__);t.__pendingSetRef__.clear(),e.strokeStyle=ep.setRef,i.forEach(function(n){return t.processHighlight(n,e)});var o=new Set(t.__pendingWarn__);t.__pendingWarn__.clear(),e.strokeStyle=ep.warn,o.forEach(function(n){return t.processHighlight(n,e)}),setTimeout(function(){e.clearRect(0,0,t.width,t.height),t.running=!1,(t.__pendingUpdate__.size||t.__pendingAppend__.size||t.__pendingSetRef__.size)&&(t.running=!0,t.flashPending())},100)}},em=function(e,t){e.$$hasDevToolInject||(e.$$hasDevToolInject=!0,function(e){if("function"==typeof e.onFiberUnmount)e.onFiberUnmount(I);else{var t=e.patchToFiberUnmount;e.patchToFiberUnmount=function(e){t.call(this,e),I(e)}}}(e),Object.defineProperty(e,"__devtool_runtime__",{value:t}))};t.DevToolMessageEnum=void 0,(i=t.DevToolMessageEnum||(t.DevToolMessageEnum={})).init="init",i.dir="dir",i.config="config",i.ready="ready",i.update="update",i.changed="changed",i.highlight="highlight",i.trigger="trigger",i.hmr="hmr",i.run="run",i.detail="detail",i.unmount="unmount",i.chunk="chunk";var eg=function(e,t){var n=null;return function(){for(var r=[],i=0;i0}).forEach(function(t){n[t]=e._run[t]}),e._notify({type:t.DevToolMessageEnum.run,data:n})}},100),this.notifyAll=eg(function(){e.notifyDetector(),e._needUnmount&&(e._notify({type:t.DevToolMessageEnum.unmount,data:null}),e._needUnmount=!1),e._dispatch.size&&e._dispatch.forEach(function(t){e.notifyDispatch(t)}),e.notifyConfig(),e.notifyDir(),e.notifyTrigger(),e.notifyHMR(),e.notifySelect()},200),this.update=new eh(this)}e.prototype.getDispatch=function(){return Array.from(this._dispatch)},Object.defineProperty(e.prototype,"hasEnable",{get:function(){return this._enabled||this._forceEnable},enumerable:!1,configurable:!0}),e.prototype.setHoverStatus=function(e){this._enableHover=e},e.prototype.setUpdateStatus=function(e){this._enableUpdate=e},e.prototype.addDispatch=function(e){e&&(this._detector=!0),this.hasDispatch(e)||(em(e,this),this._dispatch.add(e),this.patchDispatch(e))},e.prototype.patchDispatch=function(e){var t,n,r,i,o,s,a,l,d,f,p,h=this;if(!e.$$hasDevToolPatch){e.$$hasDevToolPatch=!0;var m=ev(function(){h.hasEnable&&(h.notifyDispatch(e),h.notifySelect())},200),g=function(){h._needUnmount=!0,h.delDispatch(e)};if("function"==typeof e.onAfterCommit&&"function"==typeof e.onAfterUpdate)e.onAfterCommit(m),null===(t=e.onAfterUnmount)||void 0===t||t.call(e,g),null===(n=e.onFiberState)||void 0===n||n.call(e,function(e){var t=D(e);t&&(h._state[t]=h._state[t]?h._state[t]+1:1)}),null===(r=e.onFiberTrigger)||void 0===r||r.call(e,function(e){var t=D(e);t&&(h._trigger[t]=h._trigger[t]?h._trigger[t]+1:1,h.hasEnable&&h.notifyTrigger())}),null===(i=e.onPerformanceWarn)||void 0===i||i.call(e,function(e){var t=D(e);t&&(h.hasEnable&&h._enableUpdate&&h.update.highLight(e,"warn"),h.notifyHighlight(t,"performance"))}),null===(o=e.onFiberChange)||void 0===o||o.call(e,function(e){var t=z(e).directory;u.isNormalEquals(h._dir,t)||(h._dir=c({},t),h.notifyDir()),h.notifyChanged(e)}),null===(s=e.onFiberUpdate)||void 0===s||s.call(e,function(e){var t=D(e);t&&h.hasEnable&&t===h._selectId&&h.notifySelect()}),null===(a=e.onFiberHMR)||void 0===a||a.call(e,function(t){var n=D(t);n&&(h._hmr[n]=h._hmr[n]?h._hmr[n]+1:1,h.hasEnable&&(h.notifyHMR(),h.notifyDispatch(e,!0)))}),null===(l=e.onFiberRun)||void 0===l||l.call(e,function(e){var t,n,r=D(e);r&&(h._run[r]?h._run[r]={c:h._run[r].c+1,t:null===(t=e._debugRenderState)||void 0===t?void 0:t.timeForRender}:h._run[r]={c:1,t:null===(n=e._debugRenderState)||void 0===n?void 0:n.timeForRender},h.notifyRun())}),null===(d=e.onDOMUpdate)||void 0===d||d.call(e,function(e){h.hasEnable&&h._enableUpdate&&h.update.highLight(e,"update")}),null===(f=e.onDOMAppend)||void 0===f||f.call(e,function(e){h.hasEnable&&h._enableUpdate&&h.update.highLight(e,"append")}),null===(p=e.onDOMSetRef)||void 0===p||p.call(e,function(e){h.hasEnable&&h._enableUpdate&&h.update.highLight(e,"setRef")});else{var v=e.afterCommit,y=e.afterUpdate,b=e.afterUnmount;e.afterCommit=function(){var e;null===(e=null==v?void 0:v.call)||void 0===e||e.call(v,this),m()},e.afterUpdate=function(){var e;null===(e=null==y?void 0:y.call)||void 0===e||e.call(y,this),m()},e.afterUnmount=function(){var e;null===(e=null==b?void 0:b.call)||void 0===e||e.call(b,this),g()}}}},e.prototype.hasDispatch=function(e){return this._dispatch.has(e)},e.prototype.delDispatch=function(e){this._map.delete(e),this._dispatch.delete(e),this.notifyAll()},e.prototype.subscribe=function(e){var t=this;return this._listeners.add(e),function(){return t._listeners.delete(e)}},e.prototype.unSubscribe=function(e){this._listeners.delete(e)},e.prototype._notify=function(e){this._listeners.forEach(function(t){return t(e)})},e.prototype.getTree=function(e){var t=N(e.rootFiber),n=t.directory,r=t.current;return u.isNormalEquals(this._dir,n)||(this._dir=c({},n),this.notifyDir()),this._map.set(e,r),r},e.prototype.setSelect=function(e){this._selectId=e},e.prototype.setHover=function(e){this._hoverId=e},e.prototype.setSubscribe=function(e){this._activeIds=e},e.prototype.showHover=function(){var e,t,n,r;if(this._enableHover){if(null===(t=null===(e=this.select)||void 0===e?void 0:e.remove)||void 0===t||t.call(e),this.select=new ec(this),this._hoverId){var i=K(this._hoverId);i&&this.select.inspect(i,et(i))}else null===(r=null===(n=this.select)||void 0===n?void 0:n.remove)||void 0===r||r.call(n),this.select=null}},e.prototype.notifyDir=function(){this.hasEnable&&this._notify({type:t.DevToolMessageEnum.dir,data:this._dir})},e.prototype.notifyDetector=function(){this.hasEnable&&this._notify({type:t.DevToolMessageEnum.init,data:this._detector})},e.prototype.notifyHighlight=function(e,n){this.hasEnable&&this._notify({type:t.DevToolMessageEnum.highlight,data:{id:e,type:n}})},e.prototype.notifyChanged=function(e){if(this.hasEnable){var n=V(e.head.value);this._notify({type:t.DevToolMessageEnum.ready,data:n})}},e.prototype.notifyHMR=function(){this.hasEnable&&this._notify({type:t.DevToolMessageEnum.hmr,data:this._hmr})},e.prototype.notifyConfig=function(){this.hasEnable&&this._notify({type:t.DevToolMessageEnum.config,data:{enableHover:this._enableHover,enableUpdate:this._enableUpdate}})},e.prototype.notifySelect=function(e){if(void 0===e&&(e=!1),this.hasEnable){var n=this._selectId;if(n){var r=K(n);r?this._notify({type:t.DevToolMessageEnum.detail,data:H(r,e)}):this._notify({type:t.DevToolMessageEnum.detail,data:null})}}},e.prototype.notifyChunk=function(e){if(this.hasEnable){var n,r=C(Number(e));this._notify({type:t.DevToolMessageEnum.chunk,data:((n={})[e]={loaded:r},n)})}},e.prototype.notifyDispatch=function(e,n){if(this.hasEnable&&this._dispatch.has(e)){var r=Date.now();if(n){ey.set(e,r);var i=this.getTree(e);this._notify({type:t.DevToolMessageEnum.ready,data:i})}else{var o=ey.get(e);if(o&&r-o<200)return;ey.set(e,r);var i=this.getTree(e);this._notify({type:t.DevToolMessageEnum.ready,data:i})}}},e.prototype.connect=function(){this._enabled||(this._enabled=!0)},e.prototype.disconnect=function(){var e,t;this._enabled&&(null===(t=null===(e=this.select)||void 0===e?void 0:e.remove)||void 0===t||t.call(e),this.select=null,this._enabled=!1)}})(),t.ou=void 0,(o=t.ou||(t.ou={})).init="hook-init",o.mount="hook-mount",o.render="hook-render",t.ns=void 0,(t.ns||(t.ns={})).init="detector-init",t.MessagePanelType=void 0,(s=t.MessagePanelType||(t.MessagePanelType={})).show="panel-show",s.hide="panel-hide",s.enableHover="panel-enable-hover",s.enableUpdate="panel-enable-update",s.nodeHover="panel-hover",s.nodeSelect="panel-select",s.nodeSelectForce="panel-select-force",s.nodeSubscriber="panel-subscriber",s.chunk="panel-chunk",t.MessageWorkerType=void 0,(a=t.MessageWorkerType||(t.MessageWorkerType={})).init="worker-init",a.close="worker-close",t.color=ep,t.debounce=eg,t.getFiberTag=function(e){var t=[];return e&l.__memo__&&t.push("memo"),e&l.__forwardRef__&&t.push("forwardRef"),e&l.__lazy__&&t.push("lazy"),e&l.__compiler__&&t.push("compiler ✨"),t},t.getTypeName=function(e){switch(e){case l.__keepLive__:return"KeepAlive";case l.__memo__:return"Memo";case l.__forwardRef__:return"ForwardRef";case l.__lazy__:return"Lazy";case l.__provider__:return"Provider";case l.__consumer__:return"Consumer";case l.__fragment__:return"Fragment";case l.__scope__:return"Scope";case l.__strict__:return"Strict";case l.__profiler__:return"Profiler";case l.__suspense__:return"Suspense";case l.__portal__:return"Portal";case l.__comment__:return"Comment";case l.__empty__:return"Empty";case l.__null__:return"Null";case l.__text__:return"Text";case l.__function__:return"Function";case l.__class__:return"Class";case l.__plain__:return"Plain";case l.__initial__:return"Initial";default:return""}},t.typeKeys=W},715:function(e,t,n){"use strict";e.exports=n(6779)},5381:function(e,t,n){"use strict";n.d(t,{VS:function(){return r},Yv:function(){return o},Yx:function(){return i},sK:function(){return s}});var r=e=>{let t={top:{originY:1},bottom:{originY:0},left:{originX:1},right:{originX:0},"top-start":{originX:0,originY:1},"top-end":{originX:1,originY:1},"bottom-start":{originX:0,originY:0},"bottom-end":{originX:1,originY:0},"right-start":{originX:0,originY:0},"right-end":{originX:0,originY:1},"left-start":{originX:1,originY:0},"left-end":{originX:1,originY:1}};return(null==t?void 0:t[e])||{}},i=e=>({top:"top",bottom:"bottom",left:"left",right:"right","top-start":"top start","top-end":"top end","bottom-start":"bottom start","bottom-end":"bottom end","left-start":"left top","left-end":"left bottom","right-start":"right top","right-end":"right bottom"})[e],o=(e,t)=>{if(t.includes("-")){let[n]=t.split("-");if(n.includes(e))return!1}return!0},s=(e,t)=>{if(t.includes("-")){let[,n]=t.split("-");return`${e}-${n}`}return e}},7956:function(e,t,n){"use strict";n.d(t,{D:function(){return r},M:function(){return i}});var[r,i]=(0,n(6265).k)({name:"ButtonGroupContext",strict:!1})},418:function(e,t,n){"use strict";n.d(t,{A:function(){return _}});var r=n(7956),i=n(4479),o=n(5677),s=n(4177),a=n(8511),l=n(7661),u=n(1610),c=n(4341),d=n(3563),f=n(3290),p=n(57),h=n(6150),m=n(1114),g=n(7954),v=n(545),y=n(3917),b=n(4746),w=(0,y.Gp)((e,t)=>{let{Component:n,domRef:y,children:w,styles:_,spinnerSize:x,spinner:E=(0,b.jsx)(g.c,{color:"current",size:x}),spinnerPlacement:C,startContent:S,endContent:T,isLoading:P,disableRipple:k,getButtonProps:M,getRippleProps:L,isIconOnly:$}=function(e){var t,n,g,v,y,b,w,_,x;let E=(0,r.M)(),C=(0,i.w)(),S=!!E,{ref:T,as:P,children:k,startContent:M,endContent:L,autoFocus:$,className:A,spinner:O,isLoading:R=!1,disableRipple:N=!1,fullWidth:j=null!=(t=null==E?void 0:E.fullWidth)&&t,radius:I=null==E?void 0:E.radius,size:F=null!=(n=null==E?void 0:E.size)?n:"md",color:D=null!=(g=null==E?void 0:E.color)?g:"default",variant:V=null!=(v=null==E?void 0:E.variant)?v:"solid",disableAnimation:z=null!=(b=null!=(y=null==E?void 0:E.disableAnimation)?y:null==C?void 0:C.disableAnimation)&&b,isDisabled:H=null!=(w=null==E?void 0:E.isDisabled)&&w,isIconOnly:K=null!=(_=null==E?void 0:E.isIconOnly)&&_,spinnerPlacement:W="start",onPress:B,onClick:U,...J}=e,G=P||"button",Y="string"==typeof G,Z=(0,c.gy)(T),X=null!=(x=N||(null==C?void 0:C.disableRipple))?x:z,{isFocusVisible:q,isFocused:Q,focusProps:ee}=(0,a.F)({autoFocus:$}),et=H||R,en=(0,s.useMemo)(()=>(0,f.L)({size:F,color:D,variant:V,radius:I,fullWidth:j,isDisabled:et,isInGroup:S,disableAnimation:z,isIconOnly:K,className:A}),[F,D,V,I,j,et,S,K,z,A]),{onClick:er,onClear:ei,ripples:eo}=(0,m.i)(),es=(0,s.useCallback)(e=>{X||et||z||!Z.current||er(e)},[X,et,z,Z,er]),{buttonProps:ea,isPressed:el}=(0,p.j)({elementType:P,isDisabled:et,onPress:B,onClick:(0,l.t)(U,es),...J},Z),{isHovered:eu,hoverProps:ec}=(0,h.X)({isDisabled:et}),ed=(0,s.useCallback)((e={})=>({"data-disabled":(0,o.PB)(et),"data-focus":(0,o.PB)(Q),"data-pressed":(0,o.PB)(el),"data-focus-visible":(0,o.PB)(q),"data-hover":(0,o.PB)(eu),"data-loading":(0,o.PB)(R),...(0,u.d)(ea,ee,ec,(0,d.z)(J,{enabled:Y}),(0,d.z)(e))}),[R,et,Q,el,Y,q,eu,ea,ee,ec,J]),ef=e=>(0,s.isValidElement)(e)?(0,s.cloneElement)(e,{"aria-hidden":!0,focusable:!1,tabIndex:-1}):null,ep=ef(M);return{Component:G,children:k,domRef:Z,spinner:O,styles:en,startContent:ep,endContent:ef(L),isLoading:R,spinnerPlacement:W,spinnerSize:(0,s.useMemo)(()=>({sm:"sm",md:"sm",lg:"md"})[F],[F]),disableRipple:X,getButtonProps:ed,getRippleProps:(0,s.useCallback)(()=>({ripples:eo,onClear:ei}),[eo,ei]),isIconOnly:K}}({...e,ref:t});return(0,b.jsxs)(n,{ref:y,className:_,...M(),children:[S,P&&"start"===C&&E,P&&$?null:w,P&&"end"===C&&E,T,!k&&(0,b.jsx)(v.L,{...L()})]})});w.displayName="NextUI.Button";var _=w},1845:function(e,t,n){"use strict";n.d(t,{Lj:function(){return r},y7:function(){return i}});var r={ease:[.36,.66,.4,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1],spring:[.155,1.105,.295,1.12],springOut:[.57,-.15,.62,.07],softSpring:[.16,1.11,.3,1.02]};r.easeOut,r.easeIn;var i={scaleSpring:{enter:{transform:"scale(1)",opacity:1,transition:{type:"spring",bounce:0,duration:.2}},exit:{transform:"scale(0.85)",opacity:0,transition:{type:"easeOut",duration:.15}}},scaleSpringOpacity:{initial:{opacity:0,transform:"scale(0.8)"},enter:{opacity:1,transform:"scale(1)",transition:{type:"spring",bounce:0,duration:.3}},exit:{opacity:0,transform:"scale(0.96)",transition:{type:"easeOut",bounce:0,duration:.15}}},scale:{enter:{scale:1},exit:{scale:.95}},scaleFadeIn:{enter:{transform:"scale(1)",opacity:1,transition:{duration:.25,ease:r.easeIn}},exit:{transform:"scale(0.95)",opacity:0,transition:{duration:.2,ease:r.easeOut}}},scaleInOut:{enter:{transform:"scale(1)",opacity:1,transition:{duration:.4,ease:r.ease}},exit:{transform:"scale(1.03)",opacity:0,transition:{duration:.3,ease:r.ease}}},fade:{enter:{opacity:1,transition:{duration:.4,ease:r.ease}},exit:{opacity:0,transition:{duration:.3,ease:r.ease}}},collapse:{enter:{opacity:1,height:"auto",transition:{height:{type:"spring",bounce:0,duration:.3},opacity:{easings:"ease",duration:.4}}},exit:{opacity:0,height:0,transition:{easings:"ease",duration:.3}}}}},3563:function(e,t,n){"use strict";n.d(t,{z:function(){return l}});var r=new Set(["id","type","style","title","role","tabIndex","htmlFor","width","height","abbr","accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","challenge","charset","checked","cite","class","className","cols","colSpan","command","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","dropzone","encType","enterKeyHint","for","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","hidden","high","href","hrefLang","httpEquiv","icon","inputMode","isMap","itemId","itemProp","itemRef","itemScope","itemType","kind","label","lang","list","loop","manifest","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","open","optimum","pattern","ping","placeholder","poster","preload","radioGroup","referrerPolicy","readOnly","rel","required","rows","rowSpan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","slot","sortable","span","spellCheck","src","srcDoc","srcSet","start","step","target","translate","typeMustMatch","useMap","value","wmode","wrap"]),i=new Set(["onCopy","onCut","onPaste","onLoad","onError","onWheel","onScroll","onCompositionEnd","onCompositionStart","onCompositionUpdate","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onSubmit","onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onPointerDown","onPointerEnter","onPointerLeave","onPointerUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd"]),o=/^(data-.*)$/,s=/^(aria-.*)$/,a=/^(on[A-Z].*)$/;function l(e,t={}){let{labelable:n=!0,enabled:l=!0,propNames:u,omitPropNames:c,omitEventNames:d,omitDataProps:f,omitEventProps:p}=t,h={};if(!l)return e;for(let t in e)!((null==c?void 0:c.has(t))||(null==d?void 0:d.has(t))&&a.test(t)||a.test(t)&&!i.has(t)||f&&o.test(t)||p&&a.test(t))&&(Object.prototype.hasOwnProperty.call(e,t)&&(r.has(t)||n&&s.test(t)||(null==u?void 0:u.has(t))||o.test(t))||a.test(t))&&(h[t]=e[t]);return h}},6265:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var r=n(4177);function i(e={}){let{strict:t=!0,errorMessage:n="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:i}=e,o=r.createContext(void 0);return o.displayName=i,[o.Provider,function e(){var i;let s=r.useContext(o);if(!s&&t){let t=Error(n);throw t.name="ContextError",null==(i=Error.captureStackTrace)||i.call(Error,t,e),t}return s},o]}},9475:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(5677);function i(...e){return t=>{e.forEach(e=>(function(e,t){if(null!=e){if((0,r.mf)(e)){e(t);return}try{e.current=t}catch(n){throw Error(`Cannot assign value '${t}' to ref '${e}'`)}}})(e,t))}}},4341:function(e,t,n){"use strict";n.d(t,{fg:function(){return i},gy:function(){return o}});var r=n(4177);function i(e){return{UNSAFE_getDOMNode:()=>e.current}}function o(e){let t=(0,r.useRef)(null);return(0,r.useImperativeHandle)(e,()=>t.current),t}"undefined"!=typeof window&&window.document&&window.document.createElement},1114:function(e,t,n){"use strict";n.d(t,{i:function(){return o}});var r=n(5667),i=n(4177);function o(e={}){let[t,n]=(0,i.useState)([]);return{ripples:t,onClick:(0,i.useCallback)(e=>{let t=e.currentTarget,i=Math.max(t.clientWidth,t.clientHeight),o=t.getBoundingClientRect();n(t=>[...t,{key:(0,r.QI)(t.length.toString()),size:i,x:e.clientX-o.left-i/2,y:e.clientY-o.top-i/2}])},[]),onClear:(0,i.useCallback)(e=>{n(t=>t.filter(t=>t.key!==e))},[]),...e}}},545:function(e,t,n){"use strict";n.d(t,{L:function(){return u}});var r=n(3393),i=n(9841),o=n(8971),s=n(1757),a=n(4746),l=e=>{let{ripples:t=[],motionProps:n,color:l="currentColor",style:u,onClear:c}=e;return(0,a.jsx)(a.Fragment,{children:t.map(e=>{let t=Math.min(Math.max(.01*e.size,.2),e.size>100?.75:.5);return(0,a.jsx)(r.X,{features:i.H,children:(0,a.jsx)(o.M,{mode:"popLayout",children:(0,a.jsx)(s.m.span,{animate:{transform:"scale(2)",opacity:0},className:"nextui-ripple",exit:{opacity:0},initial:{transform:"scale(0)",opacity:.35},style:{position:"absolute",backgroundColor:l,borderRadius:"100%",transformOrigin:"center",pointerEvents:"none",overflow:"hidden",inset:0,zIndex:0,top:e.y,left:e.x,width:`${e.size}px`,height:`${e.size}px`,...u},transition:{duration:t},onAnimationComplete:()=>{c(e.key)},...n})})},e.key)})})};l.displayName="NextUI.Ripple";var u=l},2189:function(e,t,n){"use strict";function r(...e){for(var t,n,i=0,o="";ie?"true":void 0},3038:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(4675),i={};function o(e,t,...n){var s;let a=t?` [${t}]`:" ",l=`[Next UI]${a}: ${e}`;if("undefined"!=typeof console&&!i[l]&&(i[l]=!0,(null==(s=null==r?void 0:r.env)?void 0:s.NODE_ENV)!=="production"))return console.warn(l,n)}},5667:function(e,t,n){"use strict";n.d(t,{Os:function(){return o},QI:function(){return i},Xx:function(){return s},kC:function(){return r}});var r=e=>e.charAt(0).toUpperCase()+e.slice(1);function i(e){return`${e}-${Math.floor(1e6*Math.random())}`}function o(e){for(let t in e)t.startsWith("on")&&delete e[t];return e}function s(e){if(!e||"object"!=typeof e)return"";try{return JSON.stringify(e)}catch(e){return""}}},6388:function(e,t,n){"use strict";n.d(t,{q:function(){return p}});var r={px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},i=n(3917),o=(0,n(203).tv)({base:"w-px h-px inline-block",variants:{isInline:{true:"inline-block",false:"block"}},defaultVariants:{isInline:!1}}),s=n(5667),a=n(5677),l=n(2189),u=n(4177),c=e=>{var t;return null!=(t=r[e])?t:e},d=n(4746),f=(0,i.Gp)((e,t)=>{let{Component:n,getSpacerProps:r}=function(e){let[t,n]=(0,i.oe)(e,o.variantKeys),{as:r,className:d,x:f=1,y:p=1,...h}=t,m=(0,u.useMemo)(()=>o({...n,className:d}),[(0,s.Xx)(n),d]),g=c(f),v=c(p);return{Component:r||"span",getSpacerProps:(e={})=>({...e,...h,"aria-hidden":(0,a.PB)(!0),className:(0,l.W)(m,e.className),style:{...e.style,...h.style,marginLeft:g,marginTop:v}})}}({...e});return(0,d.jsx)(n,{ref:t,...r()})});f.displayName="NextUI.Spacer";var p=f},7954:function(e,t,n){"use strict";n.d(t,{c:function(){return c}});var r=n(3917),i=(0,n(203).tv)({slots:{base:"relative inline-flex flex-col gap-2 items-center justify-center",wrapper:"relative flex",circle1:["absolute","w-full","h-full","rounded-full","animate-spinner-ease-spin","border-2","border-solid","border-t-transparent","border-l-transparent","border-r-transparent"],circle2:["absolute","w-full","h-full","rounded-full","opacity-75","animate-spinner-linear-spin","border-2","border-dotted","border-t-transparent","border-l-transparent","border-r-transparent"],label:"text-foreground dark:text-foreground-dark font-regular"},variants:{size:{sm:{wrapper:"w-5 h-5",circle1:"border-2",circle2:"border-2",label:"text-small"},md:{wrapper:"w-8 h-8",circle1:"border-3",circle2:"border-3",label:"text-medium"},lg:{wrapper:"w-10 h-10",circle1:"border-3",circle2:"border-3",label:"text-large"}},color:{current:{circle1:"border-b-current",circle2:"border-b-current"},white:{circle1:"border-b-white",circle2:"border-b-white"},default:{circle1:"border-b-default",circle2:"border-b-default"},primary:{circle1:"border-b-primary",circle2:"border-b-primary"},secondary:{circle1:"border-b-secondary",circle2:"border-b-secondary"},success:{circle1:"border-b-success",circle2:"border-b-success"},warning:{circle1:"border-b-warning",circle2:"border-b-warning"},danger:{circle1:"border-b-danger",circle2:"border-b-danger"}},labelColor:{foreground:{label:"text-foreground"},primary:{label:"text-primary"},secondary:{label:"text-secondary"},success:{label:"text-success"},warning:{label:"text-warning"},danger:{label:"text-danger"}}},defaultVariants:{size:"md",color:"primary",labelColor:"foreground"}}),o=n(5667),s=n(2189),a=n(4177),l=n(4746),u=(0,r.Gp)((e,t)=>{let{slots:n,classNames:u,label:c,getSpinnerProps:d}=function(e){let[t,n]=(0,r.oe)(e,i.variantKeys),{children:l,className:u,classNames:c,label:d,...f}=t,p=(0,a.useMemo)(()=>i({...n}),[(0,o.Xx)(n)]),h=(0,s.W)(null==c?void 0:c.base,u),m=d||l,g=(0,a.useMemo)(()=>m&&"string"==typeof m?m:f["aria-label"]?"":"Loading",[l,m,f["aria-label"]]),v=(0,a.useCallback)(()=>({"aria-label":g,className:p.base({class:h}),...f}),[g,p,h,f]);return{label:m,slots:p,classNames:c,getSpinnerProps:v}}({...e});return(0,l.jsxs)("div",{ref:t,...d(),children:[(0,l.jsxs)("div",{className:n.wrapper({class:null==u?void 0:u.wrapper}),children:[(0,l.jsx)("i",{className:n.circle1({class:null==u?void 0:u.circle1})}),(0,l.jsx)("i",{className:n.circle2({class:null==u?void 0:u.circle2})})]}),c&&(0,l.jsx)("span",{className:n.label({class:null==u?void 0:u.label}),children:c})]})});u.displayName="NextUI.Spinner";var c=u},3917:function(e,t,n){"use strict";n.d(t,{Gp:function(){return i},oe:function(){return o}});var r=n(4177);function i(e){return(0,r.forwardRef)(e)}var o=(e,t,n=!0)=>{if(!t)return[e,{}];let r=t.reduce((t,n)=>n in e?{...t,[n]:e[n]}:t,{});return n?[Object.keys(e).filter(e=>!t.includes(e)).reduce((t,n)=>({...t,[n]:e[n]}),{}),r]:[e,r]}},4479:function(e,t,n){"use strict";n.d(t,{a:function(){return r},w:function(){return i}});var[r,i]=(0,n(6265).k)({name:"ProviderContext",strict:!1})},2954:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});var r={solid:{default:"bg-default text-default-foreground",primary:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",success:"bg-success text-success-foreground",warning:"bg-warning text-warning-foreground",danger:"bg-danger text-danger-foreground",foreground:"bg-foreground text-background"},shadow:{default:"shadow-lg shadow-default/50 bg-default text-default-foreground",primary:"shadow-lg shadow-primary/40 bg-primary text-primary-foreground",secondary:"shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",success:"shadow-lg shadow-success/40 bg-success text-success-foreground",warning:"shadow-lg shadow-warning/40 bg-warning text-warning-foreground",danger:"shadow-lg shadow-danger/40 bg-danger text-danger-foreground",foreground:"shadow-lg shadow-foreground/40 bg-foreground text-background"},bordered:{default:"bg-transparent border-default text-foreground",primary:"bg-transparent border-primary text-primary",secondary:"bg-transparent border-secondary text-secondary",success:"bg-transparent border-success text-success",warning:"bg-transparent border-warning text-warning",danger:"bg-transparent border-danger text-danger",foreground:"bg-transparent border-foreground text-foreground"},flat:{default:"bg-default/40 text-default-700",primary:"bg-primary/20 text-primary-700",secondary:"bg-secondary/20 text-secondary-700",success:"bg-success/20 text-success-800 dark:text-success",warning:"bg-warning/20 text-warning-800 dark:text-warning",danger:"bg-danger/20 text-danger-800 dark:text-danger-500",foreground:"bg-foreground/10 text-foreground"},faded:{default:"border-default bg-default-100 text-default-foreground",primary:"border-default bg-default-100 text-primary",secondary:"border-default bg-default-100 text-secondary",success:"border-default bg-default-100 text-success",warning:"border-default bg-default-100 text-warning",danger:"border-default bg-default-100 text-danger",foreground:"border-default bg-default-100 text-foreground"},light:{default:"bg-transparent text-default-foreground",primary:"bg-transparent text-primary",secondary:"bg-transparent text-secondary",success:"bg-transparent text-success",warning:"bg-transparent text-warning",danger:"bg-transparent text-danger",foreground:"bg-transparent text-foreground"},ghost:{default:"border-default text-default-foreground",primary:"border-primary text-primary",secondary:"border-secondary text-secondary",success:"border-success text-success",warning:"border-warning text-warning",danger:"border-danger text-danger",foreground:"border-foreground text-foreground hover:!bg-foreground"}}},203:function(e,t,n){"use strict";n.d(t,{tv:function(){return en}});var r=["small","medium","large"],i={theme:{opacity:["disabled"],spacing:["divider"],borderWidth:r,borderRadius:r},classGroups:{shadow:[{shadow:r}],"font-size":[{text:["tiny",...r]}],"bg-image":["bg-stripe-gradient"]}},o=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,s=e=>!e||"object"!=typeof e||0===Object.keys(e).length,a=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function l(e){let t=[];return function e(t,n){t.forEach(function(t){Array.isArray(t)?e(t,n):n.push(t)})}(e,t),t}var u=(...e)=>l(e).filter(Boolean),c=(e,t)=>{let n={},r=Object.keys(e),i=Object.keys(t);for(let o of r)if(i.includes(o)){let r=e[o],i=t[o];"object"==typeof r&&"object"==typeof i?n[o]=c(r,i):Array.isArray(r)||Array.isArray(i)?n[o]=u(i,r):n[o]=i+" "+r}else n[o]=e[o];for(let e of i)r.includes(e)||(n[e]=t[e]);return n},d=e=>e&&"string"==typeof e?e.replace(/\s+/g," ").trim():e,f=/^\[(.+)\]$/;function p(e,t){var n=e;return t.split("-").forEach(function(e){n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n}var h=/\s+/;function m(){for(var e,t,n=0,r="";ne&&(t=0,r=n,n=new Map)}return{get:function(e){var t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(i(e,t),t):void 0},set:function(e,t){n.has(e)?n.set(e,t):i(e,t)}}}(e.cacheSize),splitModifiers:(n=1===(t=e.separator||":").length,r=t[0],i=t.length,function(e){for(var o,s=[],a=0,l=0,u=0;ul?o-l:void 0}}),...(l=e.theme,u=e.prefix,c={nextPart:new Map,validators:[]},(d=Object.entries(e.classGroups),u?d.map(function(e){return[e[0],e[1].map(function(e){return"string"==typeof e?u+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(function(e){return[u+e[0],e[1]]})):e})]}):d).forEach(function(e){var t=e[0];(function e(t,n,r,i){t.forEach(function(t){if("string"==typeof t){(""===t?n:p(n,t)).classGroupId=r;return}if("function"==typeof t){if(t.isThemeGetter){e(t(i),n,r,i);return}n.validators.push({validator:t,classGroupId:r});return}Object.entries(t).forEach(function(t){var o=t[0];e(t[1],p(n,o),r,i)})})})(e[1],c,t,l)}),o=e.conflictingClassGroups,a=void 0===(s=e.conflictingClassGroupModifiers)?{}:s,{getClassGroupId:function(e){var t=e.split("-");return""===t[0]&&1!==t.length&&t.shift(),function e(t,n){if(0===t.length)return n.classGroupId;var r=t[0],i=n.nextPart.get(r),o=i?e(t.slice(1),i):void 0;if(o)return o;if(0!==n.validators.length){var s=t.join("-");return n.validators.find(function(e){return(0,e.validator)(s)})?.classGroupId}}(t,c)||function(e){if(f.test(e)){var t=f.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}(e)},getConflictingClassGroupIds:function(e,t){var n=o[e]||[];return t&&a[e]?[].concat(n,a[e]):n}})}}(i.slice(1).reduce(function(e,t){return t(e)},o()))).cache.get,n=e.cache.set,s=a,a(r)};function a(r){var i,o,s,a,l,u=t(r);if(u)return u;var c=(o=(i=e).splitModifiers,s=i.getClassGroupId,a=i.getConflictingClassGroupIds,l=new Set,r.trim().split(h).map(function(e){var t=o(e),n=t.modifiers,r=t.hasImportantModifier,i=t.baseClassName,a=t.maybePostfixModifierPosition,l=s(a?i.substring(0,a):i),u=!!a;if(!l){if(!a||!(l=s(i)))return{isTailwindClass:!1,originalClassName:e};u=!1}var c=(function(e){if(e.length<=1)return e;var t=[],n=[];return e.forEach(function(e){"["===e[0]?(t.push.apply(t,n.sort().concat([e])),n=[]):n.push(e)}),t.push.apply(t,n.sort()),t})(n).join(":");return{isTailwindClass:!0,modifierId:r?c+"!":c,classGroupId:l,originalClassName:e,hasPostfixModifier:u}}).reverse().filter(function(e){if(!e.isTailwindClass)return!0;var t=e.modifierId,n=e.classGroupId,r=e.hasPostfixModifier,i=t+n;return!l.has(i)&&(l.add(i),a(n,r).forEach(function(e){return l.add(t+e)}),!0)}).reverse().map(function(e){return e.originalClassName}).join(" "));return n(r,c),c}return function(){return s(m.apply(null,arguments))}}function v(e){var t=function(t){return t[e]||[]};return t.isThemeGetter=!0,t}var y=/^\[(?:([a-z-]+):)?(.+)\]$/i,b=/^\d+\/\d+$/,w=new Set(["px","full","screen"]),_=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,x=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,E=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function C(e){return L(e)||w.has(e)||b.test(e)||S(e)}function S(e){return I(e,"length",F)}function T(e){return I(e,"size",D)}function P(e){return I(e,"position",D)}function k(e){return I(e,"url",V)}function M(e){return I(e,"number",L)}function L(e){return!Number.isNaN(Number(e))}function $(e){return e.endsWith("%")&&L(e.slice(0,-1))}function A(e){return z(e)||I(e,"number",z)}function O(e){return y.test(e)}function R(){return!0}function N(e){return _.test(e)}function j(e){return I(e,"",H)}function I(e,t,n){var r=y.exec(e);return!!r&&(r[1]?r[1]===t:n(r[2]))}function F(e){return x.test(e)}function D(){return!1}function V(e){return e.startsWith("url(")}function z(e){return Number.isInteger(Number(e))}function H(e){return E.test(e)}function K(){var e=v("colors"),t=v("spacing"),n=v("blur"),r=v("brightness"),i=v("borderColor"),o=v("borderRadius"),s=v("borderSpacing"),a=v("borderWidth"),l=v("contrast"),u=v("grayscale"),c=v("hueRotate"),d=v("invert"),f=v("gap"),p=v("gradientColorStops"),h=v("gradientColorStopPositions"),m=v("inset"),g=v("margin"),y=v("opacity"),b=v("padding"),w=v("saturate"),_=v("scale"),x=v("sepia"),E=v("skew"),I=v("space"),F=v("translate"),D=function(){return["auto","contain","none"]},V=function(){return["auto","hidden","clip","visible","scroll"]},z=function(){return["auto",O,t]},H=function(){return[O,t]},K=function(){return["",C]},W=function(){return["auto",L,O]},B=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},U=function(){return["solid","dashed","dotted","double","none"]},J=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},G=function(){return["start","end","center","between","around","evenly","stretch"]},Y=function(){return["","0",O]},Z=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},X=function(){return[L,M]},q=function(){return[L,O]};return{cacheSize:500,theme:{colors:[R],spacing:[C],blur:["none","",N,O],brightness:X(),borderColor:[e],borderRadius:["none","","full",N,O],borderSpacing:H(),borderWidth:K(),contrast:X(),grayscale:Y(),hueRotate:q(),invert:Y(),gap:H(),gradientColorStops:[e],gradientColorStopPositions:[$,S],inset:z(),margin:z(),opacity:X(),padding:H(),saturate:X(),scale:X(),sepia:Y(),skew:q(),space:H(),translate:H()},classGroups:{aspect:[{aspect:["auto","square","video",O]}],container:["container"],columns:[{columns:[N]}],"break-after":[{"break-after":Z()}],"break-before":[{"break-before":Z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(B(),[O])}],overflow:[{overflow:V()}],"overflow-x":[{"overflow-x":V()}],"overflow-y":[{"overflow-y":V()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",A]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",O]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",A]}],"grid-cols":[{"grid-cols":[R]}],"col-start-end":[{col:["auto",{span:["full",A]},O]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[R]}],"row-start-end":[{row:["auto",{span:[A]},O]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",O]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",O]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal"].concat(G())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(G(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(G(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[I]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[I]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",O,t]}],"min-w":[{"min-w":["min","max","fit",O,C]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[N]},N,O]}],h:[{h:[O,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",O,C]}],"max-h":[{"max-h":[O,t,"min","max","fit"]}],"font-size":[{text:["base",N,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",M]}],"font-family":[{font:[R]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",O]}],"line-clamp":[{"line-clamp":["none",L,M]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",O,C]}],"list-image":[{"list-image":["none",O]}],"list-style-type":[{list:["none","disc","decimal",O]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(U(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",C]}],"underline-offset":[{"underline-offset":["auto",O,C]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:H()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",O]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",O]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(B(),[P])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",T]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},k]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[].concat(U(),["hidden"])}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:U()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:[""].concat(U())}],"outline-offset":[{"outline-offset":[O,C]}],"outline-w":[{outline:[C]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[C]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",N,j]}],"shadow-color":[{shadow:[R]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":J()}],"bg-blend":[{"bg-blend":J()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",N,O]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[w]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",O]}],duration:[{duration:q()}],ease:[{ease:["linear","in","out","in-out",O]}],delay:[{delay:q()}],animate:[{animate:["none","spin","ping","pulse","bounce",O]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[_]}],"scale-x":[{"scale-x":[_]}],"scale-y":[{"scale-y":[_]}],rotate:[{rotate:[A,O]}],"translate-x":[{"translate-x":[F]}],"translate-y":[{"translate-y":[F]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",O]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",O]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":H()}],"scroll-mx":[{"scroll-mx":H()}],"scroll-my":[{"scroll-my":H()}],"scroll-ms":[{"scroll-ms":H()}],"scroll-me":[{"scroll-me":H()}],"scroll-mt":[{"scroll-mt":H()}],"scroll-mr":[{"scroll-mr":H()}],"scroll-mb":[{"scroll-mb":H()}],"scroll-ml":[{"scroll-ml":H()}],"scroll-p":[{"scroll-p":H()}],"scroll-px":[{"scroll-px":H()}],"scroll-py":[{"scroll-py":H()}],"scroll-ps":[{"scroll-ps":H()}],"scroll-pe":[{"scroll-pe":H()}],"scroll-pt":[{"scroll-pt":H()}],"scroll-pr":[{"scroll-pr":H()}],"scroll-pb":[{"scroll-pb":H()}],"scroll-pl":[{"scroll-pl":H()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",O]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[C,M]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var W=g(K),B=Object.prototype.hasOwnProperty,U=new Set(["string","number","boolean"]),J={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},G=e=>e||void 0,Y=(...e)=>G(l(e).filter(Boolean).join(" ")),Z=null,X={},q=!1,Q=(...e)=>t=>t.twMerge?((!Z||q)&&(q=!1,Z=s(X)?W:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r{for(let n in t)e.hasOwnProperty(n)?e[n]=Y(e[n],t[n]):e[n]=t[n];return e},et=(e,t)=>{let{extend:n=null,slots:r={},variants:i={},compoundVariants:l=[],compoundSlots:f=[],defaultVariants:p={}}=e,h={...J,...t},m=null!=n&&n.base?Y(n.base,null==e?void 0:e.base):null==e?void 0:e.base,g=null!=n&&n.variants&&!s(n.variants)?c(i,n.variants):i,v=null!=n&&n.defaultVariants&&!s(n.defaultVariants)?{...n.defaultVariants,...p}:p;s(h.twMergeConfig)||a(h.twMergeConfig,X)||(q=!0,X=h.twMergeConfig);let y=s(null==n?void 0:n.slots),b=s(r)?{}:{base:Y(null==e?void 0:e.base,y&&(null==n?void 0:n.base)),...r},w=y?b:ee({...null==n?void 0:n.slots},s(b)?{base:null==e?void 0:e.base}:b),_=e=>{if(s(g)&&s(r)&&y)return Q(m,null==e?void 0:e.class,null==e?void 0:e.className)(h);if(l&&!Array.isArray(l))throw TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof l}`);if(f&&!Array.isArray(f))throw TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof f}`);let t=(e,t,n=[],r)=>{let i=n;if("string"==typeof t)i=i.concat(d(t).split(" ").map(t=>`${e}:${t}`));else if(Array.isArray(t))i=i.concat(t.reduce((t,n)=>t.concat(`${e}:${n}`),[]));else if("object"==typeof t&&"string"==typeof r){for(let n in t)if(t.hasOwnProperty(n)&&n===r){let o=t[n];if(o&&"string"==typeof o){let t=d(o);i[r]?i[r]=i[r].concat(t.split(" ").map(t=>`${e}:${t}`)):i[r]=t.split(" ").map(t=>`${e}:${t}`)}else Array.isArray(o)&&o.length>0&&(i[r]=o.reduce((t,n)=>t.concat(`${e}:${n}`),[]))}}return i},i=(n,r=g,i=null,a=null)=>{var l;let u=r[n];if(!u||s(u))return null;let c=null!=(l=null==a?void 0:a[n])?l:null==e?void 0:e[n];if(null===c)return null;let d=o(c),f=Array.isArray(h.responsiveVariants)&&h.responsiveVariants.length>0||!0===h.responsiveVariants,p=null==v?void 0:v[n],m=[];if("object"==typeof d&&f)for(let[e,n]of Object.entries(d)){let r=u[n];if("initial"===e){p=n;continue}Array.isArray(h.responsiveVariants)&&!h.responsiveVariants.includes(e)||(m=t(e,r,m,i))}let y=u[d]||u[o(p)];return"object"==typeof m&&"string"==typeof i&&m[i]?ee(m,y):m.length>0?(m.push(y),m):y},a=(e,t)=>{if(!g||"object"!=typeof g)return null;let n=[];for(let r in g){let o=i(r,g,e,t),s="base"===e&&"string"==typeof o?o:o&&o[e];s&&(n[n.length]=s)}return n},c={};for(let t in e)void 0!==e[t]&&(c[t]=e[t]);let p=(t,n)=>{var r;let i="object"==typeof(null==e?void 0:e[t])?{[t]:null==(r=e[t])?void 0:r.initial}:{};return{...v,...c,...i,...n}},b=(e=[],t)=>{let n=[];for(let{class:r,className:i,...o}of e){let e=!0;for(let[n,r]of Object.entries(o)){let i=p(n,t);if(Array.isArray(r)){if(!r.includes(i[n])){e=!1;break}}else if(i[n]!==r){e=!1;break}}e&&(r&&n.push(r),i&&n.push(i))}return n},_=e=>{let t=b(l,e);return u(b(null==n?void 0:n.compoundVariants,e),t)},x=e=>{let t=_(e);if(!Array.isArray(t))return t;let n={};for(let e of t)if("string"==typeof e&&(n.base=Q(n.base,e)(h)),"object"==typeof e)for(let[t,r]of Object.entries(e))n[t]=Q(n[t],r)(h);return n},E=e=>{if(f.length<1)return null;let t={};for(let{slots:n=[],class:r,className:i,...o}of f){if(!s(o)){let t=!0;for(let n of Object.keys(o)){let r=p(n,e)[n];if(void 0===r||(Array.isArray(o[n])?!o[n].includes(r):o[n]!==r)){t=!1;break}}if(!t)continue}for(let e of n)t[e]=t[e]||[],t[e].push([r,i])}return t};if(!s(r)||!y){let e={};if("object"==typeof w&&!s(w))for(let t of Object.keys(w))e[t]=e=>{var n,r;return Q(w[t],a(t,e),(null!=(n=x(e))?n:[])[t],(null!=(r=E(e))?r:[])[t],null==e?void 0:e.class,null==e?void 0:e.className)(h)};return e}return Q(m,g?Object.keys(g).map(e=>i(e,g)):null,_(),null==e?void 0:e.class,null==e?void 0:e.className)(h)};return _.variantKeys=(()=>{if(!(!g||"object"!=typeof g))return Object.keys(g)})(),_.extend=n,_.base=m,_.slots=w,_.variants=g,_.defaultVariants=v,_.compoundSlots=f,_.compoundVariants=l,_},en=(e,t)=>{var n,r,o;return et(e,{...t,twMerge:null==(n=null==t?void 0:t.twMerge)||n,twMergeConfig:{...null==t?void 0:t.twMergeConfig,theme:{...null==(r=null==t?void 0:t.twMergeConfig)?void 0:r.theme,...i.theme},classGroups:{...null==(o=null==t?void 0:t.twMergeConfig)?void 0:o.classGroups,...i.classGroups}}})}},4136:function(e,t,n){"use strict";n.d(t,{Dh:function(){return r},ID:function(){return i},Zs:function(){return s},jR:function(){return o}});var r=["outline-none","data-[focus-visible=true]:z-10","data-[focus-visible=true]:outline-2","data-[focus-visible=true]:outline-focus","data-[focus-visible=true]:outline-offset-2"],i=["outline-none","group-data-[focus-visible=true]:z-10","group-data-[focus-visible=true]:ring-2","group-data-[focus-visible=true]:ring-focus","group-data-[focus-visible=true]:ring-offset-2","group-data-[focus-visible=true]:ring-offset-background"],o=["outline-none","ring-2","ring-focus","ring-offset-2","ring-offset-background"],s={default:["[&+.border-medium.border-default]:ms-[calc(theme(borderWidth.medium)*-1)]"],primary:["[&+.border-medium.border-primary]:ms-[calc(theme(borderWidth.medium)*-1)]"],secondary:["[&+.border-medium.border-secondary]:ms-[calc(theme(borderWidth.medium)*-1)]"],success:["[&+.border-medium.border-success]:ms-[calc(theme(borderWidth.medium)*-1)]"],warning:["[&+.border-medium.border-warning]:ms-[calc(theme(borderWidth.medium)*-1)]"],danger:["[&+.border-medium.border-danger]:ms-[calc(theme(borderWidth.medium)*-1)]"]}},6492:function(e,t,n){"use strict";n.d(t,{v:function(){return s}});var r=n(2954),i=n(203),o=n(4136),s=(0,i.tv)({slots:{base:["z-0","relative","bg-transparent","before:content-['']","before:hidden","before:z-[-1]","before:absolute","before:rotate-45","before:w-2.5","before:h-2.5","before:rounded-sm","data-[arrow=true]:before:block","data-[placement=top]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top]:before:left-1/2","data-[placement=top]:before:-translate-x-1/2","data-[placement=top-start]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top-start]:before:left-3","data-[placement=top-end]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top-end]:before:right-3","data-[placement=bottom]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom]:before:left-1/2","data-[placement=bottom]:before:-translate-x-1/2","data-[placement=bottom-start]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom-start]:before:left-3","data-[placement=bottom-end]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom-end]:before:right-3","data-[placement=left]:before:-right-[calc(theme(spacing.5)/4_-_2px)]","data-[placement=left]:before:top-1/2","data-[placement=left]:before:-translate-y-1/2","data-[placement=left-start]:before:-right-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=left-start]:before:top-1/4","data-[placement=left-end]:before:-right-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=left-end]:before:bottom-1/4","data-[placement=right]:before:-left-[calc(theme(spacing.5)/4_-_2px)]","data-[placement=right]:before:top-1/2","data-[placement=right]:before:-translate-y-1/2","data-[placement=right-start]:before:-left-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=right-start]:before:top-1/4","data-[placement=right-end]:before:-left-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=right-end]:before:bottom-1/4",...o.Dh],content:["z-10","px-2.5","py-1","w-full","inline-flex","flex-col","items-center","justify-center","box-border","subpixel-antialiased","outline-none","box-border"],trigger:["z-10"],backdrop:["hidden"],arrow:[]},variants:{size:{sm:{content:"text-tiny"},md:{content:"text-small"},lg:{content:"text-medium"}},color:{default:{base:"before:bg-content1 before:shadow-small",content:"bg-content1"},foreground:{base:"before:bg-foreground",content:r.J.solid.foreground},primary:{base:"before:bg-primary",content:r.J.solid.primary},secondary:{base:"before:bg-secondary",content:r.J.solid.secondary},success:{base:"before:bg-success",content:r.J.solid.success},warning:{base:"before:bg-warning",content:r.J.solid.warning},danger:{base:"before:bg-danger",content:r.J.solid.danger}},radius:{none:{content:"rounded-none"},sm:{content:"rounded-small"},md:{content:"rounded-medium"},lg:{content:"rounded-large"},full:{content:"rounded-full"}},shadow:{sm:{content:"shadow-small"},md:{content:"shadow-medium"},lg:{content:"shadow-large"}},backdrop:{transparent:{},opaque:{backdrop:"bg-overlay/50 backdrop-opacity-disabled"},blur:{backdrop:"backdrop-blur-sm backdrop-saturate-150 bg-overlay/30"}},triggerScaleOnOpen:{true:{trigger:["aria-expanded:scale-[0.97]","aria-expanded:opacity-70","subpixel-antialiased"]},false:{}},disableAnimation:{true:{base:"animate-none"}},isTriggerDisabled:{true:{trigger:"opacity-disabled pointer-events-none"},false:{}}},defaultVariants:{color:"default",radius:"lg",size:"md",shadow:"md",backdrop:"transparent",triggerScaleOnOpen:!0},compoundVariants:[{backdrop:["opaque","blur"],class:{backdrop:"block w-full h-full fixed inset-0 -z-30"}}]})},3290:function(e,t,n){"use strict";n.d(t,{D:function(){return a},L:function(){return s}});var r=n(2954),i=n(203),o=n(4136),s=(0,i.tv)({base:["z-0","group","relative","inline-flex","items-center","justify-center","box-border","appearance-none","outline-none","select-none","whitespace-nowrap","min-w-max","font-normal","subpixel-antialiased","overflow-hidden","tap-highlight-transparent","data-[pressed=true]:scale-[0.97]",...o.Dh],variants:{variant:{solid:"",bordered:"border-medium bg-transparent",light:"bg-transparent",flat:"",faded:"border-medium",shadow:"",ghost:"border-medium bg-transparent"},size:{sm:"px-3 min-w-16 h-8 text-tiny gap-2 rounded-small",md:"px-4 min-w-20 h-10 text-small gap-2 rounded-medium",lg:"px-6 min-w-24 h-12 text-medium gap-3 rounded-large"},color:{default:"",primary:"",secondary:"",success:"",warning:"",danger:""},radius:{none:"rounded-none",sm:"rounded-small",md:"rounded-medium",lg:"rounded-large",full:"rounded-full"},fullWidth:{true:"w-full"},isDisabled:{true:"opacity-disabled pointer-events-none"},isInGroup:{true:"[&:not(:first-child):not(:last-child)]:rounded-none"},isIconOnly:{true:"px-0 !gap-0",false:"[&>svg]:max-w-[theme(spacing.8)]"},disableAnimation:{true:"!transition-none data-[pressed=true]:scale-100",false:"transition-transform-colors-opacity motion-reduce:transition-none"}},defaultVariants:{size:"md",variant:"solid",color:"default",fullWidth:!1,isDisabled:!1,isInGroup:!1},compoundVariants:[{variant:"solid",color:"default",class:r.J.solid.default},{variant:"solid",color:"primary",class:r.J.solid.primary},{variant:"solid",color:"secondary",class:r.J.solid.secondary},{variant:"solid",color:"success",class:r.J.solid.success},{variant:"solid",color:"warning",class:r.J.solid.warning},{variant:"solid",color:"danger",class:r.J.solid.danger},{variant:"shadow",color:"default",class:r.J.shadow.default},{variant:"shadow",color:"primary",class:r.J.shadow.primary},{variant:"shadow",color:"secondary",class:r.J.shadow.secondary},{variant:"shadow",color:"success",class:r.J.shadow.success},{variant:"shadow",color:"warning",class:r.J.shadow.warning},{variant:"shadow",color:"danger",class:r.J.shadow.danger},{variant:"bordered",color:"default",class:r.J.bordered.default},{variant:"bordered",color:"primary",class:r.J.bordered.primary},{variant:"bordered",color:"secondary",class:r.J.bordered.secondary},{variant:"bordered",color:"success",class:r.J.bordered.success},{variant:"bordered",color:"warning",class:r.J.bordered.warning},{variant:"bordered",color:"danger",class:r.J.bordered.danger},{variant:"flat",color:"default",class:r.J.flat.default},{variant:"flat",color:"primary",class:r.J.flat.primary},{variant:"flat",color:"secondary",class:r.J.flat.secondary},{variant:"flat",color:"success",class:r.J.flat.success},{variant:"flat",color:"warning",class:r.J.flat.warning},{variant:"flat",color:"danger",class:r.J.flat.danger},{variant:"faded",color:"default",class:r.J.faded.default},{variant:"faded",color:"primary",class:r.J.faded.primary},{variant:"faded",color:"secondary",class:r.J.faded.secondary},{variant:"faded",color:"success",class:r.J.faded.success},{variant:"faded",color:"warning",class:r.J.faded.warning},{variant:"faded",color:"danger",class:r.J.faded.danger},{variant:"light",color:"default",class:[r.J.light.default,"data-[hover=true]:bg-default/40"]},{variant:"light",color:"primary",class:[r.J.light.primary,"data-[hover=true]:bg-primary/20"]},{variant:"light",color:"secondary",class:[r.J.light.secondary,"data-[hover=true]:bg-secondary/20"]},{variant:"light",color:"success",class:[r.J.light.success,"data-[hover=true]:bg-success/20"]},{variant:"light",color:"warning",class:[r.J.light.warning,"data-[hover=true]:bg-warning/20"]},{variant:"light",color:"danger",class:[r.J.light.danger,"data-[hover=true]:bg-danger/20"]},{variant:"ghost",color:"default",class:[r.J.ghost.default,"data-[hover=true]:!bg-default"]},{variant:"ghost",color:"primary",class:[r.J.ghost.primary,"data-[hover=true]:!bg-primary data-[hover=true]:!text-primary-foreground"]},{variant:"ghost",color:"secondary",class:[r.J.ghost.secondary,"data-[hover=true]:!bg-secondary data-[hover=true]:!text-secondary-foreground"]},{variant:"ghost",color:"success",class:[r.J.ghost.success,"data-[hover=true]:!bg-success data-[hover=true]:!text-success-foreground"]},{variant:"ghost",color:"warning",class:[r.J.ghost.warning,"data-[hover=true]:!bg-warning data-[hover=true]:!text-warning-foreground"]},{variant:"ghost",color:"danger",class:[r.J.ghost.danger,"data-[hover=true]:!bg-danger !text-danger-foreground"]},{isInGroup:!0,class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,size:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,isRounded:!0,class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,radius:"none",class:"rounded-none first:rounded-s-none last:rounded-e-none"},{isInGroup:!0,radius:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,radius:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,radius:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,radius:"full",class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,variant:["ghost","bordered"],color:"default",className:o.Zs.default},{isInGroup:!0,variant:["ghost","bordered"],color:"primary",className:o.Zs.primary},{isInGroup:!0,variant:["ghost","bordered"],color:"secondary",className:o.Zs.secondary},{isInGroup:!0,variant:["ghost","bordered"],color:"success",className:o.Zs.success},{isInGroup:!0,variant:["ghost","bordered"],color:"warning",className:o.Zs.warning},{isInGroup:!0,variant:["ghost","bordered"],color:"danger",className:o.Zs.danger},{isIconOnly:!0,size:"sm",class:"min-w-8 w-8 h-8"},{isIconOnly:!0,size:"md",class:"min-w-10 w-10 h-10"},{isIconOnly:!0,size:"lg",class:"min-w-12 w-12 h-12"},{variant:["solid","faded","flat","bordered","shadow"],class:"data-[hover=true]:opacity-hover"}]}),a=(0,i.tv)({base:"inline-flex items-center justify-center h-auto",variants:{fullWidth:{true:"w-full"}},defaultVariants:{fullWidth:!1}})},154:function(e,t,n){"use strict";n.d(t,{e:function(){return I}});var r=n(4177),i=n(4668);let o={},s=0,a=!1,l=null,u=null;var c=n(1610),d=n(7101),f=n(6150),p=n(9107),h=n(4856),m=n(2904),g=n(2628),v=n(458),y=n(4479),b=n(3917),w=n(6492),_=n(5667),x=n(5677),E=n(2189),C=n(9475),S=n(4341),T=n(5381),P=n(2002),k=n(2774),M=n(3393),L=n(9841),$=n(1757),A=n(8971),O=n(1845),R=n(3038),N=n(4746),j=(0,b.Gp)((e,t)=>{let n;let{Component:j,children:I,content:F,isOpen:D,portalContainer:V,placement:z,disableAnimation:H,motionProps:K,getTriggerProps:W,getTooltipProps:B,getTooltipContentProps:U}=function(e){var t,n;let k=(0,y.w)(),[M,L]=(0,b.oe)(e,w.v.variantKeys),{ref:$,as:A,isOpen:O,content:R,children:N,defaultOpen:j,onOpenChange:I,isDisabled:F,trigger:D,shouldFlip:V=!0,containerPadding:z=12,placement:H="top",delay:K=0,closeDelay:W=500,showArrow:B=!1,offset:U=7,crossOffset:J=0,isDismissable:G,shouldCloseOnBlur:Y=!0,portalContainer:Z,isKeyboardDismissDisabled:X=!1,updatePositionDeps:q=[],shouldCloseOnInteractOutside:Q,className:ee,onClose:et,motionProps:en,classNames:er,...ei}=M,eo=null!=(n=null!=(t=null==e?void 0:e.disableAnimation)?t:null==k?void 0:k.disableAnimation)&&n,es=function(e={}){let{delay:t=1500,closeDelay:n=500}=e,{isOpen:c,open:d,close:f}=(0,i.d)(e),p=(0,r.useMemo)(()=>`${++s}`,[]),h=(0,r.useRef)(),m=()=>{o[p]=y},g=()=>{for(let e in o)e!==p&&(o[e](!0),delete o[e])},v=()=>{clearTimeout(h.current),h.current=null,g(),m(),a=!0,d(),l&&(clearTimeout(l),l=null),u&&(clearTimeout(u),u=null)},y=e=>{e||n<=0?(clearTimeout(h.current),h.current=null,f()):h.current||(h.current=setTimeout(()=>{h.current=null,f()},n)),l&&(clearTimeout(l),l=null),a&&(u&&clearTimeout(u),u=setTimeout(()=>{delete o[p],u=null,a=!1},Math.max(500,n)))},b=()=>{g(),m(),c||l||a?c||v():l=setTimeout(()=>{l=null,a=!0,v()},t)};return(0,r.useEffect)(()=>()=>{clearTimeout(h.current),o[p]&&delete o[p]},[p]),{isOpen:c,open:e=>{e||!(t>0)||h.current?v():b()},close:y}}({delay:K,closeDelay:W,isDisabled:F,defaultOpen:j,isOpen:O,onOpenChange:e=>{null==I||I(e),e||null==et||et()}}),ea=(0,r.useRef)(null),el=(0,r.useRef)(null),eu=(0,r.useId)(),ec=es.isOpen&&!F;(0,r.useImperativeHandle)($,()=>(0,S.fg)(el));let{triggerProps:ed,tooltipProps:ef}=function(e,t,n){let{isDisabled:i,trigger:o}=e,s=(0,p.Me)(),a=(0,r.useRef)(!1),l=(0,r.useRef)(!1),u=()=>{(a.current||l.current)&&t.open(l.current)},m=e=>{a.current||l.current||t.close(e)};(0,r.useEffect)(()=>{let e=e=>{n&&n.current&&"Escape"===e.key&&(e.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener("keydown",e,!0),()=>{document.removeEventListener("keydown",e,!0)}},[n,t]);let g=()=>{l.current=!1,a.current=!1,m(!0)},{hoverProps:v}=(0,f.X)({isDisabled:i,onHoverStart:()=>{"focus"!==o&&("pointer"===(0,d.Jz)()?a.current=!0:a.current=!1,u())},onHoverEnd:()=>{"focus"!==o&&(l.current=!1,a.current=!1,m())}}),{focusableProps:y}=(0,h.k)({isDisabled:i,onFocus:()=>{(0,d.E)()&&(l.current=!0,u())},onBlur:()=>{l.current=!1,a.current=!1,m(!0)}},n);return{triggerProps:{"aria-describedby":t.isOpen?s:void 0,...(0,c.d)(y,v,{onPointerDown:g,onKeyDown:g})},tooltipProps:{id:s}}}({isDisabled:F,trigger:D},es,ea),{tooltipProps:ep}=function(e,t){let n=(0,m.z)(e,{labelable:!0}),{hoverProps:r}=(0,f.X)({onHoverStart:()=>null==t?void 0:t.open(!0),onHoverEnd:()=>null==t?void 0:t.close()});return{tooltipProps:(0,c.d)(n,r,{role:"tooltip"})}}({isOpen:ec,...(0,c.d)(M,ef)},es),{overlayProps:eh,placement:em,updatePosition:eg}=(0,g.t)({isOpen:ec,targetRef:ea,placement:(0,T.Yx)(H),overlayRef:el,offset:B?U+3:U,crossOffset:J,shouldFlip:V,containerPadding:z});(0,P.G)(()=>{q.length&&eg()},q);let{overlayProps:ev}=(0,v.I)({isOpen:ec,onClose:es.close,isDismissable:G,shouldCloseOnBlur:Y,isKeyboardDismissDisabled:X,shouldCloseOnInteractOutside:Q},el),ey=(0,r.useMemo)(()=>{var t,n,r;return(0,w.v)({...L,disableAnimation:eo,radius:null!=(t=null==e?void 0:e.radius)?t:"md",size:null!=(n=null==e?void 0:e.size)?n:"md",shadow:null!=(r=null==e?void 0:e.shadow)?r:"sm"})},[(0,_.Xx)(L),eo,null==e?void 0:e.radius,null==e?void 0:e.size,null==e?void 0:e.shadow]),eb=(0,r.useCallback)((e={},t=null)=>({...(0,c.d)(ed,e),ref:(0,C.l)(t,ea),"aria-describedby":ec?eu:void 0}),[ed,ec,eu,es]),ew=(0,r.useCallback)(()=>({ref:el,"data-slot":"base","data-open":(0,x.PB)(ec),"data-arrow":(0,x.PB)(B),"data-disabled":(0,x.PB)(F),"data-placement":(0,T.sK)(em,H),...(0,c.d)(ep,ev,ei),style:(0,c.d)(eh.style,ei.style,M.style),className:ey.base({class:null==er?void 0:er.base}),id:eu}),[ey,ec,B,F,em,H,ep,ev,ei,eh,M,eu]),e_=(0,r.useCallback)(()=>({"data-slot":"content","data-open":(0,x.PB)(ec),"data-arrow":(0,x.PB)(B),"data-disabled":(0,x.PB)(F),"data-placement":(0,T.sK)(em,H),className:ey.content({class:(0,E.W)(null==er?void 0:er.content,ee)})}),[ey,ec,B,F,em,H,er]);return{Component:A||"div",content:R,children:N,isOpen:ec,triggerRef:ea,showArrow:B,portalContainer:Z,placement:H,disableAnimation:eo,isDisabled:F,motionProps:en,getTooltipContentProps:e_,getTriggerProps:eb,getTooltipProps:ew}}({...e,ref:t});try{let e=r.Children.count(I);if(1!==e)throw Error();n=(0,r.isValidElement)(I)?(0,r.cloneElement)(I,W(I.props,I.ref)):(0,N.jsx)("p",{...W(),children:I})}catch(e){n=(0,N.jsx)("span",{}),(0,R.Z)("Tooltip must have only one child node. Please, check your code.")}let{ref:J,id:G,style:Y,...Z}=B(),X=(0,N.jsx)("div",{ref:J,id:G,style:Y,children:(0,N.jsx)(M.X,{features:L.H,children:(0,N.jsx)($.m.div,{animate:"enter",exit:"exit",initial:"exit",variants:O.y7.scaleSpring,...(0,c.d)(K,Z),style:{...(0,T.VS)(z)},children:(0,N.jsx)(j,{...U(),children:F})})})});return(0,N.jsxs)(N.Fragment,{children:[n,H&&D?(0,N.jsx)(k.Xj,{portalContainer:V,children:(0,N.jsx)("div",{ref:J,id:G,style:Y,...Z,children:(0,N.jsx)(j,{...U(),children:F})})}):(0,N.jsx)(A.M,{children:D?(0,N.jsx)(k.Xj,{portalContainer:V,children:X}):null})]})});j.displayName="NextUI.Tooltip";var I=j},57:function(e,t,n){"use strict";n.d(t,{j:function(){return a}});var r=n(1610),i=n(2904),o=n(4856),s=n(3715);function a(e,t){let n,{elementType:a="button",isDisabled:l,onPress:u,onPressStart:c,onPressEnd:d,onPressChange:f,preventFocusOnPress:p,allowFocusWhenDisabled:h,onClick:m,href:g,target:v,rel:y,type:b="button",allowTextSelectionOnPress:w}=e;n="button"===a?{type:b,disabled:l}:{role:"button",tabIndex:l?void 0:0,href:"a"===a&&l?void 0:g,target:"a"===a?v:void 0,type:"input"===a?b:void 0,disabled:"input"===a?l:void 0,"aria-disabled":l&&"input"!==a?l:void 0,rel:"a"===a?y:void 0};let{pressProps:_,isPressed:x}=(0,s.r)({onPressStart:c,onPressEnd:d,onPressChange:f,onPress:u,isDisabled:l,preventFocusOnPress:p,allowTextSelectionOnPress:w,ref:t}),{focusableProps:E}=(0,o.k)(e,t);h&&(E.tabIndex=l?-1:E.tabIndex);let C=(0,r.d)(E,_,(0,i.z)(e,{labelable:!0}));return{isPressed:x,buttonProps:(0,r.d)(n,C,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:e=>{null==m||m(e)}})}}},2002:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(4177),i=(null==globalThis?void 0:globalThis.document)?r.useLayoutEffect:r.useEffect},2613:function(e,t,n){"use strict";n.d(t,{MT:function(){return u},QL:function(){return _},cW:function(){return v}});var r=n(6034),i=n(6540),o=n(2380),s=n(4177);let a=s.createContext(null),l=null;function u(e){let t,n,{children:r,contain:u,restoreFocus:c,autoFocus:d}=e,f=(0,s.useRef)(null),v=(0,s.useRef)(null),x=(0,s.useRef)([]),{parentNode:S}=(0,s.useContext)(a)||{},T=(0,s.useMemo)(()=>new E({scopeRef:x}),[x]);(0,o.b)(()=>{let e=S||C.root;if(C.getTreeNode(e.scopeRef)&&l&&!y(l,e.scopeRef)){let t=C.getTreeNode(l);t&&(e=t)}e.addChild(T),C.addNode(T)},[T,S]),(0,o.b)(()=>{let e=C.getTreeNode(x);e&&(e.contain=!!u)},[u]),(0,o.b)(()=>{var e;let t=null===(e=f.current)||void 0===e?void 0:e.nextSibling,n=[];for(;t&&t!==v.current;)n.push(t),t=t.nextSibling;x.current=n},[r]),(0,o.b)(()=>{if(c||u)return;let e=x.current,t=(0,i.r)(e?e[0]:void 0),n=e=>{let t=e.target;m(t,x.current)?l=x:g(t)||(l=null)};return t.addEventListener("focusin",n,!1),null==e||e.forEach(e=>e.addEventListener("focusin",n,!1)),()=>{t.removeEventListener("focusin",n,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",n,!1))}},[x,c,u]),t=(0,s.useRef)(),n=(0,s.useRef)(),(0,o.b)(()=>{let e=x.current;if(!u){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}let r=(0,i.r)(e?e[0]:void 0),o=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!h(x)||e.isComposing)return;let t=r.activeElement,n=x.current;if(!n||!m(t,n))return;let i=_(p(n),{tabbable:!0},n);if(!t)return;i.currentNode=t;let o=e.shiftKey?i.previousNode():i.nextNode();o||(i.currentNode=e.shiftKey?n[n.length-1].nextElementSibling:n[0].previousElementSibling,o=e.shiftKey?i.previousNode():i.nextNode()),e.preventDefault(),o&&b(o,!0)},s=e=>{(!l||y(l,x))&&m(e.target,x.current)?(l=x,t.current=e.target):h(x)&&!g(e.target,x)?t.current?t.current.focus():l&&l.current&&w(l.current):h(x)&&(t.current=e.target)},a=e=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{if(r.activeElement&&h(x)&&!g(r.activeElement,x)){if(l=x,r.body.contains(e.target)){var n;t.current=e.target,null===(n=t.current)||void 0===n||n.focus()}else l.current&&w(l.current)}})};return r.addEventListener("keydown",o,!1),r.addEventListener("focusin",s,!1),null==e||e.forEach(e=>e.addEventListener("focusin",s,!1)),null==e||e.forEach(e=>e.addEventListener("focusout",a,!1)),()=>{r.removeEventListener("keydown",o,!1),r.removeEventListener("focusin",s,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",s,!1)),null==e||e.forEach(e=>e.removeEventListener("focusout",a,!1))}},[x,u]),(0,o.b)(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n]),function(e,t,n){let r=(0,s.useRef)("undefined"!=typeof document?(0,i.r)(e.current?e.current[0]:void 0).activeElement:null);(0,o.b)(()=>{let r=e.current,o=(0,i.r)(r?r[0]:void 0);if(!t||n)return;let s=()=>{(!l||y(l,e))&&m(o.activeElement,e.current)&&(l=e)};return o.addEventListener("focusin",s,!1),null==r||r.forEach(e=>e.addEventListener("focusin",s,!1)),()=>{o.removeEventListener("focusin",s,!1),null==r||r.forEach(e=>e.removeEventListener("focusin",s,!1))}},[e,n]),(0,o.b)(()=>{let r=(0,i.r)(e.current?e.current[0]:void 0);if(!t)return;let o=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!h(e)||t.isComposing)return;let n=r.activeElement;if(!m(n,e.current))return;let i=C.getTreeNode(e);if(!i)return;let o=i.nodeToRestore,s=_(r.body,{tabbable:!0});s.currentNode=n;let a=t.shiftKey?s.previousNode():s.nextNode();if(o&&r.body.contains(o)&&o!==r.body||(o=void 0,i.nodeToRestore=void 0),(!a||!m(a,e.current))&&o){s.currentNode=o;do a=t.shiftKey?s.previousNode():s.nextNode();while(m(a,e.current));(t.preventDefault(),t.stopPropagation(),a)?b(a,!0):g(o)?b(o,!0):n.blur()}};return n||r.addEventListener("keydown",o,!0),()=>{n||r.removeEventListener("keydown",o,!0)}},[e,t,n]),(0,o.b)(()=>{var n;let o=(0,i.r)(e.current?e.current[0]:void 0);if(!t)return;let s=C.getTreeNode(e);if(s)return s.nodeToRestore=null!==(n=r.current)&&void 0!==n?n:void 0,()=>{let n=C.getTreeNode(e);if(!n)return;let r=n.nodeToRestore;if(t&&r&&(m(o.activeElement,e.current)||o.activeElement===o.body&&function(e){let t=C.getTreeNode(l);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}(e))){let t=C.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let n=t.getTreeNode(e);for(;n;){if(n.nodeToRestore&&n.nodeToRestore.isConnected){b(n.nodeToRestore);return}n=n.parent}for(n=t.getTreeNode(e);n;){if(n.scopeRef&&n.scopeRef.current&&C.getTreeNode(n.scopeRef)){w(n.scopeRef.current,!0);return}n=n.parent}}})}}},[e,t])}(x,c,u),function(e,t){let n=s.useRef(t);(0,s.useEffect)(()=>{n.current&&(l=e,!m((0,i.r)(e.current?e.current[0]:void 0).activeElement,l.current)&&e.current&&w(e.current)),n.current=!1},[e])}(x,d),(0,s.useEffect)(()=>{let e=(0,i.r)(x.current?x.current[0]:void 0).activeElement,t=null;if(m(e,x.current)){for(let n of C.traverse())n.scopeRef&&m(e,n.scopeRef.current)&&(t=n);t===C.getTreeNode(x)&&(l=t.scopeRef)}},[x]),(0,o.b)(()=>()=>{var e,t,n;let r=null!==(n=null===(t=C.getTreeNode(x))||void 0===t?void 0:null===(e=t.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==n?n:null;(x===l||y(x,l))&&(!r||C.getTreeNode(r))&&(l=r),C.removeTreeNode(x)},[x]);let P=(0,s.useMemo)(()=>({focusNext(e={}){let t=x.current,{from:n,tabbable:r,wrap:o,accept:s}=e,a=n||(0,i.r)(t[0]).activeElement,l=t[0].previousElementSibling,u=_(p(t),{tabbable:r,accept:s},t);u.currentNode=m(a,t)?a:l;let c=u.nextNode();return!c&&o&&(u.currentNode=l,c=u.nextNode()),c&&b(c,!0),c},focusPrevious(e={}){let t=x.current,{from:n,tabbable:r,wrap:o,accept:s}=e,a=n||(0,i.r)(t[0]).activeElement,l=t[t.length-1].nextElementSibling,u=_(p(t),{tabbable:r,accept:s},t);u.currentNode=m(a,t)?a:l;let c=u.previousNode();return!c&&o&&(u.currentNode=l,c=u.previousNode()),c&&b(c,!0),c},focusFirst(e={}){let t=x.current,{tabbable:n,accept:r}=e,i=_(p(t),{tabbable:n,accept:r},t);i.currentNode=t[0].previousElementSibling;let o=i.nextNode();return o&&b(o,!0),o},focusLast(e={}){let t=x.current,{tabbable:n,accept:r}=e,i=_(p(t),{tabbable:n,accept:r},t);i.currentNode=t[t.length-1].nextElementSibling;let o=i.previousNode();return o&&b(o,!0),o}}),[]),k=(0,s.useMemo)(()=>({focusManager:P,parentNode:T}),[T,P]);return s.createElement(a.Provider,{value:k},s.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:f}),r,s.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:v}))}let c=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],d=c.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";c.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let f=c.join(':not([hidden]):not([tabindex="-1"]),');function p(e){return e[0].parentElement}function h(e){let t=C.getTreeNode(l);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function m(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}function g(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of C.traverse(C.getTreeNode(t)))if(n&&m(e,n.current))return!0;return!1}function v(e){return g(e,l)}function y(e,t){var n;let r=null===(n=C.getTreeNode(t))||void 0===n?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function b(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch(e){}}else try{(0,r.e)(e)}catch(e){}}function w(e,t=!0){let n=e[0].previousElementSibling,r=p(e),i=_(r,{tabbable:t},e);i.currentNode=n;let o=i.nextNode();t&&!o&&((i=_(r=p(e),{tabbable:!1},e)).currentNode=n,o=i.nextNode()),b(o)}function _(e,t,n){let r=(null==t?void 0:t.tabbable)?f:d,o=(0,i.r)(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(e){var o;return(null==t?void 0:null===(o=t.from)||void 0===o?void 0:o.contains(e))?NodeFilter.FILTER_REJECT:e.matches(r)&&function e(t,n){return"#comment"!==t.nodeName&&function(e){let t=(0,i.k)(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,o="none"!==n&&"hidden"!==r&&"collapse"!==r;if(o){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:n,visibility:r}=t(e);o="none"!==n&&"hidden"!==r&&"collapse"!==r}return o}(t)&&!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==t.nodeName||!n||"SUMMARY"===n.nodeName||t.hasAttribute("open"))&&(!t.parentElement||e(t.parentElement,t))}(e)&&(!n||m(e,n))&&(!(null==t?void 0:t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return(null==t?void 0:t.from)&&(o.currentNode=t.from),o}class x{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null);if(!r)return;let i=new E({scopeRef:e});r.addChild(i),i.parent=r,this.fastMap.set(e,i),n&&(i.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&m(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let n=new x;for(let r of this.traverse())n.addTreeNode(r.scopeRef,null!==(t=null===(e=r.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null,r.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new E({scopeRef:null}),this.fastMap.set(null,this.root)}}class E{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let C=new x},6034:function(e,t,n){"use strict";n.d(t,{e:function(){return a}});var r=n(6540),i=n(8e3),o=n(8715),s=n(7101);function a(e){let t=(0,r.r)(e);if("virtual"===(0,s.Jz)()){let n=t.activeElement;(0,i.Q)(()=>{t.activeElement===n&&e.isConnected&&(0,o.A)(e)})}else(0,o.A)(e)}},8511:function(e,t,n){"use strict";n.d(t,{F:function(){return a}});var r=n(7101),i=n(136),o=n(4279),s=n(4177);function a(e={}){let{autoFocus:t=!1,isTextInput:n,within:a}=e,l=(0,s.useRef)({isFocused:!1,isFocusVisible:t||(0,r.E)()}),[u,c]=(0,s.useState)(!1),[d,f]=(0,s.useState)(()=>l.current.isFocused&&l.current.isFocusVisible),p=(0,s.useCallback)(()=>f(l.current.isFocused&&l.current.isFocusVisible),[]),h=(0,s.useCallback)(e=>{l.current.isFocused=e,c(e),p()},[p]);(0,r.mG)(e=>{l.current.isFocusVisible=e,p()},[],{isTextInput:n});let{focusProps:m}=(0,i.K)({isDisabled:a,onFocusChange:h}),{focusWithinProps:g}=(0,o.L)({isDisabled:!a,onFocusWithinChange:h});return{isFocused:u,isFocusVisible:d,focusProps:a?g:m}}},4856:function(e,t,n){"use strict";n.d(t,{k:function(){return c}});var r=n(6034),i=n(3851),o=n(1610),s=n(4177),a=n(136);function l(e){if(!e)return;let t=!0;return n=>{e({...n,preventDefault(){n.preventDefault()},isDefaultPrevented:()=>n.isDefaultPrevented(),stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}}),t&&n.stopPropagation()}}let u=s.createContext(null);function c(e,t){let{focusProps:n}=(0,a.K)(e),{keyboardProps:c}={keyboardProps:e.isDisabled?{}:{onKeyDown:l(e.onKeyDown),onKeyUp:l(e.onKeyUp)}},d=(0,o.d)(n,c),f=function(e){let t=(0,s.useContext)(u)||{};(0,i.l)(t,e);let{ref:n,...r}=t;return r}(t),p=e.isDisabled?{}:f,h=(0,s.useRef)(e.autoFocus);return(0,s.useEffect)(()=>{h.current&&t.current&&(0,r.e)(t.current),h.current=!1},[t]),{focusableProps:(0,o.d)({...d,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},p)}}},1669:function(e,t,n){"use strict";n.d(t,{b:function(){return m},j:function(){return g}});let r=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),i=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function o(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),n="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(n)return"rtl"===n.direction;if(t.script)return r.has(t.script)}let t=e.split("-")[0];return i.has(t)}var s=n(4177),a=n(2677);let l=Symbol.for("react-aria.i18n.locale");function u(){let e="undefined"!=typeof window&&window[l]||"undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch(t){e="en-US"}return{locale:e,direction:o(e)?"rtl":"ltr"}}let c=u(),d=new Set;function f(){for(let e of(c=u(),d))e(c)}function p(){let e=(0,a.Av)(),[t,n]=(0,s.useState)(c);return((0,s.useEffect)(()=>(0===d.size&&window.addEventListener("languagechange",f),d.add(n),()=>{d.delete(n),0===d.size&&window.removeEventListener("languagechange",f)}),[]),e)?{locale:"en-US",direction:"ltr"}:t}let h=s.createContext(null);function m(e){let{locale:t,children:n}=e,r=p(),i=s.useMemo(()=>t?{locale:t,direction:o(t)?"rtl":"ltr"}:r,[r,t]);return s.createElement(h.Provider,{value:i},n)}function g(){let e=p();return(0,s.useContext)(h)||e}},8566:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});let r=n(4177).createContext({register:()=>{}});r.displayName="PressResponderContext"},136:function(e,t,n){"use strict";n.d(t,{K:function(){return s}});var r=n(8843),i=n(4177),o=n(6540);function s(e){let{isDisabled:t,onFocus:n,onBlur:s,onFocusChange:a}=e,l=(0,i.useCallback)(e=>{if(e.target===e.currentTarget)return s&&s(e),a&&a(!1),!0},[s,a]),u=(0,r.d)(l),c=(0,i.useCallback)(e=>{let t=(0,o.r)(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(n&&n(e),a&&a(!0),u(e))},[a,n,u]);return{focusProps:{onFocus:!t&&(n||a||s)?c:void 0,onBlur:!t&&(s||a)?l:void 0}}}},7101:function(e,t,n){"use strict";n.d(t,{E:function(){return x},Jz:function(){return E},Kf:function(){return S},_w:function(){return C},mG:function(){return P}});var r=n(958),i=n(9996),o=n(6540),s=n(4177),a=n(2677);let l=null,u=new Set,c=new Map,d=!1,f=!1,p={Tab:!0,Escape:!0};function h(e,t){for(let n of u)n(e,t)}function m(e){d=!0,e.metaKey||!(0,r.V5)()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(l="keyboard",h("keyboard",e))}function g(e){l="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(d=!0,h("pointer",e))}function v(e){(0,i.Z)(e)&&(d=!0,l="virtual")}function y(e){e.target!==window&&e.target!==document&&(d||f||(l="virtual",h("virtual",e)),d=!1,f=!1)}function b(){d=!1,f=!0}function w(e){if("undefined"==typeof window||c.get((0,o.k)(e)))return;let t=(0,o.k)(e),n=(0,o.r)(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){d=!0,r.apply(this,arguments)},n.addEventListener("keydown",m,!0),n.addEventListener("keyup",m,!0),n.addEventListener("click",v,!0),t.addEventListener("focus",y,!0),t.addEventListener("blur",b,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",g,!0),n.addEventListener("pointermove",g,!0),n.addEventListener("pointerup",g,!0)):(n.addEventListener("mousedown",g,!0),n.addEventListener("mousemove",g,!0),n.addEventListener("mouseup",g,!0)),t.addEventListener("beforeunload",()=>{_(e)},{once:!0}),c.set(t,{focus:r})}let _=(e,t)=>{let n=(0,o.k)(e),r=(0,o.r)(e);t&&r.removeEventListener("DOMContentLoaded",t),c.has(n)&&(n.HTMLElement.prototype.focus=c.get(n).focus,r.removeEventListener("keydown",m,!0),r.removeEventListener("keyup",m,!0),r.removeEventListener("click",v,!0),n.removeEventListener("focus",y,!0),n.removeEventListener("blur",b,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",g,!0),r.removeEventListener("pointermove",g,!0),r.removeEventListener("pointerup",g,!0)):(r.removeEventListener("mousedown",g,!0),r.removeEventListener("mousemove",g,!0),r.removeEventListener("mouseup",g,!0)),c.delete(n))};function x(){return"pointer"!==l}function E(){return l}function C(e){l=e,h(e,null)}function S(){w();let[e,t]=(0,s.useState)(l);return(0,s.useEffect)(()=>{let e=()=>{t(l)};return u.add(e),()=>{u.delete(e)}},[]),(0,a.Av)()?null:e}"undefined"!=typeof document&&function(e){let t;let n=(0,o.r)(void 0);"loading"!==n.readyState?w(void 0):(t=()=>{w(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>_(e,t)}();let T=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function P(e,t,n){w(),(0,s.useEffect)(()=>{let t=(t,r)=>{(function(e,t,n){var r;let i="undefined"!=typeof window?(0,o.k)(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,s="undefined"!=typeof window?(0,o.k)(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,a="undefined"!=typeof window?(0,o.k)(null==n?void 0:n.target).HTMLElement:HTMLElement,l="undefined"!=typeof window?(0,o.k)(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==n?void 0:n.target)instanceof i&&!T.has(null==n?void 0:null===(r=n.target)||void 0===r?void 0:r.type)||(null==n?void 0:n.target)instanceof s||(null==n?void 0:n.target)instanceof a&&(null==n?void 0:n.target.isContentEditable))&&"keyboard"===t&&n instanceof l&&!p[n.key])})(!!(null==n?void 0:n.isTextInput),t,r)&&e(x())};return u.add(t),()=>{u.delete(t)}},t)}},4279:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(8843),i=n(4177);function o(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:o,onFocusWithinChange:s}=e,a=(0,i.useRef)({isFocusWithin:!1}),l=(0,i.useCallback)(e=>{a.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(a.current.isFocusWithin=!1,n&&n(e),s&&s(!1))},[n,s,a]),u=(0,r.d)(l),c=(0,i.useCallback)(e=>{a.current.isFocusWithin||document.activeElement!==e.target||(o&&o(e),s&&s(!0),a.current.isFocusWithin=!0,u(e))},[o,s,u]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:l}}}},6150:function(e,t,n){"use strict";n.d(t,{X:function(){return u}});var r=n(4177);let i=!1,o=0;function s(){i=!0,setTimeout(()=>{i=!1},50)}function a(e){"touch"===e.pointerType&&s()}function l(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",a):document.addEventListener("touchend",s),o++,()=>{--o>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",a):document.removeEventListener("touchend",s))}}function u(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:o,isDisabled:s}=e,[a,u]=(0,r.useState)(!1),c=(0,r.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,r.useEffect)(l,[]);let{hoverProps:d,triggerHoverEnd:f}=(0,r.useMemo)(()=>{let e=(e,r)=>{if(c.pointerType=r,s||"touch"===r||c.isHovered||!e.currentTarget.contains(e.target))return;c.isHovered=!0;let i=e.currentTarget;c.target=i,t&&t({type:"hoverstart",target:i,pointerType:r}),n&&n(!0),u(!0)},r=(e,t)=>{if(c.pointerType="",c.target=null,"touch"===t||!c.isHovered)return;c.isHovered=!1;let r=e.currentTarget;o&&o({type:"hoverend",target:r,pointerType:t}),n&&n(!1),u(!1)},a={};return"undefined"!=typeof PointerEvent?(a.onPointerEnter=t=>{i&&"mouse"===t.pointerType||e(t,t.pointerType)},a.onPointerLeave=e=>{!s&&e.currentTarget.contains(e.target)&&r(e,e.pointerType)}):(a.onTouchStart=()=>{c.ignoreEmulatedMouseEvents=!0},a.onMouseEnter=t=>{c.ignoreEmulatedMouseEvents||i||e(t,"mouse"),c.ignoreEmulatedMouseEvents=!1},a.onMouseLeave=e=>{!s&&e.currentTarget.contains(e.target)&&r(e,"mouse")}),{hoverProps:a,triggerHoverEnd:r}},[t,n,o,s,c]);return(0,r.useEffect)(()=>{s&&f({currentTarget:c.target},c.pointerType)},[s]),{hoverProps:d,isHovered:a}}},3715:function(e,t,n){"use strict";n.d(t,{r:function(){return T}});var r=n(958),i=n(6540),o=n(8e3);let s="default",a="",l=new WeakMap;function u(e){if((0,r.gn)()){if("default"===s){let t=(0,i.r)(e);a=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}s="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(l.set(e,e.style.userSelect),e.style.userSelect="none")}function c(e){if((0,r.gn)())"disabled"===s&&(s="restoring",setTimeout(()=>{(0,o.Q)(()=>{if("restoring"===s){let t=(0,i.r)(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=a||""),a="",s="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&l.has(e)){let t=l.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),l.delete(e)}}var d=n(8566);function f(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function p(e,t,n){var r=f(e,t,"set");return!function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=n}}(e,r,n),n}var h=n(1610),m=n(3851),g=n(3619),v=n(9588),y=n(7661),b=n(3052),w=n(9996),_=n(8715),x=n(4177),E=new WeakMap;class C{continuePropagation(){p(this,E,!1)}get shouldStopPropagation(){var e;return(e=f(this,E,"get")).get?e.get.call(this):e.value}constructor(e,t,n){var r;r={writable:!0,value:void 0},function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}(this,E),E.set(this,r),p(this,E,!0),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey}}let S=Symbol("linkClicked");function T(e){let{onPress:t,onPressChange:n,onPressStart:o,onPressEnd:s,onPressUp:a,isDisabled:l,isPressed:f,preventFocusOnPress:p,shouldCancelOnPointerExit:E,allowTextSelectionOnPress:T,ref:R,...N}=function(e){let t=(0,x.useContext)(d.O);if(t){let{register:n,...r}=t;e=(0,h.d)(r,e),n()}return(0,m.l)(t,e.ref),e}(e),[j,I]=(0,x.useState)(!1),F=(0,x.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:D,removeAllGlobalListeners:V}=(0,g.x)(),z=(0,v.i)((e,t)=>{let r=F.current;if(l||r.didFirePressStart)return!1;let i=!0;if(r.isTriggeringEvent=!0,o){let n=new C("pressstart",t,e);o(n),i=n.shouldStopPropagation}return n&&n(!0),r.isTriggeringEvent=!1,r.didFirePressStart=!0,I(!0),i}),H=(0,v.i)((e,r,i=!0)=>{let o=F.current;if(!o.didFirePressStart)return!1;o.ignoreClickAfterPress=!0,o.didFirePressStart=!1,o.isTriggeringEvent=!0;let a=!0;if(s){let t=new C("pressend",r,e);s(t),a=t.shouldStopPropagation}if(n&&n(!1),I(!1),t&&i&&!l){let n=new C("press",r,e);t(n),a&&(a=n.shouldStopPropagation)}return o.isTriggeringEvent=!1,a}),K=(0,v.i)((e,t)=>{let n=F.current;if(l)return!1;if(a){n.isTriggeringEvent=!0;let r=new C("pressup",t,e);return a(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0}),W=(0,v.i)(e=>{let t=F.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&H(L(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,V(),T||c(t.target))}),B=(0,v.i)(e=>{E&&W(e)}),U=(0,x.useMemo)(()=>{let e=F.current,t={onKeyDown(t){if(k(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var o;O(t.target,t.key)&&t.preventDefault();let s=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,s=z(t,"keyboard");let r=t.currentTarget;D((0,i.r)(t.currentTarget),"keyup",(0,y.t)(t=>{k(t,r)&&!t.repeat&&r.contains(t.target)&&e.target&&K(L(e.target,t),"keyboard")},n),!0)}s&&t.stopPropagation(),t.metaKey&&(0,r.V5)()&&(null===(o=e.metaKeyEvents)||void 0===o||o.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!b.nG.isOpening){let n=!0;if(l&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||(0,w.Z)(t.nativeEvent))){l||p||(0,_.A)(t.currentTarget);let e=z(t,"virtual"),r=K(t,"virtual"),i=H(t,"virtual");n=e&&r&&i}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,n&&t.stopPropagation()}}},n=t=>{var n,r,i;if(e.isPressed&&e.target&&k(t,e.target)){O(t.target,t.key)&&t.preventDefault();let n=t.target;H(L(e.target,t),"keyboard",e.target.contains(n)),V(),"Enter"!==t.key&&P(e.target)&&e.target.contains(n)&&!t[S]&&(t[S]=!0,(0,b.nG)(e.target,t,!1)),e.isPressed=!1,null===(r=e.metaKeyEvents)||void 0===r||r.delete(t.key)}else if("Meta"===t.key&&(null===(n=e.metaKeyEvents)||void 0===n?void 0:n.size)){let t=e.metaKeyEvents;for(let n of(e.metaKeyEvents=void 0,t.values()))null===(i=e.target)||void 0===i||i.dispatchEvent(new KeyboardEvent("keyup",n))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{if(0!==t.button||!t.currentTarget.contains(t.target))return;if((0,w.c)(t.nativeEvent)){e.pointerType="virtual";return}A(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let s=!0;e.isPressed||(e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,l||p||(0,_.A)(t.currentTarget),T||u(e.target),s=z(t,e.pointerType),D((0,i.r)(t.currentTarget),"pointermove",n,!1),D((0,i.r)(t.currentTarget),"pointerup",r,!1),D((0,i.r)(t.currentTarget),"pointercancel",o,!1)),s&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(A(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&$(t,t.currentTarget)&&K(t,e.pointerType||t.pointerType)};let n=t=>{t.pointerId===e.activePointerId&&(e.target&&$(t,e.target)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,z(L(e.target,t),e.pointerType)):e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,H(L(e.target,t),e.pointerType,!1),B(t)))},r=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&($(t,e.target)&&null!=e.pointerType?H(L(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&H(L(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,V(),T||c(e.target))},o=e=>{W(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&W(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(A(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=(0,w.Z)(t.nativeEvent)?"virtual":"mouse",l||p||(0,_.A)(t.currentTarget),z(t,e.pointerType)&&t.stopPropagation(),D((0,i.r)(t.currentTarget),"mouseup",n,!1)}},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,n=z(t,e.pointerType)),n&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,n=H(t,e.pointerType,!1),B(t)),n&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&0===t.button&&K(t,e.pointerType||"mouse")};let n=t=>{if(0===t.button){if(e.isPressed=!1,V(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&$(t,e.target)&&null!=e.pointerType?H(L(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&H(L(e.target,t),e.pointerType,!1),e.isOverTarget=!1}};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let n=function(e){let{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);n&&(e.activePointerId=n.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",l||p||(0,_.A)(t.currentTarget),T||u(e.target),z(t,e.pointerType)&&t.stopPropagation(),D((0,i.k)(t.currentTarget),"scroll",r,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let n=M(t.nativeEvent,e.activePointerId),r=!0;n&&$(n,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,r=z(t,e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,r=H(t,e.pointerType,!1),B(t)),r&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let n=M(t.nativeEvent,e.activePointerId),r=!0;n&&$(n,t.currentTarget)&&null!=e.pointerType?(K(t,e.pointerType),r=H(t,e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(r=H(t,e.pointerType,!1)),r&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!T&&c(e.target),V()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&W(t))};let r=t=>{e.isPressed&&t.target.contains(e.target)&&W({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&W(e)}}return t},[D,l,p,V,T,W,B,H,z,K]);return(0,x.useEffect)(()=>()=>{var e;T||c(null!==(e=F.current.target)&&void 0!==e?e:void 0)},[T]),{isPressed:f||j,pressProps:(0,h.d)(N,U)}}function P(e){return"A"===e.tagName&&e.hasAttribute("href")}function k(e,t){let{key:n,code:r}=e,o=t.getAttribute("role");return("Enter"===n||" "===n||"Spacebar"===n||"Space"===r)&&!(t instanceof(0,i.k)(t).HTMLInputElement&&!N(t,n)||t instanceof(0,i.k)(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===o||!o&&P(t))&&"Enter"!==n)}function M(e,t){let n=e.changedTouches;for(let e=0;eo.right)&&!(o.left>i.right)&&!(i.top>o.bottom)&&!(o.top>i.bottom)}function A(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function O(e,t){return e instanceof HTMLInputElement?!N(e,t):e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!P(e)}let R=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function N(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:R.has(e.type)}},8843:function(e,t,n){"use strict";n.d(t,{d:function(){return a}});var r=n(4177),i=n(2380),o=n(9588);class s{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function a(e){let t=(0,r.useRef)({isFocused:!1,observer:null});(0,i.b)(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let n=(0,o.i)(t=>{null==e||e(t)});return(0,r.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(new s("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])}},1747:function(e,t,n){"use strict";n.d(t,{O:function(){return o},v:function(){return i}});var r=n(4177);let i=new WeakMap;function o(e){let{triggerRef:t,isOpen:n,onClose:o}=e;(0,r.useEffect)(()=>{if(!n||null===o)return;let e=e=>{let n=e.target;if(!t.current||n instanceof Node&&!n.contains(t.current))return;let r=o||i.get(t.current);r&&r()};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}},[n,o,t])}},2774:function(e,t,n){"use strict";n.d(t,{N3:function(){return u},Xj:function(){return c}});var r=n(4177),i=n(6156),o=n(2677);let s=r.createContext(null);function a(e){let{children:t}=e,n=(0,r.useContext)(s),[i,o]=(0,r.useState)(0),a=(0,r.useMemo)(()=>({parent:n,modalCount:i,addModal(){o(e=>e+1),n&&n.addModal()},removeModal(){o(e=>e-1),n&&n.removeModal()}}),[n,i]);return r.createElement(s.Provider,{value:a},t)}function l(e){let t;let{modalProviderProps:n}={modalProviderProps:{"aria-hidden":!!(t=(0,r.useContext)(s))&&t.modalCount>0||null}};return r.createElement("div",{"data-overlay-container":!0,...e,...n})}function u(e){return r.createElement(a,null,r.createElement(l,e))}function c(e){let t=(0,o.Av)(),{portalContainer:n=t?null:document.body,...s}=e;if(r.useEffect(()=>{if(null==n?void 0:n.closest("[data-overlay-container]"))throw Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[n]),!n)return null;let a=r.createElement(u,s);return i.createPortal(a,n)}},458:function(e,t,n){"use strict";n.d(t,{I:function(){return c}});var r=n(2613),i=n(4177),o=n(9588),s=n(6540);function a(e,t){if(e.button>0)return!1;if(e.target){let t=e.target.ownerDocument;if(!t||!t.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}var l=n(4279);let u=[];function c(e,t){let{onClose:n,shouldCloseOnBlur:c,isOpen:d,isDismissable:f=!1,isKeyboardDismissDisabled:p=!1,shouldCloseOnInteractOutside:h}=e;(0,i.useEffect)(()=>(d&&u.push(t),()=>{let e=u.indexOf(t);e>=0&&u.splice(e,1)}),[d,t]);let m=()=>{u[u.length-1]===t&&n&&n()};!function(e){let{ref:t,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:l}=e,u=(0,i.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),c=(0,o.i)(e=>{n&&a(e,t)&&(l&&l(e),u.current.isPointerDown=!0)}),d=(0,o.i)(e=>{n&&n(e)});(0,i.useEffect)(()=>{let e=u.current;if(r)return;let n=t.current,i=(0,s.r)(n);if("undefined"!=typeof PointerEvent){let n=n=>{e.isPointerDown&&a(n,t)&&d(n),e.isPointerDown=!1};return i.addEventListener("pointerdown",c,!0),i.addEventListener("pointerup",n,!0),()=>{i.removeEventListener("pointerdown",c,!0),i.removeEventListener("pointerup",n,!0)}}{let n=n=>{e.ignoreEmulatedMouseEvents?e.ignoreEmulatedMouseEvents=!1:e.isPointerDown&&a(n,t)&&d(n),e.isPointerDown=!1},r=n=>{e.ignoreEmulatedMouseEvents=!0,e.isPointerDown&&a(n,t)&&d(n),e.isPointerDown=!1};return i.addEventListener("mousedown",c,!0),i.addEventListener("mouseup",n,!0),i.addEventListener("touchstart",c,!0),i.addEventListener("touchend",r,!0),()=>{i.removeEventListener("mousedown",c,!0),i.removeEventListener("mouseup",n,!0),i.removeEventListener("touchstart",c,!0),i.removeEventListener("touchend",r,!0)}}},[t,r,c,d])}({ref:t,onInteractOutside:f&&d?e=>{(!h||h(e.target))&&(u[u.length-1]===t&&(e.stopPropagation(),e.preventDefault()),m())}:null,onInteractOutsideStart:e=>{(!h||h(e.target))&&u[u.length-1]===t&&(e.stopPropagation(),e.preventDefault())}});let{focusWithinProps:g}=(0,l.L)({isDisabled:!c,onBlurWithin:e=>{!(!e.relatedTarget||(0,r.cW)(e.relatedTarget))&&(!h||h(e.relatedTarget))&&n()}});return{overlayProps:{onKeyDown:e=>{"Escape"!==e.key||p||e.nativeEvent.isComposing||(e.stopPropagation(),e.preventDefault(),m())},...g},underlayProps:{onPointerDown:e=>{e.target===e.currentTarget&&e.preventDefault()}}}}},2628:function(e,t,n){"use strict";n.d(t,{t:function(){return S}});var r=n(958);function i(e,t=-1/0,n=1/0){return Math.min(Math.max(e,t),n)}let o={top:"top",bottom:"top",left:"left",right:"left"},s={top:"bottom",bottom:"top",left:"right",right:"left"},a={top:"left",left:"top"},l={top:"height",left:"width"},u={width:"totalWidth",height:"totalHeight"},c={},d="undefined"!=typeof document&&window.visualViewport;function f(e){let t=0,n=0,i=0,o=0,s=0,a=0,l={},u=(null==d?void 0:d.scale)>1;if("BODY"===e.tagName){var c,f;let r=document.documentElement;i=r.clientWidth,o=r.clientHeight,t=null!==(c=null==d?void 0:d.width)&&void 0!==c?c:i,n=null!==(f=null==d?void 0:d.height)&&void 0!==f?f:o,l.top=r.scrollTop||e.scrollTop,l.left=r.scrollLeft||e.scrollLeft,d&&(s=d.offsetTop,a=d.offsetLeft)}else({width:t,height:n,top:s,left:a}=v(e)),l.top=e.scrollTop,l.left=e.scrollLeft,i=t,o=n;return(0,r.Pf)()&&("BODY"===e.tagName||"HTML"===e.tagName)&&u&&(l.top=0,l.left=0,s=d.pageTop,a=d.pageLeft),{width:t,height:n,totalWidth:i,totalHeight:o,scroll:l,top:s,left:a}}function p(e,t,n,r,i,s,a){let u=i.scroll[e],c=r[l[e]],d=r.scroll[o[e]]+s,f=c+r.scroll[o[e]]-s,p=t-u+a[e]-r[o[e]],h=t-u+n+a[e]-r[o[e]];return pf?Math.max(f-h,d-p):0}function h(e){if(c[e])return c[e];let[t,n]=e.split(" "),r=o[t]||"right",i=a[r];o[n]||(n="center");let s=l[r],u=l[i];return c[e]={placement:t,crossPlacement:n,axis:r,crossAxis:i,size:s,crossSize:u},c[e]}function m(e,t,n,r,o,a,l,c,d,f){let{placement:p,crossPlacement:h,axis:m,crossAxis:g,size:v,crossSize:y}=r,b={};b[g]=e[g],"center"===h?b[g]+=(e[y]-n[y])/2:h!==g&&(b[g]+=e[y]-n[y]),b[g]+=a;let w=e[g]-n[y]+d+f,_=e[g]+e[y]-d-f;if(b[g]=i(b[g],w,_),p===m){let n=c?l[v]:t[u[v]];b[s[m]]=Math.floor(n-e[m]+o)}else b[m]=Math.floor(e[m]+e[v]+o);return b}function g(e,t,n,r,i,o){let{placement:a,axis:l,size:u}=o;return a===l?Math.max(0,n[l]-e[l]-e.scroll[l]+t[l]-r[l]-r[s[l]]-i):Math.max(0,e[u]+e[l]+e.scroll[l]-t[l]-n[l]-n[u]-r[l]-r[s[l]]-i)}function v(e){let{top:t,left:n,width:r,height:i}=e.getBoundingClientRect(),{scrollTop:o,scrollLeft:s,clientTop:a,clientLeft:l}=document.documentElement;return{top:t+o-a,left:n+s-l,width:r,height:i}}function y(e,t){let n,r=window.getComputedStyle(e);if("fixed"===r.position){let{top:t,left:r,width:i,height:o}=e.getBoundingClientRect();n={top:t,left:r,width:i,height:o}}else{n=v(e);let r=v(t),i=window.getComputedStyle(t);r.top+=(parseInt(i.borderTopWidth,10)||0)-t.scrollTop,r.left+=(parseInt(i.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=r.top,n.left-=r.left}return n.top-=parseInt(r.marginTop,10)||0,n.left-=parseInt(r.marginLeft,10)||0,n}function b(e){let t=window.getComputedStyle(e);return"none"!==t.transform||/transform|perspective/.test(t.willChange)||"none"!==t.filter||"paint"===t.contain||"backdropFilter"in t&&"none"!==t.backdropFilter||"WebkitBackdropFilter"in t&&"none"!==t.WebkitBackdropFilter}var w=n(1747),_=n(4177),x=n(2380),E=n(1669);let C="undefined"!=typeof document&&window.visualViewport;function S(e){let{direction:t}=(0,E.j)(),{arrowSize:n=0,targetRef:r,overlayRef:o,scrollRef:a=o,placement:l="bottom",containerPadding:c=12,shouldFlip:d=!0,boundaryElement:S="undefined"!=typeof document?document.body:null,offset:T=0,crossOffset:P=0,shouldUpdatePosition:k=!0,isOpen:M=!0,onClose:L,maxHeight:$,arrowBoundaryOffset:A=0}=e,[O,R]=(0,_.useState)({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),N=[k,l,o.current,r.current,a.current,c,d,S,T,P,M,t,$,A,n],j=(0,_.useRef)(null==C?void 0:C.scale);(0,_.useEffect)(()=>{M&&(j.current=null==C?void 0:C.scale)},[M]);let I=(0,_.useCallback)(()=>{var e,w;if(!1===k||!M||!o.current||!r.current||!a.current||!S||(null==C?void 0:C.scale)!==j.current)return;let _=o.current;!$&&o.current&&(_.style.top="0px",_.style.bottom="",_.style.maxHeight=(null!==(w=null===(e=window.visualViewport)||void 0===e?void 0:e.height)&&void 0!==w?w:window.innerHeight)+"px");let x=function(e){let t,{placement:n,targetNode:r,overlayNode:o,scrollNode:a,padding:l,shouldFlip:c,boundaryElement:d,offset:w,crossOffset:_,maxHeight:x,arrowSize:E=0,arrowBoundaryOffset:C=0}=e,S=o instanceof HTMLElement?function(e){let t=e.offsetParent;if(t&&t===document.body&&"static"===window.getComputedStyle(t).position&&!b(t)&&(t=document.documentElement),null==t)for(t=e.parentElement;t&&!b(t);)t=t.parentElement;return t||document.documentElement}(o):document.documentElement,T=S===document.documentElement,P=window.getComputedStyle(S).position,k=T?v(r):y(r,S);if(!T){let{marginTop:e,marginLeft:t}=window.getComputedStyle(r);k.top+=parseInt(e,10)||0,k.left+=parseInt(t,10)||0}let M=v(o),L={top:parseInt((t=window.getComputedStyle(o)).marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0};M.width+=L.left+L.right,M.height+=L.top+L.bottom;let $={top:a.scrollTop,left:a.scrollLeft,width:a.scrollWidth,height:a.scrollHeight},A=f(d),O=f(S),R="BODY"===d.tagName?v(S):y(S,d);return"HTML"===S.tagName&&"BODY"===d.tagName&&(O.scroll.top=0,O.scroll.left=0),function(e,t,n,r,o,a,l,c,d,f,v,y,b,w,_,x){let E=h(e),{size:C,crossAxis:S,crossSize:T,placement:P,crossPlacement:k}=E,M=m(t,c,n,E,v,y,f,b,_,x),L=v,$=g(c,f,t,o,a+v,E);if(l&&r[C]>$){let e=h(`${s[P]} ${k}`),r=m(t,c,n,e,v,y,f,b,_,x);g(c,f,t,o,a+v,e)>$&&(E=e,M=r,L=v)}let A="bottom";"top"===E.axis?"top"===E.placement?A="top":"bottom"===E.placement&&(A="bottom"):"top"===E.crossAxis&&("top"===E.crossPlacement?A="bottom":"bottom"===E.crossPlacement&&(A="top"));let O=p(S,M[S],n[T],c,d,a,f);M[S]+=O;let R=function(e,t,n,r,i,o,s,a){let l=r?n.height:t[u.height],c=null!=e.top?n.top+e.top:n.top+(l-e.bottom-s),d="top"!==a?Math.max(0,t.height+t.top+t.scroll.top-c-(i.top+i.bottom+o)):Math.max(0,c+s-(t.top+t.scroll.top)-(i.top+i.bottom+o));return Math.min(t.height-2*o,d)}(M,c,f,b,o,a,n.height,A);w&&w_.style[e]=x.position[e]+"px"),_.style.maxHeight=null!=x.maxHeight?x.maxHeight+"px":void 0,R(x)},N);(0,x.b)(I,N),(0,x.b)(()=>(window.addEventListener("resize",I,!1),()=>{window.removeEventListener("resize",I,!1)}),[I]),function(e){let{ref:t,onResize:n}=e;(0,_.useEffect)(()=>{let e=null==t?void 0:t.current;if(e){if(!(void 0!==window.ResizeObserver))return window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)};{let t=new window.ResizeObserver(e=>{e.length&&n()});return t.observe(e),()=>{e&&t.unobserve(e)}}}},[n,t])}({ref:o,onResize:I});let F=(0,_.useRef)(!1);(0,x.b)(()=>{let e;let t=()=>{F.current=!0,clearTimeout(e),e=setTimeout(()=>{F.current=!1},500),I()},n=()=>{F.current&&t()};return null==C||C.addEventListener("resize",t),null==C||C.addEventListener("scroll",n),()=>{null==C||C.removeEventListener("resize",t),null==C||C.removeEventListener("scroll",n)}},[I]);let D=(0,_.useCallback)(()=>{F.current||L()},[L,F]);return(0,w.O)({triggerRef:r,isOpen:M,onClose:L&&D}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...O.position,maxHeight:O.maxHeight}},placement:O.placement,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:O.arrowOffsetLeft,top:O.arrowOffsetTop}},updatePosition:I}}},2677:function(e,t,n){"use strict";n.d(t,{Av:function(){return p},gP:function(){return u}});var r=n(4177);let i={prefix:String(Math.round(1e10*Math.random())),current:0},o=r.createContext(i),s=r.createContext(!1),a=!!("undefined"!=typeof window&&window.document&&window.document.createElement),l=new WeakMap,u="function"==typeof r.useId?function(e){let t=r.useId(),[n]=(0,r.useState)(p()),o=n?"react-aria":`react-aria${i.prefix}`;return e||`${o}-${t}`}:function(e){let t=(0,r.useContext)(o);t!==i||a||console.warn("When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server.");let n=function(e=!1){let t=(0,r.useContext)(o),n=(0,r.useRef)(null);if(null===n.current&&!e){var i,s;let e=null===(s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===s?void 0:null===(i=s.ReactCurrentOwner)||void 0===i?void 0:i.current;if(e){let n=l.get(e);null==n?l.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,l.delete(e))}n.current=++t.current}return n.current}(!!e),s=`react-aria${t.prefix}`;return e||`${s}-${n}`};function c(){return!1}function d(){return!0}function f(e){return()=>{}}function p(){return"function"==typeof r.useSyncExternalStore?r.useSyncExternalStore(f,c,d):(0,r.useContext)(s)}},7661:function(e,t,n){"use strict";function r(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}n.d(t,{t:function(){return r}})},6540:function(e,t,n){"use strict";n.d(t,{k:function(){return i},r:function(){return r}});let r=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},i=e=>e&&"window"in e&&e.window===e?e:r(e).defaultView||window},2904:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});let r=new Set(["id"]),i=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),o=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),s=/^(data-.*)$/;function a(e,t={}){let{labelable:n,isLink:a,propNames:l}=t,u={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r.has(t)||n&&i.has(t)||a&&o.has(t)||(null==l?void 0:l.has(t))||s.test(t))&&(u[t]=e[t]);return u}},8715:function(e,t,n){"use strict";function r(e){if(function(){if(null==i){i=!1;try{document.createElement("div").focus({get preventScroll(){return i=!0,!0}})}catch(e){}}return i}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight=65&&90>=e.charCodeAt(2)?t[e]=(0,r.t)(n,a):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof a?t[e]=o(n,a):"id"===e&&n&&a?t.id=(0,i.ur)(n,a):t[e]=void 0!==a?a:n}}return t}},3052:function(e,t,n){"use strict";n.d(t,{eY:function(){return d},nG:function(){return u},pG:function(){return a},tv:function(){return l}});var r=n(8715),i=n(958),o=n(4177);let s=(0,o.createContext)({isNative:!0,open:function(e,t){c(e,e=>u(e,t))},useHref:e=>e});function a(e){let{children:t,navigate:n,useHref:r}=e,i=(0,o.useMemo)(()=>({isNative:!1,open:(e,t,r,i)=>{c(e,e=>{let o;(o=e.getAttribute("target"))&&"_self"!==o||e.origin!==location.origin||e.hasAttribute("download")||t.metaKey||t.ctrlKey||t.altKey||t.shiftKey?u(e,t):n(r,i)})},useHref:r||(e=>e)}),[n,r]);return o.createElement(s.Provider,{value:i},t)}function l(){return(0,o.useContext)(s)}function u(e,t,n=!0){var o,s;let{metaKey:a,ctrlKey:l,altKey:c,shiftKey:d}=t;(0,i.vU)()&&(null===(s=window.event)||void 0===s?void 0:null===(o=s.type)||void 0===o?void 0:o.startsWith("key"))&&"_blank"===e.target&&((0,i.V5)()?a=!0:l=!0);let f=(0,i.Pf)()&&(0,i.V5)()&&!(0,i.zc)()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:l,altKey:c,shiftKey:d}):new MouseEvent("click",{metaKey:a,ctrlKey:l,altKey:c,shiftKey:d,bubbles:!0,cancelable:!0});u.isOpening=n,(0,r.A)(e),e.dispatchEvent(f),u.isOpening=!1}function c(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let n=document.createElement("a");n.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(n.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(n.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(n.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(n.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(n),t(n),e.removeChild(n)}}function d(e){let t=l();return{href:(null==e?void 0:e.href)?t.useHref(null==e?void 0:e.href):void 0,target:null==e?void 0:e.target,rel:null==e?void 0:e.rel,download:null==e?void 0:e.download,ping:null==e?void 0:e.ping,referrerPolicy:null==e?void 0:e.referrerPolicy}}u.isOpening=!1},958:function(e,t,n){"use strict";function r(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function i(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function o(){return i(/^Mac/i)}function s(){return i(/^iPad/i)||o()&&navigator.maxTouchPoints>1}function a(){return i(/^iPhone/i)||s()}function l(){return o()||a()}function u(){return r(/AppleWebKit/i)&&!r(/Chrome/i)}function c(){return r(/Android/i)}function d(){return r(/Firefox/i)}n.d(t,{Dt:function(){return c},Pf:function(){return u},V5:function(){return o},ad:function(){return l},gn:function(){return a},vU:function(){return d},zc:function(){return s}})},8e3:function(e,t,n){"use strict";n.d(t,{Q:function(){return s}});let r=new Map,i=new Set;function o(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let o=r.get(n.target);if(o&&(o.delete(n.propertyName),0===o.size&&(n.target.removeEventListener("transitioncancel",t),r.delete(n.target)),0===r.size)){for(let e of i)e();i.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let i=r.get(n.target);i||(i=new Set,r.set(n.target,i),n.target.addEventListener("transitioncancel",t,{once:!0})),i.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function s(e){requestAnimationFrame(()=>{0===r.size?e():i.add(e)})}"undefined"!=typeof document&&("loading"!==document.readyState?o():document.addEventListener("DOMContentLoaded",o))},9588:function(e,t,n){"use strict";n.d(t,{i:function(){return o}});var r=n(2380),i=n(4177);function o(e){let t=(0,i.useRef)(null);return(0,r.b)(()=>{t.current=e},[e]),(0,i.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}},3619:function(e,t,n){"use strict";n.d(t,{x:function(){return i}});var r=n(4177);function i(){let e=(0,r.useRef)(new Map),t=(0,r.useCallback)((t,n,r,i)=>{let o=(null==i?void 0:i.once)?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:o,options:i}),t.addEventListener(n,r,i)},[]),n=(0,r.useCallback)((t,n,r,i)=>{var o;let s=(null===(o=e.current.get(r))||void 0===o?void 0:o.fn)||r;t.removeEventListener(n,s,i),e.current.delete(r)},[]),i=(0,r.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,r.useEffect)(()=>i,[i]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:i}}},9107:function(e,t,n){"use strict";n.d(t,{ur:function(){return c},Me:function(){return u},mp:function(){return d}});var r=n(2380),i=n(9588),o=n(4177),s=n(2677);let a=!!("undefined"!=typeof window&&window.document&&window.document.createElement),l=new Map;function u(e){let[t,n]=(0,o.useState)(e),i=(0,o.useRef)(null),u=(0,s.gP)(t),c=(0,o.useCallback)(e=>{i.current=e},[]);return a&&l.set(u,c),(0,r.b)(()=>()=>{l.delete(u)},[u]),(0,o.useEffect)(()=>{let e=i.current;e&&(i.current=null,n(e))}),u}function c(e,t){if(e===t)return e;let n=l.get(e);if(n)return n(t),t;let r=l.get(t);return r?(r(e),e):t}function d(e=[]){let t=u(),[n,s]=function(e){let[t,n]=(0,o.useState)(e),s=(0,o.useRef)(null),a=(0,i.i)(()=>{if(!s.current)return;let e=s.current.next();if(e.done){s.current=null;return}t===e.value?a():n(e.value)});(0,r.b)(()=>{s.current&&a()});let l=(0,i.i)(e=>{s.current=e(t),a()});return[t,l]}(t),a=(0,o.useCallback)(()=>{s(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,s]);return(0,r.b)(a,[t,a,...e]),n}},2380:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var r=n(4177);let i="undefined"!=typeof document?r.useLayoutEffect:()=>{}},3851:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(2380);function i(e,t){(0,r.b)(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}},4668:function(e,t,n){"use strict";n.d(t,{d:function(){return o}});var r=n(4177),i=n(6681);function o(e){let[t,n]=(0,i.z)(e.isOpen,e.defaultOpen||!1,e.onOpenChange),o=(0,r.useCallback)(()=>{n(!0)},[n]),s=(0,r.useCallback)(()=>{n(!1)},[n]),a=(0,r.useCallback)(()=>{n(!t)},[n,t]);return{isOpen:t,setOpen:n,open:o,close:s,toggle:a}}},6681:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var r=n(4177);function i(e,t,n){let[i,o]=(0,r.useState)(e||t),s=(0,r.useRef)(void 0!==e),a=void 0!==e;(0,r.useEffect)(()=>{let e=s.current;e!==a&&console.warn(`WARN: A component changed from ${e?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}.`),s.current=a},[a]);let l=a?e:i,u=(0,r.useCallback)((e,...t)=>{let r=(e,...t)=>{n&&!Object.is(l,e)&&n(e,...t),a||(l=e)};"function"==typeof e?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((n,...i)=>{let o=e(a?l:n,...i);return(r(o,...t),a)?n:o})):(a||o(e),r(e,...t))},[a,l,n]);return[l,u]}},7449:function(e,t,n){"use strict";n.d(t,{t:function(){return r}});let r=new Set(["opacity","clipPath","filter","transform"])},8824:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});let r="data-"+(0,n(5558).D)("framerAppearId")},5837:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}n.d(t,{H:function(){return r}})},6735:function(e,t,n){"use strict";n.d(t,{C:function(){return r}});let r=e=>Array.isArray(e)},8971:function(e,t,n){"use strict";n.d(t,{M:function(){return y}});var r=n(4746),i=n(4177),o=n(2570);function s(){let e=(0,i.useRef)(!1);return(0,o.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var a=n(8563),l=n(9769),u=n(6645),c=n(7302);class d extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function f({children:e,isPresent:t}){let n=(0,i.useId)(),o=(0,i.useRef)(null),s=(0,i.useRef)({width:0,height:0,top:0,left:0}),{nonce:a}=(0,i.useContext)(c._);return(0,i.useInsertionEffect)(()=>{let{width:e,height:r,top:i,left:l}=s.current;if(t||!o.current||!e||!r)return;o.current.dataset.motionPopId=n;let u=document.createElement("style");return a&&(u.nonce=a),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(` [data-motion-pop-id="${n}"] { position: absolute !important; width: ${e}px !important; diff --git a/_next/static/chunks/pages/devTool-07a8ae8af5fe0260.js b/_next/static/chunks/pages/devTool-07a8ae8af5fe0260.js deleted file mode 100644 index d6864b0..0000000 --- a/_next/static/chunks/pages/devTool-07a8ae8af5fe0260.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[374],{5834:function(e,l,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/devTool",function(){return t(8231)}])},8231:function(e,l,t){"use strict";t.r(l),t.d(l,{default:function(){return eF}});var n,s,i=t(4746),r=t(2700),a=t.n(r),c=t(2551),o=t(4177),d=t(4153),u=t(6139),x=t(1026),h=t(7960);let m=e=>{let{left:l,right:t}=e;return(0,i.jsx)(u.w,{className:"w-full",radius:"sm",children:(0,i.jsx)(x.G,{className:"w-full p-0",children:(0,i.jsxs)(h.oL,{children:[l,t]})})})};var v=t(7954),j=t(3105),p=t(6734),f=t(6388),g=t(3799),w=t(3498),N=t(6721),y=t(1773),S=t(5316);(n=s||(s={})).sm="sm",n.md="md",n.lg="lg";let b=(0,S.eK)(()=>({state:"sm"}),{withActions:e=>({setUISize:l=>e.state=l}),withDeepSelector:!1}),k=e=>{let l=null==e?void 0:e.v,t=null==e?void 0:e.t;if("Element"===t||"Date"===t||"Boolean"===t||"Error"===t||"Number"===t||"Symbol"===t)return l;if((null==e?void 0:e.l)===!1)return"Array"===e.t||"Set"===e.t?"[…]":"Map"===e.t||"Object"===e.t?"{…}":"…";if(null!==l&&"object"==typeof l&&!Array.isArray(l)&&"function"==typeof l[window.Symbol.iterator])return"(…)";if(Array.isArray(l))return l.length>0?"[…]":"[]";if("Null"===t)return"null";if("Undefined"===t)return"undef";if("object"==typeof l)return Object.keys(l).length>0?"{…}":"{}";if("Function"===t)return"".concat(l.substr(0,10)+(l.length>10?"…":""));if("string"!=typeof l)return l;else return"String"===t?'"'.concat(l.substr(0,10)+(l.length>10?"…":""),'"'):"".concat(l.substr(0,10)+(l.length>10?"…":""))};function C(e,l){if("Object"===e){let e=Object.keys(l),t=e.slice(0,3).map(e=>"".concat(e,": ").concat(k(l[e]))).concat(e.length>3?["…"]:[]).join(", ");return"{ ".concat(t," }")}if("Array"!==e)return e;{let e=l.slice(0,4).map(e=>k(e)).concat(l.length>4?["…"]:[]).join(", ");return"[".concat(e,"]")}}let A=e=>{var l;let{item:t}=e,[n,s]=(0,o.useState)(!1),r=t.h,a=n?(0,i.jsx)(w.AS7,{width:"16",height:"16"}):(0,i.jsx)(w.VZf,{width:"16",height:"16"});return r?(0,i.jsx)(z,{name:t.n,item:t.v,prefix:(0,i.jsx)(p.z,{classNames:{content:"p-0"},size:"sm",className:"rounded-sm text-center mr-1 flex-shrink-0 font-[300] !px-1 text-gray-800 dark:text-gray-200 !h-[1.4em] !max-w-[initial] !min-w-[initial]",children:t.i})}):(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:"hook-stack-view",children:[(0,i.jsxs)("div",{className:"flex w-full my-0.5",children:[(0,i.jsx)("span",{className:"text-gray-400 hover:text-gray-700",onClick:()=>s(!n),children:a}),(0,i.jsxs)("div",{className:"max-w-full line-clamp-1",children:[t.n,":"]})]}),(0,i.jsx)("div",{className:"".concat(n?"block":"hidden"," ml-4 my-0.5"),children:null===(l=t.c)||void 0===l?void 0:l.map((e,l)=>(0,i.jsx)(A,{item:e},e.n+"-"+l))})]})})},z=e=>{var l,t,n,s;let{name:r,item:a,prefix:c}=e,[d,u]=(0,o.useState)(!1),x=(0,o.useRef)(!1),h=N.F.useShallowStableSelector(e=>{var l,t;return null===(t=e.data)||void 0===t?void 0:null===(l=t[(null==a?void 0:a.i)||""])||void 0===l?void 0:l.loaded}),m=null!==(l=null==h?void 0:h.v)&&void 0!==l?l:null==a?void 0:a.v,j=null!==(t=null==h?void 0:h.n)&&void 0!==t?t:null==a?void 0:a.n,p=null!==(n=null==h?void 0:h.t)&&void 0!==n?n:null==a?void 0:a.t,f=null!==(s=null==h?void 0:h.c)&&void 0!==s?s:null==a?void 0:a.c,g=(0,o.useMemo)(()=>{if(j)return j;if("Array"===p||"Set"===p||"Map"===p){let e=C("Array",null!=m?m:[]);return"Set"===p||"Map"===p?"".concat(p,"(").concat(e,")"):e}if("Iterable"===p||"Object"===p)return C("Object",null!=m?m:{})},[p,j,m]);if((0,o.useEffect)(()=>{d&&(null==a?void 0:a.l)===!1&&a.i&&!h&&N.F.getActions().setLoading(a.i),d&&(x.current=!0)},[h,d,null==a?void 0:a.i,null==a?void 0:a.l]),!a)return null;let y=a.e,S=d?(0,i.jsx)(w.AS7,{width:"16",height:"16"}):(0,i.jsx)(w.VZf,{width:"16",height:"16"});if(y)return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:"hook-value-view",children:[(0,i.jsxs)("div",{className:"flex w-full my-0.5 items-center",children:[(0,i.jsx)("span",{className:"text-gray-400 hover:text-gray-700",onClick:()=>u(!d),children:S}),c,(0,i.jsxs)("div",{className:"max-w-full line-clamp-1 break-all",children:[r,": ",(0,i.jsx)("span",{className:"hook-value-placeholder",children:m?g:(0,i.jsx)(w.nWS,{className:"inline-block"})})]})]}),(f?d:x.current||d)&&(0,i.jsx)("div",{className:"".concat(d?"block":"hidden"," ml-6 my-0.5"),children:m?Array.isArray(m)?(0,i.jsx)(i.Fragment,{children:m.map((e,l)=>(0,i.jsx)(z,{name:l.toString(),item:e},l))}):(0,i.jsx)(i.Fragment,{children:Object.keys(m).sort().reverse().map(e=>(0,i.jsx)(z,{name:e,item:m[e]},e))}):(0,i.jsx)(v.c,{size:"sm"})})]})});{let e="String"===a.t?'"'.concat(String(a.v),'"'):String(a.v),l=(0,i.jsx)("span",{className:"hook-".concat(a.t),children:e});return(0,i.jsx)("div",{className:"hook-value-view",children:(0,i.jsxs)("div",{className:"flex w-full my-0.5 items-center",children:[(0,i.jsx)("span",{className:"text-transparent",children:S}),c,(0,i.jsxs)("div",{className:"max-w-full line-clamp-1 break-all",children:[r,": ",(0,i.jsx)("span",{className:"hook-value-placeholder",children:l})]})]})})}},O=()=>{let e=(0,y.O)(e=>e.select),l=(0,j.K)(e=>e.nodes),t=b.useShallowStableSelector(e=>e.state),n=l.find(l=>l.i===e),s=null==n?void 0:n.i,r=(null==n?void 0:n._h)||[];return r.length>0?(0,i.jsxs)("div",{className:"p-2",children:[(0,i.jsx)("div",{className:"flex items-center justify-between",children:(0,i.jsx)("span",{children:"hooks"})}),(0,i.jsx)(f.q,{y:1}),(0,i.jsx)("div",{className:"w-full ".concat("sm"===t?"text-[11px]":"md"===t?"text-[12px]":"text-[13px]"," tree-wrapper"),children:r.map((e,l)=>(0,i.jsx)(A,{item:e},s+"-"+l))}),(0,i.jsx)(g.j,{})]}):null};var M=t(154),R=t(418),F=t(715),T=t(1463),_=t(4688),E=t(2825);let q=(0,S.eK)(()=>({state:{}}),{withActions:e=>({highlightNode:(l,t)=>{e.state[l]=t,setTimeout(()=>{delete e.state[l]},3e3)}})});E.s||(window.useHighlightNode=q);var K=t(5720),I=t(5993),L=t(4736),V=t(872);let{setSelect:D,setClose:B,setHover:U}=y.O.getActions(),{add:P,remove:W}=T.M.getActions(),H=(0,o.memo)(e=>{let{node:l}=e,t=(0,F.getFiberTag)(l.t);return(null==t?void 0:t.length)?(0,i.jsx)("div",{className:" gap-x-[2px] flex items-center",children:t.map(e=>(0,i.jsx)(p.z,{size:"sm",color:e.includes("compiler")?"primary":void 0,radius:"none",className:"rounded-md capitalize text-[8px] h-[14px]",children:e},e))}):null});H.displayName="RenderTag";let Z=(0,o.memo)(e=>{let{node:l,isScrolling:t}=e,n=(0,I.i)((0,o.useCallback)(e=>{var t;return null===(t=e.map)||void 0===t?void 0:t[l.k]},[l.k]));return(0,i.jsxs)("div",{"data-key":!0,className:"flex items-center gap-x-[1px] text-[12px]",children:[(0,i.jsx)("div",{className:" text-[#40af2c]",children:"key"}),(0,i.jsx)("div",{className:" text-gray-400",children:"="}),(0,i.jsxs)("div",{className:"flex",children:['"',t?(0,i.jsx)("div",{className:"text-gray-600 max-w-[200px] text-ellipsis overflow-hidden whitespace-nowrap",children:n}):(0,i.jsx)(M.e,{content:n,delay:800,showArrow:!0,color:"foreground",children:(0,i.jsx)("div",{className:"text-gray-600 max-w-[200px] text-ellipsis overflow-hidden whitespace-nowrap",children:n})}),'"']})]})});Z.displayName="RenderKey";let G=e=>{let{node:l,isScrolling:t,className:n,withKey:s=!0,withTag:r=!0,withHMR:a=!0,withSelect:c=!0,withTrigger:d=!0,withCollapse:u=!0}=e,{enableCount:x,enableMis:h}=_.Z.useShallowStableSelector(e=>({enableCount:e.state.enableRuntimeCount,enableMis:e.state.enableRuntimeMis}));(0,o.useLayoutEffect)(()=>(x&&P(l.i),()=>{W(l.i)}),[l,x]);let{c:m,t:v}=L.g.useShallowStableSelector(e=>{var t;return x&&(null===(t=e.state)||void 0===t?void 0:t[l.i])||{}}),j=(0,V.P)((0,o.useCallback)(e=>{var t;return null===(t=e.state)||void 0===t?void 0:t[l.i]},[l.i])),g=(0,K.m)((0,o.useCallback)(e=>{var t;return null===(t=e.state)||void 0===t?void 0:t[l.i]},[l.i])),N=q((0,o.useCallback)(e=>{var t;return null===(t=e.state)||void 0===t?void 0:t[l.i]},[l.i])),S=(0,I.i)((0,o.useCallback)(e=>e.map[l.n],[l.n])),{select:b,closeList:k,selectList:C}=(0,y.O)((0,o.useCallback)(e=>({select:e.select,closeList:e.closeList,selectList:e.selectList}),[])),A=c&&l.i===b,z=u&&(null==k?void 0:k[l.i]),O=(0,o.useMemo)(()=>c&&b&&!A&&(null==C?void 0:C[l.i]),[c,b,A,C,l.i]),R=Array.isArray(null==l?void 0:l.c),F=R?z?(0,i.jsx)(w.VZf,{width:16,height:16}):(0,i.jsx)(w.AS7,{width:16,height:16}):null,T=l._d||0;return(0,i.jsx)("div",{id:"node-"+l.i.toString(),"data-depth":T,onClick:()=>{c&&D(l.i)},onMouseEnter:()=>{c&&U(l.i)},onMouseLeave:()=>{c&&U("")},className:"w-full h-full node-item cursor-pointer rounded-sm select-none "+(n||"")+"".concat(c?O?" node-item-select-hover":" node-item-hover":"")+"".concat(O?" node-item-select":"")+"".concat(A?" node-item-selected":""),children:(0,i.jsxs)("div",{className:"flex items-center h-full w-full px-[2px] relative",children:[A&&(0,i.jsx)("div",{className:"absolute top-0 left-[1px] h-full border-l-2 border-blue-400 rounded-sm pointer-events-none"}),(0,i.jsx)("div",{className:"flex-grow",style:{width:"calc(100%-calc(".concat(T,"*var(--indentation-size)))"),marginLeft:"calc(".concat(T," * var(--indentation-size)")},children:(0,i.jsxs)("div",{"data-content":!0,className:"flex items-center w-fit",children:[u&&(0,i.jsx)("span",{className:" text-gray-400 min-w-[18px]"+(R?" hover:text-gray-700":""),onClick:e=>{e.stopPropagation(),B(l.i)},children:R?t?F:(0,i.jsx)(M.e,{content:z?"Toggle to open":"Toggle to close",delay:800,showArrow:!0,color:"foreground",children:F}):null}),(0,i.jsx)("p",{className:"node-name line-clamp-1",children:S}),r&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.q,{x:1}),(0,i.jsx)(H,{node:l})]}),d&&j>0&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.q,{x:1}),(0,i.jsx)(M.e,{content:"trigger update",showArrow:!0,color:"primary",children:(0,i.jsx)(p.z,{size:"sm",radius:"none",color:"primary",className:"rounded-md capitalize text-[8px] h-[14px]",children:j})})]}),x&&m&&m>0&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.q,{x:1}),(0,i.jsx)(M.e,{content:"run count",showArrow:!0,color:"secondary",children:(0,i.jsxs)(p.z,{size:"sm",radius:"none",color:"secondary",className:"rounded-md capitalize text-[8px] h-[14px]",children:[m,h&&v?" (".concat(v,"ms)"):""]})})]}),a&&g>0&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.q,{x:1}),(0,i.jsx)(M.e,{content:"hmr update",showArrow:!0,color:"success",children:(0,i.jsx)(p.z,{size:"sm",radius:"none",color:"success",className:"rounded-md capitalize text-[8px] h-[14px]",children:g})})]}),N&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.q,{x:1}),(0,i.jsx)(p.z,{size:"sm",radius:"none",color:"warning",className:"rounded-md capitalize text-[8px] h-[14px]",children:N})]}),s&&l.k&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.q,{x:1}),(0,i.jsx)(Z,{node:l,isScrolling:t})]})]})})]})})},J=y.O.getActions().forceReload,X=()=>{let e=(0,y.O)(e=>e.select),l=(0,j.K)(e=>e.nodes),t=b.useShallowStableSelector(e=>e.state),n=l.find(l=>l.i===e);return n?(0,i.jsxs)("div",{className:"p-2 ".concat("sm"===t?"text-[15px]":"md"===t?"text-[16px]":"text-[17px]"," sticky top-0 bg-content1 z-50"),children:[(0,i.jsx)(G,{node:n,withCollapse:!1,withSelect:!1,withKey:!1}),(0,i.jsx)(M.e,{content:"force load",showArrow:!0,color:"foreground",placement:"bottom-end",children:(0,i.jsx)(R.A,{isIconOnly:!0,size:"sm",variant:"flat",className:"absolute right-4 top-0",onClick:J,children:(0,i.jsx)(w.BGW,{width:"10",height:"10"})})}),(0,i.jsx)(g.j,{})]}):null},Y=e=>{let l=(0,o.useRef)(e);return l.current=e,(0,o.useCallback)(function(){for(var e,t,n=arguments.length,s=Array(n),i=0;i{var e;let l=(0,y.O)(e=>e.select),t=(0,j.K)(e=>e.nodes),n=b.useShallowStableSelector(e=>e.state),s=t.find(e=>e.i===l),r=Object.keys((null==s?void 0:null===(e=s.p)||void 0===e?void 0:e.v)||{}),a=null==s?void 0:s.i,c=r.length>0,o="sm"===n?"text-[11px]":"md"===n?"text-[12px]":"text-[13px]",d=Y(e=>{var l,t;let n=r[e];return(0,i.jsx)("div",{className:"".concat(o," tree-wrapper"),children:(0,i.jsx)(z,{name:n,item:null==s?void 0:null===(t=s.p)||void 0===t?void 0:null===(l=t.v)||void 0===l?void 0:l[n]})},a+"-"+e)});return c?(0,i.jsxs)("div",{className:"p-2",children:[(0,i.jsx)("div",{className:"flex items-center justify-between",children:(0,i.jsx)("span",{children:"props"})}),(0,i.jsx)(f.q,{y:1}),(0,i.jsx)("div",{className:"w-full",children:r.map((e,l)=>d(l))}),(0,i.jsx)(g.j,{})]}):null};var Q=t(9676),ee=t(5696),el=t(8344);let et=()=>{let e=(0,y.O)(e=>e.select),l=(0,j.K)(e=>e.nodes),t=b.useShallowStableSelector(e=>e.state),n="sm"===t?"text-[11px]":"md"===t?"text-[12px]":"text-[13px]",s=l.find(l=>l.i===e),r=null==s?void 0:s._t,a=(0,ee.k)(e=>e.filter),c=(0,o.useMemo)(()=>Array.from(a).map(e=>+e),[a]),d=(0,Q.p)(e=>e.list),u=null==r?void 0:r[(null==r?void 0:r.length)-1];(null==u?void 0:u.startsWith("@my-react"))?r=null==r?void 0:r.slice(0,-1):u=void 0;let x=(0,o.useMemo)(()=>null==r?void 0:r.map(e=>d.find(l=>l.i===e)),[d,r]),h=(0,o.useMemo)(()=>null==x?void 0:x.filter(e=>!(0,el.VR)(e,c)),[c,x]),m=Y(e=>{let l=null==h?void 0:h[e];return l?(0,i.jsx)("div",{className:"".concat(n," ml-2 "),children:(0,i.jsx)(G,{node:l,withCollapse:!1})},l.i):null});return(null==h?void 0:h.length)?(0,i.jsxs)("div",{className:"p-2",children:[(0,i.jsx)("div",{children:"renders"}),(0,i.jsx)(f.q,{y:1}),(0,i.jsxs)("div",{className:"w-full",children:[h.map((e,l)=>m(l)),(0,i.jsx)("div",{className:"".concat(n," ml-2 px-[2px]"),children:u||"@my-react"})]}),(0,i.jsx)(g.j,{})]}):null},en=()=>{let e=(0,y.O)(e=>e.select),l=(0,j.K)(e=>e.nodes),t=b.useShallowStableSelector(e=>e.state),n=l.find(l=>l.i===e),s=null==n?void 0:n._s;return(null==s?void 0:s.fileName)?(0,i.jsxs)("div",{className:"p-2",children:[(0,i.jsx)("div",{children:"source"}),(0,i.jsx)(f.q,{y:1}),(0,i.jsx)("div",{className:"w-full",children:(0,i.jsx)("div",{className:"".concat("sm"===t?"text-[11px]":"md"===t?"text-[12px]":"text-[13px]"," ml-2 px-[2px] text-gray-600"),children:(null==s?void 0:s.fileName)+"".concat((null==s?void 0:s.lineNumber)?":"+(null==s?void 0:s.lineNumber):"")+"".concat((null==s?void 0:s.columnNumber)?":"+(null==s?void 0:s.columnNumber):"")})})]}):null},es=()=>{var e,l,t;let n=(0,y.O)(e=>e.select),s=(0,j.K)(e=>e.nodes),r=b.useShallowStableSelector(e=>e.state),a=s.find(e=>e.i===n),c=Object.keys((null==a?void 0:null===(e=a.s)||void 0===e?void 0:e.t)!=="Null"&&(null==a?void 0:null===(l=a.s)||void 0===l?void 0:l.t)!=="Undefined"&&(null==a?void 0:null===(t=a.s)||void 0===t?void 0:t.v)||{}),o=null==a?void 0:a.i,d=c.length>0,u="sm"===r?"text-[11px]":"md"===r?"text-[12px]":"text-[13px]",x=Y(e=>{var l,t;let n=c[e];return(0,i.jsx)("div",{className:"".concat(u," tree-wrapper"),children:(0,i.jsx)(z,{name:n,item:null==a?void 0:null===(t=a.s)||void 0===t?void 0:null===(l=t.v)||void 0===l?void 0:l[n]})},o+"-"+e)});return d?(0,i.jsxs)("div",{className:"p-2",children:[(0,i.jsx)("div",{className:"flex items-center justify-between",children:(0,i.jsx)("span",{children:"states"})}),(0,i.jsx)(f.q,{y:1}),(0,i.jsx)("div",{className:"w-full",children:c.map((e,l)=>x(l))}),(0,i.jsx)(g.j,{})]}):null},ei=()=>{let{loading:e}=j.K.useShallowStableSelector(e=>({nodeList:e.nodes,loading:e.loading}));return e?(0,i.jsx)("div",{className:"node-view h-full p-1 flex items-center justify-center",children:(0,i.jsx)(v.c,{color:"primary"})}):(0,i.jsx)("div",{className:"node-view h-full p-1",children:(0,i.jsxs)("div",{className:"group h-full overflow-auto",children:[(0,i.jsx)(X,{}),(0,i.jsx)($,{}),(0,i.jsx)(es,{}),(0,i.jsx)(O,{}),(0,i.jsx)(et,{}),(0,i.jsx)(en,{})]})})};var er=t(7014),ea=t(2570);let ec=function(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,[t,n]=(0,o.useState)(e);return[t,(0,o.useMemo)(()=>(0,F.debounce)(n,l),[l])]},eo=[],ed={width:0,height:0,left:0,right:0,top:0,bottom:0,x:0,y:0};var eu=t(3586),ex=t(40),eh=t(9634),em=t(9798),ev=t(5017),ej=t(3396),ep=t(3404),ef=t(1638),eg=t(6560),ew=t(8214),eN=t(4180),ey=t(8485),eS=t(4874),eb=t(3256);let{setSelect:ek}=y.O.getActions(),eC=(0,o.memo)(e=>{var l;let{handle:t}=e,[n,s]=(0,o.useState)(""),r=(0,Q.p)(e=>e.list),[a,c]=(0,o.useState)(0),[u,x]=(0,o.useState)([]),[h,m]=(0,o.useState)([]),v=(0,I.i)(e=>e.map),j=u[a],p=null===(l=h[j])||void 0===l?void 0:l.i,g=e=>{if(null==e||e.preventDefault(),n){c(0);let e=r.map(e=>({...e,_name:v[e.n]})),l=e.map((e,l)=>e._name.includes(n)?l:-1).filter(e=>-1!==e);m(e),x(l),0===l.length?d.Am.error("Can't find current name",{position:"top-right"}):d.Am.success("Find ".concat(l.length," items"),{position:"top-right"})}};return(0,o.useEffect)(()=>{c(0),x([])},[n]),(0,o.useEffect)(()=>{void 0!==j&&(null==t||t.scrollToIndex({index:j}),ek(p,!0))},[j,t,p]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("form",{onSubmit:g,children:(0,i.jsx)(eb.Y,{placeholder:"Search component",className:"w-full",value:n,variant:"flat",onChange:e=>s(e.target.value),endContent:(0,i.jsx)(R.A,{isIconOnly:!0,variant:"light",onClick:g,children:(0,i.jsx)(w._Ve,{className:"text-black/50 dark:text-white/90 text-slate-400 flex-shrink-0"})})})}),u.length>1&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.q,{x:2}),(0,i.jsxs)(ex.g,{variant:"flat",children:[(0,i.jsx)(M.e,{content:"Total ".concat(u.length,", current ").concat(a+1),showArrow:!0,color:"foreground",children:(0,i.jsx)(R.A,{isIconOnly:!0,onClick:()=>c(e=>(e-1+u.length)%u.length),isDisabled:0===a,children:(0,i.jsx)(w.Hf3,{})})}),(0,i.jsx)(M.e,{content:"Total ".concat(u.length,", current ").concat(a+1),showArrow:!0,color:"foreground",children:(0,i.jsx)(R.A,{isIconOnly:!0,onClick:()=>c(e=>(e+1)%u.length),isDisabled:a===u.length-1,children:(0,i.jsx)(w.veu,{})})})]})]})]})});eC.displayName="TreeViewSearch";let eA=ee.k.getActions().onChange,ez=(0,o.memo)(e=>{let{handle:l}=e,{isOpen:t,onOpen:n,onClose:r,onOpenChange:a}=(0,eu.q)(),{theme:o,setTheme:d}=(0,c.F)(),{state:u,setEnableHover:x,setEnableUpdate:h,setEnableRuntimeCount:m,setEnableRuntimeMis:v}=(0,_.Z)(),{state:j,setUISize:N}=b(),{state:y,cb:S}=(0,eS.$)(e=>({state:e.state,cb:e.cb})),k=(0,ee.k)(e=>e.filter);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"fixed top-3 right-3 z-10 flex",children:[(0,i.jsx)(eC,{handle:l}),(0,i.jsx)(f.q,{x:2}),(0,i.jsxs)(ex.g,{variant:"flat",children:[(0,i.jsx)(M.e,{content:(0,i.jsx)("p",{className:y?"text-green-400":"text-red-400",children:y?"DevTool Connect":"DevTool DisConnect"}),showArrow:!0,children:(0,i.jsx)(R.A,{isIconOnly:!0,onClick:()=>null==S?void 0:S(),disabled:y,children:y?(0,i.jsx)(w.NhS,{className:"text-green-500"}):(0,i.jsx)(w.xrR,{className:" text-red-500"})})}),(0,i.jsx)(R.A,{isIconOnly:!0,onClick:()=>d("dark"===o?"light":"dark"),children:"dark"===o?(0,i.jsx)(w.kLh,{className:"text-gray-500"}):(0,i.jsx)(w.NWY,{className:"text-yellow-500"})}),(0,i.jsx)(M.e,{content:"Setting",showArrow:!0,color:"foreground",children:(0,i.jsx)(R.A,{isIconOnly:!0,onClick:n,children:(0,i.jsx)(w.UG6,{className:" text-gray-500"})})})]})]}),(0,i.jsx)(eh.R,{isOpen:t,size:"xl",onClose:r,onOpenChange:a,isDismissable:!1,placement:"top",children:(0,i.jsxs)(em.A,{children:[(0,i.jsx)(ev.k,{children:(0,i.jsxs)("h3",{className:"text-[1em]",children:["Setting ",(0,i.jsx)("small",{children:"@my-react"})]})}),(0,i.jsx)(ej.I,{className:"text-[14px]",children:(0,i.jsxs)("div",{className:"flex flex-col gap-y-4",children:[(0,i.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,i.jsx)("p",{className:"whitespace-nowrap text-[14px] text-foreground-500",children:"Filter Node: "}),(0,i.jsx)("div",{className:"flex items-center",children:(0,i.jsx)(ep.g,{selectionMode:"multiple",placeholder:"Select a Type",selectedKeys:k,"aria-label":"Filter Node",className:"flex items-center",radius:"sm",variant:"bordered",size:"lg",onChange:e=>{eA(new Set(e.target.value.split(",")))},children:F.typeKeys.map(e=>(0,i.jsx)(ef.R,{value:e,children:(0,F.getTypeName)(e)},e))})})]}),(0,i.jsx)(g.j,{}),(0,i.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,i.jsx)("p",{className:"whitespace-nowrap text-[14px] text-foreground-500",children:"UI Size: "}),(0,i.jsxs)(eg.X,{value:j,onValueChange:e=>N(e),orientation:"horizontal",classNames:{wrapper:"gap-x-6"},children:[(0,i.jsx)(ew.J,{value:s.sm,children:"Small Size"}),(0,i.jsx)(ew.J,{value:s.md,children:"Medium Size"}),(0,i.jsx)(ew.J,{value:s.lg,children:"Large Size"})]})]}),(0,i.jsx)(g.j,{}),(0,i.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,i.jsx)(eN.K,{isSelected:u.enableUpdate,onValueChange:h,color:"primary",children:(0,i.jsxs)("div",{className:"flex",children:["Highlight Update",(0,i.jsxs)("div",{className:"ml-4 gap-x-2 flex",children:[(0,i.jsx)(p.z,{style:{backgroundColor:F.color.update,mixBlendMode:"difference"},children:"update"}),(0,i.jsx)(p.z,{style:{backgroundColor:F.color.append,mixBlendMode:"difference"},children:"append"}),(0,i.jsx)(p.z,{style:{backgroundColor:F.color.setRef,mixBlendMode:"difference"},children:"setRef"}),(0,i.jsx)(p.z,{style:{backgroundColor:F.color.warn,mixBlendMode:"difference"},children:"warn"})]})]})}),(0,i.jsx)(eN.K,{isSelected:u.enableHover,onValueChange:x,color:"secondary",children:"Hover Overlay"}),(0,i.jsx)(eN.K,{isSelected:u.enableRuntimeCount,onValueChange:m,color:"success",children:"RuntimeCount (DevMode only)"}),(0,i.jsx)(eN.K,{isSelected:u.enableRuntimeMis,isDisabled:!u.enableRuntimeCount,onValueChange:v,color:"warning",children:"RuntimeMis (DevMode only)"})]})]})}),(0,i.jsx)(ey.R,{children:(0,i.jsx)(R.A,{onClick:r,variant:"bordered",children:"Close"})})]})})]})});ez.displayName="TreeViewSetting";let eO=(e,l,t)=>{let n=Array.from(e.querySelectorAll("[data-depth]")),s=e.clientWidth,i=l.current||12;for(let e of(s>t.current&&(i=12),t.current=s,n)){var r;let l=parseInt(e.getAttribute("data-depth")||"0",10)||0;0!==l&&(i=Math.min(i,Math.max(0,s-((null===(r=e.querySelector("[data-content]"))||void 0===r?void 0:r.clientWidth)||0)-6)/l))}l.current=i,e.style.setProperty("--indentation-size","".concat(i,"px")),e.style.setProperty("--width-size","".concat(s,"px"))},eM=(0,o.memo)(e=>{let{onScroll:l,data:t,onMount:n}=e,[r,a]=(0,o.useState)(!1),c=(0,o.useRef)(null),d=y.O.useShallowStableSelector(e=>e.select),u=b.useShallowStableSelector(e=>e.state),x=Y((e,l,n)=>{let{isScrolling:r}=n,a=t[e];return a?(0,i.jsx)(G,{node:a,isScrolling:r,className:u===s.sm?"text-[12px]":u===s.md?"text-[14px]":"text-[16px]"}):null}),h=(0,o.useMemo)(()=>t.findIndex(e=>e.i===d),[t,d]);(0,o.useEffect)(()=>{if(-1!==h){var e;null===(e=c.current)||void 0===e||e.scrollIntoView({index:h})}},[h]);let m=t.length>0;return((0,o.useEffect)(()=>(m&&n(c.current),()=>{n()}),[m,n]),t.length)?(0,i.jsx)(er.OO,{ref:c,overscan:60,isScrolling:a,context:{isScrolling:r},onScroll:l,totalCount:t.length,itemContent:x}):null});eM.displayName="TreeViewImpl";let eR=(0,o.memo)(()=>{let e=(0,o.useRef)(null),l=Q.p.useShallowStableSelector(e=>e.list),{width:t,height:n}=function(e){let{ref:l,cssSelector:t,getEle:n,deps:s}=e,i=(0,o.useRef)(n);i.current=n;let[r,a]=ec(ed,100);return(0,ea.L)(()=>{var e;let n=l?l.current:t?document.querySelector(t):(null===(e=i.current)||void 0===e?void 0:e.call(i))||null;if(n){if(window.ResizeObserver){let e=new ResizeObserver(()=>{a(n.getBoundingClientRect())});return e.observe(n),()=>e.disconnect()}{let e=()=>a(n.getBoundingClientRect());return e(),window.addEventListener("resize",e,{passive:!0}),()=>window.removeEventListener("resize",e)}}},[l,t,a,...s||eo]),r}({ref:e}),[s,r]=(0,o.useState)(),a=(0,o.useRef)(12),c=(0,o.useRef)(t),d=(0,o.useCallback)(()=>{e.current&&eO(e.current,a,c)},[]);return(0,o.useEffect)(()=>{d()},[t,n,l.length,d]),(0,i.jsx)("div",{className:"tree-view h-full p-1",children:(0,i.jsxs)("div",{className:"group h-full transform-gpu",ref:e,children:[(0,i.jsx)(eM,{onScroll:d,data:l,onMount:r}),(0,i.jsx)(ez,{handle:s})]})})});function eF(){let e=(0,eS.$)(e=>e.error),{theme:l}=(0,c.F)();return(0,o.useEffect)(()=>{e&&d.Am.error(e,{position:"top-right"})},[e]),(0,i.jsxs)("main",{className:"flex p-1 h-screen",children:[(0,i.jsx)(a(),{children:(0,i.jsx)("title",{children:"@my-react devtools"})}),(0,i.jsx)(d.x7,{richColors:!0,theme:"dark"===l?"dark":"light"}),(0,i.jsx)(m,{left:(0,i.jsx)(eR,{}),right:(0,i.jsx)(ei,{})})]})}eR.displayName="TreeView"}},function(e){e.O(0,[44,774,888,179],function(){return e(e.s=5834)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/devTool-3bb5e423933d810b.js b/_next/static/chunks/pages/devTool-3bb5e423933d810b.js new file mode 100644 index 0000000..1ddcedf --- /dev/null +++ b/_next/static/chunks/pages/devTool-3bb5e423933d810b.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[374],{5834:function(e,l,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/devTool",function(){return t(8231)}])},8231:function(e,l,t){"use strict";t.r(l),t.d(l,{default:function(){return eF}});var n,s,i=t(4746),r=t(2700),a=t.n(r),c=t(2551),o=t(4177),d=t(4153),u=t(6139),x=t(1026),h=t(7960);let m=e=>{let{left:l,right:t}=e;return(0,i.jsx)(u.w,{className:"w-full",radius:"sm",children:(0,i.jsx)(x.G,{className:"w-full p-0",children:(0,i.jsxs)(h.oL,{children:[l,t]})})})};var v=t(7954),j=t(3105),p=t(6734),f=t(6388),g=t(3799),w=t(3498),N=t(6721),y=t(1773),S=t(5316);(n=s||(s={})).sm="sm",n.md="md",n.lg="lg";let b=(0,S.eK)(()=>({state:"sm"}),{withActions:e=>({setUISize:l=>e.state=l}),withDeepSelector:!1}),k=e=>{let l=null==e?void 0:e.v,t=null==e?void 0:e.t;if("Element"===t||"Date"===t||"Boolean"===t||"Error"===t||"Number"===t||"Symbol"===t)return l;if((null==e?void 0:e.l)===!1)return"Array"===e.t||"Set"===e.t?"[…]":"Map"===e.t||"Object"===e.t?"{…}":"…";if(null!==l&&"object"==typeof l&&!Array.isArray(l)&&"function"==typeof l[window.Symbol.iterator])return"(…)";if(Array.isArray(l))return l.length>0?"[…]":"[]";if("Null"===t)return"null";if("Undefined"===t)return"undef";if("object"==typeof l)return Object.keys(l).length>0?"{…}":"{}";if("Function"===t)return"".concat(l.substr(0,10)+(l.length>10?"…":""));if("string"!=typeof l)return l;else return"String"===t?'"'.concat(l.substr(0,10)+(l.length>10?"…":""),'"'):"".concat(l.substr(0,10)+(l.length>10?"…":""))};function C(e,l){if("Object"===e){let e=Object.keys(l),t=e.slice(0,3).map(e=>"".concat(e,": ").concat(k(l[e]))).concat(e.length>3?["…"]:[]).join(", ");return"{ ".concat(t," }")}if("Array"!==e)return e;{let e=l.slice(0,4).map(e=>k(e)).concat(l.length>4?["…"]:[]).join(", ");return"[".concat(e,"]")}}let A=e=>{var l;let{item:t}=e,[n,s]=(0,o.useState)(!1),r=t.h,a=n?(0,i.jsx)(w.AS7,{width:"16",height:"16"}):(0,i.jsx)(w.VZf,{width:"16",height:"16"});return r?(0,i.jsx)(z,{name:t.n,item:t.v,prefix:(0,i.jsx)(p.z,{classNames:{content:"p-0"},size:"sm",className:"rounded-sm text-center mr-1 flex-shrink-0 font-[300] !px-1 text-gray-800 dark:text-gray-200 !h-[1.4em] !max-w-[initial] !min-w-[initial]",children:t.i})}):(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:"hook-stack-view",children:[(0,i.jsxs)("div",{className:"flex w-full my-0.5",children:[(0,i.jsx)("span",{className:"text-gray-400 hover:text-gray-700",onClick:()=>s(!n),children:a}),(0,i.jsxs)("div",{className:"max-w-full line-clamp-1",children:[t.n,":"]})]}),(0,i.jsx)("div",{className:"".concat(n?"block":"hidden"," ml-4 my-0.5"),children:null===(l=t.c)||void 0===l?void 0:l.map((e,l)=>(0,i.jsx)(A,{item:e},e.n+"-"+l))})]})})},z=e=>{var l,t,n,s;let{name:r,item:a,prefix:c}=e,[d,u]=(0,o.useState)(!1),x=(0,o.useRef)(!1),h=N.F.useShallowStableSelector(e=>{var l,t;return null===(t=e.data)||void 0===t?void 0:null===(l=t[(null==a?void 0:a.i)||""])||void 0===l?void 0:l.loaded}),m=null!==(l=null==h?void 0:h.v)&&void 0!==l?l:null==a?void 0:a.v,j=null!==(t=null==h?void 0:h.n)&&void 0!==t?t:null==a?void 0:a.n,p=null!==(n=null==h?void 0:h.t)&&void 0!==n?n:null==a?void 0:a.t,f=null!==(s=null==h?void 0:h.c)&&void 0!==s?s:null==a?void 0:a.c,g=(0,o.useMemo)(()=>{if(j)return j;if("Array"===p||"Set"===p||"Map"===p){let e=C("Array",null!=m?m:[]);return"Set"===p||"Map"===p?"".concat(p,"(").concat(e,")"):e}if("Iterable"===p||"Object"===p)return C("Object",null!=m?m:{})},[p,j,m]);if((0,o.useEffect)(()=>{d&&(null==a?void 0:a.l)===!1&&a.i&&!h&&N.F.getActions().setLoading(a.i),d&&(x.current=!0)},[h,d,null==a?void 0:a.i,null==a?void 0:a.l]),!a)return null;let y=a.e,S=d?(0,i.jsx)(w.AS7,{width:"16",height:"16"}):(0,i.jsx)(w.VZf,{width:"16",height:"16"});if(y)return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:"hook-value-view",children:[(0,i.jsxs)("div",{className:"flex w-full my-0.5 items-center",children:[(0,i.jsx)("span",{className:"text-gray-400 hover:text-gray-700",onClick:()=>u(!d),children:S}),c,(0,i.jsxs)("div",{className:"max-w-full line-clamp-1 break-all",children:[r,": ",(0,i.jsx)("span",{className:"hook-value-placeholder",children:m?g:(0,i.jsx)(w.nWS,{className:"inline-block"})})]})]}),(f?d:x.current||d)&&(0,i.jsx)("div",{className:"".concat(d?"block":"hidden"," ml-6 my-0.5"),children:m?Array.isArray(m)?(0,i.jsx)(i.Fragment,{children:m.map((e,l)=>(0,i.jsx)(z,{name:l.toString(),item:e},l))}):(0,i.jsx)(i.Fragment,{children:Object.keys(m).sort().reverse().map(e=>(0,i.jsx)(z,{name:e,item:m[e]},e))}):(0,i.jsx)(v.c,{size:"sm"})})]})});{let e="String"===a.t?'"'.concat(String(a.v),'"'):String(a.v),l="ReadError"===a.t,t=(0,i.jsx)("span",{className:"hook-".concat(a.t," ").concat(l?"text-red-300":""),children:e});return(0,i.jsx)("div",{className:"hook-value-view",children:(0,i.jsxs)("div",{className:"flex w-full my-0.5 items-center",children:[(0,i.jsx)("span",{className:"text-transparent",children:S}),c,(0,i.jsxs)("div",{className:"max-w-full line-clamp-1 break-all",children:[r,": ",(0,i.jsx)("span",{className:"hook-value-placeholder",children:t})]})]})})}},O=()=>{let e=(0,y.O)(e=>e.select),l=(0,j.K)(e=>e.nodes),t=b.useShallowStableSelector(e=>e.state),n=l.find(l=>l.i===e),s=null==n?void 0:n.i,r=(null==n?void 0:n._h)||[];return r.length>0?(0,i.jsxs)("div",{className:"p-2",children:[(0,i.jsx)("div",{className:"flex items-center justify-between",children:(0,i.jsx)("span",{children:"hooks"})}),(0,i.jsx)(f.q,{y:1}),(0,i.jsx)("div",{className:"w-full ".concat("sm"===t?"text-[11px]":"md"===t?"text-[12px]":"text-[13px]"," tree-wrapper"),children:r.map((e,l)=>(0,i.jsx)(A,{item:e},s+"-"+l))}),(0,i.jsx)(g.j,{})]}):null};var R=t(154),M=t(418),F=t(715),E=t(1463),T=t(4688),_=t(2825);let q=(0,S.eK)(()=>({state:{}}),{withActions:e=>({highlightNode:(l,t)=>{e.state[l]=t,setTimeout(()=>{delete e.state[l]},3e3)}})});_.s||(window.useHighlightNode=q);var K=t(5720),I=t(5993),L=t(4736),V=t(872);let{setSelect:D,setClose:B,setHover:U}=y.O.getActions(),{add:P,remove:W}=E.M.getActions(),H=(0,o.memo)(e=>{let{node:l}=e,t=(0,F.getFiberTag)(l.t);return(null==t?void 0:t.length)?(0,i.jsx)("div",{className:" gap-x-[2px] flex items-center",children:t.map(e=>(0,i.jsx)(p.z,{size:"sm",color:e.includes("compiler")?"primary":void 0,radius:"none",className:"rounded-md capitalize text-[8px] h-[14px]",children:e},e))}):null});H.displayName="RenderTag";let Z=(0,o.memo)(e=>{let{node:l,isScrolling:t}=e,n=(0,I.i)((0,o.useCallback)(e=>{var t;return null===(t=e.map)||void 0===t?void 0:t[l.k]},[l.k]));return(0,i.jsxs)("div",{"data-key":!0,className:"flex items-center gap-x-[1px] text-[12px]",children:[(0,i.jsx)("div",{className:" text-[#40af2c]",children:"key"}),(0,i.jsx)("div",{className:" text-gray-400",children:"="}),(0,i.jsxs)("div",{className:"flex",children:['"',t?(0,i.jsx)("div",{className:"text-gray-600 max-w-[200px] text-ellipsis overflow-hidden whitespace-nowrap",children:n}):(0,i.jsx)(R.e,{content:n,delay:800,showArrow:!0,color:"foreground",children:(0,i.jsx)("div",{className:"text-gray-600 max-w-[200px] text-ellipsis overflow-hidden whitespace-nowrap",children:n})}),'"']})]})});Z.displayName="RenderKey";let G=e=>{let{node:l,isScrolling:t,className:n,withKey:s=!0,withTag:r=!0,withHMR:a=!0,withSelect:c=!0,withTrigger:d=!0,withCollapse:u=!0}=e,{enableCount:x,enableMis:h}=T.Z.useShallowStableSelector(e=>({enableCount:e.state.enableRuntimeCount,enableMis:e.state.enableRuntimeMis}));(0,o.useLayoutEffect)(()=>(x&&P(l.i),()=>{W(l.i)}),[l,x]);let{c:m,t:v}=L.g.useShallowStableSelector(e=>{var t;return x&&(null===(t=e.state)||void 0===t?void 0:t[l.i])||{}}),j=(0,V.P)((0,o.useCallback)(e=>{var t;return null===(t=e.state)||void 0===t?void 0:t[l.i]},[l.i])),g=(0,K.m)((0,o.useCallback)(e=>{var t;return null===(t=e.state)||void 0===t?void 0:t[l.i]},[l.i])),N=q((0,o.useCallback)(e=>{var t;return null===(t=e.state)||void 0===t?void 0:t[l.i]},[l.i])),S=(0,I.i)((0,o.useCallback)(e=>e.map[l.n],[l.n])),{select:b,closeList:k,selectList:C}=(0,y.O)((0,o.useCallback)(e=>({select:e.select,closeList:e.closeList,selectList:e.selectList}),[])),A=c&&l.i===b,z=u&&(null==k?void 0:k[l.i]),O=(0,o.useMemo)(()=>c&&b&&!A&&(null==C?void 0:C[l.i]),[c,b,A,C,l.i]),M=Array.isArray(null==l?void 0:l.c),F=M?z?(0,i.jsx)(w.VZf,{width:16,height:16}):(0,i.jsx)(w.AS7,{width:16,height:16}):null,E=l._d||0;return(0,i.jsx)("div",{id:"node-"+l.i.toString(),"data-depth":E,onClick:()=>{c&&D(l.i)},onMouseEnter:()=>{c&&U(l.i)},onMouseLeave:()=>{c&&U("")},className:"w-full h-full node-item cursor-pointer rounded-sm select-none "+(n||"")+"".concat(c?O?" node-item-select-hover":" node-item-hover":"")+"".concat(O?" node-item-select":"")+"".concat(A?" node-item-selected":""),children:(0,i.jsxs)("div",{className:"flex items-center h-full w-full px-[2px] relative",children:[A&&(0,i.jsx)("div",{className:"absolute top-0 left-[1px] h-full border-l-2 border-blue-400 rounded-sm pointer-events-none"}),(0,i.jsx)("div",{className:"flex-grow",style:{width:"calc(100%-calc(".concat(E,"*var(--indentation-size)))"),marginLeft:"calc(".concat(E," * var(--indentation-size)")},children:(0,i.jsxs)("div",{"data-content":!0,className:"flex items-center w-fit",children:[u&&(0,i.jsx)("span",{className:" text-gray-400 min-w-[18px]"+(M?" hover:text-gray-700":""),onClick:e=>{e.stopPropagation(),B(l.i)},children:M?t?F:(0,i.jsx)(R.e,{content:z?"Toggle to open":"Toggle to close",delay:800,showArrow:!0,color:"foreground",children:F}):null}),(0,i.jsx)("p",{className:"node-name line-clamp-1",children:S}),r&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.q,{x:1}),(0,i.jsx)(H,{node:l})]}),d&&j>0&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.q,{x:1}),(0,i.jsx)(R.e,{content:"trigger update",showArrow:!0,color:"primary",children:(0,i.jsx)(p.z,{size:"sm",radius:"none",color:"primary",className:"rounded-md capitalize text-[8px] h-[14px]",children:j})})]}),x&&m&&m>0&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.q,{x:1}),(0,i.jsx)(R.e,{content:"run count",showArrow:!0,color:"secondary",children:(0,i.jsxs)(p.z,{size:"sm",radius:"none",color:"secondary",className:"rounded-md capitalize text-[8px] h-[14px]",children:[m,h&&v?" (".concat(v,"ms)"):""]})})]}),a&&g>0&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.q,{x:1}),(0,i.jsx)(R.e,{content:"hmr update",showArrow:!0,color:"success",children:(0,i.jsx)(p.z,{size:"sm",radius:"none",color:"success",className:"rounded-md capitalize text-[8px] h-[14px]",children:g})})]}),N&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.q,{x:1}),(0,i.jsx)(p.z,{size:"sm",radius:"none",color:"warning",className:"rounded-md capitalize text-[8px] h-[14px]",children:N})]}),s&&l.k&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.q,{x:1}),(0,i.jsx)(Z,{node:l,isScrolling:t})]})]})})]})})},J=y.O.getActions().forceReload,X=()=>{let e=(0,y.O)(e=>e.select),l=(0,j.K)(e=>e.nodes),t=b.useShallowStableSelector(e=>e.state),n=l.find(l=>l.i===e);return n?(0,i.jsxs)("div",{className:"p-2 ".concat("sm"===t?"text-[15px]":"md"===t?"text-[16px]":"text-[17px]"," sticky top-0 bg-content1 z-50"),children:[(0,i.jsx)(G,{node:n,withCollapse:!1,withSelect:!1,withKey:!1}),(0,i.jsx)(R.e,{content:"force load",showArrow:!0,color:"foreground",placement:"bottom-end",children:(0,i.jsx)(M.A,{isIconOnly:!0,size:"sm",variant:"flat",className:"absolute right-4 top-0",onClick:J,children:(0,i.jsx)(w.BGW,{width:"10",height:"10"})})}),(0,i.jsx)(g.j,{})]}):null},Y=e=>{let l=(0,o.useRef)(e);return l.current=e,(0,o.useCallback)(function(){for(var e,t,n=arguments.length,s=Array(n),i=0;i{var e;let l=(0,y.O)(e=>e.select),t=(0,j.K)(e=>e.nodes),n=b.useShallowStableSelector(e=>e.state),s=t.find(e=>e.i===l),r=Object.keys((null==s?void 0:null===(e=s.p)||void 0===e?void 0:e.v)||{}),a=null==s?void 0:s.i,c=r.length>0,o="sm"===n?"text-[11px]":"md"===n?"text-[12px]":"text-[13px]",d=Y(e=>{var l,t;let n=r[e];return(0,i.jsx)("div",{className:"".concat(o," tree-wrapper"),children:(0,i.jsx)(z,{name:n,item:null==s?void 0:null===(t=s.p)||void 0===t?void 0:null===(l=t.v)||void 0===l?void 0:l[n]})},a+"-"+e)});return c?(0,i.jsxs)("div",{className:"p-2",children:[(0,i.jsx)("div",{className:"flex items-center justify-between",children:(0,i.jsx)("span",{children:"props"})}),(0,i.jsx)(f.q,{y:1}),(0,i.jsx)("div",{className:"w-full",children:r.map((e,l)=>d(l))}),(0,i.jsx)(g.j,{})]}):null};var Q=t(9676),ee=t(5696),el=t(8344);let et=()=>{let e=(0,y.O)(e=>e.select),l=(0,j.K)(e=>e.nodes),t=b.useShallowStableSelector(e=>e.state),n="sm"===t?"text-[11px]":"md"===t?"text-[12px]":"text-[13px]",s=l.find(l=>l.i===e),r=null==s?void 0:s._t,a=(0,ee.k)(e=>e.filter),c=(0,o.useMemo)(()=>Array.from(a).map(e=>+e),[a]),d=(0,Q.p)(e=>e.list),u=null==r?void 0:r[(null==r?void 0:r.length)-1];(null==u?void 0:u.startsWith("@my-react"))?r=null==r?void 0:r.slice(0,-1):u=void 0;let x=(0,o.useMemo)(()=>null==r?void 0:r.map(e=>d.find(l=>l.i===e)),[d,r]),h=(0,o.useMemo)(()=>null==x?void 0:x.filter(e=>!(0,el.VR)(e,c)),[c,x]),m=Y(e=>{let l=null==h?void 0:h[e];return l?(0,i.jsx)("div",{className:"".concat(n," ml-2 "),children:(0,i.jsx)(G,{node:l,withCollapse:!1})},l.i):null});return(null==h?void 0:h.length)?(0,i.jsxs)("div",{className:"p-2",children:[(0,i.jsx)("div",{children:"renders"}),(0,i.jsx)(f.q,{y:1}),(0,i.jsxs)("div",{className:"w-full",children:[h.map((e,l)=>m(l)),(0,i.jsx)("div",{className:"".concat(n," ml-2 px-[2px]"),children:u||"@my-react"})]}),(0,i.jsx)(g.j,{})]}):null},en=()=>{let e=(0,y.O)(e=>e.select),l=(0,j.K)(e=>e.nodes),t=b.useShallowStableSelector(e=>e.state),n=l.find(l=>l.i===e),s=null==n?void 0:n._s;return(null==s?void 0:s.fileName)?(0,i.jsxs)("div",{className:"p-2",children:[(0,i.jsx)("div",{children:"source"}),(0,i.jsx)(f.q,{y:1}),(0,i.jsx)("div",{className:"w-full",children:(0,i.jsx)("div",{className:"".concat("sm"===t?"text-[11px]":"md"===t?"text-[12px]":"text-[13px]"," ml-2 px-[2px] text-gray-600"),children:(null==s?void 0:s.fileName)+"".concat((null==s?void 0:s.lineNumber)?":"+(null==s?void 0:s.lineNumber):"")+"".concat((null==s?void 0:s.columnNumber)?":"+(null==s?void 0:s.columnNumber):"")})})]}):null},es=()=>{var e,l,t;let n=(0,y.O)(e=>e.select),s=(0,j.K)(e=>e.nodes),r=b.useShallowStableSelector(e=>e.state),a=s.find(e=>e.i===n),c=Object.keys((null==a?void 0:null===(e=a.s)||void 0===e?void 0:e.t)!=="Null"&&(null==a?void 0:null===(l=a.s)||void 0===l?void 0:l.t)!=="Undefined"&&(null==a?void 0:null===(t=a.s)||void 0===t?void 0:t.v)||{}),o=null==a?void 0:a.i,d=c.length>0,u="sm"===r?"text-[11px]":"md"===r?"text-[12px]":"text-[13px]",x=Y(e=>{var l,t;let n=c[e];return(0,i.jsx)("div",{className:"".concat(u," tree-wrapper"),children:(0,i.jsx)(z,{name:n,item:null==a?void 0:null===(t=a.s)||void 0===t?void 0:null===(l=t.v)||void 0===l?void 0:l[n]})},o+"-"+e)});return d?(0,i.jsxs)("div",{className:"p-2",children:[(0,i.jsx)("div",{className:"flex items-center justify-between",children:(0,i.jsx)("span",{children:"states"})}),(0,i.jsx)(f.q,{y:1}),(0,i.jsx)("div",{className:"w-full",children:c.map((e,l)=>x(l))}),(0,i.jsx)(g.j,{})]}):null},ei=()=>{let{loading:e}=j.K.useShallowStableSelector(e=>({nodeList:e.nodes,loading:e.loading}));return e?(0,i.jsx)("div",{className:"node-view h-full p-1 flex items-center justify-center",children:(0,i.jsx)(v.c,{color:"primary"})}):(0,i.jsx)("div",{className:"node-view h-full p-1",children:(0,i.jsxs)("div",{className:"group h-full overflow-auto",children:[(0,i.jsx)(X,{}),(0,i.jsx)($,{}),(0,i.jsx)(es,{}),(0,i.jsx)(O,{}),(0,i.jsx)(et,{}),(0,i.jsx)(en,{})]})})};var er=t(7014),ea=t(2570);let ec=function(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,[t,n]=(0,o.useState)(e);return[t,(0,o.useMemo)(()=>(0,F.debounce)(n,l),[l])]},eo=[],ed={width:0,height:0,left:0,right:0,top:0,bottom:0,x:0,y:0};var eu=t(3586),ex=t(40),eh=t(9634),em=t(9798),ev=t(5017),ej=t(3396),ep=t(3404),ef=t(1638),eg=t(6560),ew=t(8214),eN=t(4180),ey=t(8485),eS=t(4874),eb=t(3256);let{setSelect:ek}=y.O.getActions(),eC=(0,o.memo)(e=>{var l;let{handle:t}=e,[n,s]=(0,o.useState)(""),r=(0,Q.p)(e=>e.list),[a,c]=(0,o.useState)(0),[u,x]=(0,o.useState)([]),[h,m]=(0,o.useState)([]),v=(0,I.i)(e=>e.map),j=u[a],p=null===(l=h[j])||void 0===l?void 0:l.i,g=e=>{if(null==e||e.preventDefault(),n){c(0);let e=r.map(e=>({...e,_name:v[e.n]})),l=e.map((e,l)=>e._name.includes(n)?l:-1).filter(e=>-1!==e);m(e),x(l),0===l.length?d.Am.error("Can't find current name",{position:"top-right"}):d.Am.success("Find ".concat(l.length," items"),{position:"top-right"})}};return(0,o.useEffect)(()=>{c(0),x([])},[n]),(0,o.useEffect)(()=>{void 0!==j&&(null==t||t.scrollToIndex({index:j}),ek(p,!0))},[j,t,p]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("form",{onSubmit:g,children:(0,i.jsx)(eb.Y,{placeholder:"Search component",className:"w-full",value:n,variant:"flat",onChange:e=>s(e.target.value),endContent:(0,i.jsx)(M.A,{isIconOnly:!0,variant:"light",onClick:g,children:(0,i.jsx)(w._Ve,{className:"text-black/50 dark:text-white/90 text-slate-400 flex-shrink-0"})})})}),u.length>1&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.q,{x:2}),(0,i.jsxs)(ex.g,{variant:"flat",children:[(0,i.jsx)(R.e,{content:"Total ".concat(u.length,", current ").concat(a+1),showArrow:!0,color:"foreground",children:(0,i.jsx)(M.A,{isIconOnly:!0,onClick:()=>c(e=>(e-1+u.length)%u.length),isDisabled:0===a,children:(0,i.jsx)(w.Hf3,{})})}),(0,i.jsx)(R.e,{content:"Total ".concat(u.length,", current ").concat(a+1),showArrow:!0,color:"foreground",children:(0,i.jsx)(M.A,{isIconOnly:!0,onClick:()=>c(e=>(e+1)%u.length),isDisabled:a===u.length-1,children:(0,i.jsx)(w.veu,{})})})]})]})]})});eC.displayName="TreeViewSearch";let eA=ee.k.getActions().onChange,ez=(0,o.memo)(e=>{let{handle:l}=e,{isOpen:t,onOpen:n,onClose:r,onOpenChange:a}=(0,eu.q)(),{theme:o,setTheme:d}=(0,c.F)(),{state:u,setEnableHover:x,setEnableUpdate:h,setEnableRuntimeCount:m,setEnableRuntimeMis:v}=(0,T.Z)(),{state:j,setUISize:N}=b(),{state:y,cb:S}=(0,eS.$)(e=>({state:e.state,cb:e.cb})),k=(0,ee.k)(e=>e.filter);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"fixed top-3 right-3 z-10 flex",children:[(0,i.jsx)(eC,{handle:l}),(0,i.jsx)(f.q,{x:2}),(0,i.jsxs)(ex.g,{variant:"flat",children:[(0,i.jsx)(R.e,{content:(0,i.jsx)("p",{className:y?"text-green-400":"text-red-400",children:y?"DevTool Connect":"DevTool DisConnect"}),showArrow:!0,children:(0,i.jsx)(M.A,{isIconOnly:!0,onClick:()=>null==S?void 0:S(),disabled:y,children:y?(0,i.jsx)(w.NhS,{className:"text-green-500"}):(0,i.jsx)(w.xrR,{className:" text-red-500"})})}),(0,i.jsx)(M.A,{isIconOnly:!0,onClick:()=>d("dark"===o?"light":"dark"),children:"dark"===o?(0,i.jsx)(w.kLh,{className:"text-gray-500"}):(0,i.jsx)(w.NWY,{className:"text-yellow-500"})}),(0,i.jsx)(R.e,{content:"Setting",showArrow:!0,color:"foreground",children:(0,i.jsx)(M.A,{isIconOnly:!0,onClick:n,children:(0,i.jsx)(w.UG6,{className:" text-gray-500"})})})]})]}),(0,i.jsx)(eh.R,{isOpen:t,size:"xl",onClose:r,onOpenChange:a,isDismissable:!1,placement:"top",children:(0,i.jsxs)(em.A,{children:[(0,i.jsx)(ev.k,{children:(0,i.jsxs)("h3",{className:"text-[1em]",children:["Setting ",(0,i.jsx)("small",{children:"@my-react"})]})}),(0,i.jsx)(ej.I,{className:"text-[14px]",children:(0,i.jsxs)("div",{className:"flex flex-col gap-y-4",children:[(0,i.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,i.jsx)("p",{className:"whitespace-nowrap text-[14px] text-foreground-500",children:"Filter Node: "}),(0,i.jsx)("div",{className:"flex items-center",children:(0,i.jsx)(ep.g,{selectionMode:"multiple",placeholder:"Select a Type",selectedKeys:k,"aria-label":"Filter Node",className:"flex items-center",radius:"sm",variant:"bordered",size:"lg",onChange:e=>{eA(new Set(e.target.value.split(",")))},children:F.typeKeys.map(e=>(0,i.jsx)(ef.R,{value:e,children:(0,F.getTypeName)(e)},e))})})]}),(0,i.jsx)(g.j,{}),(0,i.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,i.jsx)("p",{className:"whitespace-nowrap text-[14px] text-foreground-500",children:"UI Size: "}),(0,i.jsxs)(eg.X,{value:j,onValueChange:e=>N(e),orientation:"horizontal",classNames:{wrapper:"gap-x-6"},children:[(0,i.jsx)(ew.J,{value:s.sm,children:"Small Size"}),(0,i.jsx)(ew.J,{value:s.md,children:"Medium Size"}),(0,i.jsx)(ew.J,{value:s.lg,children:"Large Size"})]})]}),(0,i.jsx)(g.j,{}),(0,i.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,i.jsx)(eN.K,{isSelected:u.enableUpdate,onValueChange:h,color:"primary",children:(0,i.jsxs)("div",{className:"flex",children:["Highlight Update",(0,i.jsxs)("div",{className:"ml-4 gap-x-2 flex",children:[(0,i.jsx)(p.z,{style:{backgroundColor:F.color.update,mixBlendMode:"difference"},children:"update"}),(0,i.jsx)(p.z,{style:{backgroundColor:F.color.append,mixBlendMode:"difference"},children:"append"}),(0,i.jsx)(p.z,{style:{backgroundColor:F.color.setRef,mixBlendMode:"difference"},children:"setRef"}),(0,i.jsx)(p.z,{style:{backgroundColor:F.color.warn,mixBlendMode:"difference"},children:"warn"})]})]})}),(0,i.jsx)(eN.K,{isSelected:u.enableHover,onValueChange:x,color:"secondary",children:"Hover Overlay"}),(0,i.jsx)(eN.K,{isSelected:u.enableRuntimeCount,onValueChange:m,color:"success",children:"RuntimeCount (DevMode only)"}),(0,i.jsx)(eN.K,{isSelected:u.enableRuntimeMis,isDisabled:!u.enableRuntimeCount,onValueChange:v,color:"warning",children:"RuntimeMis (DevMode only)"})]})]})}),(0,i.jsx)(ey.R,{children:(0,i.jsx)(M.A,{onClick:r,variant:"bordered",children:"Close"})})]})})]})});ez.displayName="TreeViewSetting";let eO=(e,l,t)=>{let n=Array.from(e.querySelectorAll("[data-depth]")),s=e.clientWidth,i=l.current||12;for(let e of(s>t.current&&(i=12),t.current=s,n)){var r;let l=parseInt(e.getAttribute("data-depth")||"0",10)||0;0!==l&&(i=Math.min(i,Math.max(0,s-((null===(r=e.querySelector("[data-content]"))||void 0===r?void 0:r.clientWidth)||0)-6)/l))}l.current=i,e.style.setProperty("--indentation-size","".concat(i,"px")),e.style.setProperty("--width-size","".concat(s,"px"))},eR=(0,o.memo)(e=>{let{onScroll:l,data:t,onMount:n}=e,[r,a]=(0,o.useState)(!1),c=(0,o.useRef)(null),d=y.O.useShallowStableSelector(e=>e.select),u=b.useShallowStableSelector(e=>e.state),x=Y((e,l,n)=>{let{isScrolling:r}=n,a=t[e];return a?(0,i.jsx)(G,{node:a,isScrolling:r,className:u===s.sm?"text-[12px]":u===s.md?"text-[14px]":"text-[16px]"}):null}),h=(0,o.useMemo)(()=>t.findIndex(e=>e.i===d),[t,d]);(0,o.useEffect)(()=>{if(-1!==h){var e;null===(e=c.current)||void 0===e||e.scrollIntoView({index:h})}},[h]);let m=t.length>0;return((0,o.useEffect)(()=>(m&&n(c.current),()=>{n()}),[m,n]),t.length)?(0,i.jsx)(er.OO,{ref:c,overscan:60,isScrolling:a,context:{isScrolling:r},onScroll:l,totalCount:t.length,itemContent:x}):null});eR.displayName="TreeViewImpl";let eM=(0,o.memo)(()=>{let e=(0,o.useRef)(null),l=Q.p.useShallowStableSelector(e=>e.list),{width:t,height:n}=function(e){let{ref:l,cssSelector:t,getEle:n,deps:s}=e,i=(0,o.useRef)(n);i.current=n;let[r,a]=ec(ed,100);return(0,ea.L)(()=>{var e;let n=l?l.current:t?document.querySelector(t):(null===(e=i.current)||void 0===e?void 0:e.call(i))||null;if(n){if(window.ResizeObserver){let e=new ResizeObserver(()=>{a(n.getBoundingClientRect())});return e.observe(n),()=>e.disconnect()}{let e=()=>a(n.getBoundingClientRect());return e(),window.addEventListener("resize",e,{passive:!0}),()=>window.removeEventListener("resize",e)}}},[l,t,a,...s||eo]),r}({ref:e}),[s,r]=(0,o.useState)(),a=(0,o.useRef)(12),c=(0,o.useRef)(t),d=(0,o.useCallback)(()=>{e.current&&eO(e.current,a,c)},[]);return(0,o.useEffect)(()=>{d()},[t,n,l.length,d]),(0,i.jsx)("div",{className:"tree-view h-full p-1",children:(0,i.jsxs)("div",{className:"group h-full transform-gpu",ref:e,children:[(0,i.jsx)(eR,{onScroll:d,data:l,onMount:r}),(0,i.jsx)(ez,{handle:s})]})})});function eF(){let e=(0,eS.$)(e=>e.error),{theme:l}=(0,c.F)();return(0,o.useEffect)(()=>{e&&d.Am.error(e,{position:"top-right"})},[e]),(0,i.jsxs)("main",{className:"flex p-1 h-screen",children:[(0,i.jsx)(a(),{children:(0,i.jsx)("title",{children:"@my-react devtools"})}),(0,i.jsx)(d.x7,{richColors:!0,theme:"dark"===l?"dark":"light"}),(0,i.jsx)(m,{left:(0,i.jsx)(eM,{}),right:(0,i.jsx)(ei,{})})]})}eM.displayName="TreeView"}},function(e){e.O(0,[44,774,888,179],function(){return e(e.s=5834)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/sMZVGQRFGxm_UFlzh9QcF/_buildManifest.js b/_next/static/uYklmXRPGaI2xB4hM_aFZ/_buildManifest.js similarity index 88% rename from _next/static/sMZVGQRFGxm_UFlzh9QcF/_buildManifest.js rename to _next/static/uYklmXRPGaI2xB4hM_aFZ/_buildManifest.js index 4634cfd..60d236a 100644 --- a/_next/static/sMZVGQRFGxm_UFlzh9QcF/_buildManifest.js +++ b/_next/static/uYklmXRPGaI2xB4hM_aFZ/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST={__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":["static/chunks/pages/index-9b53bcf327468799.js"],"/_error":["static/chunks/pages/_error-99007ea416ced0f3.js"],"/devTool":["static/chunks/44-4fe9fef5d2c1360e.js","static/chunks/pages/devTool-07a8ae8af5fe0260.js"],"/disablePopup":["static/chunks/pages/disablePopup-83a2971861dfa49f.js"],"/enablePopup":["static/chunks/pages/enablePopup-7a32dd45cc6efb9d.js"],sortedPages:["/","/_app","/_error","/devTool","/disablePopup","/enablePopup"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST={__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":["static/chunks/pages/index-9b53bcf327468799.js"],"/_error":["static/chunks/pages/_error-99007ea416ced0f3.js"],"/devTool":["static/chunks/44-4fe9fef5d2c1360e.js","static/chunks/pages/devTool-3bb5e423933d810b.js"],"/disablePopup":["static/chunks/pages/disablePopup-83a2971861dfa49f.js"],"/enablePopup":["static/chunks/pages/enablePopup-7a32dd45cc6efb9d.js"],sortedPages:["/","/_app","/_error","/devTool","/disablePopup","/enablePopup"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/sMZVGQRFGxm_UFlzh9QcF/_ssgManifest.js b/_next/static/uYklmXRPGaI2xB4hM_aFZ/_ssgManifest.js similarity index 100% rename from _next/static/sMZVGQRFGxm_UFlzh9QcF/_ssgManifest.js rename to _next/static/uYklmXRPGaI2xB4hM_aFZ/_ssgManifest.js diff --git a/bundle/detector.js b/bundle/detector.js index 7d8c4de..5a9852e 100644 --- a/bundle/detector.js +++ b/bundle/detector.js @@ -838,42 +838,51 @@ }; var getNode = function (value, deep) { if (deep === void 0) { deep = 3; } - var type = getType(value); - var expandable = isObject(type); - if (expandable) { - // full deep to load - return getNodeWithCache(value, type, deep); - } - else { - if (type === "Element") { - return { - t: type, - v: "<".concat(value.tagName.toLowerCase(), " />"), - e: expandable, - }; - } - if (type === "Error") { - return { - t: type, - v: value.message, - e: expandable, - }; - } - if (typeof value === 'object' && value !== null) { - return { - t: type, - v: Object.prototype.toString.call(value), - e: expandable, - }; + try { + var type = getType(value); + var expandable = isObject(type); + if (expandable) { + // full deep to load + return getNodeWithCache(value, type, deep); } else { - return { - t: type, - v: String(value), - e: expandable, - }; + if (type === "Element") { + return { + t: type, + v: "<".concat(value.tagName.toLowerCase(), " />"), + e: expandable, + }; + } + if (type === "Error") { + return { + t: type, + v: value.message, + e: expandable, + }; + } + if (typeof value === "object" && value !== null) { + return { + t: type, + v: Object.prototype.toString.call(value), + e: expandable, + }; + } + else { + return { + t: type, + v: String(value), + e: expandable, + }; + } } } + catch (e) { + return { + t: "ReadError", + v: "Read data error: " + e.message, + e: false, + }; + } }; var getNodeForce = function (value, deep) { if (deep === void 0) { deep = 3; } diff --git a/bundle/hook.js b/bundle/hook.js index 213f421..223293b 100644 --- a/bundle/hook.js +++ b/bundle/hook.js @@ -911,42 +911,51 @@ }; var getNode = function (value, deep) { if (deep === void 0) { deep = 3; } - var type = getType(value); - var expandable = isObject(type); - if (expandable) { - // full deep to load - return getNodeWithCache(value, type, deep); - } - else { - if (type === "Element") { - return { - t: type, - v: "<".concat(value.tagName.toLowerCase(), " />"), - e: expandable, - }; - } - if (type === "Error") { - return { - t: type, - v: value.message, - e: expandable, - }; - } - if (typeof value === 'object' && value !== null) { - return { - t: type, - v: Object.prototype.toString.call(value), - e: expandable, - }; + try { + var type = getType(value); + var expandable = isObject(type); + if (expandable) { + // full deep to load + return getNodeWithCache(value, type, deep); } else { - return { - t: type, - v: String(value), - e: expandable, - }; + if (type === "Element") { + return { + t: type, + v: "<".concat(value.tagName.toLowerCase(), " />"), + e: expandable, + }; + } + if (type === "Error") { + return { + t: type, + v: value.message, + e: expandable, + }; + } + if (typeof value === "object" && value !== null) { + return { + t: type, + v: Object.prototype.toString.call(value), + e: expandable, + }; + } + else { + return { + t: type, + v: String(value), + e: expandable, + }; + } } } + catch (e) { + return { + t: "ReadError", + v: "Read data error: " + e.message, + e: false, + }; + } }; var getNodeForce = function (value, deep) { if (deep === void 0) { deep = 3; } diff --git a/bundle/panel.js b/bundle/panel.js index 245affc..54730ac 100644 --- a/bundle/panel.js +++ b/bundle/panel.js @@ -909,42 +909,51 @@ }; var getNode = function (value, deep) { if (deep === void 0) { deep = 3; } - var type = getType(value); - var expandable = isObject(type); - if (expandable) { - // full deep to load - return getNodeWithCache(value, type, deep); - } - else { - if (type === "Element") { - return { - t: type, - v: "<".concat(value.tagName.toLowerCase(), " />"), - e: expandable, - }; - } - if (type === "Error") { - return { - t: type, - v: value.message, - e: expandable, - }; - } - if (typeof value === 'object' && value !== null) { - return { - t: type, - v: Object.prototype.toString.call(value), - e: expandable, - }; + try { + var type = getType(value); + var expandable = isObject(type); + if (expandable) { + // full deep to load + return getNodeWithCache(value, type, deep); } else { - return { - t: type, - v: String(value), - e: expandable, - }; + if (type === "Element") { + return { + t: type, + v: "<".concat(value.tagName.toLowerCase(), " />"), + e: expandable, + }; + } + if (type === "Error") { + return { + t: type, + v: value.message, + e: expandable, + }; + } + if (typeof value === "object" && value !== null) { + return { + t: type, + v: Object.prototype.toString.call(value), + e: expandable, + }; + } + else { + return { + t: type, + v: String(value), + e: expandable, + }; + } } } + catch (e) { + return { + t: "ReadError", + v: "Read data error: " + e.message, + e: false, + }; + } }; var getNodeForce = function (value, deep) { if (deep === void 0) { deep = 3; } diff --git a/bundle/proxy.js b/bundle/proxy.js index 71c7ad4..43dd1f7 100644 --- a/bundle/proxy.js +++ b/bundle/proxy.js @@ -838,42 +838,51 @@ }; var getNode = function (value, deep) { if (deep === void 0) { deep = 3; } - var type = getType(value); - var expandable = isObject(type); - if (expandable) { - // full deep to load - return getNodeWithCache(value, type, deep); - } - else { - if (type === "Element") { - return { - t: type, - v: "<".concat(value.tagName.toLowerCase(), " />"), - e: expandable, - }; - } - if (type === "Error") { - return { - t: type, - v: value.message, - e: expandable, - }; - } - if (typeof value === 'object' && value !== null) { - return { - t: type, - v: Object.prototype.toString.call(value), - e: expandable, - }; + try { + var type = getType(value); + var expandable = isObject(type); + if (expandable) { + // full deep to load + return getNodeWithCache(value, type, deep); } else { - return { - t: type, - v: String(value), - e: expandable, - }; + if (type === "Element") { + return { + t: type, + v: "<".concat(value.tagName.toLowerCase(), " />"), + e: expandable, + }; + } + if (type === "Error") { + return { + t: type, + v: value.message, + e: expandable, + }; + } + if (typeof value === "object" && value !== null) { + return { + t: type, + v: Object.prototype.toString.call(value), + e: expandable, + }; + } + else { + return { + t: type, + v: String(value), + e: expandable, + }; + } } } + catch (e) { + return { + t: "ReadError", + v: "Read data error: " + e.message, + e: false, + }; + } }; var getNodeForce = function (value, deep) { if (deep === void 0) { deep = 3; } diff --git a/bundle/service-worker.js b/bundle/service-worker.js index 746a606..8207501 100644 --- a/bundle/service-worker.js +++ b/bundle/service-worker.js @@ -838,42 +838,51 @@ }; var getNode = function (value, deep) { if (deep === void 0) { deep = 3; } - var type = getType(value); - var expandable = isObject(type); - if (expandable) { - // full deep to load - return getNodeWithCache(value, type, deep); - } - else { - if (type === "Element") { - return { - t: type, - v: "<".concat(value.tagName.toLowerCase(), " />"), - e: expandable, - }; - } - if (type === "Error") { - return { - t: type, - v: value.message, - e: expandable, - }; - } - if (typeof value === 'object' && value !== null) { - return { - t: type, - v: Object.prototype.toString.call(value), - e: expandable, - }; + try { + var type = getType(value); + var expandable = isObject(type); + if (expandable) { + // full deep to load + return getNodeWithCache(value, type, deep); } else { - return { - t: type, - v: String(value), - e: expandable, - }; + if (type === "Element") { + return { + t: type, + v: "<".concat(value.tagName.toLowerCase(), " />"), + e: expandable, + }; + } + if (type === "Error") { + return { + t: type, + v: value.message, + e: expandable, + }; + } + if (typeof value === "object" && value !== null) { + return { + t: type, + v: Object.prototype.toString.call(value), + e: expandable, + }; + } + else { + return { + t: type, + v: String(value), + e: expandable, + }; + } } } + catch (e) { + return { + t: "ReadError", + v: "Read data error: " + e.message, + e: false, + }; + } }; var getNodeForce = function (value, deep) { if (deep === void 0) { deep = 3; } diff --git a/devTool.html b/devTool.html index c89c2d4..79fe311 100644 --- a/devTool.html +++ b/devTool.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/disablePopup.html b/disablePopup.html index 3776b56..34f07b4 100644 --- a/disablePopup.html +++ b/disablePopup.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/enablePopup.html b/enablePopup.html index e0b1090..302d5e0 100644 --- a/enablePopup.html +++ b/enablePopup.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/index.html b/index.html index 46dd100..5401361 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file