1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6c4f0d4c-c33a-4cf3-ae21-55433e646b24",e._sentryDebugIdIdentifier="sentry-dbid-6c4f0d4c-c33a-4cf3-ae21-55433e646b24")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[758],{8243:(e,t,n)=>{n.d(t,{WF:()=>em});var r=n(87289),i=n(31588),o=n(66656),s=n(70552),l=n(69567),u=n(19873),a=n(15641),c=n(99362),f=n(75593),d=n(48327),p=n(48015),h=n(76472),v=n(10834),g=n(68015),m=n(36806),b=n(63298),O=n(19343),x=n(53141),y=n(28509),w=n(91254),E=n(40667),S=n(97804),I=n(61158),D=n(24356);function R(e,t){return e?e+"["+t+"]":t}var N=n(79070),_=n(11058);let P=(0,o.createContext)(null);function L({children:e}){let t=(0,o.useContext)(P);if(!t)return o.createElement(o.Fragment,null,e);let{target:n}=t;return n?(0,s.createPortal)(o.createElement(o.Fragment,null,e),n):null}function A({data:e,form:t,disabled:n,onReset:r,overrides:i}){let[s,l]=(0,o.useState)(null),u=(0,c.L)();return(0,o.useEffect)(()=>{if(r&&s)return u.addEventListener(s,"reset",r)},[s,t,r]),o.createElement(L,null,o.createElement(C,{setForm:l,formId:t}),(function e(t={},n=null,r=[]){for(let[i,o]of Object.entries(t))!function t(n,r,i){if(Array.isArray(i))for(let[e,o]of i.entries())t(n,R(r,e.toString()),o);else i instanceof Date?n.push([r,i.toISOString()]):"boolean"==typeof i?n.push([r,i?"1":"0"]):"string"==typeof i?n.push([r,i]):"number"==typeof i?n.push([r,`${i}`]):null==i?n.push([r,""]):e(i,r,n)}(r,R(n,i),o);return r})(e).map(([e,r])=>o.createElement(_.j,{features:_.u.Hidden,...(0,N.oE)({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:n,name:e,value:r,...i})})))}function C({setForm:e,formId:t}){return(0,o.useEffect)(()=>{if(t){let n=document.getElementById(t);n&&e(n)}},[e,t]),t?null:o.createElement(_.j,{features:_.u.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:t=>{if(!t)return;let n=t.closest("form");n&&e(n)}})}var T,M,B=n(6211),k=n(25865),F=n(69605),U=n(68250),j=n(47617),G=n(65186),$=n(41369),q=n(49850),z=n(50514),V=n(42087),X=n(98285),H=n(22016),Q=n(21080),Y=n(46216),K=n(18278),W=n(78289),Z=Object.defineProperty,J=(e,t,n)=>(((e,t,n)=>{t in e?Z(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n),ee=((M=ee||{})[M.Open=0]="Open",M[M.Closed=1]="Closed",M),et=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(et||{}),en=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(en||{}),er=((T=er||{})[T.OpenListbox=0]="OpenListbox",T[T.CloseListbox=1]="CloseListbox",T[T.GoToOption=2]="GoToOption",T[T.Search=3]="Search",T[T.ClearSearch=4]="ClearSearch",T[T.RegisterOptions=5]="RegisterOptions",T[T.UnregisterOptions=6]="UnregisterOptions",T[T.SetButtonElement=7]="SetButtonElement",T[T.SetOptionsElement=8]="SetOptionsElement",T[T.SortOptions=9]="SortOptions",T);function ei(e,t=e=>e){let n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,r=(0,z.wl)(t(e.options.slice()),e=>e.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return -1===i&&(i=null),{options:r,activeOptionIndex:i}}let eo={1:e=>e.dataRef.current.disabled||1===e.listboxState?e:{...e,activeOptionIndex:null,pendingFocus:{focus:G.B.Nothing},listboxState:1,__demoMode:!1},0(e,t){if(e.dataRef.current.disabled||0===e.listboxState)return e;let n=e.activeOptionIndex,{isSelected:r}=e.dataRef.current,i=e.options.findIndex(e=>r(e.dataRef.current.value));return -1!==i&&(n=i),{...e,pendingFocus:t.focus,listboxState:0,activeOptionIndex:n,__demoMode:!1}},2(e,t){var n,r,i,o,s;if(e.dataRef.current.disabled||1===e.listboxState)return e;let l={...e,searchQuery:"",activationTrigger:null!=(n=t.trigger)?n:1,__demoMode:!1};if(t.focus===G.B.Nothing)return{...l,activeOptionIndex:null};if(t.focus===G.B.Specific)return{...l,activeOptionIndex:e.options.findIndex(e=>e.id===t.id)};if(t.focus===G.B.Previous){let n=e.activeOptionIndex;if(null!==n){let o=e.options[n].dataRef.current.domRef,s=(0,G.X)(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==s){let t=e.options[s].dataRef.current.domRef;if((null==(r=o.current)?void 0:r.previousElementSibling)===t.current||null===(null==(i=t.current)?void 0:i.previousElementSibling))return{...l,activeOptionIndex:s}}}}else if(t.focus===G.B.Next){let n=e.activeOptionIndex;if(null!==n){let r=e.options[n].dataRef.current.domRef,i=(0,G.X)(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==i){let t=e.options[i].dataRef.current.domRef;if((null==(o=r.current)?void 0:o.nextElementSibling)===t.current||null===(null==(s=t.current)?void 0:s.nextElementSibling))return{...l,activeOptionIndex:i}}}}let u=ei(e),a=(0,G.X)(t,{resolveItems:()=>u.options,resolveActiveIndex:()=>u.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...l,...u,activeOptionIndex:a}},3:(e,t)=>
1{if(e.dataRef.current.disabled||1===e.listboxState)return e;let n=+(""===e.searchQuery),r=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeOptionIndex?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find(e=>{var t;return!e.dataRef.current.disabled&&(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))}),o=i?e.options.indexOf(i):-1;return -1===o||o===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:o,activationTrigger:1}},4:e=>e.dataRef.current.disabled||1===e.listboxState||""===e.searchQuery?e:{...e,searchQuery:""},5:(e,t)=>{let n=e.options.concat(t.options),r=e.activeOptionIndex;if(e.pendingFocus.focus!==G.B.Nothing&&(r=(0,G.X)(e.pendingFocus,{resolveItems:()=>n,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled})),null===e.activeOptionIndex){let{isSelected:t}=e.dataRef.current;if(t){let e=n.findIndex(e=>null==t?void 0:t(e.dataRef.current.value));-1!==e&&(r=e)}}return{...e,options:n,activeOptionIndex:r,pendingFocus:{focus:G.B.Nothing},pendingShouldSort:!0}},6:(e,t)=>{let n=e.options,r=[],i=new Set(t.options);for(let[e,t]of n.entries())if(i.has(t.id)&&(r.push(e),i.delete(t.id),0===i.size))break;if(r.length>0)for(let e of(n=n.slice(),r.reverse()))n.splice(e,1);return{...e,options:n,activationTrigger:1}},7:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},8:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element},9:e=>e.pendingShouldSort?{...e,...ei(e),pendingShouldSort:!1}:e};class es extends W.u5{constructor(e){super(e),J(this,"actions",{onChange:e=>{let{onChange:t,compare:n,mode:r,value:i}=this.state.dataRef.current;return(0,V.Y)(r,{0:()=>null==t?void 0:t(e),1:()=>{let r=i.slice(),o=r.findIndex(t=>n(t,e));return -1===o?r.push(e):r.splice(o,1),null==t?void 0:t(r)}})},registerOption:(0,W.vA)(()=>{let e=[],t=new Set;return[(n,r)=>{t.has(r)||(t.add(r),e.push({id:n,dataRef:r}))},()=>(t.clear(),this.send({type:5,options:e.splice(0)}))]}),unregisterOption:(0,W.vA)(()=>{let e=[];return[t=>e.push(t),()=>{this.send({type:6,options:e.splice(0)})}]}),goToOption:(0,W.vA)(()=>{let e=null;return[(t,n)=>{e={type:2,...t,trigger:n}},()=>e&&this.send(e)]}),closeListbox:()=>{this.send({type:1})},openListbox:e=>{this.send({type:0,focus:e})},selectActiveOption:()=>{if(null!==this.state.activeOptionIndex){let{dataRef:e,id:t}=this.state.options[this.state.activeOptionIndex];this.actions.onChange(e.current.value),this.send({type:2,focus:G.B.Specific,id:t})}},selectOption:e=>{let t=this.state.options.find(t=>t.id===e);t&&this.actions.onChange(t.dataRef.current.value)},search:e=>{this.send({type:3,value:e})},clearSearch:()=>{this.send({type:4})},setButtonElement:e=>{this.send({type:7,element:e})},setOptionsElement:e=>{this.send({type:8,element:e})}}),J(this,"selectors",{activeDescendantId(e){var t;let n=e.activeOptionIndex,r=e.options;return null===n||null==(t=r[n])?void 0:t.id},isActive(e,t){var n;let r=e.activeOptionIndex,i=e.options;return null!==r&&(null==(n=i[r])?void 0:n.id)===t},shouldScrollIntoView(e,t){return!e.__demoMode&&0===e.listboxState&&0!==e.activationTrigger&&this.isActive(e,t)}}),this.on(5,()=>{requestAnimationFrame(()=>{this.send({type:9})})});{let e=this.state.id,t=F.D.get(null);this.disposables.add(t.on(F.Q.Push,n=>{t.selectors.isTop(n,e)||0!==this.state.listboxState||this.actions.closeListbox()})),this.on(0,()=>t.actions.push(e)),this.on(1,()=>t.actions.pop(e))}}static new({id:e,__demoMode:t=!1}){return new es({id:e,dataRef:{current:{}},listboxState:+!t,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,buttonElement:null,optionsElement:null,pendingShouldSort:!1,pendingFocus:{focus:G.B.Nothing},__demoMode:t})}reduce(e,t){return(0,V.Y)(t.type,eo,e,t)}}var el=n(82007);let eu=(0,o.createContext)(null);function ea(e){let t=(0,o.useContext)(eu);if(null===t){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ec),t}return t}function ec({id:e,__demoMode:t=!1}){let n=(0,o.useMemo)(()=>es.new({id:e,__demoMode:t}),[]);return(0,el.X)(()=>n.dispose()),n}let ef=(0,o.createContext)(null);function ed(e){let t=(0,o.useContext)(ef);if(null===t){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ed),t}return t}ef.displayName="ListboxDataContext";let ep=o.Fragment,eh=(0,o.createContext)(!1),ev=N.Ac.RenderStrategy|N.Ac.Static,eg=o.Fragment,em=Object.assign((0,N.FX)(function(e,t){let n=(0,o.useId)(),r=(0,I._)(),{value:i,defaultValue:s,form:l,name:a,onChange:c,by:f,invali
1d:d=!1,disabled:h=r||!1,horizontal:v=!1,multiple:m=!1,__demoMode:b=!1,...O}=e,x=v?"horizontal":"vertical",w=(0,y.P)(t),E=function(e){let[t]=(0,o.useState)(e);return t}(s),[S=m?[]:void 0,R]=function(e,t,n){let[r,i]=(0,o.useState)(n),s=void 0!==e,l=(0,o.useRef)(s),a=(0,o.useRef)(!1),c=(0,o.useRef)(!1);return!s||l.current||a.current?s||!l.current||c.current||(c.current=!0,l.current=s,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.")):(a.current=!0,l.current=s,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.")),[s?e:r,(0,u._)(e=>(s||i(e),null==t?void 0:t(e)))]}(i,c,E),_=ec({id:n,__demoMode:b}),P=(0,o.useRef)({static:!1,hold:!1}),L=(0,o.useRef)(new Map),C=function(e=function(e,t){return null!==e&&null!==t&&"object"==typeof e&&"object"==typeof t&&"id"in e&&"id"in t?e.id===t.id:e===t}){return(0,o.useCallback)((t,n)=>"string"==typeof e?(null==t?void 0:t[e])===(null==n?void 0:n[e]):e(t,n),[e])}(f),T=(0,o.useCallback)(e=>(0,V.Y)(M.mode,{[et.Multi]:()=>S.some(t=>C(t,e)),[et.Single]:()=>C(S,e)}),[S]),M=(0,o.useMemo)(()=>({value:S,disabled:h,invalid:d,mode:m?et.Multi:et.Single,orientation:x,onChange:R,compare:C,isSelected:T,optionsPropsRef:P,listRef:L}),[S,h,d,m,x,R,C,T,P,L]);(0,p.s)(()=>{_.state.dataRef.current=M},[M]);let B=(0,U.y)(_,e=>e.listboxState),j=F.D.get(null),G=(0,U.y)(j,(0,o.useCallback)(e=>j.selectors.isTop(e,n),[j,n])),[$,q]=(0,U.y)(_,e=>[e.buttonElement,e.optionsElement]);(0,g.j)(G,[$,q],(e,t)=>{_.send({type:er.CloseListbox}),(0,z.Bm)(t,z.MZ.Loose)||(e.preventDefault(),null==$||$.focus())});let X=(0,o.useMemo)(()=>({open:B===ee.Open,disabled:h,invalid:d,value:S}),[B,h,d,S]),[H,Q]=(0,Y.b0)({inherit:!0}),K=(0,o.useCallback)(()=>{if(void 0!==E)return null==R?void 0:R(E)},[R,E]),W=(0,N.Ci)();return o.createElement(Q,{value:H,props:{htmlFor:null==$?void 0:$.id},slot:{open:B===ee.Open,disabled:h}},o.createElement(D.St,null,o.createElement(eu.Provider,{value:_},o.createElement(ef.Provider,{value:M},o.createElement(k.El,{value:(0,V.Y)(B,{[ee.Open]:k.Uw.Open,[ee.Closed]:k.Uw.Closed})},null!=a&&null!=S&&o.createElement(A,{disabled:h,data:{[a]:S},form:l,onReset:K}),W({ourProps:{ref:w},theirProps:O,slot:X,defaultTag:ep,name:"Listbox"}))))))}),{Button:(0,N.FX)(function(e,t){let n=(0,o.useId)(),a=(0,B.q)(),c=ed("Listbox.Button"),f=ea("Listbox.Button"),{id:d=a||`headlessui-listbox-button-${n}`,disabled:p=c.disabled||!1,autoFocus:h=!1,...v}=e,g=(0,y.P)(t,(0,D.Xc)(),f.actions.setButtonElement),m=(0,D.TI)(),[x,w,E]=(0,U.y)(f,e=>[e.listboxState,e.buttonElement,e.optionsElement]),S=x===ee.Open;(0,b.s)(S,{trigger:w,action:(0,o.useCallback)(e=>{if(null!=w&&w.contains(e.target))return b.r.Ignore;let t=e.target.closest('[role="option"]:not([data-disabled])');return(0,q.sb)(t)?b.r.Select(t):null!=E&&E.contains(e.target)?b.r.Ignore:b.r.Close},[w,E]),close:f.actions.closeListbox,select:f.actions.selectActiveOption});let I=(0,u._)(e=>{switch(e.key){case Q.D.Enter:!function(e){var t,n;let r=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(r){for(let t of r.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type))return void t.click();null==(n=r.requestSubmit)||n.call(r)}}(e.currentTarget);break;case Q.D.Space:case Q.D.ArrowDown:e.preventDefault(),f.actions.openListbox({focus:c.value?G.B.Nothing:G.B.First});break;case Q.D.ArrowUp:e.preventDefault(),f.actions.openListbox({focus:c.value?G.B.Nothing:G.B.Last})}}),R=(0,u._)(e=>{e.key===Q.D.Space&&e.preventDefault()}),_=(0,u._)(e=>{var t;if(0===e.button){if((0,j.l)(e.currentTarget))return e.preventDefault();f.state.listboxState===ee.Open?((0,s.flushSync)(()=>f.actions.closeListbox()),null==(t=f.state.buttonElement)||t.focus({preventScroll:!0})):(e.preventDefault(),f.actions.openListbox({focus:G.B.Nothing}))}}),P=(0,u._)(e=>e.preventDefault()),L=(0,Y.o2)([d]),A=(0,H.MM)(),{isFocusVisible:C,focusProps:T}=(0,r.o)({autoFocus:h}),{isHovered:M,hoverProps:k}=(0,i.M)({isDisabled:p}),{pressed:F,pressProps:$}=(0,l.Z)({disabled:p}),z=(0,o.useMemo)(()=>({open:x===ee.Open,active:F||x===ee.Open,disabled:p,invalid:c.invalid,value:c.value,hover:M,focus:C,autofocus:h}),[x,c.value,p,M,C,F,c.invalid,h]),V=(0,U.y)(f,e=>e.listboxState===ee.Open),X=(0,N.v6)(m(),{ref:g,id:d,type:(0,O.c)(e,w),"aria-haspopup":"listbox","aria-controls":null==E?void 0:E.id,"aria-expanded":V,"aria-labelledby":L,"aria-describedby":A,disabled:p||void 0,autoFocus:h,onKeyDown:I,onKeyUp:R,onKeyPress:P,onPointerDown:_},T,k,$);return(0,N.Ci)()({ourProps:X,theirProps:v,slot:z,defaultTag:"button",name:"Listbox.Button"})}),Label:Y.JU,Options:(0,N.FX)(function(e,t){let n=(0,o.useId)(),{id:r=`headlessui-listbox-options-${n}`,anchor:i,portal:l=!1,modal:p=!0,transition:h=!1,...g}=e,b=(0,D.zn)(i),[O,w]=(0,o.useState)(null);b&&(l=!0);let E=ed("Listbox.Options"),I=ea("Listbox.Options"),[R,_,P,L]=(0,U.y)(I,e=>[e.listboxState,e.buttonElement,e.optionsElement,e.__demoMode]),A=(0,m.g)(_),C=(0,m.g)(P),T=(0,k.O_)(),[M,B]=(0,S.p)(h,O,null!==T?(T&k.Uw.Open)===k.Uw.Open:R===ee.Open);(0,v.O)(M,_,I.actions.closeListbox);let F=!L&&p&&R===ee.Open;(0,x.K)(F,C);let j=!L&&p&&R===ee.Open;(0,d.v)(j,{allowed:(0,o.useCallback)(()=>[_,P],[_,P])});let $=R!==ee.Open,q=!(0,a.Y)($,_)&&M,H=function(e,t){let[n,r]=(0,o.useState)(t);return e||n===t||r(t),e?n:t}(M&&R===ee.Closed,E.value),Y=(0,u._)(e=>E.compare(H,e)),W=(0,U.y)(I,e=>{var t;if(null==b||null==(t=null==b?void 0:b.to)||!t.includes("selection"))return null;let n=e.options.findIndex(e=>Y(e.dataRef.current.value));return -1===n&&(n=0),n}),Z=(()=>
1{if(null==b)return;if(null===W)return{...b,inner:void 0};let e=Array.from(E.listRef.current.values());return{...b,inner:{listRef:{current:e},index:W}}})(),[J,en]=(0,D.UF)(Z),er=(0,D.G3)(),ei=(0,y.P)(t,b?J:null,I.actions.setOptionsElement,w),eo=(0,c.L)();(0,o.useEffect)(()=>{var e;P&&R===ee.Open&&P!==(null==(e=(0,X.T)(P))?void 0:e.activeElement)&&(null==P||P.focus({preventScroll:!0}))},[R,P]);let es=(0,u._)(e=>{var t,n;switch(eo.dispose(),e.key){case Q.D.Space:if(""!==I.state.searchQuery)return e.preventDefault(),e.stopPropagation(),I.actions.search(e.key);case Q.D.Enter:if(e.preventDefault(),e.stopPropagation(),null!==I.state.activeOptionIndex){let{dataRef:e}=I.state.options[I.state.activeOptionIndex];I.actions.onChange(e.current.value)}E.mode===et.Single&&((0,s.flushSync)(()=>I.actions.closeListbox()),null==(t=I.state.buttonElement)||t.focus({preventScroll:!0}));break;case(0,V.Y)(E.orientation,{vertical:Q.D.ArrowDown,horizontal:Q.D.ArrowRight}):return e.preventDefault(),e.stopPropagation(),I.actions.goToOption({focus:G.B.Next});case(0,V.Y)(E.orientation,{vertical:Q.D.ArrowUp,horizontal:Q.D.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),I.actions.goToOption({focus:G.B.Previous});case Q.D.Home:case Q.D.PageUp:return e.preventDefault(),e.stopPropagation(),I.actions.goToOption({focus:G.B.First});case Q.D.End:case Q.D.PageDown:return e.preventDefault(),e.stopPropagation(),I.actions.goToOption({focus:G.B.Last});case Q.D.Escape:return e.preventDefault(),e.stopPropagation(),(0,s.flushSync)(()=>I.actions.closeListbox()),void(null==(n=I.state.buttonElement)||n.focus({preventScroll:!0}));case Q.D.Tab:e.preventDefault(),e.stopPropagation(),(0,s.flushSync)(()=>I.actions.closeListbox()),(0,z.p9)(I.state.buttonElement,e.shiftKey?z.BD.Previous:z.BD.Next);break;default:1===e.key.length&&(I.actions.search(e.key),eo.setTimeout(()=>I.actions.clearSearch(),350))}}),el=(0,U.y)(I,e=>{var t;return null==(t=e.buttonElement)?void 0:t.id}),eu=(0,o.useMemo)(()=>({open:R===ee.Open}),[R]),ec=(0,N.v6)(b?er():{},{id:r,ref:ei,"aria-activedescendant":(0,U.y)(I,I.selectors.activeDescendantId),"aria-multiselectable":E.mode===et.Multi||void 0,"aria-labelledby":el,"aria-orientation":E.orientation,onKeyDown:es,role:"listbox",tabIndex:R===ee.Open?0:void 0,style:{...g.style,...en,"--button-width":(0,f.L)(_,!0).width},...(0,S.B)(B)}),ep=(0,N.Ci)(),eh=(0,o.useMemo)(()=>E.mode===et.Multi?E:{...E,isSelected:Y},[E,Y]);return o.createElement(K.ZL,{enabled:!!l&&(e.static||M),ownerDocument:A},o.createElement(ef.Provider,{value:eh},ep({ourProps:ec,theirProps:g,slot:eu,defaultTag:"div",features:ev,visible:q,name:"Listbox.Options"}
1)))}),Option:(0,N.FX)(function(e,t){let n=(0,o.useId)(),{id:r=`headlessui-listbox-option-${n}`,disabled:i=!1,value:l,...a}=e,c=!0===(0,o.useContext)(eh),f=ed("Listbox.Option"),d=ea("Listbox.Option"),v=(0,U.y)(d,e=>d.selectors.isActive(e,r)),g=f.isSelected(l),m=(0,o.useRef)(null),b=(0,w.q)(m),O=(0,h.Y)({disabled:i,value:l,domRef:m,get textValue(){return b()}}),x=(0,y.P)(t,m,e=>{e?f.listRef.current.set(r,e):f.listRef.current.delete(r)}),S=(0,U.y)(d,e=>d.selectors.shouldScrollIntoView(e,r));(0,p.s)(()=>{if(S)return(0,$.e)().requestAnimationFrame(()=>{var e,t;null==(t=null==(e=m.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})},[S,m]),(0,p.s)(()=>{if(!c)return d.actions.registerOption(r,O),()=>d.actions.unregisterOption(r)},[O,r,c]);let I=(0,u._)(e=>{var t;if(i)return e.preventDefault();d.actions.onChange(l),f.mode===et.Single&&((0,s.flushSync)(()=>d.actions.closeListbox()),null==(t=d.state.buttonElement)||t.focus({preventScroll:!0}))}),D=(0,u._)(()=>{if(i)return d.actions.goToOption({focus:G.B.Nothing});d.actions.goToOption({focus:G.B.Specific,id:r})}),R=(0,E.J)(),_=(0,u._)(e=>{R.update(e),!i&&(v||d.actions.goToOption({focus:G.B.Specific,id:r},en.Pointer))}),P=(0,u._)(e=>{R.wasMoved(e)&&(i||v||d.actions.goToOption({focus:G.B.Specific,id:r},en.Pointer))}),L=(0,u._)(e=>{R.wasMoved(e)&&(i||v&&d.actions.goToOption({focus:G.B.Nothing}))}),A=(0,o.useMemo)(()=>({active:v,focus:v,selected:g,disabled:i,selectedOption:g&&c}),[v,g,i,c]),C=c?{}:{id:r,ref:x,role:"option",tabIndex:!0===i?void 0:-1,"aria-disabled":!0===i||void 0,"aria-selected":g,disabled:void 0,onClick:I,onFocus:D,onPointerEnter:_,onMouseEnter:_,onPointerMove:P,onMouseMove:P,onPointerLeave:L,onMouseLeave:L},T=(0,N.Ci)();return!g&&c?null:T({ourProps:C,theirProps:a,slot:A,defaultTag:"div",name:"Listbox.Option"})}),SelectedOption:(0,N.FX)(function(e,t){let{options:n,placeholder:r,...i}=e,s={ref:(0,y.P)(t)},l=ed("ListboxSelectedOption"),u=(0,o.useMemo)(()=>({}),[]),a=void 0===l.value||null===l.value||l.mode===et.Multi&&Array.isArray(l.value)&&0===l.value.length,c=(0,N.Ci)();return o.createElement(eh.Provider,{value:!0},c({ourProps:s,theirProps:{...i,children:o.createElement(o.Fragment,null,r&&a?r:n)},slot:u,defaultTag:eg,name:"ListboxSelectedOption"}))})})},40317:(e,t,n)=>{n.d(t,{n:()=>f});var r=n(68569),i=n(74404),o=n(26745),s=n(54066),l=n(64170),u=n(40194),a=n(17462),c=n(93248);function f(e,t){var n=(0,a.m)(null==t?void 0:t.client);(0,l.D$)(e,l.KG.Mutation);var f=i.useState({called:!1,loading:!1,client:n}),d=f[0],p=f[1],h=i.useRef({result:d,mutationId:0,isMounted:!0,client:n,mutation:e,options:t});(0,c.E)(function(){Object.assign(h.current,{client:n,options:t,mutation:e})});var v=i.useCallback(function(e){void 0===e&&(e={});var t=h.current,n=t.options,i=t.mutation,l=(0,r.__assign)((0,r.__assign)({},n),{mutation:i}),a=e.client||h.current.client;h.current.result.loading||l.ignoreResults||!h.current.isMounted||p(h.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:a});var c=++h.current.mutationId,f=(0,o.l)(l,e);return a.mutate(f).then(function(t){var n,r,i=t.data,o=t.errors,l=o&&o.length>0?new u.K4({graphQLErrors:o}):void 0,d=e.onError||(null==(n=h.current.options)?void 0:n.onError);if(l&&d&&d(l,f),c===h.current.mutationId&&!f.ignoreResults){var v={called:!0,loading:!1,data:i,error:l,client:a};h.current.isMounted&&!(0,s.L)(h.current.result,v)&&p(h.current.result=v)}var g=e.onCompleted||(null==(r=h.current.options)?void 0:r.onCompleted);return l||null==g||g(t.data,f),t},function(t){if(c===h.current.mutationId&&h.current.isMounted){var n,r={loading:!1,error:t,data:void 0,called:!0,client:a};(0,s.L)(h.current.result,r)||p(h.current.result=r)}var i=e.onError||(null==(n=h.current.options)?void 0:n.onError);if(i)return i(t,f),{data:void 0,errors:t};throw t})},[]),g=i.useCallback(function(){if(h.current.isMounted){var e={called:!1,loading:!1,client:h.current.client};Object.assign(h.current,{mutationId:0,result:e}),p(e)}},[]);return i.useEffect(function(){var e=h.current;return e.isMounted=!0,function(){e.isMounted=!1}},[]),[v,(0,r.__assign)({reset:g},d)]}},94837:(e,t,n)=>{var r,i;function o(){if(i)return r;function e(e,t,n){function r(){var a=Date.now()-l;a<t&&a>
1=0?i=setTimeout(r,t-a):(i=null,n||(u=e.apply(s,o),s=o=null))}null==t&&(t=100);var i,o,s,l,u,a=function(){s=this,o=arguments,l=Date.now();var a=n&&!i;return i||(i=setTimeout(r,t)),a&&(u=e.apply(s,o),s=o=null),u};return a.clear=function(){i&&(clearTimeout(i),i=null)},a.flush=function(){i&&(u=e.apply(s,o),s=o=null,clearTimeout(i),i=null)},a}return i=1,e.debounce=e,r=e}n.d(t,{k:()=>o})},99602:(e,t,n)=>{n.d(t,{g:()=>g});var r=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,i=Math.ceil,o=Math.floor,s="[BigNumber Error] ",l=s+"Number primitive has more than 15 significant digits: ",u=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13];function a(e){var t=0|e;return e>0||e===t?t:t-1}function c(e){for(var t,n,r=1,i=e.length,o=e[0]+"";r<i;){for(n=14-(t=e[r++]+"").length;n--;t="0"+t);o+=t}for(i=o.length;48===o.charCodeAt(--i););return o.slice(0,i+1||1)}function f(e,t){var n,r,i=e.c,o=t.c,s=e.s,l=t.s,u=e.e,a=t.e;if(!s||!l)return null;if(n=i&&!i[0],r=o&&!o[0],n||r)return n?r?0:-l:s;if(s!=l)return s;if(n=s<0,r=u==a,!i||!o)return r?0:!i^n?1:-1;if(!r)return u>a^n?1:-1;for(l=(u=i.length)<(a=o.length)?u:a,s=0;s<l;s++)if(i[s]!=o[s])return i[s]>o[s]^n?1:-1;return u==a?0:u>a^n?1:-1}function d(e,t,n,r){if(e<t||e>n||e!==o(e))throw Error(s+(r||"Argument")+("number"==typeof e?e<t||e>n?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function p(e){var t=e.c.length-1;return a(e.e/14)==t&&e.c[t]%2!=0}function h(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function v(e,t,n){var r,i;if(t<0){for(i=n+".";++t;i+=n);e=i+e}else if(++t>(r=e.length)){for(i=n,t-=r;--t;i+=n);e+=i}else t<r&&(e=e.slice(0,t)+"."+e.slice(t));return e}var g=function e(t){var n,g,m,b,O,x,y,w,E,S=F.prototype={constructor:F,toString:null,valueOf:null},I=new F(1),D=20,R=4,N=-7,_=21,P=-1e7,L=1e7,A=!1,C=1,T=0,M={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xa0",suffix:""},B="0123456789abcdefghijklmnopqrstuvwxyz",k=!0;function F(e,t){var n,i,s,u,a,c,f,p,h=this;if(!(h instanceof F))return new F(e,t);if(null==t){if(e&&!0===e._isBigNumber)return h.s=e.s,void(!e.c||e.e>L?h.c=h.e=null:e.e<P?h.c=[h.e=0]:(h.e=e.e,h.c=e.c.slice()));if((c="number"==typeof e)&&0*e==0){if(h.s=1/e<0?(e=-e,-1):1,e===~~e){for(u=0,a=e;a>=10;a/=10,u++);return void(u>L?h.c=h.e=null:(h.e=u,h.c=[e]))}p=String(e)}else{if(!r.test(p=String(e)))return m(h,p,c);h.s=45==p.charCodeAt(0)?(p=p.slice(1),-1):1}(u=p.indexOf("."))>-1&&(p=p.replace(".","")),(a=p.search(/e/i))>0?(u<0&&(u=a),u+=+p.slice(a+1),p=p.substring(0,a)):u<0&&(u=p.length)}else{if(d(t,2,B.length,"Base"),10==t&&k)return $(h=new F(e),D+h.e+1,R);if(p=String(e),c="number"==typeof e){if(0*e!=0)return m(h,p,c,t);if(h.s=1/e<0?(p=p.slice(1),-1):1,F.DEBUG&&p.replace(/^0\.0*|\./,"").length>15)throw Error(l+e)}else h.s=45===p.charCodeAt(0)?(p=p.slice(1),-1):1;for(n=B.slice(0,t),u=a=0,f=p.length;a<f;a++)if(0>n.indexOf(i=p.charAt(a))){if("."==i){if(a>u){u=f;continue}}else if(!s&&(p==p.toUpperCase()&&(p=p.toLowerCase())||p==p.toLowerCase()&&(p=p.toUpperCase()))){s=!0,a=-1,u=0;continue}return m(h,String(e),c,t)}c=!1,(u=(p=g(p,t,10,h.s)).indexOf("."))>-1?p=p.replace(".",""):u=p.length}for(a=0;48===p.charCodeAt(a);a++);for(f=p.length;48===p.charCodeAt(--f););if(p=p.slice(a,++f)){if(f-=a,c&&F.DEBUG&&f>15&&(e>0x1fffffffffffff||e!==o(e)))throw Error(l+h.s*e);if((u=u-a-1)>L)h.c=h.e=null;else if(u<P)h.c=[h.e=0];else{if(h.e=u,h.c=[],a=(u+1)%14,u<0&&(a+=14),a<f){for(a&&h.c.push(+p.slice(0,a)),f-=14;a<f;)h.c.push(+p.slice(a,a+=14));a=14-(p=p.slice(a)).length}else a-=f;for(;a--;p+="0");h.c.push(+p)}}else h.c=[h.e=0]}function U(e,t,n,r){var i,o,s,l,u;if(null==n?n=R:d(n,0,8),!e.c)return e.toString();if(i=e.c[0],s=e.e,null==t)u=c(e.c),u=1==r||2==r&&(s<=N||s>=_)?h(u,s):v(u,s,"0");else if(o=(e=$(new F(e),t,n)).e,l=(u=c(e.c)).length,1==r||2==r&&(t<=o||o<=N)){for(;l<t;u+="0",l++);u=h(u,o)}else if(t-=s,u=v(u,o,"0"),o+1>l){if(--t>0)for(u+=".";t--;u+="0");}else if((t+=o-l)>0)for(o+1==l&&(u+=".");t--;u+="0");return e.s<0&&i?"-"+u:u}function j(e,t){for(var n,r,i=1,o=new F(e[0]);i<e.length;i++)(r=new F(e[i])).s&&(n=f(o,r))!==t&&(0!==n||o.s!==t)||(o=r);return o}function G(e,t,n){for(var r=1,i=t.length;!t[--i];t.pop());for(i=t[0];i>=10;i/=10,r++);return(n=r+14*n-1)>L?e.c=e.e=null:n<P?e.c=[e.e=0]:(e.e=n,e.c=t),e}function $(e,t,n,r){var s,l,a,c,f,d,p,h=e.c;if(h){e:{for(s=1,c=h[0];c>=10;c/=10,s++);
1if((l=t-s)<0)l+=14,a=t,p=o((f=h[d=0])/u[s-a-1]%10);else if((d=i((l+1)/14))>=h.length){if(!r)break e;for(;h.length<=d;h.push(0));f=p=0,s=1,a=(l%=14)-14+1}else{for(f=c=h[d],s=1;c>=10;c/=10,s++);p=(a=(l%=14)-14+s)<0?0:o(f/u[s-a-1]%10)}if(r=r||t<0||null!=h[d+1]||(a<0?f:f%u[s-a-1]),r=n<4?(p||r)&&(0==n||n==(e.s<0?3:2)):p>5||5==p&&(4==n||r||6==n&&(l>0?a>0?f/u[s-a]:0:h[d-1])%10&1||n==(e.s<0?8:7)),t<1||!h[0])return h.length=0,r?(t-=e.e+1,h[0]=u[(14-t%14)%14],e.e=-t||0):h[0]=e.e=0,e;if(0==l?(h.length=d,c=1,d--):(h.length=d+1,c=u[14-l],h[d]=a>0?o(f/u[s-a]%u[a])*c:0),r)for(;;){if(0==d){for(l=1,a=h[0];a>=10;a/=10,l++);for(a=h[0]+=c,c=1;a>=10;a/=10,c++);l!=c&&(e.e++,1e14==h[0]&&(h[0]=1));break}if(h[d]+=c,1e14!=h[d])break;h[d--]=0,c=1}for(l=h.length;0===h[--l];h.pop());}e.e>L?e.c=e.e=null:e.e<P&&(e.c=[e.e=0])}return e}function q(e){var t,n=e.e;return null===n?e.toString():(t=c(e.c),t=n<=N||n>=_?h(t,n):v(t,n,"0"),e.s<0?"-"+t:t)}return F.clone=e,F.ROUND_UP=0,F.ROUND_DOWN=1,F.ROUND_CEIL=2,F.ROUND_FLOOR=3,F.ROUND_HALF_UP=4,F.ROUND_HALF_DOWN=5,F.ROUND_HALF_EVEN=6,F.ROUND_HALF_CEIL=7,F.ROUND_HALF_FLOOR=8,F.EUCLID=9,F.config=F.set=function(e){var t,n;if(null!=e){if("object"!=typeof e)throw Error(s+"Object expected: "+e);if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(d(n=e[t],0,1e9,t),D=n),e.hasOwnProperty(t="ROUNDING_MODE")&&(d(n=e[t],0,8,t),R=n),e.hasOwnProperty(t="EXPONENTIAL_AT")&&((n=e[t])&&n.pop?(d(n[0],-1e9,0,t),d(n[1],0,1e9,t),N=n[0],_=n[1]):(d(n,-1e9,1e9,t),N=-(_=n<0?-n:n))),e.hasOwnProperty(t="RANGE"))if((n=e[t])&&n.pop)d(n[0],-1e9,-1,t),d(n[1],1,1e9,t),P=n[0],L=n[1];else{if(d(n,-1e9,1e9,t),!n)throw Error(s+t+" cannot be zero: "+n);P=-(L=n<0?-n:n)}if(e.hasOwnProperty(t="CRYPTO")){if((n=e[t])!==!!n)throw Error(s+t+" not true or false: "+n);if(n){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw A=!n,Error(s+"crypto unavailable");A=n}else A=n}if(e.hasOwnProperty(t="MODULO_MODE")&&(d(n=e[t],0,9,t),C=n),e.hasOwnProperty(t="POW_PRECISION")&&(d(n=e[t],0,1e9,t),T=n),e.hasOwnProperty(t="FORMAT")){if("object"!=typeof(n=e[t]))throw Error(s+t+" not an object: "+n);M=n}if(e.hasOwnProperty(t="ALPHABET")){if("string"!=typeof(n=e[t])||/^.?$|[+\-.\s]|(.).*\1/.test(n))throw Error(s+t+" invalid: "+n);k="0123456789"==n.slice(0,10),B=n}}return{DECIMAL_PLACES:D,ROUNDING_MODE:R,EXPONENTIAL_AT:[N,_],RANGE:[P,L],CRYPTO:A,MODULO_MODE:C,POW_PRECISION:T,FORMAT:M,ALPHABET:B}},F.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!F.DEBUG)return!0;var t,n,r=e.c,i=e.e,l=e.s;e:if("[object Array]"==({}).toString.call(r)){if((1===l||-1===l)&&i>=-1e9&&i<=1e9&&i===o(i)){if(0===r[0]){if(0===i&&1===r.length)return!0;break e}if((t=(i+1)%14)<1&&(t+=14),String(r[0]).length==t){for(t=0;t<r.length;t++)if((n=r[t])<0||n>=1e14||n!==o(n))break e;if(0!==n)return!0}}}else if(null===r&&null===i&&(null===l||1===l||-1===l))return!0;throw Error(s+"Invalid BigNumber: "+e)},F.maximum=F.max=function(){return j(arguments,-1)},F.minimum=F.min=function(){return j(arguments,1)},b=0x20000000000000*Math.random()&2097151?function(){return o(0x20000000000000*Math.random())}:function(){return 8388608*(0x40000000*Math.random()|0)+(8388608*Math.random()|0)},F.random=function(e){var t,n,r,l,a,c=0,f=[],p=new F(I);if(null==e?e=D:d(e,0,1e9),l=i(e/14),A)if(crypto.getRandomValues){for(t=crypto.getRandomValues(new Uint32Array(l*=2));c<l;)(a=131072*t[c]+(t[c+1]>>>11))>=9e15?(n=crypto.getRandomValues(new Uint32Array(2)),t[c]=n[0],t[c+1]=n[1]):(f.push(a%1e14),c+=2);c=l/2}else{if(!crypto.randomBytes)throw A=!1,Error(s+"crypto unavailable");for(t=crypto.randomBytes(l*=7);c<l;)(a=0x1000000000000*(31&t[c])+0x10000000000*t[c+1]+0x100000000*t[c+2]+0x1000000*t[c+3]+(t[c+4]<<16)+(t[c+5]<<8)+t[c+6])>=9e15?crypto.randomBytes(7).copy(t,c):(f.push(a%1e14),c+=7);c=l/7}if(!A)for(;c<l;)(a=b())<9e15&&(f[c++]=a%1e14);for(l=f[--c],e%=14,l&&e&&(a=u[14-e],f[c]=o(l/a)*a);0===f[c];f.pop(),c--);if(c<0)f=[r=0];else{for(r=-1;0===f[0];f.splice(0,1),r-=14);for(c=1,a=f[0];a>=10;a/=10,c++);c<14&&(r-=14-c)}return p.e=r,p.c=f,p},F.sum=function(){for(var e=1,t=arguments,n=new F(t[0]);e<t.length;)n=n.plus(t[e++]);return n},g=function(){var e="0123456789";function t(e,t,n,r){for(var i,o,s=[0],l=0,u=e.length;l<u;){for(o=s.length;o--;s[o]*=t);for(s[0]+=r.indexOf(e.charAt(l++)),i=0;i<s.length;i++)s[i]>n-1&&(null==s[i+1]&&(s[i+1]=0),s[i+1]+=s[i]/n|0,s[i]%=n)}return s.reverse()}return function(r,i,o,s,l){var u,a,f,d,p,h,g,m,b=r.indexOf("."),O=D,x=R;for(b>=0&&(d=T,T=0,r=r.replace(".",""),h=(m=new F(i)).pow(r.length-b),T=d,m.c=t(v(c(h.c),h.e,"0"),10,o,e),m.e=m.c.length),f=d=(g=t(r,i,o,l?(u=B,e):(u=e,B))).length;0==g[--d];g.pop());if(!g[0])return u.charAt(0);if(b<0?--f:(h.c=g,h.e=f,h.s=s,g=(h=n(h,m,O,x,o)).c,p=h.r,f=h.e),b=g[a=f+O+1],d=o/2,p=p||a<0||null!=g[a+1],p=x<4?(null!=b||p)&&(0==x||x==(h.s<0?3:2)):b>d||b==d&&(4==x||p||6==x&&1&g[a-1]||x==(h.s<0?8:7)),a<1||!g[0])r=p?v(u.charAt(1),-O,u.charAt(0)):u.charAt(0);else{if(g.length=a,p)for(--o;++g[--a]>o;
1)g[a]=0,a||(++f,g=[1].concat(g));for(d=g.length;!g[--d];);for(b=0,r="";b<=d;r+=u.charAt(g[b++]));r=v(r,f,u.charAt(0))}return r}}(),n=function(){function e(e,t,n){var r,i,o,s,l=0,u=e.length,a=t%1e7,c=t/1e7|0;for(e=e.slice();u--;)l=((i=a*(o=e[u]%1e7)+(r=c*o+(s=e[u]/1e7|0)*a)%1e7*1e7+l)/n|0)+(r/1e7|0)+c*s,e[u]=i%n;return l&&(e=[l].concat(e)),e}function t(e,t,n,r){var i,o;if(n!=r)o=n>r?1:-1;else for(i=o=0;i<n;i++)if(e[i]!=t[i]){o=e[i]>t[i]?1:-1;break}return o}function n(e,t,n,r){for(var i=0;n--;)e[n]-=i,i=+(e[n]<t[n]),e[n]=i*r+e[n]-t[n];for(;!e[0]&&e.length>1;e.splice(0,1));}return function(r,i,s,l,u){var c,f,d,p,h,v,g,m,b,O,x,y,w,E,S,I,D,R=r.s==i.s?1:-1,N=r.c,_=i.c;if(!(N&&N[0]&&_&&_[0]))return new F(r.s&&i.s&&(N?!_||N[0]!=_[0]:_)?N&&0==N[0]||!_?0*R:R/0:NaN);for(b=(m=new F(R)).c=[],R=s+(f=r.e-i.e)+1,u||(u=1e14,f=a(r.e/14)-a(i.e/14),R=R/14|0),d=0;_[d]==(N[d]||0);d++);if(_[d]>(N[d]||0)&&f--,R<0)b.push(1),p=!0;else{for(E=N.length,I=_.length,d=0,R+=2,(h=o(u/(_[0]+1)))>1&&(_=e(_,h,u),N=e(N,h,u),I=_.length,E=N.length),w=I,x=(O=N.slice(0,I)).length;x<I;O[x++]=0);D=[0].concat(D=_.slice()),S=_[0],_[1]>=u/2&&S++;do{if(h=0,(c=t(_,O,I,x))<0){if(y=O[0],I!=x&&(y=y*u+(O[1]||0)),(h=o(y/S))>1)for(h>=u&&(h=u-1),g=(v=e(_,h,u)).length,x=O.length;1==t(v,O,g,x);)h--,n(v,I<g?D:_,g,u),g=v.length,c=1;else 0==h&&(c=h=1),g=(v=_.slice()).length;if(g<x&&(v=[0].concat(v)),n(O,v,x,u),x=O.length,-1==c)for(;1>t(_,O,I,x);)h++,n(O,I<x?D:_,x,u),x=O.length}else 0===c&&(h++,O=[0]);b[d++]=h,O[0]?O[x++]=N[w]||0:(O=[N[w]],x=1)}while((w++<E||null!=O[0])&&R--);p=null!=O[0],b[0]||b.splice(0,1)}if(1e14==u){for(d=1,R=b[0];R>=10;R/=10,d++);$(m,s+(m.e=d+14*f-1)+1,l,p)}else m.e=f,m.r=+p;return m}}(),O=/^(-?)0([xbo])(?=\w[\w.]*$)/i,x=/^([^.]+)\.$/,y=/^\.([^.]+)$/,w=/^-?(Infinity|NaN)$/,E=/^\s*\+(?=[\w.])|^\s+|\s+$/g,m=function(e,t,n,r){var i,o=n?t:t.replace(E,"");if(w.test(o))e.s=isNaN(o)?null:o<0?-1:1;else{if(!n&&(o=o.replace(O,function(e,t,n){return i="x"==(n=n.toLowerCase())?16:"b"==n?2:8,r&&r!=i?e:t}),r&&(i=r,o=o.replace(x,"$1").replace(y,"0.$1")),t!=o))return new F(o,i);if(F.DEBUG)throw Error(s+"Not a"+(r?" base "+r:"")+" number: "+t);e.s=null}e.c=e.e=null},S.absoluteValue=S.abs=function(){var e=new F(this);return e.s<0&&(e.s=1),e},S.comparedTo=function(e,t){return f(this,new F(e,t))},S.decimalPlaces=S.dp=function(e,t){var n,r,i;if(null!=e)return d(e,0,1e9),null==t?t=R:d(t,0,8),$(new F(this),e+this.e+1,t);if(!(n=this.c))return null;if(r=((i=n.length-1)-a(this.e/14))*14,i=n[i])for(;i%10==0;i/=10,r--);return r<0&&(r=0),r},S.dividedBy=S.div=function(e,t){return n(this,new F(e,t),D,R)},S.dividedToIntegerBy=S.idiv=function(e,t){return n(this,new F(e,t),0,1)},S.exponentiatedBy=S.pow=function(e,t){var n,r,l,u,a,c,f,d,h=this;if((e=new F(e)).c&&!e.isInteger())throw Error(s+"Exponent not an integer: "+q(e));if(null!=t&&(t=new F(t)),a=e.e>14,!h.c||!h.c[0]||1==h.c[0]&&!h.e&&1==h.c.length||!e.c||!e.c[0])return d=new F(Math.pow(+q(h),a?e.s*(2-p(e)):+q(e))),t?d.mod(t):d;if(c=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new F(NaN);(r=!c&&h.isInteger()&&t.isInteger())&&(h=h.mod(t))}else{if(e.e>9&&(h.e>0||h.e<-1||(0==h.e?h.c[0]>1||a&&h.c[1]>=24e7:h.c[0]<8e13||a&&h.c[0]<=9999975e7)))return u=h.s<0&&p(e)?-0:0,h.e>-1&&(u=1/u),new F(c?1/u:u);T&&(u=i(T/14+2))}for(a?(n=new F(.5),c&&(e.s=1),f=p(e)):f=(l=Math.abs(+q(e)))%2,d=new F(I);;){if(f){if(!(d=d.times(h)).c)break;u?d.c.length>u&&(d.c.length=u):r&&(d=d.mod(t))}if(l){if(0===(l=o(l/2)))break;f=l%2}else if($(e=e.times(n),e.e+1,1),e.e>14)f=p(e);else{if(0==(l=+q(e)))break;f=l%2}h=h.times(h),u?h.c&&h.c.length>u&&(h.c.length=u):r&&(h=h.mod(t))}return r?d:(c&&(d=I.div(d)),t?d.mod(t):u?$(d,T,R,void 0):d)},S.integerValue=function(e){var t=new F(this);return null==e?e=R:d(e,0,8),$(t,t.e+1,e)},S.isEqualTo=S.eq=function(e,t){return 0===f(this,new F(e,t))},S.isFinite=function(){return!!this.c},S.isGreaterThan=S.gt=function(e,t){return f(this,new F(e,t))>0},S.isGreaterThanOrEqualTo=S.gte=function(e,t){return 1===(t=f(this,new F(e,t)))||0===t},S.isInteger=function(){return!!this.c&&a(this.e/14)>this.c.length-2},S.isLessThan=S.lt=function(e,t){return 0>f(this,new F(e,t))},S.isLessThanOrEqualTo=S.lte=function(e,t){return -1===(t=f(this,new F(e,t)))||0===t},S.isNaN=function(){return!this.s},S.isNegative=function(){return this.s<0},S.isPositive=function(){return this.s>0},S.isZero=function(){return!!this.c&&0==this.c[0]},S.minus=function(e,t){var n,r,i,o,s=this.s;if(t=(e=new F(e,t)).s,!s||!t)return new F(NaN);if(s!=t)return e.s=-t,this.plus(e);var l=this.e/14,u=e.e/14,c=this.c,f=e.c;if(!l||!u){if(!c||!f)return c?(e.s=-t,e):new F(f?this:NaN);if(!c[0]||!f[0])return f[0]?(e.s=-t,e):new F(c[0]?this:3==R?-0:0)}if(l=a(l),u=a(u),c=c.slice(),s=l-u){for((o=s<0)?(s=-s,i=c):(u=l,i=f),i.reverse(),t=s;t--;i.push(0));i.reverse()}else for(r=(o=(s=c.length)<(t=f.length))?s:t,s=t=0;t<r;t++)if(c[t]!=f[t]){o=c[t]<f[t];break}if(o&&(i=c,c=f,f=i,e.s=-e.s),(t=(r=f.length)-(n=c.length))>0)for(;t--;c[n++]=0);for(t=1e14-1;r>s;){if(c[--r]<f[r]){for(n=r;n&&!c[--n];c[n]=t);--c[n],c[r]+=1e14}c[r]-=f[r]}for(;0==c[0];c.splice(0,1),--u);return c[0]?G(e,c,u):(e.s=3==R?-1:1,e.c=[e.e=0],e)},S.modulo=S.mod=function(e,t){var r,i;return e=new F(e,t),this.c&&e.s&&(!e.c||e.c[0])?e.c&&(!this.c||this.c[0])?(9==C?(i=e.s,e.s=1,r=n(this,e,0,3),e.s=i,r.s*=i):r=n(this,e,0,C),(e=this.minus(r.times(e))).c[0]||1!=C||(e.s=this.s),e):new F(this):new F(NaN)},S.multipliedBy=S.times=function(e,t){var n,r,i,o,s,l,u,c,f,d,p,h,v,g=this.c,m=(e=new F(e,t)).c;if(!(g&&m&&g[0]&&m[0]))return this.s&&e.s&&(!g||g[0]||m)&&(!m||m[0]||g)?(e.s*=this.s,g&&m?(e.c=[0],e.e=0):e.c=e.e=null):e.c=e.e=e.s=null,e;for(r=a(this.e/14)+a(e.e/14),e.s*=this.s,(u=g.length)<(d=m.length)&&(v=g,g=m,m=v,i=u,u=d,d=i),i=u+d,v=[];i--;v.push(0));for(i=d;--i>=0;){for(n=0,p=m[i]%1e7,h=m[i]/1e7|0,o=i+(s=u);o>i;
1)n=((c=p*(c=g[--s]%1e7)+(l=h*c+(f=g[s]/1e7|0)*p)%1e7*1e7+v[o]+n)/1e14|0)+(l/1e7|0)+h*f,v[o--]=c%1e14;v[o]=n}return n?++r:v.splice(0,1),G(e,v,r)},S.negated=function(){var e=new F(this);return e.s=-e.s||null,e},S.plus=function(e,t){var n,r=this.s;if(t=(e=new F(e,t)).s,!r||!t)return new F(NaN);if(r!=t)return e.s=-t,this.minus(e);var i=this.e/14,o=e.e/14,s=this.c,l=e.c;if(!i||!o){if(!s||!l)return new F(r/0);if(!s[0]||!l[0])return l[0]?e:new F(s[0]?this:0*r)}if(i=a(i),o=a(o),s=s.slice(),r=i-o){for(r>0?(o=i,n=l):(r=-r,n=s),n.reverse();r--;n.push(0));n.reverse()}for((r=s.length)-(t=l.length)<0&&(n=l,l=s,s=n,t=r),r=0;t;)r=(s[--t]=s[t]+l[t]+r)/1e14|0,s[t]=1e14===s[t]?0:s[t]%1e14;return r&&(s=[r].concat(s),++o),G(e,s,o)},S.precision=S.sd=function(e,t){var n,r,i;if(null!=e&&!!e!==e)return d(e,1,1e9),null==t?t=R:d(t,0,8),$(new F(this),e,t);if(!(n=this.c))return null;if(r=14*(i=n.length-1)+1,i=n[i]){for(;i%10==0;i/=10,r--);for(i=n[0];i>=10;i/=10,r++);}return e&&this.e+1>r&&(r=this.e+1),r},S.shiftedBy=function(e){return d(e,-0x1fffffffffffff,0x1fffffffffffff),this.times("1e"+e)},S.squareRoot=S.sqrt=function(){var e,t,r,i,o,s=this.c,l=this.s,u=this.e,f=D+4,d=new F("0.5");if(1!==l||!s||!s[0])return new F(!l||l<0&&(!s||s[0])?NaN:s?this:1/0);if(0==(l=Math.sqrt(+q(this)))||l==1/0?(((t=c(s)).length+u)%2==0&&(t+="0"),l=Math.sqrt(+t),u=a((u+1)/2)-(u<0||u%2),r=new F(t=l==1/0?"5e"+u:(t=l.toExponential()).slice(0,t.indexOf("e")+1)+u)):r=new F(l+""),r.c[0]){for((l=(u=r.e)+f)<3&&(l=0);;)if(o=r,r=d.times(o.plus(n(this,o,f,1))),c(o.c).slice(0,l)===(t=c(r.c)).slice(0,l)){if(r.e<u&&--l,"9999"!=(t=t.slice(l-3,l+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||($(r,r.e+D+2,1),e=!r.times(r).eq(this));break}if(!i&&($(o,o.e+D+2,0),o.times(o).eq(this))){r=o;break}f+=4,l+=4,i=1}}return $(r,r.e+D+1,R,e)},S.toExponential=function(e,t){return null!=e&&(d(e,0,1e9),e++),U(this,e,t,1)},S.toFixed=function(e,t){return null!=e&&(d(e,0,1e9),e=e+this.e+1),U(this,e,t)},S.toFormat=function(e,t,n){var r;if(null==n)null!=e&&t&&"object"==typeof t?(n=t,t=null):e&&"object"==typeof e?(n=e,e=t=null):n=M;else if("object"!=typeof n)throw Error(s+"Argument not an object: "+n);if(r=this.toFixed(e,t),this.c){var i,o=r.split("."),l=+n.groupSize,u=+n.secondaryGroupSize,a=n.groupSeparator||"",c=o[0],f=
1o[1],d=this.s<0,p=d?c.slice(1):c,h=p.length;if(u&&(i=l,l=u,u=i,h-=i),l>0&&h>0){for(i=h%l||l,c=p.substr(0,i);i<h;i+=l)c+=a+p.substr(i,l);u>0&&(c+=a+p.slice(i)),d&&(c="-"+c)}r=f?c+(n.decimalSeparator||"")+((u=+n.fractionGroupSize)?f.replace(RegExp("\\d{"+u+"}\\B","g"),"$&"+(n.fractionGroupSeparator||"")):f):c}return(n.prefix||"")+r+(n.suffix||"")},S.toFraction=function(e){var t,r,i,o,l,a,f,d,p,h,v,g,m=this.c;if(null!=e&&(!(f=new F(e)).isInteger()&&(f.c||1!==f.s)||f.lt(I)))throw Error(s+"Argument "+(f.isInteger()?"out of range: ":"not an integer: ")+q(f));if(!m)return new F(this);for(t=new F(I),p=r=new F(I),i=d=new F(I),g=c(m),l=t.e=g.length-this.e-1,t.c[0]=u[(a=l%14)<0?14+a:a],e=!e||f.comparedTo(t)>0?l>0?t:p:f,a=L,L=1/0,f=new F(g),d.c[0]=0;h=n(f,t,0,1),1!=(o=r.plus(h.times(i))).comparedTo(e);)r=i,i=o,p=d.plus(h.times(o=p)),d=o,t=f.minus(h.times(o=t)),f=o;return o=n(e.minus(r),i,0,1),d=d.plus(o.times(p)),r=r.plus(o.times(i)),d.s=p.s=this.s,v=1>n(p,i,l*=2,R).minus(this).abs().comparedTo(n(d,r,l,R).minus(this).abs())?[p,i]:[d,r],L=a,v},S.toNumber=function(){return+q(this)},S.toPrecision=function(e,t){return null!=e&&d(e,1,1e9),U(this,e,t,2)},S.toString=function(e){var t,n=this,r=n.s,i=n.e;return null===i?r?(t="Infinity",r<0&&(t="-"+t)):t="NaN":(null==e?t=i<=N||i>=_?h(c(n.c),i):v(c(n.c),i,"0"):10===e&&k?t=v(c((n=$(new F(n),D+i+1,R)).c),n.e,"0"):(d(e,2,B.length,"Base"),t=g(v(c(n.c),i,"0"),10,e,r,!0)),r<0&&n.c[0]&&(t="-"+t)),t},S.valueOf=S.toJSON=function(){return q(this)},S._isBigNumber=!0,S[Symbol.toStringTag]="BigNumber",S[Symbol.for("nodejs.util.inspect.custom")]=S.valueOf,null!=t&&F.set(t),F}()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.