!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1f506f7f-e3a7-484e-9299-2a8b6b1e9f01",e._sentryDebugIdIdentifier="sentry-dbid-1f506f7f-e3a7-484e-9299-2a8b6b1e9f01")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1156],{81156:function(e,t,n){let o,i,r,l;n.d(t,{Ri:function(){return eb},Y4:function(){return ed},wt:function(){return ef},O_:function(){return ep},Xe:function(){return ev}});var a=n(61778),u=n(83892),s=n(2265),d=n(54887),c=n(54079),p=n(91818),f=n(93169),v=n(95839),b=n(293),m=n(99299),x=n(98267),g=n(6584),h=n(64524),O=n(61463),S=n(88703),y=n(58371),E=n(39110),R=n(62707),T=n(75180),I=n(74515),P=n(41469),L=n(58606),w=n(32633),M=n(79072),_=n(83040),C=n(12874),D=n(76935),k=n(21495),z=n(53509),A=n(47986),N=n(1494),F=n(70777),V=n(19309),B=n(69331),Q=n(5583),U=n(91498),Y=n(3600),G=n(83184),H=n(7551),K=n(43003),Z=n(22934),j=((o=j||{})[o.Open=0]="Open",o[o.Closed=1]="Closed",o),q=((i=q||{})[i.Single=0]="Single",i[i.Multi=1]="Multi",i),J=((r=J||{})[r.Pointer=0]="Pointer",r[r.Other=1]="Other",r),X=((l=X||{})[l.OpenListbox=0]="OpenListbox",l[l.CloseListbox=1]="CloseListbox",l[l.GoToOption=2]="GoToOption",l[l.Search=3]="Search",l[l.ClearSearch=4]="ClearSearch",l[l.RegisterOption=5]="RegisterOption",l[l.UnregisterOption=6]="UnregisterOption",l[l.SetButtonElement=7]="SetButtonElement",l[l.SetOptionsElement=8]="SetOptionsElement",l);function W(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e,n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,o=(0,V.z2)(t(e.options.slice()),e=>e.dataRef.current.domRef.current),i=n?o.indexOf(n):null;return -1===i&&(i=null),{options:o,activeOptionIndex:i}}let $={1:e=>e.dataRef.current.disabled||1===e.listboxState?e:{...e,activeOptionIndex:null,listboxState:1,__demoMode:!1},0(e){if(e.dataRef.current.disabled||0===e.listboxState)return e;let t=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,o=e.options.findIndex(e=>n(e.dataRef.current.value));return -1!==o&&(t=o),{...e,listboxState:0,activeOptionIndex:t,__demoMode:!1}},2(e,t){var n,o,i,r,l;if(e.dataRef.current.disabled||1===e.listboxState)return e;let a={...e,searchQuery:"",activationTrigger:null!=(n=t.trigger)?n:1,__demoMode:!1};if(t.focus===N.T.Nothing)return{...a,activeOptionIndex:null};if(t.focus===N.T.Specific)return{...a,activeOptionIndex:e.options.findIndex(e=>e.id===t.id)};if(t.focus===N.T.Previous){let n=e.activeOptionIndex;if(null!==n){let r=e.options[n].dataRef.current.domRef,l=(0,N.d)(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==l){let t=e.options[l].dataRef.current.domRef;if((null==(o=r.current)?void 0:o.previousElementSibling)===t.current||(null==(i=t.current)?void 0:i.previousElementSibling)===null)return{...a,activeOptionIndex:l}}}}else if(t.focus===N.T.Next){let n=e.activeOptionIndex;if(null!==n){let o=e.options[n].dataRef.current.domRef,i=(0,N.d)(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==(r=o.current)?void 0:r.nextElementSibling)===t.current||(null==(l=t.current)?void 0:l.nextElementSibling)===null)return{...a,activeOptionIndex:i}}}}let u=W(e),s=(0,N.d)(t,{resolveItems:()=>u.options,resolveActiveIndex:()=>u.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...a,...u,activeOptionIndex:s}},3:(e,t)=>{if(e.dataRef.current.disabled||1===e.listboxState)return e;let n=""!==e.searchQuery?0:1,o=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(o))}),r=i?e.options.indexOf(i):-1;return -1===r||r===e.activeOptionIndex?{...e,searchQuery:o}:{...e,searchQuery:o,activeOptionIndex:r,activationTrigger:1}},4:e=>e.dataRef.current.disabled||1===e.listboxState||""===e.searchQuery?e:{...e,searchQuery:""},5:(e,t)=>{let n={id:t.id,dataRef:t.dataRef},o=W(e,e=>[...e,n]);return null===e.activeOptionIndex&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(o.activeOptionIndex=o.options.indexOf(n)),{...e,...o}},6:(e,t)=>{let n=W(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...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}},ee=(0,s.createContext)(null);function et(e){let t=(0,s.useContext)(ee);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Listbox /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,et),t}return t}ee.displayName="ListboxActionsContext";let en=(0,s.createContext)(null);function eo(e){let t=(0,s.useContext)(en);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Listbox /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,eo),t}return t}function ei(e,t){return(0,Q.E)(t.type,$,e,t)}en.displayName="ListboxDataContext";let er=s.Fragment,el=(0,s.createContext)(!1),ea=Y.VN.RenderStrategy|Y.VN.Static,eu=s.Fragment,es=(0,Y.yV)(function(e,t){var n;let o=(0,_.B)(),{value:i,defaultValue:r,form:l,name:a,onChange:u,by:d,invalid:c=!1,disabled:b=o||!1,horizontal:x=!1,multiple:h=!1,__demoMode:S=!1,...y}=e,R=x?"horizontal":"vertical",T=(0,P.T)(t),I=(0,v.L)(r),[L=h?[]:void 0,w]=(0,f.q)(i,u,I),[M,k]=(0,s.useReducer)(ei,{dataRef:(0,s.createRef)(),listboxState:S?0:1,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,optionsVisible:!1,buttonElement:null,optionsElement:null,__demoMode:S}),A=(0,s.useRef)({static:!1,hold:!1}),F=(0,s.useRef)(new Map),B=(0,p.J)(d),U=(0,s.useCallback)(e=>(0,Q.E)(G.mode,{1:()=>L.some(t=>B(t,e)),0:()=>B(L,e)}),[L]),G=(0,s.useMemo)(()=>({...M,value:L,disabled:b,invalid:c,mode:h?1:0,orientation:R,compare:B,isSelected:U,optionsPropsRef:A,listRef:F}),[L,b,c,h,M,F]);(0,O.e)(()=>{M.dataRef.current=G},[G]);let H=0===G.listboxState;(0,E.O)(H,[G.buttonElement,G.optionsElement],(e,t)=>{var n;k({type:1}),(0,V.sP)(t,V.tJ.Loose)||(e.preventDefault(),null==(n=G.buttonElement)||n.focus())});let Z=(0,s.useMemo)(()=>({open:0===G.listboxState,disabled:b,invalid:c,value:L}),[G,b,L,c]),j=(0,g.z)(e=>{let t=G.options.find(t=>t.id===e);t&&eo(t.dataRef.current.value)}),q=(0,g.z)(()=>{if(null!==G.activeOptionIndex){let{dataRef:e,id:t}=G.options[G.activeOptionIndex];eo(e.current.value),k({type:2,focus:N.T.Specific,id:t})}}),J=(0,g.z)(()=>k({type:0})),X=(0,g.z)(()=>k({type:1})),W=(0,m.G)(),$=(0,g.z)((e,t,n)=>{W.dispose(),W.microTask(()=>e===N.T.Specific?k({type:2,focus:N.T.Specific,id:t,trigger:n}):k({type:2,focus:e,trigger:n}))}),et=(0,g.z)((e,t)=>(k({type:5,id:e,dataRef:t}),()=>k({type:6,id:e}))),eo=(0,g.z)(e=>(0,Q.E)(G.mode,{0:()=>null==w?void 0:w(e),1(){let t=G.value.slice(),n=t.findIndex(t=>B(t,e));return -1===n?t.push(e):t.splice(n,1),null==w?void 0:w(t)}})),el=(0,g.z)(e=>k({type:3,value:e})),ea=(0,g.z)(()=>k({type:4})),eu=(0,g.z)(e=>{k({type:7,element:e})}),es=(0,g.z)(e=>{k({type:8,element:e})}),ed=(0,s.useMemo)(()=>({onChange:eo,registerOption:et,goToOption:$,closeListbox:X,openListbox:J,selectActiveOption:q,selectOption:j,search:el,clearSearch:ea,setButtonElement:eu,setOptionsElement:es}),[]),[ec,ep]=(0,K.bE)({inherit:!0}),ef=(0,s.useCallback)(()=>{if(void 0!==I)return null==w?void 0:w(I)},[w,I]);return s.createElement(ep,{value:ec,props:{htmlFor:null==(n=G.buttonElement)?void 0:n.id},slot:{open:0===G.listboxState,disabled:b}},s.createElement(C.HO,null,s.createElement(ee.Provider,{value:ed},s.createElement(en.Provider,{value:G},s.createElement(z.up,{value:(0,Q.E)(G.listboxState,{0:z.ZM.Open,1:z.ZM.Closed})},null!=a&&null!=L&&s.createElement(D.Mt,{disabled:b,data:{[a]:L},form:l,onReset:ef}),(0,Y.sY)({ourProps:{ref:T},theirProps:y,slot:Z,defaultTag:er,name:"Listbox"}))))))}),ed=(0,Y.yV)(function(e,t){var n;let o=eo("Listbox.Button"),i=et("Listbox.Button"),r=(0,s.useId)(),l=(0,k.Q)(),{id:p=l||"headlessui-listbox-button-".concat(r),disabled:f=o.disabled||!1,autoFocus:v=!1,...b}=e,m=(0,Y.Y2)(),x=(0,P.T)(t,(0,C.AZ)(),i.setButtonElement),h=(0,C.L)(),O=(0,g.z)(e=>{switch(e.key){case H.R.Enter:(0,B.g)(e.currentTarget);break;case H.R.Space:case H.R.ArrowDown:e.preventDefault(),(0,d.flushSync)(()=>i.openListbox()),o.value||i.goToOption(N.T.First);break;case H.R.ArrowUp:e.preventDefault(),(0,d.flushSync)(()=>i.openListbox()),o.value||i.goToOption(N.T.Last)}}),S=(0,g.z)(e=>{e.key===H.R.Space&&e.preventDefault()}),y=(0,g.z)(e=>{var t;if((0,A.P)(e.currentTarget))return e.preventDefault();0===o.listboxState?((0,d.flushSync)(()=>i.closeListbox()),null==(t=o.buttonElement)||t.focus({preventScroll:!0})):(e.preventDefault(),i.openListbox())}),E=(0,g.z)(e=>e.preventDefault()),R=(0,K.wp)([p]),I=(0,G.zH)(),{isFocusVisible:L,focusProps:w}=(0,a.F)({autoFocus:v}),{isHovered:M,hoverProps:_}=(0,u.X)({isDisabled:f}),{pressed:D,pressProps:z}=(0,c.x)({disabled:f}),F=(0,s.useMemo)(()=>({open:0===o.listboxState,active:D||0===o.listboxState,disabled:f,invalid:o.invalid,value:o.value,hover:M,focus:L,autofocus:v}),[o.listboxState,o.value,f,M,L,D,o.invalid,v]),V=(0,Y.dG)(h(),{ref:x,id:p,type:(0,T.f)(e,o.buttonElement),"aria-haspopup":"listbox","aria-controls":null==(n=o.optionsElement)?void 0:n.id,"aria-expanded":0===o.listboxState,"aria-labelledby":R,"aria-describedby":I,disabled:f||void 0,autoFocus:v,onKeyDown:O,onKeyUp:S,onKeyPress:E,onClick:y},w,_,z);return(0,Y.sY)({mergeRefs:m,ourProps:V,theirProps:b,slot:F,defaultTag:"button",name:"Listbox.Button"})}),ec=K.__,ep=(0,Y.yV)(function(e,t){var n,o;let i=(0,s.useId)(),{id:r="headlessui-listbox-options-".concat(i),anchor:l,portal:a=!1,modal:u=!0,transition:c=!1,...p}=e,f=(0,C.Vy)(l),[v,O]=(0,s.useState)(null);f&&(a=!0);let S=eo("Listbox.Options"),E=et("Listbox.Options"),T=(0,R.i)(S.optionsElement),L=(0,z.oJ)(),[w,_]=(0,M.Y)(c,v,null!==L?(L&z.ZM.Open)===z.ZM.Open:0===S.listboxState);(0,y.m)(w,S.buttonElement,E.closeListbox);let D=!S.__demoMode&&u&&0===S.listboxState;(0,I.P)(D,T);let k=!S.__demoMode&&u&&0===S.listboxState;(0,h.s)(k,{allowed:(0,s.useCallback)(()=>[S.buttonElement,S.optionsElement],[S.buttonElement,S.optionsElement])});let A=0!==S.listboxState,F=!(0,b.C)(A,S.buttonElement)&&w,B=function(e,t){let[n,o]=(0,s.useState)(t);return e||n===t||o(t),e?n:t}(w&&1===S.listboxState,S.value),G=(0,g.z)(e=>S.compare(B,e)),K=(0,s.useMemo)(()=>{var e;if(null==f||!(null!=(e=null==f?void 0:f.to)&&e.includes("selection")))return null;let t=S.options.findIndex(e=>G(e.dataRef.current.value));return -1===t&&(t=0),t},[f,S.options]),j=(()=>{if(null==f)return;if(null===K)return{...f,inner:void 0};let e=Array.from(S.listRef.current.values());return{...f,inner:{listRef:{current:e},index:K}}})(),[q,J]=(0,C.ES)(j),X=(0,C.U8)(),W=(0,P.T)(t,f?q:null,E.setOptionsElement,O),$=(0,m.G)();(0,s.useEffect)(()=>{var e;let t=S.optionsElement;t&&0===S.listboxState&&t!==(null==(e=(0,U.r)(t))?void 0:e.activeElement)&&(null==t||t.focus({preventScroll:!0}))},[S.listboxState,S.optionsElement]);let ee=(0,g.z)(e=>{var t,n;switch($.dispose(),e.key){case H.R.Space:if(""!==S.searchQuery)return e.preventDefault(),e.stopPropagation(),E.search(e.key);case H.R.Enter:if(e.preventDefault(),e.stopPropagation(),null!==S.activeOptionIndex){let{dataRef:e}=S.options[S.activeOptionIndex];E.onChange(e.current.value)}0===S.mode&&((0,d.flushSync)(()=>E.closeListbox()),null==(t=S.buttonElement)||t.focus({preventScroll:!0}));break;case(0,Q.E)(S.orientation,{vertical:H.R.ArrowDown,horizontal:H.R.ArrowRight}):return e.preventDefault(),e.stopPropagation(),E.goToOption(N.T.Next);case(0,Q.E)(S.orientation,{vertical:H.R.ArrowUp,horizontal:H.R.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),E.goToOption(N.T.Previous);case H.R.Home:case H.R.PageUp:return e.preventDefault(),e.stopPropagation(),E.goToOption(N.T.First);case H.R.End:case H.R.PageDown:return e.preventDefault(),e.stopPropagation(),E.goToOption(N.T.Last);case H.R.Escape:e.preventDefault(),e.stopPropagation(),(0,d.flushSync)(()=>E.closeListbox()),null==(n=S.buttonElement)||n.focus({preventScroll:!0});return;case H.R.Tab:e.preventDefault(),e.stopPropagation(),(0,d.flushSync)(()=>E.closeListbox()),(0,V.EO)(S.buttonElement,e.shiftKey?V.TO.Previous:V.TO.Next);break;default:1===e.key.length&&(E.search(e.key),$.setTimeout(()=>E.clearSearch(),350))}}),ei=null==(n=S.buttonElement)?void 0:n.id,er=(0,s.useMemo)(()=>({open:0===S.listboxState}),[S.listboxState]),el=(0,Y.dG)(f?X():{},{id:r,ref:W,"aria-activedescendant":null===S.activeOptionIndex||null==(o=S.options[S.activeOptionIndex])?void 0:o.id,"aria-multiselectable":1===S.mode||void 0,"aria-labelledby":ei,"aria-orientation":S.orientation,onKeyDown:ee,role:"listbox",tabIndex:0===S.listboxState?0:void 0,style:{...p.style,...J,"--button-width":(0,x.h)(S.buttonElement,!0).width},...(0,M.X)(_)});return s.createElement(Z.h_,{enabled:!!a&&(e.static||w)},s.createElement(en.Provider,{value:1===S.mode?S:{...S,isSelected:G}},(0,Y.sY)({ourProps:el,theirProps:p,slot:er,defaultTag:"div",features:ea,visible:F,name:"Listbox.Options"})))}),ef=(0,Y.yV)(function(e,t){let n=(0,s.useId)(),{id:o="headlessui-listbox-option-".concat(n),disabled:i=!1,value:r,...l}=e,a=!0===(0,s.useContext)(el),u=eo("Listbox.Option"),c=et("Listbox.Option"),p=null!==u.activeOptionIndex&&u.options[u.activeOptionIndex].id===o,f=u.isSelected(r),v=(0,s.useRef)(null),b=(0,L.x)(v),m=(0,S.E)({disabled:i,value:r,domRef:v,get textValue(){return b()}}),x=(0,P.T)(t,v,e=>{e?u.listRef.current.set(o,e):u.listRef.current.delete(o)});(0,O.e)(()=>{if(!u.__demoMode&&0===u.listboxState&&p&&0!==u.activationTrigger)return(0,F.k)().requestAnimationFrame(()=>{var e,t;null==(t=null==(e=v.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})},[v,p,u.__demoMode,u.listboxState,u.activationTrigger,u.activeOptionIndex]),(0,O.e)(()=>{if(!a)return c.registerOption(o,m)},[m,o,a]);let h=(0,g.z)(e=>{var t;if(i)return e.preventDefault();c.onChange(r),0===u.mode&&((0,d.flushSync)(()=>c.closeListbox()),null==(t=u.buttonElement)||t.focus({preventScroll:!0}))}),y=(0,g.z)(()=>{if(i)return c.goToOption(N.T.Nothing);c.goToOption(N.T.Specific,o)}),E=(0,w.g)(),R=(0,g.z)(e=>{E.update(e),!i&&(p||c.goToOption(N.T.Specific,o,0))}),T=(0,g.z)(e=>{E.wasMoved(e)&&(i||p||c.goToOption(N.T.Specific,o,0))}),I=(0,g.z)(e=>{E.wasMoved(e)&&(i||p&&c.goToOption(N.T.Nothing))}),M=(0,s.useMemo)(()=>({active:p,focus:p,selected:f,disabled:i,selectedOption:f&&a}),[p,f,i,a]),_=a?{}:{id:o,ref:x,role:"option",tabIndex:!0===i?void 0:-1,"aria-disabled":!0===i||void 0,"aria-selected":f,disabled:void 0,onClick:h,onFocus:y,onPointerEnter:R,onMouseEnter:R,onPointerMove:T,onMouseMove:T,onPointerLeave:I,onMouseLeave:I};return!f&&a?null:(0,Y.sY)({ourProps:_,theirProps:l,slot:M,defaultTag:"div",name:"Listbox.Option"})}),ev=(0,Y.yV)(function(e,t){let{options:n,placeholder:o,...i}=e,r={ref:(0,P.T)(t)},l=eo("ListboxSelectedOption"),a=(0,s.useMemo)(()=>({}),[]),u=void 0===l.value||null===l.value||1===l.mode&&Array.isArray(l.value)&&0===l.value.length;return s.createElement(el.Provider,{value:!0},(0,Y.sY)({ourProps:r,theirProps:{...i,children:s.createElement(s.Fragment,null,o&&u?o:n)},slot:a,defaultTag:eu,name:"ListboxSelectedOption"}))}),eb=Object.assign(es,{Button:ed,Label:ec,Options:ep,Option:ef,SelectedOption:ev})},91818:function(e,t,n){n.d(t,{J:function(){return r}});var o=n(2265);function i(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}function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;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])}},93169:function(e,t,n){n.d(t,{q:function(){return r}});var o=n(2265),i=n(6584);function r(e,t,n){let[r,l]=(0,o.useState)(n),a=void 0!==e,u=(0,o.useRef)(a),s=(0,o.useRef)(!1),d=(0,o.useRef)(!1);return!a||u.current||s.current?a||!u.current||d.current||(d.current=!0,u.current=a,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.")):(s.current=!0,u.current=a,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.")),[a?e:r,(0,i.z)(e=>(a||l(e),null==t?void 0:t(e)))]}},95839:function(e,t,n){n.d(t,{L:function(){return i}});var o=n(2265);function i(e){let[t]=(0,o.useState)(e);return t}},76935:function(e,t,n){n.d(t,{Mt:function(){return p},wR:function(){return d}});var o=n(2265),i=n(54887),r=n(99299),l=n(69331),a=n(3600),u=n(89080);let s=(0,o.createContext)(null);function d(e){let[t,n]=(0,o.useState)(null);return o.createElement(s.Provider,{value:{target:t}},e.children,o.createElement(u._,{features:u.x.Hidden,ref:n}))}function c(e){let{children:t}=e,n=(0,o.useContext)(s);if(!n)return o.createElement(o.Fragment,null,t);let{target:r}=n;return r?(0,i.createPortal)(o.createElement(o.Fragment,null,t),r):null}function p(e){let{data:t,form:n,disabled:i,onReset:s,overrides:d}=e,[p,v]=(0,o.useState)(null),b=(0,r.G)();return(0,o.useEffect)(()=>{if(s&&p)return b.addEventListener(p,"reset",s)},[p,n,s]),o.createElement(c,null,o.createElement(f,{setForm:v,formId:n}),(0,l.t)(t).map(e=>{let[t,r]=e;return o.createElement(u._,{features:u.x.Hidden,...(0,a.oA)({key:t,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:n,disabled:i,name:t,value:r,...d})})}))}function f(e){let{setForm:t,formId:n}=e;return(0,o.useEffect)(()=>{if(n){let e=document.getElementById(n);e&&t(e)}},[t,n]),n?null:o.createElement(u._,{features:u.x.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:e=>{if(!e)return;let n=e.closest("form");n&&t(n)}})}},69331:function(e,t,n){function o(e,t){return e?e+"["+t+"]":t}function i(e){var t,n;let o=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(o){for(let t of o.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type)){t.click();return}null==(n=o.requestSubmit)||n.call(o)}}n.d(t,{g:function(){return i},t:function(){return function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];for(let[r,l]of Object.entries(t))!function t(n,i,r){if(Array.isArray(r))for(let[e,l]of r.entries())t(n,o(i,e.toString()),l);else r instanceof Date?n.push([i,r.toISOString()]):"boolean"==typeof r?n.push([i,r?"1":"0"]):"string"==typeof r?n.push([i,r]):"number"==typeof r?n.push([i,"".concat(r)]):null==r?n.push([i,""]):e(r,i,n)}(i,o(n,r),l);return i}}})}}]);