From 035e91ab334deaa264ae680746bb9a2e75520138 Mon Sep 17 00:00:00 2001 From: satya164 Date: Sat, 30 Sep 2023 18:45:03 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20callstac?= =?UTF-8?q?k/react-native-builder-bob@bd5421ca7054b28483d41fcf1859847133ed?= =?UTF-8?q?3c2f=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .nojekyll | 0 404.html | 1 + .../6y69IjI4GLlNbRl_cPg_N/_buildManifest.js | 1 + .../6y69IjI4GLlNbRl_cPg_N/_ssgManifest.js | 1 + _next/static/chunks/571-310425d3c6e2400f.js | 26 +++ .../chunks/framework-5adc074a214fdacb.js | 33 ++++ _next/static/chunks/main-9e9ff6674926ce1a.js | 1 + _next/static/chunks/nextra-data-en-US.json | 1 + .../chunks/pages/_app-49241d0faddced03.js | 1 + .../chunks/pages/_error-c26e849581894657.js | 1 + .../chunks/pages/build-724c1e18944ebcb8.js | 1 + .../chunks/pages/create-906980220c7a0769.js | 1 + .../chunks/pages/faq-c4d5b1d9b212ee90.js | 1 + .../chunks/pages/index-2f7b41194cc4e66d.js | 1 + .../chunks/polyfills-c67a75d1b6f99dc8.js | 1 + .../static/chunks/webpack-6efcf3b4cfe438c7.js | 1 + _next/static/css/445c4173ffc2bf04.css | 1 + .../create-react-native-library.91c6b751.gif | Bin 0 -> 866220 bytes build.html | 149 ++++++++++++++++++ create.html | 34 ++++ faq.html | 117 ++++++++++++++ index.html | 19 +++ 22 files changed, 392 insertions(+) create mode 100644 .nojekyll create mode 100644 404.html create mode 100644 _next/static/6y69IjI4GLlNbRl_cPg_N/_buildManifest.js create mode 100644 _next/static/6y69IjI4GLlNbRl_cPg_N/_ssgManifest.js create mode 100644 _next/static/chunks/571-310425d3c6e2400f.js create mode 100644 _next/static/chunks/framework-5adc074a214fdacb.js create mode 100644 _next/static/chunks/main-9e9ff6674926ce1a.js create mode 100644 _next/static/chunks/nextra-data-en-US.json create mode 100644 _next/static/chunks/pages/_app-49241d0faddced03.js create mode 100644 _next/static/chunks/pages/_error-c26e849581894657.js create mode 100644 _next/static/chunks/pages/build-724c1e18944ebcb8.js create mode 100644 _next/static/chunks/pages/create-906980220c7a0769.js create mode 100644 _next/static/chunks/pages/faq-c4d5b1d9b212ee90.js create mode 100644 _next/static/chunks/pages/index-2f7b41194cc4e66d.js create mode 100644 _next/static/chunks/polyfills-c67a75d1b6f99dc8.js create mode 100644 _next/static/chunks/webpack-6efcf3b4cfe438c7.js create mode 100644 _next/static/css/445c4173ffc2bf04.css create mode 100644 _next/static/media/create-react-native-library.91c6b751.gif create mode 100644 build.html create mode 100644 create.html create mode 100644 faq.html create mode 100644 index.html diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 000000000..e69de29bb diff --git a/404.html b/404.html new file mode 100644 index 000000000..e3de1a8ba --- /dev/null +++ b/404.html @@ -0,0 +1 @@ +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/_next/static/6y69IjI4GLlNbRl_cPg_N/_buildManifest.js b/_next/static/6y69IjI4GLlNbRl_cPg_N/_buildManifest.js new file mode 100644 index 000000000..c6731fbc5 --- /dev/null +++ b/_next/static/6y69IjI4GLlNbRl_cPg_N/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(s,e){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[s,e,"static/chunks/pages/index-2f7b41194cc4e66d.js"],"/_error":["static/chunks/pages/_error-c26e849581894657.js"],"/build":[s,e,"static/chunks/pages/build-724c1e18944ebcb8.js"],"/create":[s,e,"static/chunks/pages/create-906980220c7a0769.js"],"/faq":[s,e,"static/chunks/pages/faq-c4d5b1d9b212ee90.js"],sortedPages:["/","/_app","/_error","/build","/create","/faq"]}}("static/css/445c4173ffc2bf04.css","static/chunks/571-310425d3c6e2400f.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/6y69IjI4GLlNbRl_cPg_N/_ssgManifest.js b/_next/static/6y69IjI4GLlNbRl_cPg_N/_ssgManifest.js new file mode 100644 index 000000000..0511aa895 --- /dev/null +++ b/_next/static/6y69IjI4GLlNbRl_cPg_N/_ssgManifest.js @@ -0,0 +1 @@ +self.__SSG_MANIFEST=new Set,self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/chunks/571-310425d3c6e2400f.js b/_next/static/chunks/571-310425d3c6e2400f.js new file mode 100644 index 000000000..eaf3f936c --- /dev/null +++ b/_next/static/chunks/571-310425d3c6e2400f.js @@ -0,0 +1,26 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[571],{9881:function(module,__unused_webpack_exports,__webpack_require__){module=__webpack_require__.nmd(module),function _f(self){"use strict";let Y;try{module&&(self=module)}catch(e){}function u(ee){return void 0===ee||ee}function aa(ee){let en=Array(ee);for(let er=0;er=ei))));en++);if(er)return es?ta(ed,ei,0):void(en[en.length]=ed)}return!er&&ed}function ta(ee,en,er){return ee=1===ee.length?ee[0]:[].concat.apply([],ee),er||ee.length>en?ee.slice(er,er+en):ee}function ua(ee,en,er,ei){return ee=er?(ee=ee[(ei=ei&&en>er)?en:er])&&ee[ei?er:en]:ee[en]}function N(ee,en,er,ei,eo){let es=0;if(ee.constructor===Array){if(eo)-1!==(en=ee.indexOf(en))?1=this.B&&(eh||!ep[eg])){var es=L(em,ei,ex),eu="";switch(this.G){case"full":if(2es;ec--)if(ec-es>=this.B){var ed=L(em,ei,ex,eo,es);M(this,ep,eu=eg.substring(es,ec),ed,ee,er)}break}case"reverse":if(1=this.B&&M(this,ep,eu,L(em,ei,ex,eo,ec),ee,er);eu=""}case"forward":if(1=this.B&&M(this,ep,eu,es,ee,er);break}default:if(this.C&&(es=Math.min(es/this.C(en,eg,ex)|0,em-1)),M(this,ep,eg,es,ee,er),eh&&1=this.B&&!eo[eg]){eo[eg]=1;let en=this.l&&eg>es;M(this,ef,en?es:eg,L(eu+(ei/2>eu?0:1),ei,ex,ec-1,ed-1),ee,er,en?eg:es)}}}}}this.m||(this.register[ee]=1)}}return this},t.search=function(ee,en,er){let ei,eo,es;er||(!en&&C(ee)?ee=(er=ee).query:C(en)&&(er=en));let eu=[],ec,ed,ef=0;if(er){ee=er.query||ee,en=er.limit,ef=er.offset||0;var ep=er.context;ed=er.suggest}if(ee&&1<(ec=(ee=this.encode(""+ee)).length)){er=v();var eh=[];for(let en=0,ei=0,eo;en=this.B&&!er[eo]){if(!this.s&&!ed&&!this.map[eo])return eu;eh[ei++]=eo,er[eo]=1}ec=(ee=eh).length}if(!ec)return eu;for(en||(en=100),ep=this.depth&&1en||er)&&(eo=eo.slice(er,er+en)),ei&&(eo=za.call(this,eo)),{tag:ee,result:eo}}function za(ee){let en=Array(ee.length);for(let er=0,ei;er2?er.slice(1-er.length).join("."):en.source=en.resource,en.git_suffix=/\.git$/.test(en.pathname),en.name=decodeURIComponent((en.pathname||en.href).replace(/(^\/)|(\/$)/g,"").replace(/\.git$/,"")),en.owner=decodeURIComponent(en.user),en.source){case"git.cloudforge.com":en.owner=en.user,en.organization=er[0],en.source="cloudforge.com";break;case"visualstudio.com":if("vs-ssh.visualstudio.com"===en.resource){4===(es=en.name.split("/")).length&&(en.organization=es[1],en.owner=es[2],en.name=es[3],en.full_name=es[2]+"/"+es[3]);break}2===(es=en.name.split("/")).length?(en.owner=es[1],en.name=es[1],en.full_name="_git/"+en.name):3===es.length?(en.name=es[2],"DefaultCollection"===es[0]?(en.owner=es[2],en.organization=es[0],en.full_name=en.organization+"/_git/"+en.name):(en.owner=es[0],en.full_name=en.owner+"/_git/"+en.name)):4===es.length&&(en.organization=es[0],en.owner=es[1],en.name=es[3],en.full_name=en.organization+"/"+en.owner+"/_git/"+en.name);break;case"dev.azure.com":case"azure.com":if("ssh.dev.azure.com"===en.resource){4===(es=en.name.split("/")).length&&(en.organization=es[1],en.owner=es[2],en.name=es[3]);break}5===(es=en.name.split("/")).length?(en.organization=es[0],en.owner=es[1],en.name=es[4],en.full_name="_git/"+en.name):3===es.length?(en.name=es[2],"DefaultCollection"===es[0]?(en.owner=es[2],en.organization=es[0],en.full_name=en.organization+"/_git/"+en.name):(en.owner=es[0],en.full_name=en.owner+"/_git/"+en.name)):4===es.length&&(en.organization=es[0],en.owner=es[1],en.name=es[3],en.full_name=en.organization+"/"+en.owner+"/_git/"+en.name),en.query&&en.query.path&&(en.filepath=en.query.path.replace(/^\/+/g,"")),en.query&&en.query.version&&(en.ref=en.query.version.replace(/^GB/,""));break;default:var eu=(es=en.name.split("/")).length-1;if(es.length>=2){var ec=es.indexOf("-",2),ed=es.indexOf("blob",2),ef=es.indexOf("tree",2),ep=es.indexOf("commit",2),eh=es.indexOf("src",2),em=es.indexOf("raw",2),ex=es.indexOf("edit",2);eu=ec>0?ec-1:ed>0?ed-1:ef>0?ef-1:ep>0?ep-1:eh>0?eh-1:em>0?em-1:ex>0?ex-1:eu,en.owner=es.slice(0,eu).join("/"),en.name=es[eu],ep&&(en.commit=es[eu+2])}en.ref="",en.filepathtype="",en.filepath="";var eg=es.length>eu&&"-"===es[eu+1]?eu+1:eu;es.length>eg+2&&["raw","src","blob","tree","edit"].indexOf(es[eg+1])>=0&&(en.filepathtype=es[eg+1],en.ref=es[eg+2],es.length>eg+3&&(en.filepath=es.slice(eg+3).join("/"))),en.organization=en.owner}!en.full_name&&(en.full_name=en.owner,en.name&&(en.full_name&&(en.full_name+="/"),en.full_name+=en.name)),en.owner.startsWith("scm/")&&(en.source="bitbucket-server",en.owner=en.owner.replace("scm/",""),en.organization=en.owner,en.full_name=en.owner+"/"+en.name);var ev=/(projects|users)\/(.*?)\/repos\/(.*?)((\/.*$)|$)/.exec(en.pathname);return null!=ev&&(en.source="bitbucket-server","users"===ev[1]?en.owner="~"+ev[2]:en.owner=ev[2],en.organization=en.owner,en.name=ev[3],(es=ev[4].split("/")).length>1&&(["raw","browse"].indexOf(es[1])>=0?(en.filepathtype=es[1],es.length>2&&(en.filepath=es.slice(2).join("/"))):"commits"===es[1]&&es.length>2&&(en.commit=es[2])),en.full_name=en.owner+"/"+en.name,en.query.at?en.ref=en.query.at:en.ref=""),en}/*! + * buildToken + * Builds OAuth token prefix (helper function) + * + * @name buildToken + * @function + * @param {GitUrl} obj The parsed Git url object. + * @return {String} token prefix + */function es(ee){return"bitbucket.org"===ee.source?"x-token-auth:"+ee.token+"@":ee.token+"@"}function eu(ee){return"bitbucket-server"===ee.source?"scm/"+ee.full_name:""+ee.full_name}eo.stringify=function(ee,en){en=en||(ee.protocols&&ee.protocols.length?ee.protocols.join("+"):ee.protocol);var er=ee.port?":"+ee.port:"",ei=ee.user||"git",eo=ee.git_suffix?".git":"";switch(en){case"ssh":if(er)return"ssh://"+ei+"@"+ee.resource+er+"/"+ee.full_name+eo;return ei+"@"+ee.resource+":"+ee.full_name+eo;case"git+ssh":case"ssh+git":case"ftp":case"ftps":return en+"://"+ei+"@"+ee.resource+er+"/"+ee.full_name+eo;case"http":case"https":return en+"://"+(ee.token?es(ee):ee.user&&(ee.protocols.includes("http")||ee.protocols.includes("https"))?ee.user+"@":"")+ee.resource+er+"/"+eu(ee)+eo;default:return ee.href}},ee.exports=eo},7827:function(){!function(){"use strict";if("object"==typeof window){if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}var ee=function(ee){for(var en=ee,er=eo(en);er;)er=eo(en=er.ownerDocument);return en}(window.document),en=[],er=null,ei=null;eu.prototype.THROTTLE_TIMEOUT=100,eu.prototype.POLL_INTERVAL=null,eu.prototype.USE_MUTATION_OBSERVER=!0,eu._setupCrossOriginUpdater=function(){return er||(er=function(ee,er){ei=ee&&er?ev(ee,er):ex(),en.forEach(function(ee){ee._checkForIntersections()})}),er},eu._resetCrossOriginUpdater=function(){er=null,ei=null},eu.prototype.observe=function(ee){if(!this._observationTargets.some(function(en){return en.element==ee})){if(!(ee&&1==ee.nodeType))throw Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:ee,entry:null}),this._monitorIntersections(ee.ownerDocument),this._checkForIntersections()}},eu.prototype.unobserve=function(ee){this._observationTargets=this._observationTargets.filter(function(en){return en.element!=ee}),this._unmonitorIntersections(ee.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},eu.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},eu.prototype.takeRecords=function(){var ee=this._queuedEntries.slice();return this._queuedEntries=[],ee},eu.prototype._initThresholds=function(ee){var en=ee||[0];return Array.isArray(en)||(en=[en]),en.sort().filter(function(ee,en,er){if("number"!=typeof ee||isNaN(ee)||ee<0||ee>1)throw Error("threshold must be a number between 0 and 1 inclusively");return ee!==er[en-1]})},eu.prototype._parseRootMargin=function(ee){var en=(ee||"0px").split(/\s+/).map(function(ee){var en=/^(-?\d*\.?\d+)(px|%)$/.exec(ee);if(!en)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(en[1]),unit:en[2]}});return en[1]=en[1]||en[0],en[2]=en[2]||en[0],en[3]=en[3]||en[1],en},eu.prototype._monitorIntersections=function(en){var er=en.defaultView;if(er&&-1==this._monitoringDocuments.indexOf(en)){var ei=this._checkForIntersections,es=null,eu=null;if(this.POLL_INTERVAL?es=er.setInterval(ei,this.POLL_INTERVAL):(ef(er,"resize",ei,!0),ef(en,"scroll",ei,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in er&&(eu=new er.MutationObserver(ei)).observe(en,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(en),this._monitoringUnsubscribes.push(function(){var ee=en.defaultView;ee&&(es&&ee.clearInterval(es),ep(ee,"resize",ei,!0)),ep(en,"scroll",ei,!0),eu&&eu.disconnect()}),en!=(this.root&&(this.root.ownerDocument||this.root)||ee)){var ec=eo(en);ec&&this._monitorIntersections(ec.ownerDocument)}}},eu.prototype._unmonitorIntersections=function(en){var er=this._monitoringDocuments.indexOf(en);if(-1!=er){var ei=this.root&&(this.root.ownerDocument||this.root)||ee;if(!this._observationTargets.some(function(ee){var er=ee.element.ownerDocument;if(er==en)return!0;for(;er&&er!=ei;){var es=eo(er);if((er=es&&es.ownerDocument)==en)return!0}return!1})){var es=this._monitoringUnsubscribes[er];if(this._monitoringDocuments.splice(er,1),this._monitoringUnsubscribes.splice(er,1),es(),en!=ei){var eu=eo(en);eu&&this._unmonitorIntersections(eu.ownerDocument)}}}},eu.prototype._unmonitorAllIntersections=function(){var ee=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var en=0;enen.indexOf(this)&&en.push(this)},eu.prototype._unregisterInstance=function(){var ee=en.indexOf(this);-1!=ee&&en.splice(ee,1)},window.IntersectionObserver=eu,window.IntersectionObserverEntry=es}function eo(ee){try{return ee.defaultView&&ee.defaultView.frameElement||null}catch(ee){return null}}function es(ee){this.time=ee.time,this.target=ee.target,this.rootBounds=eg(ee.rootBounds),this.boundingClientRect=eg(ee.boundingClientRect),this.intersectionRect=eg(ee.intersectionRect||ex()),this.isIntersecting=!!ee.intersectionRect;var en=this.boundingClientRect,er=en.width*en.height,ei=this.intersectionRect,eo=ei.width*ei.height;er?this.intersectionRatio=Number((eo/er).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function eu(ee,en){var er=en||{};if("function"!=typeof ee)throw Error("callback must be a function");if(er.root&&1!=er.root.nodeType&&9!=er.root.nodeType)throw Error("root must be a Document or Element");this._checkForIntersections=ed(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=ee,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(er.rootMargin),this.thresholds=this._initThresholds(er.threshold),this.root=er.root||null,this.rootMargin=this._rootMarginValues.map(function(ee){return ee.value+ee.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function ec(){return window.performance&&performance.now&&performance.now()}function ed(ee,en){var er=null;return function(){er||(er=setTimeout(function(){ee(),er=null},en))}}function ef(ee,en,er,ei){"function"==typeof ee.addEventListener?ee.addEventListener(en,er,ei||!1):"function"==typeof ee.attachEvent&&ee.attachEvent("on"+en,er)}function ep(ee,en,er,ei){"function"==typeof ee.removeEventListener?ee.removeEventListener(en,er,ei||!1):"function"==typeof ee.detachEvent&&ee.detachEvent("on"+en,er)}function eh(ee,en){var er=Math.max(ee.top,en.top),ei=Math.min(ee.bottom,en.bottom),eo=Math.max(ee.left,en.left),es=Math.min(ee.right,en.right),eu=es-eo,ec=ei-er;return eu>=0&&ec>=0&&{top:er,bottom:ei,left:eo,right:es,width:eu,height:ec}||null}function em(ee){var en;try{en=ee.getBoundingClientRect()}catch(ee){}return en?(en.width&&en.height||(en={top:en.top,right:en.right,bottom:en.bottom,left:en.left,width:en.right-en.left,height:en.bottom-en.top}),en):ex()}function ex(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function eg(ee){return!ee||"x"in ee?ee:{top:ee.top,y:ee.top,bottom:ee.bottom,left:ee.left,x:ee.left,right:ee.right,width:ee.width,height:ee.height}}function ev(ee,en){var er=en.top-ee.top,ei=en.left-ee.left;return{top:er,left:ei,height:en.height,width:en.width,bottom:er+en.height,right:ei+en.width}}function ey(ee,en){for(var er=en;er;){if(er==ee)return!0;er=eb(er)}return!1}function eb(en){var er=en.parentNode;return 9==en.nodeType&&en!=ee?eo(en):(er&&er.assignedSlot&&(er=er.assignedSlot.parentNode),er&&11==er.nodeType&&er.host)?er.host:er}function ew(ee){return ee&&9===ee.nodeType}}()},8049:function(ee,en,er){"use strict";var ei=er(8173);function eo(ee){if(Array.isArray(ee))return -1!==ee.indexOf("ssh")||-1!==ee.indexOf("rsync");if("string"!=typeof ee)return!1;var en=ei(ee);if(ee=ee.substring(ee.indexOf("://")+3),eo(en))return!0;var er=RegExp(".([a-zA-Z\\d]+):(\\d+)/");return!ee.match(er)&&ee.indexOf("@")-1}function eQ(ee,en){var er=this.__data__,ei=e3(er,ee);return ei<0?er.push([ee,en]):er[ei][1]=en,this}function eY(ee){var en=-1,er=ee?ee.length:0;for(this.clear();++en{}).then(()=>{if(ee.parentElement&&ee.isConnected){if("empty"!==en&&eo(!0),null==er?void 0:er.current){let en=new Event("load");Object.defineProperty(en,"target",{writable:!1,value:ee});let ei=!1,eo=!1;er.current({...en,nativeEvent:en,currentTarget:ee,target:ee,isDefaultPrevented:()=>ei,isPropagationStopped:()=>eo,persist:()=>{},preventDefault:()=>{ei=!0,en.preventDefault()},stopPropagation:()=>{eo=!0,en.stopPropagation()}})}(null==ei?void 0:ei.current)&&ei.current(ee)}})}function ev(ee){let[en,er]=es.version.split("."),ei=parseInt(en,10),eo=parseInt(er,10);return ei>18||18===ei&&eo>=3?{fetchPriority:ee}:{fetchpriority:ee}}let ey=(0,es.forwardRef)((ee,en)=>{let{src:er,srcSet:ei,sizes:eo,height:eu,width:ec,decoding:ed,className:ef,style:ep,fetchPriority:eh,placeholder:em,loading:ex,unoptimized:ey,fill:eb,onLoadRef:ew,onLoadingCompleteRef:ek,setBlurComplete:e_,setShowAltText:ej,onLoad:eE,onError:eO,...eT}=ee;return es.default.createElement("img",{...eT,...ev(eh),loading:ex,width:ec,height:eu,decoding:ed,"data-nimg":eb?"fill":"1",className:ef,style:ep,sizes:eo,srcSet:ei,src:er,ref:(0,es.useCallback)(ee=>{en&&("function"==typeof en?en(ee):"object"==typeof en&&(en.current=ee)),ee&&(eO&&(ee.src=ee.src),ee.complete&&eg(ee,em,ew,ek,e_,ey))},[er,em,ew,ek,e_,eO,ey,en]),onLoad:ee=>{let en=ee.currentTarget;eg(en,em,ew,ek,e_,ey)},onError:ee=>{ej(!0),"empty"!==em&&e_(!0),eO&&eO(ee)}})});function eb(ee){let{isAppRouter:en,imgAttributes:er}=ee,ei={as:"image",imageSrcSet:er.srcSet,imageSizes:er.sizes,crossOrigin:er.crossOrigin,referrerPolicy:er.referrerPolicy,...ev(er.fetchPriority)};return en&&eu.default.preload?(eu.default.preload(er.src,ei),null):es.default.createElement(ec.default,null,es.default.createElement("link",{key:"__nimg-"+er.src+er.srcSet+er.sizes,rel:"preload",href:er.srcSet?void 0:er.src,...ei}))}let ew=(0,es.forwardRef)((ee,en)=>{let er=(0,es.useContext)(eh.RouterContext),ei=!er,eo=(0,es.useContext)(ep.ImageConfigContext),eu=(0,es.useMemo)(()=>{let ee=ex||eo||ef.imageConfigDefault,en=[...ee.deviceSizes,...ee.imageSizes].sort((ee,en)=>ee-en),er=ee.deviceSizes.sort((ee,en)=>ee-en);return{...ee,allSizes:en,deviceSizes:er}},[eo]),{onLoad:ec,onLoadingComplete:eg}=ee,ev=(0,es.useRef)(ec);(0,es.useEffect)(()=>{ev.current=ec},[ec]);let ew=(0,es.useRef)(eg);(0,es.useEffect)(()=>{ew.current=eg},[eg]);let[ek,e_]=(0,es.useState)(!1),[ej,eE]=(0,es.useState)(!1),{props:eO,meta:eT}=(0,ed.getImgProps)(ee,{defaultLoader:em.default,imgConf:eu,blurComplete:ek,showAltText:ej});return es.default.createElement(es.default.Fragment,null,es.default.createElement(ey,{...eO,unoptimized:eT.unoptimized,placeholder:eT.placeholder,fill:eT.fill,onLoadRef:ev,onLoadingCompleteRef:ew,setBlurComplete:e_,setShowAltText:eE,ref:en}),eT.priority?es.default.createElement(eb,{isAppRouter:ei,imgAttributes:eO}):null)});("function"==typeof en.default||"object"==typeof en.default&&null!==en.default)&&void 0===en.default.__esModule&&(Object.defineProperty(en.default,"__esModule",{value:!0}),Object.assign(en.default,en),ee.exports=en.default)},1081:function(ee,en,er){"use strict";Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"default",{enumerable:!0,get:function(){return eE}});let ei=er(1538),eo=ei._(er(7378)),es=er(1540),eu=er(6956),ec=er(2352),ed=er(6374),ef=er(3425),ep=er(119),eh=er(1314),em=er(5521),ex=er(2168),eg=er(161),ev=er(3361),ey=new Set;function eb(ee,en,er,ei,eo,es){if(!es&&!(0,eu.isLocalURL)(en))return;if(!ei.bypassPrefetchedCheck){let eo=void 0!==ei.locale?ei.locale:"locale"in ee?ee.locale:void 0,es=en+"%"+er+"%"+eo;if(ey.has(es))return;ey.add(es)}let ec=es?ee.prefetch(en,eo):ee.prefetch(en,er,ei);Promise.resolve(ec).catch(ee=>{})}function ew(ee){let en=ee.currentTarget,er=en.getAttribute("target");return er&&"_self"!==er||ee.metaKey||ee.ctrlKey||ee.shiftKey||ee.altKey||ee.nativeEvent&&2===ee.nativeEvent.which}function ek(ee,en,er,ei,es,ec,ed,ef,ep,eh){let{nodeName:em}=ee.currentTarget,ex="A"===em.toUpperCase();if(ex&&(ew(ee)||!ep&&!(0,eu.isLocalURL)(er)))return;ee.preventDefault();let eg=()=>{let ee=null==ed||ed;"beforePopState"in en?en[es?"replace":"push"](er,ei,{shallow:ec,locale:ef,scroll:ee}):en[es?"replace":"push"](ei||er,{forceOptimisticNavigation:!eh,scroll:ee})};ep?eo.default.startTransition(eg):eg()}function e_(ee){return"string"==typeof ee?ee:(0,ec.formatUrl)(ee)}let ej=eo.default.forwardRef(function(ee,en){let er,ei;let{href:eu,as:ec,children:ey,prefetch:ew=null,passHref:ej,replace:eE,shallow:eO,scroll:eT,locale:eC,onClick:eS,onMouseEnter:eN,onTouchStart:eI,legacyBehavior:eR=!1,...eL}=ee;er=ey,eR&&("string"==typeof er||"number"==typeof er)&&(er=eo.default.createElement("a",null,er));let eP=eo.default.useContext(ep.RouterContext),eA=eo.default.useContext(eh.AppRouterContext),eM=null!=eP?eP:eA,eD=!eP,eF=!1!==ew,e$=null===ew?ev.PrefetchKind.AUTO:ev.PrefetchKind.FULL,{href:eZ,as:ez}=eo.default.useMemo(()=>{if(!eP){let ee=e_(eu);return{href:ee,as:ec?e_(ec):ee}}let[ee,en]=(0,es.resolveHref)(eP,eu,!0);return{href:ee,as:ec?(0,es.resolveHref)(eP,ec):en||ee}},[eP,eu,ec]),eU=eo.default.useRef(eZ),eW=eo.default.useRef(ez);eR&&(ei=eo.default.Children.only(er));let eH=eR?ei&&"object"==typeof ei&&ei.ref:en,[eG,eB,eV]=(0,em.useIntersection)({rootMargin:"200px"}),eK=eo.default.useCallback(ee=>{(eW.current!==ez||eU.current!==eZ)&&(eV(),eW.current=ez,eU.current=eZ),eG(ee),eH&&("function"==typeof eH?eH(ee):"object"==typeof eH&&(eH.current=ee))},[ez,eH,eZ,eV,eG]);eo.default.useEffect(()=>{eM&&eB&&eF&&eb(eM,eZ,ez,{locale:eC},{kind:e$},eD)},[ez,eZ,eB,eC,eF,null==eP?void 0:eP.locale,eM,eD,e$]);let eJ={ref:eK,onClick(ee){eR||"function"!=typeof eS||eS(ee),eR&&ei.props&&"function"==typeof ei.props.onClick&&ei.props.onClick(ee),eM&&!ee.defaultPrevented&&ek(ee,eM,eZ,ez,eE,eO,eT,eC,eD,eF)},onMouseEnter(ee){eR||"function"!=typeof eN||eN(ee),eR&&ei.props&&"function"==typeof ei.props.onMouseEnter&&ei.props.onMouseEnter(ee),eM&&(eF||!eD)&&eb(eM,eZ,ez,{locale:eC,priority:!0,bypassPrefetchedCheck:!0},{kind:e$},eD)},onTouchStart(ee){eR||"function"!=typeof eI||eI(ee),eR&&ei.props&&"function"==typeof ei.props.onTouchStart&&ei.props.onTouchStart(ee),eM&&(eF||!eD)&&eb(eM,eZ,ez,{locale:eC,priority:!0,bypassPrefetchedCheck:!0},{kind:e$},eD)}};if((0,ed.isAbsoluteUrl)(ez))eJ.href=ez;else if(!eR||ej||"a"===ei.type&&!("href"in ei.props)){let ee=void 0!==eC?eC:null==eP?void 0:eP.locale,en=(null==eP?void 0:eP.isLocaleDomain)&&(0,ex.getDomainLocale)(ez,ee,null==eP?void 0:eP.locales,null==eP?void 0:eP.domainLocales);eJ.href=en||(0,eg.addBasePath)((0,ef.addLocale)(ez,ee,null==eP?void 0:eP.defaultLocale))}return eR?eo.default.cloneElement(ei,eJ):eo.default.createElement("a",{...eL,...eJ},er)}),eE=ej;("function"==typeof en.default||"object"==typeof en.default&&null!==en.default)&&void 0===en.default.__esModule&&(Object.defineProperty(en.default,"__esModule",{value:!0}),Object.assign(en.default,en),ee.exports=en.default)},5521:function(ee,en,er){"use strict";Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"useIntersection",{enumerable:!0,get:function(){return ep}});let ei=er(7378),eo=er(2721),es="function"==typeof IntersectionObserver,eu=new Map,ec=[];function ed(ee){let en;let er={root:ee.root||null,margin:ee.rootMargin||""},ei=ec.find(ee=>ee.root===er.root&&ee.margin===er.margin);if(ei&&(en=eu.get(ei)))return en;let eo=new Map,es=new IntersectionObserver(ee=>{ee.forEach(ee=>{let en=eo.get(ee.target),er=ee.isIntersecting||ee.intersectionRatio>0;en&&er&&en(er)})},ee);return en={id:er,observer:es,elements:eo},ec.push(er),eu.set(er,en),en}function ef(ee,en,er){let{id:ei,observer:eo,elements:es}=ed(er);return es.set(ee,en),eo.observe(ee),function(){if(es.delete(ee),eo.unobserve(ee),0===es.size){eo.disconnect(),eu.delete(ei);let ee=ec.findIndex(ee=>ee.root===ei.root&&ee.margin===ei.margin);ee>-1&&ec.splice(ee,1)}}}function ep(ee){let{rootRef:en,rootMargin:er,disabled:eu}=ee,ec=eu||!es,[ed,ep]=(0,ei.useState)(!1),eh=(0,ei.useRef)(null),em=(0,ei.useCallback)(ee=>{eh.current=ee},[]);(0,ei.useEffect)(()=>{if(es){if(ec||ed)return;let ee=eh.current;if(ee&&ee.tagName){let ei=ef(ee,ee=>ee&&ep(ee),{root:null==en?void 0:en.current,rootMargin:er});return ei}}else if(!ed){let ee=(0,eo.requestIdleCallback)(()=>ep(!0));return()=>(0,eo.cancelIdleCallback)(ee)}},[ec,er,en,ed,eh.current]);let ex=(0,ei.useCallback)(()=>{ep(!1)},[]);return[em,ed,ex]}("function"==typeof en.default||"object"==typeof en.default&&null!==en.default)&&void 0===en.default.__esModule&&(Object.defineProperty(en.default,"__esModule",{value:!0}),Object.assign(en.default,en),ee.exports=en.default)},6882:function(ee,en,er){"use strict";Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"getImgProps",{enumerable:!0,get:function(){return eh}}),er(3092);let ei=er(916),eo=er(2341);function es(ee){return void 0!==ee.default}function eu(ee){return void 0!==ee.src}function ec(ee){return"object"==typeof ee&&(es(ee)||eu(ee))}function ed(ee){return void 0===ee?ee:"number"==typeof ee?Number.isFinite(ee)?ee:NaN:"string"==typeof ee&&/^[0-9]+$/.test(ee)?parseInt(ee,10):NaN}function ef(ee,en,er){let{deviceSizes:ei,allSizes:eo}=ee;if(er){let ee=/(^|\s)(1?\d?\d)vw/g,en=[];for(let ei;ei=ee.exec(er);ei)en.push(parseInt(ei[2]));if(en.length){let ee=.01*Math.min(...en);return{widths:eo.filter(en=>en>=ei[0]*ee),kind:"w"}}return{widths:eo,kind:"w"}}if("number"!=typeof en)return{widths:ei,kind:"w"};let es=[...new Set([en,2*en].map(ee=>eo.find(en=>en>=ee)||eo[eo.length-1]))];return{widths:es,kind:"x"}}function ep(ee){let{config:en,src:er,unoptimized:ei,width:eo,quality:es,sizes:eu,loader:ec}=ee;if(ei)return{src:er,srcSet:void 0,sizes:void 0};let{widths:ed,kind:ep}=ef(en,eo,eu),eh=ed.length-1;return{sizes:eu||"w"!==ep?eu:"100vw",srcSet:ed.map((ee,ei)=>ec({config:en,src:er,quality:es,width:ee})+" "+("w"===ep?ee:ei+1)+ep).join(", "),src:ec({config:en,src:er,quality:es,width:ed[eh]})}}function eh(ee,en){let er,eu,ef,{src:eh,sizes:em,unoptimized:ex=!1,priority:eg=!1,loading:ev,className:ey,quality:eb,width:ew,height:ek,fill:e_=!1,style:ej,onLoad:eE,onLoadingComplete:eO,placeholder:eT="empty",blurDataURL:eC,fetchPriority:eS,layout:eN,objectFit:eI,objectPosition:eR,lazyBoundary:eL,lazyRoot:eP,...eA}=ee,{imgConf:eM,showAltText:eD,blurComplete:eF,defaultLoader:e$}=en,eZ=eM||eo.imageConfigDefault;if("allSizes"in eZ)er=eZ;else{let ee=[...eZ.deviceSizes,...eZ.imageSizes].sort((ee,en)=>ee-en),en=eZ.deviceSizes.sort((ee,en)=>ee-en);er={...eZ,allSizes:ee,deviceSizes:en}}let ez=eA.loader||e$;delete eA.loader,delete eA.srcSet;let eU="__next_img_default"in ez;if(eU){if("custom"===er.loader)throw Error('Image with src "'+eh+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let ee=ez;ez=en=>{let{config:er,...ei}=en;return ee(ei)}}if(eN){"fill"===eN&&(e_=!0);let ee={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}},en={responsive:"100vw",fill:"100vw"},er=ee[eN];er&&(ej={...ej,...er});let ei=en[eN];ei&&!em&&(em=ei)}let eW="",eH=ed(ew),eG=ed(ek);if(ec(eh)){let ee=es(eh)?eh.default:eh;if(!ee.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(ee));if(!ee.height||!ee.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(ee));if(eu=ee.blurWidth,ef=ee.blurHeight,eC=eC||ee.blurDataURL,eW=ee.src,!e_){if(eH||eG){if(eH&&!eG){let en=eH/ee.width;eG=Math.round(ee.height*en)}else if(!eH&&eG){let en=eG/ee.height;eH=Math.round(ee.width*en)}}else eH=ee.width,eG=ee.height}}let eB=!eg&&("lazy"===ev||void 0===ev);(!(eh="string"==typeof eh?eh:eW)||eh.startsWith("data:")||eh.startsWith("blob:"))&&(ex=!0,eB=!1),er.unoptimized&&(ex=!0),eU&&eh.endsWith(".svg")&&!er.dangerouslyAllowSVG&&(ex=!0),eg&&(eS="high");let eV=ed(eb),eK=Object.assign(e_?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:eI,objectPosition:eR}:{},eD?{}:{color:"transparent"},ej),eJ=eF||"empty"===eT?null:"blur"===eT?'url("data:image/svg+xml;charset=utf-8,'+(0,ei.getImageBlurSvg)({widthInt:eH,heightInt:eG,blurWidth:eu,blurHeight:ef,blurDataURL:eC||"",objectFit:eK.objectFit})+'")':'url("'+eT+'")',eQ=eJ?{backgroundSize:eK.objectFit||"cover",backgroundPosition:eK.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:eJ}:{},eY=ep({config:er,src:eh,unoptimized:ex,width:eH,quality:eV,sizes:em,loader:ez}),eX={...eA,loading:eB?"lazy":ev,fetchPriority:eS,width:eH,height:eG,decoding:"async",className:ey,style:{...eK,...eQ},sizes:eY.sizes,srcSet:eY.srcSet,src:eY.src},e0={unoptimized:ex,priority:eg,placeholder:eT,fill:e_};return{props:eX,meta:e0}}},916:function(ee,en){"use strict";function er(ee){let{widthInt:en,heightInt:er,blurWidth:ei,blurHeight:eo,blurDataURL:es,objectFit:eu}=ee,ec=20,ed=ei?40*ei:en,ef=eo?40*eo:er,ep=ed&&ef?"viewBox='0 0 "+ed+" "+ef+"'":"",eh=ep?"none":"contain"===eu?"xMidYMid":"cover"===eu?"xMidYMid slice":"none";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+ep+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='"+ec+"'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='"+ec+"'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+eh+"' style='filter: url(%23b);' href='"+es+"'/%3E%3C/svg%3E"}Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"getImageBlurSvg",{enumerable:!0,get:function(){return er}})},594:function(ee,en,er){"use strict";Object.defineProperty(en,"__esModule",{value:!0}),function(ee,en){for(var er in en)Object.defineProperty(ee,er,{enumerable:!0,get:en[er]})}(en,{default:function(){return ef},unstable_getImgProps:function(){return ed}});let ei=er(1538),eo=er(6882),es=er(3092),eu=er(2998),ec=ei._(er(1902)),ed=ee=>{(0,es.warnOnce)("Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.");let{props:en}=(0,eo.getImgProps)(ee,{defaultLoader:ec.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[ee,er]of Object.entries(en))void 0===er&&delete en[ee];return{props:en}},ef=eu.Image},1902:function(ee,en){"use strict";function er(ee){let{config:en,src:er,width:ei,quality:eo}=ee;return en.path+"?url="+encodeURIComponent(er)+"&w="+ei+"&q="+(eo||75)}Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"default",{enumerable:!0,get:function(){return ei}}),er.__next_img_default=!0;let ei=er},6288:function(){},8038:function(ee,en,er){ee.exports=er(8798)},8579:function(ee,en,er){ee.exports=er(594)},9894:function(ee,en,er){ee.exports=er(1081)},6677:function(ee,en,er){ee.exports=er(4114)},2917:function(ee,en,er){"use strict";er.d(en,{ZP:function(){return cs}});var ei,eo,es,eu,ec,ed,ef,ep,eh,em,ex,eg,ev,ey,eb,ew,ek,e_,ej,eE,eO,eT,eC,eS,eN,eI,eR,eL,eP=er(6677),eA=er(7378),eM=er.t(eA,2);function eD(ee){var en,er,ei="";if("string"==typeof ee||"number"==typeof ee)ei+=ee;else if("object"==typeof ee){if(Array.isArray(ee))for(en=0;en{en(!0)},[]),ee}var eZ=er(2685),ez="https://nextra.vercel.app",eU=()=>{let{locale:ee=eZ.ZW,asPath:en,route:er}=(0,eP.useRouter)();return(0,eA.useMemo)(()=>{let ei=eZ.hV.has(er)?er:en,{pathname:eo}=new URL(ei,ez),es=ee?eo.replace(RegExp(`\\.${ee}(\\/|$)`),"$1"):eo;return es.replace(/\.html$/,"").replace(/\/index(\/|$)/,"$1").replace(/\/$/,"")||"/"},[en,ee,er])},eW=er(1441),eH=er(4246);function eG({pathClassName:ee,...en}){return(0,eH.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",...en,children:(0,eH.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 5l7 7-7 7",className:ee})})}function eB(ee){return(0,eH.jsx)("svg",{viewBox:"0 0 20 20",width:"1em",height:"1em",fill:"currentColor",...ee,children:(0,eH.jsx)("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})}function eV(ee){return(0,eH.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",...ee,children:[(0,eH.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,eH.jsx)("path",{d:"M5 15H4C2.89543 15 2 14.1046 2 13V4C2 2.89543 2.89543 2 4 2H13C14.1046 2 15 2.89543 15 4V5",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function eK(ee){return(0,eH.jsxs)("svg",{width:"24",height:"24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 5 30.67 23.25",...ee,children:[(0,eH.jsx)("title",{children:"Discord"}),(0,eH.jsx)("path",{d:"M26.0015 6.9529C24.0021 6.03845 21.8787 5.37198 19.6623 5C19.3833 5.48048 19.0733 6.13144 18.8563 6.64292C16.4989 6.30193 14.1585 6.30193 11.8336 6.64292C11.6166 6.13144 11.2911 5.48048 11.0276 5C8.79575 5.37198 6.67235 6.03845 4.6869 6.9529C0.672601 12.8736 -0.41235 18.6548 0.130124 24.3585C2.79599 26.2959 5.36889 27.4739 7.89682 28.2489C8.51679 27.4119 9.07477 26.5129 9.55525 25.5675C8.64079 25.2265 7.77283 24.808 6.93587 24.312C7.15286 24.1571 7.36986 23.9866 7.57135 23.8161C12.6241 26.1255 18.0969 26.1255 23.0876 23.8161C23.3046 23.9866 23.5061 24.1571 23.7231 24.312C22.8861 24.808 22.0182 25.2265 21.1037 25.5675C21.5842 26.5129 22.1422 27.4119 22.7621 28.2489C25.2885 27.4739 27.8769 26.2959 30.5288 24.3585C31.1952 17.7559 29.4733 12.0212 26.0015 6.9529ZM10.2527 20.8402C8.73376 20.8402 7.49382 19.4608 7.49382 17.7714C7.49382 16.082 8.70276 14.7025 10.2527 14.7025C11.7871 14.7025 13.0425 16.082 13.0115 17.7714C13.0115 19.4608 11.7871 20.8402 10.2527 20.8402ZM20.4373 20.8402C18.9183 20.8402 17.6768 19.4608 17.6768 17.7714C17.6768 16.082 18.8873 14.7025 20.4373 14.7025C21.9717 14.7025 23.2271 16.082 23.1961 17.7714C23.1961 19.4608 21.9872 20.8402 20.4373 20.8402Z"})]})}function eJ({isOpen:ee,...en}){return(0,eH.jsxs)("svg",{height:"12",width:"12",viewBox:"0 0 16 16",fill:"currentColor",...en,children:[(0,eH.jsx)("path",{fillRule:"evenodd",d:"M4.177 7.823l2.396-2.396A.25.25 0 017 5.604v4.792a.25.25 0 01-.427.177L4.177 8.177a.25.25 0 010-.354z",className:ee?"":"nx-origin-[35%] nx-rotate-180"}),(0,eH.jsx)("path",{fillRule:"evenodd",d:"M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0114.25 16H1.75A1.75 1.75 0 010 14.25V1.75zm1.75-.25a.25.25 0 00-.25.25v12.5c0 .138.112.25.25.25H9.5v-13H1.75zm12.5 13H11v-13h3.25a.25.25 0 01.25.25v12.5a.25.25 0 01-.25.25z"})]})}function eQ(ee){return(0,eH.jsxs)("svg",{width:"24",height:"24",fill:"currentColor",viewBox:"3 3 18 18",...ee,children:[(0,eH.jsx)("title",{children:"GitHub"}),(0,eH.jsx)("path",{d:"M12 3C7.0275 3 3 7.12937 3 12.2276C3 16.3109 5.57625 19.7597 9.15374 20.9824C9.60374 21.0631 9.77249 20.7863 9.77249 20.5441C9.77249 20.3249 9.76125 19.5982 9.76125 18.8254C7.5 19.2522 6.915 18.2602 6.735 17.7412C6.63375 17.4759 6.19499 16.6569 5.8125 16.4378C5.4975 16.2647 5.0475 15.838 5.80124 15.8264C6.51 15.8149 7.01625 16.4954 7.18499 16.7723C7.99499 18.1679 9.28875 17.7758 9.80625 17.5335C9.885 16.9337 10.1212 16.53 10.38 16.2993C8.3775 16.0687 6.285 15.2728 6.285 11.7432C6.285 10.7397 6.63375 9.9092 7.20749 9.26326C7.1175 9.03257 6.8025 8.08674 7.2975 6.81794C7.2975 6.81794 8.05125 6.57571 9.77249 7.76377C10.4925 7.55615 11.2575 7.45234 12.0225 7.45234C12.7875 7.45234 13.5525 7.55615 14.2725 7.76377C15.9937 6.56418 16.7475 6.81794 16.7475 6.81794C17.2424 8.08674 16.9275 9.03257 16.8375 9.26326C17.4113 9.9092 17.76 10.7281 17.76 11.7432C17.76 15.2843 15.6563 16.0687 13.6537 16.2993C13.98 16.5877 14.2613 17.1414 14.2613 18.0065C14.2613 19.2407 14.25 20.2326 14.25 20.5441C14.25 20.7863 14.4188 21.0746 14.8688 20.9824C16.6554 20.364 18.2079 19.1866 19.3078 17.6162C20.4077 16.0457 20.9995 14.1611 21 12.2276C21 7.12937 16.9725 3 12 3Z"})]})}function eY(ee){return(0,eH.jsx)("svg",{viewBox:"2 2 16 16",width:"12",height:"12",fill:"currentColor",...ee,children:(0,eH.jsx)("path",{fillRule:"evenodd",d:"M4.083 9h1.946c.089-1.546.383-2.97.837-4.118A6.004 6.004 0 004.083 9zM10 2a8 8 0 100 16 8 8 0 000-16zm0 2c-.076 0-.232.032-.465.262-.238.234-.497.623-.737 1.182-.389.907-.673 2.142-.766 3.556h3.936c-.093-1.414-.377-2.649-.766-3.556-.24-.56-.5-.948-.737-1.182C10.232 4.032 10.076 4 10 4zm3.971 5c-.089-1.546-.383-2.97-.837-4.118A6.004 6.004 0 0115.917 9h-1.946zm-2.003 2H8.032c.093 1.414.377 2.649.766 3.556.24.56.5.948.737 1.182.233.23.389.262.465.262.076 0 .232-.032.465-.262.238-.234.498-.623.737-1.182.389-.907.673-2.142.766-3.556zm1.166 4.118c.454-1.147.748-2.572.837-4.118h1.946a6.004 6.004 0 01-2.783 4.118zm-6.268 0C6.412 13.97 6.118 12.546 6.03 11H4.083a6.004 6.004 0 002.783 4.118z",clipRule:"evenodd"})})}function eX(ee){return(0,eH.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:"20",height:"20",...ee,children:(0,eH.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z"})})}function e0(ee){return(0,eH.jsxs)("svg",{fill:"none",width:"24",height:"24",viewBox:"0 0 24 24",stroke:"currentColor",...ee,children:[(0,eH.jsx)("g",{children:(0,eH.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16"})}),(0,eH.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 12h16"}),(0,eH.jsx)("g",{children:(0,eH.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 18h16"})})]})}function e1(ee){return(0,eH.jsx)("svg",{fill:"none",viewBox:"2 2 20 20",width:"12",height:"12",stroke:"currentColor",...ee,children:(0,eH.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"currentColor",d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"})})}function e2(ee){return(0,eH.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24",...ee,children:[(0,eH.jsx)("circle",{className:"nx-opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,eH.jsx)("path",{className:"nx-opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}function e4(ee){return(0,eH.jsx)("svg",{fill:"none",viewBox:"3 3 18 18",width:"12",height:"12",stroke:"currentColor",...ee,children:(0,eH.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"currentColor",d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"})})}function e3(ee){return(0,eH.jsx)("svg",{viewBox:"0 0 24 24",width:"24",height:"24",...ee,children:(0,eH.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}function e5(ee){return(0,eH.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",...ee,children:(0,eH.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})}!function(ee){function en(ee){}function er(ee){throw Error()}function ei(ee,en=" | "){return ee.map(ee=>"string"==typeof ee?`'${ee}'`:ee).join(en)}ee.assertEqual=ee=>ee,ee.assertIs=en,ee.assertNever=er,ee.arrayToEnum=ee=>{let en={};for(let er of ee)en[er]=er;return en},ee.getValidEnumValues=en=>{let er=ee.objectKeys(en).filter(ee=>"number"!=typeof en[en[ee]]),ei={};for(let ee of er)ei[ee]=en[ee];return ee.objectValues(ei)},ee.objectValues=en=>ee.objectKeys(en).map(function(ee){return en[ee]}),ee.objectKeys="function"==typeof Object.keys?ee=>Object.keys(ee):ee=>{let en=[];for(let er in ee)Object.prototype.hasOwnProperty.call(ee,er)&&en.push(er);return en},ee.find=(ee,en)=>{for(let er of ee)if(en(er))return er},ee.isInteger="function"==typeof Number.isInteger?ee=>Number.isInteger(ee):ee=>"number"==typeof ee&&isFinite(ee)&&Math.floor(ee)===ee,ee.joinValues=ei,ee.jsonStringifyReplacer=(ee,en)=>"bigint"==typeof en?en.toString():en}(eC||(eC={})),function(ee){ee.mergeShapes=(ee,en)=>({...ee,...en})}(eS||(eS={}));let e6=eC.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),e7=ee=>{let en=typeof ee;switch(en){case"undefined":return e6.undefined;case"string":return e6.string;case"number":return isNaN(ee)?e6.nan:e6.number;case"boolean":return e6.boolean;case"function":return e6.function;case"bigint":return e6.bigint;case"symbol":return e6.symbol;case"object":if(Array.isArray(ee))return e6.array;if(null===ee)return e6.null;if(ee.then&&"function"==typeof ee.then&&ee.catch&&"function"==typeof ee.catch)return e6.promise;if("undefined"!=typeof Map&&ee instanceof Map)return e6.map;if("undefined"!=typeof Set&&ee instanceof Set)return e6.set;if("undefined"!=typeof Date&&ee instanceof Date)return e6.date;return e6.object;default:return e6.unknown}},e8=eC.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),e9=ee=>{let en=JSON.stringify(ee,null,2);return en.replace(/"([^"]+)":/g,"$1:")};class tn extends Error{constructor(ee){super(),this.issues=[],this.addIssue=ee=>{this.issues=[...this.issues,ee]},this.addIssues=(ee=[])=>{this.issues=[...this.issues,...ee]};let en=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,en):this.__proto__=en,this.name="ZodError",this.issues=ee}get errors(){return this.issues}format(ee){let en=ee||function(ee){return ee.message},er={_errors:[]},ei=ee=>{for(let eo of ee.issues)if("invalid_union"===eo.code)eo.unionErrors.map(ei);else if("invalid_return_type"===eo.code)ei(eo.returnTypeError);else if("invalid_arguments"===eo.code)ei(eo.argumentsError);else if(0===eo.path.length)er._errors.push(en(eo));else{let ee=er,ei=0;for(;eiee.message){let en={},er=[];for(let ei of this.issues)ei.path.length>0?(en[ei.path[0]]=en[ei.path[0]]||[],en[ei.path[0]].push(ee(ei))):er.push(ee(ei));return{formErrors:er,fieldErrors:en}}get formErrors(){return this.flatten()}}tn.create=ee=>{let en=new tn(ee);return en};let tr=(ee,en)=>{let er;switch(ee.code){case e8.invalid_type:er=ee.received===e6.undefined?"Required":`Expected ${ee.expected}, received ${ee.received}`;break;case e8.invalid_literal:er=`Invalid literal value, expected ${JSON.stringify(ee.expected,eC.jsonStringifyReplacer)}`;break;case e8.unrecognized_keys:er=`Unrecognized key(s) in object: ${eC.joinValues(ee.keys,", ")}`;break;case e8.invalid_union:er="Invalid input";break;case e8.invalid_union_discriminator:er=`Invalid discriminator value. Expected ${eC.joinValues(ee.options)}`;break;case e8.invalid_enum_value:er=`Invalid enum value. Expected ${eC.joinValues(ee.options)}, received '${ee.received}'`;break;case e8.invalid_arguments:er="Invalid function arguments";break;case e8.invalid_return_type:er="Invalid function return type";break;case e8.invalid_date:er="Invalid date";break;case e8.invalid_string:"object"==typeof ee.validation?"includes"in ee.validation?(er=`Invalid input: must include "${ee.validation.includes}"`,"number"==typeof ee.validation.position&&(er=`${er} at one or more positions greater than or equal to ${ee.validation.position}`)):"startsWith"in ee.validation?er=`Invalid input: must start with "${ee.validation.startsWith}"`:"endsWith"in ee.validation?er=`Invalid input: must end with "${ee.validation.endsWith}"`:eC.assertNever(ee.validation):er="regex"!==ee.validation?`Invalid ${ee.validation}`:"Invalid";break;case e8.too_small:er="array"===ee.type?`Array must contain ${ee.exact?"exactly":ee.inclusive?"at least":"more than"} ${ee.minimum} element(s)`:"string"===ee.type?`String must contain ${ee.exact?"exactly":ee.inclusive?"at least":"over"} ${ee.minimum} character(s)`:"number"===ee.type?`Number must be ${ee.exact?"exactly equal to ":ee.inclusive?"greater than or equal to ":"greater than "}${ee.minimum}`:"date"===ee.type?`Date must be ${ee.exact?"exactly equal to ":ee.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(ee.minimum))}`:"Invalid input";break;case e8.too_big:er="array"===ee.type?`Array must contain ${ee.exact?"exactly":ee.inclusive?"at most":"less than"} ${ee.maximum} element(s)`:"string"===ee.type?`String must contain ${ee.exact?"exactly":ee.inclusive?"at most":"under"} ${ee.maximum} character(s)`:"number"===ee.type?`Number must be ${ee.exact?"exactly":ee.inclusive?"less than or equal to":"less than"} ${ee.maximum}`:"bigint"===ee.type?`BigInt must be ${ee.exact?"exactly":ee.inclusive?"less than or equal to":"less than"} ${ee.maximum}`:"date"===ee.type?`Date must be ${ee.exact?"exactly":ee.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(ee.maximum))}`:"Invalid input";break;case e8.custom:er="Invalid input";break;case e8.invalid_intersection_types:er="Intersection results could not be merged";break;case e8.not_multiple_of:er=`Number must be a multiple of ${ee.multipleOf}`;break;case e8.not_finite:er="Number must be finite";break;default:er=en.defaultError,eC.assertNever(ee)}return{message:er}},ti=tr;function ts(ee){ti=ee}function tl(){return ti}let tu=ee=>{let{data:en,path:er,errorMaps:ei,issueData:eo}=ee,es=[...er,...eo.path||[]],eu={...eo,path:es},ec="",ed=ei.filter(ee=>!!ee).slice().reverse();for(let ee of ed)ec=ee(eu,{data:en,defaultError:ec}).message;return{...eo,path:es,message:eo.message||ec}},tc=[];function td(ee,en){let er=tu({issueData:en,data:ee.data,path:ee.path,errorMaps:[ee.common.contextualErrorMap,ee.schemaErrorMap,tl(),tr].filter(ee=>!!ee)});ee.common.issues.push(er)}class tf{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(ee,en){let er=[];for(let ei of en){if("aborted"===ei.status)return tp;"dirty"===ei.status&&ee.dirty(),er.push(ei.value)}return{status:ee.value,value:er}}static async mergeObjectAsync(ee,en){let er=[];for(let ee of en)er.push({key:await ee.key,value:await ee.value});return tf.mergeObjectSync(ee,er)}static mergeObjectSync(ee,en){let er={};for(let ei of en){let{key:en,value:eo}=ei;if("aborted"===en.status||"aborted"===eo.status)return tp;"dirty"===en.status&&ee.dirty(),"dirty"===eo.status&&ee.dirty(),"__proto__"!==en.value&&(void 0!==eo.value||ei.alwaysSet)&&(er[en.value]=eo.value)}return{status:ee.value,value:er}}}let tp=Object.freeze({status:"aborted"}),th=ee=>({status:"dirty",value:ee}),tm=ee=>({status:"valid",value:ee}),tx=ee=>"aborted"===ee.status,tg=ee=>"dirty"===ee.status,tv=ee=>"valid"===ee.status,ty=ee=>"undefined"!=typeof Promise&&ee instanceof Promise;!function(ee){ee.errToObj=ee=>"string"==typeof ee?{message:ee}:ee||{},ee.toString=ee=>"string"==typeof ee?ee:null==ee?void 0:ee.message}(eN||(eN={}));class tb{constructor(ee,en,er,ei){this._cachedPath=[],this.parent=ee,this.data=en,this._path=er,this._key=ei}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let tw=(ee,en)=>{if(tv(en))return{success:!0,data:en.value};if(!ee.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let en=new tn(ee.common.issues);return this._error=en,this._error}}};function tk(ee){if(!ee)return{};let{errorMap:en,invalid_type_error:er,required_error:ei,description:eo}=ee;if(en&&(er||ei))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');if(en)return{errorMap:en,description:eo};let es=(ee,en)=>"invalid_type"!==ee.code?{message:en.defaultError}:void 0===en.data?{message:null!=ei?ei:en.defaultError}:{message:null!=er?er:en.defaultError};return{errorMap:es,description:eo}}class t_{constructor(ee){this.spa=this.safeParseAsync,this._def=ee,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(ee){return e7(ee.data)}_getOrReturnCtx(ee,en){return en||{common:ee.parent.common,data:ee.data,parsedType:e7(ee.data),schemaErrorMap:this._def.errorMap,path:ee.path,parent:ee.parent}}_processInputParams(ee){return{status:new tf,ctx:{common:ee.parent.common,data:ee.data,parsedType:e7(ee.data),schemaErrorMap:this._def.errorMap,path:ee.path,parent:ee.parent}}}_parseSync(ee){let en=this._parse(ee);if(ty(en))throw Error("Synchronous parse encountered promise.");return en}_parseAsync(ee){let en=this._parse(ee);return Promise.resolve(en)}parse(ee,en){let er=this.safeParse(ee,en);if(er.success)return er.data;throw er.error}safeParse(ee,en){var er;let ei={common:{issues:[],async:null!==(er=null==en?void 0:en.async)&&void 0!==er&&er,contextualErrorMap:null==en?void 0:en.errorMap},path:(null==en?void 0:en.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:ee,parsedType:e7(ee)},eo=this._parseSync({data:ee,path:ei.path,parent:ei});return tw(ei,eo)}async parseAsync(ee,en){let er=await this.safeParseAsync(ee,en);if(er.success)return er.data;throw er.error}async safeParseAsync(ee,en){let er={common:{issues:[],contextualErrorMap:null==en?void 0:en.errorMap,async:!0},path:(null==en?void 0:en.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:ee,parsedType:e7(ee)},ei=this._parse({data:ee,path:er.path,parent:er}),eo=await (ty(ei)?ei:Promise.resolve(ei));return tw(er,eo)}refine(ee,en){let er=ee=>"string"==typeof en||void 0===en?{message:en}:"function"==typeof en?en(ee):en;return this._refinement((en,ei)=>{let eo=ee(en),es=()=>ei.addIssue({code:e8.custom,...er(en)});return"undefined"!=typeof Promise&&eo instanceof Promise?eo.then(ee=>!!ee||(es(),!1)):!!eo||(es(),!1)})}refinement(ee,en){return this._refinement((er,ei)=>!!ee(er)||(ei.addIssue("function"==typeof en?en(er,ei):en),!1))}_refinement(ee){return new nn({schema:this,typeName:eI.ZodEffects,effect:{type:"refinement",refinement:ee}})}superRefine(ee){return this._refinement(ee)}optional(){return nr.create(this,this._def)}nullable(){return ni.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return tV.create(this,this._def)}promise(){return nt.create(this,this._def)}or(ee){return tJ.create([this,ee],this._def)}and(ee){return t0.create(this,ee,this._def)}transform(ee){return new nn({...tk(this._def),schema:this,typeName:eI.ZodEffects,effect:{type:"transform",transform:ee}})}default(ee){let en="function"==typeof ee?ee:()=>ee;return new no({...tk(this._def),innerType:this,defaultValue:en,typeName:eI.ZodDefault})}brand(){return new nc({typeName:eI.ZodBranded,type:this,...tk(this._def)})}catch(ee){let en="function"==typeof ee?ee:()=>ee;return new ns({...tk(this._def),innerType:this,catchValue:en,typeName:eI.ZodCatch})}describe(ee){let en=this.constructor;return new en({...this._def,description:ee})}pipe(ee){return nd.create(this,ee)}readonly(){return nf.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let tj=/^c[^\s-]{8,}$/i,tE=/^[a-z][a-z0-9]*$/,tO=/[0-9A-HJKMNP-TV-Z]{26}/,tT=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,tC=/^([A-Z0-9_+-]+\.?)*[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,tS=/^(\p{Extended_Pictographic}|\p{Emoji_Component})+$/u,tN=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,tI=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,tR=ee=>ee.precision?ee.offset?RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${ee.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${ee.precision}}Z$`):0===ee.precision?ee.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):ee.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function tL(ee,en){return!!(("v4"===en||!en)&&tN.test(ee)||("v6"===en||!en)&&tI.test(ee))}class tP extends t_{constructor(){super(...arguments),this._regex=(ee,en,er)=>this.refinement(en=>ee.test(en),{validation:en,code:e8.invalid_string,...eN.errToObj(er)}),this.nonempty=ee=>this.min(1,eN.errToObj(ee)),this.trim=()=>new tP({...this._def,checks:[...this._def.checks,{kind:"trim"}]}),this.toLowerCase=()=>new tP({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]}),this.toUpperCase=()=>new tP({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}_parse(ee){let en;this._def.coerce&&(ee.data=String(ee.data));let er=this._getType(ee);if(er!==e6.string){let en=this._getOrReturnCtx(ee);return td(en,{code:e8.invalid_type,expected:e6.string,received:en.parsedType}),tp}let ei=new tf;for(let er of this._def.checks)if("min"===er.kind)ee.data.lengther.value&&(td(en=this._getOrReturnCtx(ee,en),{code:e8.too_big,maximum:er.value,type:"string",inclusive:!0,exact:!1,message:er.message}),ei.dirty());else if("length"===er.kind){let eo=ee.data.length>er.value,es=ee.data.length"datetime"===ee.kind)}get isEmail(){return!!this._def.checks.find(ee=>"email"===ee.kind)}get isURL(){return!!this._def.checks.find(ee=>"url"===ee.kind)}get isEmoji(){return!!this._def.checks.find(ee=>"emoji"===ee.kind)}get isUUID(){return!!this._def.checks.find(ee=>"uuid"===ee.kind)}get isCUID(){return!!this._def.checks.find(ee=>"cuid"===ee.kind)}get isCUID2(){return!!this._def.checks.find(ee=>"cuid2"===ee.kind)}get isULID(){return!!this._def.checks.find(ee=>"ulid"===ee.kind)}get isIP(){return!!this._def.checks.find(ee=>"ip"===ee.kind)}get minLength(){let ee=null;for(let en of this._def.checks)"min"===en.kind&&(null===ee||en.value>ee)&&(ee=en.value);return ee}get maxLength(){let ee=null;for(let en of this._def.checks)"max"===en.kind&&(null===ee||en.valueei?er:ei,es=parseInt(ee.toFixed(eo).replace(".","")),eu=parseInt(en.toFixed(eo).replace(".",""));return es%eu/Math.pow(10,eo)}tP.create=ee=>{var en;return new tP({checks:[],typeName:eI.ZodString,coerce:null!==(en=null==ee?void 0:ee.coerce)&&void 0!==en&&en,...tk(ee)})};class tM extends t_{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(ee){let en;this._def.coerce&&(ee.data=Number(ee.data));let er=this._getType(ee);if(er!==e6.number){let en=this._getOrReturnCtx(ee);return td(en,{code:e8.invalid_type,expected:e6.number,received:en.parsedType}),tp}let ei=new tf;for(let er of this._def.checks)if("int"===er.kind)eC.isInteger(ee.data)||(td(en=this._getOrReturnCtx(ee,en),{code:e8.invalid_type,expected:"integer",received:"float",message:er.message}),ei.dirty());else if("min"===er.kind){let eo=er.inclusive?ee.dataer.value:ee.data>=er.value;eo&&(td(en=this._getOrReturnCtx(ee,en),{code:e8.too_big,maximum:er.value,type:"number",inclusive:er.inclusive,exact:!1,message:er.message}),ei.dirty())}else"multipleOf"===er.kind?0!==tA(ee.data,er.value)&&(td(en=this._getOrReturnCtx(ee,en),{code:e8.not_multiple_of,multipleOf:er.value,message:er.message}),ei.dirty()):"finite"===er.kind?Number.isFinite(ee.data)||(td(en=this._getOrReturnCtx(ee,en),{code:e8.not_finite,message:er.message}),ei.dirty()):eC.assertNever(er);return{status:ei.value,value:ee.data}}gte(ee,en){return this.setLimit("min",ee,!0,eN.toString(en))}gt(ee,en){return this.setLimit("min",ee,!1,eN.toString(en))}lte(ee,en){return this.setLimit("max",ee,!0,eN.toString(en))}lt(ee,en){return this.setLimit("max",ee,!1,eN.toString(en))}setLimit(ee,en,er,ei){return new tM({...this._def,checks:[...this._def.checks,{kind:ee,value:en,inclusive:er,message:eN.toString(ei)}]})}_addCheck(ee){return new tM({...this._def,checks:[...this._def.checks,ee]})}int(ee){return this._addCheck({kind:"int",message:eN.toString(ee)})}positive(ee){return this._addCheck({kind:"min",value:0,inclusive:!1,message:eN.toString(ee)})}negative(ee){return this._addCheck({kind:"max",value:0,inclusive:!1,message:eN.toString(ee)})}nonpositive(ee){return this._addCheck({kind:"max",value:0,inclusive:!0,message:eN.toString(ee)})}nonnegative(ee){return this._addCheck({kind:"min",value:0,inclusive:!0,message:eN.toString(ee)})}multipleOf(ee,en){return this._addCheck({kind:"multipleOf",value:ee,message:eN.toString(en)})}finite(ee){return this._addCheck({kind:"finite",message:eN.toString(ee)})}safe(ee){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:eN.toString(ee)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:eN.toString(ee)})}get minValue(){let ee=null;for(let en of this._def.checks)"min"===en.kind&&(null===ee||en.value>ee)&&(ee=en.value);return ee}get maxValue(){let ee=null;for(let en of this._def.checks)"max"===en.kind&&(null===ee||en.value"int"===ee.kind||"multipleOf"===ee.kind&&eC.isInteger(ee.value))}get isFinite(){let ee=null,en=null;for(let er of this._def.checks){if("finite"===er.kind||"int"===er.kind||"multipleOf"===er.kind)return!0;"min"===er.kind?(null===en||er.value>en)&&(en=er.value):"max"===er.kind&&(null===ee||er.valuenew tM({checks:[],typeName:eI.ZodNumber,coerce:(null==ee?void 0:ee.coerce)||!1,...tk(ee)});class tD extends t_{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(ee){let en;this._def.coerce&&(ee.data=BigInt(ee.data));let er=this._getType(ee);if(er!==e6.bigint){let en=this._getOrReturnCtx(ee);return td(en,{code:e8.invalid_type,expected:e6.bigint,received:en.parsedType}),tp}let ei=new tf;for(let er of this._def.checks)if("min"===er.kind){let eo=er.inclusive?ee.dataer.value:ee.data>=er.value;eo&&(td(en=this._getOrReturnCtx(ee,en),{code:e8.too_big,type:"bigint",maximum:er.value,inclusive:er.inclusive,message:er.message}),ei.dirty())}else"multipleOf"===er.kind?ee.data%er.value!==BigInt(0)&&(td(en=this._getOrReturnCtx(ee,en),{code:e8.not_multiple_of,multipleOf:er.value,message:er.message}),ei.dirty()):eC.assertNever(er);return{status:ei.value,value:ee.data}}gte(ee,en){return this.setLimit("min",ee,!0,eN.toString(en))}gt(ee,en){return this.setLimit("min",ee,!1,eN.toString(en))}lte(ee,en){return this.setLimit("max",ee,!0,eN.toString(en))}lt(ee,en){return this.setLimit("max",ee,!1,eN.toString(en))}setLimit(ee,en,er,ei){return new tD({...this._def,checks:[...this._def.checks,{kind:ee,value:en,inclusive:er,message:eN.toString(ei)}]})}_addCheck(ee){return new tD({...this._def,checks:[...this._def.checks,ee]})}positive(ee){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:eN.toString(ee)})}negative(ee){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:eN.toString(ee)})}nonpositive(ee){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:eN.toString(ee)})}nonnegative(ee){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:eN.toString(ee)})}multipleOf(ee,en){return this._addCheck({kind:"multipleOf",value:ee,message:eN.toString(en)})}get minValue(){let ee=null;for(let en of this._def.checks)"min"===en.kind&&(null===ee||en.value>ee)&&(ee=en.value);return ee}get maxValue(){let ee=null;for(let en of this._def.checks)"max"===en.kind&&(null===ee||en.value{var en;return new tD({checks:[],typeName:eI.ZodBigInt,coerce:null!==(en=null==ee?void 0:ee.coerce)&&void 0!==en&&en,...tk(ee)})};class tF extends t_{_parse(ee){this._def.coerce&&(ee.data=!!ee.data);let en=this._getType(ee);if(en!==e6.boolean){let en=this._getOrReturnCtx(ee);return td(en,{code:e8.invalid_type,expected:e6.boolean,received:en.parsedType}),tp}return tm(ee.data)}}tF.create=ee=>new tF({typeName:eI.ZodBoolean,coerce:(null==ee?void 0:ee.coerce)||!1,...tk(ee)});class t$ extends t_{_parse(ee){let en;this._def.coerce&&(ee.data=new Date(ee.data));let er=this._getType(ee);if(er!==e6.date){let en=this._getOrReturnCtx(ee);return td(en,{code:e8.invalid_type,expected:e6.date,received:en.parsedType}),tp}if(isNaN(ee.data.getTime())){let en=this._getOrReturnCtx(ee);return td(en,{code:e8.invalid_date}),tp}let ei=new tf;for(let er of this._def.checks)"min"===er.kind?ee.data.getTime()er.value&&(td(en=this._getOrReturnCtx(ee,en),{code:e8.too_big,message:er.message,inclusive:!0,exact:!1,maximum:er.value,type:"date"}),ei.dirty()):eC.assertNever(er);return{status:ei.value,value:new Date(ee.data.getTime())}}_addCheck(ee){return new t$({...this._def,checks:[...this._def.checks,ee]})}min(ee,en){return this._addCheck({kind:"min",value:ee.getTime(),message:eN.toString(en)})}max(ee,en){return this._addCheck({kind:"max",value:ee.getTime(),message:eN.toString(en)})}get minDate(){let ee=null;for(let en of this._def.checks)"min"===en.kind&&(null===ee||en.value>ee)&&(ee=en.value);return null!=ee?new Date(ee):null}get maxDate(){let ee=null;for(let en of this._def.checks)"max"===en.kind&&(null===ee||en.valuenew t$({checks:[],coerce:(null==ee?void 0:ee.coerce)||!1,typeName:eI.ZodDate,...tk(ee)});class tZ extends t_{_parse(ee){let en=this._getType(ee);if(en!==e6.symbol){let en=this._getOrReturnCtx(ee);return td(en,{code:e8.invalid_type,expected:e6.symbol,received:en.parsedType}),tp}return tm(ee.data)}}tZ.create=ee=>new tZ({typeName:eI.ZodSymbol,...tk(ee)});class tz extends t_{_parse(ee){let en=this._getType(ee);if(en!==e6.undefined){let en=this._getOrReturnCtx(ee);return td(en,{code:e8.invalid_type,expected:e6.undefined,received:en.parsedType}),tp}return tm(ee.data)}}tz.create=ee=>new tz({typeName:eI.ZodUndefined,...tk(ee)});class tU extends t_{_parse(ee){let en=this._getType(ee);if(en!==e6.null){let en=this._getOrReturnCtx(ee);return td(en,{code:e8.invalid_type,expected:e6.null,received:en.parsedType}),tp}return tm(ee.data)}}tU.create=ee=>new tU({typeName:eI.ZodNull,...tk(ee)});class tW extends t_{constructor(){super(...arguments),this._any=!0}_parse(ee){return tm(ee.data)}}tW.create=ee=>new tW({typeName:eI.ZodAny,...tk(ee)});class tH extends t_{constructor(){super(...arguments),this._unknown=!0}_parse(ee){return tm(ee.data)}}tH.create=ee=>new tH({typeName:eI.ZodUnknown,...tk(ee)});class tG extends t_{_parse(ee){let en=this._getOrReturnCtx(ee);return td(en,{code:e8.invalid_type,expected:e6.never,received:en.parsedType}),tp}}tG.create=ee=>new tG({typeName:eI.ZodNever,...tk(ee)});class tB extends t_{_parse(ee){let en=this._getType(ee);if(en!==e6.undefined){let en=this._getOrReturnCtx(ee);return td(en,{code:e8.invalid_type,expected:e6.void,received:en.parsedType}),tp}return tm(ee.data)}}tB.create=ee=>new tB({typeName:eI.ZodVoid,...tk(ee)});class tV extends t_{_parse(ee){let{ctx:en,status:er}=this._processInputParams(ee),ei=this._def;if(en.parsedType!==e6.array)return td(en,{code:e8.invalid_type,expected:e6.array,received:en.parsedType}),tp;if(null!==ei.exactLength){let ee=en.data.length>ei.exactLength.value,eo=en.data.lengthei.maxLength.value&&(td(en,{code:e8.too_big,maximum:ei.maxLength.value,type:"array",inclusive:!0,exact:!1,message:ei.maxLength.message}),er.dirty()),en.common.async)return Promise.all([...en.data].map((ee,er)=>ei.type._parseAsync(new tb(en,ee,en.path,er)))).then(ee=>tf.mergeArray(er,ee));let eo=[...en.data].map((ee,er)=>ei.type._parseSync(new tb(en,ee,en.path,er)));return tf.mergeArray(er,eo)}get element(){return this._def.type}min(ee,en){return new tV({...this._def,minLength:{value:ee,message:eN.toString(en)}})}max(ee,en){return new tV({...this._def,maxLength:{value:ee,message:eN.toString(en)}})}length(ee,en){return new tV({...this._def,exactLength:{value:ee,message:eN.toString(en)}})}nonempty(ee){return this.min(1,ee)}}function tq(ee){if(ee instanceof tK){let en={};for(let er in ee.shape){let ei=ee.shape[er];en[er]=nr.create(tq(ei))}return new tK({...ee._def,shape:()=>en})}return ee instanceof tV?new tV({...ee._def,type:tq(ee.element)}):ee instanceof nr?nr.create(tq(ee.unwrap())):ee instanceof ni?ni.create(tq(ee.unwrap())):ee instanceof t1?t1.create(ee.items.map(ee=>tq(ee))):ee}tV.create=(ee,en)=>new tV({type:ee,minLength:null,maxLength:null,exactLength:null,typeName:eI.ZodArray,...tk(en)});class tK extends t_{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let ee=this._def.shape(),en=eC.objectKeys(ee);return this._cached={shape:ee,keys:en}}_parse(ee){let en=this._getType(ee);if(en!==e6.object){let en=this._getOrReturnCtx(ee);return td(en,{code:e8.invalid_type,expected:e6.object,received:en.parsedType}),tp}let{status:er,ctx:ei}=this._processInputParams(ee),{shape:eo,keys:es}=this._getCached(),eu=[];if(!(this._def.catchall instanceof tG&&"strip"===this._def.unknownKeys))for(let ee in ei.data)es.includes(ee)||eu.push(ee);let ec=[];for(let ee of es){let en=eo[ee],er=ei.data[ee];ec.push({key:{status:"valid",value:ee},value:en._parse(new tb(ei,er,ei.path,ee)),alwaysSet:ee in ei.data})}if(this._def.catchall instanceof tG){let ee=this._def.unknownKeys;if("passthrough"===ee)for(let ee of eu)ec.push({key:{status:"valid",value:ee},value:{status:"valid",value:ei.data[ee]}});else if("strict"===ee)eu.length>0&&(td(ei,{code:e8.unrecognized_keys,keys:eu}),er.dirty());else if("strip"===ee);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let ee=this._def.catchall;for(let en of eu){let er=ei.data[en];ec.push({key:{status:"valid",value:en},value:ee._parse(new tb(ei,er,ei.path,en)),alwaysSet:en in ei.data})}}return ei.common.async?Promise.resolve().then(async()=>{let ee=[];for(let en of ec){let er=await en.key;ee.push({key:er,value:await en.value,alwaysSet:en.alwaysSet})}return ee}).then(ee=>tf.mergeObjectSync(er,ee)):tf.mergeObjectSync(er,ec)}get shape(){return this._def.shape()}strict(ee){return eN.errToObj,new tK({...this._def,unknownKeys:"strict",...void 0!==ee?{errorMap:(en,er)=>{var ei,eo,es,eu;let ec=null!==(es=null===(eo=(ei=this._def).errorMap)||void 0===eo?void 0:eo.call(ei,en,er).message)&&void 0!==es?es:er.defaultError;return"unrecognized_keys"===en.code?{message:null!==(eu=eN.errToObj(ee).message)&&void 0!==eu?eu:ec}:{message:ec}}}:{}})}strip(){return new tK({...this._def,unknownKeys:"strip"})}passthrough(){return new tK({...this._def,unknownKeys:"passthrough"})}extend(ee){return new tK({...this._def,shape:()=>({...this._def.shape(),...ee})})}merge(ee){let en=new tK({unknownKeys:ee._def.unknownKeys,catchall:ee._def.catchall,shape:()=>({...this._def.shape(),...ee._def.shape()}),typeName:eI.ZodObject});return en}setKey(ee,en){return this.augment({[ee]:en})}catchall(ee){return new tK({...this._def,catchall:ee})}pick(ee){let en={};return eC.objectKeys(ee).forEach(er=>{ee[er]&&this.shape[er]&&(en[er]=this.shape[er])}),new tK({...this._def,shape:()=>en})}omit(ee){let en={};return eC.objectKeys(this.shape).forEach(er=>{ee[er]||(en[er]=this.shape[er])}),new tK({...this._def,shape:()=>en})}deepPartial(){return tq(this)}partial(ee){let en={};return eC.objectKeys(this.shape).forEach(er=>{let ei=this.shape[er];ee&&!ee[er]?en[er]=ei:en[er]=ei.optional()}),new tK({...this._def,shape:()=>en})}required(ee){let en={};return eC.objectKeys(this.shape).forEach(er=>{if(ee&&!ee[er])en[er]=this.shape[er];else{let ee=this.shape[er],ei=ee;for(;ei instanceof nr;)ei=ei._def.innerType;en[er]=ei}}),new tK({...this._def,shape:()=>en})}keyof(){return t8(eC.objectKeys(this.shape))}}tK.create=(ee,en)=>new tK({shape:()=>ee,unknownKeys:"strip",catchall:tG.create(),typeName:eI.ZodObject,...tk(en)}),tK.strictCreate=(ee,en)=>new tK({shape:()=>ee,unknownKeys:"strict",catchall:tG.create(),typeName:eI.ZodObject,...tk(en)}),tK.lazycreate=(ee,en)=>new tK({shape:ee,unknownKeys:"strip",catchall:tG.create(),typeName:eI.ZodObject,...tk(en)});class tJ extends t_{_parse(ee){let{ctx:en}=this._processInputParams(ee),er=this._def.options;function ei(ee){for(let en of ee)if("valid"===en.result.status)return en.result;for(let er of ee)if("dirty"===er.result.status)return en.common.issues.push(...er.ctx.common.issues),er.result;let er=ee.map(ee=>new tn(ee.ctx.common.issues));return td(en,{code:e8.invalid_union,unionErrors:er}),tp}if(en.common.async)return Promise.all(er.map(async ee=>{let er={...en,common:{...en.common,issues:[]},parent:null};return{result:await ee._parseAsync({data:en.data,path:en.path,parent:er}),ctx:er}})).then(ei);{let ee;let ei=[];for(let eo of er){let er={...en,common:{...en.common,issues:[]},parent:null},es=eo._parseSync({data:en.data,path:en.path,parent:er});if("valid"===es.status)return es;"dirty"!==es.status||ee||(ee={result:es,ctx:er}),er.common.issues.length&&ei.push(er.common.issues)}if(ee)return en.common.issues.push(...ee.ctx.common.issues),ee.result;let eo=ei.map(ee=>new tn(ee));return td(en,{code:e8.invalid_union,unionErrors:eo}),tp}}get options(){return this._def.options}}tJ.create=(ee,en)=>new tJ({options:ee,typeName:eI.ZodUnion,...tk(en)});let tQ=ee=>{if(ee instanceof t6)return tQ(ee.schema);if(ee instanceof nn)return tQ(ee.innerType());if(ee instanceof t7)return[ee.value];if(ee instanceof t9)return ee.options;if(ee instanceof ne)return Object.keys(ee.enum);if(ee instanceof no)return tQ(ee._def.innerType);if(ee instanceof tz)return[void 0];else if(ee instanceof tU)return[null];else return null};class tY extends t_{_parse(ee){let{ctx:en}=this._processInputParams(ee);if(en.parsedType!==e6.object)return td(en,{code:e8.invalid_type,expected:e6.object,received:en.parsedType}),tp;let er=this.discriminator,ei=en.data[er],eo=this.optionsMap.get(ei);return eo?en.common.async?eo._parseAsync({data:en.data,path:en.path,parent:en}):eo._parseSync({data:en.data,path:en.path,parent:en}):(td(en,{code:e8.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[er]}),tp)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(ee,en,er){let ei=new Map;for(let er of en){let en=tQ(er.shape[ee]);if(!en)throw Error(`A discriminator value for key \`${ee}\` could not be extracted from all schema options`);for(let eo of en){if(ei.has(eo))throw Error(`Discriminator property ${String(ee)} has duplicate value ${String(eo)}`);ei.set(eo,er)}}return new tY({typeName:eI.ZodDiscriminatedUnion,discriminator:ee,options:en,optionsMap:ei,...tk(er)})}}function tX(ee,en){let er=e7(ee),ei=e7(en);if(ee===en)return{valid:!0,data:ee};if(er===e6.object&&ei===e6.object){let er=eC.objectKeys(en),ei=eC.objectKeys(ee).filter(ee=>-1!==er.indexOf(ee)),eo={...ee,...en};for(let er of ei){let ei=tX(ee[er],en[er]);if(!ei.valid)return{valid:!1};eo[er]=ei.data}return{valid:!0,data:eo}}if(er===e6.array&&ei===e6.array){if(ee.length!==en.length)return{valid:!1};let er=[];for(let ei=0;ei{if(tx(ee)||tx(ei))return tp;let eo=tX(ee.value,ei.value);return eo.valid?((tg(ee)||tg(ei))&&en.dirty(),{status:en.value,value:eo.data}):(td(er,{code:e8.invalid_intersection_types}),tp)};return er.common.async?Promise.all([this._def.left._parseAsync({data:er.data,path:er.path,parent:er}),this._def.right._parseAsync({data:er.data,path:er.path,parent:er})]).then(([ee,en])=>ei(ee,en)):ei(this._def.left._parseSync({data:er.data,path:er.path,parent:er}),this._def.right._parseSync({data:er.data,path:er.path,parent:er}))}}t0.create=(ee,en,er)=>new t0({left:ee,right:en,typeName:eI.ZodIntersection,...tk(er)});class t1 extends t_{_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.parsedType!==e6.array)return td(er,{code:e8.invalid_type,expected:e6.array,received:er.parsedType}),tp;if(er.data.lengththis._def.items.length&&(td(er,{code:e8.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),en.dirty());let eo=[...er.data].map((ee,en)=>{let ei=this._def.items[en]||this._def.rest;return ei?ei._parse(new tb(er,ee,er.path,en)):null}).filter(ee=>!!ee);return er.common.async?Promise.all(eo).then(ee=>tf.mergeArray(en,ee)):tf.mergeArray(en,eo)}get items(){return this._def.items}rest(ee){return new t1({...this._def,rest:ee})}}t1.create=(ee,en)=>{if(!Array.isArray(ee))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new t1({items:ee,typeName:eI.ZodTuple,rest:null,...tk(en)})};class t2 extends t_{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.parsedType!==e6.object)return td(er,{code:e8.invalid_type,expected:e6.object,received:er.parsedType}),tp;let ei=[],eo=this._def.keyType,es=this._def.valueType;for(let ee in er.data)ei.push({key:eo._parse(new tb(er,ee,er.path,ee)),value:es._parse(new tb(er,er.data[ee],er.path,ee))});return er.common.async?tf.mergeObjectAsync(en,ei):tf.mergeObjectSync(en,ei)}get element(){return this._def.valueType}static create(ee,en,er){return new t2(en instanceof t_?{keyType:ee,valueType:en,typeName:eI.ZodRecord,...tk(er)}:{keyType:tP.create(),valueType:ee,typeName:eI.ZodRecord,...tk(en)})}}class t4 extends t_{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.parsedType!==e6.map)return td(er,{code:e8.invalid_type,expected:e6.map,received:er.parsedType}),tp;let ei=this._def.keyType,eo=this._def.valueType,es=[...er.data.entries()].map(([ee,en],es)=>({key:ei._parse(new tb(er,ee,er.path,[es,"key"])),value:eo._parse(new tb(er,en,er.path,[es,"value"]))}));if(er.common.async){let ee=new Map;return Promise.resolve().then(async()=>{for(let er of es){let ei=await er.key,eo=await er.value;if("aborted"===ei.status||"aborted"===eo.status)return tp;("dirty"===ei.status||"dirty"===eo.status)&&en.dirty(),ee.set(ei.value,eo.value)}return{status:en.value,value:ee}})}{let ee=new Map;for(let er of es){let ei=er.key,eo=er.value;if("aborted"===ei.status||"aborted"===eo.status)return tp;("dirty"===ei.status||"dirty"===eo.status)&&en.dirty(),ee.set(ei.value,eo.value)}return{status:en.value,value:ee}}}}t4.create=(ee,en,er)=>new t4({valueType:en,keyType:ee,typeName:eI.ZodMap,...tk(er)});class t3 extends t_{_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.parsedType!==e6.set)return td(er,{code:e8.invalid_type,expected:e6.set,received:er.parsedType}),tp;let ei=this._def;null!==ei.minSize&&er.data.sizeei.maxSize.value&&(td(er,{code:e8.too_big,maximum:ei.maxSize.value,type:"set",inclusive:!0,exact:!1,message:ei.maxSize.message}),en.dirty());let eo=this._def.valueType;function es(ee){let er=new Set;for(let ei of ee){if("aborted"===ei.status)return tp;"dirty"===ei.status&&en.dirty(),er.add(ei.value)}return{status:en.value,value:er}}let eu=[...er.data.values()].map((ee,en)=>eo._parse(new tb(er,ee,er.path,en)));return er.common.async?Promise.all(eu).then(ee=>es(ee)):es(eu)}min(ee,en){return new t3({...this._def,minSize:{value:ee,message:eN.toString(en)}})}max(ee,en){return new t3({...this._def,maxSize:{value:ee,message:eN.toString(en)}})}size(ee,en){return this.min(ee,en).max(ee,en)}nonempty(ee){return this.min(1,ee)}}t3.create=(ee,en)=>new t3({valueType:ee,minSize:null,maxSize:null,typeName:eI.ZodSet,...tk(en)});class t5 extends t_{constructor(){super(...arguments),this.validate=this.implement}_parse(ee){let{ctx:en}=this._processInputParams(ee);if(en.parsedType!==e6.function)return td(en,{code:e8.invalid_type,expected:e6.function,received:en.parsedType}),tp;function er(ee,er){return tu({data:ee,path:en.path,errorMaps:[en.common.contextualErrorMap,en.schemaErrorMap,tl(),tr].filter(ee=>!!ee),issueData:{code:e8.invalid_arguments,argumentsError:er}})}function ei(ee,er){return tu({data:ee,path:en.path,errorMaps:[en.common.contextualErrorMap,en.schemaErrorMap,tl(),tr].filter(ee=>!!ee),issueData:{code:e8.invalid_return_type,returnTypeError:er}})}let eo={errorMap:en.common.contextualErrorMap},es=en.data;if(this._def.returns instanceof nt){let ee=this;return tm(async function(...en){let eu=new tn([]),ec=await ee._def.args.parseAsync(en,eo).catch(ee=>{throw eu.addIssue(er(en,ee)),eu}),ed=await Reflect.apply(es,this,ec),ef=await ee._def.returns._def.type.parseAsync(ed,eo).catch(ee=>{throw eu.addIssue(ei(ed,ee)),eu});return ef})}{let ee=this;return tm(function(...en){let eu=ee._def.args.safeParse(en,eo);if(!eu.success)throw new tn([er(en,eu.error)]);let ec=Reflect.apply(es,this,eu.data),ed=ee._def.returns.safeParse(ec,eo);if(!ed.success)throw new tn([ei(ec,ed.error)]);return ed.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...ee){return new t5({...this._def,args:t1.create(ee).rest(tH.create())})}returns(ee){return new t5({...this._def,returns:ee})}implement(ee){let en=this.parse(ee);return en}strictImplement(ee){let en=this.parse(ee);return en}static create(ee,en,er){return new t5({args:ee||t1.create([]).rest(tH.create()),returns:en||tH.create(),typeName:eI.ZodFunction,...tk(er)})}}class t6 extends t_{get schema(){return this._def.getter()}_parse(ee){let{ctx:en}=this._processInputParams(ee),er=this._def.getter();return er._parse({data:en.data,path:en.path,parent:en})}}t6.create=(ee,en)=>new t6({getter:ee,typeName:eI.ZodLazy,...tk(en)});class t7 extends t_{_parse(ee){if(ee.data!==this._def.value){let en=this._getOrReturnCtx(ee);return td(en,{received:en.data,code:e8.invalid_literal,expected:this._def.value}),tp}return{status:"valid",value:ee.data}}get value(){return this._def.value}}function t8(ee,en){return new t9({values:ee,typeName:eI.ZodEnum,...tk(en)})}t7.create=(ee,en)=>new t7({value:ee,typeName:eI.ZodLiteral,...tk(en)});class t9 extends t_{_parse(ee){if("string"!=typeof ee.data){let en=this._getOrReturnCtx(ee),er=this._def.values;return td(en,{expected:eC.joinValues(er),received:en.parsedType,code:e8.invalid_type}),tp}if(-1===this._def.values.indexOf(ee.data)){let en=this._getOrReturnCtx(ee),er=this._def.values;return td(en,{received:en.data,code:e8.invalid_enum_value,options:er}),tp}return tm(ee.data)}get options(){return this._def.values}get enum(){let ee={};for(let en of this._def.values)ee[en]=en;return ee}get Values(){let ee={};for(let en of this._def.values)ee[en]=en;return ee}get Enum(){let ee={};for(let en of this._def.values)ee[en]=en;return ee}extract(ee){return t9.create(ee)}exclude(ee){return t9.create(this.options.filter(en=>!ee.includes(en)))}}t9.create=t8;class ne extends t_{_parse(ee){let en=eC.getValidEnumValues(this._def.values),er=this._getOrReturnCtx(ee);if(er.parsedType!==e6.string&&er.parsedType!==e6.number){let ee=eC.objectValues(en);return td(er,{expected:eC.joinValues(ee),received:er.parsedType,code:e8.invalid_type}),tp}if(-1===en.indexOf(ee.data)){let ee=eC.objectValues(en);return td(er,{received:er.data,code:e8.invalid_enum_value,options:ee}),tp}return tm(ee.data)}get enum(){return this._def.values}}ne.create=(ee,en)=>new ne({values:ee,typeName:eI.ZodNativeEnum,...tk(en)});class nt extends t_{unwrap(){return this._def.type}_parse(ee){let{ctx:en}=this._processInputParams(ee);if(en.parsedType!==e6.promise&&!1===en.common.async)return td(en,{code:e8.invalid_type,expected:e6.promise,received:en.parsedType}),tp;let er=en.parsedType===e6.promise?en.data:Promise.resolve(en.data);return tm(er.then(ee=>this._def.type.parseAsync(ee,{path:en.path,errorMap:en.common.contextualErrorMap})))}}nt.create=(ee,en)=>new nt({type:ee,typeName:eI.ZodPromise,...tk(en)});class nn extends t_{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===eI.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee),ei=this._def.effect||null,eo={addIssue:ee=>{td(er,ee),ee.fatal?en.abort():en.dirty()},get path(){return er.path}};if(eo.addIssue=eo.addIssue.bind(eo),"preprocess"===ei.type){let ee=ei.transform(er.data,eo);return er.common.issues.length?{status:"dirty",value:er.data}:er.common.async?Promise.resolve(ee).then(ee=>this._def.schema._parseAsync({data:ee,path:er.path,parent:er})):this._def.schema._parseSync({data:ee,path:er.path,parent:er})}if("refinement"===ei.type){let ee=ee=>{let en=ei.refinement(ee,eo);if(er.common.async)return Promise.resolve(en);if(en instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return ee};if(!1!==er.common.async)return this._def.schema._parseAsync({data:er.data,path:er.path,parent:er}).then(er=>"aborted"===er.status?tp:("dirty"===er.status&&en.dirty(),ee(er.value).then(()=>({status:en.value,value:er.value}))));{let ei=this._def.schema._parseSync({data:er.data,path:er.path,parent:er});return"aborted"===ei.status?tp:("dirty"===ei.status&&en.dirty(),ee(ei.value),{status:en.value,value:ei.value})}}if("transform"===ei.type){if(!1!==er.common.async)return this._def.schema._parseAsync({data:er.data,path:er.path,parent:er}).then(ee=>tv(ee)?Promise.resolve(ei.transform(ee.value,eo)).then(ee=>({status:en.value,value:ee})):ee);{let ee=this._def.schema._parseSync({data:er.data,path:er.path,parent:er});if(!tv(ee))return ee;let es=ei.transform(ee.value,eo);if(es instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:en.value,value:es}}}eC.assertNever(ei)}}nn.create=(ee,en,er)=>new nn({schema:ee,typeName:eI.ZodEffects,effect:en,...tk(er)}),nn.createWithPreprocess=(ee,en,er)=>new nn({schema:en,effect:{type:"preprocess",transform:ee},typeName:eI.ZodEffects,...tk(er)});class nr extends t_{_parse(ee){let en=this._getType(ee);return en===e6.undefined?tm(void 0):this._def.innerType._parse(ee)}unwrap(){return this._def.innerType}}nr.create=(ee,en)=>new nr({innerType:ee,typeName:eI.ZodOptional,...tk(en)});class ni extends t_{_parse(ee){let en=this._getType(ee);return en===e6.null?tm(null):this._def.innerType._parse(ee)}unwrap(){return this._def.innerType}}ni.create=(ee,en)=>new ni({innerType:ee,typeName:eI.ZodNullable,...tk(en)});class no extends t_{_parse(ee){let{ctx:en}=this._processInputParams(ee),er=en.data;return en.parsedType===e6.undefined&&(er=this._def.defaultValue()),this._def.innerType._parse({data:er,path:en.path,parent:en})}removeDefault(){return this._def.innerType}}no.create=(ee,en)=>new no({innerType:ee,typeName:eI.ZodDefault,defaultValue:"function"==typeof en.default?en.default:()=>en.default,...tk(en)});class ns extends t_{_parse(ee){let{ctx:en}=this._processInputParams(ee),er={...en,common:{...en.common,issues:[]}},ei=this._def.innerType._parse({data:er.data,path:er.path,parent:{...er}});return ty(ei)?ei.then(ee=>({status:"valid",value:"valid"===ee.status?ee.value:this._def.catchValue({get error(){return new tn(er.common.issues)},input:er.data})})):{status:"valid",value:"valid"===ei.status?ei.value:this._def.catchValue({get error(){return new tn(er.common.issues)},input:er.data})}}removeCatch(){return this._def.innerType}}ns.create=(ee,en)=>new ns({innerType:ee,typeName:eI.ZodCatch,catchValue:"function"==typeof en.catch?en.catch:()=>en.catch,...tk(en)});class nl extends t_{_parse(ee){let en=this._getType(ee);if(en!==e6.nan){let en=this._getOrReturnCtx(ee);return td(en,{code:e8.invalid_type,expected:e6.nan,received:en.parsedType}),tp}return{status:"valid",value:ee.data}}}nl.create=ee=>new nl({typeName:eI.ZodNaN,...tk(ee)});let nu=Symbol("zod_brand");class nc extends t_{_parse(ee){let{ctx:en}=this._processInputParams(ee),er=en.data;return this._def.type._parse({data:er,path:en.path,parent:en})}unwrap(){return this._def.type}}class nd extends t_{_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.common.async){let ee=async()=>{let ee=await this._def.in._parseAsync({data:er.data,path:er.path,parent:er});return"aborted"===ee.status?tp:"dirty"===ee.status?(en.dirty(),th(ee.value)):this._def.out._parseAsync({data:ee.value,path:er.path,parent:er})};return ee()}{let ee=this._def.in._parseSync({data:er.data,path:er.path,parent:er});return"aborted"===ee.status?tp:"dirty"===ee.status?(en.dirty(),{status:"dirty",value:ee.value}):this._def.out._parseSync({data:ee.value,path:er.path,parent:er})}}static create(ee,en){return new nd({in:ee,out:en,typeName:eI.ZodPipeline})}}class nf extends t_{_parse(ee){let en=this._def.innerType._parse(ee);return tv(en)&&(en.value=Object.freeze(en.value)),en}}nf.create=(ee,en)=>new nf({innerType:ee,typeName:eI.ZodReadonly,...tk(en)});let np=(ee,en={},er)=>ee?tW.create().superRefine((ei,eo)=>{var es,eu;if(!ee(ei)){let ee="function"==typeof en?en(ei):"string"==typeof en?{message:en}:en,ec=null===(eu=null!==(es=ee.fatal)&&void 0!==es?es:er)||void 0===eu||eu,ed="string"==typeof ee?{message:ee}:ee;eo.addIssue({code:"custom",...ed,fatal:ec})}}):tW.create(),nh={object:tK.lazycreate};!function(ee){ee.ZodString="ZodString",ee.ZodNumber="ZodNumber",ee.ZodNaN="ZodNaN",ee.ZodBigInt="ZodBigInt",ee.ZodBoolean="ZodBoolean",ee.ZodDate="ZodDate",ee.ZodSymbol="ZodSymbol",ee.ZodUndefined="ZodUndefined",ee.ZodNull="ZodNull",ee.ZodAny="ZodAny",ee.ZodUnknown="ZodUnknown",ee.ZodNever="ZodNever",ee.ZodVoid="ZodVoid",ee.ZodArray="ZodArray",ee.ZodObject="ZodObject",ee.ZodUnion="ZodUnion",ee.ZodDiscriminatedUnion="ZodDiscriminatedUnion",ee.ZodIntersection="ZodIntersection",ee.ZodTuple="ZodTuple",ee.ZodRecord="ZodRecord",ee.ZodMap="ZodMap",ee.ZodSet="ZodSet",ee.ZodFunction="ZodFunction",ee.ZodLazy="ZodLazy",ee.ZodLiteral="ZodLiteral",ee.ZodEnum="ZodEnum",ee.ZodEffects="ZodEffects",ee.ZodNativeEnum="ZodNativeEnum",ee.ZodOptional="ZodOptional",ee.ZodNullable="ZodNullable",ee.ZodDefault="ZodDefault",ee.ZodCatch="ZodCatch",ee.ZodPromise="ZodPromise",ee.ZodBranded="ZodBranded",ee.ZodPipeline="ZodPipeline",ee.ZodReadonly="ZodReadonly"}(eI||(eI={}));let nm=(ee,en={message:`Input not instance of ${ee.name}`})=>np(en=>en instanceof ee,en),nx=tP.create,ng=tM.create,nv=nl.create,ny=tD.create,nb=tF.create,nw=t$.create,nk=tZ.create,n_=tz.create,nj=tU.create,nE=tW.create,nO=tH.create,nT=tG.create,nC=tB.create,nS=tV.create,nN=tK.create,nI=tK.strictCreate,nR=tJ.create,nL=tY.create,nP=t0.create,nA=t1.create,nM=t2.create,nD=t4.create,nF=t3.create,n$=t5.create,nZ=t6.create,nz=t7.create,nU=t9.create,nW=ne.create,nH=nt.create,nG=nn.create,nB=nr.create,nV=ni.create,nq=nn.createWithPreprocess,nK=nd.create,nJ=()=>nx().optional(),nQ=()=>ng().optional(),nY=()=>nb().optional(),nX={string:ee=>tP.create({...ee,coerce:!0}),number:ee=>tM.create({...ee,coerce:!0}),boolean:ee=>tF.create({...ee,coerce:!0}),bigint:ee=>tD.create({...ee,coerce:!0}),date:ee=>t$.create({...ee,coerce:!0})},n0=tp;var n1=Object.freeze({__proto__:null,defaultErrorMap:tr,setErrorMap:ts,getErrorMap:tl,makeIssue:tu,EMPTY_PATH:tc,addIssueToContext:td,ParseStatus:tf,INVALID:tp,DIRTY:th,OK:tm,isAborted:tx,isDirty:tg,isValid:tv,isAsync:ty,get util(){return eC},get objectUtil(){return eS},ZodParsedType:e6,getParsedType:e7,ZodType:t_,ZodString:tP,ZodNumber:tM,ZodBigInt:tD,ZodBoolean:tF,ZodDate:t$,ZodSymbol:tZ,ZodUndefined:tz,ZodNull:tU,ZodAny:tW,ZodUnknown:tH,ZodNever:tG,ZodVoid:tB,ZodArray:tV,ZodObject:tK,ZodUnion:tJ,ZodDiscriminatedUnion:tY,ZodIntersection:t0,ZodTuple:t1,ZodRecord:t2,ZodMap:t4,ZodSet:t3,ZodFunction:t5,ZodLazy:t6,ZodLiteral:t7,ZodEnum:t9,ZodNativeEnum:ne,ZodPromise:nt,ZodEffects:nn,ZodTransformer:nn,ZodOptional:nr,ZodNullable:ni,ZodDefault:no,ZodCatch:ns,ZodNaN:nl,BRAND:nu,ZodBranded:nc,ZodPipeline:nd,ZodReadonly:nf,custom:np,Schema:t_,ZodSchema:t_,late:nh,get ZodFirstPartyTypeKind(){return eI},coerce:nX,any:nE,array:nS,bigint:ny,boolean:nb,date:nw,discriminatedUnion:nL,effect:nG,enum:nU,function:n$,instanceof:nm,intersection:nP,lazy:nZ,literal:nz,map:nD,nan:nv,nativeEnum:nW,never:nT,null:nj,nullable:nV,number:ng,object:nN,oboolean:nY,onumber:nQ,optional:nB,ostring:nJ,pipeline:nK,preprocess:nq,promise:nH,record:nM,set:nF,strictObject:nI,string:nx,symbol:nk,transformer:nG,tuple:nA,undefined:n_,union:nR,unknown:nO,void:nC,NEVER:n0,ZodIssueCode:e8,quotelessJson:e9,ZodError:tn}),n2=er(9894),n4=er.n(n2),n3={i8:"13.5.3"};er(7827);let n5=["light","dark"],n6="(prefers-color-scheme: dark)",n7="undefined"==typeof window,n8=(0,eA.createContext)(void 0),n9={setTheme:ee=>{},themes:[]},rt=()=>{var ee;return null!==(ee=(0,eA.useContext)(n8))&&void 0!==ee?ee:n9},rn=ee=>(0,eA.useContext)(n8)?eA.createElement(eA.Fragment,null,ee.children):eA.createElement(ri,ee),rr=["light","dark"],ri=({forcedTheme:ee,disableTransitionOnChange:en=!1,enableSystem:er=!0,enableColorScheme:ei=!0,storageKey:eo="theme",themes:es=rr,defaultTheme:eu=er?"system":"light",attribute:ec="data-theme",value:ed,children:ef,nonce:ep})=>{let[eh,em]=(0,eA.useState)(()=>rs(eo,eu)),[ex,eg]=(0,eA.useState)(()=>rs(eo)),ev=ed?Object.values(ed):es,ey=(0,eA.useCallback)(ee=>{let eo=ee;if(!eo)return;"system"===ee&&er&&(eo=ru());let es=ed?ed[eo]:eo,ef=en?rl():null,ep=document.documentElement;if("class"===ec?(ep.classList.remove(...ev),es&&ep.classList.add(es)):es?ep.setAttribute(ec,es):ep.removeAttribute(ec),ei){let ee=n5.includes(eu)?eu:null,en=n5.includes(eo)?eo:ee;ep.style.colorScheme=en}null==ef||ef()},[]),eb=(0,eA.useCallback)(ee=>{em(ee);try{localStorage.setItem(eo,ee)}catch(ee){}},[ee]),ew=(0,eA.useCallback)(en=>{let ei=ru(en);eg(ei),"system"===eh&&er&&!ee&&ey("system")},[eh,ee]);(0,eA.useEffect)(()=>{let ee=window.matchMedia(n6);return ee.addListener(ew),ew(ee),()=>ee.removeListener(ew)},[ew]),(0,eA.useEffect)(()=>{let ee=ee=>{ee.key===eo&&eb(ee.newValue||eu)};return window.addEventListener("storage",ee),()=>window.removeEventListener("storage",ee)},[eb]),(0,eA.useEffect)(()=>{ey(null!=ee?ee:eh)},[ee,eh]);let ek=(0,eA.useMemo)(()=>({theme:eh,setTheme:eb,forcedTheme:ee,resolvedTheme:"system"===eh?ex:eh,themes:er?[...es,"system"]:es,systemTheme:er?ex:void 0}),[eh,eb,ee,ex,er,es]);return eA.createElement(n8.Provider,{value:ek},eA.createElement(ro,{forcedTheme:ee,disableTransitionOnChange:en,enableSystem:er,enableColorScheme:ei,storageKey:eo,themes:es,defaultTheme:eu,attribute:ec,value:ed,children:ef,attrs:ev,nonce:ep}),ef)},ro=(0,eA.memo)(({forcedTheme:ee,storageKey:en,attribute:er,enableSystem:ei,enableColorScheme:eo,defaultTheme:es,value:eu,attrs:ec,nonce:ed})=>{let ef="system"===es,ep="class"===er?`var d=document.documentElement,c=d.classList;c.remove(${ec.map(ee=>`'${ee}'`).join(",")});`:`var d=document.documentElement,n='${er}',s='setAttribute';`,eh=eo?n5.includes(es)&&es?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${es}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",em=(ee,en=!1,ei=!0)=>{let es=eu?eu[ee]:ee,ec=en?ee+"|| ''":`'${es}'`,ed="";return eo&&ei&&!en&&n5.includes(ee)&&(ed+=`d.style.colorScheme = '${ee}';`),"class"===er?ed+=en||es?`c.add(${ec})`:"null":es&&(ed+=`d[s](n,${ec})`),ed},ex=ee?`!function(){${ep}${em(ee)}}()`:ei?`!function(){try{${ep}var e=localStorage.getItem('${en}');if('system'===e||(!e&&${ef})){var t='${n6}',m=window.matchMedia(t);if(m.media!==t||m.matches){${em("dark")}}else{${em("light")}}}else if(e){${eu?`var x=${JSON.stringify(eu)};`:""}${em(eu?"x[e]":"e",!0)}}${ef?"":"else{"+em(es,!1,!1)+"}"}${eh}}catch(e){}}()`:`!function(){try{${ep}var e=localStorage.getItem('${en}');if(e){${eu?`var x=${JSON.stringify(eu)};`:""}${em(eu?"x[e]":"e",!0)}}else{${em(es,!1,!1)};}${eh}}catch(t){}}();`;return eA.createElement("script",{nonce:ed,dangerouslySetInnerHTML:{__html:ex}})},()=>!0),rs=(ee,en)=>{let er;if(!n7){try{er=localStorage.getItem(ee)||void 0}catch(ee){}return er||en}},rl=()=>{let ee=document.createElement("style");return ee.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(ee),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(ee)},1)}},ru=ee=>(ee||(ee=window.matchMedia(n6)),ee.matches?"dark":"light");var rc={breadcrumb:!0,collapsed:!1,footer:!0,layout:"default",navbar:!0,pagination:!0,sidebar:!0,timestamp:!0,toc:!0,typesetting:"default"},rd=n1.strictObject({breadcrumb:n1.boolean(),collapsed:n1.boolean(),footer:n1.boolean(),layout:n1.enum(["default","full","raw"]),navbar:n1.boolean(),pagination:n1.boolean(),sidebar:n1.boolean(),timestamp:n1.boolean(),toc:n1.boolean(),typesetting:n1.enum(["default","article"])}),rf=n1.enum(["normal","hidden","children"]),rp=n1.string(),rh=n1.strictObject({href:n1.string(),newWindow:n1.boolean(),title:rp}),rm=n1.strictObject({display:rf.optional(),items:n1.record(rh.partial({href:!0,newWindow:!0})),title:rp,type:n1.literal("menu")}),rx=n1.strictObject({title:rp,type:n1.literal("separator")}),rg=rh.extend({display:rf,theme:rd,title:rp,type:n1.enum(["page","doc"])}).deepPartial();function rv(ee={},en){"string"==typeof ee&&(ee={title:ee});let er=Object.assign({},en.theme,ee.theme);return Object.assign({},en,ee,{theme:er})}function ry(ee){for(let en of ee){if(en.route)return en.route;if(en.children){let ee=ry(en.children);if(ee)return ee}}}function rb({list:ee,locale:en,defaultLocale:er,route:ei,docsRoot:eo="",underCurrentDocsRoot:es=!1,pageThemeContext:eu=rc}){let ec,ed;for(let er of ee)if("Meta"===er.kind){if(er.locale===en){ec=er.data;break}ec||(ec=er.data)}let ef=ec||{},ep=Object.keys(ef);for(let ee of ep)"string"==typeof ef[ee]&&(ef[ee]={title:ef[ee]});let eh=[],em=[],ex=[],eg=[],ev=[],ey=0,eb=eu,ew=[],ek=-1,e_=ef["*"]||{};delete e_.title,delete e_.href;let ej=ee.filter(ee=>"Meta"!==ee.kind&&!ee.name.startsWith("_")&&(!("locale"in ee)||!ee.locale||[en,er].includes(ee.locale))).sort((ee,en)=>{let er=ep.indexOf(ee.name),ei=ep.indexOf(en.name);return -1===er&&-1===ei?ee.name{let en;let er=[],ei=ep.indexOf(ee.name);if(-1!==ei){for(let ee=ek+1;ee({...ec,type:eE,...eS&&{title:eS},...ek&&{display:ek},...eC&&{children:[]}}),eI=eN(),eR=eN(),eL=eN();if(eR.isUnderCurrentDocsTree=eT,"separator"===eE&&(eI.isUnderCurrentDocsTree=eT),ec.route===ei)switch(ew=[eI],ed=eE,eb={...eb,...eO},eE){case"page":case"menu":ey=ev.length;break;case"doc":ey=eg.length}if(!("hidden"===ek&&"Folder"!==eI.kind||eZ.hV.has(ec.route))){if(eC){if(void 0!==eC.activeIndex&&void 0!==eC.activeType){switch(eb=eC.activeThemeContext,ed=eC.activeType,ew=[eI,...eC.activePath],ed){case"page":case"menu":ey=ev.length+eC.activeIndex;break;case"doc":ey=eg.length+eC.activeIndex}ec.withIndexPage&&"doc"===eE&&ey++}switch(eE){case"page":case"menu":eL.children.push(...eC.directories),ex.push(...eC.docsDirectories),eC.flatDirectories.length?(eL.firstChildRoute=ry(eC.flatDirectories),ev.push(eL)):eL.withIndexPage&&ev.push(eL);break;case"doc":Array.isArray(eR.children)&&eR.children.push(...eC.docsDirectories),eI.withIndexPage&&"children"!==ek&&eg.push(eR)}em.push(...eC.flatDirectories),eg.push(...eC.flatDocsDirectories),Array.isArray(eI.children)&&eI.children.push(...eC.directories)}else switch(em.push(eI),eE){case"page":case"menu":ev.push(eL);break;case"doc":eg.push(eR)}switch("doc"===eE&&"children"===ek?eR.children&&(eh.push(...eR.children),ex.push(...eR.children)):eh.push(eI),eE){case"page":case"menu":ex.push(eL);break;case"doc":"children"!==ek&&ex.push(eR);break;case"separator":ex.push(eI)}}}return{activeType:ed,activeIndex:ey,activeThemeContext:eb,activePath:ew,directories:eh,flatDirectories:em,docsDirectories:ex,flatDocsDirectories:eg,topLevelNavbarItems:ev}}n1.string().or(rm).or(rx).or(rg);var rw=er(6314),rk=er.n(rw);function r_(ee){if(null==ee)return window;if("[object Window]"!==ee.toString()){var en=ee.ownerDocument;return en&&en.defaultView||window}return ee}function rj(ee){var en=r_(ee).Element;return ee instanceof en||ee instanceof Element}function rE(ee){var en=r_(ee).HTMLElement;return ee instanceof en||ee instanceof HTMLElement}function rO(ee){if("undefined"==typeof ShadowRoot)return!1;var en=r_(ee).ShadowRoot;return ee instanceof en||ee instanceof ShadowRoot}var rT=Math.max,rC=Math.min,rS=Math.round;function rN(){var ee=navigator.userAgentData;return null!=ee&&ee.brands&&Array.isArray(ee.brands)?ee.brands.map(function(ee){return ee.brand+"/"+ee.version}).join(" "):navigator.userAgent}function rI(){return!/^((?!chrome|android).)*safari/i.test(rN())}function rR(ee,en,er){void 0===en&&(en=!1),void 0===er&&(er=!1);var ei=ee.getBoundingClientRect(),eo=1,es=1;en&&rE(ee)&&(eo=ee.offsetWidth>0&&rS(ei.width)/ee.offsetWidth||1,es=ee.offsetHeight>0&&rS(ei.height)/ee.offsetHeight||1);var eu=(rj(ee)?r_(ee):window).visualViewport,ec=!rI()&&er,ed=(ei.left+(ec&&eu?eu.offsetLeft:0))/eo,ef=(ei.top+(ec&&eu?eu.offsetTop:0))/es,ep=ei.width/eo,eh=ei.height/es;return{width:ep,height:eh,top:ef,right:ed+ep,bottom:ef+eh,left:ed,x:ed,y:ef}}function rL(ee){var en=r_(ee);return{scrollLeft:en.pageXOffset,scrollTop:en.pageYOffset}}function rP(ee){return{scrollLeft:ee.scrollLeft,scrollTop:ee.scrollTop}}function rA(ee){return ee!==r_(ee)&&rE(ee)?rP(ee):rL(ee)}function rM(ee){return ee?(ee.nodeName||"").toLowerCase():null}function rD(ee){return((rj(ee)?ee.ownerDocument:ee.document)||window.document).documentElement}function rF(ee){return rR(rD(ee)).left+rL(ee).scrollLeft}function r$(ee){return r_(ee).getComputedStyle(ee)}function rZ(ee){var en=r$(ee),er=en.overflow,ei=en.overflowX,eo=en.overflowY;return/auto|scroll|overlay|hidden/.test(er+eo+ei)}function rz(ee){var en=ee.getBoundingClientRect(),er=rS(en.width)/ee.offsetWidth||1,ei=rS(en.height)/ee.offsetHeight||1;return 1!==er||1!==ei}function rU(ee,en,er){void 0===er&&(er=!1);var ei=rE(en),eo=rE(en)&&rz(en),es=rD(en),eu=rR(ee,eo,er),ec={scrollLeft:0,scrollTop:0},ed={x:0,y:0};return(ei||!ei&&!er)&&(("body"!==rM(en)||rZ(es))&&(ec=rA(en)),rE(en)?(ed=rR(en,!0),ed.x+=en.clientLeft,ed.y+=en.clientTop):es&&(ed.x=rF(es))),{x:eu.left+ec.scrollLeft-ed.x,y:eu.top+ec.scrollTop-ed.y,width:eu.width,height:eu.height}}function rW(ee){var en=rR(ee),er=ee.offsetWidth,ei=ee.offsetHeight;return 1>=Math.abs(en.width-er)&&(er=en.width),1>=Math.abs(en.height-ei)&&(ei=en.height),{x:ee.offsetLeft,y:ee.offsetTop,width:er,height:ei}}function rH(ee){return"html"===rM(ee)?ee:ee.assignedSlot||ee.parentNode||(rO(ee)?ee.host:null)||rD(ee)}function rG(ee){return["html","body","#document"].indexOf(rM(ee))>=0?ee.ownerDocument.body:rE(ee)&&rZ(ee)?ee:rG(rH(ee))}function rB(ee,en){void 0===en&&(en=[]);var er,ei=rG(ee),eo=ei===(null==(er=ee.ownerDocument)?void 0:er.body),es=r_(ei),eu=eo?[es].concat(es.visualViewport||[],rZ(ei)?ei:[]):ei,ec=en.concat(eu);return eo?ec:ec.concat(rB(rH(eu)))}function rV(ee){return["table","td","th"].indexOf(rM(ee))>=0}function rq(ee){return rE(ee)&&"fixed"!==r$(ee).position?ee.offsetParent:null}function rK(ee){var en=/firefox/i.test(rN());if(/Trident/i.test(rN())&&rE(ee)&&"fixed"===r$(ee).position)return null;var er=rH(ee);for(rO(er)&&(er=er.host);rE(er)&&0>["html","body"].indexOf(rM(er));){var ei=r$(er);if("none"!==ei.transform||"none"!==ei.perspective||"paint"===ei.contain||-1!==["transform","perspective"].indexOf(ei.willChange)||en&&"filter"===ei.willChange||en&&ei.filter&&"none"!==ei.filter)return er;er=er.parentNode}return null}function rJ(ee){for(var en=r_(ee),er=rq(ee);er&&rV(er)&&"static"===r$(er).position;)er=rq(er);return er&&("html"===rM(er)||"body"===rM(er)&&"static"===r$(er).position)?en:er||rK(ee)||en}var rQ="top",rY="bottom",rX="right",r0="left",r1="auto",r2=[rQ,rY,rX,r0],r4="start",r3="end",r5="clippingParents",r6="viewport",r7="popper",r8="reference",r9=r2.reduce(function(ee,en){return ee.concat([en+"-"+r4,en+"-"+r3])},[]),it=[].concat(r2,[r1]).reduce(function(ee,en){return ee.concat([en,en+"-"+r4,en+"-"+r3])},[]),ir=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ii(ee){var en=new Map,er=new Set,ei=[];function eo(ee){er.add(ee.name),[].concat(ee.requires||[],ee.requiresIfExists||[]).forEach(function(ee){if(!er.has(ee)){var ei=en.get(ee);ei&&eo(ei)}}),ei.push(ee)}return ee.forEach(function(ee){en.set(ee.name,ee)}),ee.forEach(function(ee){er.has(ee.name)||eo(ee)}),ei}function io(ee){var en=ii(ee);return ir.reduce(function(ee,er){return ee.concat(en.filter(function(ee){return ee.phase===er}))},[])}function is(ee){var en;return function(){return en||(en=new Promise(function(er){Promise.resolve().then(function(){en=void 0,er(ee())})})),en}}function il(ee){var en=ee.reduce(function(ee,en){var er=ee[en.name];return ee[en.name]=er?Object.assign({},er,en,{options:Object.assign({},er.options,en.options),data:Object.assign({},er.data,en.data)}):en,ee},{});return Object.keys(en).map(function(ee){return en[ee]})}var iu={placement:"bottom",modifiers:[],strategy:"absolute"};function ic(){for(var ee=arguments.length,en=Array(ee),er=0;er=0?"x":"y"}function iv(ee){var en,er=ee.reference,ei=ee.element,eo=ee.placement,es=eo?im(eo):null,eu=eo?ix(eo):null,ec=er.x+er.width/2-ei.width/2,ed=er.y+er.height/2-ei.height/2;switch(es){case rQ:en={x:ec,y:er.y-ei.height};break;case rY:en={x:ec,y:er.y+er.height};break;case rX:en={x:er.x+er.width,y:ed};break;case r0:en={x:er.x-ei.width,y:ed};break;default:en={x:er.x,y:er.y}}var ef=es?ig(es):null;if(null!=ef){var ep="y"===ef?"height":"width";switch(eu){case r4:en[ef]=en[ef]-(er[ep]/2-ei[ep]/2);break;case r3:en[ef]=en[ef]+(er[ep]/2-ei[ep]/2)}}return en}var iy={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ib(ee,en){var er=ee.x,ei=ee.y,eo=en.devicePixelRatio||1;return{x:rS(er*eo)/eo||0,y:rS(ei*eo)/eo||0}}function iw(ee){var en,er,ei=ee.popper,eo=ee.popperRect,es=ee.placement,eu=ee.variation,ec=ee.offsets,ed=ee.position,ef=ee.gpuAcceleration,ep=ee.adaptive,eh=ee.roundOffsets,em=ee.isFixed,ex=ec.x,eg=void 0===ex?0:ex,ev=ec.y,ey=void 0===ev?0:ev,eb="function"==typeof eh?eh({x:eg,y:ey}):{x:eg,y:ey};eg=eb.x,ey=eb.y;var ew=ec.hasOwnProperty("x"),ek=ec.hasOwnProperty("y"),e_=r0,ej=rQ,eE=window;if(ep){var eO=rJ(ei),eT="clientHeight",eC="clientWidth";eO===r_(ei)&&"static"!==r$(eO=rD(ei)).position&&"absolute"===ed&&(eT="scrollHeight",eC="scrollWidth"),(es===rQ||(es===r0||es===rX)&&eu===r3)&&(ej=rY,ey-=(em&&eO===eE&&eE.visualViewport?eE.visualViewport.height:eO[eT])-eo.height,ey*=ef?1:-1),(es===r0||(es===rQ||es===rY)&&eu===r3)&&(e_=rX,eg-=(em&&eO===eE&&eE.visualViewport?eE.visualViewport.width:eO[eC])-eo.width,eg*=ef?1:-1)}var eS=Object.assign({position:ed},ep&&iy),eN=!0===eh?ib({x:eg,y:ey},r_(ei)):{x:eg,y:ey};return(eg=eN.x,ey=eN.y,ef)?Object.assign({},eS,((er={})[ej]=ek?"0":"",er[e_]=ew?"0":"",er.transform=1>=(eE.devicePixelRatio||1)?"translate("+eg+"px, "+ey+"px)":"translate3d("+eg+"px, "+ey+"px, 0)",er)):Object.assign({},eS,((en={})[ej]=ek?ey+"px":"",en[e_]=ew?eg+"px":"",en.transform="",en))}function ik(ee,en,er){var ei=im(ee),eo=[r0,rQ].indexOf(ei)>=0?-1:1,es="function"==typeof er?er(Object.assign({},en,{placement:ee})):er,eu=es[0],ec=es[1];return eu=eu||0,ec=(ec||0)*eo,[r0,rX].indexOf(ei)>=0?{x:ec,y:eu}:{x:eu,y:ec}}var i_={left:"right",right:"left",bottom:"top",top:"bottom"};function ij(ee){return ee.replace(/left|right|bottom|top/g,function(ee){return i_[ee]})}var iE={start:"end",end:"start"};function iO(ee){return ee.replace(/start|end/g,function(ee){return iE[ee]})}function iT(ee,en){var er=r_(ee),ei=rD(ee),eo=er.visualViewport,es=ei.clientWidth,eu=ei.clientHeight,ec=0,ed=0;if(eo){es=eo.width,eu=eo.height;var ef=rI();(ef||!ef&&"fixed"===en)&&(ec=eo.offsetLeft,ed=eo.offsetTop)}return{width:es,height:eu,x:ec+rF(ee),y:ed}}function iC(ee){var en,er=rD(ee),ei=rL(ee),eo=null==(en=ee.ownerDocument)?void 0:en.body,es=rT(er.scrollWidth,er.clientWidth,eo?eo.scrollWidth:0,eo?eo.clientWidth:0),eu=rT(er.scrollHeight,er.clientHeight,eo?eo.scrollHeight:0,eo?eo.clientHeight:0),ec=-ei.scrollLeft+rF(ee),ed=-ei.scrollTop;return"rtl"===r$(eo||er).direction&&(ec+=rT(er.clientWidth,eo?eo.clientWidth:0)-es),{width:es,height:eu,x:ec,y:ed}}function iS(ee,en){var er=en.getRootNode&&en.getRootNode();if(ee.contains(en))return!0;if(er&&rO(er)){var ei=en;do{if(ei&&ee.isSameNode(ei))return!0;ei=ei.parentNode||ei.host}while(ei)}return!1}function iN(ee){return Object.assign({},ee,{left:ee.x,top:ee.y,right:ee.x+ee.width,bottom:ee.y+ee.height})}function iI(ee,en){var er=rR(ee,!1,"fixed"===en);return er.top=er.top+ee.clientTop,er.left=er.left+ee.clientLeft,er.bottom=er.top+ee.clientHeight,er.right=er.left+ee.clientWidth,er.width=ee.clientWidth,er.height=ee.clientHeight,er.x=er.left,er.y=er.top,er}function iR(ee,en,er){return en===r6?iN(iT(ee,er)):rj(en)?iI(en,er):iN(iC(rD(ee)))}function iL(ee){var en=rB(rH(ee)),er=["absolute","fixed"].indexOf(r$(ee).position)>=0&&rE(ee)?rJ(ee):ee;return rj(er)?en.filter(function(ee){return rj(ee)&&iS(ee,er)&&"body"!==rM(ee)}):[]}function iP(ee,en,er,ei){var eo=[].concat("clippingParents"===en?iL(ee):[].concat(en),[er]),es=eo[0],eu=eo.reduce(function(en,er){var eo=iR(ee,er,ei);return en.top=rT(eo.top,en.top),en.right=rC(eo.right,en.right),en.bottom=rC(eo.bottom,en.bottom),en.left=rT(eo.left,en.left),en},iR(ee,es,ei));return eu.width=eu.right-eu.left,eu.height=eu.bottom-eu.top,eu.x=eu.left,eu.y=eu.top,eu}function iA(){return{top:0,right:0,bottom:0,left:0}}function iM(ee){return Object.assign({},iA(),ee)}function iD(ee,en){return en.reduce(function(en,er){return en[er]=ee,en},{})}function iF(ee,en){void 0===en&&(en={});var er=en,ei=er.placement,eo=void 0===ei?ee.placement:ei,es=er.strategy,eu=void 0===es?ee.strategy:es,ec=er.boundary,ed=void 0===ec?r5:ec,ef=er.rootBoundary,ep=void 0===ef?r6:ef,eh=er.elementContext,em=void 0===eh?r7:eh,ex=er.altBoundary,eg=void 0!==ex&&ex,ev=er.padding,ey=void 0===ev?0:ev,eb=iM("number"!=typeof ey?ey:iD(ey,r2)),ew=em===r7?r8:r7,ek=ee.rects.popper,e_=ee.elements[eg?ew:em],ej=iP(rj(e_)?e_:e_.contextElement||rD(ee.elements.popper),ed,ep,eu),eE=rR(ee.elements.reference),eO=iv({reference:eE,element:ek,strategy:"absolute",placement:eo}),eT=iN(Object.assign({},ek,eO)),eC=em===r7?eT:eE,eS={top:ej.top-eC.top+eb.top,bottom:eC.bottom-ej.bottom+eb.bottom,left:ej.left-eC.left+eb.left,right:eC.right-ej.right+eb.right},eN=ee.modifiersData.offset;if(em===r7&&eN){var eI=eN[eo];Object.keys(eS).forEach(function(ee){var en=[rX,rY].indexOf(ee)>=0?1:-1,er=[rQ,rY].indexOf(ee)>=0?"y":"x";eS[ee]+=eI[er]*en})}return eS}function i$(ee,en){void 0===en&&(en={});var er=en,ei=er.placement,eo=er.boundary,es=er.rootBoundary,eu=er.padding,ec=er.flipVariations,ed=er.allowedAutoPlacements,ef=void 0===ed?it:ed,ep=ix(ei),eh=ep?ec?r9:r9.filter(function(ee){return ix(ee)===ep}):r2,em=eh.filter(function(ee){return ef.indexOf(ee)>=0});0===em.length&&(em=eh);var ex=em.reduce(function(en,er){return en[er]=iF(ee,{placement:er,boundary:eo,rootBoundary:es,padding:eu})[im(er)],en},{});return Object.keys(ex).sort(function(ee,en){return ex[ee]-ex[en]})}function iZ(ee){if(im(ee)===r1)return[];var en=ij(ee);return[iO(ee),en,iO(en)]}function iz(ee){return"x"===ee?"y":"x"}function iU(ee,en,er){return rT(ee,rC(en,er))}function iW(ee,en,er){var ei=iU(ee,en,er);return ei>er?er:ei}var iH=function(ee,en){return iM("number"!=typeof(ee="function"==typeof ee?ee(Object.assign({},en.rects,{placement:en.placement})):ee)?ee:iD(ee,r2))};function iG(ee,en,er){return void 0===er&&(er={x:0,y:0}),{top:ee.top-en.height-er.y,right:ee.right-en.width+er.x,bottom:ee.bottom-en.height+er.y,left:ee.left-en.width-er.x}}function iB(ee){return[rQ,rX,rY,r0].some(function(en){return ee[en]>=0})}var iV=function(ee){void 0===ee&&(ee={});var en=ee,er=en.defaultModifiers,ei=void 0===er?[]:er,eo=en.defaultOptions,es=void 0===eo?iu:eo;return function(ee,en,er){void 0===er&&(er=es);var eo={placement:"bottom",orderedModifiers:[],options:Object.assign({},iu,es),modifiersData:{},elements:{reference:ee,popper:en},attributes:{},styles:{}},eu=[],ec=!1,ed={state:eo,setOptions:function(er){var eu="function"==typeof er?er(eo.options):er;ep(),eo.options=Object.assign({},es,eo.options,eu),eo.scrollParents={reference:rj(ee)?rB(ee):ee.contextElement?rB(ee.contextElement):[],popper:rB(en)};var ec=io(il([].concat(ei,eo.options.modifiers)));return eo.orderedModifiers=ec.filter(function(ee){return ee.enabled}),ef(),ed.update()},forceUpdate:function(){if(!ec){var ee=eo.elements,en=ee.reference,er=ee.popper;if(ic(en,er)){eo.rects={reference:rU(en,rJ(er),"fixed"===eo.options.strategy),popper:rW(er)},eo.reset=!1,eo.placement=eo.options.placement,eo.orderedModifiers.forEach(function(ee){return eo.modifiersData[ee.name]=Object.assign({},ee.data)});for(var ei=0;ei=0,eL=eR?"width":"height",eP=iF(en,{placement:eS,boundary:ep,rootBoundary:eh,altBoundary:em,padding:ef}),eA=eR?eI?rX:r0:eI?rY:rQ;e_[eL]>ej[eL]&&(eA=ij(eA));var eM=ij(eA),eD=[];if(es&&eD.push(eP[eN]<=0),ec&&eD.push(eP[eA]<=0,eP[eM]<=0),eD.every(function(ee){return ee})){eT=eS,eO=!1;break}eE.set(eS,eD)}if(eO)for(var eF=eg?3:1,e$=function(ee){var en=ek.find(function(en){var er=eE.get(en);if(er)return er.slice(0,ee).every(function(ee){return ee})});if(en)return eT=en,"break"},eZ=eF;eZ>0&&"break"!==e$(eZ);eZ--);en.placement!==eT&&(en.modifiersData[ei]._skip=!0,en.placement=eT,en.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(ee){var en=ee.state,er=ee.options,ei=ee.name,eo=er.mainAxis,es=void 0===eo||eo,eu=er.altAxis,ec=void 0!==eu&&eu,ed=er.boundary,ef=er.rootBoundary,ep=er.altBoundary,eh=er.padding,em=er.tether,ex=void 0===em||em,eg=er.tetherOffset,ev=void 0===eg?0:eg,ey=iF(en,{boundary:ed,rootBoundary:ef,padding:eh,altBoundary:ep}),eb=im(en.placement),ew=ix(en.placement),ek=!ew,e_=ig(eb),ej=iz(e_),eE=en.modifiersData.popperOffsets,eO=en.rects.reference,eT=en.rects.popper,eC="function"==typeof ev?ev(Object.assign({},en.rects,{placement:en.placement})):ev,eS="number"==typeof eC?{mainAxis:eC,altAxis:eC}:Object.assign({mainAxis:0,altAxis:0},eC),eN=en.modifiersData.offset?en.modifiersData.offset[en.placement]:null,eI={x:0,y:0};if(eE){if(es){var eR,eL="y"===e_?rQ:r0,eP="y"===e_?rY:rX,eA="y"===e_?"height":"width",eM=eE[e_],eD=eM+ey[eL],eF=eM-ey[eP],e$=ex?-eT[eA]/2:0,eZ=ew===r4?eO[eA]:eT[eA],ez=ew===r4?-eT[eA]:-eO[eA],eU=en.elements.arrow,eW=ex&&eU?rW(eU):{width:0,height:0},eH=en.modifiersData["arrow#persistent"]?en.modifiersData["arrow#persistent"].padding:iA(),eG=eH[eL],eB=eH[eP],eV=iU(0,eO[eA],eW[eA]),eK=ek?eO[eA]/2-e$-eV-eG-eS.mainAxis:eZ-eV-eG-eS.mainAxis,eJ=ek?-eO[eA]/2+e$+eV+eB+eS.mainAxis:ez+eV+eB+eS.mainAxis,eQ=en.elements.arrow&&rJ(en.elements.arrow),eY=eQ?"y"===e_?eQ.clientTop||0:eQ.clientLeft||0:0,eX=null!=(eR=null==eN?void 0:eN[e_])?eR:0,e0=eM+eK-eX-eY,e1=eM+eJ-eX,e2=iU(ex?rC(eD,e0):eD,eM,ex?rT(eF,e1):eF);eE[e_]=e2,eI[e_]=e2-eM}if(ec){var e4,e3="x"===e_?rQ:r0,e5="x"===e_?rY:rX,e6=eE[ej],e7="y"===ej?"height":"width",e8=e6+ey[e3],e9=e6-ey[e5],tn=-1!==[rQ,r0].indexOf(eb),tr=null!=(e4=null==eN?void 0:eN[ej])?e4:0,ti=tn?e8:e6-eO[e7]-eT[e7]-tr+eS.altAxis,ts=tn?e6+eO[e7]+eT[e7]-tr-eS.altAxis:e9,tl=ex&&tn?iW(ti,e6,ts):iU(ex?ti:e8,e6,ex?ts:e9);eE[ej]=tl,eI[ej]=tl-e6}en.modifiersData[ei]=eI}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(ee){var en,er=ee.state,ei=ee.name,eo=ee.options,es=er.elements.arrow,eu=er.modifiersData.popperOffsets,ec=im(er.placement),ed=ig(ec),ef=[r0,rX].indexOf(ec)>=0?"height":"width";if(es&&eu){var ep=iH(eo.padding,er),eh=rW(es),em="y"===ed?rQ:r0,ex="y"===ed?rY:rX,eg=er.rects.reference[ef]+er.rects.reference[ed]-eu[ed]-er.rects.popper[ef],ev=eu[ed]-er.rects.reference[ed],ey=rJ(es),eb=ey?"y"===ed?ey.clientHeight||0:ey.clientWidth||0:0,ew=eg/2-ev/2,ek=ep[em],e_=eb-eh[ef]-ep[ex],ej=eb/2-eh[ef]/2+ew,eE=iU(ek,ej,e_),eO=ed;er.modifiersData[ei]=((en={})[eO]=eE,en.centerOffset=eE-ej,en)}},effect:function(ee){var en=ee.state,er=ee.options.element,ei=void 0===er?"[data-popper-arrow]":er;null!=ei&&("string"!=typeof ei||(ei=en.elements.popper.querySelector(ei)))&&iS(en.elements.popper,ei)&&(en.elements.arrow=ei)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(ee){var en=ee.state,er=ee.name,ei=en.rects.reference,eo=en.rects.popper,es=en.modifiersData.preventOverflow,eu=iF(en,{elementContext:"reference"}),ec=iF(en,{altBoundary:!0}),ed=iG(eu,ei),ef=iG(ec,eo,es),ep=iB(ed),eh=iB(ef);en.modifiersData[er]={referenceClippingOffsets:ed,popperEscapeOffsets:ef,isReferenceHidden:ep,hasPopperEscaped:eh},en.attributes.popper=Object.assign({},en.attributes.popper,{"data-popper-reference-hidden":ep,"data-popper-escaped":eh})}}]}),iq=er(9881),iK=er.n(iq);function iJ(ee){if("string"!=typeof ee)throw TypeError("Expected a string");return ee.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function iQ(...ee){return Array.from(new Set(ee.flatMap(ee=>"string"==typeof ee?ee.split(" "):[]))).filter(Boolean).join(" ")}function iY(ee,en,...er){if(ee in en){let ei=en[ee];return"function"==typeof ei?ei(...er):ei}let ei=Error(`Tried to handle "${ee}" but there is no handler defined. Only defined handlers are: ${Object.keys(en).map(ee=>`"${ee}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(ei,iY),ei}var iX=((ei=iX||{})[ei.None=0]="None",ei[ei.RenderStrategy=1]="RenderStrategy",ei[ei.Static=2]="Static",ei),i0=((eo=i0||{})[eo.Unmount=0]="Unmount",eo[eo.Hidden=1]="Hidden",eo);function i1({ourProps:ee,theirProps:en,slot:er,defaultTag:ei,features:eo,visible:es=!0,name:eu}){let ec=i3(en,ee);if(es)return i2(ec,er,ei,eu);let ed=null!=eo?eo:0;if(2&ed){let{static:ee=!1,...en}=ec;if(ee)return i2(en,er,ei,eu)}if(1&ed){let{unmount:ee=!0,...en}=ec;return iY(ee?0:1,{0:()=>null,1:()=>i2({...en,hidden:!0,style:{display:"none"}},er,ei,eu)})}return i2(ec,er,ei,eu)}function i2(ee,en={},er,ei){let{as:eo=er,children:es,refName:eu="ref",...ec}=i7(ee,["unmount","static"]),ed=void 0!==ee.ref?{[eu]:ee.ref}:{},ef="function"==typeof es?es(en):es;"className"in ec&&ec.className&&"function"==typeof ec.className&&(ec.className=ec.className(en));let ep={};if(en){let ee=!1,er=[];for(let[ei,eo]of Object.entries(en))"boolean"==typeof eo&&(ee=!0),!0===eo&&er.push(ei);ee&&(ep["data-headlessui-state"]=er.join(" "))}if(eo===eA.Fragment&&Object.keys(i6(ec)).length>0){if(!(0,eA.isValidElement)(ef)||Array.isArray(ef)&&ef.length>1)throw Error(['Passing props on "Fragment"!',"",`The current component <${ei} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(ec).map(ee=>` - ${ee}`).join(` +`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(ee=>` - ${ee}`).join(` +`)].join(` +`));let ee=ef.props,en="function"==typeof(null==ee?void 0:ee.className)?(...en)=>iQ(null==ee?void 0:ee.className(...en),ec.className):iQ(null==ee?void 0:ee.className,ec.className),er=en?{className:en}:{};return(0,eA.cloneElement)(ef,Object.assign({},i3(ef.props,i6(i7(ec,["ref"]))),ep,ed,i4(ef.ref,ed.ref),er))}return(0,eA.createElement)(eo,Object.assign({},i7(ec,["ref"]),eo!==eA.Fragment&&ed,eo!==eA.Fragment&&ep),ef)}function i4(...ee){return{ref:ee.every(ee=>null==ee)?void 0:en=>{for(let er of ee)null!=er&&("function"==typeof er?er(en):er.current=en)}}}function i3(...ee){var en;if(0===ee.length)return{};if(1===ee.length)return ee[0];let er={},ei={};for(let eo of ee)for(let ee in eo)ee.startsWith("on")&&"function"==typeof eo[ee]?(null!=(en=ei[ee])||(ei[ee]=[]),ei[ee].push(eo[ee])):er[ee]=eo[ee];if(er.disabled||er["aria-disabled"])return Object.assign(er,Object.fromEntries(Object.keys(ei).map(ee=>[ee,void 0])));for(let ee in ei)Object.assign(er,{[ee](en,...er){for(let eo of ei[ee]){if((en instanceof Event||(null==en?void 0:en.nativeEvent)instanceof Event)&&en.defaultPrevented)return;eo(en,...er)}}});return er}function i5(ee){var en;return Object.assign((0,eA.forwardRef)(ee),{displayName:null!=(en=ee.displayName)?en:ee.name})}function i6(ee){let en=Object.assign({},ee);for(let ee in en)void 0===en[ee]&&delete en[ee];return en}function i7(ee,en=[]){let er=Object.assign({},ee);for(let ee of en)ee in er&&delete er[ee];return er}let i8=(0,eA.createContext)(null);i8.displayName="OpenClosedContext";var i9=((es=i9||{})[es.Open=1]="Open",es[es.Closed=2]="Closed",es[es.Closing=4]="Closing",es[es.Opening=8]="Opening",es);function at(){return(0,eA.useContext)(i8)}function an({value:ee,children:en}){return eA.createElement(i8.Provider,{value:ee},en)}var ai=Object.defineProperty,ao=(ee,en,er)=>en in ee?ai(ee,en,{enumerable:!0,configurable:!0,writable:!0,value:er}):ee[en]=er,al=(ee,en,er)=>(ao(ee,"symbol"!=typeof en?en+"":en,er),er);class au{constructor(){al(this,"current",this.detect()),al(this,"handoffState","pending"),al(this,"currentId",0)}set(ee){this.current!==ee&&(this.handoffState="pending",this.currentId=0,this.current=ee)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}let ac=new au,ad=(ee,en)=>{ac.isServer?(0,eA.useEffect)(ee,en):(0,eA.useLayoutEffect)(ee,en)};function af(){let ee=(0,eA.useRef)(!1);return ad(()=>(ee.current=!0,()=>{ee.current=!1}),[]),ee}function ap(ee){let en=(0,eA.useRef)(ee);return ad(()=>{en.current=ee},[ee]),en}function ah(){let ee="undefined"==typeof document;return(0,eM.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!ee)}function am(){let ee=ah(),[en,er]=eA.useState(ac.isHandoffComplete);return en&&!1===ac.isHandoffComplete&&er(!1),eA.useEffect(()=>{!0!==en&&er(!0)},[en]),eA.useEffect(()=>ac.handoff(),[]),!ee&&en}let ax=function(ee){let en=ap(ee);return eA.useCallback((...ee)=>en.current(...ee),[en])},ag=Symbol();function av(...ee){let en=(0,eA.useRef)(ee);(0,eA.useEffect)(()=>{en.current=ee},[ee]);let er=ax(ee=>{for(let er of en.current)null!=er&&("function"==typeof er?er(ee):er.current=ee)});return ee.every(ee=>null==ee||(null==ee?void 0:ee[ag]))?void 0:er}function ay(ee){let en={called:!1};return(...er)=>{if(!en.called)return en.called=!0,ee(...er)}}function ab(ee){"function"==typeof queueMicrotask?queueMicrotask(ee):Promise.resolve().then(ee).catch(ee=>setTimeout(()=>{throw ee}))}function aw(){let ee=[],en={addEventListener:(ee,er,ei,eo)=>(ee.addEventListener(er,ei,eo),en.add(()=>ee.removeEventListener(er,ei,eo))),requestAnimationFrame(...ee){let er=requestAnimationFrame(...ee);return en.add(()=>cancelAnimationFrame(er))},nextFrame:(...ee)=>en.requestAnimationFrame(()=>en.requestAnimationFrame(...ee)),setTimeout(...ee){let er=setTimeout(...ee);return en.add(()=>clearTimeout(er))},microTask(...ee){let er={current:!0};return ab(()=>{er.current&&ee[0]()}),en.add(()=>{er.current=!1})},style(ee,en,er){let ei=ee.style.getPropertyValue(en);return Object.assign(ee.style,{[en]:er}),this.add(()=>{Object.assign(ee.style,{[en]:ei})})},group(ee){let en=aw();return ee(en),this.add(()=>en.dispose())},add:en=>(ee.push(en),()=>{let er=ee.indexOf(en);if(er>=0)for(let en of ee.splice(er,1))en()}),dispose(){for(let en of ee.splice(0))en()}};return en}function ak(ee,...en){ee&&en.length>0&&ee.classList.add(...en)}function a_(ee,...en){ee&&en.length>0&&ee.classList.remove(...en)}function aj(ee,en){let er=aw();if(!ee)return er.dispose;let{transitionDuration:ei,transitionDelay:eo}=getComputedStyle(ee),[es,eu]=[ei,eo].map(ee=>{let[en=0]=ee.split(",").filter(Boolean).map(ee=>ee.includes("ms")?parseFloat(ee):1e3*parseFloat(ee)).sort((ee,en)=>en-ee);return en}),ec=es+eu;if(0!==ec){er.group(er=>{er.setTimeout(()=>{en(),er.dispose()},ec),er.addEventListener(ee,"transitionrun",ee=>{ee.target===ee.currentTarget&&er.dispose()})});let ei=er.addEventListener(ee,"transitionend",ee=>{ee.target===ee.currentTarget&&(en(),ei())})}else en();return er.add(()=>en()),er.dispose}function aE(ee,en,er,ei){let eo=er?"enter":"leave",es=aw(),eu=void 0!==ei?ay(ei):()=>{};"enter"===eo&&(ee.removeAttribute("hidden"),ee.style.display="");let ec=iY(eo,{enter:()=>en.enter,leave:()=>en.leave}),ed=iY(eo,{enter:()=>en.enterTo,leave:()=>en.leaveTo}),ef=iY(eo,{enter:()=>en.enterFrom,leave:()=>en.leaveFrom});return a_(ee,...en.base,...en.enter,...en.enterTo,...en.enterFrom,...en.leave,...en.leaveFrom,...en.leaveTo,...en.entered),ak(ee,...en.base,...ec,...ef),es.nextFrame(()=>{a_(ee,...en.base,...ec,...ef),ak(ee,...en.base,...ec,...ed),aj(ee,()=>(a_(ee,...en.base,...ec),ak(ee,...en.base,...en.entered),eu()))}),es.dispose}function aO(){let[ee]=(0,eA.useState)(aw);return(0,eA.useEffect)(()=>()=>ee.dispose(),[ee]),ee}function aT({immediate:ee,container:en,direction:er,classes:ei,onStart:eo,onStop:es}){let eu=af(),ec=aO(),ed=ap(er);ad(()=>{ee&&(ed.current="enter")},[ee]),ad(()=>{let ee=aw();ec.add(ee.dispose);let er=en.current;if(er&&"idle"!==ed.current&&eu.current)return ee.dispose(),eo.current(ed.current),ee.add(aE(er,ei.current,"enter"===ed.current,()=>{ee.dispose(),es.current(ed.current)})),ee.dispose},[er])}function aC(ee=0){let[en,er]=(0,eA.useState)(ee),ei=af(),eo=(0,eA.useCallback)(ee=>{ei.current&&er(en=>en|ee)},[en,ei]),es=(0,eA.useCallback)(ee=>!!(en&ee),[en]);return{flags:en,addFlag:eo,hasFlag:es,removeFlag:(0,eA.useCallback)(ee=>{ei.current&&er(en=>en&~ee)},[er,ei]),toggleFlag:(0,eA.useCallback)(ee=>{ei.current&&er(en=>en^ee)},[er])}}function aS(ee=""){return ee.split(" ").filter(ee=>ee.trim().length>1)}let aN=(0,eA.createContext)(null);aN.displayName="TransitionContext";var aI=((eu=aI||{}).Visible="visible",eu.Hidden="hidden",eu);function aR(){let ee=(0,eA.useContext)(aN);if(null===ee)throw Error("A is used but it is missing a parent or .");return ee}function aL(){let ee=(0,eA.useContext)(aP);if(null===ee)throw Error("A is used but it is missing a parent or .");return ee}let aP=(0,eA.createContext)(null);function aA(ee){return"children"in ee?aA(ee.children):ee.current.filter(({el:ee})=>null!==ee.current).filter(({state:ee})=>"visible"===ee).length>0}function aM(ee,en){let er=ap(ee),ei=(0,eA.useRef)([]),eo=af(),es=aO(),eu=ax((ee,en=i0.Hidden)=>{let eu=ei.current.findIndex(({el:en})=>en===ee);-1!==eu&&(iY(en,{[i0.Unmount](){ei.current.splice(eu,1)},[i0.Hidden](){ei.current[eu].state="hidden"}}),es.microTask(()=>{var ee;!aA(ei)&&eo.current&&(null==(ee=er.current)||ee.call(er))}))}),ec=ax(ee=>{let en=ei.current.find(({el:en})=>en===ee);return en?"visible"!==en.state&&(en.state="visible"):ei.current.push({el:ee,state:"visible"}),()=>eu(ee,i0.Unmount)}),ed=(0,eA.useRef)([]),ef=(0,eA.useRef)(Promise.resolve()),ep=(0,eA.useRef)({enter:[],leave:[],idle:[]}),eh=ax((ee,er,ei)=>{ed.current.splice(0),en&&(en.chains.current[er]=en.chains.current[er].filter(([en])=>en!==ee)),null==en||en.chains.current[er].push([ee,new Promise(ee=>{ed.current.push(ee)})]),null==en||en.chains.current[er].push([ee,new Promise(ee=>{Promise.all(ep.current[er].map(([ee,en])=>en)).then(()=>ee())})]),"enter"===er?ef.current=ef.current.then(()=>null==en?void 0:en.wait.current).then(()=>ei(er)):ei(er)}),em=ax((ee,en,er)=>{Promise.all(ep.current[en].splice(0).map(([ee,en])=>en)).then(()=>{var ee;null==(ee=ed.current.shift())||ee()}).then(()=>er(en))});return(0,eA.useMemo)(()=>({children:ei,register:ec,unregister:eu,onStart:eh,onStop:em,wait:ef,chains:ep}),[ec,eu,ei,eh,em,ep,ef])}function aD(){}aP.displayName="NestingContext";let aF=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function a$(ee){var en;let er={};for(let ei of aF)er[ei]=null!=(en=ee[ei])?en:aD;return er}function aZ(ee){let en=(0,eA.useRef)(a$(ee));return(0,eA.useEffect)(()=>{en.current=a$(ee)},[ee]),en}let az="div",aU=iX.RenderStrategy;function aW(ee,en){var er,ei;let{beforeEnter:eo,afterEnter:es,beforeLeave:eu,afterLeave:ec,enter:ed,enterFrom:ef,enterTo:ep,entered:eh,leave:em,leaveFrom:ex,leaveTo:eg,...ev}=ee,ey=(0,eA.useRef)(null),eb=av(ey,en),ew=null==(er=ev.unmount)||er?i0.Unmount:i0.Hidden,{show:ek,appear:e_,initial:ej}=aR(),[eE,eO]=(0,eA.useState)(ek?"visible":"hidden"),eT=aL(),{register:eC,unregister:eS}=eT;(0,eA.useEffect)(()=>eC(ey),[eC,ey]),(0,eA.useEffect)(()=>{if(ew===i0.Hidden&&ey.current){if(ek&&"visible"!==eE){eO("visible");return}return iY(eE,{hidden:()=>eS(ey),visible:()=>eC(ey)})}},[eE,ey,eC,eS,ek,ew]);let eN=ap({base:aS(ev.className),enter:aS(ed),enterFrom:aS(ef),enterTo:aS(ep),entered:aS(eh),leave:aS(em),leaveFrom:aS(ex),leaveTo:aS(eg)}),eI=aZ({beforeEnter:eo,afterEnter:es,beforeLeave:eu,afterLeave:ec}),eR=am();(0,eA.useEffect)(()=>{if(eR&&"visible"===eE&&null===ey.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[ey,eE,eR]);let eL=ej&&!e_,eP=e_&&ek&&ej,eM=!eR||eL?"idle":ek?"enter":"leave",eD=aC(0),eF=ax(ee=>iY(ee,{enter:()=>{eD.addFlag(i9.Opening),eI.current.beforeEnter()},leave:()=>{eD.addFlag(i9.Closing),eI.current.beforeLeave()},idle:()=>{}})),e$=ax(ee=>iY(ee,{enter:()=>{eD.removeFlag(i9.Opening),eI.current.afterEnter()},leave:()=>{eD.removeFlag(i9.Closing),eI.current.afterLeave()},idle:()=>{}})),eZ=aM(()=>{eO("hidden"),eS(ey)},eT);aT({immediate:eP,container:ey,classes:eN,direction:eM,onStart:ap(ee=>{eZ.onStart(ey,ee,eF)}),onStop:ap(ee=>{eZ.onStop(ey,ee,e$),"leave"!==ee||aA(eZ)||(eO("hidden"),eS(ey))})});let ez=ev,eU={ref:eb};return eP?ez={...ez,className:iQ(ev.className,...eN.current.enter,...eN.current.enterFrom)}:(ez.className=iQ(ev.className,null==(ei=ey.current)?void 0:ei.className),""===ez.className&&delete ez.className),eA.createElement(aP.Provider,{value:eZ},eA.createElement(an,{value:iY(eE,{visible:i9.Open,hidden:i9.Closed})|eD.flags},i1({ourProps:eU,theirProps:ez,defaultTag:az,features:aU,visible:"visible"===eE,name:"Transition.Child"})))}function aH(ee,en){let er=null!==(0,eA.useContext)(aN),ei=null!==at();return eA.createElement(eA.Fragment,null,!er&&ei?eA.createElement(aG,{ref:en,...ee}):eA.createElement(aB,{ref:en,...ee}))}let aG=i5(function(ee,en){let{show:er,appear:ei=!1,unmount:eo=!0,...es}=ee,eu=(0,eA.useRef)(null),ec=av(eu,en);am();let ed=at();if(void 0===er&&null!==ed&&(er=(ed&i9.Open)===i9.Open),![!0,!1].includes(er))throw Error("A is used but it is missing a `show={true | false}` prop.");let[ef,ep]=(0,eA.useState)(er?"visible":"hidden"),eh=aM(()=>{ep("hidden")}),[em,ex]=(0,eA.useState)(!0),eg=(0,eA.useRef)([er]);ad(()=>{!1!==em&&eg.current[eg.current.length-1]!==er&&(eg.current.push(er),ex(!1))},[eg,er]);let ev=(0,eA.useMemo)(()=>({show:er,appear:ei,initial:em}),[er,ei,em]);(0,eA.useEffect)(()=>{if(er)ep("visible");else if(aA(eh)){let ee=eu.current;if(!ee)return;let en=ee.getBoundingClientRect();0===en.x&&0===en.y&&0===en.width&&0===en.height&&ep("hidden")}else ep("hidden")},[er,eh]);let ey={unmount:eo},eb=ax(()=>{var en;em&&ex(!1),null==(en=ee.beforeEnter)||en.call(ee)}),ew=ax(()=>{var en;em&&ex(!1),null==(en=ee.beforeLeave)||en.call(ee)});return eA.createElement(aP.Provider,{value:eh},eA.createElement(aN.Provider,{value:ev},i1({ourProps:{...ey,as:eA.Fragment,children:eA.createElement(aB,{ref:ec,...ey,...es,beforeEnter:eb,beforeLeave:ew})},theirProps:{},defaultTag:eA.Fragment,features:aU,visible:"visible"===ef,name:"Transition"})))}),aB=i5(aW),aV=Object.assign(aG,{Child:i5(aH),Root:aG});var aq=er(161);let aK=null!=(eR=eA.useId)?eR:function(){let ee=am(),[en,er]=eA.useState(ee?()=>ac.nextId():null);return ad(()=>{null===en&&er(ac.nextId())},[en]),null!=en?""+en:void 0};function aJ(ee,en){let[er,ei]=(0,eA.useState)(ee),eo=ap(ee);return ad(()=>ei(eo.current),[eo,ei,...en]),er}var aQ=((ec=aQ||{}).Space=" ",ec.Enter="Enter",ec.Escape="Escape",ec.Backspace="Backspace",ec.Delete="Delete",ec.ArrowLeft="ArrowLeft",ec.ArrowUp="ArrowUp",ec.ArrowRight="ArrowRight",ec.ArrowDown="ArrowDown",ec.Home="Home",ec.End="End",ec.PageUp="PageUp",ec.PageDown="PageDown",ec.Tab="Tab",ec);function aY(ee){throw Error("Unexpected object: "+ee)}var aX=((ed=aX||{})[ed.First=0]="First",ed[ed.Previous=1]="Previous",ed[ed.Next=2]="Next",ed[ed.Last=3]="Last",ed[ed.Specific=4]="Specific",ed[ed.Nothing=5]="Nothing",ed);function a0(ee,en){let er=en.resolveItems();if(er.length<=0)return null;let ei=en.resolveActiveIndex(),eo=null!=ei?ei:-1,es=(()=>{switch(ee.focus){case 0:return er.findIndex(ee=>!en.resolveDisabled(ee));case 1:{let ee=er.slice().reverse().findIndex((ee,er,ei)=>(-1===eo||!(ei.length-er-1>=eo))&&!en.resolveDisabled(ee));return -1===ee?ee:er.length-1-ee}case 2:return er.findIndex((ee,er)=>!(er<=eo)&&!en.resolveDisabled(ee));case 3:{let ee=er.slice().reverse().findIndex(ee=>!en.resolveDisabled(ee));return -1===ee?ee:er.length-1-ee}case 4:return er.findIndex(er=>en.resolveId(er)===ee.id);case 5:return null;default:aY(ee)}})();return -1===es?ei:es}function a1(ee){let en=ee.parentElement,er=null;for(;en&&!(en instanceof HTMLFieldSetElement);)en instanceof HTMLLegendElement&&(er=en),en=en.parentElement;let ei=(null==en?void 0:en.getAttribute("disabled"))==="";return!(ei&&a2(er))&&ei}function a2(ee){if(!ee)return!1;let en=ee.previousElementSibling;for(;null!==en;){if(en instanceof HTMLLegendElement)return!1;en=en.previousElementSibling}return!0}function a4(ee){return ac.isServer?null:ee instanceof Node?ee.ownerDocument:null!=ee&&ee.hasOwnProperty("current")&&ee.current instanceof Node?ee.current.ownerDocument:document}let a3=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(ee=>`${ee}:not([tabindex='-1'])`).join(",");var a5=((ef=a5||{})[ef.First=1]="First",ef[ef.Previous=2]="Previous",ef[ef.Next=4]="Next",ef[ef.Last=8]="Last",ef[ef.WrapAround=16]="WrapAround",ef[ef.NoScroll=32]="NoScroll",ef),a6=((ep=a6||{})[ep.Error=0]="Error",ep[ep.Overflow=1]="Overflow",ep[ep.Success=2]="Success",ep[ep.Underflow=3]="Underflow",ep),a7=((eh=a7||{})[eh.Previous=-1]="Previous",eh[eh.Next=1]="Next",eh);function a8(ee=document.body){return null==ee?[]:Array.from(ee.querySelectorAll(a3)).sort((ee,en)=>Math.sign((ee.tabIndex||Number.MAX_SAFE_INTEGER)-(en.tabIndex||Number.MAX_SAFE_INTEGER)))}var a9=((em=a9||{})[em.Strict=0]="Strict",em[em.Loose=1]="Loose",em);function ot(ee,en=0){var er;return ee!==(null==(er=a4(ee))?void 0:er.body)&&iY(en,{0:()=>ee.matches(a3),1(){let en=ee;for(;null!==en;){if(en.matches(a3))return!0;en=en.parentElement}return!1}})}function on(ee){let en=a4(ee);aw().nextFrame(()=>{en&&!ot(en.activeElement,0)&&oi(ee)})}var or=((ex=or||{})[ex.Keyboard=0]="Keyboard",ex[ex.Mouse=1]="Mouse",ex);function oi(ee){null==ee||ee.focus({preventScroll:!0})}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",ee=>{ee.metaKey||ee.altKey||ee.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",ee=>{1===ee.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===ee.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));let oo="textarea,input";function os(ee){var en,er;return null!=(er=null==(en=null==ee?void 0:ee.matches)?void 0:en.call(ee,oo))&&er}function ol(ee,en=ee=>ee){return ee.slice().sort((ee,er)=>{let ei=en(ee),eo=en(er);if(null===ei||null===eo)return 0;let es=ei.compareDocumentPosition(eo);return es&Node.DOCUMENT_POSITION_FOLLOWING?-1:es&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function ou(ee,en){return oc(a8(),en,{relativeTo:ee})}function oc(ee,en,{sorted:er=!0,relativeTo:ei=null,skipElements:eo=[]}={}){let es=Array.isArray(ee)?ee.length>0?ee[0].ownerDocument:document:ee.ownerDocument,eu=Array.isArray(ee)?er?ol(ee):ee:a8(ee);eo.length>0&&eu.length>1&&(eu=eu.filter(ee=>!eo.includes(ee))),ei=null!=ei?ei:es.activeElement;let ec=(()=>{if(5&en)return 1;if(10&en)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),ed=(()=>{if(1&en)return 0;if(2&en)return Math.max(0,eu.indexOf(ei))-1;if(4&en)return Math.max(0,eu.indexOf(ei))+1;if(8&en)return eu.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),ef=32&en?{preventScroll:!0}:{},ep=0,eh=eu.length,em;do{if(ep>=eh||ep+eh<=0)return 0;let ee=ed+ep;if(16&en)ee=(ee+eh)%eh;else{if(ee<0)return 3;if(ee>=eh)return 1}null==(em=eu[ee])||em.focus(ef),ep+=ec}while(em!==es.activeElement);return 6&en&&os(em)&&em.select(),2}function od(ee){var en;if(ee.type)return ee.type;let er=null!=(en=ee.as)?en:"button";if("string"==typeof er&&"button"===er.toLowerCase())return"button"}function of(ee,en){let[er,ei]=(0,eA.useState)(()=>od(ee));return ad(()=>{ei(od(ee))},[ee.type,ee.as]),ad(()=>{er||en.current&&en.current instanceof HTMLButtonElement&&!en.current.hasAttribute("type")&&ei("button")},[er,en]),er}function op(ee,en,er){let ei=ap(en);(0,eA.useEffect)(()=>{function en(ee){ei.current(ee)}return document.addEventListener(ee,en,er),()=>document.removeEventListener(ee,en,er)},[ee,er])}function oh(ee,en,er){let ei=ap(en);(0,eA.useEffect)(()=>{function en(ee){ei.current(ee)}return window.addEventListener(ee,en,er),()=>window.removeEventListener(ee,en,er)},[ee,er])}function om(ee,en,er=!0){let ei=(0,eA.useRef)(!1);function eo(er,eo){if(!ei.current||er.defaultPrevented)return;let es=eo(er);if(null!==es&&es.getRootNode().contains(es)&&es.isConnected){for(let en of function ee(en){return"function"==typeof en?ee(en()):Array.isArray(en)||en instanceof Set?en:[en]}(ee)){if(null===en)continue;let ee=en instanceof HTMLElement?en:en.current;if(null!=ee&&ee.contains(es)||er.composed&&er.composedPath().includes(ee))return}return ot(es,a9.Loose)||-1===es.tabIndex||er.preventDefault(),en(er,es)}}(0,eA.useEffect)(()=>{requestAnimationFrame(()=>{ei.current=er})},[er]);let es=(0,eA.useRef)(null);op("pointerdown",ee=>{var en,er;ei.current&&(es.current=(null==(er=null==(en=ee.composedPath)?void 0:en.call(ee))?void 0:er[0])||ee.target)},!0),op("mousedown",ee=>{var en,er;ei.current&&(es.current=(null==(er=null==(en=ee.composedPath)?void 0:en.call(ee))?void 0:er[0])||ee.target)},!0),op("click",ee=>{es.current&&(eo(ee,()=>es.current),es.current=null)},!0),op("touchend",ee=>eo(ee,()=>ee.target instanceof HTMLElement?ee.target:null),!0),oh("blur",ee=>eo(ee,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}let ox="div";var og=((eg=og||{})[eg.None=1]="None",eg[eg.Focusable=2]="Focusable",eg[eg.Hidden=4]="Hidden",eg);let ov=i5(function(ee,en){let{features:er=1,...ei}=ee;return i1({ourProps:{ref:en,"aria-hidden":(2&er)==2||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&er)==4&&(2&er)!=2&&{display:"none"}}},theirProps:ei,slot:{},defaultTag:ox,name:"Hidden"})});function oy(ee={},en=null,er=[]){for(let[ei,eo]of Object.entries(ee))ow(er,ob(en,ei),eo);return er}function ob(ee,en){return ee?ee+"["+en+"]":en}function ow(ee,en,er){if(Array.isArray(er))for(let[ei,eo]of er.entries())ow(ee,ob(en,ei.toString()),eo);else er instanceof Date?ee.push([en,er.toISOString()]):"boolean"==typeof er?ee.push([en,er?"1":"0"]):"string"==typeof er?ee.push([en,er]):"number"==typeof er?ee.push([en,`${er}`]):null==er?ee.push([en,""]):oy(er,en,ee)}function ok(ee,en,er){let[ei,eo]=(0,eA.useState)(er),es=void 0!==ee,eu=(0,eA.useRef)(es),ec=(0,eA.useRef)(!1),ed=(0,eA.useRef)(!1);return!es||eu.current||ec.current?es||!eu.current||ed.current||(ed.current=!0,eu.current=es,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(ec.current=!0,eu.current=es,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[es?ee:ei,ax(ee=>(es||eo(ee),null==en?void 0:en(ee)))]}function o_(ee){return[ee.screenX,ee.screenY]}function oj(){let ee=(0,eA.useRef)([-1,-1]);return{wasMoved(en){let er=o_(en);return(ee.current[0]!==er[0]||ee.current[1]!==er[1])&&(ee.current=er,!0)},update(en){ee.current=o_(en)}}}let oE=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function oO(ee){var en,er;let ei=null!=(en=ee.innerText)?en:"",eo=ee.cloneNode(!0);if(!(eo instanceof HTMLElement))return ei;let es=!1;for(let ee of eo.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))ee.remove(),es=!0;let eu=es?null!=(er=eo.innerText)?er:"":ei;return oE.test(eu)&&(eu=eu.replace(oE,"")),eu}function oT(ee){let en=ee.getAttribute("aria-label");if("string"==typeof en)return en.trim();let er=ee.getAttribute("aria-labelledby");if(er){let ee=er.split(" ").map(ee=>{let en=document.getElementById(ee);if(en){let ee=en.getAttribute("aria-label");return"string"==typeof ee?ee.trim():oO(en).trim()}return null}).filter(Boolean);if(ee.length>0)return ee.join(", ")}return oO(ee).trim()}function oC(ee){let en=(0,eA.useRef)(""),er=(0,eA.useRef)("");return ax(()=>{let ei=ee.current;if(!ei)return"";let eo=ei.innerText;if(en.current===eo)return er.current;let es=oT(ei).trim().toLowerCase();return en.current=eo,er.current=es,es})}var oS=((ev=oS||{})[ev.Open=0]="Open",ev[ev.Closed=1]="Closed",ev),oN=((ey=oN||{})[ey.Single=0]="Single",ey[ey.Multi=1]="Multi",ey),oI=((eb=oI||{})[eb.Pointer=0]="Pointer",eb[eb.Other=1]="Other",eb),oR=((ew=oR||{})[ew.OpenListbox=0]="OpenListbox",ew[ew.CloseListbox=1]="CloseListbox",ew[ew.GoToOption=2]="GoToOption",ew[ew.Search=3]="Search",ew[ew.ClearSearch=4]="ClearSearch",ew[ew.RegisterOption=5]="RegisterOption",ew[ew.UnregisterOption=6]="UnregisterOption",ew[ew.RegisterLabel=7]="RegisterLabel",ew);function oL(ee,en=ee=>ee){let er=null!==ee.activeOptionIndex?ee.options[ee.activeOptionIndex]:null,ei=ol(en(ee.options.slice()),ee=>ee.dataRef.current.domRef.current),eo=er?ei.indexOf(er):null;return -1===eo&&(eo=null),{options:ei,activeOptionIndex:eo}}let oP={1:ee=>ee.dataRef.current.disabled||1===ee.listboxState?ee:{...ee,activeOptionIndex:null,listboxState:1},0(ee){if(ee.dataRef.current.disabled||0===ee.listboxState)return ee;let en=ee.activeOptionIndex,{isSelected:er}=ee.dataRef.current,ei=ee.options.findIndex(ee=>er(ee.dataRef.current.value));return -1!==ei&&(en=ei),{...ee,listboxState:0,activeOptionIndex:en}},2(ee,en){var er;if(ee.dataRef.current.disabled||1===ee.listboxState)return ee;let ei=oL(ee),eo=a0(en,{resolveItems:()=>ei.options,resolveActiveIndex:()=>ei.activeOptionIndex,resolveId:ee=>ee.id,resolveDisabled:ee=>ee.dataRef.current.disabled});return{...ee,...ei,searchQuery:"",activeOptionIndex:eo,activationTrigger:null!=(er=en.trigger)?er:1}},3:(ee,en)=>{if(ee.dataRef.current.disabled||1===ee.listboxState)return ee;let er=""!==ee.searchQuery?0:1,ei=ee.searchQuery+en.value.toLowerCase(),eo=(null!==ee.activeOptionIndex?ee.options.slice(ee.activeOptionIndex+er).concat(ee.options.slice(0,ee.activeOptionIndex+er)):ee.options).find(ee=>{var en;return!ee.dataRef.current.disabled&&(null==(en=ee.dataRef.current.textValue)?void 0:en.startsWith(ei))}),es=eo?ee.options.indexOf(eo):-1;return -1===es||es===ee.activeOptionIndex?{...ee,searchQuery:ei}:{...ee,searchQuery:ei,activeOptionIndex:es,activationTrigger:1}},4:ee=>ee.dataRef.current.disabled||1===ee.listboxState||""===ee.searchQuery?ee:{...ee,searchQuery:""},5:(ee,en)=>{let er={id:en.id,dataRef:en.dataRef},ei=oL(ee,ee=>[...ee,er]);return null===ee.activeOptionIndex&&ee.dataRef.current.isSelected(en.dataRef.current.value)&&(ei.activeOptionIndex=ei.options.indexOf(er)),{...ee,...ei}},6:(ee,en)=>{let er=oL(ee,ee=>{let er=ee.findIndex(ee=>ee.id===en.id);return -1!==er&&ee.splice(er,1),ee});return{...ee,...er,activationTrigger:1}},7:(ee,en)=>({...ee,labelId:en.id})},oA=(0,eA.createContext)(null);function oM(ee){let en=(0,eA.useContext)(oA);if(null===en){let en=Error(`<${ee} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,oM),en}return en}oA.displayName="ListboxActionsContext";let oD=(0,eA.createContext)(null);function oF(ee){let en=(0,eA.useContext)(oD);if(null===en){let en=Error(`<${ee} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,oF),en}return en}function o$(ee,en){return iY(en.type,oP,ee,en)}oD.displayName="ListboxDataContext";let oZ=eA.Fragment;function oz(ee,en){let{value:er,defaultValue:ei,form:eo,name:es,onChange:eu,by:ec=(ee,en)=>ee===en,disabled:ed=!1,horizontal:ef=!1,multiple:ep=!1,...eh}=ee,em=ef?"horizontal":"vertical",ex=av(en),[eg=ep?[]:void 0,ev]=ok(er,eu,ei),[ey,eb]=(0,eA.useReducer)(o$,{dataRef:(0,eA.createRef)(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),ew=(0,eA.useRef)({static:!1,hold:!1}),ek=(0,eA.useRef)(null),e_=(0,eA.useRef)(null),ej=(0,eA.useRef)(null),eE=ax("string"==typeof ec?(ee,en)=>{let er=ec;return(null==ee?void 0:ee[er])===(null==en?void 0:en[er])}:ec),eO=(0,eA.useCallback)(ee=>iY(eT.mode,{1:()=>eg.some(en=>eE(en,ee)),0:()=>eE(eg,ee)}),[eg]),eT=(0,eA.useMemo)(()=>({...ey,value:eg,disabled:ed,mode:ep?1:0,orientation:em,compare:eE,isSelected:eO,optionsPropsRef:ew,labelRef:ek,buttonRef:e_,optionsRef:ej}),[eg,ed,ep,ey]);ad(()=>{ey.dataRef.current=eT},[eT]),om([eT.buttonRef,eT.optionsRef],(ee,en)=>{var er;eb({type:1}),ot(en,a9.Loose)||(ee.preventDefault(),null==(er=eT.buttonRef.current)||er.focus())},0===eT.listboxState);let eC=(0,eA.useMemo)(()=>({open:0===eT.listboxState,disabled:ed,value:eg}),[eT,ed,eg]),eS=ax(ee=>{let en=eT.options.find(en=>en.id===ee);en&&eD(en.dataRef.current.value)}),eN=ax(()=>{if(null!==eT.activeOptionIndex){let{dataRef:ee,id:en}=eT.options[eT.activeOptionIndex];eD(ee.current.value),eb({type:2,focus:aX.Specific,id:en})}}),eI=ax(()=>eb({type:0})),eR=ax(()=>eb({type:1})),eL=ax((ee,en,er)=>ee===aX.Specific?eb({type:2,focus:aX.Specific,id:en,trigger:er}):eb({type:2,focus:ee,trigger:er})),eP=ax((ee,en)=>(eb({type:5,id:ee,dataRef:en}),()=>eb({type:6,id:ee}))),eM=ax(ee=>(eb({type:7,id:ee}),()=>eb({type:7,id:null}))),eD=ax(ee=>iY(eT.mode,{0:()=>null==ev?void 0:ev(ee),1(){let en=eT.value.slice(),er=en.findIndex(en=>eE(en,ee));return -1===er?en.push(ee):en.splice(er,1),null==ev?void 0:ev(en)}})),eF=ax(ee=>eb({type:3,value:ee})),e$=ax(()=>eb({type:4})),eZ=(0,eA.useMemo)(()=>({onChange:eD,registerOption:eP,registerLabel:eM,goToOption:eL,closeListbox:eR,openListbox:eI,selectActiveOption:eN,selectOption:eS,search:eF,clearSearch:e$}),[]),ez={ref:ex},eU=(0,eA.useRef)(null),eW=aO();return(0,eA.useEffect)(()=>{eU.current&&void 0!==ei&&eW.addEventListener(eU.current,"reset",()=>{null==ev||ev(ei)})},[eU,ev]),eA.createElement(oA.Provider,{value:eZ},eA.createElement(oD.Provider,{value:eT},eA.createElement(an,{value:iY(eT.listboxState,{0:i9.Open,1:i9.Closed})},null!=es&&null!=eg&&oy({[es]:eg}).map(([ee,en],er)=>eA.createElement(ov,{features:og.Hidden,ref:0===er?ee=>{var en;eU.current=null!=(en=null==ee?void 0:ee.closest("form"))?en:null}:void 0,...i6({key:ee,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:eo,name:ee,value:en})})),i1({ourProps:ez,theirProps:eh,slot:eC,defaultTag:oZ,name:"Listbox"}))))}let oU="button";function oW(ee,en){var er;let ei=aK(),{id:eo=`headlessui-listbox-button-${ei}`,...es}=ee,eu=oF("Listbox.Button"),ec=oM("Listbox.Button"),ed=av(eu.buttonRef,en),ef=aO(),ep=ax(ee=>{switch(ee.key){case aQ.Space:case aQ.Enter:case aQ.ArrowDown:ee.preventDefault(),ec.openListbox(),ef.nextFrame(()=>{eu.value||ec.goToOption(aX.First)});break;case aQ.ArrowUp:ee.preventDefault(),ec.openListbox(),ef.nextFrame(()=>{eu.value||ec.goToOption(aX.Last)})}}),eh=ax(ee=>{ee.key===aQ.Space&&ee.preventDefault()}),em=ax(ee=>{if(a1(ee.currentTarget))return ee.preventDefault();0===eu.listboxState?(ec.closeListbox(),ef.nextFrame(()=>{var ee;return null==(ee=eu.buttonRef.current)?void 0:ee.focus({preventScroll:!0})})):(ee.preventDefault(),ec.openListbox())}),ex=aJ(()=>{if(eu.labelId)return[eu.labelId,eo].join(" ")},[eu.labelId,eo]),eg=(0,eA.useMemo)(()=>({open:0===eu.listboxState,disabled:eu.disabled,value:eu.value}),[eu]);return i1({ourProps:{ref:ed,id:eo,type:of(ee,eu.buttonRef),"aria-haspopup":"listbox","aria-controls":null==(er=eu.optionsRef.current)?void 0:er.id,"aria-expanded":0===eu.listboxState,"aria-labelledby":ex,disabled:eu.disabled,onKeyDown:ep,onKeyUp:eh,onClick:em},theirProps:es,slot:eg,defaultTag:oU,name:"Listbox.Button"})}let oH="label";function oG(ee,en){let er=aK(),{id:ei=`headlessui-listbox-label-${er}`,...eo}=ee,es=oF("Listbox.Label"),eu=oM("Listbox.Label"),ec=av(es.labelRef,en);return ad(()=>eu.registerLabel(ei),[ei]),i1({ourProps:{ref:ec,id:ei,onClick:ax(()=>{var ee;return null==(ee=es.buttonRef.current)?void 0:ee.focus({preventScroll:!0})})},theirProps:eo,slot:(0,eA.useMemo)(()=>({open:0===es.listboxState,disabled:es.disabled}),[es]),defaultTag:oH,name:"Listbox.Label"})}let oB="ul",oV=iX.RenderStrategy|iX.Static;function oq(ee,en){var er;let ei=aK(),{id:eo=`headlessui-listbox-options-${ei}`,...es}=ee,eu=oF("Listbox.Options"),ec=oM("Listbox.Options"),ed=av(eu.optionsRef,en),ef=aO(),ep=aO(),eh=at(),em=null!==eh?(eh&i9.Open)===i9.Open:0===eu.listboxState;(0,eA.useEffect)(()=>{var ee;let en=eu.optionsRef.current;en&&0===eu.listboxState&&en!==(null==(ee=a4(en))?void 0:ee.activeElement)&&en.focus({preventScroll:!0})},[eu.listboxState,eu.optionsRef]);let ex=ax(ee=>{switch(ep.dispose(),ee.key){case aQ.Space:if(""!==eu.searchQuery)return ee.preventDefault(),ee.stopPropagation(),ec.search(ee.key);case aQ.Enter:if(ee.preventDefault(),ee.stopPropagation(),null!==eu.activeOptionIndex){let{dataRef:ee}=eu.options[eu.activeOptionIndex];ec.onChange(ee.current.value)}0===eu.mode&&(ec.closeListbox(),aw().nextFrame(()=>{var ee;return null==(ee=eu.buttonRef.current)?void 0:ee.focus({preventScroll:!0})}));break;case iY(eu.orientation,{vertical:aQ.ArrowDown,horizontal:aQ.ArrowRight}):return ee.preventDefault(),ee.stopPropagation(),ec.goToOption(aX.Next);case iY(eu.orientation,{vertical:aQ.ArrowUp,horizontal:aQ.ArrowLeft}):return ee.preventDefault(),ee.stopPropagation(),ec.goToOption(aX.Previous);case aQ.Home:case aQ.PageUp:return ee.preventDefault(),ee.stopPropagation(),ec.goToOption(aX.First);case aQ.End:case aQ.PageDown:return ee.preventDefault(),ee.stopPropagation(),ec.goToOption(aX.Last);case aQ.Escape:return ee.preventDefault(),ee.stopPropagation(),ec.closeListbox(),ef.nextFrame(()=>{var ee;return null==(ee=eu.buttonRef.current)?void 0:ee.focus({preventScroll:!0})});case aQ.Tab:ee.preventDefault(),ee.stopPropagation();break;default:1===ee.key.length&&(ec.search(ee.key),ep.setTimeout(()=>ec.clearSearch(),350))}}),eg=aJ(()=>{var ee,en,er;return null!=(er=null==(ee=eu.labelRef.current)?void 0:ee.id)?er:null==(en=eu.buttonRef.current)?void 0:en.id},[eu.labelRef.current,eu.buttonRef.current]),ev=(0,eA.useMemo)(()=>({open:0===eu.listboxState}),[eu]);return i1({ourProps:{"aria-activedescendant":null===eu.activeOptionIndex||null==(er=eu.options[eu.activeOptionIndex])?void 0:er.id,"aria-multiselectable":1===eu.mode||void 0,"aria-labelledby":eg,"aria-orientation":eu.orientation,id:eo,onKeyDown:ex,role:"listbox",tabIndex:0,ref:ed},theirProps:es,slot:ev,defaultTag:oB,features:oV,visible:em,name:"Listbox.Options"})}let oK="li";function oJ(ee,en){let er=aK(),{id:ei=`headlessui-listbox-option-${er}`,disabled:eo=!1,value:es,...eu}=ee,ec=oF("Listbox.Option"),ed=oM("Listbox.Option"),ef=null!==ec.activeOptionIndex&&ec.options[ec.activeOptionIndex].id===ei,ep=ec.isSelected(es),eh=(0,eA.useRef)(null),em=oC(eh),ex=ap({disabled:eo,value:es,domRef:eh,get textValue(){return em()}}),eg=av(en,eh);ad(()=>{if(0!==ec.listboxState||!ef||0===ec.activationTrigger)return;let ee=aw();return ee.requestAnimationFrame(()=>{var ee,en;null==(en=null==(ee=eh.current)?void 0:ee.scrollIntoView)||en.call(ee,{block:"nearest"})}),ee.dispose},[eh,ef,ec.listboxState,ec.activationTrigger,ec.activeOptionIndex]),ad(()=>ed.registerOption(ei,ex),[ex,ei]);let ev=ax(ee=>{if(eo)return ee.preventDefault();ed.onChange(es),0===ec.mode&&(ed.closeListbox(),aw().nextFrame(()=>{var ee;return null==(ee=ec.buttonRef.current)?void 0:ee.focus({preventScroll:!0})}))}),ey=ax(()=>{if(eo)return ed.goToOption(aX.Nothing);ed.goToOption(aX.Specific,ei)}),eb=oj(),ew=ax(ee=>eb.update(ee)),ek=ax(ee=>{eb.wasMoved(ee)&&(eo||ef||ed.goToOption(aX.Specific,ei,0))}),e_=ax(ee=>{eb.wasMoved(ee)&&(eo||ef&&ed.goToOption(aX.Nothing))}),ej=(0,eA.useMemo)(()=>({active:ef,selected:ep,disabled:eo}),[ef,ep,eo]);return i1({ourProps:{id:ei,ref:eg,role:"option",tabIndex:!0===eo?void 0:-1,"aria-disabled":!0===eo||void 0,"aria-selected":ep,disabled:void 0,onClick:ev,onFocus:ey,onPointerEnter:ew,onMouseEnter:ew,onPointerMove:ek,onMouseMove:ek,onPointerLeave:e_,onMouseLeave:e_},theirProps:eu,slot:ej,defaultTag:oK,name:"Listbox.Option"})}let oQ=Object.assign(i5(oz),{Button:i5(oW),Label:i5(oG),Options:i5(oq),Option:i5(oJ)});var oY=er(1542),oX=er(8038),o0=er.n(oX);function o1(){return(o1=Object.assign?Object.assign.bind():function(ee){for(var en=1;en=0||(eo[er]=ee[er]);return eo}var o4=["keyOverride"],o3=["crossOrigin"],o5={templateTitle:"",noindex:!1,nofollow:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},o6=function(ee,en,er){void 0===en&&(en=[]);var ei=void 0===er?{}:er,eo=ei.defaultWidth,es=ei.defaultHeight;return en.reduce(function(en,er,ei){return en.push(eA.createElement("meta",{key:"og:"+ee+":0"+ei,property:"og:"+ee,content:er.url})),er.alt&&en.push(eA.createElement("meta",{key:"og:"+ee+":alt0"+ei,property:"og:"+ee+":alt",content:er.alt})),er.secureUrl&&en.push(eA.createElement("meta",{key:"og:"+ee+":secure_url0"+ei,property:"og:"+ee+":secure_url",content:er.secureUrl.toString()})),er.type&&en.push(eA.createElement("meta",{key:"og:"+ee+":type0"+ei,property:"og:"+ee+":type",content:er.type.toString()})),er.width?en.push(eA.createElement("meta",{key:"og:"+ee+":width0"+ei,property:"og:"+ee+":width",content:er.width.toString()})):eo&&en.push(eA.createElement("meta",{key:"og:"+ee+":width0"+ei,property:"og:"+ee+":width",content:eo.toString()})),er.height?en.push(eA.createElement("meta",{key:"og:"+ee+":height"+ei,property:"og:"+ee+":height",content:er.height.toString()})):es&&en.push(eA.createElement("meta",{key:"og:"+ee+":height"+ei,property:"og:"+ee+":height",content:es.toString()})),en},[])},o7=function(ee){var en,er,ei,eo,es,eu=[];ee.titleTemplate&&(o5.templateTitle=ee.titleTemplate);var ec="";ee.title?(ec=ee.title,o5.templateTitle&&(ec=o5.templateTitle.replace(/%s/g,function(){return ec}))):ee.defaultTitle&&(ec=ee.defaultTitle),ec&&eu.push(eA.createElement("title",{key:"title"},ec));var ed=void 0===ee.noindex?o5.noindex||ee.dangerouslySetAllPagesToNoIndex:ee.noindex,ef=void 0===ee.nofollow?o5.nofollow||ee.dangerouslySetAllPagesToNoFollow:ee.nofollow,ep="";if(ee.robotsProps){var eh=ee.robotsProps,em=eh.nosnippet,ex=eh.maxSnippet,eg=eh.maxImagePreview,ev=eh.maxVideoPreview,ey=eh.noarchive,eb=eh.noimageindex,ew=eh.notranslate,ek=eh.unavailableAfter;ep=(em?",nosnippet":"")+(ex?",max-snippet:"+ex:"")+(eg?",max-image-preview:"+eg:"")+(ey?",noarchive":"")+(ek?",unavailable_after:"+ek:"")+(eb?",noimageindex":"")+(ev?",max-video-preview:"+ev:"")+(ew?",notranslate":"")}if(ed||ef?(ee.dangerouslySetAllPagesToNoIndex&&(o5.noindex=!0),ee.dangerouslySetAllPagesToNoFollow&&(o5.nofollow=!0),eu.push(eA.createElement("meta",{key:"robots",name:"robots",content:(ed?"noindex":"index")+","+(ef?"nofollow":"follow")+ep}))):eu.push(eA.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+ep})),ee.description&&eu.push(eA.createElement("meta",{key:"description",name:"description",content:ee.description})),ee.themeColor&&eu.push(eA.createElement("meta",{key:"theme-color",name:"theme-color",content:ee.themeColor})),ee.mobileAlternate&&eu.push(eA.createElement("link",{rel:"alternate",key:"mobileAlternate",media:ee.mobileAlternate.media,href:ee.mobileAlternate.href})),ee.languageAlternates&&ee.languageAlternates.length>0&&ee.languageAlternates.forEach(function(ee){eu.push(eA.createElement("link",{rel:"alternate",key:"languageAlternate-"+ee.hrefLang,hrefLang:ee.hrefLang,href:ee.href}))}),ee.twitter&&(ee.twitter.cardType&&eu.push(eA.createElement("meta",{key:"twitter:card",name:"twitter:card",content:ee.twitter.cardType})),ee.twitter.site&&eu.push(eA.createElement("meta",{key:"twitter:site",name:"twitter:site",content:ee.twitter.site})),ee.twitter.handle&&eu.push(eA.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:ee.twitter.handle}))),ee.facebook&&ee.facebook.appId&&eu.push(eA.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:ee.facebook.appId})),(null!=(en=ee.openGraph)&&en.title||ec)&&eu.push(eA.createElement("meta",{key:"og:title",property:"og:title",content:(null==(eo=ee.openGraph)?void 0:eo.title)||ec})),(null!=(er=ee.openGraph)&&er.description||ee.description)&&eu.push(eA.createElement("meta",{key:"og:description",property:"og:description",content:(null==(es=ee.openGraph)?void 0:es.description)||ee.description})),ee.openGraph){if((ee.openGraph.url||ee.canonical)&&eu.push(eA.createElement("meta",{key:"og:url",property:"og:url",content:ee.openGraph.url||ee.canonical})),ee.openGraph.type){var e_=ee.openGraph.type.toLowerCase();eu.push(eA.createElement("meta",{key:"og:type",property:"og:type",content:e_})),"profile"===e_&&ee.openGraph.profile?(ee.openGraph.profile.firstName&&eu.push(eA.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:ee.openGraph.profile.firstName})),ee.openGraph.profile.lastName&&eu.push(eA.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:ee.openGraph.profile.lastName})),ee.openGraph.profile.username&&eu.push(eA.createElement("meta",{key:"profile:username",property:"profile:username",content:ee.openGraph.profile.username})),ee.openGraph.profile.gender&&eu.push(eA.createElement("meta",{key:"profile:gender",property:"profile:gender",content:ee.openGraph.profile.gender}))):"book"===e_&&ee.openGraph.book?(ee.openGraph.book.authors&&ee.openGraph.book.authors.length&&ee.openGraph.book.authors.forEach(function(ee,en){eu.push(eA.createElement("meta",{key:"book:author:0"+en,property:"book:author",content:ee}))}),ee.openGraph.book.isbn&&eu.push(eA.createElement("meta",{key:"book:isbn",property:"book:isbn",content:ee.openGraph.book.isbn})),ee.openGraph.book.releaseDate&&eu.push(eA.createElement("meta",{key:"book:release_date",property:"book:release_date",content:ee.openGraph.book.releaseDate})),ee.openGraph.book.tags&&ee.openGraph.book.tags.length&&ee.openGraph.book.tags.forEach(function(ee,en){eu.push(eA.createElement("meta",{key:"book:tag:0"+en,property:"book:tag",content:ee}))})):"article"===e_&&ee.openGraph.article?(ee.openGraph.article.publishedTime&&eu.push(eA.createElement("meta",{key:"article:published_time",property:"article:published_time",content:ee.openGraph.article.publishedTime})),ee.openGraph.article.modifiedTime&&eu.push(eA.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:ee.openGraph.article.modifiedTime})),ee.openGraph.article.expirationTime&&eu.push(eA.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:ee.openGraph.article.expirationTime})),ee.openGraph.article.authors&&ee.openGraph.article.authors.length&&ee.openGraph.article.authors.forEach(function(ee,en){eu.push(eA.createElement("meta",{key:"article:author:0"+en,property:"article:author",content:ee}))}),ee.openGraph.article.section&&eu.push(eA.createElement("meta",{key:"article:section",property:"article:section",content:ee.openGraph.article.section})),ee.openGraph.article.tags&&ee.openGraph.article.tags.length&&ee.openGraph.article.tags.forEach(function(ee,en){eu.push(eA.createElement("meta",{key:"article:tag:0"+en,property:"article:tag",content:ee}))})):("video.movie"===e_||"video.episode"===e_||"video.tv_show"===e_||"video.other"===e_)&&ee.openGraph.video&&(ee.openGraph.video.actors&&ee.openGraph.video.actors.length&&ee.openGraph.video.actors.forEach(function(ee,en){ee.profile&&eu.push(eA.createElement("meta",{key:"video:actor:0"+en,property:"video:actor",content:ee.profile})),ee.role&&eu.push(eA.createElement("meta",{key:"video:actor:role:0"+en,property:"video:actor:role",content:ee.role}))}),ee.openGraph.video.directors&&ee.openGraph.video.directors.length&&ee.openGraph.video.directors.forEach(function(ee,en){eu.push(eA.createElement("meta",{key:"video:director:0"+en,property:"video:director",content:ee}))}),ee.openGraph.video.writers&&ee.openGraph.video.writers.length&&ee.openGraph.video.writers.forEach(function(ee,en){eu.push(eA.createElement("meta",{key:"video:writer:0"+en,property:"video:writer",content:ee}))}),ee.openGraph.video.duration&&eu.push(eA.createElement("meta",{key:"video:duration",property:"video:duration",content:ee.openGraph.video.duration.toString()})),ee.openGraph.video.releaseDate&&eu.push(eA.createElement("meta",{key:"video:release_date",property:"video:release_date",content:ee.openGraph.video.releaseDate})),ee.openGraph.video.tags&&ee.openGraph.video.tags.length&&ee.openGraph.video.tags.forEach(function(ee,en){eu.push(eA.createElement("meta",{key:"video:tag:0"+en,property:"video:tag",content:ee}))}),ee.openGraph.video.series&&eu.push(eA.createElement("meta",{key:"video:series",property:"video:series",content:ee.openGraph.video.series})))}ee.defaultOpenGraphImageWidth&&(o5.defaultOpenGraphImageWidth=ee.defaultOpenGraphImageWidth),ee.defaultOpenGraphImageHeight&&(o5.defaultOpenGraphImageHeight=ee.defaultOpenGraphImageHeight),ee.openGraph.images&&ee.openGraph.images.length&&eu.push.apply(eu,o6("image",ee.openGraph.images,{defaultWidth:o5.defaultOpenGraphImageWidth,defaultHeight:o5.defaultOpenGraphImageHeight})),ee.defaultOpenGraphVideoWidth&&(o5.defaultOpenGraphVideoWidth=ee.defaultOpenGraphVideoWidth),ee.defaultOpenGraphVideoHeight&&(o5.defaultOpenGraphVideoHeight=ee.defaultOpenGraphVideoHeight),ee.openGraph.videos&&ee.openGraph.videos.length&&eu.push.apply(eu,o6("video",ee.openGraph.videos,{defaultWidth:o5.defaultOpenGraphVideoWidth,defaultHeight:o5.defaultOpenGraphVideoHeight})),ee.openGraph.audio&&eu.push.apply(eu,o6("audio",ee.openGraph.audio)),ee.openGraph.locale&&eu.push(eA.createElement("meta",{key:"og:locale",property:"og:locale",content:ee.openGraph.locale})),(ee.openGraph.siteName||ee.openGraph.site_name)&&eu.push(eA.createElement("meta",{key:"og:site_name",property:"og:site_name",content:ee.openGraph.siteName||ee.openGraph.site_name}))}return ee.canonical&&eu.push(eA.createElement("link",{rel:"canonical",href:ee.canonical,key:"canonical"})),ee.additionalMetaTags&&ee.additionalMetaTags.length>0&&ee.additionalMetaTags.forEach(function(ee){var en,er,ei=ee.keyOverride,eo=o2(ee,o4);eu.push(eA.createElement("meta",o1({key:"meta:"+(null!=(en=null!=(er=null!=ei?ei:eo.name)?er:eo.property)?en:eo.httpEquiv)},eo)))}),null!=(ei=ee.additionalLinkTags)&&ei.length&&ee.additionalLinkTags.forEach(function(ee){var en,er=ee.crossOrigin,ei=o2(ee,o3),eo="anonymous"===er||"use-credentials"===er||""===er?er:void 0;eu.push(eA.createElement("link",o1({key:"link"+(null!=(en=ei.keyOverride)?en:ei.href)+ei.rel},ei,{crossOrigin:eo})))}),eu},o8=function(ee){return eA.createElement(o0(),null,o7(ee))},o9=function(ee){var en=ee.title,er=ee.themeColor,ei=ee.noindex,eo=ee.nofollow,es=ee.robotsProps,eu=ee.description,ec=ee.canonical,ed=ee.openGraph,ef=ee.facebook,ep=ee.twitter,eh=ee.additionalMetaTags,em=ee.titleTemplate,ex=ee.defaultTitle,eg=ee.mobileAlternate,ev=ee.languageAlternates,ey=ee.additionalLinkTags;return eA.createElement(eA.Fragment,null,eA.createElement(o8,{title:en,themeColor:er,noindex:ei,nofollow:eo,robotsProps:es,description:eu,canonical:ec,facebook:ef,openGraph:ed,additionalMetaTags:eh,twitter:ep,titleTemplate:em,defaultTitle:ex,mobileAlternate:eg,languageAlternates:ev,additionalLinkTags:ey}))};function st({container:ee,accept:en,walk:er,enabled:ei=!0}){let eo=(0,eA.useRef)(en),es=(0,eA.useRef)(er);(0,eA.useEffect)(()=>{eo.current=en,es.current=er},[en,er]),ad(()=>{if(!ee||!ei)return;let en=a4(ee);if(!en)return;let er=eo.current,eu=es.current,ec=Object.assign(ee=>er(ee),{acceptNode:er}),ed=en.createTreeWalker(ee,NodeFilter.SHOW_ELEMENT,ec,!1);for(;ed.nextNode();)eu(ed.currentNode)},[ee,ei,eo,es])}function sn(...ee){return(0,eA.useMemo)(()=>a4(...ee),[...ee])}RegExp("["+Object.keys(Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"})).join("")+"]","g");var sr=((ek=sr||{})[ek.Open=0]="Open",ek[ek.Closed=1]="Closed",ek),si=((e_=si||{})[e_.Pointer=0]="Pointer",e_[e_.Other=1]="Other",e_),so=((ej=so||{})[ej.OpenMenu=0]="OpenMenu",ej[ej.CloseMenu=1]="CloseMenu",ej[ej.GoToItem=2]="GoToItem",ej[ej.Search=3]="Search",ej[ej.ClearSearch=4]="ClearSearch",ej[ej.RegisterItem=5]="RegisterItem",ej[ej.UnregisterItem=6]="UnregisterItem",ej);function ss(ee,en=ee=>ee){let er=null!==ee.activeItemIndex?ee.items[ee.activeItemIndex]:null,ei=ol(en(ee.items.slice()),ee=>ee.dataRef.current.domRef.current),eo=er?ei.indexOf(er):null;return -1===eo&&(eo=null),{items:ei,activeItemIndex:eo}}let sl={1:ee=>1===ee.menuState?ee:{...ee,activeItemIndex:null,menuState:1},0:ee=>0===ee.menuState?ee:{...ee,__demoMode:!1,menuState:0},2:(ee,en)=>{var er;let ei=ss(ee),eo=a0(en,{resolveItems:()=>ei.items,resolveActiveIndex:()=>ei.activeItemIndex,resolveId:ee=>ee.id,resolveDisabled:ee=>ee.dataRef.current.disabled});return{...ee,...ei,searchQuery:"",activeItemIndex:eo,activationTrigger:null!=(er=en.trigger)?er:1}},3:(ee,en)=>{let er=""!==ee.searchQuery?0:1,ei=ee.searchQuery+en.value.toLowerCase(),eo=(null!==ee.activeItemIndex?ee.items.slice(ee.activeItemIndex+er).concat(ee.items.slice(0,ee.activeItemIndex+er)):ee.items).find(ee=>{var en;return(null==(en=ee.dataRef.current.textValue)?void 0:en.startsWith(ei))&&!ee.dataRef.current.disabled}),es=eo?ee.items.indexOf(eo):-1;return -1===es||es===ee.activeItemIndex?{...ee,searchQuery:ei}:{...ee,searchQuery:ei,activeItemIndex:es,activationTrigger:1}},4:ee=>""===ee.searchQuery?ee:{...ee,searchQuery:"",searchActiveItemIndex:null},5:(ee,en)=>{let er=ss(ee,ee=>[...ee,{id:en.id,dataRef:en.dataRef}]);return{...ee,...er}},6:(ee,en)=>{let er=ss(ee,ee=>{let er=ee.findIndex(ee=>ee.id===en.id);return -1!==er&&ee.splice(er,1),ee});return{...ee,...er,activationTrigger:1}}},su=(0,eA.createContext)(null);function sc(ee){let en=(0,eA.useContext)(su);if(null===en){let en=Error(`<${ee} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,sc),en}return en}function sd(ee,en){return iY(en.type,sl,ee,en)}su.displayName="MenuContext";let sf=eA.Fragment;function sp(ee,en){let{__demoMode:er=!1,...ei}=ee,eo=(0,eA.useReducer)(sd,{__demoMode:er,menuState:er?0:1,buttonRef:(0,eA.createRef)(),itemsRef:(0,eA.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:es,itemsRef:eu,buttonRef:ec},ed]=eo,ef=av(en);om([ec,eu],(ee,en)=>{var er;ed({type:1}),ot(en,a9.Loose)||(ee.preventDefault(),null==(er=ec.current)||er.focus())},0===es);let ep=ax(()=>{ed({type:1})}),eh=(0,eA.useMemo)(()=>({open:0===es,close:ep}),[es,ep]),em={ref:ef};return eA.createElement(su.Provider,{value:eo},eA.createElement(an,{value:iY(es,{0:i9.Open,1:i9.Closed})},i1({ourProps:em,theirProps:ei,slot:eh,defaultTag:sf,name:"Menu"})))}let sh="button";function sm(ee,en){var er;let ei=aK(),{id:eo=`headlessui-menu-button-${ei}`,...es}=ee,[eu,ec]=sc("Menu.Button"),ed=av(eu.buttonRef,en),ef=aO(),ep=ax(ee=>{switch(ee.key){case aQ.Space:case aQ.Enter:case aQ.ArrowDown:ee.preventDefault(),ee.stopPropagation(),ec({type:0}),ef.nextFrame(()=>ec({type:2,focus:aX.First}));break;case aQ.ArrowUp:ee.preventDefault(),ee.stopPropagation(),ec({type:0}),ef.nextFrame(()=>ec({type:2,focus:aX.Last}))}}),eh=ax(ee=>{ee.key===aQ.Space&&ee.preventDefault()}),em=ax(en=>{if(a1(en.currentTarget))return en.preventDefault();ee.disabled||(0===eu.menuState?(ec({type:1}),ef.nextFrame(()=>{var ee;return null==(ee=eu.buttonRef.current)?void 0:ee.focus({preventScroll:!0})})):(en.preventDefault(),ec({type:0})))}),ex=(0,eA.useMemo)(()=>({open:0===eu.menuState}),[eu]);return i1({ourProps:{ref:ed,id:eo,type:of(ee,eu.buttonRef),"aria-haspopup":"menu","aria-controls":null==(er=eu.itemsRef.current)?void 0:er.id,"aria-expanded":0===eu.menuState,onKeyDown:ep,onKeyUp:eh,onClick:em},theirProps:es,slot:ex,defaultTag:sh,name:"Menu.Button"})}let sx="div",sg=iX.RenderStrategy|iX.Static;function sv(ee,en){var er,ei;let eo=aK(),{id:es=`headlessui-menu-items-${eo}`,...eu}=ee,[ec,ed]=sc("Menu.Items"),ef=av(ec.itemsRef,en),ep=sn(ec.itemsRef),eh=aO(),em=at(),ex=null!==em?(em&i9.Open)===i9.Open:0===ec.menuState;(0,eA.useEffect)(()=>{let ee=ec.itemsRef.current;ee&&0===ec.menuState&&ee!==(null==ep?void 0:ep.activeElement)&&ee.focus({preventScroll:!0})},[ec.menuState,ec.itemsRef,ep]),st({container:ec.itemsRef.current,enabled:0===ec.menuState,accept:ee=>"menuitem"===ee.getAttribute("role")?NodeFilter.FILTER_REJECT:ee.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(ee){ee.setAttribute("role","none")}});let eg=ax(ee=>{var en,er;switch(eh.dispose(),ee.key){case aQ.Space:if(""!==ec.searchQuery)return ee.preventDefault(),ee.stopPropagation(),ed({type:3,value:ee.key});case aQ.Enter:if(ee.preventDefault(),ee.stopPropagation(),ed({type:1}),null!==ec.activeItemIndex){let{dataRef:ee}=ec.items[ec.activeItemIndex];null==(er=null==(en=ee.current)?void 0:en.domRef.current)||er.click()}on(ec.buttonRef.current);break;case aQ.ArrowDown:return ee.preventDefault(),ee.stopPropagation(),ed({type:2,focus:aX.Next});case aQ.ArrowUp:return ee.preventDefault(),ee.stopPropagation(),ed({type:2,focus:aX.Previous});case aQ.Home:case aQ.PageUp:return ee.preventDefault(),ee.stopPropagation(),ed({type:2,focus:aX.First});case aQ.End:case aQ.PageDown:return ee.preventDefault(),ee.stopPropagation(),ed({type:2,focus:aX.Last});case aQ.Escape:ee.preventDefault(),ee.stopPropagation(),ed({type:1}),aw().nextFrame(()=>{var ee;return null==(ee=ec.buttonRef.current)?void 0:ee.focus({preventScroll:!0})});break;case aQ.Tab:ee.preventDefault(),ee.stopPropagation(),ed({type:1}),aw().nextFrame(()=>{ou(ec.buttonRef.current,ee.shiftKey?a5.Previous:a5.Next)});break;default:1===ee.key.length&&(ed({type:3,value:ee.key}),eh.setTimeout(()=>ed({type:4}),350))}}),ev=ax(ee=>{ee.key===aQ.Space&&ee.preventDefault()}),ey=(0,eA.useMemo)(()=>({open:0===ec.menuState}),[ec]);return i1({ourProps:{"aria-activedescendant":null===ec.activeItemIndex||null==(er=ec.items[ec.activeItemIndex])?void 0:er.id,"aria-labelledby":null==(ei=ec.buttonRef.current)?void 0:ei.id,id:es,onKeyDown:eg,onKeyUp:ev,role:"menu",tabIndex:0,ref:ef},theirProps:eu,slot:ey,defaultTag:sx,features:sg,visible:ex,name:"Menu.Items"})}let sy=eA.Fragment;function sb(ee,en){let er=aK(),{id:ei=`headlessui-menu-item-${er}`,disabled:eo=!1,...es}=ee,[eu,ec]=sc("Menu.Item"),ed=null!==eu.activeItemIndex&&eu.items[eu.activeItemIndex].id===ei,ef=(0,eA.useRef)(null),ep=av(en,ef);ad(()=>{if(eu.__demoMode||0!==eu.menuState||!ed||0===eu.activationTrigger)return;let ee=aw();return ee.requestAnimationFrame(()=>{var ee,en;null==(en=null==(ee=ef.current)?void 0:ee.scrollIntoView)||en.call(ee,{block:"nearest"})}),ee.dispose},[eu.__demoMode,ef,ed,eu.menuState,eu.activationTrigger,eu.activeItemIndex]);let eh=oC(ef),em=(0,eA.useRef)({disabled:eo,domRef:ef,get textValue(){return eh()}});ad(()=>{em.current.disabled=eo},[em,eo]),ad(()=>(ec({type:5,id:ei,dataRef:em}),()=>ec({type:6,id:ei})),[em,ei]);let ex=ax(()=>{ec({type:1})}),eg=ax(ee=>{if(eo)return ee.preventDefault();ec({type:1}),on(eu.buttonRef.current)}),ev=ax(()=>{if(eo)return ec({type:2,focus:aX.Nothing});ec({type:2,focus:aX.Specific,id:ei})}),ey=oj(),eb=ax(ee=>ey.update(ee)),ew=ax(ee=>{ey.wasMoved(ee)&&(eo||ed||ec({type:2,focus:aX.Specific,id:ei,trigger:0}))}),ek=ax(ee=>{ey.wasMoved(ee)&&(eo||ed&&ec({type:2,focus:aX.Nothing}))}),e_=(0,eA.useMemo)(()=>({active:ed,disabled:eo,close:ex}),[ed,eo,ex]);return i1({ourProps:{id:ei,ref:ep,role:"menuitem",tabIndex:!0===eo?void 0:-1,"aria-disabled":!0===eo||void 0,disabled:void 0,onClick:eg,onFocus:ev,onPointerEnter:eb,onMouseEnter:eb,onPointerMove:ew,onMouseMove:ew,onPointerLeave:ek,onMouseLeave:ek},theirProps:es,slot:e_,defaultTag:sy,name:"Menu.Item"})}let sw=Object.assign(i5(sp),{Button:i5(sm),Items:i5(sv),Item:i5(sb)}),sk=ee=>"object"==typeof ee&&null!=ee&&1===ee.nodeType,s_=(ee,en)=>(!en||"hidden"!==ee)&&"visible"!==ee&&"clip"!==ee,sj=(ee,en)=>{if(ee.clientHeight{let en=(ee=>{if(!ee.ownerDocument||!ee.ownerDocument.defaultView)return null;try{return ee.ownerDocument.defaultView.frameElement}catch(ee){return null}})(ee);return!!en&&(en.clientHeightesen||es>ee&&eu=en&&ec>=er?es-ee-ei:eu>en&&ecer?eu-en+eo:0,sO=ee=>{let en=ee.parentElement;return null==en?ee.getRootNode().host||null:en},sT=(ee,en)=>{var er,ei,eo,es;if("undefined"==typeof document)return[];let{scrollMode:eu,block:ec,inline:ed,boundary:ef,skipOverflowHiddenElements:ep}=en,eh="function"==typeof ef?ef:ee=>ee!==ef;if(!sk(ee))throw TypeError("Invalid target");let em=document.scrollingElement||document.documentElement,ex=[],eg=ee;for(;sk(eg)&&eh(eg);){if((eg=sO(eg))===em){ex.push(eg);break}null!=eg&&eg===document.body&&sj(eg)&&!sj(document.documentElement)||null!=eg&&sj(eg,ep)&&ex.push(eg)}let ev=null!=(ei=null==(er=window.visualViewport)?void 0:er.width)?ei:innerWidth,ey=null!=(es=null==(eo=window.visualViewport)?void 0:eo.height)?es:innerHeight,{scrollX:eb,scrollY:ew}=window,{height:ek,width:e_,top:ej,right:eE,bottom:eO,left:eT}=ee.getBoundingClientRect(),{top:eC,right:eS,bottom:eN,left:eI}=(ee=>{let en=window.getComputedStyle(ee);return{top:parseFloat(en.scrollMarginTop)||0,right:parseFloat(en.scrollMarginRight)||0,bottom:parseFloat(en.scrollMarginBottom)||0,left:parseFloat(en.scrollMarginLeft)||0}})(ee),eR="start"===ec||"nearest"===ec?ej-eC:"end"===ec?eO+eN:ej+ek/2-eC+eN,eL="center"===ed?eT+e_/2-eI+eS:"end"===ed?eE+eS:eT-eI,eP=[];for(let ee=0;ee=0&&eT>=0&&eO<=ey&&eE<=ev&&ej>=eo&&eO<=ef&&eT>=ep&&eE<=es)break;let eh=getComputedStyle(en),eg=parseInt(eh.borderLeftWidth,10),eC=parseInt(eh.borderTopWidth,10),eS=parseInt(eh.borderRightWidth,10),eN=parseInt(eh.borderBottomWidth,10),eI=0,eA=0,eM="offsetWidth"in en?en.offsetWidth-en.clientWidth-eg-eS:0,eD="offsetHeight"in en?en.offsetHeight-en.clientHeight-eC-eN:0,eF="offsetWidth"in en?0===en.offsetWidth?0:ei/en.offsetWidth:0,e$="offsetHeight"in en?0===en.offsetHeight?0:er/en.offsetHeight:0;if(em===en)eI="start"===ec?eR:"end"===ec?eR-ey:"nearest"===ec?sE(ew,ew+ey,ey,eC,eN,ew+eR,ew+eR+ek,ek):eR-ey/2,eA="start"===ed?eL:"center"===ed?eL-ev/2:"end"===ed?eL-ev:sE(eb,eb+ev,ev,eg,eS,eb+eL,eb+eL+e_,e_),eI=Math.max(0,eI+ew),eA=Math.max(0,eA+eb);else{eI="start"===ec?eR-eo-eC:"end"===ec?eR-ef+eN+eD:"nearest"===ec?sE(eo,ef,er,eC,eN+eD,eR,eR+ek,ek):eR-(eo+er/2)+eD/2,eA="start"===ed?eL-ep-eg:"center"===ed?eL-(ep+ei/2)+eM/2:"end"===ed?eL-es+eS+eM:sE(ep,es,ei,eg,eS+eM,eL,eL+e_,e_);let{scrollLeft:ee,scrollTop:eu}=en;eI=0===e$?0:Math.max(0,Math.min(eu+eI/e$,en.scrollHeight-er/e$+eD)),eA=0===eF?0:Math.max(0,Math.min(ee+eA/eF,en.scrollWidth-ei/eF+eM)),eR+=eu-eI,eL+=ee-eA}eP.push({el:en,top:eI,left:eA})}return eP},sC=ee=>{var en;return!1===ee?{block:"end",inline:"nearest"}:(en=ee,en===Object(en)&&0!==Object.keys(en).length)?ee:{block:"start",inline:"nearest"}};function sS(ee,en){var er;if(!ee.isConnected||!(ee=>{let en=ee;for(;en&&en.parentNode;){if(en.parentNode===document)return!0;en=en.parentNode instanceof ShadowRoot?en.parentNode.host:en.parentNode}return!1})(ee))return;let ei=(ee=>{let en=window.getComputedStyle(ee);return{top:parseFloat(en.scrollMarginTop)||0,right:parseFloat(en.scrollMarginRight)||0,bottom:parseFloat(en.scrollMarginBottom)||0,left:parseFloat(en.scrollMarginLeft)||0}})(ee);if("object"==typeof(er=en)&&"function"==typeof er.behavior)return en.behavior(sT(ee,en));let eo="boolean"==typeof en||null==en?void 0:en.behavior;for(let{el:er,top:es,left:eu}of sT(ee,sC(en))){let ee=es-ei.top+ei.bottom,en=eu-ei.left+ei.right;er.scroll({top:ee,left:en,behavior:eo})}}function sN(){return(sN=Object.assign?Object.assign.bind():function(ee){for(var en=1;en=(void 0===ef?eu:ef)&&ee.push(sN({},ec,{item:ei,index:es})),ee}}function sM(ee,en,er,ei){if(!en){var eo=ee;return{rankedValue:eo,rank:sD(eo,er,ei),keyIndex:-1,keyThreshold:ei.threshold}}return sH(ee,en).reduce(function(ee,en,eo){var es=ee.rank,eu=ee.rankedValue,ec=ee.keyIndex,ed=ee.keyThreshold,ef=en.itemValue,ep=en.attributes,eh=sD(ef,er,ei),em=eu,ex=ep.minRanking,eg=ep.maxRanking,ev=ep.threshold;return eh=sL.MATCHES?eh=ex:eh>eg&&(eh=eg),eh>es&&(es=eh,ec=eo,ed=ev,em=ef),{rankedValue:em,rank:es,keyIndex:ec,keyThreshold:ed}},{rankedValue:ee,rank:sL.NO_MATCH,keyIndex:-1,keyThreshold:ei.threshold})}function sD(ee,en,er){return(ee=sz(ee,er),(en=sz(en,er)).length>ee.length)?sL.NO_MATCH:ee===en?sL.CASE_SENSITIVE_EQUAL:(ee=ee.toLowerCase())===(en=en.toLowerCase())?sL.EQUAL:ee.startsWith(en)?sL.STARTS_WITH:ee.includes(" "+en)?sL.WORD_STARTS_WITH:ee.includes(en)?sL.CONTAINS:1===en.length?sL.NO_MATCH:sF(ee).includes(en)?sL.ACRONYM:s$(ee,en)}function sF(ee){var en="";return ee.split(" ").forEach(function(ee){ee.split("-").forEach(function(ee){en+=ee.substr(0,1)})}),en}function s$(ee,en){var er=0,ei=0;function eo(ee,en,ei){for(var eo=ei,es=en.length;eo-1))return sL.NO_MATCH;return es(ei-eu)}function sZ(ee,en,er){var ei=-1,eo=1,es=ee.rank,eu=ee.keyIndex,ec=en.rank,ed=en.keyIndex;return es!==ec?es>ec?ei:eo:eu===ed?er(ee,en):eu(0,eH.jsx)("button",{className:eF("nextra-button nx-transition-all active:nx-opacity-50","nx-bg-primary-700/5 nx-border nx-border-black/5 nx-text-gray-600 hover:nx-text-gray-900 nx-rounded-md nx-p-1.5","dark:nx-bg-primary-300/10 dark:nx-border-white/10 dark:nx-text-gray-400 dark:hover:nx-text-gray-50",en),...er,children:ee});eF("nx-border-orange-100 nx-bg-orange-50 nx-text-orange-800 dark:nx-border-orange-400/30 dark:nx-bg-orange-400/20 dark:nx-text-orange-300"),eF("nx-border-red-200 nx-bg-red-100 nx-text-red-900 dark:nx-border-red-200/30 dark:nx-bg-red-900/30 dark:nx-text-red-200"),eF("nx-border-blue-200 nx-bg-blue-100 nx-text-blue-900 dark:nx-border-blue-200/30 dark:nx-bg-blue-900/30 dark:nx-text-blue-200"),eF("nx-border-yellow-100 nx-bg-yellow-50 nx-text-yellow-900 dark:nx-border-yellow-200/30 dark:nx-bg-yellow-700/30 dark:nx-text-yellow-200");var sq=({getValue:ee,...en})=>{let[er,ei]=(0,eA.useState)(!1);(0,eA.useEffect)(()=>{if(!er)return;let ee=setTimeout(()=>{ei(!1)},2e3);return()=>{clearTimeout(ee)}},[er]);let eo=(0,eA.useCallback)(async()=>{ei(!0),navigator?.clipboard||console.error("Access to clipboard rejected!");try{await navigator.clipboard.writeText(ee())}catch{console.error("Failed to copy!")}},[ee]),es=er?eB:eV;return(0,eH.jsx)(sV,{onClick:eo,title:"Copy code",tabIndex:0,...en,children:(0,eH.jsx)(es,{className:"nextra-copy-icon nx-pointer-events-none nx-h-4 nx-w-4"})})},sK=({children:ee,className:en,...er})=>{let ei="data-line-numbers"in er;return(0,eH.jsx)("code",{className:eF("nx-border-black nx-border-opacity-[0.04] nx-bg-opacity-[0.03] nx-bg-black nx-break-words nx-rounded-md nx-border nx-py-0.5 nx-px-[.25em] nx-text-[.9em]","dark:nx-border-white/10 dark:nx-bg-white/10",ei&&"[counter-reset:line]",en),dir:"ltr",...er,children:ee})},sJ=({children:ee,className:en,hasCopyCode:er,filename:ei,...eo})=>{let es=(0,eA.useRef)(null),eu=(0,eA.useCallback)(()=>{let ee=document.documentElement.dataset,en="nextraWordWrap"in ee;en?delete ee.nextraWordWrap:ee.nextraWordWrap=""},[]);return(0,eH.jsxs)("div",{className:"nextra-code-block nx-relative nx-mt-6 first:nx-mt-0",children:[ei&&(0,eH.jsx)("div",{className:"nx-absolute nx-top-0 nx-z-[1] nx-w-full nx-truncate nx-rounded-t-xl nx-bg-primary-700/5 nx-py-2 nx-px-4 nx-text-xs nx-text-gray-700 dark:nx-bg-primary-300/10 dark:nx-text-gray-200",children:ei}),(0,eH.jsx)("pre",{className:eF("nx-bg-primary-700/5 nx-mb-4 nx-overflow-x-auto nx-rounded-xl nx-subpixel-antialiased dark:nx-bg-primary-300/10 nx-text-[.9em]","contrast-more:nx-border contrast-more:nx-border-primary-900/20 contrast-more:nx-contrast-150 contrast-more:dark:nx-border-primary-100/40",ei?"nx-pt-12 nx-pb-4":"nx-py-4",en),ref:es,...eo,children:ee}),(0,eH.jsxs)("div",{className:eF("nx-opacity-0 nx-transition [div:hover>&]:nx-opacity-100 focus-within:nx-opacity-100","nx-flex nx-gap-1 nx-absolute nx-m-[11px] nx-right-0",ei?"nx-top-8":"nx-top-0"),children:[(0,eH.jsx)(sV,{onClick:eu,className:"md:nx-hidden",title:"Toggle word wrap",children:(0,eH.jsx)(e3,{className:"nx-pointer-events-none nx-h-4 nx-w-4"})}),er&&(0,eH.jsx)(sq,{getValue:()=>es.current?.querySelector("code")?.textContent||""})]})]})};function sQ({onFocus:ee}){let[en,er]=(0,eA.useState)(!0),ei=af();return en?eA.createElement(ov,{as:"button",type:"button",features:og.Focusable,onFocus:en=>{en.preventDefault();let eo,es=50;function eu(){if(es--<=0){eo&&cancelAnimationFrame(eo);return}if(ee()){if(cancelAnimationFrame(eo),!ei.current)return;er(!1);return}eo=requestAnimationFrame(eu)}eo=requestAnimationFrame(eu)}}):null}let sY=eA.createContext(null);function sX(){return{groups:new Map,get(ee,en){var er;let ei=this.groups.get(ee);ei||(ei=new Map,this.groups.set(ee,ei));let eo=null!=(er=ei.get(en))?er:0;function es(){let ee=ei.get(en);ee>1?ei.set(en,ee-1):ei.delete(en)}return ei.set(en,eo+1),[Array.from(ei.keys()).indexOf(en),es]}}}function s0({children:ee}){let en=eA.useRef(sX());return eA.createElement(sY.Provider,{value:en},ee)}function s1(ee){let en=eA.useContext(sY);if(!en)throw Error("You must wrap your component in a ");let er=s2(),[ei,eo]=en.current.get(ee,er);return eA.useEffect(()=>eo,[]),ei}function s2(){var ee,en,er;let ei=null!=(er=null==(en=null==(ee=eA.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:ee.ReactCurrentOwner)?void 0:en.current)?er:null;if(!ei)return Symbol();let eo=[],es=ei;for(;es;)eo.push(es.index),es=es.return;return"$."+eo.join(".")}var s4=((eE=s4||{})[eE.Forwards=0]="Forwards",eE[eE.Backwards=1]="Backwards",eE),s3=((eO=s3||{})[eO.Less=-1]="Less",eO[eO.Equal=0]="Equal",eO[eO.Greater=1]="Greater",eO),s5=((eT=s5||{})[eT.SetSelectedIndex=0]="SetSelectedIndex",eT[eT.RegisterTab=1]="RegisterTab",eT[eT.UnregisterTab=2]="UnregisterTab",eT[eT.RegisterPanel=3]="RegisterPanel",eT[eT.UnregisterPanel=4]="UnregisterPanel",eT);let s6={0(ee,en){var er;let ei=ol(ee.tabs,ee=>ee.current),eo=ol(ee.panels,ee=>ee.current),es=ei.filter(ee=>{var en;return!(null!=(en=ee.current)&&en.hasAttribute("disabled"))}),eu={...ee,tabs:ei,panels:eo};if(en.index<0||en.index>ei.length-1){let er=iY(Math.sign(en.index-ee.selectedIndex),{[-1]:()=>1,0:()=>iY(Math.sign(en.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===es.length)return eu;let eo=iY(er,{0:()=>ei.indexOf(es[0]),1:()=>ei.indexOf(es[es.length-1])});return{...eu,selectedIndex:-1===eo?ee.selectedIndex:eo}}let ec=ei.slice(0,en.index),ed=[...ei.slice(en.index),...ec].find(ee=>es.includes(ee));if(!ed)return eu;let ef=null!=(er=ei.indexOf(ed))?er:ee.selectedIndex;return -1===ef&&(ef=ee.selectedIndex),{...eu,selectedIndex:ef}},1(ee,en){var er;if(ee.tabs.includes(en.tab))return ee;let ei=ee.tabs[ee.selectedIndex],eo=ol([...ee.tabs,en.tab],ee=>ee.current),es=null!=(er=eo.indexOf(ei))?er:ee.selectedIndex;return -1===es&&(es=ee.selectedIndex),{...ee,tabs:eo,selectedIndex:es}},2:(ee,en)=>({...ee,tabs:ee.tabs.filter(ee=>ee!==en.tab)}),3:(ee,en)=>ee.panels.includes(en.panel)?ee:{...ee,panels:ol([...ee.panels,en.panel],ee=>ee.current)},4:(ee,en)=>({...ee,panels:ee.panels.filter(ee=>ee!==en.panel)})},s7=(0,eA.createContext)(null);function s8(ee){let en=(0,eA.useContext)(s7);if(null===en){let en=Error(`<${ee} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,s8),en}return en}s7.displayName="TabsDataContext";let s9=(0,eA.createContext)(null);function lt(ee){let en=(0,eA.useContext)(s9);if(null===en){let en=Error(`<${ee} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,lt),en}return en}function ln(ee,en){return iY(en.type,s6,ee,en)}s9.displayName="TabsActionsContext";let lr=eA.Fragment;function li(ee,en){let{defaultIndex:er=0,vertical:ei=!1,manual:eo=!1,onChange:es,selectedIndex:eu=null,...ec}=ee,ed=ei?"vertical":"horizontal",ef=eo?"manual":"auto",ep=null!==eu,eh=av(en),[em,ex]=(0,eA.useReducer)(ln,{selectedIndex:null!=eu?eu:er,tabs:[],panels:[]}),eg=(0,eA.useMemo)(()=>({selectedIndex:em.selectedIndex}),[em.selectedIndex]),ev=ap(es||(()=>{})),ey=ap(em.tabs),eb=(0,eA.useMemo)(()=>({orientation:ed,activation:ef,...em}),[ed,ef,em]),ew=ax(ee=>(ex({type:1,tab:ee}),()=>ex({type:2,tab:ee}))),ek=ax(ee=>(ex({type:3,panel:ee}),()=>ex({type:4,panel:ee}))),e_=ax(ee=>{ej.current!==ee&&ev.current(ee),ep||ex({type:0,index:ee})}),ej=ap(ep?ee.selectedIndex:em.selectedIndex),eE=(0,eA.useMemo)(()=>({registerTab:ew,registerPanel:ek,change:e_}),[]);ad(()=>{ex({type:0,index:null!=eu?eu:er})},[eu]),ad(()=>{if(void 0===ej.current||em.tabs.length<=0)return;let ee=ol(em.tabs,ee=>ee.current);ee.some((ee,en)=>em.tabs[en]!==ee)&&e_(ee.indexOf(em.tabs[ej.current]))});let eO={ref:eh};return eA.createElement(s0,null,eA.createElement(s9.Provider,{value:eE},eA.createElement(s7.Provider,{value:eb},eb.tabs.length<=0&&eA.createElement(sQ,{onFocus:()=>{var ee,en;for(let er of ey.current)if((null==(ee=er.current)?void 0:ee.tabIndex)===0)return null==(en=er.current)||en.focus(),!0;return!1}}),i1({ourProps:eO,theirProps:ec,slot:eg,defaultTag:lr,name:"Tabs"}))))}let lo="div";function ls(ee,en){let{orientation:er,selectedIndex:ei}=s8("Tab.List");return i1({ourProps:{ref:av(en),role:"tablist","aria-orientation":er},theirProps:ee,slot:{selectedIndex:ei},defaultTag:lo,name:"Tabs.List"})}let ll="button";function lu(ee,en){var er,ei;let eo=aK(),{id:es=`headlessui-tabs-tab-${eo}`,...eu}=ee,{orientation:ec,activation:ed,selectedIndex:ef,tabs:ep,panels:eh}=s8("Tab"),em=lt("Tab"),ex=s8("Tab"),eg=(0,eA.useRef)(null),ev=av(eg,en);ad(()=>em.registerTab(eg),[em,eg]);let ey=s1("tabs"),eb=ep.indexOf(eg);-1===eb&&(eb=ey);let ew=eb===ef,ek=ax(ee=>{var en;let er=ee();if(er===a6.Success&&"auto"===ed){let ee=null==(en=a4(eg))?void 0:en.activeElement,er=ex.tabs.findIndex(en=>en.current===ee);-1!==er&&em.change(er)}return er}),e_=ax(ee=>{let en=ep.map(ee=>ee.current).filter(Boolean);if(ee.key===aQ.Space||ee.key===aQ.Enter){ee.preventDefault(),ee.stopPropagation(),em.change(eb);return}switch(ee.key){case aQ.Home:case aQ.PageUp:return ee.preventDefault(),ee.stopPropagation(),ek(()=>oc(en,a5.First));case aQ.End:case aQ.PageDown:return ee.preventDefault(),ee.stopPropagation(),ek(()=>oc(en,a5.Last))}if(ek(()=>iY(ec,{vertical:()=>ee.key===aQ.ArrowUp?oc(en,a5.Previous|a5.WrapAround):ee.key===aQ.ArrowDown?oc(en,a5.Next|a5.WrapAround):a6.Error,horizontal:()=>ee.key===aQ.ArrowLeft?oc(en,a5.Previous|a5.WrapAround):ee.key===aQ.ArrowRight?oc(en,a5.Next|a5.WrapAround):a6.Error}))===a6.Success)return ee.preventDefault()}),ej=(0,eA.useRef)(!1),eE=ax(()=>{var ee;ej.current||(ej.current=!0,null==(ee=eg.current)||ee.focus({preventScroll:!0}),em.change(eb),ab(()=>{ej.current=!1}))}),eO=ax(ee=>{ee.preventDefault()}),eT=(0,eA.useMemo)(()=>({selected:ew}),[ew]);return i1({ourProps:{ref:ev,onKeyDown:e_,onMouseDown:eO,onClick:eE,id:es,role:"tab",type:of(ee,eg),"aria-controls":null==(ei=null==(er=eh[eb])?void 0:er.current)?void 0:ei.id,"aria-selected":ew,tabIndex:ew?0:-1},theirProps:eu,slot:eT,defaultTag:ll,name:"Tabs.Tab"})}let lc="div";function ld(ee,en){let{selectedIndex:er}=s8("Tab.Panels");return i1({ourProps:{ref:av(en)},theirProps:ee,slot:(0,eA.useMemo)(()=>({selectedIndex:er}),[er]),defaultTag:lc,name:"Tabs.Panels"})}let lf="div",lp=iX.RenderStrategy|iX.Static;function lh(ee,en){var er,ei,eo,es;let eu=aK(),{id:ec=`headlessui-tabs-panel-${eu}`,tabIndex:ed=0,...ef}=ee,{selectedIndex:ep,tabs:eh,panels:em}=s8("Tab.Panel"),ex=lt("Tab.Panel"),eg=(0,eA.useRef)(null),ev=av(eg,en);ad(()=>ex.registerPanel(eg),[ex,eg]);let ey=s1("panels"),eb=em.indexOf(eg);-1===eb&&(eb=ey);let ew=eb===ep,ek=(0,eA.useMemo)(()=>({selected:ew}),[ew]),e_={ref:ev,id:ec,role:"tabpanel","aria-labelledby":null==(ei=null==(er=eh[eb])?void 0:er.current)?void 0:ei.id,tabIndex:ew?ed:-1};return ew||null!=(eo=ef.unmount)&&!eo||null!=(es=ef.static)&&es?i1({ourProps:e_,theirProps:ef,slot:ek,defaultTag:lf,features:lp,visible:ew,name:"Tabs.Panel"}):eA.createElement(ov,{as:"span",...e_})}let lm=Object.assign(i5(lu),{Group:i5(li),List:i5(ls),Panels:i5(ld),Panel:i5(lh)});function lx(ee){return!!ee&&"object"==typeof ee&&"label"in ee}Object.assign(function({items:ee,selectedIndex:en,defaultIndex:er=0,onChange:ei,children:eo,storageKey:es}){let[eu,ec]=(0,eA.useState)(er);(0,eA.useEffect)(()=>{void 0!==en&&ec(en)},[en]),(0,eA.useEffect)(()=>{if(!es)return;function ee(ee){ee.key===es&&ec(Number(ee.newValue))}let en=Number(localStorage.getItem(es));return ec(Number.isNaN(en)?0:en),window.addEventListener("storage",ee),()=>{window.removeEventListener("storage",ee)}},[]);let ed=(0,eA.useCallback)(ee=>{if(es){let en=String(ee);localStorage.setItem(es,en),window.dispatchEvent(new StorageEvent("storage",{key:es,newValue:en}));return}ec(ee),ei?.(ee)},[]);return(0,eH.jsxs)(lm.Group,{selectedIndex:eu,defaultIndex:er,onChange:ed,children:[(0,eH.jsx)("div",{className:"nextra-scrollbar nx-overflow-x-auto nx-overflow-y-hidden nx-overscroll-x-contain",children:(0,eH.jsx)(lm.List,{className:"nx-mt-4 nx-flex nx-w-max nx-min-w-full nx-border-b nx-border-gray-200 nx-pb-px dark:nx-border-neutral-800",children:ee.map((ee,en)=>{let er=lx(ee)&&ee.disabled;return(0,eH.jsx)(lm,{disabled:er,className:({selected:ee})=>eF("nx-mr-2 nx-rounded-t nx-p-2 nx-font-medium nx-leading-5 nx-transition-colors","-nx-mb-0.5 nx-select-none nx-border-b-2",ee?"nx-border-primary-500 nx-text-primary-600":"nx-border-transparent nx-text-gray-600 hover:nx-border-gray-200 hover:nx-text-black dark:nx-text-gray-200 dark:hover:nx-border-neutral-800 dark:hover:nx-text-white",er&&"nx-pointer-events-none nx-text-gray-400 dark:nx-text-neutral-600"),children:lx(ee)?ee.label:ee},en)})})}),(0,eH.jsx)(lm.Panels,{children:eo})]})},{displayName:"Tabs",Tab:function({children:ee,...en}){return(0,eH.jsx)(lm.Panel,{...en,className:"nx-rounded nx-pt-6",children:ee})}});var lg=({className:ee="",...en})=>(0,eH.jsx)("td",{className:eF("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 dark:nx-border-gray-600",ee),...en}),lv=({className:ee="",...en})=>(0,eH.jsx)("table",{className:eF("nx-block nx-overflow-x-scroll",ee),...en}),ly=({className:ee="",...en})=>(0,eH.jsx)("th",{className:eF("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 nx-font-semibold dark:nx-border-gray-600",ee),...en}),lb=({className:ee="",...en})=>(0,eH.jsx)("tr",{className:eF("nx-m-0 nx-border-t nx-border-gray-300 nx-p-0 dark:nx-border-gray-600","even:nx-bg-gray-100 even:dark:nx-bg-gray-600/20",ee),...en}),lw={cards:eF("nextra-cards nx-mt-4 nx-gap-4 nx-grid","nx-not-prose"),card:eF("nextra-card nx-group nx-flex nx-flex-col nx-justify-start nx-overflow-hidden nx-rounded-lg nx-border nx-border-gray-200","nx-text-current nx-no-underline dark:nx-shadow-none","hover:nx-shadow-gray-100 dark:hover:nx-shadow-none nx-shadow-gray-100","active:nx-shadow-sm active:nx-shadow-gray-200","nx-transition-all nx-duration-200 hover:nx-border-gray-300"),title:eF("nx-flex nx-font-semibold nx-items-start nx-gap-2 nx-p-4 nx-text-gray-700 hover:nx-text-gray-900")},lk=(0,eH.jsx)("span",{className:"nx-transition-transform nx-duration-75 group-hover:nx-translate-x-[2px]",children:"→"});Object.assign(function({children:ee,num:en=3,className:er,style:ei,...eo}){return(0,eH.jsx)("div",{className:eF(lw.cards,er),...eo,style:{...ei,"--rows":en},children:ee})},{displayName:"Cards",Card:function({children:ee,title:en,icon:er,image:ei,arrow:eo,href:es,...eu}){let ec=eo?lk:null;return ei?(0,eH.jsxs)(n4(),{href:es,className:eF(lw.card,"nx-bg-gray-100 nx-shadow dark:nx-border-neutral-700 dark:nx-bg-neutral-800 dark:nx-text-gray-50 hover:nx-shadow-lg dark:hover:nx-border-neutral-500 dark:hover:nx-bg-neutral-700"),...eu,children:[ee,(0,eH.jsxs)("span",{className:eF(lw.title,"dark:nx-text-gray-300 dark:hover:nx-text-gray-100"),children:[er,(0,eH.jsxs)("span",{className:"nx-flex nx-gap-1",children:[en,ec]})]})]}):(0,eH.jsx)(n4(),{href:es,className:eF(lw.card,"nx-bg-transparent nx-shadow-sm dark:nx-border-neutral-800 hover:nx-bg-slate-50 hover:nx-shadow-md dark:hover:nx-border-neutral-700 dark:hover:nx-bg-neutral-900"),...eu,children:(0,eH.jsxs)("span",{className:eF(lw.title,"dark:nx-text-neutral-200 dark:hover:nx-text-neutral-50 nx-flex nx-items-center"),children:[er,en,ec]})})}});var l_=(0,eA.createContext)(0);function lj(){return(0,eA.useContext)(l_)}function lE({children:ee}){return(0,eH.jsx)("div",{className:eF("nextra-filetree nx-mt-6 nx-select-none nx-text-sm nx-text-gray-800 dark:nx-text-gray-300","nx-not-prose"),children:(0,eH.jsx)("div",{className:"nx-inline-block nx-rounded-lg nx-border nx-px-4 nx-py-2 dark:nx-border-neutral-800",children:ee})})}function lO(){let ee=lj();return(0,eH.jsx)(eH.Fragment,{children:Array.from({length:ee},(ee,en)=>(0,eH.jsx)("span",{className:"nx-w-5"},en))})}var lT=(0,eA.memo)(({label:ee,name:en,open:er,children:ei,defaultOpen:eo=!1,onToggle:es})=>{let eu=lj(),[ec,ed]=(0,eA.useState)(eo),ef=(0,eA.useCallback)(()=>{es?.(!ec),ed(!ec)},[ec,es]),ep=void 0===er?ec:er;return(0,eH.jsxs)("li",{className:"nx-flex nx-list-none nx-flex-col",children:[(0,eH.jsxs)("button",{onClick:ef,title:en,className:"nx-inline-flex nx-cursor-pointer nx-items-center nx-py-1 hover:nx-opacity-60",children:[(0,eH.jsx)(lO,{}),(0,eH.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,eH.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:ep?"M5 19a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h4l2 2h4a2 2 0 0 1 2 2v1M5 19h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2Z":"M3 7v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-6l-2-2H5a2 2 0 0 0-2 2Z"})}),(0,eH.jsx)("span",{className:"nx-ml-1",children:ee??en})]}),ep&&(0,eH.jsx)("ul",{children:(0,eH.jsx)(l_.Provider,{value:eu+1,children:ei})})]})});lT.displayName="Folder";var lC=(0,eA.memo)(({label:ee,name:en,active:er})=>(0,eH.jsx)("li",{className:eF("nx-flex nx-list-none",er&&"nx-text-primary-600 contrast-more:nx-underline"),children:(0,eH.jsxs)("span",{className:"nx-inline-flex nx-cursor-default nx-items-center nx-py-1",children:[(0,eH.jsx)(lO,{}),(0,eH.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,eH.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707V19a2 2 0 0 1-2 2Z"})}),(0,eH.jsx)("span",{className:"nx-ml-1",children:ee??en})]})}));lC.displayName="File",Object.assign(lE,{Folder:lT,File:lC});var lS=Object.defineProperty,lN=Object.defineProperties,lI=Object.getOwnPropertyDescriptors,lR=Object.getOwnPropertySymbols,lL=Object.prototype.hasOwnProperty,lP=Object.prototype.propertyIsEnumerable,lA=(ee,en,er)=>en in ee?lS(ee,en,{enumerable:!0,configurable:!0,writable:!0,value:er}):ee[en]=er,lM=(ee,en)=>{for(var er in en||(en={}))lL.call(en,er)&&lA(ee,er,en[er]);if(lR)for(var er of lR(en))lP.call(en,er)&&lA(ee,er,en[er]);return ee},lD=(ee,en)=>lN(ee,lI(en)),lF=(ee,en)=>{var er={};for(var ei in ee)lL.call(ee,ei)&&0>en.indexOf(ei)&&(er[ei]=ee[ei]);if(null!=ee&&lR)for(var ei of lR(ee))0>en.indexOf(ei)&&lP.call(ee,ei)&&(er[ei]=ee[ei]);return er},l$=(ee,en,er)=>new Promise((ei,eo)=>{var es=ee=>{try{ec(er.next(ee))}catch(ee){eo(ee)}},eu=ee=>{try{ec(er.throw(ee))}catch(ee){eo(ee)}},ec=ee=>ee.done?ei(ee.value):Promise.resolve(ee.value).then(es,eu);ec((er=er.apply(ee,en)).next())}),lZ=(0,eA.createContext)({}),lz=(0,eA.createContext)(ee=>ee),lU=(0,eA.createContext)(null),lW=new WeakMap,lH=(0,eA.createContext)(lW),lG=()=>(0,eA.useContext)(lZ),lB=()=>(0,eA.useContext)(lz),lV=()=>(0,eA.useContext)(lU),lq=()=>(0,eA.useContext)(lH),lK=({children:ee})=>{let[en,er]=(0,eA.useState)({}),ei=(0,eA.useRef)(null);return uq&&!ei.current&&(ei.current=new IntersectionObserver(ee=>{er(en=>{let er=lM({},en);for(let en of ee)if((null==en?void 0:en.rootBounds)&&lW.has(en.target)){let[ee,ei]=lW.get(en.target),eo=en.boundingClientRect.y+en.boundingClientRect.height<=en.rootBounds.y+en.rootBounds.height,es=en.intersectionRatio>0;er[ee]={index:ei,aboveHalfViewport:eo,insideHalfViewport:es}}let ei="",eo=1/0,es=-1;for(let ee in er)er[ee].isActive=!1,er[ee].insideHalfViewport&&er[ee].indexes&&(es=er[ee].index,ei=ee);return er[ei]&&(er[ei].isActive=!0),er})},{rootMargin:"0px 0px -50%",threshold:[0,1]})),(0,eH.jsx)(lZ.Provider,{value:en,children:(0,eH.jsx)(lz.Provider,{value:er,children:(0,eH.jsx)(lH.Provider,{value:lW,children:(0,eH.jsx)(lU.Provider,{value:ei.current,children:ee})})})})},lJ=(0,eA.createContext)({menu:!1,setMenu:()=>!1}),lQ=()=>(0,eA.useContext)(lJ),lY=lJ.Provider,lX=(0,eA.createContext)(lM({title:"",frontMatter:{}},u2));function l0(){return(0,eA.useContext)(lX)}var l1=({children:ee,value:{themeConfig:en,pageOpts:er}})=>{let[ei,eo]=(0,eA.useState)(!1);eL||(eL=lM(lM({},u2),Object.fromEntries(Object.entries(en).map(([ee,en])=>[ee,en&&"object"==typeof en&&u4.includes(ee)?lM(lM({},u2[ee]),en):en]))));let es=lD(lM(lD(lM({},eL),{flexsearch:er.flexsearch}),"boolean"==typeof er.newNextLinkBehavior&&{newNextLinkBehavior:er.newNextLinkBehavior}),{title:er.title,frontMatter:er.frontMatter}),{nextThemes:eu}=es;return(0,eH.jsx)(rn,{attribute:"class",disableTransitionOnChange:!0,defaultTheme:eu.defaultTheme,storageKey:eu.storageKey,forcedTheme:eu.forcedTheme,children:(0,eH.jsx)(lX.Provider,{value:es,children:(0,eH.jsx)(lY,{value:{menu:ei,setMenu:eo},children:ee})})})},l2=(0,eA.createContext)(ee=>ee),l4=()=>(0,eA.useContext)(l2),l3=l2.Provider,l5=Number(n3.i8.split(".")[0]),l6=(0,eA.forwardRef)(function(ee,en){var er=ee,{href:ei="",children:eo,newWindow:es}=er,eu=lF(er,["href","children","newWindow"]);let ec=l0();return es?(0,eH.jsxs)("a",lD(lM({ref:en,href:ei,target:"_blank",rel:"noreferrer"},eu),{children:[eo,(0,eH.jsx)("span",{className:"nx-sr-only nx-select-none",children:" (opens in a new tab)"})]})):ei?l5>12||ec.newNextLinkBehavior?(0,eH.jsx)(n4(),lD(lM({ref:en,href:ei},eu),{children:eo})):(0,eH.jsx)(n4(),{href:ei,passHref:!0,children:(0,eH.jsx)("a",lD(lM({ref:en},eu),{children:eo}))}):(0,eH.jsx)("a",lD(lM({ref:en},eu),{children:eo}))});l6.displayName="Anchor";var l7=({repository:ee="",title:en,labels:er})=>{let ei=rk()(ee);if(!ei)throw Error("Invalid `docsRepositoryBase` URL!");return ei.resource.includes("gitlab")?`${ei.protocol}://${ei.resource}/${ei.owner}/${ei.name}/-/issues/new?issue[title]=${encodeURIComponent(en)}${er?`&issue[description]=/label${encodeURIComponent(` ~${er} +`)}`:""}`:ei.resource.includes("github")?`${ei.protocol}://${ei.resource}/${ei.owner}/${ei.name}/issues/new?title=${encodeURIComponent(en)}&labels=${er||""}`:"#"};function l8(ee,en){return ee?"function"!=typeof ee?ee:(0,eH.jsx)(ee,lM({},en)):null}function l9(ee,en={}){let er="function"==typeof ee?ee(en):ee;return er||""}function ut(ee){let en=(0,eA.useRef)(null),er=(0,eA.useRef)(null),ei=(0,eA.useRef)(),eo=(0,eA.useCallback)(()=>{var eo;en.current&&er.current&&(null==(eo=ei.current)||eo.call(ei),ei.current=iV(en.current,er.current,ee).destroy)},[en,er,ei,ee]);return(0,eA.useMemo)(()=>[ee=>{en.current=ee,eo()},ee=>{er.current=ee,eo()}],[en,er,eo])}function un(ee=""){let en=l0(),er=rk()(en.docsRepositoryBase||"");if(!er)throw Error("Invalid `docsRepositoryBase` URL!");return`${er.href}/${ee}`}function ur(){let{banner:ee}=l0();if(!ee.text)return null;let en=`try{if(localStorage.getItem(${JSON.stringify(ee.key)})==='0'){document.body.classList.add('nextra-banner-hidden')}}catch(e){}`;return(0,eH.jsxs)(eH.Fragment,{children:[(0,eH.jsx)("script",{dangerouslySetInnerHTML:{__html:en}}),(0,eH.jsxs)("div",{className:eF("nextra-banner-container nx-sticky nx-top-0 nx-z-20 nx-flex nx-items-center md:nx-relative","nx-h-[var(--nextra-banner-height)] [body.nextra-banner-hidden_&]:nx-hidden","nx-text-slate-50 dark:nx-text-white nx-bg-neutral-900 dark:nx-bg-[linear-gradient(1deg,#383838,#212121)]","nx-px-2 ltr:nx-pl-10 rtl:nx-pr-10 print:nx-hidden"),children:[(0,eH.jsx)("div",{className:"nx-w-full nx-truncate nx-px-4 nx-text-center nx-font-medium nx-text-sm",children:l8(ee.text)}),ee.dismissible&&(0,eH.jsx)("button",{type:"button","aria-label":"Dismiss banner",className:"nx-w-8 nx-h-8 nx-opacity-80 hover:nx-opacity-100",onClick:()=>{try{localStorage.setItem(ee.key,"0")}catch(ee){}document.body.classList.add("nextra-banner-hidden")},children:(0,eH.jsx)(e5,{className:"nx-mx-auto nx-h-4 nx-w-4"})})]})]})}function ui({activePath:ee}){return(0,eH.jsx)("div",{className:"nextra-breadcrumb nx-mt-1.5 nx-flex nx-items-center nx-gap-1 nx-overflow-hidden nx-text-sm nx-text-gray-500 dark:nx-text-gray-400 contrast-more:nx-text-current",children:ee.map((en,er)=>{let ei=!en.children||en.withIndexPage,eo=er===ee.length-1;return(0,eH.jsxs)(eA.Fragment,{children:[er>0&&(0,eH.jsx)(eG,{className:"nx-w-3.5 nx-shrink-0"}),(0,eH.jsx)("div",{className:eF("nx-whitespace-nowrap nx-transition-colors",eo?"nx-font-medium nx-text-gray-700 contrast-more:nx-font-bold contrast-more:nx-text-current dark:nx-text-gray-100 contrast-more:dark:nx-text-current":["nx-min-w-[24px] nx-overflow-hidden nx-text-ellipsis",ei&&"hover:nx-text-gray-900 dark:hover:nx-text-gray-100"]),title:en.title,children:ei&&!eo?(0,eH.jsx)(l6,{href:en.route,children:en.title}):en.title})]},en.route+en.name)})})}function uo({children:ee,className:en,isOpen:er,horizontal:ei=!1}){let eo=(0,eA.useRef)(null),es=(0,eA.useRef)(null),eu=(0,eA.useRef)(0),ec=(0,eA.useRef)(er),ed=(0,eA.useRef)(!0);return(0,eA.useEffect)(()=>{let ee=eo.current,en=es.current,ec=eu.current;ec&&clearTimeout(ec),!ed.current&&ee&&en&&(ee.classList.toggle("nx-duration-500",!er),ee.classList.toggle("nx-duration-300",er),ei?(en.style.width=`${en.clientWidth}px`,ee.style.width=`${en.clientWidth}px`):ee.style.height=`${en.clientHeight}px`,er?eu.current=window.setTimeout(()=>{ee.style.removeProperty("height")},300):setTimeout(()=>{ei?ee.style.width="0px":ee.style.height="0px"},0))},[ei,er]),(0,eA.useEffect)(()=>{ed.current=!1},[]),(0,eH.jsx)("div",{ref:eo,className:"nx-transform-gpu nx-overflow-hidden nx-transition-all nx-ease-in-out motion-reduce:nx-transition-none",style:ec.current||ei?void 0:{height:0},children:(0,eH.jsx)("div",{ref:es,className:eF("nx-transition-opacity nx-duration-500 nx-ease-in-out motion-reduce:nx-transition-none",er?"nx-opacity-100":"nx-opacity-0",en),children:ee})})}var us=(0,eA.memo)(function({value:ee,match:en}){let er;if(!ee)return null;let ei=ee.split(""),eo=iJ(en.trim()),es=RegExp(eo.replaceAll(" ","|"),"ig"),eu=0,ec=[];for(;(er=es.exec(ee))&&0!==es.lastIndex;){let ee=ei.splice(0,er.index-eu).join(""),en=ei.splice(0,es.lastIndex-er.index).join("");ec.push(ee,(0,eH.jsx)("span",{className:"nx-text-primary-600",children:en},er.index)),eu=es.lastIndex}return(0,eH.jsxs)(eH.Fragment,{children:[ec,ei.join("")]})}),ul=(0,eA.forwardRef)((ee,en)=>{var er=ee,{className:ei,suffix:eo}=er,es=lF(er,["className","suffix"]);return(0,eH.jsxs)("div",{className:"nx-relative nx-flex nx-items-center nx-text-gray-900 contrast-more:nx-text-gray-800 dark:nx-text-gray-300 contrast-more:dark:nx-text-gray-300",children:[(0,eH.jsx)("input",lM({ref:en,spellCheck:!1,className:eF(ei,"nx-block nx-w-full nx-appearance-none nx-rounded-lg nx-px-3 nx-py-2 nx-transition-colors","nx-text-base nx-leading-tight md:nx-text-sm","nx-bg-black/[.05] dark:nx-bg-gray-50/10","focus:nx-bg-white dark:focus:nx-bg-dark","placeholder:nx-text-gray-500 dark:placeholder:nx-text-gray-400","contrast-more:nx-border contrast-more:nx-border-current")},es)),eo]})});ul.displayName="Input";var uu=["input","select","button","textarea"];function uc({className:ee,overlayClassName:en,value:er,onChange:ei,onActive:eo,loading:es,error:eu,results:ec}){let[ed,ef]=(0,eA.useState)(!1),ep=l0(),[eh,em]=(0,eA.useState)(0),ex=(0,eP.useRouter)(),{setMenu:eg}=lQ(),ev=(0,eA.useRef)(null),ey=(0,eA.useRef)(null),[eb,ew]=(0,eA.useState)(!1),[ek,e_]=(0,eA.useState)(!0);(0,eA.useEffect)(()=>{em(0)},[er]),(0,eA.useEffect)(()=>{let ee=ee=>{let en=document.activeElement,er=null==en?void 0:en.tagName.toLowerCase();!ev.current||!er||uu.includes(er)||null!=en&&en.isContentEditable||("/"===ee.key||"k"===ee.key&&(ee.metaKey||ee.ctrlKey)?(ee.preventDefault(),ev.current.focus({preventScroll:!0})):"Escape"===ee.key&&(ef(!1),ev.current.blur()))};return window.addEventListener("keydown",ee),()=>{window.removeEventListener("keydown",ee)}},[]);let ej=(0,eA.useCallback)(()=>{var ee;null==(ee=ev.current)||ee.blur(),ei(""),ef(!1),eg(!1)},[ei,eg]),eE=(0,eA.useCallback)(ee=>{let{index:en}=ee.currentTarget.dataset;em(Number(en))},[]),eO=(0,eA.useCallback)(function(ee){var en,er,ei;switch(ee.key){case"ArrowDown":if(eh+1 a`);er&&(ee.preventDefault(),eE({currentTarget:er}),er.focus())}break;case"ArrowUp":if(eh-1>=0){let en=null==(er=ey.current)?void 0:er.querySelector(`li:nth-of-type(${eh}) > a`);en&&(ee.preventDefault(),eE({currentTarget:en}),en.focus())}break;case"Enter":{let ee=ec[eh];ee&&ek&&(ex.push(ee.route),ej());break}case"Escape":ef(!1),null==(ei=ev.current)||ei.blur()}},[eh,ec,ex,ej,eE,ek]),eT=e$(),eC=ed&&!!er,eS=(0,eH.jsx)(aV,{show:eT&&(!ed||!!er),as:eA.Fragment,enter:"nx-transition-opacity",enterFrom:"nx-opacity-0",enterTo:"nx-opacity-100",leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,eH.jsx)("kbd",{className:eF("nx-absolute nx-my-1.5 nx-select-none ltr:nx-right-1.5 rtl:nx-left-1.5","nx-h-5 nx-rounded nx-bg-white nx-px-1.5 nx-font-mono nx-text-[10px] nx-font-medium nx-text-gray-500","nx-border dark:nx-border-gray-100/20 dark:nx-bg-dark/50","contrast-more:nx-border-current contrast-more:nx-text-current contrast-more:dark:nx-border-current","nx-items-center nx-gap-1 nx-transition-opacity",er?"nx-z-20 nx-flex nx-cursor-pointer hover:nx-opacity-70":"nx-pointer-events-none nx-hidden sm:nx-flex"),title:er?"Clear":void 0,onClick:()=>{ei("")},children:er&&eb?"ESC":eT&&(navigator.userAgent.includes("Macintosh")?(0,eH.jsxs)(eH.Fragment,{children:[(0,eH.jsx)("span",{className:"nx-text-xs",children:"⌘"}),"K"]}):"CTRL K")})}),eN=(0,eA.useCallback)(ee=>{e_("compositionend"===ee.type)},[]);return(0,eH.jsxs)("div",{className:eF("nextra-search nx-relative md:nx-w-64",ee),children:[eC&&(0,eH.jsx)("div",{className:"nx-fixed nx-inset-0 nx-z-10",onClick:()=>ef(!1)}),(0,eH.jsx)(ul,{ref:ev,value:er,onChange:ee=>{let{value:en}=ee.target;ei(en),ef(!!en)},onFocus:()=>{null==eo||eo(!0),ew(!0)},onBlur:()=>{ew(!1)},onCompositionStart:eN,onCompositionEnd:eN,type:"search",placeholder:l9(ep.search.placeholder),onKeyDown:eO,suffix:eS}),(0,eH.jsx)(aV,{show:eC,as:aV.Child,leave:"nx-transition-opacity nx-duration-100",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,eH.jsx)("ul",{className:eF("nextra-scrollbar","nx-border nx-border-gray-200 nx-bg-white nx-text-gray-100 dark:nx-border-neutral-800 dark:nx-bg-neutral-900","nx-absolute nx-top-full nx-z-20 nx-mt-2 nx-overflow-auto nx-overscroll-contain nx-rounded-xl nx-py-2.5 nx-shadow-xl","nx-max-h-[min(calc(50vh-11rem-env(safe-area-inset-bottom)),400px)]","md:nx-max-h-[min(calc(100vh-5rem-env(safe-area-inset-bottom)),400px)]","nx-inset-x-0 ltr:md:nx-left-auto rtl:md:nx-right-auto","contrast-more:nx-border contrast-more:nx-border-gray-900 contrast-more:dark:nx-border-gray-50",en),ref:ey,style:{transition:"max-height .2s ease"},children:eu?(0,eH.jsxs)("span",{className:"nx-flex nx-select-none nx-justify-center nx-gap-2 nx-p-8 nx-text-center nx-text-sm nx-text-red-500",children:[(0,eH.jsx)(eX,{className:"nx-h-5 nx-w-5"}),l9(ep.search.error)]}):es?(0,eH.jsxs)("span",{className:"nx-flex nx-select-none nx-justify-center nx-gap-2 nx-p-8 nx-text-center nx-text-sm nx-text-gray-400",children:[(0,eH.jsx)(e2,{className:"nx-h-5 nx-w-5 nx-animate-spin"}),l8(ep.search.loading)]}):ec.length>0?ec.map(({route:ee,prefix:en,children:er,id:ei},eo)=>(0,eH.jsxs)(eA.Fragment,{children:[en,(0,eH.jsx)("li",{className:eF("nx-mx-2.5 nx-break-words nx-rounded-md","contrast-more:nx-border",eo===eh?"nx-bg-primary-500/10 nx-text-primary-600 contrast-more:nx-border-primary-500":"nx-text-gray-800 contrast-more:nx-border-transparent dark:nx-text-gray-300"),children:(0,eH.jsx)(l6,{className:"nx-block nx-scroll-m-12 nx-px-2.5 nx-py-2",href:ee,"data-index":eo,onFocus:eE,onMouseMove:eE,onClick:ej,onKeyDown:eO,children:er})})]},ei)):l8(ep.search.emptyResult)})})]})}var ud={},uf=new Map,up=(ee,en)=>{let er=ee+"@"+en;if(uf.has(er))return uf.get(er);let ei=uh(ee,en);return uf.set(er,ei),ei},uh=(ee,en)=>l$(void 0,null,function*(){let er=yield fetch(`${ee}/_next/static/chunks/nextra-data-${en}.json`),ei=yield er.json(),eo=new(iK()).Document({cache:100,tokenize:"full",document:{id:"id",index:"content",store:["title"]},context:{resolution:9,depth:2,bidirectional:!0}}),es=new(iK()).Document({cache:100,tokenize:"full",document:{id:"id",index:"content",tag:"pageId",store:["title","content","url","display"]},context:{resolution:9,depth:2,bidirectional:!0}}),eu=0;for(let[ee,en]of Object.entries(ei)){let er="";for(let[ei,eo]of(++eu,Object.entries(en.data))){let[ec,ed]=ei.split("#"),ef=ee+(ec?"#"+ec:""),ep=ed||en.title,eh=eo.split("\n");es.add(lM({id:ef,url:ef,title:ep,pageId:`page_${eu}`,content:ep},eh[0]&&{display:eh[0]}));for(let ee=0;ee{var er,ei;if(!ee)return;let[eo,es]=ud[en],eu=(null==(er=eo.search(ee,5,{enrich:!0,suggest:!0})[0])?void 0:er.result)||[],ec=[],ef={};for(let en=0;enee._page_rk===en._page_rk?ee._section_rk-en._section_rk:ef[ee._page_rk]!==ef[en._page_rk]?ef[en._page_rk]-ef[ee._page_rk]:ee._page_rk-en._page_rk).map(ee=>({id:`${ee._page_rk}_${ee._section_rk}`,route:ee.route,prefix:ee.prefix,children:ee.children})))},em=(0,eA.useCallback)(ee=>l$(this,null,function*(){if(ee&&!ud[en]){eo(!0);try{yield up(er,en)}catch(ee){eu(!0)}eo(!1)}}),[en,er]),ex=ee=>l$(this,null,function*(){if(ep(ee),!ei){if(!ud[en]){eo(!0);try{yield up(er,en)}catch(ee){eu(!0)}eo(!1)}eh(ee)}});return(0,eH.jsx)(uc,{loading:ei,error:es,value:ef,onChange:ex,onActive:em,className:ee,overlayClassName:"nx-w-screen nx-min-h-[100px] nx-max-w-[min(calc(100vw-2rem),calc(100%+20rem))]",results:ec})}function ux({options:ee,selected:en,onChange:er,title:ei,className:eo}){let[es,eu]=ut({strategy:"fixed",placement:"top-start",modifiers:[{name:"offset",options:{offset:[0,10]}},{name:"sameWidth",enabled:!0,fn({state:ee}){ee.styles.popper.minWidth=`${ee.rects.reference.width}px`},phase:"beforeWrite",requires:["computeStyles"]}]});return(0,eH.jsx)(oQ,{value:en,onChange:er,children:({open:er})=>(0,eH.jsxs)(oQ.Button,{ref:es,title:ei,className:eF("nx-h-7 nx-rounded-md nx-px-2 nx-text-left nx-text-xs nx-font-medium nx-text-gray-600 nx-transition-colors dark:nx-text-gray-400",er?"nx-bg-gray-200 nx-text-gray-900 dark:nx-bg-primary-100/10 dark:nx-text-gray-50":"hover:nx-bg-gray-100 hover:nx-text-gray-900 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50",eo),children:[en.name,(0,eH.jsx)(ug,{children:(0,eH.jsx)(aV,{ref:eu,show:er,as:oQ.Options,className:"nx-z-20 nx-max-h-64 nx-overflow-auto nx-rounded-md nx-ring-1 nx-ring-black/5 nx-bg-white nx-py-1 nx-text-sm nx-shadow-lg dark:nx-ring-white/20 dark:nx-bg-neutral-800",leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:ee.map(ee=>(0,eH.jsxs)(oQ.Option,{value:ee,className:({active:ee})=>eF(ee?"nx-bg-primary-50 nx-text-primary-600 dark:nx-bg-primary-500/10":"nx-text-gray-800 dark:nx-text-gray-100","nx-relative nx-cursor-pointer nx-whitespace-nowrap nx-py-1.5","nx-transition-colors ltr:nx-pl-3 ltr:nx-pr-9 rtl:nx-pr-3 rtl:nx-pl-9"),children:[ee.name,ee.key===en.key&&(0,eH.jsx)("span",{className:"nx-absolute nx-inset-y-0 nx-flex nx-items-center ltr:nx-right-3 rtl:nx-left-3",children:(0,eH.jsx)(eB,{})})]},ee.key))})})]})})}function ug(ee){let en=e$();return en?(0,oY.createPortal)(ee.children,document.body):null}function uv({lite:ee,className:en}){let er=l0(),{locale:ei,asPath:eo}=(0,eP.useRouter)(),es=er.i18n;if(!es.length)return null;let eu=es.find(ee=>ei===ee.locale);return(0,eH.jsx)(ux,{title:"Change language",className:en,onChange:ee=>{let en=new Date(Date.now()+31536e6);document.cookie=`NEXT_LOCALE=${ee.key}; expires=${en.toUTCString()}; path=/`,location.href=(0,aq.addBasePath)(eo)},selected:{key:(null==eu?void 0:eu.locale)||"",name:(0,eH.jsxs)("span",{className:"nx-flex nx-items-center nx-gap-2",children:[(0,eH.jsx)(eY,{}),(0,eH.jsx)("span",{className:ee?"nx-hidden":"",children:null==eu?void 0:eu.text})]})},options:es.map(ee=>({key:ee.locale,name:ee.text}))})}function uy({menu:ee}){let en=l0();return(0,eH.jsxs)("footer",{className:"nx-bg-gray-100 nx-pb-[env(safe-area-inset-bottom)] dark:nx-bg-neutral-900 print:nx-bg-transparent",children:[(0,eH.jsxs)("div",{className:eF("nx-mx-auto nx-flex nx-max-w-[90rem] nx-gap-2 nx-py-2 nx-px-4",ee&&(en.i18n.length>0||en.darkMode)?"nx-flex":"nx-hidden"),children:[(0,eH.jsx)(uv,{}),en.darkMode&&l8(en.themeSwitch.component)]}),(0,eH.jsx)("hr",{className:"dark:nx-border-neutral-800"}),(0,eH.jsx)("div",{className:eF("nx-mx-auto nx-flex nx-max-w-[90rem] nx-justify-center nx-py-12 nx-text-gray-600 dark:nx-text-gray-400 md:nx-justify-start","nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]"),children:l8(en.footer.text)})]})}function ub(){var ee;let en=l0(),{resolvedTheme:er}=rt(),ei=e$(),eo="function"==typeof en.head?en.head({}):en.head,{primaryHue:es,primarySaturation:eu}=en,{dark:ec,light:ed}="number"==typeof es?{dark:es,light:es}:es,{dark:ef,light:ep}="number"==typeof eu?{dark:eu,light:eu}:eu,eh=en.frontMatter;return(0,eH.jsxs)(eH.Fragment,{children:[(0,eH.jsx)(o9,lM({title:en.title,description:eh.description,canonical:eh.canonical,openGraph:eh.openGraph},null==(ee=en.useNextSeoProps)?void 0:ee.call(en))),(0,eH.jsxs)(o0(),{children:[en.faviconGlyph?(0,eH.jsx)("link",{rel:"icon",href:`data:image/svg+xml;utf8,${en.faviconGlyph}`}):null,ei?(0,eH.jsx)("meta",{name:"theme-color",content:"dark"===er?"#111":"#fff"}):(0,eH.jsxs)(eH.Fragment,{children:[(0,eH.jsx)("meta",{name:"theme-color",content:"#fff",media:"(prefers-color-scheme: light)"}),(0,eH.jsx)("meta",{name:"theme-color",content:"#111",media:"(prefers-color-scheme: dark)"})]}),(0,eH.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, viewport-fit=cover"}),(0,eH.jsx)("style",{children:` + :root { + --nextra-primary-hue: ${ed}deg; + --nextra-primary-saturation: ${ep}%; + --nextra-navbar-height: 4rem; + --nextra-menu-height: 3.75rem; + --nextra-banner-height: 2.5rem; + } + + .dark { + --nextra-primary-hue: ${ec}deg; + --nextra-primary-saturation: ${ef}%; + } + `}),eo]})]})}var uw={link:eF("nx-flex nx-max-w-[50%] nx-items-center nx-gap-1 nx-py-4 nx-text-base nx-font-medium nx-text-gray-600 nx-transition-colors [word-break:break-word] hover:nx-text-primary-600 dark:nx-text-gray-300 md:nx-text-lg"),icon:eF("nx-inline nx-h-5 nx-shrink-0")},uk=({flatDirectories:ee,currentIndex:en})=>{let er=l0(),ei=er.navigation,eo="boolean"==typeof ei?{prev:ei,next:ei}:ei,es=eo.prev&&ee[en-1],eu=eo.next&&ee[en+1];return(es&&!es.isUnderCurrentDocsTree&&(es=!1),eu&&!eu.isUnderCurrentDocsTree&&(eu=!1),es||eu)?(0,eH.jsxs)("div",{className:eF("nx-mb-8 nx-flex nx-items-center nx-border-t nx-pt-8 dark:nx-border-neutral-800","contrast-more:nx-border-neutral-400 dark:contrast-more:nx-border-neutral-400","print:nx-hidden"),children:[es&&(0,eH.jsxs)(l6,{href:es.route,title:es.title,className:eF(uw.link,"ltr:nx-pr-4 rtl:nx-pl-4"),children:[(0,eH.jsx)(eG,{className:eF(uw.icon,"ltr:nx-rotate-180")}),es.title]}),eu&&(0,eH.jsxs)(l6,{href:eu.route,title:eu.title,className:eF(uw.link,"ltr:nx-ml-auto ltr:nx-pl-4 ltr:nx-text-right rtl:nx-mr-auto rtl:nx-pr-4 rtl:nx-text-left"),children:[eu.title,(0,eH.jsx)(eG,{className:eF(uw.icon,"rtl:nx-rotate-180")})]})]}):null},u_={link:eF("nx-text-sm contrast-more:nx-text-gray-700 contrast-more:dark:nx-text-gray-100"),active:eF("nx-font-medium nx-subpixel-antialiased"),inactive:eF("nx-text-gray-600 hover:nx-text-gray-800 dark:nx-text-gray-400 dark:hover:nx-text-gray-200")};function uj({className:ee,menu:en,children:er}){let{items:ei}=en,eo=Object.fromEntries((en.children||[]).map(ee=>[ee.name,ee]));return(0,eH.jsx)("div",{className:"nx-relative nx-inline-block",children:(0,eH.jsxs)(sw,{children:[(0,eH.jsx)(sw.Button,{className:eF(ee,"-nx-ml-2 nx-hidden nx-items-center nx-whitespace-nowrap nx-rounded nx-p-2 md:nx-inline-flex",u_.inactive),children:er}),(0,eH.jsx)(aV,{leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,eH.jsx)(sw.Items,{className:"nx-absolute nx-right-0 nx-z-20 nx-mt-1 nx-max-h-64 nx-min-w-full nx-overflow-auto nx-rounded-md nx-ring-1 nx-ring-black/5 nx-bg-white nx-py-1 nx-text-sm nx-shadow-lg dark:nx-ring-white/20 dark:nx-bg-neutral-800",tabIndex:0,children:Object.entries(ei||{}).map(([ee,er])=>{var ei;return(0,eH.jsx)(sw.Item,{children:(0,eH.jsx)(l6,{href:er.href||(null==(ei=eo[ee])?void 0:ei.route)||en.route+"/"+ee,className:eF("nx-relative nx-hidden nx-w-full nx-select-none nx-whitespace-nowrap nx-text-gray-600 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-100 md:nx-inline-block","nx-py-1.5 nx-transition-colors ltr:nx-pl-3 ltr:nx-pr-9 rtl:nx-pr-3 rtl:nx-pl-9"),newWindow:er.newWindow,children:er.title||ee})},ee)})})})]})})}function uE({flatDirectories:ee,items:en}){let er=l0(),ei=eU(),{menu:eo,setMenu:es}=lQ();return(0,eH.jsxs)("div",{className:"nextra-nav-container nx-sticky nx-top-0 nx-z-20 nx-w-full nx-bg-transparent print:nx-hidden",children:[(0,eH.jsx)("div",{className:eF("nextra-nav-container-blur","nx-pointer-events-none nx-absolute nx-z-[-1] nx-h-full nx-w-full nx-bg-white dark:nx-bg-dark","nx-shadow-[0_2px_4px_rgba(0,0,0,.02),0_1px_0_rgba(0,0,0,.06)] dark:nx-shadow-[0_-1px_0_rgba(255,255,255,.1)_inset]","contrast-more:nx-shadow-[0_0_0_1px_#000] contrast-more:dark:nx-shadow-[0_0_0_1px_#fff]")}),(0,eH.jsxs)("nav",{className:"nx-mx-auto nx-flex nx-h-[var(--nextra-navbar-height)] nx-max-w-[90rem] nx-items-center nx-justify-end nx-gap-2 nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]",children:[er.logoLink?(0,eH.jsx)(l6,{href:"string"==typeof er.logoLink?er.logoLink:"/",className:"nx-flex nx-items-center hover:nx-opacity-75 ltr:nx-mr-auto rtl:nx-ml-auto",children:l8(er.logo)}):(0,eH.jsx)("div",{className:"nx-flex nx-items-center ltr:nx-mr-auto rtl:nx-ml-auto",children:l8(er.logo)}),en.map(ee=>{if("hidden"===ee.display)return null;if("menu"===ee.type){let en=ee;return(0,eH.jsxs)(uj,{className:eF(u_.link,"nx-flex nx-gap-1",u_.inactive),menu:en,children:[en.title,(0,eH.jsx)(eG,{className:"nx-h-[18px] nx-min-w-[18px] nx-rounded-sm nx-p-0.5",pathClassName:"nx-origin-center nx-transition-transform nx-rotate-90"})]},en.title)}let en=ee,er=en.href||en.route||"#";en.children&&(er=(en.withIndexPage?en.route:en.firstChildRoute)||er);let eo=en.route===ei||ei.startsWith(en.route+"/");return(0,eH.jsxs)(l6,{href:er,className:eF(u_.link,"nx-relative -nx-ml-2 nx-hidden nx-whitespace-nowrap nx-p-2 md:nx-inline-block",!eo||en.newWindow?u_.inactive:u_.active),newWindow:en.newWindow,"aria-current":!en.newWindow&&eo,children:[(0,eH.jsx)("span",{className:"nx-absolute nx-inset-x-0 nx-text-center",children:en.title}),(0,eH.jsx)("span",{className:"nx-invisible nx-font-medium",children:en.title})]},er)}),l8(er.search.component,{directories:ee,className:"nx-hidden md:nx-inline-block mx-min-w-[200px]"}),er.project.link?(0,eH.jsx)(l6,{className:"nx-p-2 nx-text-current",href:er.project.link,newWindow:!0,children:l8(er.project.icon)}):null,er.chat.link?(0,eH.jsx)(l6,{className:"nx-p-2 nx-text-current",href:er.chat.link,newWindow:!0,children:l8(er.chat.icon)}):null,l8(er.navbar.extraContent),(0,eH.jsx)("button",{type:"button","aria-label":"Menu",className:"nextra-hamburger -nx-mr-2 nx-rounded nx-p-2 active:nx-bg-gray-400/20 md:nx-hidden",onClick:()=>es(!eo),children:(0,eH.jsx)(e0,{className:eF({open:eo})})})]})]})}var uO=Object.create(null),uT=(0,eA.createContext)(null),uC=(0,eA.createContext)(null),uS=(0,eA.createContext)(0),uN=(0,eA.memo)(function(ee){let en=(0,eA.useContext)(uS);return(0,eH.jsx)(uS.Provider,{value:en+1,children:(0,eH.jsx)(uR,lM({},ee))})}),uI={link:eF("nx-flex nx-rounded nx-px-2 nx-py-1.5 nx-text-sm nx-transition-colors [word-break:break-word]","nx-cursor-pointer [-webkit-tap-highlight-color:transparent] [-webkit-touch-callout:none] contrast-more:nx-border"),inactive:eF("nx-text-gray-500 hover:nx-bg-gray-100 hover:nx-text-gray-900","dark:nx-text-neutral-400 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50","contrast-more:nx-text-gray-900 contrast-more:dark:nx-text-gray-50","contrast-more:nx-border-transparent contrast-more:hover:nx-border-gray-900 contrast-more:dark:hover:nx-border-gray-50"),active:eF("nx-bg-primary-100 nx-font-semibold nx-text-primary-800 dark:nx-bg-primary-400/10 dark:nx-text-primary-600","contrast-more:nx-border-primary-500 contrast-more:dark:nx-border-primary-500"),list:eF("nx-flex nx-flex-col nx-gap-1"),border:eF("nx-relative before:nx-absolute before:nx-inset-y-1",'before:nx-w-px before:nx-bg-gray-200 before:nx-content-[""] dark:before:nx-bg-neutral-800',"ltr:nx-pl-3 ltr:before:nx-left-0 rtl:nx-pr-3 rtl:before:nx-right-0")};function uR({item:ee,anchors:en}){let er=eU(),[ei]=er.split("#"),eo=[ei,ei+"/"].includes(ee.route+"/"),es=eo||ei.startsWith(ee.route+"/"),eu=(0,eA.useContext)(uT),ec=!!(null==eu?void 0:eu.startsWith(ee.route+"/")),ed=(0,eA.useContext)(uS),{setMenu:ef}=lQ(),ep=l0(),{theme:eh}=ee,em=void 0===uO[ee.route]?eo||es||ec||(eh&&"collapsed"in eh?!eh.collapsed:ed{let en=()=>{(es||ec)&&(uO[ee.route]=!0)},er=()=>{es&&ec?uO[ee.route]=!0:delete uO[ee.route]};ep.sidebar.autoCollapse?er():en()},[es,ec,ee.route,ep.sidebar.autoCollapse]),"menu"===ee.type){let en=ee,er=Object.fromEntries((en.children||[]).map(ee=>[ee.name,ee]));ee.children=Object.entries(en.items||{}).map(([ee,ei])=>{let eo=er[ee]||lD(lM({name:ee},"locale"in en&&{locale:en.locale}),{route:en.route+"/"+ee});return lM(lM({},eo),ei)})}let eg="withIndexPage"in ee&&ee.withIndexPage,ev=eg?l6:"button";return(0,eH.jsxs)("li",{className:eF({open:em,active:eo}),children:[(0,eH.jsxs)(ev,{href:eg?ee.route:void 0,className:eF("nx-items-center nx-justify-between nx-gap-2",!eg&&"nx-text-left nx-w-full",uI.link,eo?uI.active:uI.inactive),onClick:en=>{let er=["svg","path"].includes(en.target.tagName.toLowerCase());if(er&&en.preventDefault(),eg){eo||er?uO[ee.route]=!em:(uO[ee.route]=!0,ef(!1)),ex({});return}eo||(uO[ee.route]=!em,ex({}))},children:[l8(ep.sidebar.titleComponent,{title:ee.title,type:ee.type,route:ee.route}),(0,eH.jsx)(eG,{className:"nx-h-[18px] nx-min-w-[18px] nx-rounded-sm nx-p-0.5 hover:nx-bg-gray-800/5 dark:hover:nx-bg-gray-100/5",pathClassName:eF("nx-origin-center nx-transition-transform rtl:-nx-rotate-180",em&&"ltr:nx-rotate-90 rtl:nx-rotate-[-270deg]")})]}),(0,eH.jsx)(uo,{className:"ltr:nx-pr-0 rtl:nx-pl-0 nx-pt-1",isOpen:em,children:Array.isArray(ee.children)?(0,eH.jsx)(uA,{className:eF(uI.border,"ltr:nx-ml-3 rtl:nx-mr-3"),directories:ee.children,base:ee.route,anchors:en}):null})]})}function uL({title:ee}){let en=l0();return(0,eH.jsx)("li",{className:eF("[word-break:break-word]",ee?"nx-mt-5 nx-mb-2 nx-px-2 nx-py-1.5 nx-text-sm nx-font-semibold nx-text-gray-900 first:nx-mt-0 dark:nx-text-gray-100":"nx-my-4"),children:ee?l8(en.sidebar.titleComponent,{title:ee,type:"separator",route:""}):(0,eH.jsx)("hr",{className:"nx-mx-2 nx-border-t nx-border-gray-200 dark:nx-border-primary-100/10"})})}function uP({item:ee,anchors:en}){let er=eU(),ei=(0,eA.useContext)(uC),eo=ee.route&&[er,er+"/"].includes(ee.route+"/"),es=lG(),{setMenu:eu}=lQ(),ec=l0();return"separator"===ee.type?(0,eH.jsx)(uL,{title:ee.title}):(0,eH.jsxs)("li",{className:eF(uI.list,{active:eo}),children:[(0,eH.jsx)(l6,{href:ee.href||ee.route,newWindow:ee.newWindow,className:eF(uI.link,eo?uI.active:uI.inactive),onClick:()=>{eu(!1)},onFocus:()=>{null==ei||ei(ee.route)},onBlur:()=>{null==ei||ei(null)},children:l8(ec.sidebar.titleComponent,{title:ee.title,type:ee.type,route:ee.route})}),eo&&en.length>0&&(0,eH.jsx)("ul",{className:eF(uI.list,uI.border,"ltr:nx-ml-3 rtl:nx-mr-3"),children:en.map(({id:ee,value:en})=>{var er;return(0,eH.jsx)("li",{children:(0,eH.jsx)("a",{href:`#${ee}`,className:eF(uI.link,'nx-flex nx-gap-2 before:nx-opacity-25 before:nx-content-["#"]',(null==(er=es[ee])?void 0:er.isActive)?uI.active:uI.inactive),onClick:()=>{eu(!1)},children:en})},ee)})})]})}function uA({directories:ee,anchors:en,className:er,onlyCurrentDocs:ei}){return(0,eH.jsx)("ul",{className:eF(uI.list,er),children:ee.map(ee=>!ei||ee.isUnderCurrentDocsTree?"menu"===ee.type||ee.children&&(ee.children.length||!ee.withIndexPage)?(0,eH.jsx)(uN,{item:ee,anchors:en},ee.name):(0,eH.jsx)(uP,{item:ee,anchors:en},ee.name):null)})}function uM({docsDirectories:ee,flatDirectories:en,fullDirectories:er,asPopover:ei=!1,headings:eo,includePlaceholder:es}){let eu=l0(),{menu:ec,setMenu:ed}=lQ(),ef=(0,eP.useRouter)(),[ep,eh]=(0,eA.useState)(null),[em,ex]=(0,eA.useState)(!0),[eg,ev]=(0,eA.useState)(!1),ey=(0,eA.useMemo)(()=>eo.filter(ee=>2===ee.depth),[eo]),eb=(0,eA.useRef)(null),ew=(0,eA.useRef)(null),ek=e$();(0,eA.useEffect)(()=>{ec?document.body.classList.add("nx-overflow-hidden","md:nx-overflow-auto"):document.body.classList.remove("nx-overflow-hidden","md:nx-overflow-auto")},[ec]),(0,eA.useEffect)(()=>{var ee;let en=null==(ee=eb.current)?void 0:ee.querySelector("li.active");if(en&&(window.innerWidth>767||ec)){let ee=()=>{sS(en,{block:"center",inline:"center",scrollMode:"always",boundary:ew.current})};ec?setTimeout(ee,300):ee()}},[ec]),(0,eA.useEffect)(()=>{ed(!1)},[ef.asPath,ed]);let e_=eu.i18n.length>0,ej=eu.darkMode||e_||eu.sidebar.toggleButton;return(0,eH.jsxs)(eH.Fragment,{children:[es&&ei?(0,eH.jsx)("div",{className:"max-xl:nx-hidden nx-h-0 nx-w-64 nx-shrink-0"}):null,(0,eH.jsx)("div",{className:eF("motion-reduce:nx-transition-none [transition:background-color_1.5s_ease]",ec?"nx-fixed nx-inset-0 nx-z-10 nx-bg-black/80 dark:nx-bg-black/60":"nx-bg-transparent"),onClick:()=>ed(!1)}),(0,eH.jsxs)("aside",{className:eF("nextra-sidebar-container nx-flex nx-flex-col","md:nx-top-16 md:nx-shrink-0 motion-reduce:nx-transform-none","nx-transform-gpu nx-transition-all nx-ease-in-out","print:nx-hidden",em?"md:nx-w-64":"md:nx-w-20",ei?"md:nx-hidden":"md:nx-sticky md:nx-self-start",ec?"max-md:[transform:translate3d(0,0,0)]":"max-md:[transform:translate3d(0,-100%,0)]"),ref:ew,children:[(0,eH.jsx)("div",{className:"nx-px-4 nx-pt-4 md:nx-hidden",children:l8(eu.search.component,{directories:en})}),(0,eH.jsx)(uT.Provider,{value:ep,children:(0,eH.jsx)(uC.Provider,{value:ee=>{eh(ee)},children:(0,eH.jsxs)("div",{className:eF("nx-overflow-y-auto nx-overflow-x-hidden","nx-p-4 nx-grow md:nx-h-[calc(100vh-var(--nextra-navbar-height)-var(--nextra-menu-height))]",em?"nextra-scrollbar":"no-scrollbar"),ref:eb,children:[(!ei||!em)&&(0,eH.jsx)(uo,{isOpen:em,horizontal:!0,children:(0,eH.jsx)(uA,{className:"nextra-menu-desktop max-md:nx-hidden",directories:ee,anchors:eu.toc.float?[]:ey,onlyCurrentDocs:!0})}),ek&&window.innerWidth<768&&(0,eH.jsx)(uA,{className:"nextra-menu-mobile md:nx-hidden",directories:er,anchors:ey})]})})}),ej&&(0,eH.jsxs)("div",{className:eF("nx-sticky nx-bottom-0","nx-bg-white dark:nx-bg-dark","nx-mx-4 nx-py-4 nx-shadow-[0_-12px_16px_#fff]","nx-flex nx-items-center nx-gap-2","dark:nx-border-neutral-800 dark:nx-shadow-[0_-12px_16px_#111]","contrast-more:nx-border-neutral-400 contrast-more:nx-shadow-none contrast-more:dark:nx-shadow-none",em?eF(e_&&"nx-justify-end","nx-border-t"):"nx-py-4 nx-flex-wrap nx-justify-center"),"data-toggle-animation":eg?em?"show":"hide":"off",children:[(0,eH.jsx)(uv,{lite:!em,className:eF(em?"nx-grow":"max-md:nx-grow")}),eu.darkMode&&(0,eH.jsx)("div",{className:em&&!e_?"nx-grow nx-flex nx-flex-col":"",children:l8(eu.themeSwitch.component,{lite:!em||e_})}),eu.sidebar.toggleButton&&(0,eH.jsx)("button",{title:em?"Hide sidebar":"Show sidebar",className:"max-md:nx-hidden nx-h-7 nx-rounded-md nx-transition-colors nx-text-gray-600 dark:nx-text-gray-400 nx-px-2 hover:nx-bg-gray-100 hover:nx-text-gray-900 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50",onClick:()=>{ex(!em),ev(!0)},children:(0,eH.jsx)(eJ,{isOpen:em})})]})]})]})}var uD="reach-skip-nav",uF="Skip to content";(0,eA.forwardRef)(function(ee,en){var er=ee,{className:ei,id:eo,label:es=uF,styled:eu}=er,ec=lF(er,["className","id","label","styled"]);let ed=void 0===ei?eu?eF("nx-sr-only","focus:nx-not-sr-only focus:nx-fixed focus:nx-z-50 focus:nx-m-3 focus:nx-ml-4 focus:nx-h-[calc(var(--nextra-navbar-height)-1.5rem)] focus:nx-rounded-lg focus:nx-border focus:nx-px-3 focus:nx-py-2 focus:nx-align-middle focus:nx-text-sm focus:nx-font-bold","focus:nx-text-gray-900 focus:dark:nx-text-gray-100","focus:nx-bg-white focus:dark:nx-bg-neutral-900","focus:nx-border-neutral-400 focus:dark:nx-border-neutral-800"):"":ei;return(0,eH.jsx)("a",lD(lM({},ec),{ref:en,href:`#${eo||uD}`,className:ed,"data-reach-skip-link":"",children:es}))}).displayName="SkipNavLink";var u$=(0,eA.forwardRef)(function(ee,en){var er=ee,{id:ei}=er,eo=lF(er,["id"]);return(0,eH.jsx)("div",lD(lM({},eo),{ref:en,id:ei||uD}))});u$.displayName="SkipNavContent";var uZ=n1.strictObject({light:n1.string(),dark:n1.string(),system:n1.string()});function uz({lite:ee,className:en}){let{setTheme:er,resolvedTheme:ei,theme:eo=""}=rt(),es=e$(),eu=l0().themeSwitch,ec=es&&"dark"===ei?e1:e4,ed="function"==typeof eu.useOptions?eu.useOptions():eu.useOptions;return(0,eH.jsx)(ux,{className:en,title:"Change theme",options:[{key:"light",name:ed.light},{key:"dark",name:ed.dark},{key:"system",name:ed.system}],onChange:ee=>{er(ee.key)},selected:{key:eo,name:(0,eH.jsxs)("div",{className:"nx-flex nx-items-center nx-gap-2 nx-capitalize",children:[(0,eH.jsx)(ec,{}),(0,eH.jsx)("span",{className:ee?"md:nx-hidden":"",children:es?ed[eo]:ed.light})]})}})}function uU(){window.scrollTo({top:0,behavior:"smooth"})}function uW({className:ee}){let en=(0,eA.useRef)(null);return(0,eA.useEffect)(()=>{function ee(){var ee;let{scrollTop:er}=document.documentElement;null==(ee=en.current)||ee.classList.toggle("nx-opacity-0",er<300)}return window.addEventListener("scroll",ee),()=>{window.removeEventListener("scroll",ee)}},[]),(0,eH.jsxs)("button",{ref:en,"aria-hidden":"true",onClick:uU,className:eF("nx-flex nx-items-center nx-gap-1.5 nx-transition nx-opacity-0",ee),children:["Scroll to top",(0,eH.jsx)(eG,{className:"-nx-rotate-90 nx-w-3.5 nx-h-3.5 nx-border nx-rounded-full nx-border-current"})]})}var uH=eF("nx-text-xs nx-font-medium nx-text-gray-500 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-100","contrast-more:nx-text-gray-800 contrast-more:dark:nx-text-gray-50");function uG({headings:ee,filePath:en}){var er;let ei=lG(),eo=l0(),es=(0,eA.useRef)(null),eu=(0,eA.useMemo)(()=>ee.filter(ee=>ee.depth>1),[ee]),ec=eu.length>0,ed=!!(eo.feedback.content||eo.editLink.component||eo.toc.extraContent),ef=null==(er=Object.entries(ei).find(([,{isActive:ee}])=>ee))?void 0:er[0];return(0,eA.useEffect)(()=>{var ee;if(!ef)return;let en=null==(ee=es.current)?void 0:ee.querySelector(`li > a[href="#${ef}"]`);en&&sS(en,{behavior:"smooth",block:"center",inline:"center",scrollMode:"always",boundary:es.current})},[ef]),(0,eH.jsxs)("div",{ref:es,className:eF("nextra-scrollbar nx-sticky nx-top-16 nx-overflow-y-auto nx-pr-4 nx-pt-6 nx-text-sm [hyphens:auto]","nx-max-h-[calc(100vh-var(--nextra-navbar-height)-env(safe-area-inset-bottom))] ltr:-nx-mr-4 rtl:-nx-ml-4"),children:[ec&&(0,eH.jsxs)(eH.Fragment,{children:[(0,eH.jsx)("p",{className:"nx-mb-4 nx-font-semibold nx-tracking-tight",children:l8(eo.toc.title)}),(0,eH.jsx)("ul",{children:eu.map(({id:ee,value:en,depth:er})=>{var es,eu,ec,ed;return(0,eH.jsx)("li",{className:"nx-my-2 nx-scroll-my-6 nx-scroll-py-6",children:(0,eH.jsx)("a",{href:`#${ee}`,className:eF({2:"nx-font-semibold",3:"ltr:nx-pl-4 rtl:nx-pr-4",4:"ltr:nx-pl-8 rtl:nx-pr-8",5:"ltr:nx-pl-12 rtl:nx-pr-12",6:"ltr:nx-pl-16 rtl:nx-pr-16"}[er],"nx-inline-block",(null==(es=ei[ee])?void 0:es.isActive)?"nx-text-primary-600 nx-subpixel-antialiased contrast-more:!nx-text-primary-600":"nx-text-gray-500 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-300","contrast-more:nx-text-gray-900 contrast-more:nx-underline contrast-more:dark:nx-text-gray-50 nx-w-full nx-break-words"),children:null!=(ed=null==(ec=(eu=eo.toc).headingComponent)?void 0:ec.call(eu,{id:ee,children:en}))?ed:en})},ee)})})]}),ed&&(0,eH.jsxs)("div",{className:eF(ec&&"nx-mt-8 nx-border-t nx-bg-white nx-pt-8 nx-shadow-[0_-12px_16px_white] dark:nx-bg-dark dark:nx-shadow-[0_-12px_16px_#111]","nx-sticky nx-bottom-0 nx-flex nx-flex-col nx-items-start nx-gap-2 nx-pb-8 dark:nx-border-neutral-800","contrast-more:nx-border-t contrast-more:nx-border-neutral-400 contrast-more:nx-shadow-none contrast-more:dark:nx-border-neutral-400"),children:[eo.feedback.content?(0,eH.jsx)(l6,{className:uH,href:eo.feedback.useLink(),newWindow:!0,children:l8(eo.feedback.content)}):null,l8(eo.editLink.component,{filePath:en,className:uH,children:l8(eo.editLink.text)}),l8(eo.toc.extraContent),eo.toc.backToTop&&(0,eH.jsx)(uW,{className:uH})]})]})}function uB({className:ee,directories:en}){let[er,ei]=(0,eA.useState)(""),eo=(0,eA.useMemo)(()=>er?sA(en,er,{keys:["title"]}).map(({route:ee,title:en})=>({id:ee+en,route:ee,children:(0,eH.jsx)(us,{value:en,match:er})})):[],[er,en]);return(0,eH.jsx)(uc,{value:er,onChange:ei,className:ee,overlayClassName:"nx-w-full",results:eo})}var uV="en-US",uq="undefined"!=typeof window;function uK(ee){return null==ee||"string"==typeof ee||uJ(ee)||(0,eA.isValidElement)(ee)}function uJ(ee){return"function"==typeof ee}var uQ=n1.array(n1.strictObject({direction:n1.enum(["ltr","rtl"]).optional(),locale:n1.string(),text:n1.string()})),uY=[uK,{message:"Must be React.ReactNode or React.FC"}],uX=[uJ,{message:"Must be React.FC"}];n1.strictObject({banner:n1.strictObject({dismissible:n1.boolean(),key:n1.string(),text:n1.custom(...uY).optional()}),chat:n1.strictObject({icon:n1.custom(...uY),link:n1.string().startsWith("https://").optional()}),components:n1.record(n1.custom(...uX)).optional(),darkMode:n1.boolean(),direction:n1.enum(["ltr","rtl"]),docsRepositoryBase:n1.string().startsWith("https://"),editLink:n1.strictObject({component:n1.custom(...uX),text:n1.custom(...uY)}),faviconGlyph:n1.string().optional(),feedback:n1.strictObject({content:n1.custom(...uY),labels:n1.string(),useLink:n1.function().returns(n1.string())}),footer:n1.strictObject({component:n1.custom(...uY),text:n1.custom(...uY)}),gitTimestamp:n1.custom(...uY),head:n1.custom(...uY),i18n:uQ,logo:n1.custom(...uY),logoLink:n1.boolean().or(n1.string()),main:n1.custom(...uX).optional(),navbar:n1.strictObject({component:n1.custom(...uY),extraContent:n1.custom(...uY).optional()}),navigation:n1.boolean().or(n1.strictObject({next:n1.boolean(),prev:n1.boolean()})),nextThemes:n1.strictObject({defaultTheme:n1.string(),forcedTheme:n1.string().optional(),storageKey:n1.string()}),notFound:n1.strictObject({content:n1.custom(...uY),labels:n1.string()}),primaryHue:n1.number().or(n1.strictObject({dark:n1.number(),light:n1.number()})),primarySaturation:n1.number().or(n1.strictObject({dark:n1.number(),light:n1.number()})),project:n1.strictObject({icon:n1.custom(...uY),link:n1.string().startsWith("https://").optional()}),search:n1.strictObject({component:n1.custom(...uY),emptyResult:n1.custom(...uY),error:n1.string().or(n1.function().returns(n1.string())),loading:n1.custom(...uY),placeholder:n1.string().or(n1.function().returns(n1.string()))}),serverSideError:n1.strictObject({content:n1.custom(...uY),labels:n1.string()}),sidebar:n1.strictObject({autoCollapse:n1.boolean().optional(),defaultMenuCollapseLevel:n1.number().min(1).int(),titleComponent:n1.custom(...uY),toggleButton:n1.boolean()}),themeSwitch:n1.strictObject({component:n1.custom(...uY),useOptions:uZ.or(n1.function().returns(uZ))}),toc:n1.strictObject({backToTop:n1.boolean(),component:n1.custom(...uY),extraContent:n1.custom(...uY),float:n1.boolean(),headingComponent:n1.custom(...uX).optional(),title:n1.custom(...uY)}),useNextSeoProps:n1.custom(uJ)}).deepPartial().extend({i18n:uQ.optional()});var u0={"en-US":"Loading",fr:"Сhargement",ru:"Загрузка","zh-CN":"正在加载"},u1={"en-US":"Search documentation",fr:"Rechercher documents",ru:"Поиск документации","zh-CN":"搜索文档"},u2={banner:{dismissible:!0,key:"nextra-banner"},chat:{icon:(0,eH.jsxs)(eH.Fragment,{children:[(0,eH.jsx)(eK,{}),(0,eH.jsx)("span",{className:"nx-sr-only",children:"Discord"})]})},darkMode:!0,direction:"ltr",docsRepositoryBase:"https://github.com/shuding/nextra",editLink:{component:function({className:ee,filePath:en,children:er}){let ei=un(en);return ei?(0,eH.jsx)(l6,{className:ee,href:ei,children:er}):null},text:"Edit this page"},feedback:{content:"Question? Give us feedback →",labels:"feedback",useLink(){let ee=l0();return l7({labels:ee.feedback.labels,repository:ee.docsRepositoryBase,title:`Feedback for \u201C${ee.title}\u201D`})}},footer:{component:uy,text:`MIT ${new Date().getFullYear()} \xa9 Nextra.`},gitTimestamp:function({timestamp:ee}){let{locale:en=uV}=(0,eP.useRouter)();return(0,eH.jsxs)(eH.Fragment,{children:["Last updated on"," ",(0,eH.jsx)("time",{dateTime:ee.toISOString(),children:ee.toLocaleDateString(en,{day:"numeric",month:"long",year:"numeric"})})]})},head:(0,eH.jsxs)(eH.Fragment,{children:[(0,eH.jsx)("meta",{name:"msapplication-TileColor",content:"#fff"}),(0,eH.jsx)("meta",{httpEquiv:"Content-Language",content:"en"}),(0,eH.jsx)("meta",{name:"description",content:"Nextra: the next docs builder"}),(0,eH.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,eH.jsx)("meta",{name:"twitter:site",content:"@shuding_"}),(0,eH.jsx)("meta",{property:"og:title",content:"Nextra: the next docs builder"}),(0,eH.jsx)("meta",{property:"og:description",content:"Nextra: the next docs builder"}),(0,eH.jsx)("meta",{name:"apple-mobile-web-app-title",content:"Nextra"})]}),i18n:[],logo:(0,eH.jsxs)(eH.Fragment,{children:[(0,eH.jsx)("span",{className:"nx-font-extrabold",children:"Nextra"}),(0,eH.jsx)("span",{className:"nx-ml-2 nx-hidden nx-font-normal nx-text-gray-600 md:nx-inline",children:"The Next Docs Builder"})]}),logoLink:!0,navbar:{component:uE},navigation:!0,nextThemes:{defaultTheme:"system",storageKey:"theme"},notFound:{content:"Submit an issue about broken link →",labels:"bug"},primaryHue:{dark:204,light:212},primarySaturation:{dark:100,light:100},project:{icon:(0,eH.jsxs)(eH.Fragment,{children:[(0,eH.jsx)(eQ,{}),(0,eH.jsx)("span",{className:"nx-sr-only",children:"GitHub"})]})},search:{component:function({className:ee,directories:en}){let er=l0();return er.flexsearch?(0,eH.jsx)(um,{className:ee}):(0,eH.jsx)(uB,{className:ee,directories:en})},emptyResult:(0,eH.jsx)("span",{className:"nx-block nx-select-none nx-p-8 nx-text-center nx-text-sm nx-text-gray-400",children:"No results found."}),error:"Failed to load search index.",loading:function(){let{locale:ee,defaultLocale:en=uV}=(0,eP.useRouter)(),er=ee&&u0[ee]||u0[en];return(0,eH.jsxs)(eH.Fragment,{children:[er,"…"]})},placeholder:function(){let{locale:ee,defaultLocale:en=uV}=(0,eP.useRouter)(),er=ee&&u1[ee]||u1[en];return`${er}\u2026`}},serverSideError:{content:"Submit an issue about error in url →",labels:"bug"},sidebar:{defaultMenuCollapseLevel:2,titleComponent:({title:ee})=>(0,eH.jsx)(eH.Fragment,{children:ee}),toggleButton:!1},themeSwitch:{component:uz,useOptions(){let{locale:ee}=(0,eP.useRouter)();return"zh-CN"===ee?{dark:"深色主题",light:"浅色主题",system:"系统默认"}:{dark:"Dark",light:"Light",system:"System"}}},toc:{backToTop:!1,component:uG,float:!0,title:"On This Page"},useNextSeoProps:()=>({titleTemplate:"%s – Nextra"})},u4=Object.entries(u2).map(([ee,en])=>{let er=en&&"object"==typeof en&&!Array.isArray(en)&&!(0,eA.isValidElement)(en);if(er)return ee}).filter(Boolean);if(uq){let ee;let en=()=>{document.body.classList.add("resizing"),clearTimeout(ee),ee=setTimeout(()=>{document.body.classList.remove("resizing")},200)};window.addEventListener("resize",en)}function u3(ee){var en=ee,{tag:er,context:ei,children:eo,id:es,className:eu}=en,ec=lF(en,["tag","context","children","id","className"]);let ed=lB(),ef=lq(),ep=lV(),eh=(0,eA.useRef)(null);return(0,eA.useEffect)(()=>{if(!es)return;let ee=eh.current;if(ee)return ef.set(ee,[es,ei.index+=1]),null==ep||ep.observe(ee),()=>{null==ep||ep.disconnect(),ef.delete(ee),ed(ee=>{let en=lM({},ee);return delete en[es],en})}},[es,ei,ef,ep,ed]),(0,eH.jsxs)(er,lD(lM({className:"sr-only"===eu?"nx-sr-only":eF("nx-font-semibold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100",{h2:"nx-mt-10 nx-border-b nx-pb-1 nx-text-3xl nx-border-neutral-200/70 contrast-more:nx-border-neutral-400 dark:nx-border-primary-100/10 contrast-more:dark:nx-border-neutral-400",h3:"nx-mt-8 nx-text-2xl",h4:"nx-mt-8 nx-text-xl",h5:"nx-mt-8 nx-text-lg",h6:"nx-mt-8 nx-text-base"}[er])},ec),{children:[eo,es&&(0,eH.jsx)("a",{href:`#${es}`,id:es,className:"subheading-anchor","aria-label":"Permalink for this section",ref:eh})]}))}var u5=ee=>{let en=null,er=[];return eA.Children.forEach(ee,(ee,ei)=>{var eo;if(ee&&ee.type===u7){en||(en=ee);return}let es=ee;if(!en&&ee&&"object"==typeof ee&&ee.type!==u6&&"props"in ee&&ee.props){let er=u5(ee.props.children);en=er[0],es=(0,eA.cloneElement)(ee,lD(lM({},ee.props),{children:(null==(eo=er[1])?void 0:eo.length)?er[1]:void 0,key:ei}))}er.push(es)}),[en,er]},u6=ee=>{var en=ee,{children:er,open:ei}=en,eo=lF(en,["children","open"]);let[es,eu]=(0,eA.useState)(!!ei),[ec,ed]=u5(er),[ef,ep]=(0,eA.useState)(es);return(0,eA.useEffect)(()=>{if(es)ep(!0);else{let ee=setTimeout(()=>ep(es),500);return()=>clearTimeout(ee)}},[es]),(0,eH.jsxs)("details",lD(lM(lD(lM({className:"nx-my-4 nx-rounded nx-border nx-border-gray-200 nx-bg-white nx-p-2 nx-shadow-sm first:nx-mt-0 dark:nx-border-neutral-800 dark:nx-bg-neutral-900"},eo),{open:ef}),es&&{"data-expanded":!0}),{children:[(0,eH.jsx)(l3,{value:eu,children:ec}),(0,eH.jsx)(uo,{isOpen:es,children:ed})]}))},u7=ee=>{let en=l4();return(0,eH.jsx)("summary",lD(lM({className:eF("nx-flex nx-items-center nx-cursor-pointer nx-list-none nx-p-1 nx-transition-colors hover:nx-bg-gray-100 dark:hover:nx-bg-neutral-800","before:nx-mr-1 before:nx-inline-block before:nx-transition-transform before:nx-content-[''] dark:before:nx-invert before:nx-shrink-0","rtl:before:nx-rotate-180 [[data-expanded]>&]:before:nx-rotate-90")},ee),{onClick:ee=>{ee.preventDefault(),en(ee=>!ee)}}))},u8=/https?:\/\//,u9=ee=>{var en=ee,{href:er="",className:ei}=en,eo=lF(en,["href","className"]);return(0,eH.jsx)(l6,lM({href:er,newWindow:u8.test(er),className:eF("nx-text-primary-600 nx-underline nx-decoration-from-font [text-underline-position:from-font]",ei)},eo))},ct=ee=>{var en=ee,{href:er=""}=en,ei=lF(en,["href"]);return(0,eH.jsx)(l6,lM({href:er,newWindow:u8.test(er)},ei))},cn=({isRawLayout:ee,components:en})=>{if(ee)return{a:ct};let er={index:0};return lM({h1:ee=>(0,eH.jsx)("h1",lM({className:"nx-mt-2 nx-text-4xl nx-font-bold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100"},ee)),h2:ee=>(0,eH.jsx)(u3,lM({tag:"h2",context:er},ee)),h3:ee=>(0,eH.jsx)(u3,lM({tag:"h3",context:er},ee)),h4:ee=>(0,eH.jsx)(u3,lM({tag:"h4",context:er},ee)),h5:ee=>(0,eH.jsx)(u3,lM({tag:"h5",context:er},ee)),h6:ee=>(0,eH.jsx)(u3,lM({tag:"h6",context:er},ee)),ul:ee=>(0,eH.jsx)("ul",lM({className:"nx-mt-6 nx-list-disc first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},ee)),ol:ee=>(0,eH.jsx)("ol",lM({className:"nx-mt-6 nx-list-decimal first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},ee)),li:ee=>(0,eH.jsx)("li",lM({className:"nx-my-2"},ee)),blockquote:ee=>(0,eH.jsx)("blockquote",lM({className:eF("nx-mt-6 nx-border-gray-300 nx-italic nx-text-gray-700 dark:nx-border-gray-700 dark:nx-text-gray-400","first:nx-mt-0 ltr:nx-border-l-2 ltr:nx-pl-6 rtl:nx-border-r-2 rtl:nx-pr-6")},ee)),hr:ee=>(0,eH.jsx)("hr",lM({className:"nx-my-8 nx-border-neutral-200/70 contrast-more:nx-border-neutral-400 dark:nx-border-primary-100/10 contrast-more:dark:nx-border-neutral-400"},ee)),a:u9,table:ee=>(0,eH.jsx)(lv,lM({className:"nextra-scrollbar nx-mt-6 nx-p-0 first:nx-mt-0"},ee)),p:ee=>(0,eH.jsx)("p",lM({className:"nx-mt-6 nx-leading-7 first:nx-mt-0"},ee)),tr:lb,th:ly,td:lg,details:u6,summary:u7,pre:sJ,code:sK},en)},cr={toc:eF("nextra-toc nx-order-last nx-hidden nx-w-64 nx-shrink-0 xl:nx-block print:nx-hidden"),main:eF("nx-w-full nx-break-words")},ci=({themeContext:ee,breadcrumb:en,timestamp:er,navigation:ei,children:eo})=>{var es;let eu=l0(),ec=e$();if("raw"===ee.layout)return(0,eH.jsx)("div",{className:cr.main,children:eo});let ed=ee.timestamp&&eu.gitTimestamp&&er?new Date(er):null,ef=ec&&ed?(0,eH.jsx)("div",{className:"nx-mt-12 nx-mb-8 nx-block nx-text-xs nx-text-gray-500 ltr:nx-text-right rtl:nx-text-left dark:nx-text-gray-400",children:l8(eu.gitTimestamp,{timestamp:ed})}):(0,eH.jsx)("div",{className:"nx-mt-16"}),ep=(0,eH.jsxs)(eH.Fragment,{children:[eo,ef,ei]}),eh=(null==(es=eu.main)?void 0:es.call(eu,{children:ep}))||ep;return"full"===ee.layout?(0,eH.jsx)("article",{className:eF(cr.main,"nextra-content nx-min-h-[calc(100vh-var(--nextra-navbar-height))] nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]"),children:eh}):(0,eH.jsx)("article",{className:eF(cr.main,"nextra-content nx-flex nx-min-h-[calc(100vh-var(--nextra-navbar-height))] nx-min-w-0 nx-justify-center nx-pb-8 nx-pr-[calc(env(safe-area-inset-right)-1.5rem)]","article"===ee.typesetting&&"nextra-body-typesetting-article"),children:(0,eH.jsxs)("main",{className:"nx-w-full nx-min-w-0 nx-max-w-6xl nx-px-6 nx-pt-4 md:nx-px-12",children:[en,eh]})})},co=({filePath:ee,pageMap:en,frontMatter:er,headings:ei,timestamp:eo,children:es})=>{let eu=l0(),{locale:ec=uV,defaultLocale:ed}=(0,eP.useRouter)(),ef=eU(),{activeType:ep,activeIndex:eh,activeThemeContext:em,activePath:ex,topLevelNavbarItems:eg,docsDirectories:ev,flatDirectories:ey,flatDocsDirectories:eb,directories:ew}=(0,eA.useMemo)(()=>rb({list:en,locale:ec,defaultLocale:ed,route:ef}),[en,ec,ed,ef]),ek=lM(lM({},em),er),e_=!ek.sidebar||"raw"===ek.layout||"page"===ep,ej="page"!==ep&&ek.toc&&"default"===ek.layout?(0,eH.jsx)("nav",{className:eF(cr.toc,"nx-px-4"),"aria-label":"table of contents",children:l8(eu.toc.component,{headings:eu.toc.float?ei:[],filePath:ee})}):"full"!==ek.layout&&"raw"!==ek.layout&&(0,eH.jsx)("nav",{className:cr.toc,"aria-label":"table of contents"}),eE=eu.i18n.find(ee=>ee.locale===ec),eO=eE?"rtl"===eE.direction:"rtl"===eu.direction,eT=eO?"rtl":"ltr";return(0,eH.jsxs)("div",{dir:eT,children:[(0,eH.jsx)("script",{dangerouslySetInnerHTML:{__html:`document.documentElement.setAttribute('dir','${eT}')`}}),(0,eH.jsx)(ub,{}),(0,eH.jsx)(ur,{}),ek.navbar&&l8(eu.navbar.component,{flatDirectories:ey,items:eg}),(0,eH.jsx)("div",{className:eF("nx-mx-auto nx-flex","raw"!==ek.layout&&"nx-max-w-[90rem]"),children:(0,eH.jsxs)(lK,{children:[(0,eH.jsx)(uM,{docsDirectories:ev,flatDirectories:ey,fullDirectories:ew,headings:ei,asPopover:e_,includePlaceholder:"default"===ek.layout}),ej,(0,eH.jsx)(u$,{}),(0,eH.jsx)(ci,{themeContext:ek,breadcrumb:"page"!==ep&&ek.breadcrumb?(0,eH.jsx)(ui,{activePath:ex}):null,timestamp:eo,navigation:"page"!==ep&&ek.pagination?(0,eH.jsx)(uk,{flatDirectories:eb,currentIndex:eh}):null,children:(0,eH.jsx)(eW.Z,{components:cn({isRawLayout:"raw"===ek.layout,components:eu.components}),children:es})})]})}),ek.footer&&l8(eu.footer.component,{menu:e_})]})};function cs(ee){var en=ee,{children:er}=en,ei=lF(en,["children"]);return(0,eH.jsx)(l1,{value:ei,children:(0,eH.jsx)(co,lD(lM({},ei.pageOpts),{children:er}))})}},1441:function(ee,en,er){"use strict";er.d(en,{Z:function(){return ec},a:function(){return eh}});var ei=er(7378);let eo=ei.createContext({});function es(ee){let en=ei.useContext(eo);return ei.useMemo(()=>"function"==typeof ee?ee(en):{...en,...ee},[en,ee])}let eu={};function ec({components:ee,children:en,disableParentContext:er}){let ec;return ec=er?"function"==typeof ee?ee({}):ee||eu:es(ee),ei.createElement(eo.Provider,{value:ec},en)}var ed=er(8579),ef=er.n(ed),ep={img:ee=>(0,ei.createElement)("object"==typeof ee.src?ef():"img",ee)},eh=ee=>es({...ep,...ee})},9304:function(ee,en,er){"use strict";er.d(en,{j:function(){return ej}});var ei,eo=er(3201),es=er.n(eo),eu=er(2685),ec=er(7378);er(7523),"undefined"!=typeof window&&(window.requestIdleCallback=window.requestIdleCallback||function(ee){var en=Date.now();return setTimeout(function(){ee({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-en))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||function(ee){clearTimeout(ee)}),er(1441);var ed=er(4246),ef=(0,ec.createContext)(!1),ep=er(6677);function eh(){let ee=globalThis[eu.eZ],{route:en}=(0,ep.useRouter)();(0,ec.useState)({})[1];let er=ee.context[en];if(!er)throw Error("No content found for the current route. This is a Nextra bug.");return{context:er,Layout:ee.Layout}}function em({__nextra_pageMap:ee,__nextra_dynamic_opts:en,...er}){let{context:ei,Layout:eo}=eh(),{Content:es,...eu}=ei;if(ee&&(eu.pageOpts={...eu.pageOpts,pageMap:ee}),en){let{headings:ee,title:er,frontMatter:ei}=JSON.parse(en);eu.pageOpts={...eu.pageOpts,headings:ee,title:er,frontMatter:ei}}return(0,ed.jsx)(eo,{...eu,pageProps:er,children:(0,ed.jsx)(ef.Provider,{value:er,children:(0,ed.jsx)(es,{...er})})})}var ex=er(3214),eg=er(8130),ev=er(9154);function ey(ee,en){return eg(ex.join(ee,en.replace(/^index$/,"")))}function eb(ee){return ev(ee.replaceAll(/[-_]/g," "))}function ew(ee){return!!ee&&"object"==typeof ee&&"folder"===ee.type}function ek(ee){return Object.fromEntries(Object.entries(ee).map(([ee,en])=>{if(ew(en)){let er=ee.replace("/","");return[er,en.title||eb(er)]}return[ee,en||eb(ee)]}))}function e_(ee,en,er=!0){if(er){e_(ee,{kind:"Meta",data:en.data,locale:en.locale},!1),en.data=ek(en.data);return}for(let[er,ei]of Object.entries(en.data)){if(!ew(ei)){if("*"===er)continue;ee.children.push({kind:"MdxPage",...en.locale&&{locale:en.locale},name:er,route:ey(ee.route,er)});continue}let eo=er.replace("/",""),es={kind:"Folder",name:eo,route:`${ee.route}/${eo}`,children:[{kind:"Meta",...en.locale&&{locale:en.locale},data:ek(ei.items)}]};ee.children.push(es),e_(es,{kind:"Meta",data:ei.items,locale:en.locale},!1)}}function ej({pageNextRoute:ee,pageOpts:en,nextraLayout:er,themeConfig:eo,MDXContent:ec,hot:ed,pageOptsChecksum:ef,dynamicMetaModules:ep=[]}){var eh;"undefined"==typeof window&&(globalThis.__nextra_resolvePageMap=async()=>{if(ei)return ei;let ee=JSON.parse(JSON.stringify(ex.pageMap));return await Promise.all(ep.map(async([en,{metaObjectKeyPath:er,metaParentKeyPath:ei}])=>{let eo=await en,eu=await eo.default(),ec=es()(ee,er);ec.data=eu;let ed=es()(ee,ei);e_(ed,ec)})),ei=ee});let ex=globalThis[eh=eu.eZ]||(globalThis[eh]=Object.create(null));return en.pageMap?(ex.pageMap=en.pageMap,ex.Layout=er):(en={...en,pageMap:ex.pageMap,flexsearch:ex.flexsearch},eo=ex.themeConfig),en={frontMatter:{},...en},ex.route=en.route,ex.context||(ex.context=Object.create(null)),ex.context[ee]={Content:ec,pageOpts:en,themeConfig:eo},em}},1756:function(ee,en,er){"use strict";var ei=er(8173);function eo(ee){var en={protocols:[],protocol:null,port:null,resource:"",host:"",user:"",password:"",pathname:"",hash:"",search:"",href:ee,query:{},parse_failed:!1};try{var er=new URL(ee);en.protocols=ei(er),en.protocol=en.protocols[0],en.port=er.port,en.resource=er.hostname,en.host=er.host,en.user=er.username||"",en.password=er.password||"",en.pathname=er.pathname,en.hash=er.hash.slice(1),en.search=er.search.slice(1),en.href=er.href,en.query=Object.fromEntries(er.searchParams)}catch(er){en.protocols=["file"],en.protocol=en.protocols[0],en.port="",en.resource="",en.user="",en.pathname="",en.hash="",en.search="",en.href=ee,en.query={},en.parse_failed=!0}return en}ee.exports=eo},1320:function(ee,en,er){"use strict";var ei=function(ee){return ee&&"object"==typeof ee&&"default"in ee?ee:{default:ee}}(er(1756));let eo="text/plain",es="us-ascii",eu=(ee,en)=>en.some(en=>en instanceof RegExp?en.test(ee):en===ee),ec=(ee,{stripHash:en})=>{let er=/^data:(?[^,]*?),(?[^#]*?)(?:#(?.*))?$/.exec(ee);if(!er)throw Error(`Invalid URL: ${ee}`);let{type:ei,data:eu,hash:ec}=er.groups,ed=ei.split(";");ec=en?"":ec;let ef=!1;"base64"===ed[ed.length-1]&&(ed.pop(),ef=!0);let ep=(ed.shift()||"").toLowerCase(),eh=ed.map(ee=>{let[en,er=""]=ee.split("=").map(ee=>ee.trim());return"charset"===en&&(er=er.toLowerCase())===es?"":`${en}${er?`=${er}`:""}`}).filter(Boolean),em=[...eh];return ef&&em.push("base64"),(em.length>0||ep&&ep!==eo)&&em.unshift(ep),`data:${em.join(";")},${ef?eu.trim():eu}${ec?`#${ec}`:""}`};function ed(ee,en){if(en={defaultProtocol:"http:",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,sortQueryParameters:!0,...en},ee=ee.trim(),/^data:/i.test(ee))return ec(ee,en);if(/^view-source:/i.test(ee))throw Error("`view-source:` is not supported as it is a non-standard protocol");let er=ee.startsWith("//"),ei=!er&&/^\.*\//.test(ee);ei||(ee=ee.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,en.defaultProtocol));let eo=new URL(ee);if(en.forceHttp&&en.forceHttps)throw Error("The `forceHttp` and `forceHttps` options cannot be used together");if(en.forceHttp&&"https:"===eo.protocol&&(eo.protocol="http:"),en.forceHttps&&"http:"===eo.protocol&&(eo.protocol="https:"),en.stripAuthentication&&(eo.username="",eo.password=""),en.stripHash?eo.hash="":en.stripTextFragment&&(eo.hash=eo.hash.replace(/#?:~:text.*?$/i,"")),eo.pathname){let ee=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,en=0,er="";for(;;){let ei=ee.exec(eo.pathname);if(!ei)break;let es=ei[0],eu=ei.index,ec=eo.pathname.slice(en,eu);er+=ec.replace(/\/{2,}/g,"/")+es,en=eu+es.length}let ei=eo.pathname.slice(en,eo.pathname.length);er+=ei.replace(/\/{2,}/g,"/"),eo.pathname=er}if(eo.pathname)try{eo.pathname=decodeURI(eo.pathname)}catch{}if(!0===en.removeDirectoryIndex&&(en.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(en.removeDirectoryIndex)&&en.removeDirectoryIndex.length>0){let ee=eo.pathname.split("/"),er=ee[ee.length-1];eu(er,en.removeDirectoryIndex)&&(ee=ee.slice(0,-1),eo.pathname=ee.slice(1).join("/")+"/")}if(eo.hostname&&(eo.hostname=eo.hostname.replace(/\.$/,""),en.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(eo.hostname)&&(eo.hostname=eo.hostname.replace(/^www\./,""))),Array.isArray(en.removeQueryParameters))for(let ee of[...eo.searchParams.keys()])eu(ee,en.removeQueryParameters)&&eo.searchParams.delete(ee);if(!0===en.removeQueryParameters&&(eo.search=""),en.sortQueryParameters){eo.searchParams.sort();try{eo.search=decodeURIComponent(eo.search)}catch{}}en.removeTrailingSlash&&(eo.pathname=eo.pathname.replace(/\/$/,""));let es=ee;return ee=eo.toString(),en.removeSingleSlash||"/"!==eo.pathname||es.endsWith("/")||""!==eo.hash||(ee=ee.replace(/\/$/,"")),(en.removeTrailingSlash||"/"===eo.pathname)&&""===eo.hash&&en.removeSingleSlash&&(ee=ee.replace(/\/$/,"")),er&&!en.normalizeProtocol&&(ee=ee.replace(/^http:\/\//,"//")),en.stripProtocol&&(ee=ee.replace(/^(?:https?:)?\/\//,"")),ee}let ef=(ee,en=!1)=>{let er=/^(?:([a-z_][a-z0-9_-]{0,31})@|https?:\/\/)([\w\.\-@]+)[\/:]([\~,\.\w,\-,\_,\/]+?(?:\.git|\/)?)$/,eo=en=>{let er=Error(en);throw er.subject_url=ee,er};"string"==typeof ee&&ee.trim()||eo("Invalid url."),ee.length>ef.MAX_INPUT_LENGTH&&eo("Input exceeds maximum length. If needed, change the value of parseUrl.MAX_INPUT_LENGTH."),en&&("object"!=typeof en&&(en={stripHash:!1}),ee=ed(ee,en));let es=ei.default(ee);if(es.parse_failed){let ee=es.href.match(er);ee?(es.protocols=["ssh"],es.protocol="ssh",es.resource=ee[2],es.host=ee[2],es.user=ee[1],es.pathname=`/${ee[3]}`,es.parse_failed=!1):eo("URL parsing failed.")}return es};ef.MAX_INPUT_LENGTH=2048,ee.exports=ef},3214:function(ee,en,er){"use strict";var ei=er(7061),eo="win32"===ei.platform,es=er(1323);function eu(ee,en){for(var er=[],ei=0;ei=0&&!ee[ei];ei--);return 0===er&&ei===en?ee:er>ei?[]:ee.slice(er,ei+1)}var ed=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,ef=/^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/,ep={};function eh(ee){var en=ed.exec(ee),er=(en[1]||"")+(en[2]||""),ei=en[3]||"",eo=ef.exec(ei);return[er,eo[1],eo[2],eo[3]]}function em(ee){var en=ed.exec(ee),er=en[1]||"",ei=!!er&&":"!==er[1];return{device:er,isUnc:ei,isAbsolute:ei||!!en[2],tail:en[3]}}function ex(ee){return"\\\\"+ee.replace(/^[\\\/]+/,"").replace(/[\\\/]+/g,"\\")}ep.resolve=function(){for(var ee="",en="",er=!1,eo=arguments.length-1;eo>=-1;eo--){if(eo>=0?ec=arguments[eo]:ee?(ec=ei.env["="+ee])&&ec.substr(0,3).toLowerCase()===ee.toLowerCase()+"\\"||(ec=ee+"\\"):ec=ei.cwd(),es.isString(ec)){if(!ec)continue}else throw TypeError("Arguments to path.resolve must be strings");var ec,ed=em(ec),ef=ed.device,ep=ed.isUnc,eh=ed.isAbsolute,eg=ed.tail;if((!ef||!ee||ef.toLowerCase()===ee.toLowerCase())&&(ee||(ee=ef),er||(en=eg+"\\"+en,er=eh),ee&&er))break}return ep&&(ee=ex(ee)),en=eu(en.split(/[\\\/]+/),!er).join("\\"),ee+(er?"\\":"")+en||"."},ep.normalize=function(ee){var en=em(ee),er=en.device,ei=en.isUnc,eo=en.isAbsolute,es=en.tail,ec=/[\\\/]$/.test(es);return(es=eu(es.split(/[\\\/]+/),!eo).join("\\"))||eo||(es="."),es&&ec&&(es+="\\"),ei&&(er=ex(er)),er+(eo?"\\":"")+es},ep.isAbsolute=function(ee){return em(ee).isAbsolute},ep.join=function(){for(var ee=[],en=0;en=-1&&!en;er--){var eo=er>=0?arguments[er]:ei.cwd();if(es.isString(eo)){if(!eo)continue}else throw TypeError("Arguments to path.resolve must be strings");ee=eo+"/"+ee,en="/"===eo[0]}return ee=eu(ee.split("/"),!en).join("/"),(en?"/":"")+ee||"."},ev.normalize=function(ee){var en=ev.isAbsolute(ee),er=ee&&"/"===ee[ee.length-1];return(ee=eu(ee.split("/"),!en).join("/"))||en||(ee="."),ee&&er&&(ee+="/"),(en?"/":"")+ee},ev.isAbsolute=function(ee){return"/"===ee.charAt(0)},ev.join=function(){for(var ee="",en=0;en1)for(var er=1;er{let en=/^\\\\\?\\/.test(ee),er=/[^\u0000-\u0080]+/.test(ee);return en||er?ee:ee.replace(/\\/g,"/")}},9154:function(ee,en,er){let ei=er(7266),eo=er(6769),es="[^\\s'’\\(\\)!?;:\"-]",eu=RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${es}))|(${es}))(${es}*[’']*${es}*)`,"g"),ec=ee=>ee.map(ee=>[RegExp(`\\b${ee}\\b`,"gi"),ee]);function ed(ee){let en=ee[0];return/\s/.test(en)?ee.slice(1):/[\(\)]/.test(en)?null:ee}ee.exports=(ee,en={})=>{ee=ee.toLowerCase().replace(eu,(ee,en="",er,eo,es,eu,ec)=>{let ef=ee.length+eu>=ec.length,ep=ed(ee);if(!ep)return ee;if(!er){let ee=eo+es;if(ei.has(ee)&&!ef)return ep}return en+(eo||er).toUpperCase()+es});let er=en.special||[],es=[...eo,...er],ef=ec(es);return ef.forEach(([en,er])=>{ee=ee.replace(en,er)}),ee}},7266:function(ee){let en=["for","and","nor","but","or","yet","so"],er=["a","an","the"],ei=["aboard","about","above","across","after","against","along","amid","among","anti","around","as","at","before","behind","below","beneath","beside","besides","between","beyond","but","by","concerning","considering","despite","down","during","except","excepting","excluding","following","for","from","in","inside","into","like","minus","near","of","off","on","onto","opposite","over","past","per","plus","regarding","round","save","since","than","through","to","toward","towards","under","underneath","unlike","until","up","upon","versus","via","with","within","without"];ee.exports=new Set([...en,...er,...ei])},6769:function(ee){let en=["ZEIT","ZEIT Inc.","Vercel","Vercel Inc.","CLI","API","HTTP","HTTPS","JSX","DNS","URL","now.sh","now.json","vercel.app","vercel.json","CI","CD","CDN","package.json","package.lock","yarn.lock","GitHub","GitLab","CSS","Sass","JS","JavaScript","TypeScript","HTML","WordPress","Next.js","Node.js","Webpack","Docker","Bash","Kubernetes","SWR","TinaCMS","UI","UX","TS","TSX","iPhone","iPad","watchOS","iOS","iPadOS","macOS","PHP","composer.json","composer.lock","CMS","SQL","C","C#","GraphQL","GraphiQL","JWT","JWTs"];ee.exports=en},8746:function(ee){"function"==typeof Object.create?ee.exports=function(ee,en){ee.super_=en,ee.prototype=Object.create(en.prototype,{constructor:{value:ee,enumerable:!1,writable:!0,configurable:!0}})}:ee.exports=function(ee,en){ee.super_=en;var er=function(){};er.prototype=en.prototype,ee.prototype=new er,ee.prototype.constructor=ee}},6579:function(ee){ee.exports=function(ee){return ee&&"object"==typeof ee&&"function"==typeof ee.copy&&"function"==typeof ee.fill&&"function"==typeof ee.readUInt8}},1323:function(ee,en,er){var ei,eo=er(7061),es=/%[sdj%]/g;en.format=function(ee){if(!eE(ee)){for(var en=[],er=0;er=eo)return ee;switch(ee){case"%s":return String(ei[er++]);case"%d":return Number(ei[er++]);case"%j":try{return JSON.stringify(ei[er++])}catch(ee){return"[Circular]"}default:return ee}}),ed=ei[er];er=3&&(ei.depth=arguments[2]),arguments.length>=4&&(ei.colors=arguments[3]),ew(er)?ei.showHidden=er:er&&en._extend(ei,er),eT(ei.showHidden)&&(ei.showHidden=!1),eT(ei.depth)&&(ei.depth=2),eT(ei.colors)&&(ei.colors=!1),eT(ei.customInspect)&&(ei.customInspect=!0),ei.colors&&(ei.stylize=ed),eh(ei,ee,ei.depth)}function ed(ee,en){var er=ec.styles[en];return er?"\x1b["+ec.colors[er][0]+"m"+ee+"\x1b["+ec.colors[er][1]+"m":ee}function ef(ee,en){return ee}function ep(ee){var en={};return ee.forEach(function(ee,er){en[ee]=!0}),en}function eh(ee,er,ei){if(ee.customInspect&&er&&eR(er.inspect)&&er.inspect!==en.inspect&&!(er.constructor&&er.constructor.prototype===er)){var eo,es=er.inspect(ei,ee);return eE(es)||(es=eh(ee,es,ei)),es}var eu=em(ee,er);if(eu)return eu;var ec=Object.keys(er),ed=ep(ec);if(ee.showHidden&&(ec=Object.getOwnPropertyNames(er)),eI(er)&&(ec.indexOf("message")>=0||ec.indexOf("description")>=0))return ex(er);if(0===ec.length){if(eR(er)){var ef=er.name?": "+er.name:"";return ee.stylize("[Function"+ef+"]","special")}if(eC(er))return ee.stylize(RegExp.prototype.toString.call(er),"regexp");if(eN(er))return ee.stylize(Date.prototype.toString.call(er),"date");if(eI(er))return ex(er)}var ew="",ek=!1,e_=["{","}"];return(eb(er)&&(ek=!0,e_=["[","]"]),eR(er)&&(ew=" [Function"+(er.name?": "+er.name:"")+"]"),eC(er)&&(ew=" "+RegExp.prototype.toString.call(er)),eN(er)&&(ew=" "+Date.prototype.toUTCString.call(er)),eI(er)&&(ew=" "+ex(er)),0!==ec.length||ek&&0!=er.length)?ei<0?eC(er)?ee.stylize(RegExp.prototype.toString.call(er),"regexp"):ee.stylize("[Object]","special"):(ee.seen.push(er),eo=ek?eg(ee,er,ei,ed,ec):ec.map(function(en){return ev(ee,er,ei,ed,en,ek)}),ee.seen.pop(),ey(eo,ew,e_)):e_[0]+ew+e_[1]}function em(ee,en){if(eT(en))return ee.stylize("undefined","undefined");if(eE(en)){var er="'"+JSON.stringify(en).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ee.stylize(er,"string")}return ej(en)?ee.stylize(""+en,"number"):ew(en)?ee.stylize(""+en,"boolean"):ek(en)?ee.stylize("null","null"):void 0}function ex(ee){return"["+Error.prototype.toString.call(ee)+"]"}function eg(ee,en,er,ei,eo){for(var es=[],eu=0,ec=en.length;euee.seen.indexOf(ed.value)?(ec=ek(er)?eh(ee,ed.value,null):eh(ee,ed.value,er-1)).indexOf("\n")>-1&&(ec=es?ec.split("\n").map(function(ee){return" "+ee}).join("\n").substr(2):"\n"+ec.split("\n").map(function(ee){return" "+ee}).join("\n")):ec=ee.stylize("[Circular]","special")),eT(eu)){if(es&&eo.match(/^\d+$/))return ec;(eu=JSON.stringify(""+eo)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(eu=eu.substr(1,eu.length-2),eu=ee.stylize(eu,"name")):(eu=eu.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),eu=ee.stylize(eu,"string"))}return eu+": "+ec}function ey(ee,en,er){var ei=0;return ee.reduce(function(ee,en){return ei++,en.indexOf("\n")>=0&&ei++,ee+en.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?er[0]+(""===en?"":en+"\n ")+" "+ee.join(",\n ")+" "+er[1]:er[0]+en+" "+ee.join(", ")+" "+er[1]}function eb(ee){return Array.isArray(ee)}function ew(ee){return"boolean"==typeof ee}function ek(ee){return null===ee}function e_(ee){return null==ee}function ej(ee){return"number"==typeof ee}function eE(ee){return"string"==typeof ee}function eO(ee){return"symbol"==typeof ee}function eT(ee){return void 0===ee}function eC(ee){return eS(ee)&&"[object RegExp]"===eP(ee)}function eS(ee){return"object"==typeof ee&&null!==ee}function eN(ee){return eS(ee)&&"[object Date]"===eP(ee)}function eI(ee){return eS(ee)&&("[object Error]"===eP(ee)||ee instanceof Error)}function eR(ee){return"function"==typeof ee}function eL(ee){return null===ee||"boolean"==typeof ee||"number"==typeof ee||"string"==typeof ee||"symbol"==typeof ee||void 0===ee}function eP(ee){return Object.prototype.toString.call(ee)}function eA(ee){return ee<10?"0"+ee.toString(10):ee.toString(10)}en.debuglog=function(ee){if(eT(ei)&&(ei=eo.env.NODE_DEBUG||""),!eu[ee=ee.toUpperCase()]){if(RegExp("\\b"+ee+"\\b","i").test(ei)){var er=eo.pid;eu[ee]=function(){var ei=en.format.apply(en,arguments);console.error("%s %d: %s",ee,er,ei)}}else eu[ee]=function(){}}return eu[ee]},en.inspect=ec,ec.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},ec.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},en.isArray=eb,en.isBoolean=ew,en.isNull=ek,en.isNullOrUndefined=e_,en.isNumber=ej,en.isString=eE,en.isSymbol=eO,en.isUndefined=eT,en.isRegExp=eC,en.isObject=eS,en.isDate=eN,en.isError=eI,en.isFunction=eR,en.isPrimitive=eL,en.isBuffer=er(6579);var eM=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function eD(){var ee=new Date,en=[eA(ee.getHours()),eA(ee.getMinutes()),eA(ee.getSeconds())].join(":");return[ee.getDate(),eM[ee.getMonth()],en].join(" ")}function eF(ee,en){return Object.prototype.hasOwnProperty.call(ee,en)}en.log=function(){console.log("%s - %s",eD(),en.format.apply(en,arguments))},en.inherits=er(8746),en._extend=function(ee,en){if(!en||!eS(en))return ee;for(var er=Object.keys(en),ei=er.length;ei--;)ee[er[ei]]=en[er[ei]];return ee}},7523:function(ee,en,er){er(4246)},2685:function(ee,en,er){"use strict";er.d(en,{ZW:function(){return es},eZ:function(){return ec},hV:function(){return ed}});var ei=er(3214),eo=er(7061),es="en-US",eu=eo.cwd();ei.join(eu,"public");var ec=Symbol.for("__nextra_internal__"),ed=new Set(["/404","/500"])}}]); \ No newline at end of file diff --git a/_next/static/chunks/framework-5adc074a214fdacb.js b/_next/static/chunks/framework-5adc074a214fdacb.js new file mode 100644 index 000000000..60f3fbcdc --- /dev/null +++ b/_next/static/chunks/framework-5adc074a214fdacb.js @@ -0,0 +1,33 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[774],{3577:function(e,n,t){/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var r,l,a,u,o,i,s=t(7378),c=t(1102);function f(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t