PageSourceSearch

https://www.sinful.com/_next/static/chunks/4152-d035f7892b19a045.js

js sinful.com collected 2026-10-09 23:11:04 UTC 28,347 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a501a23a-82d2-4b12-9d98-90074d88b35e",e._sentryDebugIdIdentifier="sentry-dbid-a501a23a-82d2-4b12-9d98-90074d88b35e")}()}catch(e){}try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a501a23a-82d2-4b12-9d98-90074d88b35e",e._sentryDebugIdIdentifier="sentry-dbid-a501a23a-82d2-4b12-9d98-90074d88b35e")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4152],{94152:(e,t,n)=>{n.d(t,{G:()=>ea});var o,r=n(42584),i=Object.defineProperty,a=(e,t,n)=>(((e,t,n)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),n);class l{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(){a(this,"current",this.detect()),a(this,"handoffState","pending"),a(this,"currentId",0)}}let u=new l,s=(e,t)=>{u.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)};function c(e){let t=(0,r.useRef)(e);return s(()=>{t.current=e},[e]),t}function d(e,t){let[n,o]=(0,r.useState)(e),i=c(e);return s(()=>o(i.current),[i,o,...t]),n}function f(){let e=[],t={addEventListener:(e,n,o,r)=>(e.addEventListener(n,o,r),t.add(()=>e.removeEventListener(n,o,r))),requestAnimationFrame(){for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(){for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(){for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(){for(var e,n=arguments.length,o=Array(n),r=0;r<n;r++)o[r]=arguments[r];let i={current:!0};return e=()=>{i.current&&o[0]()},"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e})),t.add(()=>{i.current=!1})},style(e,t,n){let o=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:o})})},group(e){let t=f();return e(t),this.add(()=>t.dispose())},add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function p(){let[e]=(0,r.useState)(f);return(0,r.useEffect)(()=>()=>e.dispose(),[e]),e}let b=function(e){let t=c(e);return r.useCallback(function(){for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return t.current(...n)},[t])},v=null!=(o=r.useId)?o:function(){let e=function(){let[e,t]=(0,r.useState)(u.isHandoffComplete);return e&&!1===u.isHandoffComplete&&t(!1),(0,r.useEffect)(()=>{!0!==e&&t(!0)},[e]),(0,r.useEffect)(()=>u.handoff(),[]),e}(),[t,n]=r.useState(e?()=>u.nextId():null);return s(()=>{null===t&&n(u.nextId())},[t]),null!=t?""+t:void 0};function m(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];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,m),i}function g(e){return u.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let h=["[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 x=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(x||{}),y=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(y||{}),O=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(O||{}),R=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(R||{});function S(e,t,n){let o=c(t);(0,r.useEffect)(()=>{function t(e){o.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)},[e,n])}function I(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";if("string"==typeof n&&"button"===n.toLowerCase())return"button"}let w=Symbol();function E(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let o=(0,r.useRef)(t);(0,r.useEffect)(()=>{o.current=t},[t]);let i=b(e=>{for(let t of o.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return t.every(e=>null==e||(null==e?void 0:e[w]))?void 0:i}var C=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(C||{}),T=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(T||{}),P=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(P||{});function A(e){let{ourProps:t,theirProps:n,slot:o,defaultTag:r,features:i,visible:a=!0,name:l}=e,u=D(n,t);if(a)return N(u,o,r,l);let s=null!=i?i:0;if(2&s){let{static:e=!1,...t}=u;if(e)return N(t,o,r,l)}if(1&s){let{unmount:e=!0,...t}=u;return m(+!e,{0:()=>null,1:()=>N({...t,hidden:!0,style:{display:"none"}},o,r,l)})}return N(u,o,r,l)}function N(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,{as:a=o,children:l,refName:u="ref",...s}=k(e,["unmount","static"]),c=void 0!==e.ref?{[u]:e.ref}:{},d="function"==typeof l?l(n):l;"className"in s&&s.className&&"function"==typeof s.className&&(s.className=s.className(n));let f={};if(n){let e=!1,t=[];for(let[o,r]of Object.entries(n))"boolean"==typeof r&&(e=!0),!0===r&&t.push(o);e&&(f["data-headlessui-state"]=t.join(" "))}if(a===r.Fragment&&Object.keys(F(s)).length>0){if(!(0,r.isValidElement)(d)||Array.isArray(d)&&d.length>1)throw Error(['Passing props on "Fragment"!\n',"The current component <".concat(i,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(s).map(e=>"  - ".concat(e)).join("\n"),"\nYou 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=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}(null==(t=d.props)?void 0:t.className,s.className);return(0,r.cloneElement)(d,Object.assign({},D(d.props,F(k(s,["ref"]))),f,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),e?{className:e}:{}))}return(0,r.createElement)(a,Object.assign({},k(s,["ref"]),a!==r.Fragment&&c,a!==r.Fragment&&f),d)}function D(){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 o={},r={};for(let e of t)for(let t in e)t.startsWith("on")&&"function"==typeof e[t]?(null!=r[t]||(r[t]=[]),r[t].push(e[t])):o[t]=e[t];if(o.disabled||o["aria-disabled"])return Object.assign(o,Object.fromEntries(Object.keys(r).map(e=>[e,void 0])));for(let e in r)Object.assign(o,{[e](t){for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];for(let n of r[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;n(t,...o)}}});return o}function L(e){var t;return Object.assign((0,r.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function F(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function k(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}function M(e,t){return e?e+"["+t+"]":t}var _=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(_||{});let j=L(function(e,t){let{features:n=1,...o}=e;return A({ourProps:{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"}}},theirProps:o,slot:{},defaultTag:"div",name:"Hidden"})}),H=(0,r.createContext)(null);H.displayName="OpenClosedContext";var U=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(U||{});function V(e){let{value:t,children:n}=e;return r.createElement(H.Provider,{value:t},n)}var q=(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))(q||{});function B(e,t){let n=(0,r.useRef)([]),o=b(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])}function W(e){return[e.screenX,e.screenY]}var G=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(G||{}),K=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(K||{}),Y=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Y||{}),J=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.RegisterOption=3]="RegisterOption",e[e.UnregisterOption=4]="UnregisterOption",e[e.RegisterLabel=5]="RegisterLabel",e))(J||{});function X(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e,n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return e.slice().sort((e,n)=>{let o=t(e),r=t(n);if(null===o||null===r)return 0;let i=o.compareDocumentPosition(r);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}(t(e.options.slice()),e=>e.dataRef.current.domRef.current),r=n?o.indexOf(n):null;return -1===r&&(r=null),{options:o,activeOptionIndex:r}}let z={1(e){var t;return null!=(t=e.dataRef.current)&&t.disabled||1===e.comboboxState?e:{...e,activeOptionIndex:null,comboboxState:1}},0(e){var t;if(null!=(t=e.dataRef.current)&&t.disabled||0===e.comboboxState)return e;let n=e.activeOptionIndex;if(e.dataRef.current){let{isSelected:t}=e.dataRef.current,o=e.options.findIndex(e=>t(e.dataRef.current.value));-1!==o&&(n=o)}return{...e,comboboxState:0,activeOptionIndex:n}},2(e,t){var n,o,r,i;if(null!=(n=e.dataRef.current)&&n.disabled||null!=(o=e.dataRef.current)&&o.optionsRef.current&&!(null!=(r=e.dataRef.current)&&r.optionsPropsRef.current.static)&&1===e.comboboxState)return e;let a=X(e);if(null===a.activeOptionIndex){let e=a.options.findIndex(e=>!e.dataRef.current.disabled);-1!==e&&(a.activeOptionIndex=e)}let l=function(e,t){let n=t.resolveItems();if(n.length<=0)return null;let o=t.resolveActiveIndex(),r=null!=o?o:-1,i=(()=>{switch(e.focus){case 0:return n.findIndex(e=>!t.resolveDisabled(e));case 1:{let e=n.slice().reverse().findIndex((e,n,o)=>(-1===r||!(o.length-n-1>
1=r))&&!t.resolveDisabled(e));return -1===e?e:n.length-1-e}case 2:return n.findIndex((e,n)=>!(n<=r)&&!t.resolveDisabled(e));case 3:{let e=n.slice().reverse().findIndex(e=>!t.resolveDisabled(e));return -1===e?e:n.length-1-e}case 4:return n.findIndex(n=>t.resolveId(n)===e.id);case 5:return null;default:throw Error("Unexpected object: "+e)}})();return -1===i?o:i}(t,{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...a,activeOptionIndex:l,activationTrigger:null!=(i=t.trigger)?i:1}},3:(e,t)=>{var n,o;let r={id:t.id,dataRef:t.dataRef},i=X(e,e=>[...e,r]);null===e.activeOptionIndex&&null!=(n=e.dataRef.current)&&n.isSelected(t.dataRef.current.value)&&(i.activeOptionIndex=i.options.indexOf(r));let a={...e,...i,activationTrigger:1};return null!=(o=e.dataRef.current)&&o.__demoMode&&void 0===e.dataRef.current.value&&(a.activeOptionIndex=0),a},4:(e,t)=>{let n=X(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}},5:(e,t)=>({...e,labelId:t.id})},Q=(0,r.createContext)(null);function Z(e){let t=(0,r.useContext)(Q);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Combobox /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,Z),t}return t}Q.displayName="ComboboxActionsContext";let $=(0,r.createContext)(null);function ee(e){let t=(0,r.useContext)($);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Combobox /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,ee),t}return t}function et(e,t){return m(t.type,z,e,t)}$.displayName="ComboboxDataContext";let en=r.Fragment,eo=T.RenderStrategy|T.Static,er=L(function(e,t){let{value:n,defaultValue:o,onChange:i,name:a,by:l=(e,t)=>e===t,disabled:u=!1,__demoMode:c=!1,nullable:d=!1,multiple:f=!1,...v}=e,[x=f?[]:void 0,y]=function(e,t,n){let[o,i]=(0,r.useState)(n),a=void 0!==e,l=(0,r.useRef)(a),u=(0,r.useRef)(!1),s=(0,r.useRef)(!1);return!a||l.current||u.current?a||!l.current||s.current||(s.current=!0,l.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.")):(u.current=!0,l.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:o,b(e=>(a||i(e),null==t?void 0:t(e)))]}(n,i,o),[O,I]=(0,r.useReducer)(et,{dataRef:(0,r.createRef)(),comboboxState:+!c,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),w=(0,r.useRef)(!1),E=(0,r.useRef)({static:!1,hold:!1}),T=(0,r.useRef)(null),P=(0,r.useRef)(null),N=(0,r.useRef)(null),D=(0,r.useRef)(null),L=b("string"==typeof l?(e,t)=>(null==e?void 0:e[l])===(null==t?void 0:t[l]):l),k=(0,r.useCallback)(e=>m(H.mode,{1:()=>x.some(t=>L(t,e)),0:()=>L(x,e)}),[x]),H=(0,r.useMemo)(()=>({...O,optionsPropsRef:E,labelRef:T,inputRef:P,buttonRef:N,optionsRef:D,value:x,defaultValue:o,disabled:u,mode:+!!f,get activeOptionIndex(){if(w.current&&null===O.activeOptionIndex&&O.options.length>0){let e=O.options.findIndex(e=>!e.dataRef.current.disabled);if(-1!==e)return e}return O.activeOptionIndex},compare:L,isSelected:k,nullable:d,__demoMode:c}),[x,o,u,f,d,c,O]),q=(0,r.useRef)(null!==H.activeOptionIndex?H.options[H.activeOptionIndex]:null);(0,r.useEffect)(()=>{let e=null!==H.activeOptionIndex?H.options[H.activeOptionIndex]:null;q.current!==e&&(q.current=e)}),s(()=>{O.dataRef.current=H},[H]),function(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],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),a=r(n);if(null!==a&&a.getRootNode().contains(a)){for(let e of i){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(a)||n.composed&&n.composedPath().includes(t))return}return function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=g(e))?void 0:t.body)&&m(n,{0:()=>e.matches(h),1(){let t=e;for(;null!==t;){if(t.matches(h))return!0;t=t.parentElement}return!1}})}(a,R.Loose)||-1===a.tabIndex||n.preventDefault(),t(n,a)}}(0,r.useEffect)(()=>{requestAnimationFrame(()=>{o.current=n})},[n]);let a=(0,r.useRef)(null);S("mousedown",e=>{var t,n;o.current&&(a.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),S("click",e=>{a.current&&(i(e,()=>a.current),a.current=null)},!0),S("blur",e=>i(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}([H.buttonRef,H.inputRef,H.optionsRef],()=>ee.closeCombobox(),0===H.comboboxState);let B=(0,r.useMemo)(()=>({open:0===H.comboboxState,disabled:u,activeIndex:H.activeOptionIndex,activeOption:null===H.activeOptionIndex?null:H.options[H.activeOptionIndex].dataRef.current.value,value:x}),[H,u,x]),W=b(e=>{let t=H.options.find(t=>
1t.id===e);t&&Z(t.dataRef.current.value)}),G=b(()=>{if(null!==H.activeOptionIndex){let{dataRef:e,id:t}=H.options[H.activeOptionIndex];Z(e.current.value),ee.goToOption(C.Specific,t)}}),K=b(()=>{I({type:0}),w.current=!0}),Y=b(()=>{I({type:1}),w.current=!1}),J=b((e,t,n)=>(w.current=!1,e===C.Specific?I({type:2,focus:C.Specific,id:t,trigger:n}):I({type:2,focus:e,trigger:n}))),X=b((e,t)=>(I({type:3,id:e,dataRef:t}),()=>{var t;(null==(t=q.current)?void 0:t.id)===e&&(w.current=!0),I({type:4,id:e})})),z=b(e=>(I({type:5,id:e}),()=>I({type:5,id:null}))),Z=b(e=>m(H.mode,{0:()=>null==y?void 0:y(e),1(){let t=H.value.slice(),n=t.findIndex(t=>L(t,e));return -1===n?t.push(e):t.splice(n,1),null==y?void 0:y(t)}})),ee=(0,r.useMemo)(()=>({onChange:Z,registerOption:X,registerLabel:z,goToOption:J,closeCombobox:Y,openCombobox:K,selectActiveOption:G,selectOption:W}),[]),eo=(0,r.useRef)(null),er=p();return(0,r.useEffect)(()=>{eo.current&&void 0!==o&&er.addEventListener(eo.current,"reset",()=>{Z(o)})},[eo,Z]),r.createElement(Q.Provider,{value:ee},r.createElement($.Provider,{value:H},r.createElement(V,{value:m(H.comboboxState,{0:U.Open,1:U.Closed})},null!=a&&null!=x&&(function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];for(let[r,i]of Object.entries(t))!function t(n,o,r){if(Array.isArray(r))for(let[e,i]of r.entries())t(n,M(o,e.toString()),i);else r instanceof Date?n.push([o,r.toISOString()]):"boolean"==typeof r?n.push([o,r?"1":"0"]):"string"==typeof r?n.push([o,r]):"number"==typeof r?n.push([o,"".concat(r)]):null==r?n.push([o,""]):e(r,o,n)}(o,M(n,r),i);return o})({[a]:x}).map((e,t)=>{let[n,o]=e;return r.createElement(j,{features:_.Hidden,ref:0===t?e=>{var t;eo.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...F({key:n,as:"input",type:"hidden",hidden:!0,readOnly:!0,name:n,value:o})})}),A({ourProps:null===t?{}:{ref:t},theirProps:v,slot:B,defaultTag:en,name:"Combobox"}))))}),ei=L(function(e,t){var n;let o=ee("Combobox.Button"),i=Z("Combobox.Button"),a=E(o.buttonRef,t),l=v(),{id:u="headlessui-combobox-button-".concat(l),...c}=e,f=p(),m=b(e=>{switch(e.key){case q.ArrowDown:return e.preventDefault(),e.stopPropagation(),1===o.comboboxState&&i.openCombobox(),f.nextFrame(()=>{var e;return null==(e=o.inputRef.current)?void 0:e.focus({preventScroll:!0})});case q.ArrowUp:return e.preventDefault(),e.stopPropagation(),1===o.comboboxState&&(i.openCombobox(),f.nextFrame(()=>{o.value||i.goToOption(C.Last)})),f.nextFrame(()=>{var e;return null==(e=o.inputRef.current)?void 0:e.focus({preventScroll:!0})});case q.Escape:return 0!==o.comboboxState?void 0:(e.preventDefault(),o.optionsRef.current&&!o.optionsPropsRef.current.static&&e.stopPropagation(),i.closeCombobox(),f.nextFrame(()=>{var e;return null==(e=o.inputRef.current)?void 0:e.focus({preventScroll:!0})}
1));default:return}}),g=b(e=>{if(function(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let o=(null==t?void 0:t.getAttribute("disabled"))==="";return!(o&&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))&&o}(e.currentTarget))return e.preventDefault();0===o.comboboxState?i.closeCombobox():(e.preventDefault(),i.openCombobox()),f.nextFrame(()=>{var e;return null==(e=o.inputRef.current)?void 0:e.focus({preventScroll:!0})})}),h=d(()=>{if(o.labelId)return[o.labelId,u].join(" ")},[o.labelId,u]),x=(0,r.useMemo)(()=>({open:0===o.comboboxState,disabled:o.disabled,value:o.value}),[o]);return A({ourProps:{ref:a,id:u,type:function(e,t){let[n,o]=(0,r.useState)(()=>I(e));return s(()=>{o(I(e))},[e.type,e.as]),s(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&o("button")},[n,t]),n}(e,o.buttonRef),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":null==(n=o.optionsRef.current)?void 0:n.id,"aria-expanded":o.disabled?void 0:0===o.comboboxState,"aria-labelledby":h,disabled:o.disabled,onClick:g,onKeyDown:m},theirProps:c,slot:x,defaultTag:"button",name:"Combobox.Button"})}),ea=Object.assign(er,{Input:L(function(e,t){var n,o,i,a,l;let u=v(),{id:s="headlessui-combobox-input-".concat(u),onChange:c,displayValue:f,type:g="text",...h}=e,x=ee("Combobox.Input"),y=Z("Combobox.Input"),O=E(x.inputRef,t),R=(0,r.useRef)(!1),S=p();B((e,t)=>{let[n,o]=e,[r,i]=t;R.current||x.inputRef.current&&(0===i&&1===o||n!==r)&&(x.inputRef.current.value=n)},["function"==typeof f&&void 0!==x.value?null!=(l=f(x.value))?l:"":"string"==typeof x.value?x.value:"",x.comboboxState]),B((e,t)=>{let[n]=e,[o]=t;if(0===n&&1===o){let e=x.inputRef.current;if(!e)return;let t=e.value,{selectionStart:n,selectionEnd:o,selectionDirection:r}=e;e.value="",e.value=t,null!==r?e.setSelectionRange(n,o,r):e.setSelectionRange(n,o)}},[x.comboboxState]);let I=(0,r.useRef)(!1),w=b(()=>{I.current=!0}),T=b(()=>{setTimeout(()=>{I.current=!1})}),P=b(e=>{switch(R.current=!0,e.key){case q.Backspace:case q.Delete:if(0!==x.mode||!x.nullable)return;let t=e.currentTarget;S.requestAnimationFrame(()=>{""===t.value&&(y.onChange(null),x.optionsRef.current&&(x.optionsRef.current.scrollTop=0),y.goToOption(C.Nothing))});break;case q.Enter:if(R.current=!1,0!==x.comboboxState||I.current)return;if(e.preventDefault(),e.stopPropagation(),null===x.activeOptionIndex)return void y.closeCombobox();y.selectActiveOption(),0===x.mode&&y.closeCombobox();break;case q.ArrowDown:return R.current=!1,e.preventDefault(),e.stopPropagation(),m(x.comboboxState,{0:()=>{y.goToOption(C.Next)},1:()=>{y.openCombobox()}});case q.ArrowUp:return R.current=!1,e.preventDefault(),e.stopPropagation(),m(x.comboboxState,{0:()=>{y.goToOption(C.Previous)},1:()=>{y.openCombobox(),S.nextFrame(()=>{x.value||y.goToOption(C.Last)})}});case q.Home:if(e.shiftKey)break;return R.current=!1,e.preventDefault(),e.stopPropagation(),y.goToOption(C.First);case q.PageUp:return R.current=!1,e.preventDefault(),e.stopPropagation(),y.goToOption(C.First);case q.End:if(e.shiftKey)break;return R.current=!1,e.preventDefault(),e.stopPropagation(),y.goToOption(C.Last);case q.PageDown:return R.current=!1,e.preventDefault(),e.stopPropagation(),y.goToOption(C.Last);case q.Escape:return R.current=!1,0!==x.comboboxState?void 0:(e.preventDefault(),x.optionsRef.current&&!x.optionsPropsRef.current.static&&e.stopPropagation(),y.closeCombobox());case q.Tab:if(R.current=!1,0!==x.comboboxState)return;0===x.mode&&y.selectActiveOption(),y.closeCombobox()}}),N=b(e=>{y.openCombobox(),null==c||c(e)}),D=b(()=>{R.current=!1}),L=d(()=>{if(x.labelId)return[x.labelId].join(" ")},[x.labelId]),F=(0,r.useMemo)(()=>({open:0===x.comboboxState,disabled:x.disabled}),[x]);return A({ourProps:{ref:O,id:s,role:"combobox",type:g,"aria-controls":null==(n=x.optionsRef.current)?void 0:n.id,"aria-expanded":x.disabled?void 0:0===x.comboboxState,"aria-activedescendant":null===x.activeOptionIndex||null==(o=x.options[x.activeOptionIndex])?void 0:o.id,"aria-labelledby":L,"aria-autocomplete":"list",defaultValue:null!=(a=null!=(i=e.defaultValue)?i:void 0!==x.defaultValue?null==f?void 0:f(x.defaultValue):null)?a:x.defaultValue,disabled:x.disabled,onCompositionStart:w,onCompositionEnd:T,onKeyDown:P,onChange:N,onBlur:D},theirProps:h,slot:F,defaultTag:"input",name:"Combobox.Input"})}),Button:ei,Label:L(function(e,t){let n=v(),{id:o="headlessui-combobox-label-".concat(n),...i}=e,a=ee("Combobox.Label"),l=Z("Combobox.Label"),u=E(a.labelRef,t);return s(()=>l.registerLabel(o),[o]),A({ourProps:{ref:u,id:o,onClick:b(()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})})},theirProps:i,slot:(0,r.useMemo)(()=>({open:0===a.comboboxState,disabled:a.disabled}),[a]),defaultTag:"label",name:"Combobox.Label"})}),Options:L(function(e,t){let n=v(),{id:o="headlessui-combobox-options-".concat(n),hold:i=!1,...a}=e,l=ee("Combobox.Options"),u=E(l.optionsRef,t),c=(0,r.useContext)(H),f=null!==c?(c&U.Open)===U.Open:0===l.comboboxState;s(()=>{var t;l.optionsPropsRef.current.static=null!=(t=e.static)&&t},[l.optionsPropsRef,e.static]),s(()=>{l.optionsPropsRef.current.hold=i}
1,[l.optionsPropsRef,i]),function(e){let{container:t,accept:n,walk:o,enabled:i=!0}=e,a=(0,r.useRef)(n),l=(0,r.useRef)(o);(0,r.useEffect)(()=>{a.current=n,l.current=o},[n,o]),s(()=>{if(!t||!i)return;let e=g(t);if(!e)return;let n=a.current,o=l.current,r=Object.assign(e=>n(e),{acceptNode:n}),u=e.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,r,!1);for(;u.nextNode();)o(u.currentNode)},[t,i,a,l])}({container:l.optionsRef.current,enabled:0===l.comboboxState,accept:e=>"option"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let p=d(()=>{var e,t;return null!=(t=l.labelId)?t:null==(e=l.buttonRef.current)?void 0:e.id},[l.labelId,l.buttonRef.current]),b=(0,r.useMemo)(()=>({open:0===l.comboboxState}),[l]);return A({ourProps:{"aria-labelledby":p,role:"listbox","aria-multiselectable":1===l.mode||void 0,id:o,ref:u},theirProps:a,slot:b,defaultTag:"ul",features:eo,visible:f,name:"Combobox.Options"})}),Option:L(function(e,t){var n,o;let i,a=v(),{id:l="headlessui-combobox-option-".concat(a),disabled:u=!1,value:d,...p}=e,m=ee("Combobox.Option"),g=Z("Combobox.Option"),h=null!==m.activeOptionIndex&&m.options[m.activeOptionIndex].id===l,x=m.isSelected(d),y=(0,r.useRef)(null),O=c({disabled:u,value:d,domRef:y,textValue:null==(o=null==(n=y.current)?void 0:n.textContent)?void 0:o.toLowerCase()}),R=E(t,y),S=b(()=>g.selectOption(l));s(()=>g.registerOption(l,O),[O,l]);let I=(0,r.useRef)(!m.__demoMode);s(()=>{if(!m.__demoMode)return;let e=f();return e.requestAnimationFrame(()=>{I.current=!0}),e.dispose},[]),s(()=>{if(0!==m.comboboxState||!h||!I.current||0===m.activationTrigger)return;let e=f();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=y.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[y,h,m.comboboxState,m.activationTrigger,m.activeOptionIndex]);let w=b(e=>{if(u)return e.preventDefault();S(),0===m.mode&&g.closeCombobox(),/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0||/Android/gi.test(window.navigator.userAgent)||requestAnimationFrame(()=>{var e;return null==(e=m.inputRef.current)?void 0:e.focus()})}),T=b(()=>{if(u)return g.goToOption(C.Nothing);g.goToOption(C.Specific,l)}),P=(i=(0,r.useRef)([-1,-1]),{wasMoved(e){let t=W(e);return(i.current[0]!==t[0]||i.current[1]!==t[1])&&(i.current=t,!0)},update(e){i.current=W(e)}}),N=b(e=>P.update(e)),D=b(e=>{P.wasMoved(e)&&(u||h||g.goToOption(C.Specific,l,0))}),L=b(e=>{P.wasMoved(e)&&(u||h&&(m.optionsPropsRef.current.hold||g.goToOption(C.Nothing)))}),F=(0,r.useMemo)(()=>({active:h,selected:x,disabled:u}),[h,x,u]);return A({ourProps:{id:l,ref:R,role:"option",tabIndex:!0===u?void 0:-1,"aria-disabled":!0===u||void 0,"aria-selected":x,disabled:void 0,onClick:w,onFocus:T,onPointerEnter:N,onMouseEnter:N,onPointerMove:D,onMouseMove:D,onPointerLeave:L,onMouseLeave:L},theirProps:p,slot:F,defaultTag:"li",name:"Combobox.Option"})})})}}]);

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.