PageSourceSearch

https://www.smart.com.kh/_next/static/chunks/7891-fb326329e3cc2512.js

js smart.com.kh collected 2026-10-02 03:03:11 UTC 44,043 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7891],{33577:function(e,t,n){n.d(t,{d:function(){return d},f:function(){return c}});var r=n(2265),o=n(17684),l=n(27847),i=n(64518),u=n(93689),a=n(13323);let s=(0,r.createContext)(null);function c(){let[e,t]=(0,r.useState)([]);return[e.length>0?e.join(" "):void 0,(0,r.useMemo)(()=>function(e){let n=(0,a.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(s.Provider,{value:o},e.children)},[t])]}let d=Object.assign((0,l.yV)(function(e,t){let n=(0,o.M)(),{id:a="headlessui-description-".concat(n),...c}=e,d=function e(){let t=(0,r.useContext)(s);if(null===t){let t=Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}(),f=(0,u.T)(t);(0,i.e)(()=>d.register(a),[a,d.register]);let p={ref:f,...d.props,id:a};return(0,l.sY)({ourProps:p,theirProps:c,slot:d.slot||{},defaultTag:"p",name:d.name||"Description"})}),{})},63821:function(e,t,n){let r,o,l,i,u,a,s;n.d(t,{V:function(){return eb}});var c,d,f=n(2265),p=n.t(f,2),m=n(24536),v=n(27847),h=n(93689),g=n(37388),E=n(47634),b=n(17684),y=n(72238),w=n(38198),T=n(37105),A=n(13323),C=n(3141),S=((r=S||{})[r.Forwards=0]="Forwards",r[r.Backwards=1]="Backwards",r),P=n(93394),O=n(40048),L=n(31948);function F(e,t,n,r){let o=(0,L.E)(n);(0,f.useEffect)(()=>{function n(e){o.current(e)}return(e=null!=e?e:window).addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)},[e,t,r])}var M=n(96822),N=n(21281),k=n(90945);function R(e){let t=(0,A.z)(e),n=(0,f.useRef)(!1);(0,f.useEffect)(()=>(n.current=!1,()=>{n.current=!0,(0,M.Y)(()=>{n.current&&t()})}),[t])}function x(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}var D=((o=D||{})[o.None=1]="None",o[o.InitialFocus=2]="InitialFocus",o[o.TabLock=4]="TabLock",o[o.FocusLock=8]="FocusLock",o[o.RestoreFocus=16]="RestoreFocus",o[o.All=30]="All",o);let H=Object.assign((0,v.yV)(function(e,t){let n,r=(0,f.useRef)(null),o=(0,h.T)(r,t),{initialFocus:l,containers:i,features:u=30,...a}=e;(0,y.H)()||(u=1);let s=(0,O.i)(r);!function(e,t){let{ownerDocument:n}=e,r=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,f.useRef)(j.slice());return(0,N.q)((e,n)=>{let[r]=e,[o]=n;!0===o&&!1===r&&(0,M.Y)(()=>{t.current.splice(0)}),!1===o&&!0===r&&(t.current=j.slice())},[e,j,t]),(0,A.z)(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(t);(0,N.q)(()=>{t||(null==n?void 0:n.activeElement)===(null==n?void 0:n.body)&&(0,T.C5)(r())},[t]),R(()=>{t&&(0,T.C5)(r())})}({ownerDocument:s},!!(16&u));let c=function(e,t){let{ownerDocument:n,container:r,initialFocus:o}=e,l=(0,f.useRef)(null),i=(0,P.t)();return(0,N.q)(()=>{if(!t)return;let e=r.current;e&&(0,M.Y)(()=>{if(!i.current)return;let t=null==n?void 0:n.activeElement;if(null!=o&&o.current){if((null==o?void 0:o.current)===t){l.current=t;return}}else if(e.contains(t)){l.current=t;return}null!=o&&o.current?(0,T.C5)(o.current):(0,T.jA)(e,T.TO.First)===T.fE.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),l.current=null==n?void 0:n.activeElement})},[t]),l}({ownerDocument:s,container:r,initialFocus:l},!!(2&u));!function(e,t){let{ownerDocument:n,container:r,containers:o,previousActiveElement:l}=e,i=(0,P.t)();F(null==n?void 0:n.defaultView,"focus",e=>{if(!t||!i.current)return;let n=x(o);r.current instanceof HTMLElement&&n.add(r.current);let u=l.current;if(!u)return;let a=e.target;a&&a instanceof HTMLElement?I(n,a)?(l.current=a,(0,T.C5)(a)):(e.preventDefault(),e.stopPropagation(),(0,T.C5)(u)):(0,T.C5)(l.current)},!0)}({ownerDocument:s,container:r,containers:i,previousActiveElement:c},!!(8&u));let d=(n=(0,f.useRef)(0),(0,C.s)("keydown",e=>{"Tab"===e.key&&(n.current=e.shiftKey?1:0)},!0),n),p=(0,A.z)(e=>{let t=r.current;t&&(0,m.E)(d.current,{[S.Forwards]:()=>{(0,T.jA)(t,T.TO.First,{skipElements:[e.relatedTarget]})},[S.Backwards]:()=>{(0,T.jA)(t,T.TO.Last,{skipElements:[e.relatedTarget]})}})}),g=(0,k.G)(),E=(0,f.useRef)(!1);return f.createElement(f.Fragment,null,!!(4&u)&&f.createElement(w._,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:p,features:w.A.Focusable}),(0,v.sY)({ourProps:{ref:o,onKeyDown(e){"Tab"==e.key&&(E.current=!0,g.requestAnimationFrame(()=>{E.current=!1}))},onBlur(e){let t=x(i);r.current instanceof HTMLElement&&t.add(r.current);let n=e.relatedTarget;n instanceof HTMLElement&&"true"!==n.dataset.headlessuiFocusGuard&&(I(t,n)||(E.current?(0,T.jA)(r.current,(0,m.E)(d.current,{[S.Forwards]:()=>T.TO.Next,[S.Backwards]:()=>T.TO.Previous})|T.TO.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&(0,T.C5)(e.target)))}},theirProps:a,defaultTag:"div",name:"FocusTrap"}),!!(4&u)&&f.createElement(w._,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:p,features:w.A.Focusable}))}),{features:D}),j=[];function I(e,t){for(let n of e)if(n.contains(t))return!0;return!1}!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}(()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&j[0]!==e.target&&(j.unshift(e.target),(j=j.filter(e=>null!=e&&e.isConnected)).splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});var V=n(54887),z=n(64518);let Y=(0,f.createContext)(!1);function _(e){return f.createElement(Y.Provider,{value:e.force},e.children)}var B=n(61424);let q=f.Fragment,U=f.Fragment,W=(0,f.createContext)(null),Z=(0,f.createContext)(null),G=Object.assign((0,v.yV)(function(e,t){let n=(0,f.useRef)(null),r=(0,h.T)((0,h.h)(e=>{n.current=e}),t),o=(0,O.i)(n),l=function(e){let t=(0,f.useContext)(Y),n=(0,f.useContext)(W),r=(0,O.i)(e),[o,l]=(0,f.useState)(()=>
1{if(!t&&null!==n||B.O.isServer)return null;let e=null==r?void 0:r.getElementById("headlessui-portal-root");if(e)return e;if(null===r)return null;let o=r.createElement("div");return o.setAttribute("id","headlessui-portal-root"),r.body.appendChild(o)});return(0,f.useEffect)(()=>{null!==o&&(null!=r&&r.body.contains(o)||null==r||r.body.appendChild(o))},[o,r]),(0,f.useEffect)(()=>{t||null!==n&&l(n.current)},[n,l,t]),o}(n),[i]=(0,f.useState)(()=>{var e;return B.O.isServer?null:null!=(e=null==o?void 0:o.createElement("div"))?e:null}),u=(0,f.useContext)(Z),a=(0,y.H)();return(0,z.e)(()=>{!l||!i||l.contains(i)||(i.setAttribute("data-headlessui-portal",""),l.appendChild(i))},[l,i]),(0,z.e)(()=>{if(i&&u)return u.register(i)},[u,i]),R(()=>{var e;l&&i&&(i instanceof Node&&l.contains(i)&&l.removeChild(i),l.childNodes.length<=0&&(null==(e=l.parentElement)||e.removeChild(l)))}),a&&l&&i?(0,V.createPortal)((0,v.sY)({ourProps:{ref:r},theirProps:e,defaultTag:q,name:"Portal"}),i):null}),{Group:(0,v.yV)(function(e,t){let{target:n,...r}=e,o={ref:(0,h.T)(t)};return f.createElement(W.Provider,{value:n},(0,v.sY)({ourProps:o,theirProps:r,defaultTag:U,name:"Popover.Group"}))})});var K=n(33577),J=n(37863);let X=(0,f.createContext)(()=>{});X.displayName="StackContext";var $=((l=$||{})[l.Add=0]="Add",l[l.Remove=1]="Remove",l);function Q(e){let{children:t,onUpdate:n,type:r,element:o,enabled:l}=e,i=(0,f.useContext)(X),u=(0,A.z)(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];null==n||n(...t),i(...t)});return(0,z.e)(()=>{let e=void 0===l||!0===l;return e&&u(0,r,o),()=>{e&&u(1,r,o)}},[u,r,o,l]),f.createElement(X.Provider,{value:u},t)}var ee=n(32539);let{useState:et,useEffect:en,useLayoutEffect:er,useDebugValue:eo}=p;"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement;let el=p.useSyncExternalStore;var ei=n(16015),eu=n(52108);let ea=(c=()=>new Map,d={PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:(0,ei.k)(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT(e){let t,n,{doc:r,d:o,meta:l}=e,i={doc:r,d:o,meta:function(e){let t={};for(let n of e)Object.assign(t,n(t));return t}(l)},u=[(0,eu.gn)()?{before(){t=window.pageYOffset},after(e){let{doc:n,d:r,meta:o}=e;function l(e){return o.containers.flatMap(e=>e()).some(t=>t.contains(e))}r.microTask(()=>{if("auto"!==window.getComputedStyle(n.documentElement).scrollBehavior){let e=(0,ei.k)();e.style(n.documentElement,"scroll-behavior","auto"),r.add(()=>r.microTask(()=>e.dispose()))}r.style(n.body,"marginTop","-".concat(t,"px")),window.scrollTo(0,0);let e=null;r.addEventListener(n,"click",t=>{if(t.target instanceof HTMLElement)try{let r=t.target.closest("a");if(!r)return;let{hash:o}=new URL(r.href),i=n.querySelector(o);i&&!l(i)&&(e=i)}catch(e){}},!0),r.addEventListener(n,"touchmove",e=>{e.target instanceof HTMLElement&&!l(e.target)&&e.preventDefault()},{passive:!1}),r.add(()=>{window.scrollTo(0,window.pageYOffset+t),e&&e.isConnected&&(e.scrollIntoView({block:"nearest"}),e=null)})})}}:{},{before(e){var t;let{doc:r}=e,o=r.documentElement;n=(null!=(t=r.defaultView)?t:window).innerWidth-o.clientWidth},after(e){let{doc:t,d:r}=e,o=t.documentElement,l=o.clientWidth-o.offsetWidth,i=n-l;r.style(o,"paddingRight","".concat(i,"px"))}},{before(e){let{doc:t,d:n}=e;n.style(t.documentElement,"overflow","hidden")}}];u.forEach(e=>{let{before:t}=e;return null==t?void 0:t(i)}),u.forEach(e=>{let{after:t}=e;return null==t?void 0:t(i)})},SCROLL_ALLOW(e){let{d:t}=e;t.dispose()},TEARDOWN(e){let{doc:t}=e;this.delete(t)}},i=c(),u=new Set,{getSnapshot:()=>i,subscribe:e=>(u.add(e),()=>u.delete(e)),dispatch(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];let o=d[e].call(i,...n);o&&(i=o,u.forEach(e=>e()))}});ea.subscribe(()=>{let e=ea.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count;(r&&!e||!r&&e)&&ea.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&ea.dispatch("TEARDOWN",n)}});let es=new Map,ec=new Map;function ed(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];(0,z.e)(()=>{var n;if(!t)return;let r="function"==typeof e?e():e.current;if(!r)return;let o=null!=(n=ec.get(r))?n:0;return ec.set(r,o+1),0!==o||(es.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),function(){var e;if(!r)return;let t=null!=(e=ec.get(r))?e:1;if(1===t?ec.delete(r):ec.set(r,t-1),1!==t)return;let n=es.get(r);
1n&&(null===n["aria-hidden"]?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",n["aria-hidden"]),r.inert=n.inert,es.delete(r))}},[e,t])}var ef=((a=ef||{})[a.Open=0]="Open",a[a.Closed=1]="Closed",a),ep=((s=ep||{})[s.SetTitleId=0]="SetTitleId",s);let em={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},ev=(0,f.createContext)(null);function eh(e){let t=(0,f.useContext)(ev);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Dialog /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,eh),t}return t}function eg(e,t){return(0,m.E)(t.type,em,e,t)}ev.displayName="DialogContext";let eE=v.AN.RenderStrategy|v.AN.Static,eb=Object.assign((0,v.yV)(function(e,t){var n;let r,o,l,i,u;let a=(0,b.M)(),{id:s="headlessui-dialog-".concat(a),open:c,onClose:d,initialFocus:p,__demoMode:E=!1,...T}=e,[C,S]=(0,f.useState)(0),P=(0,J.oJ)();void 0===c&&null!==P&&(c=(P&J.ZM.Open)===J.ZM.Open);let L=(0,f.useRef)(null),M=(0,h.T)(L,t),N=(0,O.i)(L),k=e.hasOwnProperty("open")||null!==P,R=e.hasOwnProperty("onClose");if(!k&&!R)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!k)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!R)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof c)throw Error("You provided an `open` prop to the `Dialog`, but the value is not a boolean. Received: ".concat(c));if("function"!=typeof d)throw Error("You provided an `onClose` prop to the `Dialog`, but the value is not a function. Received: ".concat(d));let x=c?0:1,[D,j]=(0,f.useReducer)(eg,{titleId:null,descriptionId:null,panelRef:(0,f.createRef)()}),I=(0,A.z)(()=>d(!1)),V=(0,A.z)(e=>j({type:0,id:e})),Y=!!(0,y.H)()&&!E&&0===x,B=C>1,q=null!==(0,f.useContext)(ev),[U,W]=(r=(0,f.useContext)(Z),o=(0,f.useRef)([]),l=(0,A.z)(e=>(o.current.push(e),r&&r.register(e),()=>i(e))),i=(0,A.z)(e=>{let t=o.current.indexOf(e);-1!==t&&o.current.splice(t,1),r&&r.unregister(e)}),u=(0,f.useMemo)(()=>({register:l,unregister:i,portals:o}),[l,i,o]),[o,(0,f.useMemo)(()=>function(e){let{children:t}=e;return f.createElement(Z.Provider,{value:u},t)},[u])]),{resolveContainers:X,mainTreeNodeRef:et,MainTreeNode:en}=function(){var e;let{defaultContainers:t=[],portals:n,mainTreeNodeRef:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=(0,f.useRef)(null!=(e=null==r?void 0:r.current)?e:null),l=(0,O.i)(o),i=(0,A.z)(()=>{var e;let r=[];for(let e of t)null!==e&&(e instanceof HTMLElement?r.push(e):"current"in e&&e.current instanceof HTMLElement&&r.push(e.current));if(null!=n&&n.current)for(let e of n.current)r.push(e);for(let t of null!=(e=null==l?void 0:l.querySelectorAll("html > *, body > *"))?e:[])t!==document.body&&t!==document.head&&t instanceof HTMLElement&&"headlessui-portal-root"!==t.id&&(t.contains(o.current)||r.some(e=>t.contains(e))||r.push(t));return r});
1return{resolveContainers:i,contains:(0,A.z)(e=>i().some(t=>t.contains(e))),mainTreeNodeRef:o,MainTreeNode:(0,f.useMemo)(()=>function(){return null!=r?null:f.createElement(w._,{features:w.A.Hidden,ref:o})},[o,r])}}({portals:U,defaultContainers:[null!=(n=D.panelRef.current)?n:L.current]}),er=null!==P&&(P&J.ZM.Closing)===J.ZM.Closing,eo=!q&&!er&&Y;ed((0,f.useCallback)(()=>{var e,t;return null!=(t=Array.from(null!=(e=null==N?void 0:N.querySelectorAll("body > *"))?e:[]).find(e=>"headlessui-portal-root"!==e.id&&e.contains(et.current)&&e instanceof HTMLElement))?t:null},[et]),eo);let ei=!!B||Y;ed((0,f.useCallback)(()=>{var e,t;return null!=(t=Array.from(null!=(e=null==N?void 0:N.querySelectorAll("[data-headlessui-portal]"))?e:[]).find(e=>e.contains(et.current)&&e instanceof HTMLElement))?t:null},[et]),ei);let eu=!(!Y||B);(0,ee.O)(X,I,eu);let es=!(B||0!==x);F(null==N?void 0:N.defaultView,"keydown",e=>{es&&(e.defaultPrevented||e.key===g.R.Escape&&(e.preventDefault(),e.stopPropagation(),I()))}),function(e,t){var n;let r,o,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>[document.body];n=e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],l]}},r=el(ea.subscribe,ea.getSnapshot,ea.getSnapshot),(o=e?r.get(e):void 0)&&o.count,(0,z.e)(()=>{if(!(!e||!t))return ea.dispatch("PUSH",e,n),()=>ea.dispatch("POP",e,n)},[t,e])}(N,!(er||0!==x||q),X),(0,f.useEffect)(()=>{if(0!==x||!L.current)return;let e=new ResizeObserver(e=>{for(let t of e){let e=t.target.getBoundingClientRect();0===e.x&&0===e.y&&0===e.width&&0===e.height&&I()}});return e.observe(L.current),()=>e.disconnect()},[x,L,I]);let[ec,ef]=(0,K.f)(),ep=(0,f.useMemo)(()=>[{dialogState:x,close:I,setTitleId:V},D],[x,D,I,V]),em=(0,f.useMemo)(()=>({open:0===x}),[x]),eh={ref:M,id:s,role:"dialog","aria-modal":0===x||void 0,"aria-labelledby":D.titleId,"aria-describedby":ec};return f.createElement(Q,{type:"Dialog",enabled:0===x,element:L,onUpdate:(0,A.z)((e,t)=>{"Dialog"===t&&(0,m.E)(e,{[$.Add]:()=>S(e=>e+1),[$.Remove]:()=>S(e=>e-1)})})},f.createElement(_,{force:!0},f.createElement(G,null,f.createElement(ev.Provider,{value:ep},f.createElement(G.Group,{target:L},f.createElement(_,{force:!1},f.createElement(ef,{slot:em,name:"Dialog.Description"},f.createElement(H,{initialFocus:p,containers:X,features:Y?(0,m.E)(B?"parent":"leaf",{parent:H.features.RestoreFocus,leaf:H.features.All&~H.features.FocusLock}):H.features.None},f.createElement(W,null,(0,v.sY)({ourProps:eh,theirProps:T,slot:em,defaultTag:"div",features:eE,visible:0===x,name:"Dialog"}))))))))),f.createElement(en,null))}),{Backdrop:(0,v.yV)(function(e,t){let n=(0,b.M)(),{id:r="headlessui-dialog-backdrop-".concat(n),...o}=e,[{dialogState:l},i]=eh("Dialog.Backdrop"),u=(0,h.T)(t);(0,f.useEffect)(()=>{if(null===i.panelRef.current)throw Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")},[i.panelRef]);let a=(0,f.useMemo)(()=>({open:0===l}),[l]);return f.createElement(_,{force:!0},f.createElement(G,null,(0,v.sY)({ourProps:{ref:u,id:r,"aria-hidden":!0},theirProps:o,slot:a,defaultTag:"div",name:"Dialog.Backdrop"})))}),Panel:(0,v.yV)(function(e,t){let n=(0,b.M)(),{id:r="headlessui-dialog-panel-".concat(n),...o}=e,[{dialogState:l},i]=eh("Dialog.Panel"),u=(0,h.T)(t,i.panelRef),a=(0,f.useMemo)(()=>({open:0===l}),[l]),s=(0,A.z)(e=>{e.stopPropagation()});return(0,v.sY)({ourProps:{ref:u,id:r,onClick:s},theirProps:o,slot:a,defaultTag:"div",name:"Dialog.Panel"})}),Overlay:(0,v.yV)(function(e,t){let n=(0,b.M)(),{id:r="headlessui-dialog-overlay-".concat(n),...o}=e,[{dialogState:l,close:i}]=eh("Dialog.Overlay"),u=(0,h.T)(t),a=(0,A.z)(e=>{if(e.target===e.currentTarget){if((0,E.P)(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),i()}}),s=(0,f.useMemo)(()=>({open:0===l}),[l]);return(0,v.sY)({ourProps:{ref:u,id:r,"aria-hidden":!0,onClick:a},theirProps:o,slot:s,defaultTag:"div",name:"Dialog.Overlay"})}),Title:(0,v.yV)(function(e,t){let n=(0,b.M)(),{id:r="headlessui-dialog-title-".concat(n),...o}=e,[{dialogState:l,setTitleId:i}]=eh("Dialog.Title"),u=(0,h.T)(t);(0,f.useEffect)(()=>(i(r),()=>i(null)),[r,i]);let a=(0,f.useMemo)(()=>({open:0===l}),[l]);return(0,v.sY)({ourProps:{ref:u,id:r},theirProps:o,slot:a,defaultTag:"h2",name:"Dialog.Title"})}),Description:K.d})},37388:function(e,t,n){let r;n.d(t,{R:function(){return o}});var o=((r=o||{}).Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r)},81451:function(e,t,n){let r;n.d(t,{u:function(){return R}});var o=n(2265),l=n(27847),i=n(37863),u=n(24536),a=n(93394),s=n(64518),c=n(31948),d=n(72238),f=n(93689),p=n(16015);function m(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e&&n.length>0&&e.classList.add(...n)}function v(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e&&n.length>0&&e.classList.remove(...n)}var h=n(90945),g=n(13323),E=n(42120),b=n(11725);function y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.split(" ").filter(e=>e.trim().length>1)}let w=(0,o.createContext)(null);w.displayName="TransitionContext";var T=((r=T||{}).Visible="visible",r.Hidden="hidden",r);let A=(0,o.createContext)(null);function C(e){return"children"in e?C(e.children):e.current.filter(e=>{let{el:t}=e;return null!==t.current}).filter(e=>{let{state:t}=e;return"visible"===t}).length>0}function S(e,t){let n=(0,c.E)(e),r=(0,o.useRef)([]),i=(0,a.t)(),s=(0,h.G)(),d=(0,g.z)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.l4.Hidden,o=r.current.findIndex(t=>{let{el:n}=t;return n===e});-1!==o&&((0,u.E)(t,{[l.l4.Unmount](){r.current.splice(o,1)},[l.l4.Hidden](){r.current[o].state="hidden"}}),s.microTask(()=>{var e;!C(r)&&i.current&&(null==(e=n.current)||e.call(n))}))}),f=(0,g.z)(e=>{let t=r.current.find(t=>{let{el:n}=t;return n===e});return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>d(e,l.l4.Unmount)}),p=(0,o.useRef)([]),m=(0,o.useRef)(Promise.resolve()),v=(0,o.useRef)({enter:[],leave:[],idle:[]}),E=(0,g.z)((e,n,r)=>{p.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(t=>{let[n]=t;return n!==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(v.current[n].map(e=>{let[t,n]=e;return n})).then(()=>e())}
1)]),"enter"===n?m.current=m.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),b=(0,g.z)((e,t,n)=>{Promise.all(v.current[t].splice(0).map(e=>{let[t,n]=e;return n})).then(()=>{var e;null==(e=p.current.shift())||e()}).then(()=>n(t))});return(0,o.useMemo)(()=>({children:r,register:f,unregister:d,onStart:E,onStop:b,wait:m,chains:v}),[f,d,r,E,b,v,m])}function P(){}A.displayName="NestingContext";let O=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function L(e){var t;let n={};for(let r of O)n[r]=null!=(t=e[r])?t:P;return n}let F=l.AN.RenderStrategy,M=(0,l.yV)(function(e,t){let{show:n,appear:r=!1,unmount:u=!0,...a}=e,c=(0,o.useRef)(null),p=(0,f.T)(c,t);(0,d.H)();let m=(0,i.oJ)();if(void 0===n&&null!==m&&(n=(m&i.ZM.Open)===i.ZM.Open),![!0,!1].includes(n))throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[v,h]=(0,o.useState)(n?"visible":"hidden"),E=S(()=>{h("hidden")}),[b,y]=(0,o.useState)(!0),T=(0,o.useRef)([n]);(0,s.e)(()=>{!1!==b&&T.current[T.current.length-1]!==n&&(T.current.push(n),y(!1))},[T,n]);let P=(0,o.useMemo)(()=>({show:n,appear:r,initial:b}),[n,r,b]);(0,o.useEffect)(()=>{if(n)h("visible");else if(C(E)){let e=c.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&h("hidden")}else h("hidden")},[n,E]);let O={unmount:u},L=(0,g.z)(()=>{var t;b&&y(!1),null==(t=e.beforeEnter)||t.call(e)}),M=(0,g.z)(()=>{var t;b&&y(!1),null==(t=e.beforeLeave)||t.call(e)});return o.createElement(A.Provider,{value:E},o.createElement(w.Provider,{value:P},(0,l.sY)({ourProps:{...O,as:o.Fragment,children:o.createElement(N,{ref:p,...O,...a,beforeEnter:L,beforeLeave:M})},theirProps:{},defaultTag:o.Fragment,features:F,visible:"visible"===v,name:"Transition"})))}),N=(0,l.yV)(function(e,t){var n,r,T;let P;let{beforeEnter:O,afterEnter:M,beforeLeave:N,afterLeave:k,enter:R,enterFrom:x,enterTo:D,entered:H,leave:j,leaveFrom:I,leaveTo:V,...z}=e,Y=(0,o.useRef)(null),_=(0,f.T)(Y,t),B=null==(n=z.unmount)||n?l.l4.Unmount:l.l4.Hidden,{show:q,appear:U,initial:W}=function(){let e=(0,o.useContext)(w);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[Z,G]=(0,o.useState)(q?"visible":"hidden"),K=function(){let e=(0,o.useContext)(A);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:J,unregister:X}=K;(0,o.useEffect)(()=>J(Y),[J,Y]),(0,o.useEffect)(()=>{if(B===l.l4.Hidden&&Y.current){if(q&&"visible"!==Z){G("visible");return}return(0,u.E)(Z,{hidden:()=>X(Y),visible:()=>J(Y)})}},[Z,Y,J,X,q,B]);let $=(0,c.E)({base:y(z.className),enter:y(R),enterFrom:y(x),enterTo:y(D),entered:y(H),leave:y(j),leaveFrom:y(I),leaveTo:y(V)}),Q=(T={beforeEnter:O,afterEnter:M,beforeLeave:N,afterLeave:k},P=(0,o.useRef)(L(T)),(0,o.useEffect)(()=>{P.current=L(T)},[T]),P),ee=(0,d.H)();(0,o.useEffect)(()=>{if(ee&&"visible"===Z&&null===Y.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[Y,Z,ee]);let et=U&&q&&W,en=ee&&(!W||U)?q?"enter":"leave":"idle",er=(0,b.V)(0),eo=(0,g.z)(e=>(0,u.E)(e,{enter:()=>{er.addFlag(i.ZM.Opening),Q.current.beforeEnter()},leave:()=>{er.addFlag(i.ZM.Closing),Q.current.beforeLeave()},idle:()=>{}})),el=(0,g.z)(e=>(0,u.E)(e,{enter:()=>{er.removeFlag(i.ZM.Opening),Q.current.afterEnter()},leave:()=>{er.removeFlag(i.ZM.Closing),Q.current.afterLeave()},idle:()=>{}})),ei=S(()=>{G("hidden"),X(Y)},K);!function(e){let{immediate:t,container:n,direction:r,classes:o,onStart:l,onStop:i}=e,d=(0,a.t)(),f=(0,h.G)(),g=(0,c.E)(r);(0,s.e)(()=>{t&&(g.current="enter")},[t]),(0,s.e)(()=>{let e=(0,p.k)();f.add(e.dispose);let t=n.current;if(t&&"idle"!==g.current&&d.current){var r,a,s;let n,c,d,f,h,E,b;return e.dispose(),l.current(g.current),e.add((r=o.current,a="enter"===g.current,s=()=>{e.dispose(),i.current(g.current)},c=a?"enter":"leave",d=(0,p.k)(),f=void 0!==s?(n={called:!1},function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!n.called)return n.called=!0,s(...t)}):()=>{}
1,"enter"===c&&(t.removeAttribute("hidden"),t.style.display=""),h=(0,u.E)(c,{enter:()=>r.enter,leave:()=>r.leave}),E=(0,u.E)(c,{enter:()=>r.enterTo,leave:()=>r.leaveTo}),b=(0,u.E)(c,{enter:()=>r.enterFrom,leave:()=>r.leaveFrom}),v(t,...r.base,...r.enter,...r.enterTo,...r.enterFrom,...r.leave,...r.leaveFrom,...r.leaveTo,...r.entered),m(t,...r.base,...h,...b),d.nextFrame(()=>{v(t,...r.base,...h,...b),m(t,...r.base,...h,...E),function(e,t){let n=(0,p.k)();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:o}=getComputedStyle(e),[l,i]=[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}),u=l+i;if(0!==u){n.group(n=>{n.setTimeout(()=>{t(),n.dispose()},u),n.addEventListener(e,"transitionrun",e=>{e.target===e.currentTarget&&n.dispose()})});let r=n.addEventListener(e,"transitionend",e=>{e.target===e.currentTarget&&(t(),r())})}else t();n.add(()=>t()),n.dispose}(t,()=>(v(t,...r.base,...h),m(t,...r.base,...r.entered),f()))}),d.dispose)),e.dispose}},[r])}({immediate:et,container:Y,classes:$,direction:en,onStart:(0,c.E)(e=>{ei.onStart(Y,e,eo)}),onStop:(0,c.E)(e=>{ei.onStop(Y,e,el),"leave"!==e||C(ei)||(G("hidden"),X(Y))})});let eu=z;return et?eu={...eu,className:(0,E.A)(z.className,...$.current.enter,...$.current.enterFrom)}:(eu.className=(0,E.A)(z.className,null==(r=Y.current)?void 0:r.className),""===eu.className&&delete eu.className),o.createElement(A.Provider,{value:ei},o.createElement(i.up,{value:(0,u.E)(Z,{visible:i.ZM.Open,hidden:i.ZM.Closed})|er.flags},(0,l.sY)({ourProps:{ref:_},theirProps:eu,defaultTag:"div",features:F,visible:"visible"===Z,name:"Transition.Child"})))}),k=(0,l.yV)(function(e,t){let n=null!==(0,o.useContext)(w),r=null!==(0,i.oJ)();return o.createElement(o.Fragment,null,!n&&r?o.createElement(M,{ref:t,...e}):o.createElement(N,{ref:t,...e}))}),R=Object.assign(M,{Child:k,Root:M})},90945:function(e,t,n){n.d(t,{G:function(){return l}});var r=n(2265),o=n(16015);function l(){let[e]=(0,r.useState)(o.k);return(0,r.useEffect)(()=>()=>e.dispose(),[e]),e}},13323:function(e,t,n){n.d(t,{z:function(){return l}});var r=n(2265),o=n(31948);let l=function(e){let t=(0,o.E)(e);return r.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current(...n)},[t])}},11725:function(e,t,n){n.d(t,{V:function(){return l}});var r=n(2265),o=n(93394);function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,n]=(0,r.useState)(e),l=(0,o.t)(),i=(0,r.useCallback)(e=>{l.current&&n(t=>t|e)},[t,l]),u=(0,r.useCallback)(e=>!!(t&e),[t]);return{flags:t,addFlag:i,hasFlag:u,removeFlag:(0,r.useCallback)(e=>{l.current&&n(t=>t&~e)},[n,l]),toggleFlag:(0,r.useCallback)(e=>{l.current&&n(t=>t^e)},[n])}}},17684:function(e,t,n){n.d(t,{M:function(){return a}});var r,o=n(2265),l=n(64518),i=n(72238),u=n(61424);let a=null!=(r=o.useId)?r:function(){let e=(0,i.H)(),[t,n]=o.useState(e?()=>u.O.nextId():null);return(0,l.e)(()=>{null===t&&n(u.O.nextId())},[t]),null!=t?""+t:void 0}},93394:function(e,t,n){n.d(t,{t:function(){return l}});var r=n(2265),o=n(64518);function l(){let e=(0,r.useRef)(!1);return(0,o.e)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},64518:function(e,t,n){n.d(t,{e:function(){return l}});var r=n(2265),o=n(61424);let l=(e,t)=>{o.O.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},31948:function(e,t,n){n.d(t,{E:function(){return l}});var r=n(2265),o=n(64518);function l(e){let t=(0,r.useRef)(e);return(0,o.e)(()=>{t.current=e},[e]),t}},32539:function(e,t,n){n.d(t,{O:function(){return a}});var r=n(2265),o=n(37105),l=n(31948);function i(e,t,n){let o=(0,l.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 u=n(3141);function a(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],l=(0,r.useRef)(!1);function a(n,r){if(!l.current||n.defaultPrevented)return;let i=r(n);if(null!==i&&i.getRootNode().contains(i)&&i.isConnected){for(let t of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e)){if(null===t)continue;let e=t instanceof HTMLElement?t:t.current;if(null!=e&&e.contains(i)||n.composed&&n.composedPath().includes(e))return}return(0,o.sP)(i,o.tJ.Loose)||-1===i.tabIndex||n.preventDefault(),t(n,i)}}(0,r.useEffect)(()=>{requestAnimationFrame(()=>{l.current=n})},[n]);let s=(0,r.useRef)(null);i("pointerdown",e=>{var t,n;l.current&&(s.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),i("mousedown",e=>{var t,n;l.current&&(s.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),i("click",e=>{s.current&&(a(e,()=>s.current),s.current=null)},!0),i("touchend",e=>a(e,()=>e.target instanceof HTMLElement?e.target:null),!0),(0,u.s)("blur",e=>a(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}},40048:function(e,t,n){n.d(t,{i:function(){return l}});var r=n(2265),o=n(40293);function l(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)(()=>(0,o.r)(...t),[...t])}},72238:function(e,t,n){n.d(t,{H:function(){return i}});var r,o=n(2265),l=n(61424);function i(){let e;let t=(e="undefined"==typeof document,(0,(r||(r=n.t(o,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[i,u]=o.useState(l.O.isHandoffComplete);return i&&!1===l.O.isHandoffComplete&&u(!1),o.useEffect(()=>{!0!==i&&u(!0)},[i]),o.useEffect(()=>l.O.handoff(),[]),!t&&i}},93689:function(e,t,n){n.d(t,{T:function(){return u},h:function(){return i}});var r=n(2265),o=n(13323);let l=Symbol();function i(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return Object.assign(e,{[l]:t})}function u(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let i=(0,r.useRef)(t);(0,r.useEffect)(()=>{i.current=t},[t]);let u=(0,o.z)(e=>{for(let t of i.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return t.every(e=>null==e||(null==e?void 0:e[l]))?void 0:u}},21281:function(e,t,n){n.d(t,{q:function(){return l}});var r=n(2265),o=n(13323);function l(e,t){let n=(0,r.useRef)([]),l=(0,o.z)(e);(0,r.useEffect)(()=>{let e=[...n.current];for(let[r,o]of t.entries())if(n.current[r]!==o){let r=l(t,e);return n.current=t,r}},[l,...t])}},3141:function(e,t,n){n.d(t,{s:function(){return l}});var r=n(2265),o=n(31948);function l(e,t,n){let l=(0,o.E)(t);(0,r.useEffect)(()=>{function t(e){l.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)},[e,n])}},38198:function(e,t,n){let r;n.d(t,{A:function(){return l},_:function(){return i}});var o=n(27847),l=((r=l||{})[r.None=1]="None",r[r.Focusable=2]="Focusable",r[r.Hidden=4]="Hidden",r);let i=(0,o.yV)(function(e,t){let{features:n=1,...r}=e,l={ref:t,"aria-hidden":(2&n)==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&n)==4&&(2&n)!=2&&{display:"none"}}};return(0,o.sY)({ourProps:l,theirProps:r,slot:{},defaultTag:"div",name:"Hidden"})})},37863:function(e,t,n){let r;n.d(t,{ZM:function(){return i},oJ:function(){return u},up:function(){return a}});var o=n(2265);let l=(0,o.createContext)(null);l.displayName="OpenClosedContext";var i=((r=i||{})[r.Open=1]="Open",r[r.Closed=2]="Closed",r[r.Closing=4]="Closing",r[r.Opening=8]="Opening",r);function u(){return(0,o.useContext)(l)}function a(e){let{value:t,children:n}=e;return o.createElement(l.Provider,{value:t},n)}},47634:function(e,t,n){function r(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}n.d(t,{P:function(){return r}})},42120:function(e,t,n){n.d(t,{A:function(){return r}});function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.from(new Set(t.flatMap(e=>
1"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}},16015:function(e,t,n){n.d(t,{k:function(){return function e(){let t=[],n={addEventListener:(e,t,r,o)=>(e.addEventListener(t,r,o),n.add(()=>e.removeEventListener(t,r,o))),requestAnimationFrame(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let o=requestAnimationFrame(...t);return n.add(()=>cancelAnimationFrame(o))},nextFrame(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.requestAnimationFrame(()=>n.requestAnimationFrame(...t))},setTimeout(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let o=setTimeout(...t);return n.add(()=>clearTimeout(o))},microTask(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];let l={current:!0};return(0,r.Y)(()=>{l.current&&t[0]()}),n.add(()=>{l.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(t){let n=e();return t(n),this.add(()=>n.dispose())},add:e=>(t.push(e),()=>{let n=t.indexOf(e);if(n>=0)for(let e of t.splice(n,1))e()}),dispose(){for(let e of t.splice(0))e()}};return n}}});var r=n(96822)},61424:function(e,t,n){n.d(t,{O:function(){return u}});var r=Object.defineProperty,o=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,l=(e,t,n)=>(o(e,"symbol"!=typeof t?t+"":t,n),n);
1class i{set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}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}constructor(){l(this,"current",this.detect()),l(this,"handoffState","pending"),l(this,"currentId",0)}}let u=new i},37105:function(e,t,n){let r,o,l,i,u;n.d(t,{C5:function(){return g},TO:function(){return d},fE:function(){return f},jA:function(){return b},sP:function(){return v},tJ:function(){return m},z2:function(){return E}});var a=n(24536),s=n(40293);let c=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(",");var d=((r=d||{})[r.First=1]="First",r[r.Previous=2]="Previous",r[r.Next=4]="Next",r[r.Last=8]="Last",r[r.WrapAround=16]="WrapAround",r[r.NoScroll=32]="NoScroll",r),f=((o=f||{})[o.Error=0]="Error",o[o.Overflow=1]="Overflow",o[o.Success=2]="Success",o[o.Underflow=3]="Underflow",o),p=((l=p||{})[l.Previous=-1]="Previous",l[l.Next=1]="Next",l),m=((i=m||{})[i.Strict=0]="Strict",i[i.Loose=1]="Loose",i);function v(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=(0,s.r)(e))?void 0:t.body)&&(0,a.E)(n,{0:()=>e.matches(c),1(){let t=e;for(;null!==t;){if(t.matches(c))return!0;t=t.parentElement}return!1}})}var h=((u=h||{})[u.Keyboard=0]="Keyboard",u[u.Mouse=1]="Mouse",u);function g(e){null==e||e.focus({preventScroll:!0})}function E(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return e.slice().sort((e,n)=>{let r=t(e),o=t(n);if(null===r||null===o)return 0;let l=r.compareDocumentPosition(o);return l&Node.DOCUMENT_POSITION_FOLLOWING?-1:l&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function b(e,t){var n,r,o;let{sorted:l=!0,relativeTo:i=null,skipElements:u=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,s=Array.isArray(e)?l?E(e):e:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(c)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e);u.length>0&&s.length>1&&(s=s.filter(e=>!u.includes(e))),i=null!=i?i:a.activeElement;let d=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,s.indexOf(i))-1;if(4&t)return Math.max(0,s.indexOf(i))+1;if(8&t)return s.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),p=32&t?{preventScroll:!0}:{},m=0,v=s.length,h;do{if(m>=v||m+v<=0)return 0;let e=f+m;if(16&t)e=(e+v)%v;else{if(e<0)return 3;if(e>=v)return 1}null==(h=s[e])||h.focus(p),m+=d}while(h!==a.activeElement);return 6&t&&null!=(o=null==(r=null==(n=h)?void 0:n.matches)?void 0:r.call(n,"textarea,input"))&&o&&h.select(),2}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0))},24536:function(e,t,n){n.d(t,{E:function(){return r}});function r(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),l=2;l<n;l++)o[l-2]=arguments[l];if(e in t){let n=t[e];return"function"==typeof n?n(...o):n}let i=Error('Tried to handle "'.concat(e,'" but there is no handler defined. Only defined handlers are: ').concat(Object.keys(t).map(e=>'"'.concat(e,'"')).join(", "),"."));throw Error.captureStackTrace&&Error.captureStackTrace(i,r),i}},96822:function(e,t,n){n.d(t,{Y:function(){return r}});function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}},40293:function(e,t,n){n.d(t,{r:function(){return o}});var r=n(61424);function o(e){return r.O.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},52108:function(e,t,n){function r(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function o(){return r()||/Android/gi.test(window.navigator.userAgent)}n.d(t,{gn:function(){return r},tq:function(){return o}})},27847:function(e,t,n){let r,o;n.d(t,{AN:function(){return a},l4:function(){return s},oA:function(){return m},sY:function(){return c},yV:function(){return p}});var l=n(2265),i=n(42120),u=n(24536),a=((r=a||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),s=((o=s||{})[o.Unmount=0]="Unmount",o[o.Hidden=1]="Hidden",o);function c(e){let{ourProps:t,theirProps:n,slot:r,defaultTag:o,features:l,visible:i=!0,name:a}=e,s=f(n,t);if(i)return d(s,r,o,a);let c=null!=l?l:0;if(2&c){let{static:e=!1,...t}=s;if(e)return d(t,r,o,a)}if(1&c){let{unmount:e=!0,...t}=s;return(0,u.E)(e?0:1,{0:()=>null,1:()=>d({...t,hidden:!0,style:{display:"none"}},r,o,a)})}return d(s,r,o,a)}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,{as:o=n,children:u,refName:a="ref",...s}=v(e,["unmount","static"]),c=void 0!==e.ref?{[a]:e.ref}:{},d="function"==typeof u?u(t):u;"className"in s&&s.className&&"function"==typeof s.className&&(s.className=s.className(t));let p={};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&&(p["data-headlessui-state"]=n.join(" "))}if(o===l.Fragment&&Object.keys(m(s)).length>0){if(!(0,l.isValidElement)(d)||Array.isArray(d)&&d.length>1)throw Error(['Passing props on "Fragment"!',"","The current component <".concat(r,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(s).map(e=>"  - ".concat(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=>"  - ".concat(e)).join("\n")].join("\n"));let e=d.props,t="function"==typeof(null==e?void 0:e.className)?function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return(0,i.A)(null==e?void 0:e.className(...n),s.className)}:(0,i.A)(null==e?void 0:e.className,s.className);return(0,l.cloneElement)(d,Object.assign({},f(d.props,m(v(s,["ref"]))),p,c,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return{ref:t.every(e=>null==e)?void 0:e=>{for(let n of t)null!=n&&("function"==typeof n?n(e):n.current=e)}}}(d.ref,c.ref),t?{className:t}:{}))}return(0,l.createElement)(o,Object.assign({},v(s,["ref"]),o!==l.Fragment&&c,o!==l.Fragment&&p),d)}function f(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return{};if(1===t.length)return t[0];let r={},o={};for(let e of t)for(let t in e)t.startsWith("on")&&"function"==typeof e[t]?(null!=o[t]||(o[t]=[]),o[t].push(e[t])):r[t]=e[t];if(r.disabled||r["aria-disabled"])return Object.assign(r,Object.fromEntries(Object.keys(o).map(e=>[e,void 0])));for(let e in o)Object.assign(r,{[e](t){for(var n=arguments.length,r=Array(n>1?n-1:0),l=1;l<n;l++)r[l-1]=arguments[l];for(let n of o[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;n(t,...r)}}});return r}function p(e){var t;return Object.assign((0,l.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function m(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}},66840:function(e,t,n){n.d(t,{WV:function(){return u},jH:function(){return a}});var r=n(2265),o=n(54887),l=n(37053),i=n(57437),u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>
1{let n=r.forwardRef((e,n)=>{let{asChild:r,...o}=e,u=r?l.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(u,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function a(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},3243:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(2265),o={outline:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};let l=(e,t,n,l)=>{let i=(0,r.forwardRef)((n,i)=>{let{color:u="currentColor",size:a=24,stroke:s=2,className:c,children:d,...f}=n;return(0,r.createElement)("svg",{ref:i,...o[e],width:a,height:a,className:["tabler-icon","tabler-icon-".concat(t),c].join(" "),..."filled"===e?{fill:u}:{strokeWidth:s,stroke:u},...f},[...l.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(d)?d:[d]])});return i.displayName="".concat(n),i}},91443:function(e,t,n){n.d(t,{Z:function(){return r}});var r=(0,n(3243).Z)("outline","x","IconX",[["path",{d:"M18 6l-12 12",key:"svg-0"}],["path",{d:"M6 6l12 12",key:"svg-1"}]])}}]);

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.