PageSourceSearch

https://www.stayduvet.com/_next/static/chunks/1327-36286173e3b55a49.js

js stayduvet.com collected 2026-10-05 04:50:40 UTC 30,941 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1327],{20728:function(e,t,n){n.d(t,{V:function(){return Fe}});var r=n(67294),o=n(32984),i=n(12351),l=n(23784),u=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(u||{});function a(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}var s,c=n(16723),d=n(82180);let f=0;function p(){return++f}let v=null!=(s=r.useId)?s:function(){let e=(0,d.H)(),[t,n]=r.useState(e?p:null);return(0,c.e)((()=>{null===t&&n(p())}),[t]),null!=t?""+t:void 0};var m=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(m||{});let h=(0,i.yV)((function(e,t){let{features:n=1,...r}=e,o={ref:t,"aria-hidden":2===(2&n)||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===(4&n)&&2!==(2&n)&&{display:"none"}}};return(0,i.sY)({ourProps:o,theirProps:r,slot:{},defaultTag:"div",name:"Hidden"})}));var E=n(43393);function g(e){return E.s?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let w=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var b,y,T=((y=T||{})[y.First=1]="First",y[y.Previous=2]="Previous",y[y.Next=4]="Next",y[y.Last=8]="Last",y[y.WrapAround=16]="WrapAround",y[y.NoScroll=32]="NoScroll",y),P=((b=P||{})[b.Error=0]="Error",b[b.Overflow=1]="Overflow",b[b.Success=2]="Success",b[b.Underflow=3]="Underflow",b),F=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(F||{});function C(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(w))}var S=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(S||{});function R(e,t=0){var n;return e!==(null==(n=g(e))?void 0:n.body)&&(0,o.E)(t,{0:()=>e.matches(w),1(){let t=e;for(;null!==t;){if(t.matches(w))return!0;t=t.parentElement}return!1}})}function A(e){null==e||e.focus({preventScroll:!0})}let D=["textarea","input"].join(",");function x(e,t,n=!0,r=null){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,i=Array.isArray(e)?n?function(e,t=(e=>e)){return e.slice().sort(((e,n)=>{let r=t(e),o=t(n);if(null===r||null===o)return 0;let i=r.compareDocumentPosition(o);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}(e):e:C(e);r=null!=r?r:o.activeElement;let l,u=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),a=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,i.indexOf(r))-1;if(4&t)return Math.max(0,i.indexOf(r))+1;if(8&t)return i.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=32&t?{preventScroll:!0}:{},c=0,d=i.length;do{if(c>=d||c+d<=0)return 0;let e=a+c;if(16&t)e=(e+d)%d;else{if(e<0)return 3;if(e>=d)return 1}l=i[e],null==l||l.focus(s),c+=u}while(l!==o.activeElement);return 6&t&&function(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,D))&&n}(l)&&l.select(),l.hasAttribute("tabindex")||l.setAttribute("tabindex","0"),2}var O=n(73781),k=n(3855);var L=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(L||{});function N(){let e=(0,r.useRef)(0);return function(e,t,n){let o=(0,k.E)(t);(0,r.useEffect)((()=>{function t(e){o.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)}),[e,n])}("keydown",(t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}var M=n(14879);function H(...e){return(0,r.useMemo)((()=>g(...e)),[...e])}function j(e,t,n,o){let i=(0,k.E)(n);(0,r.useEffect)((()=>{function n(e){i.current(e)}return(e=null!=e?e:window).addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)}),[e,t,o])}var Y=n(81021);function I(e,t){let n=(0,r.useRef)([]),o=(0,O.z)(e);(0,r.useEffect)((()=>{let e=[...n.current];for(let[r,i]of t.entries())if(n.current[r]!==i){let r=o(t,e);return n.current=t,r}}),[o,...t])}var V=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.Re
1storeFocus=16]="RestoreFocus",e[e.All=30]="All",e))(V||{});let z=Object.assign((0,i.yV)((function(e,t){let n=(0,r.useRef)(null),u=(0,l.T)(n,t),{initialFocus:a,containers:s,features:c=30,...f}=e;(0,d.H)()||(c=1);let p=H(n);!function({ownerDocument:e},t){let n=(0,r.useRef)(null);j(null==e?void 0:e.defaultView,"focusout",(e=>{!t||n.current||(n.current=e.target)}),!0),I((()=>{t||((null==e?void 0:e.activeElement)===(null==e?void 0:e.body)&&A(n.current),n.current=null)}),[t]);let o=(0,r.useRef)(!1);(0,r.useEffect)((()=>(o.current=!1,()=>{o.current=!0,(0,Y.Y)((()=>{!o.current||(A(n.current),n.current=null)}))})),[])}({ownerDocument:p},Boolean(16&c));let v=function({ownerDocument:e,container:t,initialFocus:n},o){let i=(0,r.useRef)(null),l=(0,M.t)();return I((()=>{if(!o)return;let r=t.current;!r||(0,Y.Y)((()=>{if(!l.current)return;let t=null==e?void 0:e.activeElement;if(null!=n&&n.current){if((null==n?void 0:n.current)===t)return void(i.current=t)}else if(r.contains(t))return void(i.current=t);null!=n&&n.current?A(n.current):x(r,T.First)===P.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),i.current=null==e?void 0:e.activeElement}))}),[o]),i}({ownerDocument:p,container:n,initialFocus:a},Boolean(2&c));!function({ownerDocument:e,container:t,containers:n,previousActiveElement:r},o){let i=(0,M.t)();j(null==e?void 0:e.defaultView,"focus",(e=>{if(!o||!i.current)return;let l=new Set(null==n?void 0:n.current);l.add(t);let u=r.current;if(!u)return;let a=e.target;a&&a instanceof HTMLElement?function(e,t){var n;for(let r of e)if(null!=(n=r.current)&&n.contains(t))return!0;return!1}(l,a)?(r.current=a,A(a)):(e.preventDefault(),e.stopPropagation(),A(u)):A(r.current)}),!0)}({ownerDocument:p,container:n,containers:s,previousActiveElement:v},Boolean(8&c));let E=N(),g=(0,O.z)((()=>{let e=n.current;!e||(0,o.E)(E.current,{[L.Forwards]:()=>x(e,T.First),[L.Backwards]:()=>x(e,T.Last)})})),w={ref:u};return r.createElement(r.Fragment,null,Boolean(4&c)&&r.createElement(h,{as:"button",type:"button",onFocus:g,features:m.Focusable}),(0,i.sY)({ourProps:w,theirProps:f,defaultTag:"div",name:"FocusTrap"}),Boolean(4&c)&&r.createElement(h,{as:"button",type:"button",onFocus:g,features:m.Focusable}))})),{features:V});let $=new Set,B=new Map;function U(e){e.setAttribute("aria-hidden","true"),e.inert=!0}function q(e){let t=B.get(e);!t||(null===t["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",t["aria-hidden"]),e.inert=t.inert)}var _=n(73935);let W=(0,r.createContext)(!1);function Z(){return(0,r.useContext)(W)}function G(e){return r.createElement(W.Provider,{value:e.force},e.children)}let J=r.Fragment,K=(0,i.yV)((function(e,t){let n=e,o=(0,r.useRef)(null),u=(0,l.T)((0,l.h)((e=>{o.current=e})),t),a=H(o),s=function(e){let t=Z(),n=(0,r.useContext)(X),o=H(e),[i,l]=(0,r.useState)((()=>{if(!t&&null!==n||E.s)return null;let e=null==o?void 0:o.getElementById("headlessui-portal-root");if(e)return e;if(null===o)return null;let r=o.createElement("div");return r.setAttribute("id","headlessui-portal-root"),o.body.appendChild(r)}));return(0,r.useEffect)((()=>{null!==i&&(null!=o&&o.body.contains(i)||null==o||o.body.appendChild(i))}),[i,o]),(0,r.useEffect)((()=>{t||null!==n&&l(n.current)}),[n,l,t]),i}(o),[f]=(0,r.useState)((()=>{var e;return E.s?null:null!=(e=null==a?void 0:a.createElement("div"))?e:null})),p=(0,d.H)(),v=(0,r.useRef)(!1);return(0,c.e)((()=>{if(v.current=!1,s&&f)return s.contains(f)||(f.setAttribute("data-headlessui-portal",""),s.appendChild(f)),()=>{v.current=!0,(0,Y.Y)((()=>{var e;!v.current||!s||!f||(s.removeChild(f),s.childNodes.length<=0&&(null==(e=s.parentElement)||e.removeChild(s)))}))}}),[s,f]),p&&s&&f?(0,_.createPortal)((0,i.sY)({ourProps:{ref:u},theirProps:n,defaultTag:J,name:"Portal"}),f):null})),Q=r.Fragment,X=(0,r.createContext)(null),ee=(0,i.yV)((function(e,t){let{target:n,...o}=e,u={ref:(0,l.T)(t)};return r.createElement(X.Provider,{value:n},(0,i.sY)({ourProps:u,theirProps:o,defaultTag:Q,name:"Popover.Group"}))})),te=Object.assign(K,{Group:ee}),ne=(0,r.createContext)(null);function re(){let e=(0,r.useContext)(ne);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,re),e}return e}let oe=(0,i.yV)((function(e,t){let n=re(),r=`headlessui-description-${v()}`,o=(0,l.T)(t);(0,c.e)((()=>n.register(r)),[r,n.register]);let u=e,a={ref:o,...n.props,id:r};return(0,i.sY)({ourProps:a,theirProps:u,slot:n.slot||{},defaultTag:"p",name:n.name||"Description"})}));var ie=n(16567);let le=(0,r.createContext)((()=>{}));le.displayName="StackContext";var ue=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(ue||{});function ae({children:e,onUpdate:t,type:n,element:o,enabled:i}){let l=(0,r.useContext)(le),u=(0,O.z)(((...e)=>{null==t||t(...e),l(...e)}));return(0,c.e)((()=>{let e=void 0===i||!0===i;return e&&u(0,n,o),()=>{e&&u(1,n,o)}}),[u,n,o,i]),r.createElement(le.Provider,{value:u},e)}function se(e,t,n){let o=(0,k.E)(t);(0,r.useEffect)((()=>{function t(e){o.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)}),[e,n])}var ce=n(9362);var de=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(de||{}),fe=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(fe||{});let pe={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},ve=(0,r.createContext)(null);function me(e){let t=(0,r.useContext)(ve);if(null===t){let t=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,me),t}return t}function he(e,t){(0,r.useEffect)((()=>{var n;if(!t||!e)return;let r=(0,ce.k)();function o(e,t,n){let o=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),r.add((()=>{Object.assign(e.style,{[t]:o})}))}let i=e.documentElement,l=(null!=(n=e.defaultView)?n:window).innerWidth-i.clientWidth;if(o(i,"overflow","hidden"),l>0){o(i,"paddingRight",`${l-(i.clientWidth-i.offsetWidth)}px`)}if(/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0){let e=window.pageYOffset;o(i,"position","fixed"),o(i,"marginTop",`-${e}px`),o(i,"width","100%"),r.add((()=>window.scrollTo(0,e)))}return r.dispose}),[e,t])}function Ee(e,t){return(0,o.E)(t.type,pe,e,t)}ve.displayName="DialogContext";let ge=i.AN.RenderStrategy|i.AN.Static,we=(0,i.yV)((function(e,t){let{open:n,onClose:a,initialFocus:s,__demoMode:f=!1,...p}=e,[E,w]=(0,r.useState)(0),b=(0,ie.oJ)();void 0===n&&null!==b&&(n=(0,o.E)(b,{[ie.ZM.Open]:!0,[ie.ZM.Closed]:!1}));let y=(0,r.useRef)(new Set),T=(0,r.useRef)(null),P=(0,l.T)(T,t),F=(0,r.useRef)(null),C=H(T),A=e.hasOwnProperty("open")||null!==b,D=e.hasOwnProperty("onClose");if(!A&&!D)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!A)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!D)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof n)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${n}`);if("function"!=typeof a)throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${a}`);let x=n?0:1,[k,L]=(0,r.useReducer)(Ee,{titleId:null,descriptionId:null,panelRef:(0,r.createRef)()}),N=(0,O.z)((()=>a(!1))),M=(0,O.z)((e=>L({type:0,id:e}))),Y=!!(0,d.H)()&&(!f&&0===x),I=E>1,V=null!==(0,r.useContext)(ve),_=I?"parent":"leaf";(function(e,t=!0){(0,c.e)((()=>
1{if(!t||!e.current)return;let n=e.current,r=g(n);if(r){$.add(n);for(let e of B.keys())e.contains(n)&&(q(e),B.delete(e));return r.querySelectorAll("body > *").forEach((e=>{if(e instanceof HTMLElement){for(let t of $)if(e.contains(t))return;1===$.size&&(B.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),U(e))}})),()=>{if($.delete(n),$.size>0)r.querySelectorAll("body > *").forEach((e=>{if(e instanceof HTMLElement&&!B.has(e)){for(let t of $)if(e.contains(t))return;B.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),U(e)}}));else for(let e of B.keys())q(e),B.delete(e)}}}),[t])})(T,!!I&&Y),function(e,t,n=!0){let o=(0,r.useRef)(!1);function i(n,r){if(!o.current||n.defaultPrevented)return;let i=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),l=r(n);if(null!==l&&l.ownerDocument.documentElement.contains(l)){for(let e of i){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(l))return}return!R(l,S.Loose)&&-1!==l.tabIndex&&n.preventDefault(),t(n,l)}}(0,r.useEffect)((()=>{requestAnimationFrame((()=>{o.current=n}))}),[n]);let l=(0,r.useRef)(null);se("mousedown",(e=>{var t,n;o.current&&(l.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),se("click",(e=>{!l.current||(i(e,(()=>l.current)),l.current=null)}),!0),se("blur",(e=>i(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}((()=>{var e,t;return[...Array.from(null!=(e=null==C?void 0:C.querySelectorAll("body > *, [data-headlessui-portal]"))?e:[]).filter((e=>!(!(e instanceof HTMLElement)||e.contains(F.current)||k.panelRef.current&&e.contains(k.panelRef.current)))),null!=(t=k.panelRef.current)?t:T.current]}),N,Y&&!I),j(null==C?void 0:C.defaultView,"keydown",(e=>{e.defaultPrevented||e.key===u.Escape&&0===x&&(I||(e.preventDefault(),e.stopPropagation(),N()))})),he(C,0===x&&!V),(0,r.useEffect)((()=>{if(0!==x||!T.current)return;let e=new IntersectionObserver((e=>{for(let t of e)0===t.boundingClientRect.x&&0===t.boundingClientRect.y&&0===t.boundingClientRect.width&&0===t.boundingClientRect.height&&N()}));return e.observe(T.current),()=>e.disconnect()}),[x,T,N]);let[W,Z]=function(){let[e,t]=(0,r.useState)([]);return[e.length>0?e.join(" "):void 0,(0,r.useMemo)((()=>function(e){let n=(0,O.z)((e=>(t((t=>[...t,e])),()=>t((t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))))),o=(0,r.useMemo)((()=>({register:n,slot:e.slot,name:e.name,props:e.props})),[n,e.slot,e.name,e.props]);return r.createElement(ne.Provider,{value:o},e.children)}),[t])]}(),J=`headlessui-dialog-${v()}`,K=(0,r.useMemo)((()=>[{dialogState:x,close:N,setTitleId:M},k]),[x,k,N,M]),Q=(0,r.useMemo)((()=>({open:0===x})),[x]),X={ref:P,id:J,role:"dialog","aria-modal":0===x||void 0,"aria-labelledby":k.titleId,"aria-describedby":W};return r.createElement(ae,{type:"Dialog",enabled:0===x,element:T,onUpdate:(0,O.z)(((e,t,n)=>{"Dialog"===t&&(0,o.E)(e,{[ue.Add](){y.current.add(n),w((e=>e+1))},[ue.Remove](){y.current.add(n),w((e=>e-1))}})}))},r.createElement(G,{force:!0},r.createElement(te,null,r.createElement(ve.Provider,{value:K},r.createElement(te.Group,{target:T},r.createElement(G,{force:!1},r.createElement(Z,{slot:Q,name:"Dialog.Description"},r.createElement(z,{initialFocus:s,containers:y,features:Y?(0,o.E)(_,{parent:z.features.RestoreFocus,leaf:z.features.All&~z.features.FocusLock}):z.features.None},(0,i.sY)({ourProps:X,theirProps:p,slot:Q,defaultTag:"div",features:ge,visible:0===x,name:"Dialog"})))))))),r.createElement(h,{features:m.Hidden,ref:F}))})),be=(0,i.yV)((function(e,t){let[{dialogState:n,close:o}]=me("Dialog.Overlay"),u=(0,l.T)(t),s=`headlessui-dialog-overlay-${v()}`,c=(0,O.z)((e=>{if(e.target===e.currentTarget){if(a(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),o()}})),d=(0,r.useMemo)((()=>({open:0===n})),[n]);return(0,i.sY)({ourProps:{ref:u,id:s,"aria-hidden":!0,onClick:c},theirProps:e,slot:d,defaultTag:"div",name:"Dialog.Overlay"})})),ye=(0,i.yV)((function(e,t){let[{dialogState:n},o]=me("Dialog.Backdrop"),u=(0,l.T)(t),a=`headlessui-dialog-backdrop-${v()}`;(0,r.useEffect)((()=>
1{if(null===o.panelRef.current)throw new Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")}),[o.panelRef]);let s=(0,r.useMemo)((()=>({open:0===n})),[n]);return r.createElement(G,{force:!0},r.createElement(te,null,(0,i.sY)({ourProps:{ref:u,id:a,"aria-hidden":!0},theirProps:e,slot:s,defaultTag:"div",name:"Dialog.Backdrop"})))})),Te=(0,i.yV)((function(e,t){let[{dialogState:n},o]=me("Dialog.Panel"),u=(0,l.T)(t,o.panelRef),a=`headlessui-dialog-panel-${v()}`,s=(0,r.useMemo)((()=>({open:0===n})),[n]),c=(0,O.z)((e=>{e.stopPropagation()}));return(0,i.sY)({ourProps:{ref:u,id:a,onClick:c},theirProps:e,slot:s,defaultTag:"div",name:"Dialog.Panel"})})),Pe=(0,i.yV)((function(e,t){let[{dialogState:n,setTitleId:o}]=me("Dialog.Title"),u=`headlessui-dialog-title-${v()}`,a=(0,l.T)(t);(0,r.useEffect)((()=>(o(u),()=>o(null))),[u,o]);let s=(0,r.useMemo)((()=>({open:0===n})),[n]);return(0,i.sY)({ourProps:{ref:a,id:u},theirProps:e,slot:s,defaultTag:"h2",name:"Dialog.Title"})})),Fe=Object.assign(we,{Backdrop:ye,Panel:Te,Overlay:be,Title:Pe,Description:oe})},34829:function(e,t,n){n.d(t,{u:function(){return N}});var r=n(67294),o=n(12351),i=n(16567),l=n(32984),u=n(14879),a=n(16723),s=n(3855),c=n(82180),d=n(23784);var f=n(9362);function p(e,...t){e&&t.length>0&&e.classList.add(...t)}function v(e,...t){e&&t.length>0&&e.classList.remove(...t)}var m,h=((m=h||{}).Ended="ended",m.Cancelled="cancelled",m);function E(e,t,n,r){let o=n?"enter":"leave",i=(0,f.k)(),u=void 0!==r?function(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}(r):()=>{};"enter"===o&&(e.removeAttribute("hidden"),e.style.display="");let a=(0,l.E)(o,{enter:()=>t.enter,leave:()=>t.leave}),s=(0,l.E)(o,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=(0,l.E)(o,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return v(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),p(e,...a,...c),i.nextFrame((()=>{v(e,...c),p(e,...s),function(e,t){let n=(0,f.k)();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:o}=getComputedStyle(e),[i,l]=[r,o].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t}));if(i+l!==0){let r=[];r.push(n.addEventListener(e,"transitionrun",(o=>{o.target===o.currentTarget&&(r.splice(0).forEach((e=>e())),r.push(n.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t("ended"),r.splice(0).forEach((e=>e())))})),n.addEventListener(e,"transitioncancel",(e=>{e.target===e.currentTarget&&(t("cancelled"),r.splice(0).forEach((e=>e())))}))))})))}else t("ended");n.add((()=>t("cancelled"))),n.dispose}(e,(n=>("ended"===n&&(v(e,...a),p(e,...t.entered)),u(n))))})),i.dispose}function g(){let[e]=(0,r.useState)(f.k);return(0,r.useEffect)((()=>()=>e.dispose()),[e]),e}var w=n(73781);function b(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let y=(0,r.createContext)(null);y.displayName="TransitionContext";var T,P=((T=P||{}).Visible="visible",T.Hidden="hidden",T);let F=(0,r.createContext)(null);function C(e){return"children"in e?C(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function S(e,t){let n=(0,s.E)(e),i=(0,r.useRef)([]),a=(0,u.t)(),c=g(),d=(0,w.z)(((e,t=o.l4.Hidden)=>{let r=i.current.findIndex((({el:t})=>t===e));-1!==r&&((0,l.E)(t,{[o.l4.Unmount](){i.current.splice(r,1)},[o.l4.Hidden](){i.current[r].state="hidden"}}),c.microTask((()=>{var e;!C(i)&&a.current&&(null==(e=n.current)||e.call(n))})))})),f=(0,w.z)((e=>{let t=i.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):i.current.push({el:e,state:"visible"}),()=>d(e,o.l4.Unmount)})),p=(0,r.useRef)([]),v=(0,r.useRef)(Promise.resolve()),m=(0,r.useRef)({enter:[],leave:[],idle:[]}),h=(0,w.z)(((e,n,r)=>{p.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter((([t])=>t!==e))),null==t||t.chains.current[n].push([e,new Promise((e=>{p.current.push(e)}))]),null==t||t.chains.current[n].push([e,new Promise((e=>{Promise.all(m.current[n].map((([e,t])=>t))).then((()=>e()))}
1))]),"enter"===n?v.current=v.current.then((()=>null==t?void 0:t.wait.current)).then((()=>r(n))):r(n)})),E=(0,w.z)(((e,t,n)=>{Promise.all(m.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=p.current.shift())||e()})).then((()=>n(t)))}));return(0,r.useMemo)((()=>({children:i,register:f,unregister:d,onStart:h,onStop:E,wait:v,chains:m})),[f,d,i,h,E,m,v])}function R(){}F.displayName="NestingContext";let A=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function D(e){var t;let n={};for(let r of A)n[r]=null!=(t=e[r])?t:R;return n}let x=o.AN.RenderStrategy,O=(0,o.yV)((function(e,t){let{beforeEnter:n,afterEnter:p,beforeLeave:v,afterLeave:m,enter:T,enterFrom:P,enterTo:R,entered:A,leave:O,leaveFrom:k,leaveTo:L,...N}=e,M=(0,r.useRef)(null),H=(0,d.T)(M,t),j=N.unmount?o.l4.Unmount:o.l4.Hidden,{show:Y,appear:I,initial:V}=function(){let e=(0,r.useContext)(y);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[z,$]=(0,r.useState)(Y?"visible":"hidden"),B=function(){let e=(0,r.useContext)(F);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:U,unregister:q}=B,_=(0,r.useRef)(null);(0,r.useEffect)((()=>U(M)),[U,M]),(0,r.useEffect)((()=>{if(j===o.l4.Hidden&&M.current)return Y&&"visible"!==z?void $("visible"):(0,l.E)(z,{hidden:()=>q(M),visible:()=>U(M)})}),[z,M,U,q,Y,j]);let W=(0,s.E)({enter:b(T),enterFrom:b(P),enterTo:b(R),entered:b(A),leave:b(O),leaveFrom:b(k),leaveTo:b(L)}),Z=function(e){let t=(0,r.useRef)(D(e));return(0,r.useEffect)((()=>{t.current=D(e)}),[e]),t}
1({beforeEnter:n,afterEnter:p,beforeLeave:v,afterLeave:m}),G=(0,c.H)();(0,r.useEffect)((()=>{if(G&&"visible"===z&&null===M.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[M,z,G]);let J=V&&!I,K=!G||J||_.current===Y?"idle":Y?"enter":"leave",Q=(0,w.z)((e=>(0,l.E)(e,{enter:()=>Z.current.beforeEnter(),leave:()=>Z.current.beforeLeave(),idle:()=>{}}))),X=(0,w.z)((e=>(0,l.E)(e,{enter:()=>Z.current.afterEnter(),leave:()=>Z.current.afterLeave(),idle:()=>{}}))),ee=S((()=>{$("hidden"),q(M)}),B);(function({container:e,direction:t,classes:n,onStart:r,onStop:o}){let i=(0,u.t)(),c=g(),d=(0,s.E)(t);(0,a.e)((()=>{let t=(0,f.k)();c.add(t.dispose);let u=e.current;if(u&&"idle"!==d.current&&i.current)return t.dispose(),r.current(d.current),t.add(E(u,n.current,"enter"===d.current,(e=>{t.dispose(),(0,l.E)(e,{[h.Ended](){o.current(d.current)},[h.Cancelled]:()=>{}})}))),t.dispose}),[t])})({container:M,classes:W,direction:K,onStart:(0,s.E)((e=>{ee.onStart(M,e,Q)})),onStop:(0,s.E)((e=>{ee.onStop(M,e,X),"leave"===e&&!C(ee)&&($("hidden"),q(M))}))}),(0,r.useEffect)((()=>{!J||(j===o.l4.Hidden?_.current=null:_.current=Y)}),[Y,J,z]);let te=N,ne={ref:H};return r.createElement(F.Provider,{value:ee},r.createElement(i.up,{value:(0,l.E)(z,{visible:i.ZM.Open,hidden:i.ZM.Closed})},(0,o.sY)({ourProps:ne,theirProps:te,defaultTag:"div",features:x,visible:"visible"===z,name:"Transition.Child"})))})),k=(0,o.yV)((function(e,t){let{show:n,appear:u=!1,unmount:s,...f}=e,p=(0,r.useRef)(null),v=(0,d.T)(p,t);(0,c.H)();let m=(0,i.oJ)();if(void 0===n&&null!==m&&(n=(0,l.E)(m,{[i.ZM.Open]:!0,[i.ZM.Closed]:!1})),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[h,E]=(0,r.useState)(n?"visible":"hidden"),g=S((()=>{E("hidden")})),[w,b]=(0,r.useState)(!0),T=(0,r.useRef)([n]);(0,a.e)((()=>{!1!==w&&T.current[T.current.length-1]!==n&&(T.current.push(n),b(!1))}),[T,n]);let P=(0,r.useMemo)((()=>({show:n,appear:u,initial:w})),[n,u,w]);(0,r.useEffect)((()=>{if(n)E("visible");else if(C(g)){let e=p.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&E("hidden")}else E("hidden")}),[n,g]);let R={unmount:s};return r.createElement(F.Provider,{value:g},r.createElement(y.Provider,{value:P},(0,o.sY)({ourProps:{...R,as:r.Fragment,children:r.createElement(O,{ref:v,...R,...f})},theirProps:{},defaultTag:r.Fragment,features:x,visible:"visible"===h,name:"Transition"})))})),L=(0,o.yV)((function(e,t){let n=null!==(0,r.useContext)(y),o=null!==(0,i.oJ)();return r.createElement(r.Fragment,null,!n&&o?r.createElement(k,{ref:t,...e}):r.createElement(O,{ref:t,...e}))})),N=Object.assign(k,{Child:L,Root:k})},73781:function(e,t,n){n.d(t,{z:function(){return i}});var r=n(67294),o=n(3855);let i=function(e){let t=(0,o.E)(e);return r.useCallback(((...e)=>t.current(...e)),[t])}},14879:function(e,t,n){n.d(t,{t:function(){return i}});var r=n(67294),o=n(16723);function i(){let e=(0,r.useRef)(!1);return(0,o.e)((()=>(e.current=!0,()=>{e.current=!1})),[]),e}},16723:function(e,t,n){n.d(t,{e:function(){return o}});var r=n(67294);let o=n(43393).s?r.useEffect:r.useLayoutEffect},3855:function(e,t,n){n.d(t,{E:function(){return i}});var r=n(67294),o=n(16723);function i(e){let t=(0,r.useRef)(e);return(0,o.e)((()=>{t.current=e}),[e]),t}},82180:function(e,t,n){n.d(t,{H:function(){return i}});var r=n(67294);let o={serverHandoffComplete:!1};function i(){let[e,t]=(0,r.useState)(o.serverHandoffComplete);return(0,r.useEffect)((()=>{!0!==e&&t(!0)}),[e]),(0,r.useEffect)((()=>{!1===o.serverHandoffComplete&&(o.serverHandoffComplete=!0)}),[]),e}},23784:function(e,t,n){n.d(t,{T:function(){return u},h:function(){return l}});var r=n(67294),o=n(73781);let i=Symbol();function l(e,t=!0){return Object.assign(e,{[i]:t})}function u(...e){let t=(0,r.useRef)(e);(0,r.useEffect)((()=>{t.current=e}),[e]);let n=(0,o.z)((e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[i])))?void 0:n}},16567:function(e,t,n){n.d(t,{ZM:function(){return l},oJ:function(){return u},up:function(){return a}});var r=n(67294);let o=(0,r.createContext)(null);o.displayName="OpenClosedContext";var i,l=((i=l||{})[i.Open=0]="Open",i[i.Closed=1]="Closed",i);function u(){return(0,r.useContext)(o)}function a({value:e,children:t}){return r.createElement(o.Provider,{value:e},t)}},9362:function(e,t,n){n.d(t,{k:function(){return o}});var r=n(81021);function o(){let e=[],t=[],n={enqueue(e){t.push(e)},addEventListener:(e,t,r,o)=>(e.addEventListener(t,r,o),n.add((()=>e.removeEventListener(t,r,o)))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return n.add((()=>cancelAnimationFrame(t)))},nextFrame:(...e)=>n.requestAnimationFrame((()=>n.requestAnimationFrame(...e))),setTimeout(...e){let t=setTimeout(...e);return n.add((()=>clearTimeout(t)))},microTask(...e){let t={current:!0};return(0,r.Y)((()=>{t.current&&e[0]()})),n.add((()=>{t.current=!1}))},add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0){let[t]=e.splice(n,1);t()}}),dispose(){for(let t of e.splice(0))t()},async workQueue(){for(let e of t.splice(0))await e()}};return n}},32984:function(e,t,n){function r(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let o=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,r),o}n.d(t,{E:function(){return r}})},81021:function(e,t,n){function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}n.d(t,{Y:function(){return r}})},12351:function(e,t,n){n.d(t,{AN:function(){return u},l4:function(){return a},sY:function(){return s},yV:function(){return f}});var r,o,i=n(67294),l=n(32984),u=((o=u||{})[o.None=0]="None",o[o.RenderStrategy=1]="RenderStrategy",o[o.Static=2]="Static",o),a=((r=a||{})[r.Unmount=0]="Unmount",r[r.Hidden=1]="Hidden",r);function s({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:i=!0,name:u}){let a=d(t,e);if(i)return c(a,n,r,u);let s=null!=o?o:0;if(2&s){let{static:e=!1,...t}=a;if(e)return c(t,n,r,u)}if(1&s){let{unmount:e=!0,...t}=a;return(0,l.E)(e?0:1,{0:()=>null,1:()=>c({...t,hidden:!0,style:{display:"none"}},n,r,u)})}return c(a,n,r,u)}function c(e,t={},n,r){let{as:o=n,children:l,refName:u="ref",...a}=v(e,["unmount","static"]),s=void 0!==e.ref?{[u]:e.ref}:{},c="function"==typeof l?l(t):l;a.className&&"function"==typeof a.className&&(a.className=a.className(t));let f={};if(t){let e=!1,n=[];for(let[r,o]of Object.entries(t))"boolean"==typeof o&&(e=!0),!0===o&&n.push(r);e&&(f["data-headlessui-state"]=n.join(" "))}if(o===i.Fragment&&Object.keys(p(a)).length>0){if(!(0,i.isValidElement)(c)||Array.isArray(c)&&c.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(a).map((e=>`  - ${e}`)).join("\n"),"","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((e=>`  - ${e}`)).join("\n")].join("\n"));return(0,i.cloneElement)(c,Object.assign({},d(c.props,p(v(a,["ref"]))),f,s,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}}(c.ref,s.ref)))}return(0,i.createElement)(o,Object.assign({},v(a,["ref"]),o!==i.Fragment&&s,o!==i.Fragment&&f),c)}function d(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map((e=>[e,void 0]))));for(let r in n)Object.assign(t,{[r](e,...t){let o=n[r];for(let n of o){if((e instanceof Event||(null==e?void 0:e.nativeEvent)instanceof Event)&&e.defaultPrevented)return;n(e,...t)}}});return t}function f(e){var t;return Object.assign((0,i.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function p(e){let t=Object.assign({},e);for(let n in t)void 0===t[n]&&delete t[n];return t}function v(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}},43393:function(e,t,n){n.d(t,{s:function(){return r}});const r="undefined"==typeof window||"undefined"==typeof document}}]);

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.