1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4125],{59294:(e,t,r)=>{"use strict";r.d(t,{tb:()=>G});var n,i,o=[],a="ResizeObserver loop completed with undelivered notifications.",l=function(){var e;"function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:a}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=a),window.dispatchEvent(e)};!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(n||(n={}));var s=function(e){return Object.freeze(e)},u=function(e,t){this.inlineSize=e,this.blockSize=t,s(this)},c=function(){function e(e,t,r,n){return this.x=e,this.y=t,this.width=r,this.height=n,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,s(this)}return e.prototype.toJSON=function(){return{x:this.x,y:this.y,top:this.top,right:this.right,bottom:this.bottom,left:this.left,width:this.width,height:this.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),f=function(e){return e instanceof SVGElement&&"getBBox"in e},d=function(e){if(f(e)){var t=e.getBBox(),r=t.width,n=t.height;return!r&&!n}var i=e.offsetWidth,o=e.offsetHeight;return!(i||o||e.getClientRects().length)},h=function(e){if(e instanceof Element)return!0;var t,r=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(r&&e instanceof r.Element)},g=function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},p="undefined"!=typeof window?window:{},b=new WeakMap,m=/auto|scroll/,y=/^tb|vertical/,v=/msie|trident/i.test(p.navigator&&p.navigator.userAgent),w=function(e){return parseFloat(e||"0")},x=function(e,t,r){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=!1),new u((r?t:e)||0,(r?e:t)||0)},k=s({devicePixelContentBoxSize:x(),borderBoxSize:x(),contentBoxSize:x(),contentRect:new c(0,0,0,0)}),S=function(e,t){if(void 0===t&&(t=!1),b.has(e)&&!t)return b.get(e);if(d(e))return b.set(e,k),k;var r=getComputedStyle(e),n=f(e)&&e.ownerSVGElement&&e.getBBox(),i=!v&&"border-box"===r.boxSizing,o=y.test(r.writingMode||""),a=!n&&m.test(r.overflowY||""),l=!n&&m.test(r.overflowX||""),u=n?0:w(r.paddingTop),h=n?0:w(r.paddingRight),g=n?0:w(r.paddingBottom),p=n?0:w(r.paddingLeft),S=n?0:w(r.borderTopWidth),E=n?0:w(r.borderRightWidth),O=n?0:w(r.borderBottomWidth),R=n?0:w(r.borderLeftWidth),A=p+h,C=u+g,_=R+E,P=S+O,M=l?e.offsetHeight-P-e.clientHeight:0,j=a?e.offsetWidth-_-e.clientWidth:0,I=n?n.width:w(r.width)-(i?A+_:0)-j,z=n?n.height:w(r.height)-(i?C+P:0)-M,$=I+A+j+_,L=z+C+M+P,T=s({devicePixelContentBoxSize:x(Math.round(I*devicePixelRatio),Math.round(z*devicePixelRatio),o),borderBoxSize:x($,
1L,o),contentBoxSize:x(I,z,o),contentRect:new c(p,u,I,z)});return b.set(e,T),T},E=function(e,t,r){var i=S(e,r),o=i.borderBoxSize,a=i.contentBoxSize,l=i.devicePixelContentBoxSize;switch(t){case n.DEVICE_PIXEL_CONTENT_BOX:return l;case n.BORDER_BOX:return o;default:return a}},O=function(e){var t=S(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=s([t.borderBoxSize]),this.contentBoxSize=s([t.contentBoxSize]),this.devicePixelContentBoxSize=s([t.devicePixelContentBoxSize])},R=function(e){if(d(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t},A=function(){var e=1/0,t=[];o.forEach(function(r){if(0!==r.activeTargets.length){var n=[];r.activeTargets.forEach(function(t){var r=new O(t.target),i=R(t.target);n.push(r),t.lastReportedSize=E(t.target,t.observedBox),i<e&&(e=i)}),t.push(function(){r.callback.call(r.observer,n,r.observer)}),r.activeTargets.splice(0,r.activeTargets.length)}});for(var r=0;r<t.length;r++)(0,t[r])();return e},C=function(e){o.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(r){r.isActive()&&(R(r.target)>e?t.activeTargets.push(r):t.skippedTargets.push(r))})})},_=function(){var e=0;for(C(0);o.some(function(e){return e.activeTargets.length>0});)C(e=A());return o.some(function(e){return e.skippedTargets.length>0})&&l(),e>0},P=[],M=function(e){if(!i){var t=0,r=document.createTextNode("");new MutationObserver(function(){return P.splice(0).forEach(function(e){return e()})}).observe(r,{characterData:!0}),i=function(){r.textContent="".concat(t?t--:t++)}}P.push(e),i()},j=function(e){M(function(){requestAnimationFrame(e)})},I=0,z={attributes:!0,characterData:!0,childList:!0,subtree:!0},$=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],L=function(e){return void 0===e&&(e=0),Date.now()+e},T=!1,N=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!T){T=!0;var r=L(e);j(function(){var n=!1;try{n=_()}finally{if(T=!1,e=r-L(),!I)return;n?t.run(1e3):e>0?t.run(e):t.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,z)};document.body?t():p.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),$.forEach(function(t){return p.addEventListener(t,e.listener,!0)}))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),$.forEach(function(t){return p.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},e}()),H=function(e){!I&&e>0&&N.start(),(I+=e)||N.stop()},F=function(){function e(e,t){this.target=e,this.observedBox=t||n.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=E(this.target,this.observedBox,!0);return f(e=this.target)||g(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),B=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},D=new WeakMap,W=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return -1},V=function(){function e(){}return e.connect=function(e,t){var r=new B(e,t);D.set(e,r)},e.observe=function(e,t,r){var n=D.get(e),i=0===n.observationTargets.length;0>W(n.observationTargets,t)&&(i&&o.push(n),n.observationTargets.push(new F(t,r&&r.box)),H(1),N.schedule())},e.unobserve=function(e,t){var r=D.get(e),n=W(r.observationTargets,t),i=1===r.observationTargets.length;n>=0&&(i&&o.splice(o.indexOf(r),1),r.observationTargets.splice(n,1),H(-1))},e.disconnect=function(e){var t=this,r=D.get(e);
1r.observationTargets.slice().forEach(function(r){return t.unobserve(e,r.target)}),r.activeTargets.splice(0,r.activeTargets.length)},e}(),G=function(){function e(e){if(0==arguments.length)throw TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");V.connect(this,e)}return e.prototype.observe=function(e,t){if(0==arguments.length)throw TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!h(e))throw TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");V.observe(this,e,t)},e.prototype.unobserve=function(e){if(0==arguments.length)throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!h(e))throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");V.unobserve(this,e)},e.prototype.disconnect=function(){V.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}()},41933:(e,t,r)=>{var n=r(62673).Symbol;e.exports=n},58812:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},35652:e=>{e.exports=function(e,t,r,n){var i=-1,o=null==e?0:e.length;for(n&&o&&(r=e[++i]);++i<o;)r=t(r,e[i],i,e);return r}},18622:e=>{e.exports=function(e){return e.split("")}},78313:e=>{var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},43600:(e,t,r)=>{var n=r(41933),i=r(8273),o=r(96798),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},22516:e=>{e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},91470:e=>{e.exports=function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(i);++n<i;)o[n]=e[n+t];return o}},34892:(e,t,r)=>{var n=r(41933),i=r(58812),o=r(3293),a=r(83480),l=1/0,s=n?n.prototype:void 0,u=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return u?u.call(t):"";var r=t+"";return"0"==r&&1/t==-l?"-0":r}},85164:(e,t,r)=>{var n=r(91470);e.exports=function(e,t,r){var i=e.length;return r=void 0===r?i:r,!t&&r>=i?e:n(e,t,r)}},84373:(e,t,r)=>{var n=r(85164),i=r(65630),o=r(40394),a=r(80756);e.exports=function(e){return function(t){var r=i(t=a(t))?o(t):void 0,l=r?r[0]:t.charAt(0),s=r?n(r,1).join(""):t.slice(1);return l[e]()+s}}},72803:(e,t,r)=>{var n=r(35652),i=r(12466),o=r(24909),a=RegExp("['â]","g");e.exports=function(e){return function(t){return n(o(i(t).replace(a,"")),e,"")}}},43999:(e,t,r)=>{var n=r(22516)({Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã
:"A",à :"a",á:"a",â:"a",ã:"a",ä:"a",Ã¥:"a",Ã:"C",ç:"c",Ã:"D",ð:"d",Ã:"E",Ã:"E",Ã:"E",Ã:"E",è:"e",é:"e",ê:"e",ë:"e",Ã:"I",Ã:"I",Ã:"I",Ã:"I",ì:"i",Ã:"i",î:"i",ï:"i",Ã:"N",ñ:"n",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ã:"U",Ã:"U",Ã:"U",Ã:"U",ù:"u",ú:"u",û:"u",ü:"u",Ã:"Y",ý:"y",ÿ:"y",Ã:"Ae",æ:"ae",Ã:"Th",þ:"th",Ã:"ss",Ä:"A",Ä:"A",Ä:"A",Ä:"a",Ä:"a",Ä
:"a",Ä:"C",Ä:"C",Ä:"C",Ä:"C",Ä:"c",Ä:"c",Ä:"c",Ä:"c",Ä:"D",Ä:"D",Ä:"d",Ä:"d",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"G",Ä:"G",Ä :"G",Ä¢:"G",Ä:"g",Ä:"g",Ä¡:"g",Ä£:"g",Ĥ:"H",Ħ:"H",Ä¥:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Ä®:"I",İ:"I",Ä©:"i",Ä«:"i",Ä:"i",į:"i",ı:"i",Ä´:"J",ĵ:"j",Ķ:"K",Ä·:"k",ĸ:"k",Ĺ:"L",Ä»:"L",Ľ:"L",Ä¿:"L",Å:"L",ĺ:"l",ļ:"l",ľ:"l",Å:"l",Å:"l",Å:"N",Å
:"N",Å:"N",Å:"N",Å:"n",Å:"n",Å:"n",Å:"n",Å:"O",Å:"O",Å:"O",Å:"o",Å:"o",Å:"o",Å:"R",Å:"R",Å:"R",Å:"r",Å:"r",Å:"r",Å:"S",Å:"S",Å:"S",Å :"S",Å:"s",Å:"s",Å:"s",Å¡:"s",Å¢:"T",Ť:"T",Ŧ:"T",Å£:"t",Å¥:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Å®:"U",Ű:"U",Ų:"U",Å©:"u",Å«:"u",Å:"u",ů:"u",ű:"u",ų:"u",Å´:"W",ŵ:"w",Ŷ:"Y",Å·:"y",Ÿ:"Y",Ź:"Z",Å»:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Å:"Oe",Å:"oe",Å:"'n",Å¿:"s"});e.exports=n},34952:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},8273:(e,t,r)=>{var n=r(41933),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,l=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,l),r=e[l];try{e[l]=void 0;var n=!0}catch(e){}var i=a.call(e);return n&&(t?e[l]=r:delete e[l]),i}},65630:e=>{var t=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},43278:e=>{var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},96798:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},62673:(e,t,r)=>{var n=r(34952),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},40394:(e,t,r)=>{var n=r(18622),i=r(65630),o=r(97490);e.exports=function(e){return i(e)?o(e):n(e)}},97490:e=>{var t="\ud800-\udfff",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\ud83c[\udffb-\udfff]",i="[^"+t+"]",o="(?:\ud83c[\udde6-\uddff]){2}",a="[\ud800-\udbff][\udc00-\udfff]",l="(?:"+r+"|"+n+")?",s="[\\ufe0e\\ufe0f]?",u="(?:\\u200d(?:"+[i,o,a].join("|")+")"+s+l+")*",c=RegExp(n+"(?="+n+")|(?:"+[i+r+"?",r,o,a,"["+t+"]"].join("|")+")"+(s+l+u),"g");e.exports=function(e){return e.match(c)||[]}},7349:e=>{var t="\ud800-\udfff",r="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="['â]",l="["+o+"]",s="["+n+"]",u="[^"+t+o+"\\d+"+r+n+i+"]",c="(?:\ud83c[\udde6-\uddff]){2}",f="[\ud800-\udbff][\udc00-\udfff]",d="["+i+"]",h="(?:"+s+"|"+u+")",g="(?:"+d+"|"+u+")",p="(?:"+a+"(?:d|ll|m|re|s|t|ve))?",b="(?:"+a+"(?:D|LL|M|RE|S|T|VE))?",m="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?",y="[\\ufe0e\\ufe0f]?",v="(?:\\u200d(?:"+["[^"+t+"]",c,f].join("|")+")"+y+m+")*",w="(?:"+["["+r+"]",c,f].join("|")+")"+(y+m+v),x=RegExp([d+"?"+s+"+"+p+"(?="+[l,d,"$"].join("|")+")",g+"+"+b+"(?="+[l,d+h,"$"].join("|")+")",d+"?"+h+"+"+p,d+"+"+b,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",w].join("|"),"g");e.exports=function(e){return e.match(x)||[]}},12466:(e,t,r)=>{var n=r(43999),i=r(80756),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
17f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=i(e))&&e.replace(o,n).replace(a,"")}},3293:e=>{var t=Array.isArray;e.exports=t},34480:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},83480:(e,t,r)=>{var n=r(43600),i=r(34480);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},78592:(e,t,r)=>{var n=r(72803),i=r(94994),o=n(function(e,t,r){return e+(r?" ":"")+i(t)});e.exports=o},80756:(e,t,r)=>{var n=r(34892);e.exports=function(e){return null==e?"":n(e)}},94994:(e,t,r)=>{var n=r(84373)("toUpperCase");e.exports=n},24909:(e,t,r)=>{var n=r(78313),i=r(43278),o=r(80756),a=r(7349);e.exports=function(e,t,r){return(e=o(e),void 0===(t=r?void 0:t))?i(e)?a(e):n(e):e.match(t)||[]}},45054:(e,t,r)=>{"use strict";var n,i,o=Object.create,a=Object.defineProperty,l=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,u=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,f=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))c.call(e,i)||i===r||a(e,i,{get:()=>t[i],enumerable:!(n=l(t,i))||n.enumerable});return e},d={};((e,t)=>{for(var r in t)a(e,r,{get:t[r],enumerable:!0})})(d,{$dispatcherGuard:()=>E,$makeReadOnly:()=>R,$reset:()=>O,$structuralCheck:()=>M,c:()=>v,clearRenderCounterRegistry:()=>C,renderCounterRegistry:()=>A,useRenderCounter:()=>_}),e.exports=f(a({},"__esModule",{value:!0}),d);var h=((e,t,r)=>(r=null!=e?o(u(e)):{},f(!t&&e&&e.__esModule?r:a(r,"default",{value:e,enumerable:!0}),e)))(r(12115)),{useRef:g,useEffect:p,isValidElement:b}=h,m=null!=(n=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)?n:h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,y=Symbol.for("react.memo_cache_sentinel"),v="function"==typeof(null==(i=h.__COMPILER_RUNTIME)?void 0:i.c)?h.__COMPILER_RUNTIME.c:function(e){return h.useMemo(()=>{let t=Array(e);for(let r=0;r<e;r++)t[r]=y;return t[y]=!0,t},[])},w={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach(e=>{w[e]=()=>{throw Error(`[React] Unexpected React hook call (${e}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var x=null;function k(e){return m.ReactCurrentDispatcher.current=e,m.ReactCurrentDispatcher.current}w.useMemoCache=e=>{if(null!=x)return x.useMemoCache(e);throw Error("React Compiler internal invariant violation: unexpected null dispatcher")};var S=[];function E(e){let t=m.ReactCurrentDispatcher.current;if(0===e){if(S.push(t),1===S.length&&(x=t),t===w)throw Error("[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.");k(w)}else if(1===e){let e=S.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");0===S.length&&(x=null),k(e)}else if(2===e)S.push(t),k(x);else if(3===e){let e=S.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");k(e)}else throw Error("React Compiler internal error: unreachable block"+e)}function O(e){for(let t=0;t<e.length;t++)e[t]=y}function R(){throw Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var A=new Map;function C(){for(let e of A.values())e.forEach(e=>{e.count=0})}function _(e){let t=g(null);null!=t.current&&(t.current.count+=1),p(()=>
1{if(null==t.current){let r;let n={count:0};null==(r=A.get(e))&&(r=new Set,A.set(e,r)),r.add(n),t.current=n}return()=>{null!==t.current&&function(e,t){let r=A.get(e);null!=r&&r.delete(t)}(e,t.current)}})}var P=new Set;function M(e,t,r,n,i,o){function a(e,t,a,l){let s=`${n}:${o} [${i}] ${r}${a} changed from ${e} to ${t} at depth ${l}`;P.has(s)||(P.add(s),console.error(s))}!function e(t,r,n,i){if(!(i>2)&&t!==r){if(typeof t!=typeof r)a(`type ${typeof t}`,`type ${typeof r}`,n,i);else if("object"==typeof t){let o=Array.isArray(t),l=Array.isArray(r);if(null===t&&null!==r)a("null",`type ${typeof r}`,n,i);else if(null===r)a(`type ${typeof t}`,"null",n,i);else if(t instanceof Map){if(r instanceof Map){if(t.size!==r.size)a(`Map instance with size ${t.size}`,`Map instance with size ${r.size}`,n,i);else for(let[o,l]of t)r.has(o)?e(l,r.get(o),`${n}.get(${o})`,i+1):a(`Map instance with key ${o}`,`Map instance without key ${o}`,n,i)}else a("Map instance","other value",n,i)}else if(r instanceof Map)a("other value","Map instance",n,i);else if(t instanceof Set){if(r instanceof Set){if(t.size!==r.size)a(`Set instance with size ${t.size}`,`Set instance with size ${r.size}`,n,i);else for(let e of r)t.has(e)||a(`Set instance without element ${e}`,`Set instance with element ${e}`,n,i)}else a("Set instance","other value",n,i)}else if(r instanceof Set)a("other value","Set instance",n,i);else if(o||l){if(o!==l)a(`type ${o?"array":"object"}`,`type ${l?"array":"object"}`,n,i);else if(t.length!==r.length)a(`array with length ${t.length}`,`array with length ${r.length}`,n,i);else for(let o=0;o<t.length;o++)e(t[o],r[o],`${n}[${o}]`,i+1)}else if(b(t)||b(r))b(t)!==b(r)?a(`type ${b(t)?"React element":"object"}`,`type ${b(r)?"React element":"object"}`,n,i):t.type!==r.type?a(`React element of type ${t.type}`,`React element of type ${r.type}`,n,i):e(t.props,r.props,`[props of ${n}]`,i+1);else{for(let e in r)e in t||a(`object without key ${e}`,`object with key ${e}`,n,i);for(let o in t)o in r?e(t[o],r[o],`${n}.${o}`,i+1):a(`object with key ${o}`,`object without key ${o}`,n,i)}}else{if("function"==typeof t)return;isNaN(t)||isNaN(r)?isNaN(t)!==isNaN(r)&&a(`${isNaN(t)?"NaN":"non-NaN value"}`,`${isNaN(r)?"NaN":"non-NaN value"}`,n,i):t!==r&&a(t,r,n,i)}}}(e,t,"",0)}},13553:(e,t)=>{"use strict";var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler");Symbol.for("react.provider");var l=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),g=Symbol.for("react.view_transition"),p=Symbol.for("react.client.reference");function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case a:case o:case c:case f:case g:return e;default:switch(e=e&&e.$$typeof){case s:case u:case h:case d:case l:return e;default:return t}}case n:return t}}}t.ContextConsumer=l,t.ContextProvider=s,t.Element=r,t.ForwardRef=u,t.Fragment=i,t.Lazy=h,t.Memo=d,t.Portal=n,t.Profiler=a,t.StrictMode=o,t.Suspense=c,t.SuspenseList=f,t.isContextConsumer=function(e){return b(e)===l},t.isContextProvider=function(e){return b(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return b(e)===u},t.isFragment=function(e){return b(e)===i},t.isLazy=function(e){return b(e)===h},t.isMemo=function(e){return b(e)===d},t.isPortal=function(e){return b(e)===n},t.isProfiler=function(e){return b(e)===a},t.isStrictMode=function(e){return b(e)===o},t.isSuspense=function(e){return b(e)===c},t.isSuspenseList=function(e){return b(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===a||e===o||e===c||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===d||e.$$typeof===s||e.$$typeof===l||e.$$typeof===u||e.$$typeof===p||void 0!==e.getModuleId)},t.typeOf=b},40583:(e,t,r)=>{"use strict";e.exports=r(13553)},48179:(e,t,r)=>{"use strict";r.d(t,{h:()=>s});var n=r(23087),i=r(51924),o=r(40065),a=r(6274),l=r(92036);function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=(0,a.lI)(e),s=(0,a.R0)(e,1/0);return e.length?1===e.length?(0,i.Tg)(e[0]):(0,n.U)(s)((0,l.H)(e,r)):o.w}},40223:(e,t,r)=>{"use strict";r.d(t,{$:()=>g});var n,i=r(6476),o=r(1444),a=1,l={};function s(e){return e in l&&(delete l[e],!0)}var u={setImmediate:function(e){var t=a++;
1return l[t]=!0,n||(n=Promise.resolve()),n.then(function(){return s(t)&&e()}),t},clearImmediate:function(e){s(e)}},c=u.setImmediate,f=u.clearImmediate,d={setImmediate:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=d.delegate;return((null==r?void 0:r.setImmediate)||c).apply(void 0,(0,i.fX)([],(0,i.zs)(e)))},clearImmediate:function(e){var t=d.delegate;return((null==t?void 0:t.clearImmediate)||f)(e)},delegate:void 0},h=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return(0,i.C6)(t,e),t.prototype.requestAsyncId=function(t,r,n){return(void 0===n&&(n=0),null!==n&&n>0)?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t._scheduled||(t._scheduled=d.setImmediate(t.flush.bind(t,void 0))))},t.prototype.recycleAsyncId=function(t,r,n){if(void 0===n&&(n=0),null!=n?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);var i,o=t.actions;null!=r&&(null===(i=o[o.length-1])||void 0===i?void 0:i.id)!==r&&(d.clearImmediate(r),t._scheduled===r&&(t._scheduled=void 0))},t}(o.R),g=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.C6)(t,e),t.prototype.flush=function(e){this._active=!0;var t,r=this._scheduled;this._scheduled=void 0;var n=this.actions;e=e||n.shift();do if(t=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===r&&n.shift());if(this._active=!1,t){for(;(e=n[0])&&e.id===r&&n.shift();)e.unsubscribe();throw t}},t}(r(10936).q))(h)},59725:e=>{e.exports=function(e,t,r,n){var i=r?r.call(n,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<o.length;s++){var u=o[s];if(!l(u))return!1;var c=e[u],f=t[u];if(!1===(i=r?r.call(n,c,f,u):void 0)||void 0===i&&c!==f)return!1}return!0}},65285:(e,t,r)=>{"use strict";r.d(t,{E:()=>tw,ID:()=>e9,NP:()=>tu,DU:()=>ty,AH:()=>tg,i7:()=>tv,I4:()=>tb,DP:()=>ts});var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function i(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var o=r(12115),a=r(59725),l=r.n(a),s="-ms-",u="-moz-",c="-webkit-",f="comm",d="rule",h="decl",g="@keyframes",p=Math.abs,b=String.fromCharCode,m=Object.assign;function y(e,t){return(e=t.exec(e))?e[0]:e}function v(e,t,r){return e.replace(t,r)}function w(e,t,r){return e.indexOf(t,r)}function x(e,t){return 0|e.charCodeAt(t)}function k(e,t,r){return e.slice(t,r)}function S(e){return e.length}function E(e,t){return t.push(e),e}function O(e,t){return e.filter(function(e){return!y(e,t)})}var R=1,A=1,C=0,_=0,P=0,M="";function j(e,t,r,n,i,o,a,l){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:R,column:A,length:a,return:"",siblings:l}}function I(e,t){return m(j("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function z(e){for(;e.root;)e=I(e.root,{children:[e]});E(e,e.siblings)}function $(){return P=_<C?x(M,_++):0,A++,10===P&&(A=1,R++),P}function L(){return x(M,_)}function T(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function N(e){var t,r;return(t=_-1,r=function e(t){for(;$();)switch(P){case t:return _;case 34:case 39:34!==t&&39!==t&&e(P);break;case 40:41===t&&e(t);break;case 92:$()}return _}(91===e?e+2:40===e?e+1:e),k(M,t,r)).trim()}function H(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function F(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case h:return e.return=e.return||e.value;case f:return"";case g:return e.return=e.value+"{"+H(e.children,n)+"}";case d:if(!S(e.value=e.props.join(",")))return""}return S(r=H(e.children,n))?e.return=e.value+"{"+r+"}":""}function B(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case h:e.return=function e(t,r,n){var i;switch(i=r,45^x(t,0)?(((i<<2^x(t,0))<<2^x(t,1))<<2^x(t,2))<<2^x(t,3):0){case 5103:return c+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return c+t+t;case 4789:return u+t+t;
vendor: 9,705 bytes, line 1
1case 5349:case 4246:case 4810:case 6968:case 2756:return c+t+u+t+s+t+t;case 5936:switch(x(t,r+11)){case 114:return c+t+s+v(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return c+t+s+v(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return c+t+s+v(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return c+t+s+t+t;case 6165:return c+t+s+"flex-"+t+t;case 5187:return c+t+v(t,/(\w+).+(:[^]+)/,c+"box-$1$2"+s+"flex-$1$2")+t;case 5443:return c+t+s+"flex-item-"+v(t,/flex-|-self/g,"")+(y(t,/flex-|baseline/)?"":s+"grid-row-"+v(t,/flex-|-self/g,""))+t;case 4675:return c+t+s+"flex-line-pack"+v(t,/align-content|flex-|-self/g,"")+t;case 5548:return c+t+s+v(t,"shrink","negative")+t;case 5292:return c+t+s+v(t,"basis","preferred-size")+t;case 6060:return c+"box-"+v(t,"-grow","")+c+t+s+v(t,"grow","positive")+t;case 4554:return c+v(t,/([^-])(transform)/g,"$1"+c+"$2")+t;case 6187:return v(v(v(t,/(zoom-|grab)/,c+"$1"),/(image-set)/,c+"$1"),t,"")+t;case 5495:case 3959:return v(t,/(image-set\([^]*)/,c+"$1$`$1");case 4968:return v(v(t,/(.+:)(flex-)?(.*)/,c+"box-pack:$3"+s+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+c+t+t;case 4200:if(!y(t,/flex-|baseline/))return s+"grid-column-align"+k(t,r)+t;break;case 2592:case 3360:return s+v(t,"template-","")+t;case 4384:case 3616:if(n&&n.some(function(e,t){return r=t,y(e.props,/grid-\w+-end/)}))return~w(t+(n=n[r].value),"span",0)?t:s+v(t,"-start","")+t+s+"grid-row-span:"+(~w(n,"span",0)?y(n,/\d+/):+y(n,/\d+/)-+y(t,/\d+/))+";";return s+v(t,"-start","")+t;case 4896:case 4128:return n&&n.some(function(e){return y(e.props,/grid-\w+-start/)})?t:s+v(v(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return v(t,/(.+)-inline(.+)/,c+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(S(t)-1-r>6)switch(x(t,r+1)){case 109:if(45!==x(t,r+4))break;case 102:return v(t,/(.+:)(.+)-([^]+)/,"$1"+c+"$2-$3$1"+u+(108==x(t,r+3)?"$3":"$2-$3"))+t;case 115:return~w(t,"stretch",0)?e(v(t,"stretch","fill-available"),r,n)+t:t}break;case 5152:case 5920:return v(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,r,n,i,o,a,l){return s+r+":"+n+l+(i?s+r+"-span:"+(o?a:+a-+n)+l:"")+t});case 4949:if(121===x(t,r+6))return v(t,":",":"+c)+t;break;case 6444:switch(x(t,45===x(t,14)?18:11)){case 120:return v(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+c+(45===x(t,14)?"inline-":"")+"box$3$1"+c+"$2$3$1"+s+"$2box$3")+t;case 100:return v(t,":",":"+s)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return v(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,r);return;case g:return H([I(e,{value:v(e.value,"@","@"+c)})],n);case d:if(e.length){var i,o;return i=r=e.props,o=function(t){switch(y(t,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":z(I(e,{props:[v(t,/:(read-\w+)/,":"+u+"$1")]})),z(I(e,{props:[t]})),m(e,{props:O(r,n)});break;case"::placeholder":z(I(e,{props:[v(t,/:(plac\w+)/,":"+c+"input-$1")]})),z(I(e,{props:[v(t,/:(plac\w+)/,":"+u+"$1")]})),z(I(e,{props:[v(t,/:(plac\w+)/,s+"input-$1")]})),z(I(e,{props:[t]})),m(e,{props:O(r,n)})}return""},i.map(o).join("")}}}function D(e,t,r,n,i,o,a,l,s,u,c,f){for(var h=i-1,g=0===i?o:[""],b=g.length,m=0,y=0,w=0;m<n;++m)for(var x=0,S=k(e,h+1,h=p(y=a[m])),E=e;x<b;++x)(E=(y>0?g[x]+" "+S:v(S,/&\f/g,g[x])).trim())&&(s[w++]=E);return j(e,t,r,0===i?d:l,s,u,c,f)}function W(e,t,r,n,i){return j(e,t,r,h,k(e,0,n),k(e,n+1,-1),n,i)}var V={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},G=r(87358),U=void 0!==G&&void 0!==G.env&&(G.env.REACT_APP_SC_ATTR||G.env.SC_ATTR)||"data-styled",Y="active",X="data-styled-version",Z="6.1.15",q="/*!sc*/\n",K="undefined"!=typeof window&&"HTMLElement"in window,J=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==G&&void 0!==G.env&&void 0!==G.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==G.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==G.env.REACT_APP_SC_DISABLE_SPEEDY&&G.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==G&&void 0!==G.env&&void 0!==G.env.SC_DISABLE_SPEEDY&&""!==G.env.SC_DISABLE_SPEEDY&&"false"!==G.env.SC_DISABLE_SPEEDY&&G.env.SC_DISABLE_SPEEDY),Q={},ee=Object.freeze([]),et=Object.freeze({});function er(e,t,r){return void 0===r&&(r=et),e.theme!==r.theme&&e.theme||t||r.theme}var en=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ei=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,eo=/(^-|-$)/g;function ea(e){return e.replace(ei,"-").replace(eo,"")}var el=/(a)(d)/gi,es=function(e){return String.fromCharCode(e+(e>25?39:97))};function eu(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=es(t%52)+r;return(es(t%52)+r).replace(el,"$1-$2")}var ec,ef=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},ed=function(e){return ef(5381,e)};function eh(e){return eu(ed(e)>>>0)}function eg(e){return"string"==typeof e}var ep="function"==typeof Symbol&&Symbol.for,eb=ep?Symbol.for("react.memo"):60115,em=ep?Symbol.for("react.forward_ref"):60112,ey={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ev={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ew={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ex=((ec={})[em]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ec[eb]=ew,ec);function ek(e){return("type"in e&&e.type.$$typeof)===eb?ew:"$$typeof"in e?ex[e.$$typeof]:ey}var eS=Object.defineProperty,eE=Object.getOwnPropertyNames,eO=Object.getOwnPropertySymbols,eR=Object.getOwnPropertyDescriptor,eA=Object.getPrototypeOf,eC=Object.prototype;function e_(e){return"function"==typeof e}function eP(e){return"object"==typeof e&&"styledComponentId"in e}function eM(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ej(e,t){if(0===e.length)return"";for(var r=e[0],n=1;n<e.length;n++)r+=t?t+e[n]:e[n];return r}function eI(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function ez(e,t){Object.defineProperty(e,"toString",{value:t})}function e$(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var eL=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,i=n;e>=i;)if((i<<=1)<0)throw e$(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var o=n;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),l=(o=0,t.length);o<l;o++)this.tag.insertRule(a,t[o])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var i=r;i<n;i++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),i=n+r,o=n;o<i;o++)t+="".concat(this.tag.getRule(o)).concat(q);return t},e}(),eT=new Map,eN=new Map,eH=1,eF=function(e){if(eT.has(e))return eT.get(e);for(;eN.has(eH);)eH++;var t=eH++;return eT.set(e,t),eN.set(t,e),t},eB=function(e,t){eH=t+1,eT.set(e,t),eN.set(t,e)},eD="style[".concat(U,"][").concat(X,'="').concat(Z,'"]'),eW=new RegExp("^".concat(U,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),eV=function(e,t,r){for(var n,i=r.split(","),o=0,a=i.length;o<a;o++)(n=i[o])&&e.registerName(t,n)},eG=function(e,t){for(var r,n=(null!==(r=t.textContent)&&void 0!==r?r:"").split(q),i=[],o=0,a=n.length;o<a;o++){var l=n[o].trim();if(l){var s=l.match(eW);if(s){var u=0|parseInt(s[1],10),c=s[2];0!==u&&(eB(c,u),eV(e,c,s[3]),e.getTag().insertRules(u,i)),i.length=0}else i.push(l)}}},eU=function(e){for(var t=document.querySelectorAll(eD),r=0,n=t.length;r<n;r++){var i=t[r];
1i&&i.getAttribute(U)!==Y&&(eG(e,i),i.parentNode&&i.parentNode.removeChild(i))}},eY=function(e){var t,n=document.head,i=e||n,o=document.createElement("style"),a=(t=Array.from(i.querySelectorAll("style[".concat(U,"]"))))[t.length-1],l=void 0!==a?a.nextSibling:null;o.setAttribute(U,Y),o.setAttribute(X,Z);var s=r.nc;return s&&o.setAttribute("nonce",s),i.insertBefore(o,l),o},eX=function(){function e(e){this.element=eY(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var i=t[r];if(i.ownerNode===e)return i}throw e$(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),eZ=function(){function e(e){this.element=eY(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),eq=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),eK=K,eJ={isServer:!K,useCSSOMInjection:!J},eQ=function(){function e(e,t,r){void 0===e&&(e=et),void 0===t&&(t={});var i=this;this.options=n(n({},eJ),e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&K&&eK&&(eK=!1,eU(this)),ez(this,function(){return function(e){for(var t=e.getTag(),r=t.length,n="",i=0;i<r;i++)(function(r){var i=eN.get(r);if(void 0!==i){var o=e.names.get(i),a=t.getGroup(r);if(void 0!==o&&o.size&&0!==a.length){var l="".concat(U,".g").concat(r,'[id="').concat(i,'"]'),s="";void 0!==o&&o.forEach(function(e){e.length>0&&(s+="".concat(e,","))}),n+="".concat(a).concat(l,'{content:"').concat(s,'"}').concat(q)}}})(i);return n}(i)})}return e.registerId=function(e){return eF(e)},e.prototype.rehydrate=function(){!this.server&&K&&eU(this)},e.prototype.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(n(n({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,r;return this.tag||(this.tag=(t=(e=this.options).useCSSOMInjection,r=e.target,new eL(e.isServer?new eq(r):t?new eX(r):new eZ(r))))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(eF(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},e.prototype.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(eF(e),r)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(eF(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),e0=/&/g,e1=/^\s*\/\/.*$/gm;function e2(e){var t,r,n,i=void 0===e?et:e,o=i.options,a=void 0===o?et:o,l=i.plugins,s=void 0===l?ee:l,u=function(e,n,i){return i.startsWith(r)&&i.endsWith(r)&&i.replaceAll(r,"").length>0?".".concat(t):e},c=s.slice();c.push(function(e){e.type===d&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(e0,r).replace(n,u))}),a.prefix&&c.push(B),c.push(F);var h=function(e,i,o,l){void 0===i&&(i=""),void 0===o&&(o=""),void 0===l&&(l="&"),t=l,r=i,n=RegExp("\\".concat(r,"\\b"),"g");var s,u,d,h,g,m,y=e.replace(e1,""),O=(g=function e(t,r,n,i,o,a,l,s,u){for(var c,d=0,h=0,g=l,m=0,y=0,O=0,C=1,I=1,z=1,H=0,F="",B=o,V=a,G=i,U=F;I;)switch(O=H,H=$()){case 40:if(108!=O&&58==x(U,g-1)){-1!=w(U+=v(N(H),"&","&\f"),"&\f",p(d?s[d-1]:0))&&(z=-1);break}case 34:case 39:case 91:U+=N(H);break;case 9:case 10:case 13:case 32:U+=function(e){for(;P=L();)if(P<33)$();else break;return T(e)>2||T(P)>3?"":" "}(O);break;case 92:U+=function(e,t){for(var r;--t&&$()&&!(P<48)&&!(P>102)&&(!(P>
157)||!(P<65))&&(!(P>70)||!(P<97)););return r=_+(t<6&&32==L()&&32==$()),k(M,e,r)}(_-1,7);continue;case 47:switch(L()){case 42:case 47:E(j(c=function(e,t){for(;$();)if(e+P===57)break;else if(e+P===84&&47===L())break;return"/*"+k(M,t,_-1)+"*"+b(47===e?e:$())}($(),_),r,n,f,b(P),k(c,2,-2),0,u),u);break;default:U+="/"}break;case 123*C:s[d++]=S(U)*z;case 125*C:case 59:case 0:switch(H){case 0:case 125:I=0;case 59+h:-1==z&&(U=v(U,/\f/g,"")),y>0&&S(U)-g&&E(y>32?W(U+";",i,n,g-1,u):W(v(U," ","")+";",i,n,g-2,u),u);break;case 59:U+=";";default:if(E(G=D(U,r,n,d,h,o,s,F,B=[],V=[],g,a),a),123===H){if(0===h)e(U,r,G,G,B,a,g,s,V);else switch(99===m&&110===x(U,3)?100:m){case 100:case 108:case 109:case 115:e(t,G,G,i&&E(D(t,G,G,0,0,o,s,F,o,B=[],g,V),V),o,V,g,s,i?B:V);break;default:e(U,G,G,G,[""],V,0,s,V)}}}d=h=y=0,C=z=1,F=U="",g=l;break;case 58:g=1+S(U),y=O;default:if(C<1){if(123==H)--C;else if(125==H&&0==C++&&125==(P=_>0?x(M,--_):0,A--,10===P&&(A=1,R--),P))continue}switch(U+=b(H),H*C){case 38:z=h>0?1:(U+="\f",-1);break;case 44:s[d++]=(S(U)-1)*z,z=1;break;case 64:45===L()&&(U+=N($())),m=L(),h=g=S(F=U+=function(e){for(;!T(L());)$();return k(M,e,_)}(_)),H++;break;case 45:45===O&&2==S(U)&&(C=0)}}return a}("",null,null,null,[""],(d=h=o||i?"".concat(o," ").concat(i," { ").concat(y," }"):y,R=A=1,C=S(M=d),_=0,h=[]),0,[0],h),M="",g);a.namespace&&(O=function e(t,r){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(r," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(r," ")),t.props=t.props.map(function(e){return"".concat(r," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,r)),t})}(O,a.namespace));var I=[];return H(O,(u=(s=c.concat((m=function(e){return I.push(e)},function(e){!e.root&&(e=e.return)&&m(e)}))).length,function(e,t,r,n){for(var i="",o=0;o<u;o++)i+=s[o](e,t,r,n)||"";return i})),I};return h.hash=s.length?s.reduce(function(e,t){return t.name||e$(15),ef(e,t.name)},5381).toString():"",h}var e5=new eQ,e4=e2(),e3=o.createContext({shouldForwardProp:void 0,styleSheet:e5,stylis:e4}),e8=(e3.Consumer,o.createContext(void 0));function e6(){return(0,o.useContext)(e3)}function e9(e){var t=(0,o.useState)(e.stylisPlugins),r=t[0],n=t[1],i=e6().styleSheet,a=(0,o.useMemo)(function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,i]),s=(0,o.useMemo)(function(){return e2({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:r})},[e.enableVendorPrefixes,e.namespace,r]);(0,o.useEffect)(function(){l()(r,e.stylisPlugins)||n(e.stylisPlugins)},[e.stylisPlugins]);var u=(0,o.useMemo)(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:a,stylis:s}},[e.shouldForwardProp,a,s]);return o.createElement(e3.Provider,{value:u},o.createElement(e8.Provider,{value:s},e.children))}var e7=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=e4);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ez(this,function(){throw e$(12,String(r.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=e4),this.name+e.hash},e}();function te(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(1===r&&"-"===n&&"-"===e[0])return e;n>="A"&&n<="Z"?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var tt=function(e){return null==e||!1===e||""===e},tr=function(e){var t=[];for(var r in e){var n=e[r];e.hasOwnProperty(r)&&!tt(n)&&(Array.isArray(n)&&n.isCss||e_(n)?t.push("".concat(te(r),":"),n,";"):eI(n)?t.push.apply(t,i(i(["".concat(r," {")],tr(n),!1),["}"],!1)):t.push("".concat(te(r),": ").concat(null==n||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||r in V||r.startsWith("--")?String(n).trim():"".concat(n,"px"),";")))}return t};function tn(e,t,r,n){return tt(e)?[]:eP(e)?[".".concat(e.styledComponentId)]:e_(e)?!e_(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:tn(e(t),t,r,n):e instanceof e7?r?(e.inject(r,n),[e.getName(n)]):[e]:eI(e)?tr(e):Array.isArray(e)?Array.prototype.concat.apply(ee,e.map(function(e){return tn(e,t,r,n)})):[e.toString()]}function ti(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(e_(r)&&!eP(r))return!1}return!0}var to=ed(Z),ta=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&ti(e),this.componentId=t,this.baseHash=ef(to,t),this.baseStyle=r,eQ.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,r):"";if(this.isStatic&&!r.hash){if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))n=eM(n,this.staticRulesId);else{var i=ej(tn(this.rules,e,t,r)),o=eu(ef(this.baseHash,i)>>>0);if(!t.hasNameForId(this.componentId,o)){var a=r(i,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,a)}n=eM(n,o),this.staticRulesId=o}}else{for(var l=ef(this.baseHash,r.hash),s="",u=0;u<this.rules.length;u++){var c=this.rules[u];if("string"==typeof c)s+=c;else if(c){var f=ej(tn(c,e,t,r));l=ef(l,f+u),s+=f}}if(s){var d=eu(l>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,r(s,".".concat(d),void 0,this.componentId)),n=eM(n,d)}}return n},e}(),tl=o.createContext(void 0);function ts(){var e=(0,o.useContext)(tl);if(!e)throw e$(18);return e}function tu(e){var t=o.useContext(tl),r=(0,o.useMemo)(function(){return function(e,t){if(!e)throw e$(14);if(e_(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw e$(8);return t?n(n({},t),e):e}(e.theme,t)},[e.theme,t]);return e.children?o.createElement(tl.Provider,{value:r},e.children):null}tl.Consumer;var tc={};function tf(e,t,r){var i,a,l,s,u=eP(e),c=!eg(e),f=t.attrs,d=void 0===f?ee:f,h=t.componentId,g=void 0===h?(i=t.displayName,a=t.parentComponentId,tc[l="string"!=typeof i?"sc":ea(i)]=(tc[l]||
vendor: 4,556 bytes, line 1
10)+1,s="".concat(l,"-").concat(eh(Z+l+tc[l])),a?"".concat(a,"-").concat(s):s):h,p=t.displayName,b=void 0===p?eg(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):p,m=t.displayName&&t.componentId?"".concat(ea(t.displayName),"-").concat(t.componentId):t.componentId||g,y=u&&e.attrs?e.attrs.concat(d).filter(Boolean):d,v=t.shouldForwardProp;if(u&&e.shouldForwardProp){var w=e.shouldForwardProp;if(t.shouldForwardProp){var x=t.shouldForwardProp;v=function(e,t){return w(e,t)&&x(e,t)}}else v=w}var k=new ta(r,m,u?e.componentStyle:void 0);function S(e,t){return function(e,t,r){var i,a=e.attrs,l=e.componentStyle,s=e.defaultProps,u=e.foldedComponentIds,c=e.styledComponentId,f=e.target,d=o.useContext(tl),h=e6(),g=e.shouldForwardProp||h.shouldForwardProp,p=er(t,d,s)||et,b=function(e,t,r){for(var i,o=n(n({},t),{className:void 0,theme:r}),a=0;a<e.length;a+=1){var l=e_(i=e[a])?i(o):i;for(var s in l)o[s]="className"===s?eM(o[s],l[s]):"style"===s?n(n({},o[s]),l[s]):l[s]}return t.className&&(o.className=eM(o.className,t.className)),o}(a,t,p),m=b.as||f,y={};for(var v in b)void 0===b[v]||"$"===v[0]||"as"===v||"theme"===v&&b.theme===p||("forwardedAs"===v?y.as=b.forwardedAs:g&&!g(v,m)||(y[v]=b[v]));var w=(i=e6(),l.generateAndInjectStyles(b,i.styleSheet,i.stylis)),x=eM(u,c);return w&&(x+=" "+w),b.className&&(x+=" "+b.className),y[eg(m)&&!en.has(m)?"class":"className"]=x,r&&(y.ref=r),(0,o.createElement)(m,y)}(E,e,t)}S.displayName=b;var E=o.forwardRef(S);return E.attrs=y,E.componentStyle=k,E.displayName=b,E.shouldForwardProp=v,E.foldedComponentIds=u?eM(e.foldedComponentIds,e.styledComponentId):"",E.styledComponentId=m,E.target=u?e.target:e,Object.defineProperty(E,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=u?function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0;n<t.length;n++)(function e(t,r,n){if(void 0===n&&(n=!1),!n&&!eI(t)&&!Array.isArray(t))return r;if(Array.isArray(r))for(var i=0;i<r.length;i++)t[i]=e(t[i],r[i]);else if(eI(r))for(var i in r)t[i]=e(t[i],r[i]);return t})(e,t[n],!0);return e}({},e.defaultProps,t):t}}),ez(E,function(){return".".concat(E.styledComponentId)}),c&&function e(t,r,n){if("string"!=typeof r){if(eC){var i=eA(r);i&&i!==eC&&e(t,i,n)}var o=eE(r);eO&&(o=o.concat(eO(r)));for(var a=ek(t),l=ek(r),s=0;s<o.length;++s){var u=o[s];if(!(u in ev||n&&n[u]||l&&u in l||a&&u in a)){var c=eR(r,u);try{eS(t,u,c)}catch(e){}}}}return t}(E,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),E}function td(e,t){for(var r=[e[0]],n=0,i=t.length;n<i;n+=1)r.push(t[n],e[n+1]);return r}var th=function(e){return Object.assign(e,{isCss:!0})};function tg(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return e_(e)||eI(e)?th(tn(td(ee,i([e],t,!0)))):0===t.length&&1===e.length&&"string"==typeof e[0]?tn(e):th(tn(td(e,t)))}var tp=function(e){return function e(t,r,o){if(void 0===o&&(o=et),!r)throw e$(1,r);var a=function(e){for(var n=[],a=1;a<arguments.length;a++)n[a-1]=arguments[a];return t(r,o,tg.apply(void 0,i([e],n,!1)))};return a.attrs=function(i){return e(t,r,n(n({},o),{attrs:Array.prototype.concat(o.attrs,i).filter(Boolean)}))},a.withConfig=function(i){return e(t,r,n(n({},o),i))},a}(tf,e)},tb=tp;en.forEach(function(e){tb[e]=tp(e)});var tm=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=ti(e),eQ.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,r,n){var i=n(ej(tn(this.rules,t,r,n)),""),o=this.componentId+e;r.insertRules(o,o,i)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,r,n){e>2&&eQ.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function ty(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var a=tg.apply(void 0,i([e],t,!1)),l="sc-global-".concat(eh(JSON.stringify(a))),s=new tm(a,l),u=function(e){var t=e6(),r=o.useContext(tl),n=o.useRef(t.styleSheet.allocateGSInstance(l)).current;return t.styleSheet.server&&c(n,e,t.styleSheet,r,t.stylis),o.useLayoutEffect(function(){if(!t.styleSheet.server)return c(n,e,t.styleSheet,r,t.stylis),function(){return s.removeStyles(n,t.styleSheet)}},[n,e,t.styleSheet,r,t.stylis]),null};function c(e,t,r,i,o){if(s.isStatic)s.renderStyles(e,Q,r,o);else{var a=n(n({},t),{theme:er(t,i,u.defaultProps)});s.renderStyles(e,a,r,o)}}return o.memo(u)}function tv(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];
1var n=ej(tg.apply(void 0,i([e],t,!1)));return new e7(eh(n),n)}var tw=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=r.nc,i=ej([n&&'nonce="'.concat(n,'"'),"".concat(U,'="true"'),"".concat(X,'="').concat(Z,'"')].filter(Boolean)," ");return"<style ".concat(i,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw e$(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw e$(2);var t,i=e.instance.toString();if(!i)return[];var a=((t={})[U]="",t[X]=Z,t.dangerouslySetInnerHTML={__html:i},t),l=r.nc;return l&&(a.nonce=l),[o.createElement("style",n({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new eQ({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw e$(2);return o.createElement(e9,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw e$(3)},e}()},57205:(e,t,r)=>{"use strict";r.d(t,{UE:()=>ed,ll:()=>ea,rD:()=>eh,__:()=>el,UU:()=>ec,jD:()=>ef,cY:()=>es,BN:()=>eu});let n=["top","right","bottom","left"],i=Math.min,o=Math.max,a=Math.round,l=Math.floor,s=e=>({x:e,y:e}),u={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function f(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function g(e){return"x"===e?"y":"x"}function p(e){return"y"===e?"height":"width"}function b(e){return["top","bottom"].includes(d(e))?"y":"x"}function m(e){return e.replace(/start|end/g,e=>c[e])}function y(e){return e.replace(/left|right|bottom|top/g,e=>u[e])}function v(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function w(e){let{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function x(e,t,r){let n,{reference:i,floating:o}=e,a=b(t),l=g(b(t)),s=p(l),u=d(t),c="y"===a,f=i.x+i.width/2-o.width/2,m=i.y+i.height/2-o.height/2,y=i[s]/2-o[s]/2;switch(u){case"top":n={x:f,y:i.y-o.height};break;case"bottom":n={x:f,y:i.y+i.height};break;case"right":n={x:i.x+i.width,y:m};break;case"left":n={x:i.x-o.width,y:m};break;default:n={x:i.x,y:i.y}}switch(h(t)){case"start":n[l]-=y*(r&&c?-1:1);break;case"end":n[l]+=y*(r&&c?-1:1)}return n}let k=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:a}=r,l=o.filter(Boolean),s=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=x(u,n,s),d=n,h={},g=0;for(let r=0;r<l.length;r++){let{name:o,fn:p}=l[r],{x:b,y:m,data:y,reset:v}=await p({x:c,y:f,initialPlacement:n,placement:d,strategy:i,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=b?b:c,f=null!=m?m:f,h={...h,[o]:{...h[o],...y}},v&&g<=50&&(g++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(u=!0===v.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):v.rects),{x:c,y:f}=x(u,d,s)),r=-1)}return{x:c,y:f,placement:d,strategy:i,middlewareData:h}};async function S(e,t){var r;void 0===t&&(t={});let{x:n,y:i,platform:o,rects:a,elements:l,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:h=!1,padding:g=0}=f(t,e),p=v(g),b=l[h?"floating"===d?"reference":"floating":d],m=w(await o.getClippingRect({element:null==(r=await (null==o.isElement?void 0:o.isElement(b)))||r?b:b.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(l.floating)),boundary:u,rootBoundary:c,strategy:s})),y="floating"===d?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference,x=await (null==o.getOffsetParent?void 0:o.getOffsetParent(l.floating)),k=await (null==o.isElement?void 0:o.isElement(x))&&await (null==o.getScale?void 0:o.getScale(x))||{x:1,y:1},S=w(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:x,strategy:s}):y);return{top:(m.top-S.top+p.top)/k.y,bottom:(S.bottom-m.bottom+p.bottom)/k.y,left:(m.left-S.left+p.left)/k.x,right:(S.right-m.right+p.right)/k.x}}function E(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function O(e){return n.some(t=>e[t]>=0)}async function R(e,t){let{placement:r,platform:n,elements:i}=e,o=await (null==n.isRTL?void 0:n.isRTL(i.floating)),a=d(r),l=h(r),s="y"===b(r),u=["left","top"].includes(a)?-1:1,c=o&&s?-1:1,g=f(t,e),{mainAxis:p,crossAxis:m,alignmentAxis:y}="number"==typeof g?{mainAxis:g,crossAxis:0,alignmentAxis:null}
1:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return l&&"number"==typeof y&&(m="end"===l?-1*y:y),s?{x:m*c,y:p*u}:{x:p*u,y:m*c}}function A(){return"undefined"!=typeof window}function C(e){return M(e)?(e.nodeName||"").toLowerCase():"#document"}function _(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function P(e){var t;return null==(t=(M(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function M(e){return!!A()&&(e instanceof Node||e instanceof _(e).Node)}function j(e){return!!A()&&(e instanceof Element||e instanceof _(e).Element)}function I(e){return!!A()&&(e instanceof HTMLElement||e instanceof _(e).HTMLElement)}function z(e){return!!A()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof _(e).ShadowRoot)}function $(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=F(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function L(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function T(e){let t=N(),r=j(e)?F(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(r.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(r.contain||"").includes(e))}function N(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function H(e){return["html","body","#document"].includes(C(e))}function F(e){return _(e).getComputedStyle(e)}function B(e){return j(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function D(e){if("html"===C(e))return e;let t=e.assignedSlot||e.parentNode||z(e)&&e.host||P(e);return z(t)?t.host:t}function W(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let i=function e(t){let r=D(t);return H(r)?t.ownerDocument?t.ownerDocument.body:t.body:I(r)&&$(r)?r:e(r)}(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),a=_(i);if(o){let e=V(a);return t.concat(a,a.visualViewport||[],$(i)?i:[],e&&r?W(e):[])}return t.concat(i,W(i,[],r))}function V(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function G(e){let t=F(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=I(e),o=i?e.offsetWidth:r,l=i?e.offsetHeight:n,s=a(r)!==o||a(n)!==l;return s&&(r=o,n=l),{width:r,height:n,$:s}}function U(e){return j(e)?e:e.contextElement}function Y(e){let t=U(e);if(!I(t))return s(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:o}=G(t),l=(o?a(r.width):r.width)/n,u=(o?a(r.height):r.height)/i;return l&&Number.isFinite(l)||(l=1),u&&Number.isFinite(u)||(u=1),{x:l,y:u}}let X=s(0);function Z(e){let t=_(e);return N()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:X}function q(e,t,r,n){var i;void 0===t&&(t=!1),void 0===r&&(r=!1);let o=e.getBoundingClientRect(),a=U(e),l=s(1);t&&(n?j(n)&&(l=Y(n)):l=Y(e));let u=(void 0===(i=r)&&(i=!1),n&&(!i||n===_(a))&&i)?Z(a):s(0),c=(o.left+u.x)/l.x,f=(o.top+u.y)/l.y,d=o.width/l.x,h=o.height/l.y;if(a){let e=_(a),t=n&&j(n)?_(n):n,r=e,i=V(r);for(;i&&n&&t!==r;){let e=Y(i),t=i.getBoundingClientRect(),n=F(i),o=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y;c*=e.x,f*=e.y,d*=e.x,h*=e.y,c+=o,f+=a,i=V(r=_(i))}}return w({width:d,height:h,x:c,y:f})}function K(e,t){let r=B(e).scrollLeft;return t?t.left+r:q(P(e)).left+r}function J(e,t,r){void 0===r&&(r=!1);let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-(r?0:K(e,n)),y:n.top+t.scrollTop}}function Q(e,t,r){let n;if("viewport"===t)n=function(e,t){let r=_(e),n=P(e),i=r.visualViewport,o=n.clientWidth,a=n.clientHeight,l=0,s=0;if(i){o=i.width,a=i.height;let e=N();(!e||e&&"fixed"===t)&&(l=i.offsetLeft,s=i.offsetTop)}return{width:o,height:a,x:l,y:s}}(e,r);else if("document"===t)n=function(e){let t=P(e),r=B(e),n=e.ownerDocument.body,i=o(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=o(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),l=-r.scrollLeft+K(e),s=-r.scrollTop;return"rtl"===F(n).direction&&(l+=o(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:l,y:s}}(P(e));else if(j(t))n=function(e,t){let r=q(e,!0,"fixed"===t),n=r.top+e.clientTop,i=r.left+e.clientLeft,o=I(e)?Y(e):s(1),a=e.clientWidth*o.x;return{width:a,height:e.clientHeight*o.y,x:i*o.x,y:n*o.y}}(t,r);else{let r=Z(e);n={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return w(n)}function ee(e){return"static"===F(e).position}function et(e,t){if(!I(e)||"fixed"===F(e).position)return null;if(t)return t(e);let r=e.offsetParent;return P(e)===r&&(r=r.ownerDocument.body),r}function er(e,t){let r=_(e);if(L(e))return r;if(!I(e)){let t=D(e);for(;t&&!H(t);){if(j(t)&&!ee(t))return t;t=D(t)}return r}let n=et(e,t);for(;n&&["table","td","th"].includes(C(n))&&ee(n);)n=et(n,t);return n&&H(n)&&ee(n)&&!T(n)?r:n||function(e){let t=D(e);for(;I(t)&&!H(t);){if(T(t))return t;if(L(t))break;t=D(t)}return null}(e)||r}let en=async function(e){let t=this.getOffsetParent||er,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=I(t),i=P(t),o="fixed"===r,a=q(e,!0,o,t),l={scrollLeft:0,scrollTop:0},u=s(0);if(n||!n&&!o){if(("body"!==C(t)||$(i))&&(l=B(t)),n){let e=q(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=K(i))}let c=!i||n||o?s(0):J(i,l);return{x:a.left+l.scrollLeft-u.x-c.x,y:a.top+l.scrollTop-u.y-c.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},ei={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e,o="fixed"===i,a=P(n),l=!!t&&L(t.floating);if(n===a||l&&o)return r;let u={scrollLeft:0,scrollTop:0},c=s(1),f=s(0),d=I(n);
1if((d||!d&&!o)&&(("body"!==C(n)||$(a))&&(u=B(n)),I(n))){let e=q(n);c=Y(n),f.x=e.x+n.clientLeft,f.y=e.y+n.clientTop}let h=!a||d||o?s(0):J(a,u,!0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-u.scrollLeft*c.x+f.x+h.x,y:r.y*c.y-u.scrollTop*c.y+f.y+h.y}},getDocumentElement:P,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e,l=[..."clippingAncestors"===r?L(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=W(e,[],!1).filter(e=>j(e)&&"body"!==C(e)),i=null,o="fixed"===F(e).position,a=o?D(e):e;for(;j(a)&&!H(a);){let t=F(a),r=T(a);r||"fixed"!==t.position||(i=null),(o?!r&&!i:!r&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||$(a)&&!r&&function e(t,r){let n=D(t);return!(n===r||!j(n)||H(n))&&("fixed"===F(n).position||e(n,r))}(e,a))?n=n.filter(e=>e!==a):i=t,a=D(a)}return t.set(e,n),n}(t,this._c):[].concat(r),n],s=l[0],u=l.reduce((e,r)=>{let n=Q(t,r,a);return e.top=o(n.top,e.top),e.right=i(n.right,e.right),e.bottom=i(n.bottom,e.bottom),e.left=o(n.left,e.left),e},Q(t,s,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:er,getElementRects:en,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=G(e);return{width:t,height:r}},getScale:Y,isElement:j,isRTL:function(e){return"rtl"===F(e).direction}};function eo(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ea(e,t,r,n){let a;void 0===n&&(n={});let{ancestorScroll:s=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:d=!1}=n,h=U(e),g=s||u?[...h?W(h):[],...W(t)]:[];g.forEach(e=>{s&&e.addEventListener("scroll",r,{passive:!0}),u&&e.addEventListener("resize",r)});let p=h&&f?function(e,t){let r,n=null,a=P(e);function s(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function u(c,f){void 0===c&&(c=!1),void 0===f&&(f=1),s();let d=e.getBoundingClientRect(),{left:h,top:g,width:p,height:b}=d;if(c||t(),!p||!b)return;let m=l(g),y=l(a.clientWidth-(h+p)),v={rootMargin:-m+"px "+-y+"px "+-l(a.clientHeight-(g+b))+"px "+-l(h)+"px",threshold:o(0,i(1,f))||1},w=!0;function x(t){let n=t[0].intersectionRatio;if(n!==f){if(!w)return u();n?u(!1,n):r=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==n||eo(d,e.getBoundingClientRect())||u(),w=!1}try{n=new IntersectionObserver(x,{...v,root:a.ownerDocument})}catch(e){n=new IntersectionObserver(x,v)}n.observe(e)}(!0),s}(h,r):null,b=-1,m=null;c&&(m=new ResizeObserver(e=>{let[n]=e;n&&n.target===h&&m&&(m.unobserve(t),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),r()}),h&&!d&&m.observe(h),m.observe(t));let y=d?q(e):null;return d&&function t(){let n=q(e);y&&!eo(y,n)&&r(),y=n,a=requestAnimationFrame(t)}(),r(),()=>{var e;g.forEach(e=>{s&&e.removeEventListener("scroll",r),u&&e.removeEventListener("resize",r)}),null==p||p(),null==(e=m)||e.disconnect(),m=null,d&&cancelAnimationFrame(a)}}let el=S,es=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:i,y:o,placement:a,middlewareData:l}=t,s=await R(t,e);return a===(null==(r=l.offset)?void 0:r.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:i+s.x,y:o+s.y,data:{...s,placement:a}}}}},eu=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:a}=t,{mainAxis:l=!0,crossAxis:s=!1,limiter:u={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=f(e,t),h={x:r,y:n},p=await S(t,c),m=b(d(a)),y=g(m),v=h[y],w=h[m];if(l){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",r=v+p[e],n=v-p[t];v=o(r,i(v,n))}if(s){let e="y"===m?"top":"left",t="y"===m?"bottom":"right",r=w+p[e],n=w-p[t];w=o(r,i(w,n))}let x=u.fn({...t,[y]:v,[m]:w});return{...x,data:{x:x.x-r,y:x.y-n,enabled:{[y]:l,[m]:s}}}}}},ec=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n,i,o,a;let{placement:l,middlewareData:s,rects:u,initialPlacement:c,platform:v,elements:w}=t,{mainAxis:x=!0,crossAxis:k=!0,fallbackPlacements:E,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:R="none",flipAlignment:A=!0,...C}=f(e,t);if(null!=(r=s.arrow)&&r.alignmentOffset)return{};let _=d(l),P=b(c),M=d(c)===c,j=await (null==v.isRTL?void 0:v.isRTL(w.floating)),I=E||(M||!A?[y(c)]:function(e){let t=y(e);return[m(e),t,m(t)]}(c)),z="none"!==R;!E&&z&&I.push(...function(e,t,r,n){let i=h(e),o=function(e,t,r){let n=["left","right"],i=["right","left"];switch(e){case"top":case"bottom":if(r)return t?i:n;return t?n:i;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(d(e),"start"===r,n);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(m)))),o}(c,A,R,j));let $=[c,...I],L=await S(t,C),T=[],N=(null==(n=s.flip)?void 0:n.overflows)||[];if(x&&T.push(L[_]),k){let e=function(e,t,r){void 0===r&&(r=!1);let n=h(e),i=g(b(e)),o=p(i),a="x"===i?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=y(a)),[a,y(a)]}(l,u,j);T.push(L[e[0]],L[e[1]])}if(N=[...N,{placement:l,overflows:T}],!T.every(e=>e<=0)){let e=((null==(i=s.flip)?void 0:i.index)||0)+1,t=$[e];if(t)return{data:{index:e,overflows:N},reset:{placement:t}};let r=null==(o=N.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!r)switch(O){case"bestFit":{let e=null==(a=N.filter(e=>{if(z){let t=b(e.placement);return t===P||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(r=e);break}case"initialPlacement":r=c}if(l!==r)return{reset:{placement:r}}}return{}}}},ef=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r}=t,{strategy:n="referenceHidden",...i}=f(e,t);switch(n){case"referenceHidden":{let e=E(await S(t,{...i,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:O(e)}}}case"escaped":{let e=E(await S(t,{...i,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:O(e)}}}default:return{}}}}},ed=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:a,rects:l,platform:s,elements:u,middlewareData:c}=t,{element:d,padding:m=0}=f(e,t)||{};if(null==d)return{};let y=v(m),w={x:r,y:n},x=g(b(a)),k=p(x),S=await s.getDimensions(d),E="y"===x,O=E?"clientHeight":"clientWidth",R=l.reference[k]+l.reference[x]-w[x]-l.floating[k],A=w[x]-l.reference[x],C=await (null==s.getOffsetParent?void 0:s.getOffsetParent(d)),_=C?C[O]:0;_&&await (null==s.isElement?void 0:s.isElement(C))||(_=u.floating[O]||l.floating[k]);let P=_/2-S[k]/2-1,M=i(y[E?"top":"left"],P),j=i(y[E?"bottom":"right"],P),I=_-S[k]-j,z=_/2-S[k]/2+(R/2-A/2),$=o(M,i(z,I)),L=!c.arrow&&null!=h(a)&&z!==$&&l.reference[k]/2-(z<M?M:j)-S[k]/2<0,T=L?z<M?z-M:z-I:0;return{[x]:w[x]+T,data:{[x]:$,centerOffset:z-$-T,...L&&{alignmentOffset:T}},reset:L}}}),eh=(e,t,r)=>{let n=new Map,i={platform:ei,...r},o={...i.platform,_c:n};return k(e,t,{...i,platform:o})}},96932:(e,t,r)=>{"use strict";r.d(t,{BN:()=>g,UE:()=>m,UU:()=>p,cY:()=>h,jD:()=>b,we:()=>f});var n=r(57205),i=r(12115),o=r(47650),a="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;function l(e,t){let r,n,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!l(e[n],t[n]))return!1;return!0}if((r=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,i[n]))return!1;for(n=r;0!=n--;){let r=i[n];if(("_owner"!==r||!e.$$typeof)&&!l(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function s(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let r=s(e);return Math.round(t*r)/r}function c(e){let t=i.useRef(e);return a(()=>{t.current=e}),t}function f(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:f=[],platform:d,elements:{reference:h,floating:g}={},transform:p=!0,whileElementsMounted:b,open:m}=e,[y,v]=i.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[w,x]=i.useState(f);l(w,f)||x(f);let[k,S]=i.useState(null),[E,O]=i.useState(null),R=i.useCallback(e=>{e!==P.current&&(P.current=e,S(e))},[]),A=i.useCallback(e=>{e!==M.current&&(M.current=e,O(e))},[]),C=h||k,_=g||E,P=i.useRef(null),M=i.useRef(null),j=i.useRef(y),I=null!=b,z=c(b),$=c(d),L=c(m),T=i.useCallback(()=>{if(!P.current||!M.current)return;let e={placement:t,strategy:r,middleware:w};$.current&&(e.platform=$.current),(0,n.rD)(P.current,M.current,e).then(e=>{let t={...e,isPositioned:!1!==L.current};N.current&&!l(j.current,t)&&(j.current=t,o.flushSync(()=>{v(t)}))})},[w,t,r,$,L]);a(()=>{!1===m&&j.current.isPositioned&&(j.current.isPositioned=!1,v(e=>({...e,isPositioned:!1})))},[m]);let N=i.useRef(!1);a(()=>(N.current=!0,()=>{N.current=!1}),[]),a(()=>{if(C&&(P.current=C),_&&(M.current=_),C&&_){if(z.current)return z.current(C,_,T);T()}},[C,_,T,z,I]);let H=i.useMemo(()=>({reference:P,floating:M,setReference:R,setFloating:A}),[R,A]),F=i.useMemo(()=>({reference:C,floating:_}),[C,_]),B=i.useMemo(()=>{let e={position:r,left:0,top:0};if(!F.floating)return e;let t=u(F.floating,y.x),n=u(F.floating,y.y);return p?{...e,transform:"translate("+t+"px, "+n+"px)",...s(F.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,p,F.floating,y.x,y.y]);return i.useMemo(()=>({...y,update:T,refs:H,elements:F,floatingStyles:B}),[y,T,H,F,B])}let d=e=>({name:"arrow",options:e,fn(t){let{element:r,padding:i}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?(0,n.UE)({element:r.current,padding:i}).fn(t):{}:r?(0,n.UE)({element:r,padding:i}).fn(t):{}}}),h=(e,t)=>({...(0,n.cY)(e),options:[e,t]}),g=(e,t)=>({...(0,n.BN)(e),options:[e,t]}),p=(e,t)=>({...(0,n.UU)(e),options:[e,t]}),b=(e,t)=>({...(0,n.jD)(e),options:[e,t]}),m=(e,t)=>
1({...d(e),options:[e,t]})},97684:(e,t,r)=>{"use strict";r.d(t,{Cv:()=>n,D9:()=>f,ON:()=>a,OZ:()=>h,Ql:()=>o,V0:()=>i,Zp:()=>u,wL:()=>d,wm:()=>l,wv:()=>c,yW:()=>g,z1:()=>s});let n=["gray","blue","purple","magenta","red","orange","yellow","green","cyan"],i=["50","100","200","300","400","500","600","700","800","900","950"],o={title:"Black",hex:"#0d0e12"},a={title:"White",hex:"#ffffff"},l={50:{title:"Gray 50",hex:"#f6f6f8"},100:{title:"Gray 100",hex:"#eeeef1"},200:{title:"Gray 200",hex:"#e3e4e8"},300:{title:"Gray 300",hex:"#bbbdc9"},400:{title:"Gray 400",hex:"#9499ad"},500:{title:"Gray 500",hex:"#727892"},600:{title:"Gray 600",hex:"#515870"},700:{title:"Gray 700",hex:"#383d51"},800:{title:"Gray 800",hex:"#252837"},900:{title:"Gray 900",hex:"#1b1d27"},950:{title:"Gray 950",hex:"#13141b"}},s={50:{title:"Blue 50",hex:"#f5f8ff"},100:{title:"Blue 100",hex:"#e5edff"},200:{title:"Blue 200",hex:"#dbe5ff"},300:{title:"Blue 300",hex:"#a8bfff"},400:{title:"Blue 400",hex:"#7595ff"},500:{title:"Blue 500",hex:"#556bfc"},600:{title:"Blue 600",hex:"#4043e7"},700:{title:"Blue 700",hex:"#2927aa"},800:{title:"Blue 800",hex:"#192457"},900:{title:"Blue 900",hex:"#161a41"},950:{title:"Blue 950",hex:"#101228"}},u={50:{title:"Purple 50",hex:"#f8f5ff"},100:{title:"Purple 100",hex:"#f1ebff"},200:{title:"Purple 200",hex:"#ece1fe"},300:{title:"Purple 300",hex:"#ccb1fc"},400:{title:"Purple 400",hex:"#b087f7"},500:{title:"Purple 500",hex:"#8f57ef"},600:{title:"Purple 600",hex:"#721fe5"},700:{title:"Purple 700",hex:"#4c1a9e"},800:{title:"Purple 800",hex:"#2f1862"},900:{title:"Purple 900",hex:"#23173f"},950:{title:"Purple 950",hex:"#181128"}},c={50:{title:"Red 50",hex:"#fff6f5"},100:{title:"Red 100",hex:"#ffe7e5"},200:{title:"Red 200",hex:"#ffdedc"},300:{title:"Red 300",hex:"#fdada5"},400:{title:"Red 400",hex:"#f77769"},500:{title:"Red 500",hex:"#ef4434"},600:{title:"Red 600",hex:"#cc2819"},700:{title:"Red 700",hex:"#8b2018"},800:{title:"Red 800",hex:"#4d1714"},900:{title:"Red 900",hex:"#321615"},950:{title:"Red 950",hex:"#1e1011"}},f={50:{title:"Yellow 50",hex:"#fefae1"},100:{title:"Yellow 100",hex:"#fcf3bb"},200:{title:"Yellow 200",hex:"#f9e994"},300:{title:"Yellow 300",hex:"#f7d455"},400:{title:"Yellow 400",hex:"#f9bc15"},500:{title:"Yellow 500",hex:"#d28a04"},600:{title:"Yellow 600",hex:"#965908"},700:{title:"Yellow 700",hex:"#653a0b"},800:{title:"Yellow 800",hex:"#3b220c"},900:{title:"Yellow 900",hex:"#271a11"},950:{title:"Yellow 950",hex:"#181410"}},d={50:{title:"Green 50",hex:"#e7fef5"},100:{title:"Green 100",hex:"#c5fce8"},200:{title:"Green 200",hex:"#a9f9dc"},300:{title:"Green 300",hex:"#59f3ba"},400:{title:"Green 400",hex:"#0ff0a1"},500:{title:"Green 500",hex:"#04b97a"},600:{title:"Green 600",hex:"#01794f"},700:{title:"Green 700",hex:"#015133"},800:{title:"Green 800",hex:"#023120"},900:{title:"Green 900",hex:"#06231a"},950:{title:"Green 950",hex:"#071715"}},h={gray:l,blue:s,purple:u,magenta:{50:{title:"Magenta 50",hex:"#fef6f9"},100:{title:"Magenta 100",hex:"#fde8ef"},200:{title:"Magenta 200",hex:"#fcdee9"},300:{title:"Magenta 300",hex:"#f7abc5"},400:{title:"Magenta 400",hex:"#f0709b"},500:{title:"Magenta 500",hex:"#e72767"},600:{title:"Magenta 600",hex:"#b11651"},700:{title:"Magenta 700",hex:"#7c1342"},800:{title:"Magenta 800",hex:"#4b1130"},900:{title:"Magenta 900",hex:"#341325"},950:{title:"Magenta 950",hex:"#1f0f14"}},red:c,orange:{50:{title:"Orange 50",hex:"#fff7f0"},100:{title:"Orange 100",hex:"#ffeadb"},200:{title:"Orange 200",hex:"#ffddc7"},300:{title:"Orange 300",hex:"#ffb685"},400:{title:"Orange 400",hex:"#ff8e42"},500:{title:"Orange 500",hex:"#fa6400"},600:{title:"Orange 600",hex:"#b14802"},700:{title:"Orange 700",hex:"#7c3404"},800:{title:"Orange 800",hex:"#461e07"},900:{title:"Orange 900",hex:"#32160b"},950:{title:"Orange 950",hex:"#21120d"}},yellow:f,green:d,cyan:{50:{title:"Cyan 50",hex:"#e7fefe"},100:{title:"Cyan 100",hex:"#c5fcfc"},200:{title:"Cyan 200",hex:"#96f8f8"},300:{title:"Cyan 300",hex:"#62efef"},400:{title:"Cyan 400",hex:"#18e2e2"},500:{title:"Cyan 500",hex:"#04b8be"},600:{title:"Cyan 600",hex:"#037782"},700:{title:"Cyan 700",hex:"#024950"},800:{title:"Cyan 800",hex:"#042f34"},900:{title:"Cyan 900",hex:"#072227"},950:{title:"Cyan 950",hex:"#0d181c"}}},g={black:o,white:a,...h}},24531:(e,t,r)=>{"use strict";function n(e){let[t,r]=e;return[t,r]}function i(e,t){let r=e,n=t,i=r.length,o=n.length;if(0===i||0===o)return 0;i>o?r=r.substring(i-o):i<o&&(n=n.substring(0,i));let a=Math.min(i,o);if(r===n)return a;let l=0,s=1;for(let e=0;-1!==e;){let t=r.substring(a-s);if(-1===(e=n.indexOf(t)))break;s+=e,(0===e||r.substring(a-s)===n.substring(0,s))&&(l=s,s++)}return l}function o(e,t){if(!e||!t||e[0]!==t[0])return 0;let r=0,n=Math.min(e.length,t.length),i=n,o=0;for(;r<i;)e.substring(o,i)===t.substring(o,i)?o=r=i:n=i,i=Math.floor((n-r)/2+r);return i}function a(e,t){if(!e||!t||e[e.length-1]!==t[t.length-1])return 0;let r=0,n=Math.min(e.length,t.length),i=n,o=0;for(;r<i;)e.substring(e.length-i,e.length-o)===t.substring(t.length-i,t.length-o)?o=r=i:n=i,i=Math.floor((n-r)/2+r);return i}function l(e){let t=e.charCodeAt(0);return t>=56320&&t<=57343}function s(e,t,r,n,i){let o=e.substring(0,r),a=t.substring(0,n),l=e.substring(r),s=t.substring(n),u=w(o,a,{checkLines:!1,deadline:i}),c=w(l,s,{checkLines:!1,deadline:i});return u.concat(c)}function u(e,t,r){let n=e.slice(r,r+Math.floor(e.length/4)),i=-1,l="",s,u,c,f;for(;-1!==(i=t.indexOf(n,i+1));){let n=o(e.slice(r),t.slice(i)),d=a(e.slice(0,r),t.slice(0,i));l.length<d+n&&(l=t.slice(i-d,i)+t.slice(i,i+n),s=e.slice(0,r-d),u=e.slice(r+n),c=t.slice(0,i-d),f=t.slice(i+n))}return 2*l.length>=e.length?[s||"",u||"",c||"",f||"",l||""]:null}r.d(t,{$i:()=>Y,Cm:()=>b,Ug:()=>m,Vx:()=>E,iU:()=>v,iz:()=>ea,jW:()=>er,lw:()=>y,sw:()=>j,w1:()=>es});var c=Object.defineProperty,f=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,g=(e,t,r)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,p=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&g(e,r,t[r]);if(f)for(var r of f(t))h.call(t,r)&&g(e,r,t[r]);return e};let b=-1,m=1,y=0;function v(e,t,r){var n,i;let o;if(null===e||null===t)throw Error("Null input. (diff)");let a=w(e,t,p({checkLines:!0,deadline:(i=(n=r||{}).timeout||1,o=1,"u">typeof i&&(o=i<=0?Number.MAX_VALUE:i),Date.now()+1e3*o)}
1,n));return function(e){for(let t=0;t<e.length;t++){let[r,n]=e[t];if(0===n.length)continue;let i=n[0];(function(e){let t=e.charCodeAt(0);return t>=55296&&t<=56319})(n[n.length-1])&&r===y&&S(e,t,1),l(i)&&r===y&&S(e,t,-1)}for(let t=0;t<e.length;t++)0===e[t][1].length&&e.splice(t,1)}(a),a}function w(e,t,r){let n=e,i=t;if(n===i)return n?[[y,n]]:[];let l=o(n,i),c=n.substring(0,l);l=a(n=n.substring(l),i=i.substring(l));let f=n.substring(n.length-l),d=function(e,t,r){let n;if(!e)return[[m,t]];if(!t)return[[b,e]];let i=e.length>t.length?e:t,o=e.length>t.length?t:e,a=i.indexOf(o);if(-1!==a)return n=[[m,i.substring(0,a)],[y,o],[m,i.substring(a+o.length)]],e.length>t.length&&(n[0][0]=b,n[2][0]=b),n;if(1===o.length)return[[b,e],[m,t]];let l=function(e,t,r=1){let n,i,o,a,l;if(r<=0)return null;let s=e.length>t.length?e:t,c=e.length>t.length?t:e;if(s.length<4||2*c.length<s.length)return null;let f=u(s,c,Math.ceil(s.length/4)),d=u(s,c,Math.ceil(s.length/2));if(f&&d)n=f[4].length>d[4].length?f:d;else{if(!f&&!d)return null;d?f||(n=d):n=f}if(!n)throw Error("Unable to find a half match.");return e.length>t.length?(i=n[0],o=n[1],a=n[2],l=n[3]):(a=n[0],l=n[1],i=n[2],o=n[3]),[i,o,a,l,n[4]]}(e,t);if(l){let e=l[0],t=l[1],n=l[2],i=l[3],o=l[4],a=w(e,n,r),s=w(t,i,r);return a.concat([[y,o]],s)}return r.checkLines&&e.length>100&&t.length>100?function(e,t,r){let n=e,i=t,o=function(e,t){let r=[],n={};function i(e){let t="",i=0,a=-1,l=r.length;for(;a<e.length-1;){-1===(a=e.indexOf(` 2`,i))&&(a=e.length-1);let s=e.slice(i,a+1);(n.hasOwnProperty?n.hasOwnProperty(s):void 0!==n[s])?t+=String.fromCharCode(n[s]):(l===o&&(s=e.slice(i),a=e.length),t+=String.fromCharCode(l),n[s]=l,r[l++]=s),i=a+1}return t}r[0]="";let o=4e4,a=i(e);return o=65535,{chars1:a,chars2:i(t),lineArray:r}}(n,i);n=o.chars1,i=o.chars2;let a=o.lineArray,l=w(n,i,{checkLines:!1,deadline:r.deadline});(function(e,t){for(let r=0;r<e.length;r++){let n=e[r][1],i=[];for(let e=0;e<n.length;e++)i[e]=t[n.charCodeAt(e)];e[r][1]=i.join("")}})(l,a),(l=E(l)).push([y,""]);let s=0,u=0,c=0,f="",d="";for(;s<l.length;){switch(l[s][0]){case m:c++,d+=l[s][1];break;case b:u++,f+=l[s][1];break;case y:if(u>=1&&c>=1){l.splice(s-u-c,u+c),s=s-u-c;let e=w(f,d,{checkLines:!1,deadline:r.deadline});for(let t=e.length-1;t>=0;t--)l.splice(s,0,e[t]);s+=e.length}c=0,u=0,f="",d="";break;default:throw Error("Unknown diff operation.")}s++}return l.pop(),l}(e,t,r):function(e,t,r){let n=e.length,i=t.length,o=Math.ceil((n+i)/2),a=2*o,l=Array(a),u=Array(a);for(let e=0;e<a;e++)l[e]=-1,u[e]=-1;l[o+1]=0,u[o+1]=0;let c=n-i,f=c%2!=0,d=0,h=0,g=0,p=0;for(let b=0;b<o&&!(Date.now()>r);b++){for(let g=-b+d;g<=b-h;g+=2){let p;let m=o+g,y=(p=g===-b||g!==b&&l[m-1]<l[m+1]?l[m+1]:l[m-1]+1)-g;for(;p<n&&y<i&&e.charAt(p)===t.charAt(y);)p++,y++;if(l[m]=p,p>n)h+=2;else if(y>i)d+=2;else if(f){let i=o+c-g;if(i>=0&&i<a&&-1!==u[i]&&p>=n-u[i])return s(e,t,p,y,r)}}for(let d=-b+g;d<=b-p;d+=2){let h;let m=o+d,y=(h=d===-b||d!==b&&u[m-1]<u[m+1]?u[m+1]:u[m-1]+1)-d;for(;h<n&&y<i&&e.charAt(n-h-1)===t.charAt(i-y-1);)h++,y++;if(u[m]=h,h>n)p+=2;else if(y>i)g+=2;else if(!f){let i=o+c-d;if(i>=0&&i<a&&-1!==l[i]){let a=l[i],u=o+a-i;if(a>=(h=n-h))return s(e,t,a,u,r)}}}}return[[b,e],[m,t]]}(e,t,r.deadline)}(n=n.substring(0,n.length-l),i=i.substring(0,i.length-l),r);return c&&d.unshift([y,c]),f&&d.push([y,f]),d=M(d)}function x(e,t,r){return 1===r?e+t:t+e}function k(e,t){return 1===t?[e.substring(0,e.length-1),e[e.length-1]]:[e.substring(1),e[0]]}function S(e,t,r){var n,i;let o=1===r?-1:1,a=null,l=null,s=t+r;for(;s>=0&&s<e.length&&(null===a||null===l);s+=r){let[n,i]=e[s];if(0!==i.length){if(n===m){null===a&&(a=s);continue}if(n===b){null===l&&(l=s);continue}if(n===y){if(null===a&&null===l){let[n,i]=k(e[t][1],r);e[t][1]=n,e[s][1]=x(e[s][1],i,o);return}break}}}if(null!==a&&null!==l&&(n=a,i=l,1===r?e[n][1][e[n][1].length-1]===e[i][1][e[i][1].length-1]:e[n][1][0]===e[i][1][0])){let[
2n,i]=k(e[a][1],o),[s]=k(e[l][1],o);e[a][1]=n,e[l][1]=s,e[t][1]=x(e[t][1],i,r);return}let[u,c]=k(e[t][1],r);e[t][1]=u,null===a?(e.splice(s,0,[m,c]),null!==l&&l>=s&&l++):e[a][1]=x(e[a][1],c,o),null===l?e.splice(s,0,[b,c]):e[l][1]=x(e[l][1],c,o)}function E(e){let t=e.map(e=>n(e)),r=!1,o=[],a=0,l=null,s=0,u=0,c=0,f=0,d=0;for(;s<t.length;)t[s][0]===y?(o[a++]=s,u=f,c=d,f=0,d=0,l=t[s][1]):(t[s][0]===m?f+=t[s][1].length:d+=t[s][1].length,l&&l.length<=Math.max(u,c)&&l.length<=Math.max(f,d)&&(t.splice(o[a-1],0,[b,l]),t[o[a-1]+1][0]=m,a--,s=--a>0?o[a-1]:-1,u=0,c=0,f=0,d=0,l=null,r=!0)),s++;for(r&&(t=M(t)),t=P(t),s=1;s<t.length;){if(t[s-1][0]===b&&t[s][0]===m){let e=t[s-1][1],r=t[s][1],n=i(e,r),o=i(r,e);n>=o?(n>=e.length/2||n>=r.length/2)&&(t.splice(s,0,[y,r.substring(0,n)]),t[s-1][1]=e.substring(0,e.length-n),t[s+1][1]=r.substring(n),s++):(o>=e.length/2||o>=r.length/2)&&(t.splice(s,0,[y,e.substring(0,o)]),t[s-1][0]=m,t[s-1][1]=r.substring(0,r.length-o),t[s+1][0]=b,t[s+1][1]=e.substring(o),s++),s++}s++}return t}let O=/[^a-zA-Z0-9]/,R=/\s/,A=/[\r\n]/,C=/\n\r?\n$/,_=/^\r?\n\r?\n/;function P(e){let t=e.map(e=>n(e));function r(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),i=r.match(O),o=n.match(O),a=i&&r.match(R),l=o&&n.match(R),s=a&&r.match(A),u=l&&n.match(A),c=s&&e.match(C),f=u&&t.match(_);return c||f?5:s||u?4:i&&!a&&l?3:a||l?2:i||o?1:0}let i=1;for(;i<t.length-1;){if(t[i-1][0]===y&&t[i+1][0]===y){let e=t[i-1][1],n=t[i][1],o=t[i+1][1],l=a(e,n);if(l){let t=n.substring(n.length-l);e=e.substring(0,e.length-l),n=t+n.substring(0,n.length-l),o=t+o}let s=e,u=n,c=o,f=r(e,n)+r(n,o);for(;n.charAt(0)===o.charAt(0);){e+=n.charAt(0),n=n.substring(1)+o.charAt(0),o=o.substring(1);let t=r(e,n)+r(n,o);t>=f&&(f=t,s=e,u=n,c=o)}t[i-1][1]!==s&&(s?t[i-1][1]=s:(t.splice(i-1,1),i--),t[i][1]=u,c?t[i+1][1]=c:(t.splice(i+1,1),i--))}i++}return t}function M(e){let t=e.map(e=>n(e));t.push([y,""]);let r=0,i=0,l=0,s="",u="",c;for(;r<t.length;)switch(t[r][0]){case m:l++,u+=t[r][1],r++;break;case b:i++,s+=t[r][1],r++;break;case y:i+l>1?(0!==i&&0!==l&&(0!==(c=o(u,s))&&(r-i-l>0&&t[r-i-l-1][0]===y?t[r-i-l-1][1]+=u.substring(0,c):(t.splice(0,0,[y,u.substring(0,c)]),r++),u=u.substring(c),s=s.substring(c)),0!==(c=a(u,s))&&(t[r][1]=u.substring(u.length-c)+t[r][1],u=u.substring(0,u.length-c),s=s.substring(0,s.length-c))),r-=i+l,t.splice(r,i+l),s.length&&(t.splice(r,0,[b,s]),r++),u.length&&(t.splice(r,0,[m,u]),r++),r++):0!==r&&t[r-1][0]===y?(t[r-1][1]+=t[r][1],t.splice(r,1)):r++,l=0,i=0,s="",u="";break;default:throw Error("Unknown diff operation")}""===t[t.length-1][1]&&t.pop();let f=!1;for(r=1;r<t.length-1;)t[r-1][0]===y&&t[r+1][0]===y&&(t[r][1].substring(t[r][1].length-t[r-1][1].length)===t[r-1][1]?(t[r][1]=t[r-1][1]+t[r][1].substring(0,t[r][1].length-t[r-1][1].length),t[r+1][1]=t[r-1][1]+t[r+1][1],t.splice(r-1,1),f=!0):t[r][1].substring(0,t[r+1][1].length)===t[r+1][1]&&(t[r-1][1]+=t[r+1][1],t[r][1]=t[r][1].substring(t[r+1][1].length)+t[r+1][1],t.splice(r+1,1),f=!0)),r++;return f&&(t=M(t)),t}function j(e,t=4){let r=e.map(e=>n(e)),i=!1,o=[],a=0,l=null,s=0,u=!1,c=!1,f=!1,d=!1;for(;s<r.length;)r[s][0]===y?(r[s][1].length<t&&(f||d)?(o[a++]=s,u=f,c=d,l=r[s][1]):(a=0,l=null),f=!1,d=!1):(r[s][0]===b?d=!0:f=!0,l&&(u&&c&&f&&d||l.length<t/2&&3===function(...e){return e.reduce((e,t)=>e+(t?1:0),0)}(u,c,f,d))&&(r.splice(o[a-1],0,[b,l]),r[o[a-1]+1][0]=m,a--,l=null,u&&c?(f=!0,d=!0,a=0):(s=--a>0?o[a-1]:-1,f=!1,d=!1),i=!0)),s++;return i&&(r=M(r)),r}var I=Object.defineProperty,z=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,T=(e,t,r)=>t in e?I(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,N=(e,t)=>{for(var r in t||(t={}))$.call(t,r)&&T(e,r,t[r]);if(z)for(var r of z(t))L.call(t,r)&&T(e,r,t[r]);return e};let H={threshold:.5,distance:1e3};function F(e,t,r,n={}){if(null===e||null===t||null===r)throw Error("Null input. (match())");let i=Math.max(0,Math.min(r,e.length));return e===t?0:e.length?e.substring(i,i+t.length)===t?i:function(e,t,r,n={}){if(t.length>32)throw Error("Pattern too long for this browser.");let i=N(N({},H),n),o=function(e){let t={};for(let r=0;r<e.length;r++)t[e.charAt(r)]=0;for(let r=0;r<e.length;r++)t[e.charAt(r)]|=1<<e.length-r-1;return t}(t);function a(e,n){let o=e/t.length,a=Math.abs(r-n);return i.distance?o+a/i.distance:a?1:o}let l=i.threshold,s=e.indexOf(t,r);-1!==s&&(l=Math.min(a(0,s),l),-1!==(s=e.lastIndexOf(t,r+t.length))&&(l=Math.min(a(0,s),l)));let u=1<<t.length-1;s=-1;let c,f,d=t.length+e.length,h=[];for(let n=0;n<t.length;n++){for(c=0,f=d;c<f;)a(n,r+f)<=l?c=f:d=f,f=Math.floor((d-c)/2+c);d=f;let i=Math.max(1,r-f+1),g=Math.min(r+f,e.length)+t.length,p=Array(g+2);p[g+1]=(1<<n)-1;for(let t=g;t>=i;t--){let c=o[e.charAt(t-1)];if(0===n?p[t]=(p[t+1]<<1|1)&c:p[t]=(p[t+1]<<1|1)&c|((h[t+1]|h[t])<<1|1)|h[t+1],p[t]&u){let e=a(n,t-1);if(e<=l){if(l=e,(s=t-1)>r)i=Math.max(1,2*r-s);else break}}}if(a(n+1,r)>l)break;h=p}return s}(e,t,i,n):-1}function B(e){let t=[];for(let r=0;r<e.length;r++)e[r][0]!==m&&(t[r]=e[r][1]);return t.join("")}function D(e){let t=[];for(let r=0;r<e.length;r++)e[r][0]!==b&&(t[r]=e[r][1]);return t.join("")}function W(e,t){let r=0,n=0,i=0,o=0,a;for(a=0;a<e.length&&(e[a][0]!==m&&(r+=e[a][1].length),e[a][0]!==b&&(n+=e[a][1].length),!(r>t));a++)i=r,o=n;return e.length!==a&&e[a][0]===b?o:o+(t-i)}function V(e){let t=0;for(let r=0;r<e.length;r++){let n=e.codePointAt(r);if(typeof n>"u")throw Error("Failed to get codepoint");t+=G(n)}return t}function G(e){return e<=127?1:e<=2047?2:e<=65535?3:4}function U(e,t){return{diffs:[],start1:e,start2:t,utf8Start1:e,utf8Start2:t,length1:0,length2:0,utf8Length1:0,utf8Length2:0}}function Y(e,t,r={}){if("string"==typeof e)throw Error("Patches must be an array - pass the patch to `parsePatch()` first");let i=t;if(0===e.length)return[i,[]];let o=function(e,t,r={}){let i=0,o=0;function a(e){for(;i<e;){let e=t.codePointAt(o);if(typeof e>"u")return o;i+=G(e),e>65535?o+=2:o+=1}if(!r.allowExceedingIndices&&i!==e)throw Error("Failed to determine byte offset");return o}let l=[];for(let t of e)l.push({diffs:t.diffs.map(e=>n(e)),start1:a(t.start1),start2:a(t.start2),utf8Start1:t.utf8Start1,utf8Start2:t.utf8Start2,length1:t.length1,length2:t.length2,utf8Length1:t.utf8Length1,utf8Length2:t.utf8Length2});return l}(e,i,{allowExceedingIndices:r.allowExceedingIndices}),a=r.margin||4,l=r.deleteThreshold||.4,s=function(e,t=4){let r="";for(let e=1;e<=t;e++)r+=String.fromCharCode(e);for(let r of e)r.start1+=t,r.start2+=t,r.utf8Start1+=t,r.utf8Start2+=t;let n=e[0],i=n.diffs;if(0===i.length||i[0][0]!==y)i.unshift([y,r]),n.start1-=t,n.start2-=t,n.utf8Start1-=t,n.utf8Start2-=t,n.length1+=t,n.length2+=t,n.utf8Length1+=t,n.utf8Length2+=t;else if(t>i[0][1].length){let e=i[0][1].length,o=t-e;i[0][1]=r.substring(e)+i[0][1],n.start1-=o,n.start2-=o,n.utf8Start1-=o,n.utf8Start2-=o,n.length1+=o,n.length2+=o,n.utf8Length1+=o,n.utf8Length2+=o}if(0===(i=(n=e[e.length-1]).diffs).length||i[i.length-1][0]!==y)i.push([y,r]),n.length1+=t,n.length2+=t,n.utf8Length1+=t,n.utf8Length2+=t;else if(t>i[i.length-1][1].length){let e=t-i[i.length-1][1].length;i[i.length-1][1]+=r.substring(0,e),n.length1+=e,n.length2+=e,n.utf8Length1+=e,n.utf8Length2+=e}return r}(o,a);i=s+i+s,function(e,t=4){for(let r=0;r<e.length;r++){if(e[r].length1<=32)continue;let n=e[r];
2e.splice(r--,1);let i=n.start1,o=n.start2,a="";for(;0!==n.diffs.length;){let l=U(i-a.length,o-a.length),s=!0;if(""!==a){let e=V(a);l.length1=a.length,l.utf8Length1=e,l.length2=a.length,l.utf8Length2=e,l.diffs.push([y,a])}for(;0!==n.diffs.length&&l.length1<32-t;){let e=n.diffs[0][0],r=n.diffs[0][1],a=V(r);if(e===m){l.length2+=r.length,l.utf8Length2+=a,o+=r.length;let e=n.diffs.shift();e&&l.diffs.push(e),s=!1}else e===b&&1===l.diffs.length&&l.diffs[0][0]===y&&r.length>64?(l.length1+=r.length,l.utf8Length1+=a,i+=r.length,s=!1,l.diffs.push([e,r]),n.diffs.shift()):(a=V(r=r.substring(0,32-l.length1-t)),l.length1+=r.length,l.utf8Length1+=a,i+=r.length,e===y?(l.length2+=r.length,l.utf8Length2+=a,o+=r.length):s=!1,l.diffs.push([e,r]),r===n.diffs[0][1]?n.diffs.shift():n.diffs[0][1]=n.diffs[0][1].substring(r.length))}a=(a=D(l.diffs)).substring(a.length-t);let u=B(n.diffs).substring(0,t),c=V(u);""!==u&&(l.length1+=u.length,l.length2+=u.length,l.utf8Length1+=c,l.utf8Length2+=c,0!==l.diffs.length&&l.diffs[l.diffs.length-1][0]===y?l.diffs[l.diffs.length-1][1]+=u:l.diffs.push([y,u])),s||e.splice(++r,0,l)}}}(o,a);let u=0,c=[];for(let e=0;e<o.length;e++){let t=o[e].start2+u,r=B(o[e].diffs),n,a=-1;if(r.length>32?-1!==(n=F(i,r.substring(0,32),t))&&(-1===(a=F(i,r.substring(r.length-32),t+r.length-32))||n>=a)&&(n=-1):n=F(i,r,t),-1===n)c[e]=!1,u-=o[e].length2-o[e].length1;else{let s;if(c[e]=!0,u=n-t,s=-1===a?i.substring(n,n+r.length):i.substring(n,a+32),r===s)i=i.substring(0,n)+D(o[e].diffs)+i.substring(n+r.length);else{let t=v(r,s,{checkLines:!1});if(r.length>32&&function(e){let t=0,r=0,n=0;for(let i=0;i<e.length;i++){let o=e[i][0],a=e[i][1];switch(o){case m:r+=a.length;break;case b:n+=a.length;break;case y:t+=Math.max(r,n),r=0,n=0;break;default:throw Error("Unknown diff operation.")}}return t+Math.max(r,n)}(t)/r.length>l)c[e]=!1;else{t=P(t);let r=0,a=0;for(let l=0;l<o[e].diffs.length;l++){let s=o[e].diffs[l];s[0]!==y&&(a=W(t,r)),s[0]===m?i=i.substring(0,n+a)+s[1]+i.substring(n+a):s[0]===b&&(i=i.substring(0,n+a)+i.substring(n+W(t,r+s[1].length))),s[0]!==b&&(r+=s[1].length)}}}}}return[i=i.substring(s.length,i.length-s.length),c]}var X=Object.defineProperty,Z=Object.getOwnPropertySymbols,q=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable,J=(e,t,r)=>t in e?X(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Q=(e,t)=>{for(var r in t||(t={}))q.call(t,r)&&J(e,r,t[r]);if(Z)for(var r of Z(t))K.call(t,r)&&J(e,r,t[r]);return e};let ee={margin:4};function et(e={}){return Q(Q({},ee),e)}function er(e,t,r){if("string"==typeof e&&"string"==typeof t){let n=v(e,t,{checkLines:!0});return n.length>2&&(n=j(n=E(n))),en(e,n,et(r))}if(e&&Array.isArray(e)&&typeof t>"u")return en(B(e),e,et(r));if("string"==typeof e&&t&&Array.isArray(t))return en(e,t,et(r));throw Error("Unknown call format to make()")}function en(e,t,r){if(0===t.length)return[];let n=[],i=U(0,0),o=0,a=0,l=0,s=0,u=0,c=e,f=e;for(let e=0;e<t.length;e++){let d=t[e],[h,g]=d,p=g.length,v=V(g);switch(o||h===y||(i.start1=a,i.start2=l,i.utf8Start1=s,i.utf8Start2=u),h){case m:i.diffs[o++]=d,i.length2+=p,i.utf8Length2+=v,f=f.substring(0,l)+g+f.substring(l);break;case b:i.length1+=p,i.utf8Length1+=v,i.diffs[o++]=d,f=f.substring(0,l)+f.substring(l+p);break;case y:p<=2*r.margin&&o&&t.length!==e+1?(i.diffs[o++]=d,i.length1+=p,i.length2+=p,i.utf8Length1+=v,i.utf8Length2+=v):p>=2*r.margin&&o&&(ei(i,c,r),n.push(i),i=U(-1,-1),o=0,c=f,a=l,s=u);break;default:throw Error("Unknown diff type")}h!==m&&(a+=p,s+=v),h!==b&&(l+=p,u+=v)}return o&&(ei(i,c,r),n.push(i)),n}function ei(e,t,r){if(0===t.length)return;let n=t.substring(e.start2,e.start2+e.length1),i=0;for(;t.indexOf(n)!==t.lastIndexOf(n)&&n.length<32-r.margin-r.margin;)i+=r.margin,n=t.substring(e.start2-i,e.start2+e.length1+i);i+=r.margin;let o=e.start2-i;o>=1&&l(t[o])&&o--;let a=t.substring(o,e.start2);a&&e.diffs.unshift([y,a]);let s=a.length,u=V(a),c=e.start2+e.length1+i;c<t.length&&l(t[c])&&c++;let f=t.substring(e.start2+e.length1,c);f&&e.diffs.push([y,f]);let d=f.length,h=V(f);e.start1-=s,e.start2-=s,e.utf8Start1-=u,e.utf8Start2-=u,e.length1+=s+d,e.length2+=s+d,e.utf8Length1+=u+h,e.utf8Length2+=u+h}let eo=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;function ea(e){if(!e)return[];let t=[],r=e.split(` 3`),n=0;for(;n<r.length;){let e=r[n].match(eo);if(!e)throw Error(`Invalid patch string: ${r[n]}`);let i=U(el(e[1]),el(e[3]));for(t.push(i),""===e[2]?(i.start1--,i.utf8Start1--,i.length1=1,i.utf8Length1=1):"0"===e[2]?(i.length1=0,i.utf8Length1=0):(i.start1--,i.utf8Start1--,i.utf8Length1=el
3(e[2]),i.length1=i.utf8Length1),""===e[4]?(i.start2--,i.utf8Start2--,i.length2=1,i.utf8Length2=1):"0"===e[4]?(i.length2=0,i.utf8Length2=0):(i.start2--,i.utf8Start2--,i.utf8Length2=el(e[4]),i.length2=i.utf8Length2),n++;n<r.length;){let e;let t=r[n],o=t.charAt(0);if("@"===o)break;if(""===o){n++;continue}try{e=decodeURI(t.slice(1))}catch(e){throw Error(`Illegal escape in parse: ${t}`)}let a=V(e)-e.length;if("-"===o)i.diffs.push([b,e]),i.length1-=a;else if("+"===o)i.diffs.push([m,e]),i.length2-=a;else if(" "===o)i.diffs.push([y,e]),i.length1-=a,i.length2-=a;else throw Error(`Invalid patch mode "${o}" in: ${e}`);n++}}return t}function el(e){return parseInt(e,10)}function es(e){return e.map(eu).join("")}function eu(e){let t,r,n;let{utf8Length1:i,utf8Length2:o,utf8Start1:a,utf8Start2:l,diffs:s}=e;t=0===i?`${a},0`:1===i?`${a+1}`:`${a+1},${i}`,r=0===o?`${l},0`:1===o?`${l+1}`:`${l+1},${o}`;let u=[`@@ -${t} +${r} @@ 4`];for(let e=0;e<s.length;e++){switch(s[e][0]){case m:n="+";break;case b:n="-";break;case y:n=" ";break;default:throw Error("Unknown patch operation.")}u[e+1]=`${n+encodeURI(s[e][1])} 5`}return u.join("").replace(/%20/g," ")}},42029:(e,t,r)=>{"use strict";r.d(t,{JW:()=>f,Lp:()=>n,l8:()=>o});let n={_version:2,avatar:{sizes:[{distance:-4,size:19},{distance:-4,size:25},{distance:-8,size:33},{distance:-12,size:49}],focusRing:{offset:1,width:1}},button:{textWeight:"medium",border:{width:1},focusRing:{offset:-1,width:1}},card:{border:{width:1},focusRing:{offset:-1,width:1},shadow:{outline:.5}},container:[320,640,960,1280,1600,1920],media:[360,600,900,1200,1800,2400],layer:{dialog:{zOffset:600},popover:{zOffset:400},tooltip:{zOffset:200}},radius:[0,1,3,6,9,12,21],shadow:[null,{umbra:[0,0,0,0],penumbra:[0,0,0,0],ambient:[0,0,0,0]},{umbra:[0,3,5,-2],penumbra:[0,6,10,0],ambient:[0,1,18,1]},{umbra:[0,7,8,-4],penumbra:[0,12,17,2],ambient:[0,5,22,4]},{umbra:[0,9,11,-5],penumbra:[0,18,28,2],ambient:[0,7,34,6]},{umbra:[0,11,15,-7],penumbra:[0,24,38,3],ambient:[0,9,46,8]}],space:[0,4,8,12,20,32,52,84,136,220],input:{border:{width:1},checkbox:{size:17,focusRing:{offset:-1,width:1}},radio:{size:17,markSize:9,focusRing:{offset:-1,width:1}},switch:{width:25,height:17,padding:5,transitionDurationMs:150,transitionTimingFunction:"ease-out",focusRing:{offset:1,width:1}},select:{focusRing:{offset:-1,width:1}},text:{focusRing:{offset:-1,width:1}}},style:{button:{root:{transition:"background-color 100ms,border-color 100ms,color 100ms"}}}},i=new WeakMap;function o(e){let t=i.get(e);if(t)return t;let r=l(e,e.card.enabled),n={_blend:e._blend||(e.dark?"screen":"multiply"),_dark:e.dark,accent:r.accent,avatar:r.avatar,backdrop:e.base.shadow.ambient,badge:r.badge,bg:e.base.bg,border:e.base.border,button:{default:a(e,e.button.default),ghost:a(e,e.button.ghost),bleed:a(e,e.button.bleed)},code:r.code,fg:e.base.fg,focusRing:e.base.focusRing,icon:r.muted.fg,input:{default:s(e.input.default),invalid:s(e.input.invalid)},kbd:r.kbd,link:r.link,muted:{...r.muted,bg:e.selectable?.default.enabled.bg2||e.base.bg},selectable:a(e,e.selectable||e.muted),shadow:e.base.shadow,skeleton:{from:e.skeleton?.from||e.base.border,to:e.skeleton?.to||e.base.border},syntax:e.syntax};return i.set(e,n),n}function a(e,t){return{default:{enabled:l(e,t.default.enabled),hovered:l(e,t.default.hovered),pressed:l(e,t.default.pressed),selected:l(e,t.default.selected),disabled:l(e,t.default.disabled)},neutral:{enabled:l(e,t.default.enabled),hovered:l(e,t.default.hovered),pressed:l(e,t.default.pressed),selected:l(e,t.default.selected),disabled:l(e,t.default.disabled)},primary:{enabled:l(e,t.primary.enabled),hovered:l(e,t.primary.hovered),pressed:l(e,t.primary.pressed),selected:l(e,t.primary.selected),disabled:l(e,t.primary.disabled)},suggest:{enabled:l(e,t.primary.enabled),hovered:l(e,t.primary.hovered),pressed:l(e,t.primary.pressed),selected:l(e,t.primary.selected),disabled:l(e,t.primary.disabled)},positive:{enabled:l(e,t.positive.enabled),hovered:l(e,t.positive.hovered),pressed:l(e,t.positive.pressed),selected:l(e,t.positive.selected),disabled:l(e,t.positive.disabled)},caution:{enabled:l(e,t.caution.enabled),hovered:l(e,t.caution.hovered),pressed:l(e,t.caution.pressed),selected:l(e,t.caution.selected),disabled:l(e,t.caution.disabled)},critical:{enabled:l(e,t.critical.enabled),hovered:l(e,t.critical.hovered),pressed:l(e,t.critical.pressed),selected:l(e,t.critical.selected),disabled:l(e,t.critical.disabled)}}}function l(e,t){return{...t,avatar:{gray:{bg:e.spot.gray,fg:e.base.bg},blue:{bg:e.spot.blue,fg:e.base.bg},purple:{bg:e.spot.purple,fg:e.base.bg},magenta:{bg:e.spot.magenta,fg:e.base.bg},red:{bg:e.spot.red,fg:e.base.bg},orange:{bg:e.spot.orange,fg:e.base.bg},yellow:{bg:e.spot.yellow,fg:e.base.bg},green:{bg:e.spot.green,fg:e.base.bg}
5,cyan:{bg:e.spot.cyan,fg:e.base.bg}},badge:{default:{bg:e.muted.default.enabled.bg,fg:e.muted.default.enabled.fg,dot:e.muted.default.enabled.muted.fg,icon:e.muted.default.enabled.muted.fg},neutral:{bg:e.muted.transparent.enabled.bg,fg:e.muted.transparent.enabled.fg,dot:e.muted.transparent.enabled.muted.fg,icon:e.muted.transparent.enabled.muted.fg},primary:{bg:e.muted.primary.enabled.bg,fg:e.muted.primary.enabled.fg,dot:e.muted.primary.enabled.muted.fg,icon:e.muted.primary.enabled.muted.fg},suggest:{bg:e.muted.primary.enabled.bg,fg:e.muted.primary.enabled.fg,dot:e.muted.primary.enabled.muted.fg,icon:e.muted.primary.enabled.muted.fg},positive:{bg:e.muted.positive.enabled.bg,fg:e.muted.positive.enabled.fg,dot:e.muted.positive.enabled.muted.fg,icon:e.muted.positive.enabled.muted.fg},caution:{bg:e.muted.caution.enabled.bg,fg:e.muted.caution.enabled.fg,dot:e.muted.caution.enabled.muted.fg,icon:e.muted.caution.enabled.muted.fg},critical:{bg:e.muted.critical.enabled.bg,fg:e.muted.critical.enabled.fg,dot:e.muted.critical.enabled.muted.fg,icon:e.muted.critical.enabled.muted.fg}},kbd:{bg:e.muted.default.enabled.bg,fg:e.muted.default.enabled.fg,border:e.muted.default.enabled.border},muted:{...e.muted.default.enabled.muted,bg:t.bg2||t.bg},skeleton:{from:t.skeleton?.from||t.border,to:t.skeleton?.to||t.border}}}function s(e){return{enabled:u(e.enabled),disabled:u(e.disabled),readOnly:u(e.readOnly),hovered:u(e.hovered)}}function u(e){return{bg:e.bg,border:e.border,fg:e.fg,muted:{bg:e.bg2},placeholder:e.placeholder}}let c=new WeakMap;function f(e){if(e.sanity.v2?._resolved)return e.sanity.v2;let t=c.get(e);if(t)return t;let r={_version:2,_resolved:!0,avatar:{...n.avatar,...e.sanity.avatar},button:{...n.button,...e.sanity.button},card:n.card,color:o(e.sanity.color),container:e.sanity.container,font:e.sanity.fonts,input:{...n.input,...e.sanity.input,checkbox:{...n.input.checkbox,...e.sanity.input.checkbox},radio:{...n.input.radio,...e.sanity.input.radio},switch:{...n.input.switch,...e.sanity.input.switch}},layer:e.sanity.layer??n.layer,media:e.sanity.media,radius:e.sanity.radius,shadow:e.sanity.shadows,space:e.sanity.space,style:e.sanity.styles};return c.set(e,r),r}},24285:(e,t,r)=>{"use strict";r.d(t,{B3:()=>Y,me:()=>eo,sR:()=>el});var n=r(42029),i=r(97684);function o(e,t,r,n,i,o){return{enabled:e.selectable({base:t,dark:r,solid:n,muted:i,state:"enabled",tone:o}),hovered:e.selectable({base:t,dark:r,solid:n,muted:i,state:"hovered",tone:o}),pressed:e.selectable({base:t,dark:r,solid:n,muted:i,state:"pressed",tone:o}),selected:e.selectable({base:t,dark:r,solid:n,muted:i,state:"selected",tone:o}),disabled:e.selectable({base:t,dark:r,solid:n,muted:i,state:"disabled",tone:o})}}function a(e,t,r,n,i,o){return{default:e.button({base:t,dark:r,solid:n.default,muted:i.default,mode:o}),primary:e.button({base:t,dark:r,solid:n.primary,muted:i.primary,mode:o}),positive:e.button({base:t,dark:r,solid:n.positive,muted:i.positive,mode:o}),caution:e.button({base:t,dark:r,solid:n.caution,muted:i.caution,mode:o}),critical:e.button({base:t,dark:r,solid:n.critical,muted:i.critical,mode:o})}}let l={transparent:{lightest:"hsl(240, 100%, 95%)",lighter:"hsl(240, 100%, 70%)",light:"hsl(240, 100%, 65%)",base:"hsl(240, 100%, 50%)",dark:"hsl(240, 100%, 35%)",darker:"hsl(240, 100%, 20%)",darkest:"hsl(240, 100%, 5%)"},primary:{lightest:"hsl(240, 100%, 95%)",lighter:"hsl(240, 100%, 70%)",light:"hsl(240, 100%, 65%)",base:"hsl(240, 100%, 50%)",dark:"hsl(240, 100%, 35%)",darker:"hsl(240, 100%, 20%)",darkest:"hsl(240, 100%, 5%)"},positive:{lightest:"hsl(120, 100%, 95%)",lighter:"hsl(120, 100%, 70%)",light:"hsl(120, 100%, 65%)",base:"hsl(120, 100%, 50%)",dark:"hsl(120, 100%, 35%)",darker:"hsl(120, 100%, 20%)",darkest:"hsl(120, 100%, 5%)"},caution:{lightest:"hsl(60, 100%, 95%)",lighter:"hsl(60, 100%, 70%)",light:"hsl(60, 100%, 65%)",base:"hsl(60, 100%, 50%)",dark:"hsl(60, 100%, 35%)",darker:"hsl(60, 100%, 20%)",darkest:"hsl(60, 100%, 5%)"},critical:{lightest:"hsl(0, 100%, 95%)",lighter:"hsl(0, 100%, 70%)",light:"hsl(0, 100%, 65%)",base:"hsl(0, 100%, 50%)",dark:"hsl(0, 100%, 35%)",darker:"hsl(0, 100%, 20%)",dar
5kest:"hsl(0, 100%, 5%)"}};l.transparent.darkest,l.transparent.lightest,l.transparent.lightest,l.transparent.darkest,l.transparent.darker,l.transparent.lighter,l.transparent.base,l.transparent.base,l.primary.darkest,l.primary.lightest,l.primary.lightest,l.primary.darkest,l.primary.darker,l.primary.lighter,l.primary.base,l.primary.base,l.positive.darkest,l.positive.lightest,l.positive.lightest,l.positive.darkest,l.positive.darker,l.positive.lighter,l.positive.base,l.positive.base,l.caution.darkest,l.caution.lightest,l.caution.lightest,l.caution.darkest,l.caution.darker,l.caution.lighter,l.caution.base,l.caution.base,l.critical.darkest,l.critical.lightest,l.critical.lightest,l.critical.darkest,l.critical.darker,l.critical.lighter,l.critical.base,l.critical.base;let s={code:{family:"ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",weights:{regular:400,medium:500,semibold:600,bold:700},sizes:[{ascenderHeight:4,descenderHeight:4,fontSize:10,iconSize:17,lineHeight:15,letterSpacing:0},{ascenderHeight:5,descenderHeight:5,fontSize:13,iconSize:21,lineHeight:19,letterSpacing:0},{ascenderHeight:6,descenderHeight:6,fontSize:16,iconSize:25,lineHeight:23,letterSpacing:0},{ascenderHeight:7,descenderHeight:7,fontSize:19,iconSize:29,lineHeight:27,letterSpacing:0},{ascenderHeight:8,descenderHeight:8,fontSize:22,iconSize:33,lineHeight:31,letterSpacing:0}]},heading:{family:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", Helvetica, Arial, system-ui, sans-serif',weights:{regular:700,medium:800,semibold:900,bold:900},sizes:[{ascenderHeight:5,descenderHeight:5,fontSize:13,iconSize:17,lineHeight:19,letterSpacing:0},{ascenderHeight:6,descenderHeight:6,fontSize:16,iconSize:25,lineHeight:23,letterSpacing:0},{ascenderHeight:7,descenderHeight:7,fontSize:21,iconSize:33,lineHeight:29,letterSpacing:0},{ascenderHeight:8,descenderHeight:8,fontSize:27,iconSize:41,lineHeight:35,letterSpacing:0},{ascenderHeight:9.5,descenderHeight:8.5,fontSize:33,iconSize:49,lineHeight:41,letterSpacing:0},{ascenderHeight:10.5,descenderHeight:9.5,fontSize:38,iconSize:53,lineHeight:47,letterSpacing:0}]},label:{family:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", system-ui, sans-serif',weights:{regular:600,medium:700,semibold:800,bold:900},sizes:[{ascenderHeight:2,descenderHeight:2,fontSize:8.1,iconSize:13,lineHeight:10,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:9.5,iconSize:15,lineHeight:11,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:10.8,iconSize:17,lineHeight:12,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:12.25,iconSize:19,lineHeight:13,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:13.6,iconSize:21,lineHeight:14,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:15,iconSize:23,lineHeight:15,letterSpacing:.5}]},text:{family:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", Helvetica, Arial, system-ui, sans-serif',weights:{regular:400,medium:500,semibold:600,bold:700},sizes:[{ascenderHeight:4,descenderHeight:4,fontSize:10,iconSize:17,lineHeight:15,letterSpacing:0},{ascenderHeight:5,descenderHeight:5,fontSize:13,iconSize:21,lineHeight:19,letterSpacing:0},{ascenderHeight:6,descenderHeight:6,fontSize:15,iconSize:25,lineHeight:23,letterSpacing:0},{ascenderHeight:7,descenderHeight:7,fontSize:18,iconSize:29,lineHeight:27,letterSpacing:0},{ascenderHeight:8,descenderHeight:8,fontSize:21,iconSize:33,lineHeight:31,letterSpacing:0}]}};function u(e){return 2===e._version}let c=new WeakMap,f=new WeakMap;function d(e){let t=f.get(e);if(t)return t;let{avatar:r,button:n,color:i,container:o,font:a,input:l,media:s,radius:u,shadow:c,space:d,style:g}=e;return{_version:0,avatar:r,button:n,container:o,color:{light:{transparent:h(i.light.transparent),default:h(i.light.default),primary:h(i.light.primary),positive:h(i.light.positive),caution:h(i.light.caution),critical:h(i.light.critical)},dark:{transparent:h(i.dark.transparent),default:h(i.dark.default),primary:h(i.dark.primary),positive:h(i.dark.positive),caution:h(i.dark.caution),critical:h(i.dark.critical)}},focusRing:l.text.focusRing,fonts:a,input:l,media:s,radius:u,shadows:c,space:d,styles:g,v2:e}}function h(e){return{base:{bg:e.bg,fg:e.fg,border:e.border,focusRing:e.focu
5sRing,shadow:e.shadow},button:e.button,card:e.selectable.default,dark:e._dark,input:{default:g(e.input.default),invalid:g(e.input.invalid)},muted:{...e.button.ghost,transparent:e.button.ghost.default},solid:{...e.button.default,transparent:e.button.default.default},selectable:e.selectable,spot:{gray:e.avatar.gray.bg,blue:e.avatar.blue.bg,purple:e.avatar.purple.bg,magenta:e.avatar.magenta.bg,red:e.avatar.red.bg,orange:e.avatar.orange.bg,yellow:e.avatar.yellow.bg,green:e.avatar.green.bg,cyan:e.avatar.cyan.bg},syntax:e.syntax}}function g(e){return{enabled:p(e.enabled),disabled:p(e.disabled),readOnly:p(e.readOnly),hovered:p(e.hovered)}}function p(e){return{bg:e.bg,bg2:e.muted.bg,border:e.border,fg:e.fg,placeholder:e.placeholder}}let b=["multiply","screen"],m=["transparent","default","neutral","primary","suggest","positive","caution","critical"],y=["default","neutral","primary","suggest","positive","caution","critical"],v=["enabled","hovered","pressed","selected","disabled"],w=["default","ghost","bleed"],x=["default","invalid"],k=["enabled","hovered","readOnly","disabled"];function S(e){return i.V0.includes(e)}function E(e){return/^\d+%$/.test(e)}function O(e){let t=e.split("/"),r=t.shift()||"",[n,o]=r.split(" ");if(S(n)){let e=t.shift()||"";return E(o)?{type:"color",tint:n,mix:Number(o.slice(0,-1))/100}:R(e)?{type:"color",tint:n,opacity:Number(e)}:{type:"color",tint:n}}if("black"===n||"white"===n){let e=t.shift()||"";return E(o)?{type:"color",key:n,mix:Number(o.slice(0,-1))/100}:R(e)?{type:"color",key:n,opacity:Number(e)}:{type:"color",key:n}}if(i.Cv.includes(n)){let[e,i]=(r=t.shift()||"").split(" ");if(S(e)){let r=t.shift()||"";return E(i)?{type:"color",hue:n,tint:e,mix:Number(i.slice(0,-1))/100}:R(r)?{type:"color",hue:n,tint:e,opacity:Number(r)}:{type:"color",hue:n,tint:e}}return{type:"hue",value:n}}if(b.includes(n))return{type:"blendMode",value:n}}function R(e){return"0"===e||/^0\.[0-9]+$/.test(e)||"1"===e}[...i.Cv],[...m],[...y],[...v],[...x],[...k];let A=["500","500"];function C(e,t=A){var r;let n;let{hue:i,scheme:o}=e,a=O(t["light"===o?0:1]);if(!a||"color"!==a.type)throw Error(`Invalid color token: ${t[0]}`);return r={...a,hue:a.hue||i},n="",n="black"===r.key||"white"===r.key?r.key:`${r.hue}/${r.tint}`,void 0!==r.mix?`${n} ${100*r.mix}%`:(void 0!==r.opacity&&(n+=`/${r.opacity}`),n)}let _={base:{"*":{_blend:["multiply","screen"],accent:{fg:["purple/600","purple/400"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},backdrop:["gray/200/0.5","black/0.5"],badge:{"*":{bg:["100","900"],fg:["600","400"],icon:["500","500"],dot:["500","500"]},positive:{bg:["200 50%","900"],fg:["600","500"]},caution:{bg:["200 50%","900"],fg:["600","500"]}},bg:["50","950"],border:["200","800"],code:{bg:["50","950"],fg:["600","400"]},fg:["800","200"],focusRing:["blue/500","blue/500"],icon:["600","400"],kbd:{bg:["white","black"],fg:["600","400"],border:["200","800"]},link:{fg:["blue/600","blue/300"]},muted:{bg:["50","950"],fg:["700 75%","300 75%"]},shadow:{outline:["500/0.3","500/0.4"],umbra:["gray/500/0.1","black/0.2"],penumbra:["gray/500/0.07","black/0.14"],ambient:["gray/500/0.06","black/0.12"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},transparent:{bg:["50","black"]},default:{bg:["white","950"],fg:["800","200"],muted:{fg:["600","400"]}},primary:{_hue:"blue"},suggest:{_hue:"purple"},positive:{_hue:"green",shadow:{outline:["500/0.4","500/0.4"]}},caution:{_hue:"yellow",shadow:{outline:["600/0.3","500/0.4"]}},critical:{_hue:"red"}},button:{default:{"*":{"*":{_blend:["screen","multiply"],accent:{fg:["purple/300","purple/700"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["900","100"],fg:["400","600"],dot:["500","500"],icon:["500","500"]}},bg:["500","400"],border:["500/0","400/0"],code:{bg:["500 20%","400 20%"],fg:["200","600"]},fg:["white","black"],icon:["100 70%","900 70%"],kbd:{bg:["black","white"],fg:["200","600"],border:["800","200"]},link:{fg:["blue/200","blue/600"]},muted:{bg:["950","50"],fg:["100 70%","900 70%"]},skeleton:{from:["900","100"],to:["900 50%","100 50%"]}},hovered:{bg:["600","300"],border:["700/0","300/0"]},pressed:{bg:["700","300"]},selected:{bg:["700","300"]},disabled:{_hue:"gray",accent:{fg:["100 70%","900 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/500","gray/400"],fg:["white","black"]}},badge:{"*":{bg:["gray/700","gray/300"],fg:["white","black"],dot:["white","black"],icon:["white","black"]}},bg:["300","600"],code:{bg:["950","50"],fg:["300","600"]},fg:["300","600"],muted:{bg:["950","50"],fg:["300","600"]},kbd:{bg:["black","white"],fg:["white","black"],border:["700","300"]},link:{fg:["100 70%","900 70%"]}}},default:{"*":{avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},bg:["800","200"],muted:{bg:["950","50"],fg:["400","600"]}},hovered:{bg:["900","100"]},pressed:{bg:["black","white"]},selected:{bg:["black","white"]}}},ghost:{"*":{"*":{_blend:["multiply","screen"],accent:{fg:["purple/700 60%","purple/300 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["100","900"],fg:["600","400"],dot:["500","500"],icon:["500","500"]}},bg:["50","950"],border:["100","900"],code:{bg:["500 10%","400 10%"],fg:["700 60%","400 60%"]},fg:["600","400"],icon:["700 60%","300 60%"],kbd:{bg:["white","black"],fg:["600","400"],border:["200","800"]},link:{fg:["blue/700 60%","blue/300 60%"]},muted:{bg:["100","950"],fg:["700 60%","300 60%"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},hovered:{bg:["100","900"],fg:["700","300"]},pressed:{bg:["200","800"],fg:["800","200"]},selected:{bg:["200","800"],fg:["800","200"]},disabled:{_hue:"gray",accent:{fg:["200","800"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/100","gray/900"],fg:["white","black"]}}
5,badge:{"*":{_hue:"gray",bg:["50","950"],fg:["gray/200","gray/800"],dot:["gray/200","gray/800"],icon:["gray/200","gray/800"]}},border:["100","900"],code:{bg:["50","950"],fg:["200","800"]},fg:["400","600"],icon:["300","700"],muted:{fg:["300","700"]},kbd:{bg:["white","black"],fg:["200","800"],border:["100","900"]},link:{fg:["200","800"]}}},positive:{"*":{border:["600 20%","800"]}},caution:{"*":{border:["600 20%","800"]}}},bleed:{"*":{"*":{_blend:["multiply","screen"],accent:{fg:["purple/700 70%","purple/300 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["100","900"],fg:["600","400"],dot:["500","500"],icon:["500","500"]}},bg:["white","black"],border:["white/0","black/0"],code:{bg:["50","950"],fg:["700 75%","300 75%"]},fg:["700","300"],icon:["700 75%","300 75%"],kbd:{bg:["white","black"],fg:["700","300"],border:["200","800"]},link:{fg:["blue/700 70%","blue/300 70%"]},muted:{bg:["100","950"],fg:["700 75%","300 75%"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},hovered:{bg:["50","950"],fg:["800","200"],icon:["800 70%","300 70%"]},pressed:{bg:["100","900"],fg:["800","200"],icon:["800 70%","200 70%"]},selected:{bg:["100","900"],fg:["800","200"],icon:["800 60%","200 60%"]},disabled:{_hue:"gray",accent:{fg:["200","800"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/100","gray/900"],fg:["white","black"]}},badge:{"*":{_hue:"gray",bg:["50","950"],fg:["gray/200","gray/800"],dot:["gray/200","gray/800"],icon:["gray/200","gray/800"]}},code:{bg:["50","950"],fg:["200","800"]},fg:["400","600"],icon:["300","700"],muted:{fg:["400","600"]},kbd:{bg:["white","black"],fg:["200","800"],border:["100","900"]},link:{fg:["200","800"]}}}}},input:{"*":{"*":{_blend:["multiply","screen"],bg:["white","black"],border:["200","700"],fg:["black","200"],muted:{bg:["50","950"]},placeholder:["400","600"]},hovered:{border:["300","700"]},readOnly:{bg:["50","950"],border:["200","800"],fg:["800","200"]},disabled:{bg:["50","950"],fg:["400","600"],border:["100","900"],placeholder:["200","800 50%"]}},invalid:{"*":{_hue:"red",bg:["100","950"]}}},selectable:{"*":{"*":{_blend:["multiply","screen"],accent:{fg:["purple/700 70%","purple/300 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["100","900"],fg:["600","400"],dot:["500","500"],icon:["500","500"]}},bg:["white","black"],border:["200","800"],code:{bg:["50","950"],fg:["600","400"]},fg:["700","300"],icon:["700 75%","300 75%"],kbd:{bg:["white","black"],fg:["600","400"],border:["200","800"]},link:{fg:["blue/700 70%","blue/300 70%"]},muted:{bg:["50","950"],fg:["700 75%","300 75%"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},hovered:{bg:["50","950"]},pressed:{bg:["100","900"]},selected:{_blend:["screen","multiply"],accent:{fg:["purple/300","purple/700"]},avatar:{"*":{_blend:["multiply","screen"],bg:["white","black"],fg:["black","white"]}},badge:{"*":{bg:["900","100"],fg:["400","600"],dot:["500","500"],icon:["500","500"]}},bg:["500","400"],border:["500 20%","400 20%"],code:{bg:["500 20%","400 20%"],fg:["200","600"]},fg:["white","black"],icon:["100 70%","900 70%"],kbd:{bg:["black","white"],fg:["200","600"],border:["800","200"]},link:{fg:["blue/200","blue/600"]},muted:{bg:["500 10%","400 10%"],fg:["100 70%","900 70%"]},skeleton:{from:["900","100"],to:["900 50%","100 50%"]}},disabled:{_hue:"gray",accent:{fg:["200","800"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/100","gray/900"],fg:["white","black"]}},badge:{"*":{_hue:"gray",bg:["50","950"],fg:["gray/200","gray/800"],dot:["gray/200","gray/800"],icon:["gray/200","gray/800"]}},border:["100","900"],code:{bg:["50","950"],fg:["200","800"]},fg:["200","800"],icon:["200","800"],kbd:{bg:["white","black"],fg:["200","800"],border:["100","900"]},link:{fg:["200","800"]},muted:{bg:["50 50%","950 50%"],fg:["200","800"]}}},default:{selected:{_hue:"blue"}},critical:{disabled:{bg:["50 50%","950 50%"]}}},syntax:{atrule:["purple/600","purple/400"],attrName:["green/600","green/400"],attrValue:["yellow/600","yellow/400"],attribute:["yellow/600","yellow/400"],boolean:["purple/600","purple/400"],builtin:["purple/600","purple/400"],c
5data:["yellow/600","yellow/400"],char:["yellow/600","yellow/400"],class:["orange/600","orange/400"],className:["cyan/600","cyan/400"],comment:["gray/400","gray/600"],constant:["purple/600","purple/400"],deleted:["red/600","red/400"],entity:["red/600","red/400"],function:["green/600","green/400"],hexcode:["blue/600","blue/400"],id:["purple/600","purple/400"],important:["purple/600","purple/400"],inserted:["yellow/600","yellow/400"],keyword:["magenta/600","magenta/400"],number:["purple/600","purple/400"],operator:["magenta/600","magenta/400"],property:["blue/600","blue/400"],pseudoClass:["yellow/600","yellow/400"],pseudoElement:["yellow/600","yellow/400"],punctuation:["gray/600","gray/400"],regex:["blue/600","blue/400"],selector:["red/600","red/400"],string:["yellow/600","yellow/400"],symbol:["purple/600","purple/400"],tag:["red/600","red/400"],unit:["orange/600","orange/400"],url:["red/600","red/400"],variable:["red/600","red/400"]}};function P(e){return!!(e&&"object"==typeof e&&!Array.isArray(e))}function M(...e){let t=e.filter(Boolean);return 0===t.length?{}:t.reduce(j,{})}function j(e,t){for(let r of Object.keys(t)){let n=e[r],i=t[r];P(n)&&P(i)?e[r]=M(n,i):e[r]=i}return e}function I(e,t){let{scheme:r}=e,n={};for(let e of m)n[e]=function(e,t){let{scheme:r,tone:n}=e,i=t?.color?.base?.[n],o={hue:i?._hue||"gray",scheme:r};return{_blend:(i?._blend||["multiply","screen"])["light"===r?0:1],_dark:"dark"===r,accent:{fg:C(o,i?.accent?.fg)},avatar:z({scheme:r},i),backdrop:C(o,i?.backdrop),badge:L(i?.badge,{scheme:r},t),bg:C(o,i?.bg),border:C(o,i?.border),button:function(e,t){let{scheme:r,tone:n}=e,i={};for(let e of w)i[e]=function(e,t){let{cardTone:r,mode:n,scheme:i}=e,o={};for(let e of y)o[e]=function(e,t){let{cardTone:r,mode:n,scheme:i,tone:o}=e,a={};for(let e of v)a[e]=function(e,t){let{cardTone:r,mode:n,tone:i,scheme:o,state:a}=e,l=t?.color?.base?.[r],s=t?.color?.button?.[n]?.[i]?.[a],u=s?._hue||l?._hue||"gray",c=s?._blend||["screen","multiply"],f={hue:u,scheme:o};return{_blend:c["light"===o?0:1],accent:{fg:C(f,s?.accent?.fg)},avatar:z({scheme:o},s),badge:L(s?.badge,{scheme:o},t),bg:C(f,s?.bg),border:C(f,s?.border),code:{bg:C(f,s?.code?.bg),fg:C(f,s?.code?.fg)},fg:C(f,s?.fg),icon:C(f,s?.icon),muted:{bg:C(f,s?.muted?.bg),fg:C(f,s?.muted?.fg)},kbd:{bg:C(f,s?.kbd?.bg),fg:C(f,s?.kbd?.fg),border:C(f,s?.kbd?.border)},link:{fg:C(f,s?.link?.fg)},skeleton:{from:C(f,s?.skeleton?.from),to:C(f,s?.skeleton?.to)}}}({cardTone:r,mode:n,tone:o,scheme:i,state:e},t);return a}({cardTone:r,mode:n,scheme:i,tone:e},t);return o}({cardTone:n,scheme:r,mode:e},t);return i}({scheme:r,tone:n},t),code:{bg:C(o,i?.code?.bg),fg:C(o,i?.code?.fg)},fg:C(o,i?.fg),focusRing:C(o,i?.focusRing),icon:C(o,i?.icon),input:function(e,t){let{scheme:r,tone:n}=e;return{default:T({mode:"default",scheme:r,tone:n},t),invalid:T({mode:"invalid",scheme:r,tone:n},t)}}({scheme:r,tone:n},t),kbd:{bg:C(o,i?.kbd?.bg),fg:C(o,i?.kbd?.fg),border:C(o,i?.kbd?.border)},link:{fg:C(o,i?.link?.fg)},muted:{bg:C(o,i?.muted?.bg),fg:C(o,i?.muted?.fg)},selectable:function(e,t){let{scheme:r,tone:n}=e,i={};for(let e of y)i[e]=function(e,t){let{cardTone:r,scheme:n,tone:i}=e,o={};for(let e of v)o[e]=function(e,t){let{cardTone:r,scheme:n,state:i,tone:o}=e,a=t?.color?.base?.[r],l=t?.color?.selectable?.[o]?.[i],s=l?._hue||a?._hue||"gray",u=l?._blend||["screen","multiply"],c={hue:s,scheme:n};return{_blend:u["light"===n?0:1],accent:{fg:C(c,l?.accent?.fg)},avatar:z({scheme:n},l),badge:L(l?.badge,{scheme:n},t),bg:C(c,l?.bg),border:C(c,l?.border),code:{bg:C(c,l?.code?.bg),fg:C(c,l?.code?.fg)},fg:C(c,l?.fg),icon:C(c,l?.icon),muted:{bg:C(c,l?.muted?.bg),fg:C(c,l?.muted?.fg)},kbd:{bg:C(c,l?.kbd?.bg),fg:C(c,l?.kbd?.fg),border:C(c,l?.kbd?.border)},link:{fg:C(c,l?.link?.fg)},skeleton:{from:C(c,l?.skeleton?.from),to:C(c,l?.skeleton?.to)}}}({cardTone:r,tone:i,scheme:n,state:e},t);return o}({cardTone:n,scheme:r,tone:e},t);return i}({scheme:r,tone:n},t),shadow:function(e,t){let{scheme:r,tone:n}=e,i=t?.color?.base?.[n],o={hue:i?._hue||"gray",scheme:r};return{outline:C(o,i?.shadow?.outline),umbra:C(o,i?.shadow?.umbra),penumbra:C(o,i?.shadow?.penumbra),ambient:C(o,i?.shadow?.ambient)}}
5({scheme:r,tone:n},t),skeleton:{from:C(o,i?.skeleton?.from),to:C(o,i?.skeleton?.to)},syntax:function(e,t){let{scheme:r}=e,n=t?.color?.syntax,i={hue:"gray",scheme:r};return{atrule:C(i,n?.atrule),attrName:C(i,n?.attrName),attrValue:C(i,n?.attrValue),attribute:C(i,n?.attribute),boolean:C(i,n?.boolean),builtin:C(i,n?.builtin),cdata:C(i,n?.cdata),char:C(i,n?.char),class:C(i,n?.class),className:C(i,n?.className),comment:C(i,n?.comment),constant:C(i,n?.constant),deleted:C(i,n?.deleted),doctype:C(i,n?.doctype),entity:C(i,n?.entity),function:C(i,n?.function),hexcode:C(i,n?.hexcode),id:C(i,n?.id),important:C(i,n?.important),inserted:C(i,n?.inserted),keyword:C(i,n?.keyword),number:C(i,n?.number),operator:C(i,n?.operator),prolog:C(i,n?.prolog),property:C(i,n?.property),pseudoClass:C(i,n?.pseudoClass),pseudoElement:C(i,n?.pseudoElement),punctuation:C(i,n?.punctuation),regex:C(i,n?.regex),selector:C(i,n?.selector),string:C(i,n?.string),symbol:C(i,n?.symbol),tag:C(i,n?.tag),unit:C(i,n?.unit),url:C(i,n?.url),variable:C(i,n?.variable)}}({scheme:r},t)}}({scheme:r,tone:e},t);return n}function z(e,t){let{scheme:r}=e;return{gray:$({color:"gray",scheme:r},t),blue:$({color:"blue",scheme:r},t),purple:$({color:"purple",scheme:r},t),magenta:$({color:"magenta",scheme:r},t),red:$({color:"red",scheme:r},t),orange:$({color:"orange",scheme:r},t),yellow:$({color:"yellow",scheme:r},t),green:$({color:"green",scheme:r},t),cyan:$({color:"cyan",scheme:r},t)}}function $(e,t){let{color:r,scheme:n}=e,i=t?.avatar?.[r],o={hue:i?._hue||"gray",scheme:n};return{_blend:(i?._blend||["screen","multiply"])["light"===n?0:1],bg:C(o,i?.bg),fg:C(o,i?.fg)}}function L(e,t,r){let{scheme:n}=t,i={};for(let t of y)i[t]=function(e,t,r){let{scheme:n,tone:i}=t,o=e?.[i],a={hue:o?._hue||r?.color?.base?.[i]?._hue||"gray",scheme:n};return{bg:C(a,o?.bg),fg:C(a,o?.fg),dot:C(a,o?.dot),icon:C(a,o?.icon)}}(e,{scheme:n,tone:t},r);return i}function T(e,t){let{mode:r,scheme:n,tone:i}=e;return{enabled:N({mode:r,scheme:n,state:"enabled",cardTone:i},t),hovered:N({mode:r,scheme:n,state:"hovered",cardTone:i},t),readOnly:N({mode:r,scheme:n,state:"readOnly",cardTone:i},t),disabled:N({mode:r,scheme:n,state:"disabled",cardTone:i},t)}}function N(e,t){let{cardTone:r,mode:n,scheme:i,state:o}=e,a=t?.color?.base?.[r],l=t?.color?.input?.[n]?.[o],s=l?._hue||a?._hue||"gray",u=l?._blend||["screen","multiply"],c={hue:s,scheme:i};return{_blend:u["light"===i?0:1],bg:C(c,l?.bg),border:C(c,l?.border),fg:C(c,l?.fg),muted:{bg:C(c,l?.muted?.bg)},placeholder:C(c,l?.placeholder)}}let H=i.yW;function F(e,t=0,r=1){return Math.min(r,Math.max(t,e))}function B(e,t,r,n,i){var o;return r*(1-(o=F((i-e)/(t-e))))+n*o}function D(e){return Math.round(e)}function W(e){if(4===e.length){let t=e.slice(1,2),r=e.slice(2,3),n=e.slice(3,4);return{r:parseInt(t+t,16),g:parseInt(r+r,16),b:parseInt(n+n,16)}}return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}}function V(e){let t=D(F(Math.round(e.r),0,255)),r=D(F(Math.round(e.g),0,255)),n=D(F(Math.round(e.b),0,255));return"a"in e?`rgba(${t},${r},${n},${e.a})`:"#"+(0x1000000+(t<<16)+(r<<8)+n).toString(16).slice(1)}let G=/hsl\(\s*(\d+)\s*,\s*((\d+(?:\.\d+)?)%)\s*,\s*((\d+(?:\.\d+)?)%)\s*\)/i;function U(e){if(!e)return{r:0,g:0,b:0};if("string"!=typeof e)throw Error("parseColor: expected a string");if("#"===e[0]&&(4===e.length||7===e.length)&&function(e){for(let t of e)if(-1==="0123456789ABCDEFabcdef".indexOf(t))return!1;return!0}(e.slice(1)))return W(e);if(e.startsWith("hsl("))return function(e){let t=e.s/100,r=e.l/100,n=(1-Math.abs(2*r-1))*t,i=n*(1-Math.abs(e.h/60%2-1)),o=r-n/2,a=0,l=0,s=0;return 0<=e.h&&e.h<60?(a=n,l=i,s=0):60<=e.h&&e.h<120?(a=i,l=n,s=0):120<=e.h&&e.h<180?(a=0,l=n,s=i):180<=e.h&&e.h<240?(a=0,l=i,s=n):240<=e.h&&e.h<300?(a=i,l=0,s=n):300<=e.h&&e.h<360&&(a=n,l=0,s=i),{r:Math.round((a+o)*255),g:Math.round((l+o)*255),b:Math.round((s+o)*255)}}(function(e){let t=G.exec(e);if(!t)throw Error(`parseHsl: string is not a HSL color: "${e}"`);return{h:parseInt(t[1]),s:parseFloat(t[3]),l:parseFloat(t[5])}}(e));if(e.startsWith("rgba("))return function(e){let t=e.replace(/rgba\(|\)/g,"").split(",");return{r:parseInt(t[0]),g:parseInt(t[1]),b:parseInt(t[2]),a:parseFloat(t[3])}}(e);throw Error(`parseColor: unexpected color format: "${e}"`)}function Y(e,t){let r=U(e);return`rgba(${r.r},${r.g},${r.b},${t})`}let X=[0,255];function Z(e,t){let{bg:r,blendMode:n,colorPalette:i}=t;if("white"===r)throw Error("Cannot blend with white background");let o=O(e);
5if(!o||"color"!==o.type)throw Error(`Invalid color token value: ${e}`);let a="";if("black"===o.key&&(a=q(i.black)),"white"===o.key&&(a=q(i.white)),o.hue&&o.tint&&(a=q(i[o.hue][o.tint])),!a)throw Error(`Invalid color token value: ${e}`);let l=a,s={blendMode:n,bg:r,black:q(i.black),white:q(i.white)};try{if(a=function(e,t){var r,n,i,o,a,l;let{blendMode:s}=t,u=U(e),c=U(t.black),f=U(t.white),d=t.bg?U(t.bg):"multiply"===s?f:c,h={r:[c.r,f.r],g:[c.g,f.g],b:[c.b,f.b]},g={r:F(B(...h.r,...X,d.r),...X),g:F(B(...h.g,...X,d.g),...X),b:F(B(...h.b,...X,d.b),...X)},p={r:F(B(...h.r,...X,u.r),...X),g:F(B(...h.g,...X,u.g),...X),b:F(B(...h.b,...X,u.b),...X)},b="multiply"===s?{r:255*(g.r/255*(p.r/255)),g:255*(g.g/255*(p.g/255)),b:255*(g.b/255*(p.b/255))}:{r:255*((r=g.r/255)+(n=p.r/255)-r*n),g:255*((i=g.g/255)+(o=p.g/255)-i*o),b:255*((a=g.b/255)+(l=p.b/255)-a*l)};return V({r:F(B(...X,...h.r,b.r),...h.r),g:F(B(...X,...h.g,b.g),...h.g),b:F(B(...X,...h.b,b.b),...h.b)})}(a,s),r&&void 0!==o.mix){var u,c,f,d,h,g,p;let e=W(r),t=W(a);a=V((u=o.mix,{r:(c=e.r,f=t.r,c+(f-c)*u),g:(d=e.g,h=t.g,d+(h-d)*u),b:(g=e.b,p=t.b,g+(p-g)*u)}))}}catch(e){throw console.warn("could not blend",a,s),e}return"#aN"===a&&(console.warn(`invalid color token value: ${e}`),a=l),void 0!==o.opacity&&(a=Y(a,o.opacity)),a}function q(e){return"string"==typeof e?e:e.hex}function K(e,t){let r=Object.entries(t),[,n]=r.find(([e])=>"transparent"===e),[,i]=r.find(([e])=>"default"===e),o=J(n,{colorPalette:e}),a=J(i,{colorPalette:e}),l=a.bg;if("white"===l)throw Error("Cannot blend with white background");return Object.fromEntries([["transparent",o],["default",a],...r.filter(([e])=>"default"!==e&&"transparent"!==e).map(([t,r])=>[t,J(r,{bg:l,colorPalette:e})])])}function J(e,t){var r,n,i,o;let{colorPalette:a,bg:l}=t,s=e._blend||"multiply",u=Z(e.bg,{colorPalette:a,bg:l,blendMode:s}),c={colorPalette:a,bg:u,blendMode:s},f=(r=e.button,n={baseBg:u,blendMode:s,colorPalette:a},{default:et(r.default,n),ghost:et(r.ghost,n),bleed:et(r.bleed,n)}),d=function(e,t){let r={};for(let i of y){var n;r[i]={enabled:er((n=e[i]).enabled,t),hovered:er(n.hovered,t),pressed:er(n.pressed,t),selected:er(n.selected,t),disabled:er(n.disabled,t)}}return r}(e.selectable,{colorPalette:a,baseBg:u,blendMode:s}),h={outline:Z(e.shadow.outline,c),umbra:Z(e.shadow.umbra,{...c,bg:void 0,colorPalette:{...a,black:"#000000"}}),penumbra:Z(e.shadow.penumbra,{...c,bg:void 0,colorPalette:{...a,black:"#000000"}}),ambient:Z(e.shadow.ambient,{...c,bg:void 0,colorPalette:{...a,black:"#000000"}})};return{_blend:s,_dark:e._dark,accent:{fg:Z(e.accent.fg,c)},avatar:Q(e.avatar,{baseBg:u,colorPalette:a,blendMode:s}),backdrop:Z(e.backdrop,c),badge:ee(e.badge,{baseBg:u,colorPalette:a,blendMode:s}),bg:u,border:Z(e.border,c),button:f,code:{bg:Z(e.code.bg,c),fg:Z(e.code.fg,c)},fg:Z(e.fg,c),focusRing:Z(e.focusRing,c),icon:Z(e.icon,c),input:(i=e.input,o={baseBg:u,colorPalette:a,blendMode:s},{default:en(i.default,o),invalid:en(i.invalid,o)}),kbd:function(e,t){let{baseBg:r,blendMode:n,colorPalette:i}=t,o=Z(e.bg,{bg:r,blendMode:n,colorPalette:i}),a={bg:o,blendMode:n,colorPalette:i};return{bg:o,fg:Z(e.fg,a),border:Z(e.border,a)}}(e.kbd,{baseBg:u,colorPalette:a,blendMode:s}),link:{fg:Z(e.link.fg,c)},muted:{bg:Z(e.muted.bg,c),fg:Z(e.muted.fg,c)},shadow:h,skeleton:{from:Z(e.skeleton.from,c),to:Z(e.skeleton.to,c)},syntax:function(e,t){let{colorPalette:r,baseBg:n,blendMode:i}=t,o={colorPalette:r,bg:n,blendMode:i};return{atrule:Z(e.atrule,o),attrName:Z(e.attrName,o),attrValue:Z(e.attrValue,o),attribute:Z(e.attribute,o),boolean:Z(e.boolean,o),builtin:Z(e.builtin,o),cdata:Z(e.cdata,o),char:Z(e.char,o),class:Z(e.class,o),className:Z(e.className,o),comment:Z(e.comment,o),constant:Z(e.constant,o),deleted:Z(e.deleted,o),doctype:Z(e.doctype,o),entity:Z(e.entity,o),function:Z(e.function,o),hexcode:Z(e.hexcode,o),id:Z(e.id,o),important:Z(e.important,o),inserted:Z(e.inserted,o),keyword:Z(e.keyword,o),number:Z(e.number,o),operator:Z(e.operator,o),prolog:Z(e.prolog,o),property:Z(e.property,o),pseudoClass:Z(e.pseudoClass,o),pseudoElement:Z(e.pseudoElement,o),punctuation:Z(e.punctuation,o),regex:Z(e.regex,o),selector:Z(e.selector,o),string:Z(e.string,o),symbol:Z(e.symbol,o),tag:Z(e.tag,o),unit:Z(e.unit,o),url:Z(e.url,o),variable:Z(e.variable,o)}}(e.syntax,{baseBg:u,colorPalette:a,blendMode:s}),selectable:d}}function Q(e,t){let r={};for(let n of i.Cv)r[n]=function(e,t){let{baseBg:r,blendMode:n,colorPalette:i}=t,o=e._blend||"multiply",a=Z(e.bg,{bg:r,blendMode:n,colorPalette:i});return{_blend:o,bg:a,fg:Z(e.fg,{bg:a,blendMode:o,colorPalette:i})}}(e[n],t);return r}function ee(e,t){let r={};for(let n of y)r[n]=function(e,t){let{baseBg:r,blendMode:n,colorPalette:i}=t,o=Z(e.bg,{bg:r,blendMode:n,colorPalette:i}),a={bg:o,blendMode:n,colorPalette:i};return{bg:o,dot:Z(e.dot,a),fg:Z(e.fg,a),icon:Z(e.icon,a)}}(e[n],t);return r}function et(e,t){let r={};for(let i of y){var n;r[i]={enabled:er((n=e[i]).enabled,t),hovered:er(n.hovered,t),pressed:er(n.pressed,t),selected:er(n.selected,t),disabled:er(n.disabled,t)}}return r}function er(e,t){let{baseBg:r,blendMode:n,colorPalette:i}=t,o=e._blend||"multiply",a=Z(e.bg,{bg:r,blendMode:n,colorPalette:i}),l={bg:a,blendMode:o,colorPalette:i};return{_blend:o,accent:{fg:Z(e.accent.fg,l)}
5,avatar:Q(e.avatar,{baseBg:a,colorPalette:i,blendMode:o}),badge:ee(e.badge,{baseBg:a,colorPalette:i,blendMode:o}),bg:a,border:Z(e.border,l),code:{bg:Z(e.code.bg,l),fg:Z(e.code.fg,l)},fg:Z(e.fg,l),icon:Z(e.icon,l),link:{fg:Z(e.link.fg,l)},muted:{bg:Z(e.muted.bg,l),fg:Z(e.muted.fg,l)},kbd:{bg:Z(e.kbd.bg,l),fg:Z(e.kbd.fg,l),border:Z(e.kbd.border,l)},skeleton:{from:Z(e.skeleton?.from,l),to:Z(e.skeleton?.to,l)}}}function en(e,t){return{enabled:ei(e.enabled,t),hovered:ei(e.hovered,t),readOnly:ei(e.readOnly,t),disabled:ei(e.disabled,t)}}function ei(e,t){let{baseBg:r,blendMode:n,colorPalette:i}=t,o=e._blend||"multiply",a=Z(e.bg,{colorPalette:i,bg:r,blendMode:n}),l={colorPalette:i,bg:a,blendMode:o};return{_blend:o,bg:a,border:Z(e.border,l),fg:Z(e.fg,l),muted:{bg:Z(e.muted.bg,l)},placeholder:Z(e.placeholder,l)}}function eo(e){let t=function(e){let t={...e,color:function(e){let t=M(_,e);return{base:function(e){let t={};for(let r of m)t[r]=function(e,t){let r=M(e?.base?.["*"],e?.base?.[t]),n=r._hue||e?.base?.[t]?._hue||"gray";return{...r,_hue:n,avatar:i.Cv.reduce((e,t)=>({...e,[t]:M({_hue:t},r.avatar?.["*"],r.avatar?.[t])}),{}),badge:y.reduce((t,i)=>({...t,[i]:{_hue:e?.base?.[i]?._hue||n,...r.badge?.["*"],...r.badge?.[i]}}),{})}}(e,r);return t}(t),button:function(e){let t={};for(let r of w)t[r]=function(e,t){let r={};for(let n of y)r[n]=function(e,t,r){let n={};for(let o of v)n[o]=function(e,t,r,n){let o=M(e?.button?.[r]?.["*"]?.["*"],e?.button?.[r]?.[t]?.["*"],e?.button?.[r]?.["*"]?.[n],e?.button?.[r]?.[t]?.[n]),a=o._hue||e?.base?.[t]?._hue;return{...o,_hue:a,avatar:i.Cv.reduce((e,t)=>({...e,[t]:M({_hue:t},o.avatar?.["*"],o.avatar?.[t])}),{}),badge:y.reduce((t,r)=>({...t,[r]:{_hue:e?.base?.[r]?._hue||a,...o.badge?.["*"],...o.badge?.[r]}}),{})}}(e,r,t,o);return n}(e,t,n);return r}(e,r);return t}(t),input:function(e){let t={};for(let r of x)t[r]=function(e,t){let r={};for(let n of k)r[n]=function(e,t,r){let n=M(e?.input?.["*"]?.["*"],e?.
5input?.[t]?.["*"],e?.input?.["*"]?.[r],e?.input?.[t]?.[r]),i=n._hue||e?.input?.[t]?._hue;return{...n,_hue:i}}(e,t,n);return r}(e,r);return t}(t),selectable:function(e){let t={};for(let r of y)t[r]=function(e,t){let r={_hue:e?.selectable?.[t]?._hue||e?.base?.[t]?._hue};for(let n of v)r[n]=function(e,t,r){let n=M(e?.selectable?.["*"]?.["*"],e?.selectable?.[t]?.["*"],e?.selectable?.["*"]?.[r],e?.selectable?.[t]?.[r]),o=n._hue||e?.base?.[t]?._hue;return{...n,_hue:o,avatar:i.Cv.reduce((e,t)=>({...e,[t]:M({_hue:t},n.avatar?.["*"],n.avatar?.[t])}),{}),badge:y.reduce((t,r)=>({...t,[r]:{_hue:e?.base?.[r]?._hue||o,...n.badge?.["*"],...n.badge?.[r]}}),{})}}(e,t,n);return r}(e,r);return t}(t),syntax:t.syntax}}(e?.color)};return{light:I({scheme:"light"},t),dark:I({scheme:"dark"},t)}}(e);return d({_version:2,avatar:e?.avatar??n.Lp.avatar,button:e?.button??n.Lp.button,card:e?.card??n.Lp.card,color:function(e,t){let r=t?.palette??H;return{light:K(r,e.light),dark:K(r,e.dark)}}(t,e),container:e?.container??n.Lp.container,font:e?.font??s,input:e?.input??n.Lp.input,layer:e?.layer??n.Lp.layer,media:e?.media??n.Lp.media,radius:e?.radius??n.Lp.radius,shadow:e?.shadow??n.Lp.shadow,space:e?.space??n.Lp.space,style:e?.style??n.Lp.style})}let ea=new Map;function el(e,t,r){var i;let o=function(e,t,r){let n=ea.get(t);if(!n)return;let i=n.get(r);if(i)return i.get(e)}(e,t,r);if(o)return o;let a=u(e)?d(e):e,l=u(e)?e:function(e){if(e.v2)return e.v2;let t=c.get(e);if(t)return t;let{avatar:r,button:i,color:o,container:a,focusRing:l,fonts:s,input:u,layer:f,media:d,radius:h,shadows:g,space:p,styles:b}=e,m={_version:2,avatar:{...n.Lp.avatar,...r},button:{...n.Lp.button,...i},card:n.Lp.card,color:{light:{transparent:(0,n.l8)(o.light.transparent),default:(0,n.l8)(o.light.default),neutral:(0,n.l8)(o.light.transparent),primary:(0,n.l8)(o.light.primary),suggest:(0,n.l8)(o.light.primary),positive:(0,n.l8)(o.light.positive),caution:(0,n.l8)(o.light.caution),critical:(0,n.l8)(o.light.critical)},dark:{transparent:(0,n.l8)(o.dark.transparent),default:(0,n.l8)(o.dark.default),neutral:(0,n.l8)(o.dark.transparent),primary:(0,n.l8)(o.dark.primary),suggest:(0,n.l8)(o.dark.primary),positive:(0,n.l8)(o.dark.positive),caution:(0,n.l8)(o.dark.caution),critical:(0,n.l8)(o.dark.critical)}},container:a,font:s,input:{...n.Lp.input,...u,checkbox:{...n.Lp.input.checkbox,...u.checkbox},radio:{...n.Lp.input.radio,...u.radio},switch:{...n.Lp.input.switch,...u.switch}},layer:f??n.Lp.layer,media:d,radius:h,shadow:g,space:p,style:b};return c.set(e,m),m}(e),s=a.color[t]||a.color.light,f=s[r]||s.default,h=a.layer||n.Lp.layer,g=l.color[t]||l.color.light,p="neutral"in(i=g[r]||g.default).badge?i:{...i,badge:{...i.badge,neutral:i.badge.default,suggest:i.badge.primary},button:{bleed:{...i.button.bleed,neutral:i.button.bleed.default,suggest:i.button.bleed.primary},default:{...i.button.default,neutral:i.button.default.default,suggest:i.button.default.primary},ghost:{...i.button.ghost,neutral:i.button.ghost.default,suggest:i.button.ghost.primary}},selectable:{...i.selectable,neutral:i.selectable.default,suggest:i.selectable.primary}},b=l.layer||n.Lp.layer,m={sanity:{...a,color:f,layer:h,v2:{...l,_resolved:!0,color:p,layer:b}}};return function(e,t,r,n){ea.has(t)||ea.set(t,new Map);let i=ea.get(t);i.has(r)||i.set(r,new WeakMap),i.get(r).set(e,n)}(e,t,r,m),m}},49293:(e,t,r)=>{"use strict";function n(e){let t="undefined"!=typeof window&&"crypto"in window?window.crypto:globalThis.crypto;if(!t||!t.getRandomValues)throw Error("WebCrypto not available in this environment");return t.getRandomValues(e)}r.d(t,{A:()=>n})},56918:(e,t,r)=>{"use strict";r.d(t,{X:()=>h,r:()=>f});let n=["Value","Copy","Blank","ReturnIntoArray","ReturnIntoObject","ReturnIntoObjectSameKey","PushField","PushElement","PushParent","Pop","PushFieldCopy","PushFieldBlank","PushElementCopy","PushElementBlank","ReturnIntoObjectPop","ReturnIntoObjectSameKeyPop","ReturnIntoArrayPop","ObjectSetFieldValue","ObjectCopyField","ObjectDeleteField","ArrayAppendValue","ArrayAppendSlice","StringAppendString","StringAppendSlice"];class i{model;root;patch;i;inputStack;outputStack;constructor(e,t,r){this.model=e,this.root=t,this.patch=r,this.i=0,this.inputStack=[],this.outputStack=[]}read(){return this.patch[this.i++]}process(){for(this.inputStack.push({value:this.root}),this.outputStack.push({value:this.root});this.i<this.patch.length;){let e=this.read(),t=n[e];if(!t)throw Error(`Unknown opcode: ${e}`);this[`process${t}`].apply(this)}let e=this.outputStack.pop();return this.finalizeOutput(e)}inputEntry(){return this.inputStack[this.inputStack.length-1]}inputKey(e,t){return e.keys||(e.keys=this.model.objectGetKeys(e.value).sort()),e.keys[t]}outputEntry(){return this.outputStack[this.outputStack.length-1]}outputArray(){let e=this.outputEntry();return e.writeValue||(e.writeValue=this.model.copyArray(e.value)),e.writeValue}outputObject(){let e=this.outputEntry();return e.writeValue||(e.writeValue=this.model.copyObject(e.value)),e.writeValue}outputString(){let e=this.outputEntry();return e.writeValue||(e.writeValue=this.model.copyString(e.value)),e.writeValue}finalizeOutput(e){return e.writeValue?this.model.finalize(e.writeValue):e.value}processValue(){let e=this.model.wrap(this.read());this.outputStack.push({value:e})}processCopy(){let e=this.inputEntry();this.outputStack.push({value:e.value})}processBlank(){this.outputStack.push({value:null})}processReturnIntoArray(){let e=this.outputStack.pop(),t=this.finalizeOutput(e),r=this.outputArray();this.model.arrayAppendValue(r,t)}processReturnIntoObject(){let e=this.read(),t=this.outputStack.pop(),r=this.finalizeOutput(t);r=this.model.markChanged(r);let n=this.outputObject();this.model.objectSetField(n,e,r)}processReturnIntoObjectSameKey(){let e=this.inputEntry(),t=this.outputStack.pop(),r=this.finalizeOutput(t),n=this.outputObject();this.model.objectSetField(n,e.key,r)}processPushField(){let e=this.read(),t=this.inputEntry(),r=this.inputKey(t,e),n=this.model.objectGetField(t.value,r);this.inputStack.push({value:n,key:r})}processPushElement(){let e=this.read(),t=this.inputEntry(),r=this.model.arrayGetElement(t.value,e);this.inputStack.push({value:r})}processPop(){this.inputStack.pop()}processPushFieldCopy(){this.processPushField(),this.processCopy()}processPushFieldBlank(){this.processPushField(),this.processBlank()}processPushElementCopy(){this.processPushElement(),this.processCopy()}processPushElementBlank(){this.processPushElement(),this.processBlank()}processReturnIntoObjectPop(){this.processReturnIntoObject(),this.processPop()}processReturnIntoObjectSameKeyPop(){this.processReturnIntoObjectSameKey(),this.processPop()}processReturnIntoArrayPop(){this.processReturnIntoArray(),this.processPop()}processObjectSetFieldValue(){this.processValue(),this.processReturnIntoObject()}processObjectCopyField(){this.processPushField(),this.processCopy(),this.processReturnIntoObjectSameKey(),this.processPop()}processObjectDeleteField(){let e=this.read(),t=this.inputEntry(),r=this.inputKey(t,e),n=this.outputObject();this.model.objectDeleteField(n,r)}processArrayAppendValue(){let e=this.model.wrap(this.read()),t=this.outputArray();this.model.arrayAppendValue(t,e)}processArrayAppendSlice(){let e=this.read(),t=this.read(),r=this.outputArray(),n=this.inputEntry().value;this.model.arrayAppendSlice(r,n,e,t)}processStringAppendString(){let e=this.model.wrap(this.read()),t=this.outputString();this.model.stringAppendValue(t,e)}processStringAppendSlice(){let e=this.read(),t=this.read(),r=this.outputString(),n=this.inputEntry().value;this.model.stringAppendSlice(r,n,e,t)}}function o(e){return e>>16?4:e>>11?3:e>>7?2:1}function a(e){let t=0;for(let r=0;r<e.length;r++){let n=o(e.codePointAt(r));4==n&&r++,t+=n}return t}function l(e,t,r=0){let n=r,i=0;for(i=r;n<t;
5i++){let t=o(e.codePointAt(i));4===t&&i++,n+=t}return i}class s{meta;constructor(e){this.meta=e}wrap(e){return this.wrapWithMeta(e,this.meta,this.meta)}wrapWithMeta(e,t,r=this.meta){return{data:e,startMeta:t,endMeta:r}}asObject(e){if(!e.content){let t={};for(let[r,n]of Object.entries(e.data))t[r]=this.wrapWithMeta(n,e.startMeta);e.content={type:"object",fields:t}}return e.content}asArray(e){if(!e.content){let t=e.data.map(t=>this.wrapWithMeta(t,e.startMeta)),r=t.map(()=>this.meta);e.content={type:"array",elements:t,metas:r}}return e.content}asString(e){if(!e.content){let t=e.data,r={value:t,utf8size:a(t),uses:[],startMeta:e.startMeta,endMeta:e.endMeta};e.content=this.stringFromParts([r])}return e.content}stringFromParts(e){let t={type:"string",parts:e};for(let r of e)r.uses.push(t);return t}objectGetKeys(e){return e.content?Object.keys(e.content.fields):Object.keys(e.data)}objectGetField(e,t){return this.asObject(e).fields[t]}arrayGetElement(e,t){return this.asArray(e).elements[t]}finalize(e){return this.updateEndMeta(e),{content:e,startMeta:this.meta,endMeta:this.meta}}markChanged(e){return this.wrap(u(e))}updateEndMeta(e){if("string"==e.type)for(let t of e.parts)t.endMeta=this.meta;else if("array"===e.type)for(let t of e.elements)t.content&&t.endMeta!==this.meta&&this.updateEndMeta(t.content),t.endMeta=this.meta;else for(let t of Object.values(e.fields))t.content&&t.endMeta!==this.meta&&this.updateEndMeta(t.content),t.endMeta=this.meta}copyString(e){if(!e)return{type:"string",parts:[]};{let t=this.asString(e);return this.stringFromParts(t.parts.slice())}}copyObject(e){let t={type:"object",fields:{}};if(e){let r=this.asObject(e);Object.assign(t.fields,r.fields)}return t}copyArray(e){let t=e?this.asArray(e):null;return{type:"array",elements:t?t.elements:[],metas:t?t.metas:[]}}objectSetField(e,t,r){e.fields[t]=r}objectDeleteField(e,t){delete e.fields[t]}arrayAppendValue(e,t){e.elements.push(t),e.metas.push(this.meta)}arrayAppendSlice(e,t,r,n){let i=this.asArray(t),o=i.elements.length===r;if(e.elements.push(...i.elements.slice(r,n)),o)e.metas.push(...i.metas.slice(r,n));else for(let t=r;t<n;t++)e.metas.push(this.meta)}stringAppendValue(e,t){for(let r of this.asString(t).parts)this.stringAppendPart(e,r)}stringAppendPart(e,t){e.parts.push(t),t.uses.push(e)}resolveStringPart(e,t,r){if(0===r)return t;for(let n=t;n<e.parts.length;n++){let t=e.parts[n];if(r===t.utf8size)return n+1;if(r<t.utf8size)return this.splitString(t,r),n+1;r-=t.utf8size}throw Error("splitting string out of bounds")}splitString(e,t){let r,n=t,i=e.utf8size-n;if(e.utf8size!==e.value.length){let r=0;for(t=0;r<n;t++){let n=o(e.value.codePointAt(t));4===n&&t++,r+=n}}r=e.value.slice(0,t);let a={value:e.value.slice(t),utf8size:i,uses:e.uses.slice(),startMeta:e.startMeta,endMeta:e.endMeta};for(let t of(e.value=r,e.utf8size=n,e.uses)){let r=t.parts.indexOf(e);if(-1===r)throw Error("bug: mismatch between string parts and use.");t.parts.splice(r+1,0,a)}}stringAppendSlice(e,t,r,n){let i=this.asString(t),o=this.resolveStringPart(i,0,r),a=this.resolveStringPart(i,o,n-r);for(let t=o;t<a;t++){let r=i.parts[t];this.stringAppendPart(e,r)}}}function u(e){if("u">typeof e.data)return e.data;let t,r=e.content;switch(r.type){case"string":t=r.parts.map(e=>e.value).join("");break;case"array":t=r.elements.map(e=>u(e));break;case"object":for(let[e,n]of(t={},Object.entries(r.fields)))t[e]=u(n)}return e.data=t,t}function c(e){return e.content?e.content.type:Array.isArray(e.data)?"array":null===e.data?"null":typeof e.data}var f=Object.freeze({__proto__:null,applyPatch:function(e,t,r){return new i(new s(r),e,t).process()},getType:c,rebaseValue:function e(t,r){let n=c(t);if(n!==c(r))return r;let i=new s(t.endMeta),l=new s(r.endMeta);switch(n){case"object":{let n=i.asObject(t),o=l.asObject(r),a=0,s=Object.keys(n.fields).length,u=Object.keys(o.fields).length;for(let[t,r]of Object.entries(o.fields)){let i=n.fields[t];i&&(o.fields[t]=e(i,r),o.fields[t]===i&&a++)}return s===u&&s===a?t:r}case"array":{let n=i.asArray(t),o=l.asArray(r);if(n.elements.length!==o.elements.length)break;let a=0;for(let t=0;t<o.elements.length;t++)o.elements[t]=e(n.elements[t],o.elements[t]),o.elements[t]!==n.elements[t]&&a++;return 0===a?t:r}case"null":case"boolean":case"number":if(u(t)===u(r))return t;break;case"string":{let e=u(t),n=u(r);if(e===n)return t;let i=l.copyString(null),s=function(e,t){let r=Math.min(e.length,t.length),n=0;for(let i=0;i<r;){let r=e.codePointAt(i);if(r!==t.codePointAt(i))break;let a=o(r);n+=a,i+=4===a?2:1}return n}
5(e,n),c=function(e,t,r=0){let n=Math.min(e.length,t.length)-r,i=0;for(let r=0;r<n;){let n=e.codePointAt(e.length-1-r);if(n!==t.codePointAt(t.length-1-r))break;let a=o(n);i+=a,r+=4===a?2:1}return i}(e,n,s),f=a(n),d=a(e);0<s&&l.stringAppendSlice(i,t,0,s),s<f-c&&l.stringAppendSlice(i,r,s,f-c),d-c<d&&l.stringAppendSlice(i,t,d-c,d);let h=l.finalize(i);if(u(h)!==n)throw Error("incorrect string rebase");return h}}return r},unwrap:u,wrap:function(e,t){return{data:e,startMeta:t,endMeta:t}}});class d{wrap(e){return e}finalize(e){return Array.isArray(e)?e:e.data}markChanged(e){return e}objectGetKeys(e){return Object.keys(e)}objectGetField(e,t){return e[t]}arrayGetElement(e,t){return e[t]}copyObject(e){let t={type:"object",data:{}};if(null!==e)for(let[r,n]of Object.entries(e))t.data[r]=n;return t}copyArray(e){return null===e?[]:e.slice()}copyString(e){return{type:"string",data:null===e?"":e}}objectSetField(e,t,r){e.data[t]=r}objectDeleteField(e,t){delete e.data[t]}arrayAppendValue(e,t){e.push(t)}arrayAppendSlice(e,t,r,n){e.push(...t.slice(r,n))}stringAppendSlice(e,t,r,n){let i=l(t,r),o=l(t,n,i);e.data+=t.slice(i,o)}stringAppendValue(e,t){e.data+=t}}function h(e,t){return new i(new d,e,t).process()}},93067:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});let n=e=>"object"==typeof e&&null!=e&&1===e.nodeType,i=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,o=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let r=getComputedStyle(e,null);return i(r.overflowY,t)||i(r.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},a=(e,t,r,n,i,o,a,l)=>o<e&&a>t||o>e&&a<t?0:o<=e&&l<=r||a>=t&&l>=r?o-e-n:a>t&&l<r||o<e&&l>r?a-t+i:0,l=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},s=(e,t)=>{var r,i,s,u;if("undefined"==typeof document)return[];let{scrollMode:c,block:f,inline:d,boundary:h,skipOverflowHiddenElements:g}=t,p="function"==typeof h?h:e=>e!==h;if(!n(e))throw TypeError("Invalid target");let b=document.scrollingElement||document.documentElement,m=[],y=e;for(;n(y)&&p(y);){if((y=l(y))===b){m.push(y);break}null!=y&&y===document.body&&o(y)&&!o(document.documentElement)||null!=y&&o(y,g)&&m.push(y)}let v=null!=(i=null==(r=window.visualViewport)?void 0:r.width)?i:innerWidth,w=null!=(u=null==(s=window.visualViewport)?void 0:s.height)?u:innerHeight,{scrollX:x,scrollY:k}=window,{height:S,width:E,top:O,right:R,bottom:A,left:C}=e.getBoundingClientRect(),{top:_,right:P,bottom:M,left:j}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),I="start"===f||"nearest"===f?O-_:"end"===f?A+M:O+S/2-_+M,z="center"===d?C+E/2-j+P:"end"===d?R+P:C-j,$=[];for(let e=0;e<m.length;e++){let t=m[e],{height:r,width:n,top:i,right:l,bottom:s,left:u}=t.getBoundingClientRect();if("if-needed"===c&&O>=0&&C>=0&&A<=w&&R<=v&&(t===b&&!o(t)||O>=i&&A<=s&&C>=u&&R<=l))break;let h=getComputedStyle(t),g=parseInt(h.borderLeftWidth,10),p=parseInt(h.borderTopWidth,10),y=parseInt(h.borderRightWidth,10),_=parseInt(h.borderBottomWidth,10),P=0,M=0,j="offsetWidth"in t?t.offsetWidth-t.clientWidth-g-y:0,L="offsetHeight"in t?t.offsetHeight-t.clientHeight-p-_:0,T="offsetWidth"in t?0===t.offsetWidth?0:n/t.offsetWidth:0,N="offsetHeight"in t?0===t.offsetHeight?0:r/t.offsetHeight:0;if(b===t)P="start"===f?I:"end"===f?I-w:"nearest"===f?a(k,k+w,w,p,_,k+I,k+I+S,S):I-w/2,M="start"===d?z:"center"===d?z-v/2:"end"===d?z-v:a(x,x+v,v,g,y,x+z,x+z+E,E),P=Math.max(0,P+k),M=Math.max(0,M+x);else{P="start"===f?I-i-p:"end"===f?I-s+_+L:"nearest"===f?a(i,s,r,p,_+L,I,I+S,S):I-(i+r/2)+L/2,M="start"===d?z-u-g:"center"===d?z-(u+n/2)+j/2:"end"===d?z-l+y+j:a(u,l,n,g,y+j,z,z+E,E);let{scrollLeft:e,scrollTop:o}=t;P=0===N?0:Math.max(0,Math.min(o+P/N,t.scrollHeight-r/N+L)),M=0===T?0:Math.max(0,Math.min(e+M/T,t.scrollWidth-n/T+j)),I+=o-P,z+=e-M}$.push({el:t,top:P,left:M})}return $},u=e=>!1===e?{block:"end",inline:"nearest"}:(e=>e===Object(e)&&0!==Object.keys(e).length)(e)?e:{block:"start",inline:"nearest"};function c(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let r=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||
50,left:parseFloat(t.scrollMarginLeft)||0}})(e);if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(s(e,t));let n="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:i,top:o,left:a}of s(e,u(t))){let e=o-r.top+r.bottom,t=a-r.left+r.right;i.scroll({top:e,left:t,behavior:n})}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.