PageSourceSearch

https://publixcharities.org/_next/static/chunks/1180.6d8418f0207d516d.js

js publixcharities.org collected 2026-10-02 04:56:06 UTC 126,790 bytes, 4 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1180],{85:function(e){var t;e.exports=(t=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xa2":"cent","\xa3":"pound","\xa4":"currency","\xa5":"yen","\xa9":"(c)","\xaa":"a","\xae":"(r)","\xba":"o","\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xc6":"AE","\xc7":"C","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xd0":"D","\xd1":"N","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xdd":"Y","\xde":"TH","\xdf":"ss","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xe6":"ae","\xe7":"c","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xf0":"d","\xf1":"n","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xfd":"y","\xfe":"th","\xff":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ä¢":"G","Ä£":"g","Ĩ":"I","Ä©":"i","Ī":"i","Ä«":"i","Ä®":"I","į":"i","İ":"I","ı":"i","Ķ":"k","Ä·":"k","Ä»":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Å ":"S","Å¡":"s","Å¢":"T","Å£":"t","Ť":"T","Å¥":"t","Ũ":"U","Å©":"u","Ū":"u","Å«":"u","Å®":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Å´":"W","ŵ":"w","Ŷ":"Y","Å·":"y","Ÿ":"Y","Ź":"Z","ź":"z","Å»":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Æ ":"O","Æ¡":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Î¥":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Ð¥":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ò¢":"NG","Ò£":"ng","Ò®":"UE","Ò¯":"ue","Ò°":"U","Ò±":"u","Òº":"H","Ò»":"h","Ә":"AE","ә":"ae","Ó¨":"OE","Ó©":"oe","Ô±":"A","Ô²":"B","Ô³":"G","Ô´":"D","Ôµ":"E","Ô¶":"Z","Ô·":"E\'","Ô¸":"Y\'","Ô¹":"T\'","Ôº":"JH","Ô»":"I","Ô¼":"L","Ô½":"X","Ô¾":"C\'","Ô¿":"K","Հ":"H","Ձ":"D\'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R\'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P\'","Ք":"Q\'","Օ":"O\'\'","Ֆ":"F","և":"EV","Ø¡":"a","Ø¢":"aa","Ø£":"a","ؤ":"u","Ø¥":"i","ئ":"e","ا":"a","ب":"b","Ø©":"h","ت":"t","Ø«":"th","ج":"j","Ø­":"h","Ø®":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","Ø´":"sh","ص":"s","ض":"dh","Ø·":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","Ù ":"0","Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù¾":"p","چ":"ch","ژ":"zh","Ú©":"k","Ú¯":"g","ی":"y","Û°":"0","Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","á¹¢":"S","á¹£":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","á» ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","á»§":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","á»­":"u","á»®":"U","ữ":"u","á»°":"U","á»±":"u","Ỳ":"Y","ỳ":"y","á»´":"Y","ỵ":"y","á»¶":"Y","á»·":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"\'","’":"\'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","â
1‚§":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","ï·¼":"rial","ﻵ":"laa","ï»·":"laa","ﻹ":"lai","ï»»":"la"}'),t=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"\xc4":"AE","\xe4":"ae","\xd6":"OE","\xf6":"oe","\xdc":"UE","\xfc":"ue","\xdf":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","\xa2":"centavos","\xa3":"libras","\xa4":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xa2":"centime","\xa3":"livre","\xa4":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","\xa2":"centavo","∑":"soma","\xa3":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Ð¥":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"\xd8":"OE","\xf8":"oe","\xc5":"AA","\xe5":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"st\xf8rre end"},"nb":{"&":"og","\xc5":"AA","\xc6":"AE","\xd8":"OE","\xe5":"aa","\xe6":"ae","\xf8":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","\xc5":"AA","\xc4":"AE","\xd6":"OE","\xe5":"aa","\xe4":"ae","\xf6":"oe"}}');function n(n,o){if("string"!=typeof n)throw Error("slugify: string argument expected");var i=t[(o="string"==typeof o?{replacement:o}:o||{}).locale]||{},r=void 0===o.replacement?"-":o.replacement,l=void 0===o.trim||o.trim,s=n.normalize().split("").reduce(function(t,n){var l=i[n];return void 0===l&&(l=e[n]),void 0===l&&(l=n),l===r&&(l=" "),t+l.replace(o.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return o.strict&&(s=s.replace(/[^A-Za-z0-9\s]/g,"")),l&&(s=s.trim()),s=s.replace(/\s+/g,r),o.lower&&(s=s.toLowerCase()),s}return n.extend=function(t){Object.assign(e,t)},n})(),e.exports.default=t()},147:(e,t,n)=>{"use strict";n.d(t,{V:()=>l});var o=n(6514),i=n(1880),r=n(3191);function l({children:e}){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r,{src:"https://platform.twitter.com/widgets.js",strategy:"lazyOnload"}),e]})}l.test=e=>(0,i.h2)(e)},400:(e,t,n)=>{"use strict";n.d(t,{J:()=>l,q:()=>r});var o=n(5834);let i=(0,o.createContext)(void 0);function r(){return(0,o.useContext)(i)}function l({id:e,children:t}){return o.createElement(i.Provider,{value:e},t)}},991:(e,t,n)=>{"use strict";function o(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}n.d(t,{$t:()=>o})},1074:(e,t,n)=>{"use strict";n.d(t,{LA:()=>l,kJ:()=>a,tk:()=>s});var o=n(8791),i=n(9403);let r="_HEADLESS_/_MISSING__BLOCK_",l=new o.Hg("div",{"data-wp-block":JSON.stringify({}),"data-wp-block-name":r});function s(e){return void 0!==e.attribs["data-wp-block-name"]&&void 0!==e.attribs["data-wp-block"]}function a(e){if(void 0===e)throw new i.hl("You are calling `parseBlockAttributes` on a undefined node");s(e)||(0,i.R8)("[parseBlockAttributes] You are using the `parseBlockAttributes` hook in a node that is not a block.");let t=e.attribs["data-wp-block-name"]||"";if(t===r&&void 0===e)throw new i.hl("You are calling `parseBlockAttributes` on a undefined node");let n=e.attribs["data-wp-block"]?function(e){let t={};try{t=JSON.parse(e)}catch(e){}return t}(e.attribs["data-wp-block"]):{};return n.style&&(n.styleConfig=n.style,delete n.style),{attributes:n,name:t,className:e.attribs.class}}},1492:(e,t,n)=>{"use strict";n.d(t,{D:()=>p});var o=n(6514),i=n(1880),r=n(8336),l=n(9403),s=n(4643);function a(e,t,n){let o=n=>
1String.prototype.split.call(t,n).filter(Boolean).reduce((e,t)=>null!=e?e[t]:e,e),i=o(/[,[\]]+?/)||o(/[,[\].]+?/);return void 0===i||i===e?n:i}var u=n(5834),c=n(3801);function d(e,t="",n="",o=!0){let i=function(){let{settings:e}=(0,u.useContext)(c.y);return e}();return t&&a(i,`blocks.${t}.${e}`)?a(i,`blocks.${t}.${e}`):t&&!o?n:a(i,e,n)}var f=n(1074);let p=({domNode:e=f.LA,children:t,component:n,style:i})=>{let a,{name:p,className:h,attributes:v}=(0,r.l)(e),g=function(e){if(void 0===e)throw new l.hl("You are using `useBlock` on a undefined node");let t=function(e){let{attributes:t}=(0,r.l)(e);return t.align?t.align:(0,s.tq)(e)}(e),n=(0,s.zD)(e),o=function(e){var t;let{attributes:n}=(0,r.l)(e);return null==(t=null==n?void 0:n.styleConfig)?void 0:t.border}(e),i=function(e){var t,n,o,i,l,a,u,c,f,p,h,v,g;let{name:m,attributes:b}=(0,r.l)(e),y=d("color.palette.default",null,[]),x=d("color.palette.default",null,[]),E=d("color.palette.theme",null,[]),w=d("color.palette.theme",null,[]),S=d("color.palette.user",null,[]),O=d("color.palette.user",null,[]),C=d("color.palette.theme",m,[],!1),T=d("color.gradients.theme",m,[],!1),k=[...(0,s.iZ)(T),...(0,s.iZ)(O),...(0,s.iZ)(w),...(0,s.iZ)(x)],I=[...(0,s.iZ)(C),...(0,s.iZ)(S),...(0,s.iZ)(E),...(0,s.iZ)(y)],P={backgroundColorSlug:"",backgroundColor:"",textColorSlug:"",textColor:"",gradientSlug:"",gradient:"",linkColorSlug:"",linkColor:""},R=!1;return(b.backgroundColor&&(R=!0,P.backgroundColorSlug=b.backgroundColor,P.backgroundColor=null==(t=I.find(e=>e.slug===b.backgroundColor))?void 0:t.color),b.textColor&&(R=!0,P.textColorSlug=b.textColor,P.textColor=null==(n=I.find(e=>e.slug===b.textColor))?void 0:n.color),b.gradient&&(R=!0,P.gradientSlug=b.gradient,P.gradient=null==(o=k.find(e=>e.slug===b.gradient))?void 0:o.gradient),(null==(u=null==(a=null==(l=null==(i=null==b?void 0:b.styleConfig)?void 0:i.elements)?void 0:l.link)?void 0:a.color)?void 0:u.text)&&(R=!0,P.linkColorSlug=(null==(v=null==(h=null==(p=null==(f=null==(c=null==b?void 0:b.styleConfig)?void 0:c.elements)?void 0:f.link)?void 0:p.color)?void 0:h.text)?void 0:v.split("|").pop())||"",P.linkColor=null==(g=I.find(e=>e.slug===P.linkColorSlug))?void 0:g.color),R)?P:(0,s._o)(e)}(e),a=function(e){var t,n,o,i,l,a,u,c;let{name:f,attributes:p}=(0,r.l)(e),h=d("typography.fontSizes.default",null,[]),v=d("typography.fontSizes.theme",null,[]),g=d("typography.fontSizes.user",null,[]),m=d("typography.fontSizes.theme",f,[],!1),b=!!d("typography.customFontSize",f),y=!!d("typography.fontStyle",f),x=!!d("typography.fontWeight",f),E=!!d("typography.letterSpacing",f),w=!!d("typography.lineHeight",f),S=!!d("typography.textDecoration",f),O=!!d("typography.textTransform",f),C=[...(0,s.iZ)(m),...(0,s.iZ)(g),...(0,s.iZ)(v),...(0,s.iZ)(h)],T=null==p?void 0:p.fontSize;return T?{fontSize:{slug:T||"",value:(null==(t=C.find(e=>e.slug===T))?void 0:t.size)||(null==(n=null==p?void 0:p.style)?void 0:n.typography)},supportsFontStyle:y,supportsCustomFontSize:b,supportsFontWeight:x,supportsLetterSpacing:E,supportsLineHeight:w,supportsTextDecoration:S,supportsTextTransform:O,lineHeight:null==(i=null==(o=null==p?void 0:p.styleConfig)?void 0:o.typography)?void 0:i.lineHeight,textTransform:null==(a=null==(l=null==p?void 0:p.styleConfig)?void 0:l.typography)?void 0:a.textTransform,letterSpacing:null==(c=null==(u=null==p?void 0:p.styleConfig)?void 0:u.typography)?void 0:c.letterSpacing}:{fontSize:{slug:"",value:""},supportsFontStyle:y,supportsCustomFontSize:b,supportsFontWeight:x,supportsLetterSpacing:E,supportsLineHeight:w,supportsTextDecoration:S,supportsTextTransform:O,lineHeight:"",textTransform:"",letterSpacing:""}}(e);return{align:t,blockStyle:n,border:o,colors:i,typography:a,width:function(e){let{attributes:t}=(0,r.l)(e);return t.width?t.width:(0,s.J1)(e)}(e),spacing:function(e){var t,n,o,i,l,s,a,f,p,h;let{name:v,attributes:g}=(0,r.l)(e),m=!!d("spacing.blockGap",v),b=!!d("spacing.margin",v),y=!!d("spacing.padding",v),x=function(){let{styles:e}=(0,u.useContext)(c.y);return e}(),E="";return m&&(null==(n=null==(t=null==g?void 0:g.styleConfig)?void 0:t.spacing)?void 0:n.blockGap)?E=null==(i=null==(o=null==g?void 0:g.styleConfig)?void 0:o.spacing)?void 0:i.blockGap:m&&(null==(l=null==x?void 0:x.spacing)?void 0:l.blockGap)&&(E=null==(s=null==x?void 0:x.spacing)?void 0:s.blockGap),{padding:null==(f=null==(a=null==g?void 0:g.styleConfig)?void 0:a.spacing)?void 0:f.padding,margin:null==(h=null==(p=null==g?void 0:g.styleConfig)?void 0:p.spacing)?void 0:h.margin,supportsMargin:b,supp
1ortsPadding:y,supportsBlockGap:m,blockGap:E}}(e)}}(e),m="figure"===e.firstChild.name,{width:b,height:y}=v;if(m){let t=e.children[0];t.children[0]&&(a=t.children[0])}else a=e.children[0];let{src:x,alt:E,width:w,height:S}=a.attribs,O=null!=b?b:w,C=null!=y?y:S;return(0,o.jsx)(n,{name:p,domNode:e,className:h,src:x,alt:E,attributes:g,width:O?Number(O):void 0,height:C?Number(C):void 0,style:i,children:t})};p.test=e=>(0,i.qy)(e,"core/image")},2169:(e,t,n)=>{"use strict";n.d(t,{w:()=>o});var o=(e=>(e[e.Left=0]="Left",e[e.Right=2]="Right",e))(o||{})},2577:(e,t,n)=>{"use strict";n.d(t,{P:()=>l});var o=n(5834),i=n(851),r=n(7546);function l(e,t,n){let[l,s]=(0,o.useState)(n),a=void 0!==e,u=(0,o.useRef)(a),c=(0,o.useRef)(!1),d=(0,o.useRef)(!1);return!a||u.current||c.current?a||!u.current||d.current||(d.current=!0,u.current=a,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(c.current=!0,u.current=a,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[a?e:l,(0,r._)(e=>(a||(0,i.flushSync)(()=>s(e)),null==t?void 0:t(e)))]}},2911:(e,t,n)=>{"use strict";n.d(t,{O:()=>r,j:()=>i});var o=n(5834);let i=o.forwardRef(function({children:e,freeze:t},n){let i=r(t,e);return(0,o.isValidElement)(i)?(0,o.cloneElement)(i,{ref:n}):o.createElement(o.Fragment,null,i)});function r(e,t){let[n,i]=(0,o.useState)(t);return e||n===t||i(t),e?n:t}},3125:(e,t,n)=>{"use strict";n.d(t,{WF:()=>ew,go:()=>eb,h7:()=>eE,wh:()=>ex});var o=n(9028),i=n(8597),r=n(5834),l=n(851),s=n(5518),a=n(8214),u=n(2577),c=n(3979),d=n(6613),f=n(4168),p=n(7546),h=n(5516),v=n(8602),g=n(2238),m=n(9549),b=n(2683),y=n(3344),x=n(7337),E=n(9065),w=n(9364),S=n(4080),O=n(7478),C=n(962),T=n(1749);let k=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function I(e){var t,n;let o=null!=(t=e.innerText)?t:"",i=e.cloneNode(!0);if(!T.sb(i))return o;let r=!1;for(let e of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),r=!0;let l=r?null!=(n=i.innerText)?n:"":o;return k.test(l)&&(l=l.replace(k,"")),l}var P=n(5808),R=n(2386),M=n(4349),F=n(4619),L=n(3827),D=n(2911),A=n(400),_=n(6180),B=n(9340),z=n(9470),N=n(7007),j=n(4170),H=n(715),W=n(3993),V=n(9032),U=n(2766),q=n(8919),$=n(8689),Y=n(1099),J=n(9577),K=n(6647),G=n(4190),X=n(4409),Z=Object.defineProperty,Q=(e,t,n)=>(((e,t,n)=>t in e?Z(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),n),ee=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(ee||{}),et=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(et||{}),en=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(en||{}),eo=(e=>(e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.GoToOption=2]="GoToOption",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.SelectOption=5]="SelectOption",e[e.RegisterOptions=6]="RegisterOptions",e[e.UnregisterOptions=7]="UnregisterOptions",e[e.SetButtonElement=8]="SetButtonElement",e[e.SetOptionsElement=9]="SetOptionsElement",e[e.SortOptions=10]="SortOptions",e[e.MarkButtonAsMoved=11]="MarkButtonAsMoved",e))(eo||{});function ei(e,t=e=>e){let n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,o=(0,H.wl)(t(e.options.slice()),e=>e.dataRef.current.domRef.current),i=n?o.indexOf(n):null;return -1===i&&(i=null),{options:o,activeOptionIndex:i}}let er={1(e){if(e.dataRef.current.disabled||1===e.listboxState)return e;let t=e.buttonElement?X.Fc.Tracked((0,X.JO)(e.buttonElement)):e.buttonPositionState;return{...e,activeOptionIndex:null,pendingFocus:{focus:N.B.Nothing},listboxState:1,__demoMode:!1,buttonPositionState:t}},0(e,t){if(e.dataRef.current.disabled||0===e.listboxState)return e;let n=e.activeOptionIndex,{isSelected:o}=e.dataRef.current,i=e.options.findIndex(e=>o(e.dataRef.current.value));return -1!==i&&(n=i),{...e,frozenValue:!1,pendingFocus:t.focus,listboxState:0,activeOptionIndex:n,__demoMode:!1,buttonPositionState:X.Fc.Idle}},2(e,t){var n,o,i,r,l;if(e.dataRef.current.disabled||1===e.listboxState)return e;let s={...e,searchQuery:"",activationTrigger:null!=(n=t.trigger)?n:1,__demoMode:!1};if(t.focus===N.B.Nothing)return{...s,activeOptionIndex:null};if(t.focus===N.B.Specific)return{...s,activeOptionIndex:e.options.findIndex(e=>e.id===t.id)};if(t.focus===N.B.Previous){let n=e.activeOptionIndex;if(null!==n){let r=e.options[n].dataRef.current.domRef,l=(0,N.X)(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==l){let t=e.options[l].dataRef.current.domRef;if((null==(o=r.current)?void 0:o.previousElementSibling)===t.current||(null==(i=t.current)?void 0:i.previousElementSibling)===null)return{...s,activeOptionIndex:l}}}}else if(t.focus===N.B.Next){let n=e.activeOptionIndex;if(null!==n){let o=e.options[n].dataRef.current.domRef,i=(0,N.X)(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==i){let t=e.options[i].dataRef.current.domRef;if((null==(r=o.current)?void 0:r.nextElementSibling)===t.current||(null==(l=t.current)?void 0:l.nextElementSibling)===null)return{...s,activeOptionIndex:i}}}}let a=ei(e),u=(0,N.X)(t,{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...s,...a,activeOptionIndex:u}},3:(e,t)=>
1{if(e.dataRef.current.disabled||1===e.listboxState)return e;let n=+(""===e.searchQuery),o=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeOptionIndex?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find(e=>{var t;return!e.dataRef.current.disabled&&(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(o))}),r=i?e.options.indexOf(i):-1;return -1===r||r===e.activeOptionIndex?{...e,searchQuery:o}:{...e,searchQuery:o,activeOptionIndex:r,activationTrigger:1}},4:e=>e.dataRef.current.disabled||1===e.listboxState||""===e.searchQuery?e:{...e,searchQuery:""},5:e=>0===e.dataRef.current.mode?{...e,frozenValue:!0}:{...e},6:(e,t)=>{let n=e.options.concat(t.options),o=e.activeOptionIndex;if(e.pendingFocus.focus!==N.B.Nothing&&(o=(0,N.X)(e.pendingFocus,{resolveItems:()=>n,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled})),null===e.activeOptionIndex){let{isSelected:t}=e.dataRef.current;if(t){let e=n.findIndex(e=>null==t?void 0:t(e.dataRef.current.value));-1!==e&&(o=e)}}return{...e,options:n,activeOptionIndex:o,pendingFocus:{focus:N.B.Nothing},pendingShouldSort:!0}},7:(e,t)=>{let n=e.options,o=[],i=new Set(t.options);for(let[e,t]of n.entries())if(i.has(t.id)&&(o.push(e),i.delete(t.id),0===i.size))break;if(o.length>0)for(let e of(n=n.slice(),o.reverse()))n.splice(e,1);return{...e,options:n,activationTrigger:1}},8:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},9:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element},10:e=>e.pendingShouldSort?{...e,...ei(e),pendingShouldSort:!1}:e,11:e=>"Tracked"!==e.buttonPositionState.kind?e:{...e,buttonPositionState:X.Fc.Moved}};class el extends G.u5{constructor(e){super(e),Q(this,"actions",{onChange:e=>{let{onChange:t,compare:n,mode:o,value:i}=this.state.dataRef.current;return(0,V.Y)(o,{0:()=>null==t?void 0:t(e),1:()=>{let o=i.slice(),r=o.findIndex(t=>n(t,e));return -1===r?o.push(e):o.splice(r,1),null==t?void 0:t(o)}})},registerOption:(0,G.vA)(()=>{let e=[],t=new Set;return[(n,o)=>{t.has(o)||(t.add(o),e.push({id:n,dataRef:o}))},()=>(t.clear(),this.send({type:6,options:e.splice(0)}))]}),unregisterOption:(0,G.vA)(()=>{let e=[];return[t=>e.push(t),()=>{this.send({type:7,options:e.splice(0)})}]}),goToOption:(0,G.vA)(()=>{let e=null;return[(t,n)=>{e={type:2,...t,trigger:n}},()=>e&&this.send(e)]}),closeListbox:()=>{this.send({type:1})},openListbox:e=>{this.send({type:0,focus:e})},selectActiveOption:()=>{var e;if(null!==this.state.activeOptionIndex){let{dataRef:e}=this.state.options[this.state.activeOptionIndex];this.actions.selectOption(e.current.value)}else 0===this.state.dataRef.current.mode&&(this.actions.closeListbox(),null==(e=this.state.buttonElement)||e.focus({preventScroll:!0}))},selectOption:e=>{this.send({type:5,value:e})},search:e=>{this.send({type:3,value:e})},clearSearch:()=>{this.send({type:4})},setButtonElement:e=>{this.send({type:8,element:e})},setOptionsElement:e=>{this.send({type:9,element:e})}}),Q(this,"selectors",{activeDescendantId(e){var t;let n=e.activeOptionIndex,o=e.options;return null===n||null==(t=o[n])?void 0:t.id},isActive(e,t){var n;let o=e.activeOptionIndex,i=e.options;return null!==o&&(null==(n=i[o])?void 0:n.id)===t},hasFrozenValue:e=>e.frozenValue,shouldScrollIntoView(e,t){return!e.__demoMode&&0===e.listboxState&&0!==e.activationTrigger&&this.isActive(e,t)},didButtonMove:e=>"Moved"===e.buttonPositionState.kind}),this.on(6,()=>{requestAnimationFrame(()=>{this.send({type:10})})});{let e=this.state.id,t=B.D.get(null);this.disposables.add(t.on(B.Q.Push,n=>{t.selectors.isTop(n,e)||0!==this.state.listboxState||this.actions.closeListbox()})),this.on(0,()=>t.actions.push(e)),this.on(1,()=>t.actions.pop(e))}this.disposables.group(e=>{this.on(1,t=>{t.buttonElement&&(e.dispose(),e.add((0,X.nY)(t.buttonElement,t.buttonPositionState,()=>{this.send({type:11})})))})}),this.on(5,(e,t)=>{var n;this.actions.onChange(t.value),0===this.state.dataRef.current.mode&&(this.actions.closeListbox(),null==(n=this.state.buttonElement)||n.focus({preventScroll:!0}))})}static new({id:e,__demoMode:t=!1}){return new el({id:e,dataRef:{current:{}},listboxState:+!t,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,buttonElement:null,optionsElement:null,pendingShouldSort:!1,pendingFocus:{focus:N.B.Nothing},frozenValue:!1,__demoMode:t,buttonPositionState:X.Fc.Idle})}reduce(e,t){return(0,V.Y)(t.type,er,e,t)}}var es=n(5914);let ea=(0,r.createContext)(null);function eu(e){let t=(0,r.useContext)(ea);if(null===t){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ec),t}return t}function ec({id:e,__demoMode:t=!1}){let n=(0,r.useMemo)(()=>el.new({id:e,__demoMode:t}),[]);return(0,es.X)(()=>n.dispose()),n}let ed=(0,r.createContext)(null);function ef(e){let t=(0,r.useContext)(ed);if(null===t){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ef),t}return t}ed.displayName="ListboxDataContext";let ep=r.Fragment,eh=(0,r.createContext)(!1),ev=q.Ac.RenderStrategy|q.Ac.Static,eg=r.Fragment,em=(0,q.FX)(function(e,t){let n=(0,r.useId)(),o=(0,M._)(),{value:i,defaultValue:l,form:s,name:d,onChange:f,by:p,invalid:h=!1,disabled:v=o||!1,horizontal:m=!1,multiple:b=!1,__demoMode:x=!1,...E}=e,w=(0,C.P)(t),S=(0,c.K)(l),[T=b?[]:void 0,k]=(0,u.P)(i,f,S),I=ec({id:n,__demoMode:x}),P=(0,r.useRef)({static:!1,hold:!1}),R=(0,r.useRef)(new Map),D=(0,a.t)(p),A=(0,r.useCallback)(e=>(0,V.Y)(N.mode,{[et.Multi]:()=>T.some(t=>D(t,e)),[et.Single]:()=>D(T,e)}),[T]),N=(0,O._)({value:T,disabled:v,invalid:h,mode:b?et.Multi:et.Single,orientation:m?"horizontal":"vertical",onChange:k,compare:D,isSelected:A,optionsPropsRef:P,listRef:R});(0,g.s)(()=>{I.state.dataRef.current=N},[N]);let j=(0,z.y)(I,e=>e.listboxState),W=B.D.get(null),U=(0,z.y)(W,(0,r.useCallback)(e=>W.selectors.isTop(e,n),[W,n])),[$,Y]=(0,z.y)(I,e=>[e.buttonElement,e.optionsElement]);(0,y.j)(U,[$,Y],(e,t)=>{I.send({type:eo.CloseListbox}),(0,H.Bm)(t,H.MZ.Loose)||(e.preventDefault(),null==$||$.focus())});let K=(0,O._)({open:j===ee.Open,disabled:v,invalid:h,value:T}),[G,X]=(0,J.b0)({inherit:!0}),Z=(0,r.useCallback)(()=>
1{if(void 0!==S)return null==k?void 0:k(S)},[k,S]),Q=(0,q.Ci)();return r.createElement(X,{value:G,props:{htmlFor:null==$?void 0:$.id},slot:{open:j===ee.Open,disabled:v}},r.createElement(F.St,null,r.createElement(ea.Provider,{value:I},r.createElement(ed.Provider,{value:N},r.createElement(_.El,{value:(0,V.Y)(j,{[ee.Open]:_.Uw.Open,[ee.Closed]:_.Uw.Closed})},null!=d&&null!=T&&r.createElement(L.CL,{disabled:v,data:{[d]:T},form:s,onReset:Z}),Q({ourProps:{ref:w},theirProps:E,slot:K,defaultTag:ep,name:"Listbox"}))))))}),eb=(0,q.FX)(function(e,t){let n=(0,r.useId)(),a=(0,A.q)(),u=ef("Listbox.Button"),c=eu("Listbox.Button"),{id:d=a||`headlessui-listbox-button-${n}`,disabled:f=u.disabled||!1,autoFocus:v=!1,...g}=e,m=(0,C.P)(t,(0,F.Xc)(),c.actions.setButtonElement),b=(0,F.TI)(),[y,x,S]=(0,z.y)(c,e=>[e.listboxState,e.buttonElement,e.optionsElement]),k=y===ee.Open;(0,E.s)(k,{trigger:x,action:(0,r.useCallback)(e=>{if(null!=x&&x.contains(e.target))return E.r.Ignore;let t=e.target.closest('[role="option"]:not([data-disabled])');return T.sb(t)?E.r.Select(t):null!=S&&S.contains(e.target)?E.r.Ignore:E.r.Close},[x,S]),close:c.actions.closeListbox,select:c.actions.selectActiveOption});let I=(0,p._)(e=>{switch(e.key){case Y.D.Enter:(0,W.q)(e.currentTarget);break;case Y.D.Space:case Y.D.ArrowDown:e.preventDefault(),c.actions.openListbox({focus:u.value?N.B.Nothing:N.B.First});break;case Y.D.ArrowUp:e.preventDefault(),c.actions.openListbox({focus:u.value?N.B.Nothing:N.B.Last})}}),P=(0,p._)(e=>{e.key===Y.D.Space&&e.preventDefault()}),R=(0,h.O)(e=>{var t;c.state.listboxState===ee.Open?((0,l.flushSync)(()=>c.actions.closeListbox()),null==(t=c.state.buttonElement)||t.focus({preventScroll:!0})):(e.preventDefault(),c.actions.openListbox({focus:N.B.Nothing}))}),M=(0,p._)(e=>e.preventDefault()),L=(0,J.o2)([d]),D=(0,$.MM)(),{isFocusVisible:_,focusProps:B}=(0,o.o)({autoFocus:v}),{isHovered:j,hoverProps:H}=(0,i.M)({isDisabled:f}),{pressed:V,pressProps:U}=(0,s.Z)({disabled:f}),K=(0,O._)({open:y===ee.Open,active:V||y===ee.Open,disabled:f,invalid:u.invalid,value:u.value,hover:j,focus:_,autofocus:v}),G=(0,z.y)(c,e=>e.listboxState===ee.Open),X=(0,q.v6)(b(),{ref:m,id:d,type:(0,w.c)(e,x),"aria-haspopup":"listbox","aria-controls":null==S?void 0:S.id,"aria-expanded":G,"aria-labelledby":L,"aria-describedby":D,disabled:f||void 0,autoFocus:v,onKeyDown:I,onKeyUp:P,onKeyPress:M},R,B,H,U);return(0,q.Ci)()({ourProps:X,theirProps:g,slot:K,defaultTag:"button",name:"Listbox.Button"})}),ey=J.JU,ex=(0,q.FX)(function(e,t){let n=(0,r.useId)(),{id:o=`headlessui-listbox-options-${n}`,anchor:i,portal:s=!1,modal:a=!0,transition:u=!1,...c}=e,h=(0,F.zn)(i),[g,m]=(0,r.useState)(null);h&&(s=!0);let y=ef("Listbox.Options"),E=eu("Listbox.Options"),[w,T,k,I]=(0,z.y)(E,e=>[e.listboxState,e.buttonElement,e.optionsElement,e.__demoMode]),P=(0,x.g)(T),M=(0,x.g)(k),L=(0,_.O_)(),[A,B]=(0,R.p)(u,g,null!==L?(L&_.Uw.Open)===_.Uw.Open:w===ee.Open);(0,b.O)(A,T,E.actions.closeListbox);let j=!I&&a&&w===ee.Open;(0,S.K)(j,M);let W=!I&&a&&w===ee.Open;(0,v.v)(W,{allowed:(0,r.useCallback)(()=>[T,k],[T,k])});let $=!(0,z.y)(E,E.selectors.didButtonMove)&&A,J=(0,z.y)(E,E.selectors.hasFrozenValue)&&!e.static,G=(0,D.O)(J,y.value),X=(0,r.useCallback)(e=>y.compare(G,e),[y.compare,G]),Z=(0,z.y)(E,e=>{var t;if(null==h||!(null!=(t=null==h?void 0:h.to)&&t.includes("selection")))return null;let n=e.options.findIndex(e=>X(e.dataRef.current.value));return -1===n&&(n=0),n}),Q=(()=>{if(null==h)return;if(null===Z)return{...h,inner:void 0};let e=Array.from(y.listRef.current.values());return{...h,inner:{listRef:{current:e},index:Z}}})(),[en,eo]=(0,F.UF)(Q),ei=(0,F.G3)(),er=(0,C.P)(t,h?en:null,E.actions.setOptionsElement,m),el=(0,d.L)();(0,r.useEffect)(()=>{k&&w===ee.Open&&((0,U.X7)(k)||null==k||k.focus({preventScroll:!0}))},[w,k]);let es=(0,p._)(e=>{var t;switch(el.dispose(),e.key){case Y.D.Space:if(""!==E.state.searchQuery)return e.preventDefault(),e.stopPropagation(),E.actions.search(e.key);case Y.D.Enter:e.preventDefault(),e.stopPropagation(),E.actions.selectActiveOption();break;case(0,V.Y)(y.orientation,{vertical:Y.D.ArrowDown,horizontal:Y.D.ArrowRight}):return e.preventDefault(),e.stopPropagation(),E.actions.goToOption({focus:N.B.Next});case(0,V.Y)(y.orientation,{vertical:Y.D.ArrowUp,horizontal:Y.D.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),E.actions.goToOption({focus:N.B.Previous});case Y.D.Home:case Y.D.PageUp:return e.preventDefault(),e.stopPropagation(),E.actions.goToOption({focus:N.B.First});case Y.D.End:case Y.D.PageDown:return e.preventDefault(),e.stopPropagation(),E.actions.goToOption({focus:N.B.Last});case Y.D.Escape:e.preventDefault(),e.stopPropagation(),(0,l.flushSync)(()=>E.actions.closeListbox()),null==(t=E.state.buttonElement)||t.focu
1s({preventScroll:!0});return;case Y.D.Tab:e.preventDefault(),e.stopPropagation(),(0,l.flushSync)(()=>E.actions.closeListbox()),(0,H.p9)(E.state.buttonElement,e.shiftKey?H.BD.Previous:H.BD.Next);break;default:1===e.key.length&&(E.actions.search(e.key),el.setTimeout(()=>E.actions.clearSearch(),350))}}),ea=(0,z.y)(E,e=>{var t;return null==(t=e.buttonElement)?void 0:t.id}),ec=(0,O._)({open:w===ee.Open}),ep=(0,q.v6)(h?ei():{},{id:o,ref:er,"aria-activedescendant":(0,z.y)(E,E.selectors.activeDescendantId),"aria-multiselectable":y.mode===et.Multi||void 0,"aria-labelledby":ea,"aria-orientation":y.orientation,onKeyDown:es,role:"listbox",tabIndex:w===ee.Open?0:void 0,style:{...c.style,...eo,"--button-width":(0,f.L)(A,T,!0).width},...(0,R.B)(B)}),eh=(0,q.Ci)(),eg=(0,r.useMemo)(()=>y.mode===et.Multi?y:{...y,isSelected:X},[y,X]);return r.createElement(K.ZL,{enabled:!!s&&(e.static||A),ownerDocument:P},r.createElement(ed.Provider,{value:eg},eh({ourProps:ep,theirProps:c,slot:ec,defaultTag:"div",features:ev,visible:$,name:"Listbox.Options"}
1)))}),eE=(0,q.FX)(function(e,t){let n,o,i=(0,r.useId)(),{id:l=`headlessui-listbox-option-${i}`,disabled:s=!1,value:a,...u}=e,c=!0===(0,r.useContext)(eh),d=ef("Listbox.Option"),f=eu("Listbox.Option"),h=(0,z.y)(f,e=>f.selectors.isActive(e,l)),v=d.isSelected(a),b=(0,r.useRef)(null),y=(n=(0,r.useRef)(""),o=(0,r.useRef)(""),(0,p._)(()=>{let e=b.current;if(!e)return"";let t=e.innerText;if(n.current===t)return o.current;let i=(function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let e=n.split(" ").map(e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():I(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(", ")}return I(e).trim()})(e).trim().toLowerCase();return n.current=t,o.current=i,i})),x=(0,m.Y)({disabled:s,value:a,domRef:b,get textValue(){return y()}}),E=(0,C.P)(t,b,e=>{e?d.listRef.current.set(l,e):d.listRef.current.delete(l)}),w=(0,z.y)(f,e=>f.selectors.shouldScrollIntoView(e,l));(0,g.s)(()=>{if(w)return(0,j.e)().requestAnimationFrame(()=>{var e,t;null==(t=null==(e=b.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})},[w,b]),(0,g.s)(()=>{if(!c)return f.actions.registerOption(l,x),()=>f.actions.unregisterOption(l)},[x,l,c]);let S=(0,p._)(e=>{if(s)return e.preventDefault();f.actions.selectOption(a)}),T=(0,p._)(()=>{if(s)return f.actions.goToOption({focus:N.B.Nothing});f.actions.goToOption({focus:N.B.Specific,id:l})}),k=(0,P.J)(),R=(0,p._)(e=>k.update(e)),M=(0,p._)(e=>{k.wasMoved(e)&&(s||h&&f.state.activationTrigger===en.Pointer||f.actions.goToOption({focus:N.B.Specific,id:l},en.Pointer))}),F=(0,p._)(e=>{k.wasMoved(e)&&(s||h&&f.state.activationTrigger===en.Pointer&&f.actions.goToOption({focus:N.B.Nothing}))}),L=(0,O._)({active:h,focus:h,selected:v,disabled:s,selectedOption:v&&c}),D=c?{}:{id:l,ref:E,role:"option",tabIndex:!0===s?void 0:-1,"aria-disabled":!0===s||void 0,"aria-selected":v,disabled:void 0,onClick:S,onFocus:T,onPointerEnter:R,onMouseEnter:R,onPointerMove:M,onMouseMove:M,onPointerLeave:F,onMouseLeave:F},A=(0,q.Ci)();return!v&&c?null:A({ourProps:D,theirProps:u,slot:L,defaultTag:"div",name:"Listbox.Option"})}),ew=Object.assign(em,{Button:eb,Label:ey,Options:ex,Option:eE,SelectedOption:(0,q.FX)(function(e,t){let{options:n,placeholder:o,...i}=e,l={ref:(0,C.P)(t)},s=ef("ListboxSelectedOption"),a=(0,O._)({}),u=void 0===s.value||null===s.value||s.mode===et.Multi&&Array.isArray(s.value)&&0===s.value.length,c=(0,q.Ci)();return r.createElement(eh.Provider,{value:!0},c({ourProps:l,theirProps:{...i,children:r.createElement(r.Fragment,null,o&&u?o:n)},slot:a,defaultTag:eg,name:"ListboxSelectedOption"}))})})},3799:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(5834);function i(){let e=(0,o.useRef)(new Map),t=(0,o.useCallback)((t,n,o,i)=>{let r=(null==i?void 0:i.once)?(...t)=>{e.current.delete(o),o(...t)}:o;e.current.set(o,{type:n,eventTarget:t,fn:r,options:i}),t.addEventListener(n,r,i)},[]),n=(0,o.useCallback)((t,n,o,i)=>{var r;let l=(null==(r=e.current.get(o))?void 0:r.fn)||o;t.removeEventListener(n,l,i),e.current.delete(o)},[]),i=(0,o.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,o.useEffect)(()=>i,[i]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:i}}},3827:(e,t,n)=>{"use strict";n.d(t,{CL:()=>f,PC:()=>c});var o=n(5834),i=n(851),r=n(6613),l=n(3993),s=n(8919),a=n(2061);let u=(0,o.createContext)(null);function c(e){let[t,n]=(0,o.useState)(null);return o.createElement(u.Provider,{value:{target:t}},e.children,o.createElement(a.j,{features:a.u.Hidden,ref:n}))}function d({children:e}){let t=(0,o.useContext)(u);if(!t)return o.createElement(o.Fragment,null,e);let{target:n}=t;return n?(0,i.createPortal)(o.createElement(o.Fragment,null,e),n):null}function f({data:e,form:t,disabled:n,onReset:i,overrides:u}){let[c,f]=(0,o.useState)(null),h=(0,r.L)();return(0,o.useEffect)(()=>{if(i&&c)return h.addEventListener(c,"reset",i)},[c,t,i]),o.createElement(d,null,o.createElement(p,{setForm:f,formId:t}),(0,l.h)(e).map(([e,i])=>o.createElement(a.j,{features:a.u.Hidden,...(0,s.oE)({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:n,name:e,value:i,...u})})))}function p({setForm:e,formId:t}){return(0,o.useEffect)(()=>
1{if(t){let n=document.getElementById(t);n&&e(n)}},[e,t]),t?null:o.createElement(a.j,{features:a.u.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:t=>{if(!t)return;let n=t.closest("form");n&&e(n)}})}},3979:(e,t,n)=>{"use strict";n.d(t,{K:()=>i});var o=n(5834);function i(e){let[t]=(0,o.useState)(e);return t}},3993:(e,t,n)=>{"use strict";n.d(t,{h:()=>function e(t={},n=null,r=[]){for(let[l,s]of Object.entries(t))!function t(n,r,l){if(Array.isArray(l))for(let[e,o]of l.entries())t(n,i(r,e.toString()),o);else l instanceof Date?n.push([r,l.toISOString()]):"boolean"==typeof l?n.push([r,l?"1":"0"]):"string"==typeof l?n.push([r,l]):"number"==typeof l?n.push([r,`${l}`]):null==l?n.push([r,""]):function(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}(l)&&!(0,o.isValidElement)(l)&&e(l,r,n)}(r,i(n,l),s);return r},q:()=>r});var o=n(5834);function i(e,t){return e?e+"["+t+"]":t}function r(e){var t,n;let o=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(o){for(let t of o.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type))return void t.click();null==(n=o.requestSubmit)||n.call(o)}}},4168:(e,t,n)=>{"use strict";n.d(t,{L:()=>s});var o=n(5834),i=n(4170),r=n(2238);function l(e){if(null===e)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}function s(e,t,n=!1){let[a,u]=(0,o.useState)(()=>l(t));return(0,r.s)(()=>{if(!t||!e)return;let n=(0,i.e)();return n.requestAnimationFrame(function e(){n.requestAnimationFrame(e),u(e=>{let n=l(t);return n.width===e.width&&n.height===e.height?e:n})}),()=>{n.dispose()}},[t,e]),n?{width:`${a.width}px`,height:`${a.height}px`}:a}},4409:(e,t,n)=>{"use strict";n.d(t,{Fc:()=>i,JO:()=>r,nY:()=>l});var o=n(4170);let i={Idle:{kind:"Idle"},Tracked:e=>({kind:"Tracked",position:e}),Moved:{kind:"Moved"}};function r(e){let t=e.getBoundingClientRect();return`${t.x},${t.y}`}function l(e,t,n){let i=(0,o.e)();if("Tracked"===t.kind){let o=function(){l!==r(e)&&(i.dispose(),n())},{position:l}=t,s=new ResizeObserver(o);s.observe(e),i.add(()=>s.disconnect()),i.addEventListener(window,"scroll",o,{passive:!0}),i.addEventListener(window,"resize",o)}return()=>i.dispose()}},4619:(e,t,n)=>{"use strict";n.d(t,{G3:()=>g,St:()=>b,TI:()=>v,UF:()=>m,Xc:()=>h,zn:()=>p});var o=n(9506),i=n(6572),r=n(8717),l=n(5834),s=n(6613),a=n(7546),u=n(2238),c=n(1749);let d=(0,l.createContext)({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});d.displayName="FloatingContext";let f=(0,l.createContext)(null);function p(e){return(0,l.useMemo)(()=>e?"string"==typeof e?{to:e}:e:null,[e])}function h(){return(0,l.useContext)(d).setReference}function v(){return(0,l.useContext)(d).getReferenceProps}function g(){let{getFloatingProps:e,slot:t}=(0,l.useContext)(d);return(0,l.useCallback)((...n)=>Object.assign({},e(...n),{"data-anchor":t.anchor}),[e,t])}function m(e=null){!1===e&&(e=null),"string"==typeof e&&(e={to:e});let t=(0,l.useContext)(f),n=(0,l.useMemo)(()=>e,[JSON.stringify(e,(e,t)=>{var n;return null!=(n=null==t?void 0:t.outerHTML)?n:t})]);(0,u.s)(()=>{null==t||t(null!=n?n:null)},[t,n]);let o=(0,l.useContext)(d);return(0,l.useMemo)(()=>[o.setFloating,e?o.styles:{}],[o.setFloating,e,o.styles])}function b({children:e,enabled:t=!0}){var n,s,p,h,v,g;let m,b,x,[E,w]=(0,l.useState)(null),[S,O]=(0,l.useState)(0),C=(0,l.useRef)(null),[T,k]=(0,l.useState)(null);n=T,(0,u.s)(()=>{if(!n)return;let e=new MutationObserver(()=>{let e=window.getComputedStyle(n).maxHeight,t=parseFloat(e);if(isNaN(t))return;let o=parseInt(e);isNaN(o)||t!==o&&(n.style.maxHeight=`${Math.ceil(t)}px`)});return e.observe(n,{attributes:!0,attributeFilter:["style"]}),()=>{e.disconnect()}},[n]);let I=t&&null!==E&&null!==T,{to:P="bottom",gap:R=0,offset:M=0,padding:F=0,inner:L}=(s=E,p=T,m=y(null!=(h=null==s?void 0:s.gap)?h:"var(--anchor-gap, 0)",p),b=y(null!=(v=null==s?void 0:s.offset)?v:"var(--anchor-offset, 0)",p),x=y(null!=(g=null==s?void 0:s.padding)?g:"var(--anchor-padding, 0)",p),{...s,gap:m,offset:b,padding:x}),[D,A="center"]=P.split(" ");(0,u.s)(()=>{I&&O(0)},[I]);let{refs:_,floatingStyles:B,context:z}=(0,o.we)({open:I,placement:"selection"===D?"center"===A?"bottom":`bottom-${A}`:"center"===A?`${D}`:`${D}-${A}`,strategy:"absolute",transform:!1,middleware:[(0,i.cY)({mainAxis:"selection"===D?0:R,crossAxis:M}),(0,i.BN)({padding:F}),"selection"!==D&&(0,i.UU)({padding:F}),"selection"===D&&L?(0,o.vW)({...L,padding:F,overflowRef:C,offset:S,minItemsVisible:4,referenceOverflowThreshold:F,onFallbackChange(e){var t,n;if(!e)return;let o=z.elements.floating;if(!o)return;
1let i=parseFloat(getComputedStyle(o).scrollPaddingBottom)||0,r=Math.min(4,o.childElementCount),l=0,s=0;for(let e of null!=(n=null==(t=z.elements.floating)?void 0:t.childNodes)?n:[])if(c.sb(e)){let t=e.offsetTop,n=t+e.clientHeight+i,a=o.scrollTop,u=a+o.clientHeight;if(t>=a&&n<=u)r--;else{s=Math.max(0,Math.min(n,u)-Math.max(t,a)),l=e.clientHeight;break}}r>=1&&O(e=>{let t=l*r-s+i;return e>=t?e:t})}}):null,(0,i.Ej)({padding:F,apply({availableWidth:e,availableHeight:t,elements:n}){Object.assign(n.floating.style,{overflow:"auto",maxWidth:`${e}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${t}px)`})}})].filter(Boolean),whileElementsMounted:r.ll}),[N=D,j=A]=z.placement.split("-");"selection"===D&&(N="selection");let H=(0,l.useMemo)(()=>({anchor:[N,j].filter(Boolean).join(" ")}),[N,j]),W=(0,o.Zx)(z,{overflowRef:C,onChange:O}),{getReferenceProps:V,getFloatingProps:U}=(0,o.bv)([W]),q=(0,a._)(e=>{k(e),_.setFloating(e)});return l.createElement(f.Provider,{value:w},l.createElement(d.Provider,{value:{setFloating:q,setReference:_.setReference,styles:B,getReferenceProps:V,getFloatingProps:U,slot:H}},e))}function y(e,t,n){let o=(0,s.L)(),i=(0,a._)((e,t)=>{if(null==e)return[n,null];if("number"==typeof e)return[e,null];if("string"==typeof e){if(!t)return[n,null];let i=x(e,t);return[i,n=>{let r=function e(t){let n=/var\((.*)\)/.exec(t);if(n){let t=n[1].indexOf(",");if(-1===t)return[n[1]];let o=n[1].slice(0,t).trim(),i=n[1].slice(t+1).trim();return i?[o,...e(i)]:[o]}return[]}(e);{let l=r.map(e=>window.getComputedStyle(t).getPropertyValue(e));o.requestAnimationFrame(function s(){o.nextFrame(s);let a=!1;for(let[e,n]of r.entries()){let o=window.getComputedStyle(t).getPropertyValue(n);if(l[e]!==o){l[e]=o,a=!0;break}}if(!a)return;let u=x(e,t);i!==u&&(n(u),i=u)})}return o.dispose}]}return[n,null]}),r=(0,l.useMemo)(()=>i(e,t)[0],[e,t]),[c=r,d]=(0,l.useState)();return(0,u.s)(()=>{let[n,o]=i(e,t);if(d(n),o)return o(d)},[e,t]),c}function x(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let o=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),o}f.displayName="PlacementContext"},4643:(e,t,n)=>{"use strict";n.d(t,{tq:()=>i,zD:()=>r,_o:()=>l,i8:()=>s,J1:()=>a,iZ:()=>u});let o=function(e){let t=e.toLowerCase().replace(/[-_\s.]+(.)?/g,(e,t)=>t?t.toUpperCase():"");return t.substring(0,1).toLowerCase()+t.substring(1)};function i(e){if(!e.attribs.class)return"none";for(let t of e.attribs.class.split(" "))switch(t){case"alignleft":return"left";case"alignright":return"right";case"aligncenter":return"center";case"alignwide":return"wide";case"alignfull":return"full"}return"none"}function r(e){if(!e.attribs.class)return"none";for(let t of e.attribs.class.split(" "))if(t.startsWith("is-style-"))return t.substring(9);return"none"}function l(e){let t={textColorSlug:"",textColor:"",linkColorSlug:"",linkColor:"",gradientSlug:"",gradient:"",backgroundColorSlug:"",backgroundColor:""};if(!e.attribs.class)return t;let n=e.attribs.class.split(" "),o=void 0!==n.find(e=>"has-text-color"===e),i=void 0!==n.find(e=>"has-link-color"===e),r=void 0!==n.find(e=>"has-background"===e);for(let e of n)if(!["has-text-color","has-background","has-link-color"].includes(e)){if(r){let n=e.match(/has-(.*)-background-color/);n&&(t.backgroundColor=n?n[1]:"")}if(i){let n=e.match(/has-(.*)-link-color/);n&&(t.linkColor=n?n[1]:"")}if(o&&!e.endsWith("-background-color")&&!e.endsWith("-link-color")){let n=e.match(/has-(.*)-color/);n&&(t.textColor=n?n[1]:"")}}return t}function s(e){let t=e.attribs.style;if(!t)return!1;let n=t.split(";"),i={};return n.forEach(e=>{if(!e)return;let t=e.indexOf(":"),n=e.substring(0,t).trim(),r=e.substring(t).substring(1).trim();i[o(n)]=r}),i}function a(e){if(!e.attribs.class)return;let t=e.attribs.class.split(" ");if(void 0!==t.find(e=>"has-custom-width"===e))for(let e of t){let t=e.match(/.+__width-(\d+)$/);if(t)return t[1]}}function u(e){return Array.isArray(e)?e:[]}},5339:(e,t,n)=>{"use strict";n.d(t,{G3:()=>e_});var o=n(9028),i=n(8597),r=n(5834),l=n(851);function s(e,t,n){let o,i=n.initialDeps??[],r=!0;function l(){var l,s,a;let u,c;n.key&&(null==(l=n.debug)?void 0:l.call(n))&&(u=Date.now());let d=e();if(!(d.length!==i.length||d.some((e,t)=>i[t]!==e)))return o;if(i=d,n.key&&(null==(s=n.debug)?void 0:s.call(n))&&(c=Date.now()),o=t(...d),n.key&&(null==(a=n.debug)?void 0:a.call(n))){let e=Math.round((Date.now()-u)*100)/100,t=Math.round((Date.now()-c)*100)/100,o=t/16,i=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${i(t,5)} /${i(e,5)} ms`,`
2            font-size: .6rem;
3            font-weight: bold;
4            color: hsl(${Math.max(0,Math.min(120-120*o,120))}deg 100% 31%);`,null==n?void 0:n.key)}return(null==n?void 0:n.onChange)&&!(r&&n.skipInitialOnChange)&&n.onChange(o),r=!1,o}return l.updateDeps=e=>{i=e},l}function a(e,t){if(void 0!==e)return e;throw Error(`Unexpected undefined${t?`: ${t}`:""}`)}let u=e=>{let{offsetWidth:t,offsetHeight:n}=e;return{width:t,height:n}},c=e=>e,d=e=>{let t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),o=[];for(let e=t;e<=n;e++)o.push(e);return o},f=(e,t)=>{let n=e.scrollElement;if(!n)return;let o=e.targetWindow;if(!o)return;let i=e=>{let{width:n,height:o}=e;t({width:Math.round(n),height:Math.round(o)})};if(i(u(n)),!o.ResizeObserver)return()=>{};let r=new o.ResizeObserver(t=>{let o=()=>{let e=t[0];if(null==e?void 0:e.borderBoxSize){let t=e.borderBoxSize[0];if(t)return void i({width:t.inlineSize,height:t.blockSize})}i(u(n))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(o):o()});return r.observe(n,{box:"border-box"}),()=>{r.unobserve(n)}},p={passive:!0},h="undefined"==typeof window||"onscrollend"in window,v=(e,t)=>
4{let n=e.scrollElement;if(!n)return;let o=e.targetWindow;if(!o)return;let i=0,r=e.options.useScrollendEvent&&h?()=>void 0:((e,t,n)=>{let o;return function(...i){e.clearTimeout(o),o=e.setTimeout(()=>t.apply(this,i),n)}})(o,()=>{t(i,!1)},e.options.isScrollingResetDelay),l=o=>()=>{let{horizontal:l,isRtl:s}=e.options;i=l?n.scrollLeft*(s&&-1||1):n.scrollTop,r(),t(i,o)},s=l(!0),a=l(!1);n.addEventListener("scroll",s,p);let u=e.options.useScrollendEvent&&h;return u&&n.addEventListener("scrollend",a,p),()=>{n.removeEventListener("scroll",s),u&&n.removeEventListener("scrollend",a)}},g=(e,t,n)=>{if(null==t?void 0:t.borderBoxSize){let e=t.borderBoxSize[0];if(e)return Math.round(e[n.options.horizontal?"inlineSize":"blockSize"])}return e[n.options.horizontal?"offsetWidth":"offsetHeight"]},m=(e,{adjustments:t=0,behavior:n},o)=>{var i,r;null==(r=null==(i=o.scrollElement)?void 0:i.scrollTo)||r.call(i,{[o.options.horizontal?"left":"top"]:e+t,behavior:n})};class b{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.currentScrollToIndex=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.laneAssignments=new Map,this.pendingMeasuredCacheIndexes=[],this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null,t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver(e=>{e.forEach(e=>{let t=()=>{this._measureElement(e.target,e)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(t):t()})}):null);return{disconnect:()=>{var n;null==(n=t())||n.disconnect(),e=null},observe:e=>{var n;return null==(n=t())?void 0:n.observe(e,{box:"border-box"})},unobserve:e=>{var n;return null==(n=t())?void 0:n.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([t,n])=>{void 0===n&&delete e[t]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:c,rangeExtractor:d,onChange:()=>{},measureElement:g,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...e}},this.notify=e=>{var t,n;null==(n=(t=this.options).onChange)||n.call(t,this,e)},this.maybeNotify=s(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var e;let t=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==t){if(this.cleanup(),!t)return void this.maybeNotify();this.scrollElement=t,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(e=this.scrollElement)?void 0:e.window)??null,this.elementsCache.forEach(e=>{this.observer.observe(e)}),this.unsubs.push(this.options.observeElementRect(this,e=>{this.scrollRect=e,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()<e?"forward":"backward":null,this.scrollOffset=e,this.isScrolling=t,this.maybeNotify()})),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}}
4,this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,t)=>{let n=new Map,o=new Map;for(let i=t-1;i>=0;i--){let t=e[i];if(n.has(t.lane))continue;let r=o.get(t.lane);if(null==r||t.end>r.end?o.set(t.lane,t):t.end<r.end&&n.set(t.lane,!0),n.size===this.options.lanes)break}return o.size===this.options.lanes?Array.from(o.values()).sort((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end)[0]:void 0},this.getMeasurementOptions=s(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes],(e,t,n,o,i,r)=>(void 0!==this.prevLanes&&this.prevLanes!==r&&(this.lanesChangedFlag=!0),this.prevLanes=r,this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:n,getItemKey:o,enabled:i,lanes:r}),{key:!1}),this.getMeasurements=s(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:t,scrollMargin:n,getItemKey:o,enabled:i,lanes:r},l)=>{if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>e)for(let t of this.laneAssignments.keys())t>=e&&this.laneAssignments.delete(t);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMeasuredCacheIndexes=[]),0!==this.measurementsCache.length||this.lanesSettling||(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(e=>{this.itemSizeCache.set(e.key,e.size)}));let s=this.lanesSettling?0:this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[],this.lanesSettling&&this.measurementsCache.length===e&&(this.lanesSettling=!1);let a=this.measurementsCache.slice(0,s),u=Array(r).fill(void 0);for(let e=0;e<s;e++){let t=a[e];t&&(u[t.lane]=e)}for(let i=s;i<e;i++){let e,r,s=o(i),c=this.laneAssignments.get(i);if(void 0!==c&&this.options.lanes>1){let o=u[e=c],i=void 0!==o?a[o]:void 0;r=i?i.end+this.options.gap:t+n}else{let o=1===this.options.lanes?a[i-1]:this.getFurthestMeasurement(a,i);r=o?o.end+this.options.gap:t+n,e=o?o.lane:i%this.options.lanes,this.options.lanes>1&&this.laneAssignments.set(i,e)}let d=l.get(s),f="number"==typeof d?d:this.options.estimateSize(i),p=r+f;a[i]={index:i,start:r,size:f,end:p,key:s,lane:e},u[e]=i}return this.measurementsCache=a,a},{key:!1,debug:()=>this.options.debug}),this.calculateRange=s(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(e,t,n,o)=>this.range=e.length>0&&t>0?function({measurements:e,outerSize:t,scrollOffset:n,lanes:o}){let i=e.length-1;if(e.length<=o)return{startIndex:0,endIndex:i};let r=y(0,i,t=>e[t].start,n),l=r;if(1===o)for(;l<i&&e[l].end<n+t;)l++;else if(o>1){let s=Array(o).fill(0);for(;l<i&&s.some(e=>e<n+t);){let t=e[l];s[t.lane]=t.end,l++}let a=Array(o).fill(n+t);for(;r>=0&&a.some(e=>e>=n);){let t=e[r];a[t.lane]=t.start,r--}r=Math.max(0,r-r%o),l=Math.min(i,l+(o-1-l%o))}return{startIndex:r,endIndex:l}}({measurements:e,outerSize:t,scrollOffset:n,lanes:o}):null,{key:!1,debug:()=>this.options.debug}
4),this.getVirtualIndexes=s(()=>{let e=null,t=null,n=this.calculateRange();return n&&(e=n.startIndex,t=n.endIndex),this.maybeNotify.updateDeps([this.isScrolling,e,t]),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,t]},(e,t,n,o,i)=>null===o||null===i?[]:e({startIndex:o,endIndex:i,overscan:t,count:n}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let t=this.options.indexAttribute,n=e.getAttribute(t);return n?parseInt(n,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this._measureElement=(e,t)=>{let n=this.indexFromElement(e),o=this.measurementsCache[n];if(!o)return;let i=o.key,r=this.elementsCache.get(i);r!==e&&(r&&this.observer.unobserve(r),this.observer.observe(e),this.elementsCache.set(i,e)),e.isConnected&&this.resizeItem(n,this.options.measureElement(e,t,this))},this.resizeItem=(e,t)=>{let n=this.measurementsCache[e];if(!n)return;let o=t-(this.itemSizeCache.get(n.key)??n.size);0!==o&&((void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(n,o,this):n.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=o,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(n.index),this.itemSizeCache=new Map(this.itemSizeCache.set(n.key,t)),this.notify(!1))},this.measureElement=e=>{if(!e)return void this.elementsCache.forEach((e,t)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(t))});this._measureElement(e,void 0)},this.getVirtualItems=s(()=>
4[this.getVirtualIndexes(),this.getMeasurements()],(e,t)=>{let n=[];for(let o=0,i=e.length;o<i;o++){let i=t[e[o]];n.push(i)}return n},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let t=this.getMeasurements();if(0!==t.length)return a(t[y(0,t.length-1,e=>a(t[e]).start,e)])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if("scrollHeight"in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{let e=this.scrollElement.document.documentElement;return this.options.horizontal?e.scrollWidth-this.scrollElement.innerWidth:e.scrollHeight-this.scrollElement.innerHeight}},this.getOffsetForAlignment=(e,t,n=0)=>{if(!this.scrollElement)return 0;let o=this.getSize(),i=this.getScrollOffset();return"auto"===t&&(t=e>=i+o?"end":"start"),"center"===t?e+=(n-o)/2:"end"===t&&(e-=o),Math.max(Math.min(this.getMaxScrollOffset(),e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));let n=this.measurementsCache[e];if(!n)return;let o=this.getSize(),i=this.getScrollOffset();if("auto"===t)if(n.end>=i+o-this.options.scrollPaddingEnd)t="end";else{if(!(n.start<=i+this.options.scrollPaddingStart))return[i,t];t="start"}if("end"===t&&e===this.options.count-1)return[this.getMaxScrollOffset(),t];let r="end"===t?n.end+this.options.scrollPaddingEnd:n.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(r,t,n.size),t]},this.isDynamicMode=()=>this.elementsCache.size>0,this.scrollToOffset=(e,{align:t="start",behavior:n}={})=>{"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,t),{adjustments:void 0,behavior:n})},this.scrollToIndex=(e,{align:t="auto",behavior:n}={})=>{"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),e=Math.max(0,Math.min(e,this.options.count-1)),this.currentScrollToIndex=e;let o=0,i=t=>{if(!this.targetWindow)return;let o=this.getOffsetForIndex(e,t);if(!o)return void console.warn("Failed to get offset for index:",e);let[i,l]=o;this._scrollToOffset(i,{adjustments:void 0,behavior:n}),this.targetWindow.requestAnimationFrame(()=>{if(!this.targetWindow)return;let t=()=>{if(this.currentScrollToIndex!==e)return;let t=this.getScrollOffset(),n=this.getOffsetForIndex(e,l);if(!n)return void console.warn("Failed to get offset for index:",e);1.01>Math.abs(n[0]-t)||r(l)};this.isDynamicMode()?this.targetWindow.requestAnimationFrame(t):t()})},r=t=>{this.targetWindow&&this.currentScrollToIndex===e&&(++o<10?this.targetWindow.requestAnimationFrame(()=>i(t)):console.warn(`Failed to scroll to index ${e} after 10 attempts.`))};i(t)},this.scrollBy=(e,{behavior:t}={})=>{"smooth"===t&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adju
4stments:void 0,behavior:t})},this.getTotalSize=()=>{var e;let t,n=this.getMeasurements();if(0===n.length)t=this.options.paddingStart;else if(1===this.options.lanes)t=(null==(e=n[n.length-1])?void 0:e.end)??0;else{let e=Array(this.options.lanes).fill(null),o=n.length-1;for(;o>=0&&e.some(e=>null===e);){let t=n[o];null===e[t.lane]&&(e[t.lane]=t.end),o--}t=Math.max(...e.filter(e=>null!==e))}return Math.max(t-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:t,behavior:n})=>{this.options.scrollToFn(e,{behavior:n,adjustments:t},this)},this.measure=()=>{this.itemSizeCache=new Map,this.laneAssignments=new Map,this.notify(!1)},this.setOptions(e)}}let y=(e,t,n,o)=>{for(;e<=t;){let i=(e+t)/2|0,r=n(i);if(r<o)e=i+1;else{if(!(r>o))return i;t=i-1}}return e>0?e-1:0},x="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;var E=n(5518),w=n(8214),S=n(2577),O=n(3979),C=n(6613),T=n(4168),k=n(7546),I=n(5516),P=n(8602),R=n(2238),M=n(9549),F=n(2683),L=n(3344),D=n(7337),A=n(9065),_=n(1749),B=n(2766),z=n(865);function N(e){let t=(0,r.useRef)({value:"",selectionStart:null,selectionEnd:null});return(0,z.M)(e,"blur",e=>{let n=e.target;_.A3(n)&&(t.current={value:n.value,selectionStart:n.selectionStart,selectionEnd:n.selectionEnd})}),(0,k._)(()=>{if(!(0,B.X7)(e)&&_.A3(e)&&e.isConnected){if(e.focus({preventScroll:!0}),e.value!==t.current.value)e.setSelectionRange(e.value.length,e.value.length);else{let{selectionStart:n,selectionEnd:o}=t.current;null!==n&&null!==o&&e.setSelectionRange(n,o)}t.current={value:"",selectionStart:null,selectionEnd:null}}})}var j=n(9364),H=n(4080),W=n(7478),V=n(962),U=n(5808),q=n(2386),$=n(6925),Y=n(4349),J=n(4619),K=n(3827),G=n(2911),X=n(400),Z=n(6180),Q=n(9340),ee=n(9470),et=n(1801),en=n(7007),eo=n(4170),ei=n(9032),er=n(6820),el=n(8919),es=n(8689),ea=n(1099),eu=n(9577),ec=n(2169),ed=n(6647),ef=n(4190),ep=n(4409),eh=n(715),ev=Object.defineProperty,eg=(e,t,n)=>(((e,t,n)=>t in e?ev(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),n),em=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(em||{}),eb=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(eb||{}),ey=(e=>(e[e.Pointer=0]="Pointer",e[e.Focus=1]="Focus",e[e.Other=2]="Other",e))(ey||{}),ex=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.SetTyping=3]="SetTyping",e[e.RegisterOption=4]="RegisterOption",e[e.UnregisterOption=5]="UnregisterOption",e[e.DefaultToFirstOption=6]="DefaultToFirstOption",e[e.SetActivationTrigger=7]="SetActivationTrigger",e[e.UpdateVirtualConfiguration=8]="UpdateVirtualConfiguration",e[e.SetInputElement=9]="SetInputElement",e[e.SetButtonElement=10]="SetButtonElement",e[e.SetOptionsElement=11]="SetOptionsElement",e[e.MarkInputAsMoved=12]="MarkInputAsMoved",e))(ex||{});function eE(e,t=e=>e){let n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,o=t(e.options.slice()),i=o.length>0&&null!==o[0].dataRef.current.order?o.sort((e,t)=>e.dataRef.current.order-t.dataRef.current.order):(0,eh.wl)(o,e=>e.dataRef.current.domRef.current),r=n?i.indexOf(n):null;return -1===r&&(r=null),{options:i,activeOptionIndex:r}}let ew={1(e){var t;if(null!=(t=e.dataRef.current)&&t.disabled||1===e.comboboxState)return e;let n=e.inputElement?ep.Fc.Tracked((0,ep.JO)(e.inputElement)):e.inputPositionState;return{...e,activeOptionIndex:null,comboboxState:1,isTyping:!1,activationTrigger:2,inputPositionState:n,__demoMode:!1}},0(e){var t,n;if(null!=(t=e.dataRef.current)&&t.disabled||0===e.comboboxState)return e;if(null!=(n=e.dataRef.current)&&n.value){let t=e.dataRef.current.calculateIndex(e.dataRef.current.value);if(-1!==t)return{...e,activeOptionIndex:t,comboboxState:0,__demoMode:!1,inputPositionState:ep.Fc.Idle}}return{...e,comboboxState:0,inputPositionState:ep.Fc.Idle,__demoMode:!1}},3:(e,t)=>e.isTyping===t.isTyping?e:{...e,isTyping:t.isTyping},2(e,t){var n,o,i,r;if(null!=(n=e.dataRef.current)&&n.disabled||e.optionsElement&&!(null!=(o=e.dataRef.current)&&o.optionsPropsRef.current.static)&&1===e.comboboxState)return e;if(e.virtual){let{options:n,disabled:o}=e.virtual,r=t.focus===en.B.Specific?t.idx:(0,en.X)(t,{resolveItems:()=>n,resolveActiveIndex:()=>{var t,i;
4return null!=(i=null!=(t=e.activeOptionIndex)?t:n.findIndex(e=>!o(e)))?i:null},resolveDisabled:o,resolveId(){throw Error("Function not implemented.")}}),l=null!=(i=t.trigger)?i:2;return e.activeOptionIndex===r&&e.activationTrigger===l?e:{...e,activeOptionIndex:r,activationTrigger:l,isTyping:!1,__demoMode:!1}}let l=eE(e);if(null===l.activeOptionIndex){let e=l.options.findIndex(e=>!e.dataRef.current.disabled);-1!==e&&(l.activeOptionIndex=e)}let s=t.focus===en.B.Specific?t.idx:(0,en.X)(t,{resolveItems:()=>l.options,resolveActiveIndex:()=>l.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled}),a=null!=(r=t.trigger)?r:2;return e.activeOptionIndex===s&&e.activationTrigger===a?e:{...e,...l,isTyping:!1,activeOptionIndex:s,activationTrigger:a,__demoMode:!1}},4:(e,t)=>{var n,o,i,r;if(null!=(n=e.dataRef.current)&&n.virtual)return{...e,options:[...e.options,t.payload]};let l=t.payload,s=eE(e,e=>(e.push(l),e));null===e.activeOptionIndex&&null!=(i=(o=e.dataRef.current).isSelected)&&i.call(o,t.payload.dataRef.current.value)&&(s.activeOptionIndex=s.options.indexOf(l));let a={...e,...s,activationTrigger:2};return null!=(r=e.dataRef.current)&&r.__demoMode&&void 0===e.dataRef.current.value&&(a.activeOptionIndex=0),a},5:(e,t)=>{var n;if(null!=(n=e.dataRef.current)&&n.virtual)return{...e,options:e.options.filter(e=>e.id!==t.id)};let o=eE(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...o,activationTrigger:2}},6:(e,t)=>e.defaultToFirstOption===t.value?e:{...e,defaultToFirstOption:t.value},7:(e,t)=>e.activationTrigger===t.trigger?e:{...e,activationTrigger:t.trigger},8:(e,t)=>
4{var n,o;if(null===e.virtual)return{...e,virtual:{options:t.options,disabled:null!=(n=t.disabled)?n:()=>!1}};if(e.virtual.options===t.options&&e.virtual.disabled===t.disabled)return e;let i=e.activeOptionIndex;if(null!==e.activeOptionIndex){let n=t.options.indexOf(e.virtual.options[e.activeOptionIndex]);i=-1!==n?n:null}return{...e,activeOptionIndex:i,virtual:{options:t.options,disabled:null!=(o=t.disabled)?o:()=>!1}}},9:(e,t)=>e.inputElement===t.element?e:{...e,inputElement:t.element},10:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},11:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element},12:e=>"Tracked"!==e.inputPositionState.kind?e:{...e,inputPositionState:ep.Fc.Moved}};class eS extends ef.u5{constructor(e){super(e),eg(this,"actions",{onChange:e=>{let{onChange:t,compare:n,mode:o,value:i}=this.state.dataRef.current;return(0,ei.Y)(o,{0:()=>null==t?void 0:t(e),1:()=>{let o=i.slice(),r=o.findIndex(t=>n(t,e));return -1===r?o.push(e):o.splice(r,1),null==t?void 0:t(o)}})},registerOption:(e,t)=>(this.send({type:4,payload:{id:e,dataRef:t}}),()=>{this.state.activeOptionIndex===this.state.dataRef.current.calculateIndex(t.current.value)&&this.send({type:6,value:!0}),this.send({type:5,id:e})}),goToOption:(e,t)=>(this.send({type:6,value:!1}),this.send({type:2,...e,trigger:t})),setIsTyping:e=>{this.send({type:3,isTyping:e})},closeCombobox:()=>{var e,t;this.send({type:1}),this.send({type:6,value:!1}),null==(t=(e=this.state.dataRef.current).onClose)||t.call(e)},openCombobox:()=>{this.send({type:0}),this.send({type:6,value:!0})},setActivationTrigger:e=>{this.send({type:7,trigger:e})},selectActiveOption:()=>{let e=this.selectors.activeOptionIndex(this.state);if(null!==e){if(this.actions.setIsTyping(!1),this.state.virtual)this.actions.onChange(this.state.virtual.options[e]);else{let{dataRef:t}=this.state.options[e];this.actions.onChange(t.current.value)}this.actions.goToOption({focus:en.B.Specific,idx:e})}},setInputElement:e=>{this.send({type:9,element:e})},setButtonElement:e=>{this.send({type:10,element:e})},setOptionsElement:e=>{this.send({type:11,element:e})}}),eg(this,"selectors",{activeDescendantId:e=>{var t,n;let o=this.selectors.activeOptionIndex(e);if(null!==o)return e.virtual?null==(n=e.options.find(t=>!t.dataRef.current.disabled&&e.dataRef.current.compare(t.dataRef.current.value,e.virtual.options[o])))?void 0:n.id:null==(t=e.options[o])?void 0:t.id},activeOptionIndex:e=>{if(e.defaultToFirstOption&&null===e.activeOptionIndex&&(e.virtual?e.virtual.options.length>0:e.options.length>0)){if(e.virtual){let{options:t,disabled:n}=e.virtual,o=t.findIndex(e=>{var t;return!(null!=(t=null==n?void 0:n(e))&&t)});if(-1!==o)return o}let t=e.options.findIndex(e=>!e.dataRef.current.disabled);if(-1!==t)return t}return e.activeOptionIndex},activeOption:e=>{var t,n;let o=this.selectors.activeOptionIndex(e);return null===o?null:e.virtual?e.virtual.options[null!=o?o:0]:null!=(n=null==(t=e.options[o])?void 0:t.dataRef.current.value)?n:null},isActive:(e,t,n)=>{var o;let i=this.selectors.activeOptionIndex(e);return null!==i&&(e.virtual?i===e.dataRef.current.calculateIndex(t):(null==(o=e.options[i])?void 0:o.id)===n)},shouldScrollIntoView:(e,t,n)=>!(e.virtual||e.__demoMode||0!==e.comboboxState||0===e.activationTrigger||!this.selectors.isActive(e,t,n)),didInputMove:e=>"Moved"===e.inputPositionState.kind});{let e=this.state.id,t=Q.D.get(null);this.disposables.add(t.on(Q.Q.Push,n=>{t.selectors.isTop(n,e)||0!==this.state.comboboxState||this.actions.closeCombobox()})),this.on(0,()=>t.actions.push(e)),this.on(1,()=>t.actions.pop(e))}this.disposables.group(e=>{this.on(1,t=>{t.inputElement&&(e.dispose(),e.add((0,ep.nY)(t.inputElement,t.inputPositionState,()=>{this.send({type:12})})))})})}static new({id:e,virtual:t=null,__demoMode:n=!1}){var o;return new eS({id:e,dataRef:{current:{}},comboboxState:+!n,isTyping:!1,options:[],virtual:t?{options:t.options,disabled:null!=(o=t.disabled)?o:()=>!1}:null,activeOptionIndex:null,activationTrigger:2,inputElement:null,buttonElement:null,optionsElement:null,__demoMode:n,inputPositionState:ep.Fc.Idle})}reduce(e,t){return(0,ei.Y)(t.type,ew,e,t)}}var eO=n(5914);let eC=(0,r.createContext)(null);function eT(e){let t=(0,r.useContext)(eC);if(null===t){let t=Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ek),t}return t}function ek({id:e,virtual:t=null,__demoMode:n=!1}){let o=(0,r.useMemo)(()=>eS.new({id:e,virtual:t,__demoMode:n}),[]);return(0,eO.X)(()=>o.dispose()),o}let eI=(0,r.createContext)(null);function eP(e){let t=(0,r.useContext)(eI);if(null===t){let t=Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,eP),t}return t}eI.displayName="ComboboxDataContext";let eR=(0,r.createContext)(null);function eM(e){let t=eT("VirtualProvider"),{options:n}=eP("VirtualProvider").virtual,o=(0,ee.y)(t,e=>e.optionsElement),[i,s]=(0,r.useMemo)(()=>
4{if(!o)return[0,0];let e=window.getComputedStyle(o);return[parseFloat(e.paddingBlockStart||e.paddingTop),parseFloat(e.paddingBlockEnd||e.paddingBottom)]},[o]),a=function({useFlushSync:e=!0,...t}){let n=r.useReducer(()=>({}),{})[1],o={...t,onChange:(o,i)=>{var r;e&&i?(0,l.flushSync)(n):n(),null==(r=t.onChange)||r.call(t,o,i)}},[i]=r.useState(()=>new b(o));return i.setOptions(o),x(()=>i._didMount(),[]),x(()=>i._willUpdate()),i}({observeElementRect:f,observeElementOffset:v,scrollToFn:m,...{enabled:0!==n.length,scrollPaddingStart:i,scrollPaddingEnd:s,count:n.length,estimateSize:()=>40,getScrollElement:()=>t.state.optionsElement,overscan:12}}),[u,c]=(0,r.useState)(0);(0,R.s)(()=>{c(e=>e+1)},[n]);let d=a.getVirtualItems(),p=(0,ee.y)(t,e=>e.activationTrigger===ey.Pointer),h=(0,ee.y)(t,t.selectors.activeOptionIndex);return 0===d.length?null:r.createElement(eR.Provider,{value:a},r.createElement("div",{style:{position:"relative",width:"100%",height:`${a.getTotalSize()}px`},ref:e=>{e&&(p||null!==h&&n.length>h&&a.scrollToIndex(h))}},d.map(t=>{var o;return r.createElement(r.Fragment,{key:t.key},r.cloneElement(null==(o=e.children)?void 0:o.call(e,{...e.slot,option:n[t.index]}),{key:`${u}-${t.key}`,"data-index":t.index,"aria-setsize":n.length,"aria-posinset":t.index+1,style:{position:"absolute",top:0,left:0,transform:`translateY(${t.start}px)`,overflowAnchor:"none"}}))})))}let eF=r.Fragment,eL=el.Ac.RenderStrategy|el.Ac.Static,eD=(0,el.FX)(function(e,t){let n=(0,r.useId)(),o=(0,Y._)(),{value:i,defaultValue:l,onChange:s,form:a,name:u,by:c,invalid:d=!1,disabled:f=o||!1,onClose:p,__demoMode:h=!1,multiple:v=!1,immediate:g=!1,virtual:m=null,nullable:b,...y}=e,x=(0,O.K)(l),[E=v?[]:void 0,C]=(0,S.P)(i,s,x),T=ek({id:n,virtual:m,__demoMode:h}),I=(0,r.useRef)({static:!1,hold:!1}),P=(0,w.t)(c),M=(0,k._)(e=>m?null===c?m.options.indexOf(e):m.options.findIndex(t=>P(t,e)):T.state.options.findIndex(t=>P(t.dataRef.current.value,e))),F=(0,r.useCallback)(e=>(0,ei.Y)(_.mode,{[eb.Multi]:()=>E.some(t=>P(t,e)),[eb.Single]:()=>P(E,e)}),[E]),D=(0,ee.y)(T,e=>e.virtual),A=(0,k._)(()=>null==p?void 0:p()),_=(0,r.useMemo)(()=>({__demoMode:h,immediate:g,optionsPropsRef:I,value:E,defaultValue:x,disabled:f,invalid:d,mode:v?eb.Multi:eb.Single,virtual:m?D:null,onChange:C,isSelected:F,calculateIndex:M,compare:P,onClose:A}),[h,g,I,E,x,f,d,v,m,D,C,F,M,P,A]);(0,R.s)(()=>{var e;m&&T.send({type:ex.UpdateVirtualConfiguration,options:m.options,disabled:null!=(e=m.disabled)?e:null})},[m,null==m?void 0:m.options,null==m?void 0:m.disabled]),(0,R.s)(()=>{T.state.dataRef.current=_},[_]);let[B,z,N,j]=(0,ee.y)(T,e=>[e.comboboxState,e.buttonElement,e.inputElement,e.optionsElement]),H=Q.D.get(null),V=(0,ee.y)(H,(0,r.useCallback)(e=>H.selectors.isTop(e,n),[H,n]));(0,L.j)(V,[z,N,j],()=>T.actions.closeCombobox());let U=(0,ee.y)(T,T.selectors.activeOptionIndex),q=(0,ee.y)(T,T.selectors.activeOption),$=(0,W._)({open:B===em.Open,disabled:f,invalid:d,activeIndex:U,activeOption:q,value:E}),[G,X]=(0,eu.b0)(),et=(0,r.useCallback)(()=>{if(void 0!==x)return null==C?void 0:C(x)},[C,x]),en=(0,el.Ci)();return r.createElement(X,{value:G,props:{htmlFor:null==N?void 0:N.id},slot:{open:B===em.Open,disabled:f}},r.createElement(J.St,null,r.createElement(eI.Provider,{value:_},r.createElement(eC.Provider,{value:T},r.createElement(Z.El,{value:(0,ei.Y)(B,{[em.Open]:Z.Uw.Open,[em.Closed]:Z.Uw.Closed})},null!=u&&r.createElement(K.CL,{disabled:f,data:null!=E?{[u]:E}:{},form:a,onReset:et}),en({ourProps:null===t?{}:{ref:t},theirProps:y,slot:$,defaultTag:eF,name:"Combobox"}))))))}),eA=(0,el.FX)(function(e,t){let n=eT("Combobox.Button"),s=eP("Combobox.Button"),[a,u]=(0,r.useState)(null),c=(0,V.P)(t,u,n.actions.setButtonElement),d=(0,r.useId)(),{id:f=`headlessui-combobox-button-${d}`,disabled:p=s.disabled||!1,autoFocus:h=!1,...v}=e,[g,m,b]=(0,ee.y)(n,e=>[e.comboboxState,e.inputElement,e.optionsElement]),y=N(m),x=g===em.Open;(0,A.s)(x,{trigger:a,action:(0,r.useCallback)(e=>{if(null!=a&&a.contains(e.target)||null!=m&&m.contains(e.target))return A.r.Ignore;let t=e.target.closest('[role="option"]:not([data-disabled])');return _.sb(t)?A.r.Select(t):null!=b&&b.contains(e.target)?A.r.Ignore:A.r.Close},[a,m,b]),close:n.actions.closeCombobox,select:n.actions.selectActiveOption});let w=(0,k._)(e=>{switch(e.key){case ea.D.Space:case ea.D.Enter:e.preventDefault(),e.stopPropagation(),n.state.comboboxState===em.Closed&&(0,l.flushSync)(()=>n.actions.openCombobox()),y();return;case ea.D.ArrowDown:e.preventDefault(),e.stopPropagation(),n.state.comboboxState===em.Closed&&((0,l.flushSync)(()=>n.actions.openCombobox()),n.state.dataRef.current.value||n.actions.goToOption({focus:en.B.First})),y();return;case ea.D.ArrowUp:e.preventDefault(),e.stopPropagation(),n.state.comboboxState===em.Closed&&((0,l.flushSync)(()=>n.actions.openCombobox()),n.state.dataRef.current.value||n.actions.goToOption({focus:en.B.Last})),y();return;case ea.D.Escape:if(n.state.comboboxState!==em.Open)return;e.preventDefault(),n.state.optionsElement&&!s.optionsPropsRef.current.static&&e.stopPropagation(),(0,l.flushSync)(()=>n.actions.closeCombobox()),y();return;default:return}}),S=(0,I.O)(()=>{n.state.comboboxState===em.Open?n.actions.closeCombobox():n.actions.openCombobox(),y()}),O=(0,eu.o2)([f]),{isFocusVisible:C,focusProps:T}=(0,o.o)({autoFocus:h}),{isHovered:P,hoverProps:R}=(0,i.M)({isDisabled:p}),{pressed:M,pressProps:F}=(0,E.Z)({disabled:p}),L=(0,W._)({open:g===em.Open,active:M||g===em.Open,disabled:p,invalid:s.invalid,value:s.value,hover:P,focus:C}),D=(0,el.v6)({ref:c,id:f,type:(0,j.c)(e,a),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":null==b?void 0:b.id,"aria-expanded":g===em.Open,"aria-labelledby":O,disabled:p||void 0,autoFocus:h,onKeyDown:w},S,T,R,F);return(0,el.Ci)()({ourProps:D,theirProps:v,slot:L,defaultTag:"button",name:"Combobox.Button"})}),e_=Object.assign(eD,{Input:(0,el.FX)(function(e,t){var n,s;let a=eT("Combobox.Input"),u=eP("Combobox.Input"),c=(0,r.useId)(),d=(0,X.q)(),{id:f=d||`headlessui-combobox-input-${c}
4`,onChange:p,displayValue:h,disabled:v=u.disabled||!1,autoFocus:g=!1,type:m="text",...b}=e,y=(0,r.useRef)(null),x=(0,V.P)(y,t,(0,J.Xc)(),a.actions.setInputElement),[E,w]=(0,ee.y)(a,e=>[e.comboboxState,e.isTyping]),S=(0,C.L)(),O=(0,k._)(()=>{a.actions.onChange(null),a.state.optionsElement&&(a.state.optionsElement.scrollTop=0),a.actions.goToOption({focus:en.B.Nothing})}),T=(0,r.useMemo)(()=>{var e;return"function"==typeof h&&void 0!==u.value?null!=(e=h(u.value))?e:"":"string"==typeof u.value?u.value:""},[u.value,h]);(0,$.F)(([e,t],[n,o])=>{if(a.state.isTyping)return;let i=y.current;i&&((o===em.Open&&t===em.Closed||e!==n)&&(i.value=e),requestAnimationFrame(()=>{if(a.state.isTyping||!i||(0,B.X7)(i))return;let{selectionStart:e,selectionEnd:t}=i;0===Math.abs((null!=t?t:0)-(null!=e?e:0))&&0===e&&i.setSelectionRange(i.value.length,i.value.length)}))},[T,E,w]),(0,$.F)(([e],[t])=>{if(e===em.Open&&t===em.Closed){if(a.state.isTyping)return;let e=y.current;if(!e)return;let t=e.value,{selectionStart:n,selectionEnd:o,selectionDirection:i}=e;e.value="",e.value=t,null!==i?e.setSelectionRange(n,o,i):e.setSelectionRange(n,o)}},[E]);let I=(0,r.useRef)(!1),P=(0,k._)(()=>{I.current=!0}),R=(0,k._)(()=>{S.nextFrame(()=>{I.current=!1})}),M=(0,k._)(e=>{switch(a.actions.setIsTyping(!0),e.key){case ea.D.Enter:if(a.state.comboboxState!==em.Open||I.current)return;if(e.preventDefault(),e.stopPropagation(),null===a.selectors.activeOptionIndex(a.state))return void a.actions.closeCombobox();a.actions.selectActiveOption(),u.mode===eb.Single&&a.actions.closeCombobox();break;case ea.D.ArrowDown:return e.preventDefault(),e.stopPropagation(),(0,ei.Y)(a.state.comboboxState,{[em.Open]:()=>a.actions.goToOption({focus:en.B.Next}),[em.Closed]:()=>a.actions.openCombobox()});case ea.D.ArrowUp:return e.preventDefault(),e.stopPropagation(),(0,ei.Y)(a.state.comboboxState,{[em.Open]:()=>a.actions.goToOption({focus:en.B.Previous}),[em.Closed]:()=>{(0,l.flushSync)(()=>a.actions.openCombobox()),u.value||a.actions.goToOption({focus:en.B.Last})}});case ea.D.Home:if(a.state.comboboxState===em.Closed||e.shiftKey)break;return e.preventDefault(),e.stopPropagation(),a.actions.goToOption({focus:en.B.First});case ea.D.PageUp:return e.preventDefault(),e.stopPropagation(),a.actions.goToOption({focus:en.B.First});case ea.D.End:if(a.state.comboboxState===em.Closed||e.shiftKey)break;return e.preventDefault(),e.stopPropagation(),a.actions.goToOption({focus:en.B.Last});case ea.D.PageDown:return e.preventDefault(),e.stopPropagation(),a.actions.goToOption({focus:en.B.Last});case ea.D.Escape:return a.state.comboboxState!==em.Open?void 0:(e.preventDefault(),a.state.optionsElement&&!u.optionsPropsRef.current.static&&e.stopPropagation(),u.mode===eb.Single&&null===u.value&&O(),a.actions.closeCombobox());case ea.D.Tab:if(a.actions.setIsTyping(!1),a.state.comboboxState!==em.Open)return;u.mode===eb.Single&&a.state.activationTrigger!==ey.Focus&&a.actions.selectActiveOption(),a.actions.closeCombobox()}}),F=(0,k._)(e=>{null==p||p(e),u.mode===eb.Single&&""===e.target.value&&O(),a.actions.openCombobox()}),L=(0,k._)(e=>{var t,n,o;let i=null!=(t=e.relatedTarget)?t:et.b.find(t=>t!==e.currentTarget);if(!(null!=(n=a.state.optionsElement)&&n.contains(i))&&!(null!=(o=a.state.buttonElement)&&o.contains(i))&&a.state.comboboxState===em.Open)return e.preventDefault(),u.mode===eb.Single&&null===u.value&&O(),a.actions.closeCombobox()}),D=(0,k._)(e=>{var t,n,o;let i=null!=(t=e.relatedTarget)?t:et.b.find(t=>t!==e.currentTarget);null!=(n=a.state.buttonElement)&&n.contains(i)||null!=(o=a.state.optionsElement)&&o.contains(i)||u.disabled||u.immediate&&a.state.comboboxState!==em.Open&&S.microTask(()=>{(0,l.flushSync)(()=>a.actions.openCombobox()),a.actions.setActivationTrigger(ey.Focus)})}),A=(0,eu.o2)(),_=(0,es.MM)(),{isFocused:z,focusProps:N}=(0,o.o)({autoFocus:g}),{isHovered:j,hoverProps:H}=(0,i.M)({isDisabled:v}),U=(0,ee.y)(a,e=>e.optionsElement),q=(0,W._)({open:E===em.Open,disabled:v,invalid:u.invalid,hover:j,focus:z,autofocus:g}),Y=(0,el.v6)({ref:x,id:f,role:"combobox",type:m,"aria-controls":null==U?void 0:U.id,"aria-expanded":E===em.Open,"aria-activedescendant":(0,ee.y)(a,a.selectors.activeDescendantId),"aria-labelledby":A,"aria-describedby":_,"aria-autocomplete":"list",defaultValue:null!=(s=null!=(n=e.defaultValue)?n:void 0!==u.defaultValue?null==h?void 0:h(u.defaultValue):null)?s:u.defaultValue,disabled:v||void 0,autoFocus:g,onCompositionStart:P,onCompositionEnd:R,onKeyDown:M,onChange:F,onFocus:D,onBlur:L},N,H);return(0,el.Ci)()({ourProps:Y,theirProps:b,slot:q,defaultTag:"input",name:"Combobox.Input"})}),Button:eA,Label:eu.JU,Options:(0,el.FX)(function(e,t){var n,o,i;let l=(0,r.useId)(),{id:s=`headlessui-combobox-options-${l}`,hold:a=!1,anchor:u,portal:c=!1,modal:d=!0,transition:f=!1,...p}=e,h=eT("Combobox.Options"),v=eP("Combobox.Options"),g=(0,J.zn)(u);g&&(c=!0);let[m,b]=(0,J.UF)(g),[y,x]=(0,r.useState)(null),E=(0,J.G3)(),w=(0,V.P)(t,g?m:null,h.actions.setOptionsElement,x),[S,O,C,I,M]=(0,ee.y)(h,e=>[e.comboboxState,e.inputElement,e.buttonElement,e.optionsElement,e.activationTrigger]),L=(0,D.g)(O||C),A=(0,D.g)(I),_=(0,Z.O_)(),[z,N]=(0,q.p)(f,y,null!==_?(_&Z.Uw.Open)===Z.Uw.Open:S===em.Open);(0,F.O)(z,O,h.actions.closeCombobox);let j=!v.__demoMode&&d&&S===em.Open;(0,H.K)(j,A);let U=!v.__demoMode&&d&&S===em.Open;(0,P.v)(U,{allowed:(0,r.useCallback)(()=>[O,C,I],[O,C,I])});let $=!(0,ee.y)(h,h.selectors.didInputMove)&&z;(0,R.s)(()=>{var t;v.optionsPropsRef.current.static=null!=(t=e.static)&&t},[v.optionsPropsRef,e.static]),(0,R.s)(()=>{v.optionsPropsRef.current.hold=a},[v.optionsPropsRef,a]),function(e,{container:t,accept:n,walk:o}){let i=(0,r.useRef)(n),l=(0,r.useRef)(o);(0,r.useEffect)(()=>{i.current=n,l.current=o},[n,o]),(0,R.s)(()=>
4{if(!t||!e)return;let n=(0,B.TW)(t);if(!n)return;let o=i.current,r=l.current,s=Object.assign(e=>o(e),{acceptNode:o}),a=n.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,s,!1);for(;a.nextNode();)r(a.currentNode)},[t,e,i,l])}(S===em.Open,{container:I,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 Y=(0,eu.o2)([null==C?void 0:C.id]),K=(0,W._)({open:S===em.Open,option:void 0}),X=(0,k._)(()=>{h.actions.setActivationTrigger(ey.Pointer)}),Q=(0,k._)(e=>{e.preventDefault(),h.actions.setActivationTrigger(ey.Pointer)}),et=(0,el.v6)(g?E():{},{"aria-labelledby":Y,role:"listbox","aria-multiselectable":v.mode===eb.Multi||void 0,id:s,ref:w,style:{...p.style,...b,"--input-width":(0,T.L)(z,O,!0).width,"--button-width":(0,T.L)(z,C,!0).width},onWheel:M===ey.Pointer?void 0:X,onMouseDown:Q,...(0,q.B)(N)}),en=z&&S===em.Closed&&!e.static,eo=(0,G.O)(en,null==(n=v.virtual)?void 0:n.options),ei=(0,G.O)(en,v.value),er=(0,r.useCallback)(e=>v.compare(ei,e),[v.compare,ei]),es=(0,r.useMemo)(()=>{if(!v.virtual)return v;if(void 0===eo)throw Error("Missing `options` in virtual mode");return eo!==v.virtual.options?{...v,virtual:{...v.virtual,options:eo}}:v},[v,eo,null==(o=v.virtual)?void 0:o.options]);v.virtual&&Object.assign(p,{children:r.createElement(eI.Provider,{value:es},r.createElement(eM,{slot:K},p.children))});let ea=(0,el.Ci)(),ec=(0,r.useMemo)(()=>v.mode===eb.Multi?v:{...v,isSelected:er},[v,er]);return r.createElement(ed.ZL,{enabled:!!c&&(e.static||z),ownerDocument:L},r.createElement(eI.Provider,{value:ec},ea({ourProps:et,theirProps:{...p,children:r.createElement(G.j,{freeze:en},"function"==typeof p.children?null==(i=p.children)?void 0:i.call(p,K):p.children)},slot:K,defaultTag:"div",features:eL,visible:$,name:"Combobox.Options"}
4)))}),Option:(0,el.FX)(function(e,t){var n,o,i;let l=eP("Combobox.Option"),s=eT("Combobox.Option"),a=(0,r.useId)(),{id:u=`headlessui-combobox-option-${a}`,value:c,disabled:d=null!=(i=null==(o=null==(n=l.virtual)?void 0:n.disabled)?void 0:o.call(n,c))&&i,order:f=null,...p}=e,[h]=(0,ee.y)(s,e=>[e.inputElement]),v=N(h),g=(0,ee.y)(s,(0,r.useCallback)(e=>s.selectors.isActive(e,c,u),[c,u])),m=l.isSelected(c),b=(0,r.useRef)(null),y=(0,M.Y)({disabled:d,value:c,domRef:b,order:f}),x=(0,r.useContext)(eR),E=(0,V.P)(t,b,x?x.measureElement:null),w=(0,k._)(()=>{s.actions.setIsTyping(!1),s.actions.onChange(c)});(0,R.s)(()=>s.actions.registerOption(u,y),[y,u]);let S=(0,ee.y)(s,(0,r.useCallback)(e=>s.selectors.shouldScrollIntoView(e,c,u),[c,u]));(0,R.s)(()=>{if(S)return(0,eo.e)().requestAnimationFrame(()=>{var e,t;null==(t=null==(e=b.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})},[S,b]);let O=(0,k._)(e=>{e.preventDefault(),e.button===ec.w.Left&&(d||(w(),(0,er.Fr)()||requestAnimationFrame(()=>v()),l.mode===eb.Single&&s.actions.closeCombobox()))}),C=(0,k._)(()=>{if(d)return s.actions.goToOption({focus:en.B.Nothing});let e=l.calculateIndex(c);s.actions.goToOption({focus:en.B.Specific,idx:e})}),T=(0,U.J)(),I=(0,k._)(e=>T.update(e)),P=(0,k._)(e=>{if(!T.wasMoved(e)||d||g&&s.state.activationTrigger===ey.Pointer)return;let t=l.calculateIndex(c);s.actions.goToOption({focus:en.B.Specific,idx:t},ey.Pointer)}),F=(0,k._)(e=>{T.wasMoved(e)&&(d||g&&(l.optionsPropsRef.current.hold||s.state.activationTrigger===ey.Pointer&&s.actions.goToOption({focus:en.B.Nothing})))}),L=(0,W._)({active:g,focus:g,selected:m,disabled:d});return(0,el.Ci)()({ourProps:{id:u,ref:E,role:"option",tabIndex:!0===d?void 0:-1,"aria-disabled":!0===d||void 0,"aria-selected":m,disabled:void 0,onMouseDown:O,onFocus:C,onPointerEnter:I,onMouseEnter:I,onPointerMove:P,onMouseMove:P,onPointerLeave:F,onMouseLeave:F},theirProps:p,slot:L,defaultTag:"div",name:"Combobox.Option"})})})},5444:(e,t,n)=>{"use strict";n.d(t,{bq:()=>i,wt:()=>r,sD:()=>o}),n(5851);function o(e,t){return!!t&&!!e&&e.contains(t)}let i=(e=document)=>e.activeElement;function r(e){return e.target}},5516:(e,t,n)=>{"use strict";n.d(t,{O:()=>a});var o=n(5834),i=n(2169),r=n(1749);function l(e){let t=e.parentElement,n=null;for(;t&&!r.Er(t);)r.Jb(t)&&(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(r.Jb(t))return!1;t=t.previousElementSibling}return!0}(n))&&o}var s=n(7546);function a(e){let t=(0,o.useRef)(null);return{onPointerDown:(0,s._)(n=>{t.current=n.pointerType,l(n.currentTarget)||"mouse"!==n.pointerType||n.button!==i.w.Left||(n.preventDefault(),e(n))}),onClick:(0,s._)(n=>{"mouse"!==t.current&&(l(n.currentTarget)||e(n))})}}},5518:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(5834),i=n(2766),r=n(6613),l=n(7546);function s({disabled:e=!1}={}){let t=(0,o.useRef)(null),[n,a]=(0,o.useState)(!1),u=(0,r.L)(),c=(0,l._)(()=>{t.current=null,a(!1),u.dispose()}),d=(0,l._)(e=>{if(u.dispose(),null===t.current){t.current=e.currentTarget,a(!0);{let n=(0,i.TW)(e.currentTarget);u.addEventListener(n,"pointerup",c,!1),u.addEventListener(n,"pointermove",e=>{if(t.current){var n,o;let i,r;a((i=e.width/2,r=e.height/2,n={top:e.clientY-r,right:e.clientX+i,bottom:e.clientY+r,left:e.clientX-i},o=t.current.getBoundingClientRect(),!(!n||!o||n.right<o.left||n.left>o.right||n.bottom<o.top||n.top>o.bottom)))}},!1),u.addEventListener(n,"pointercancel",c,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:d,onPointerUp:c,onClick:c}}}},5808:(e,t,n)=>{"use strict";n.d(t,{J:()=>r});var o=n(5834);function i(e){return[e.screenX,e.screenY]}function r(){let e=(0,o.useRef)([-1,-1]);return{wasMoved(t){let n=i(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=i(t)}}}},5851:(e,t,n)=>{"use strict";n.d(t,{Ng:()=>r,TW:()=>o,mD:()=>i});let o=e=>{var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document},i=e=>e&&"window"in e&&e.window===e?e:o(e).defaultView||window;function r(e){return null!==e&&"object"==typeof e&&"nodeType"in e&&"number"==typeof e.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}}
vendor: 2,683 bytes, line 4
4,6572:(e,t,n)=>{"use strict";n.d(t,{BN:()=>p,Ej:()=>v,UU:()=>h,cY:()=>f,we:()=>d});var o=n(8717),i=n(5834),r=n(851),l="undefined"!=typeof document?i.useLayoutEffect:function(){};function s(e,t){let n,o,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(o=n;0!=o--;)if(!s(e[o],t[o]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(o=n;0!=o--;)if(!({}).hasOwnProperty.call(t,i[o]))return!1;for(o=n;0!=o--;){let n=i[o];if(("_owner"!==n||!e.$$typeof)&&!s(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function a(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let n=a(e);return Math.round(t*n)/n}function c(e){let t=i.useRef(e);return l(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:d=[],platform:f,elements:{reference:p,floating:h}={},transform:v=!0,whileElementsMounted:g,open:m}=e,[b,y]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[x,E]=i.useState(d);s(x,d)||E(d);let[w,S]=i.useState(null),[O,C]=i.useState(null),T=i.useCallback(e=>{e!==R.current&&(R.current=e,S(e))},[]),k=i.useCallback(e=>{e!==M.current&&(M.current=e,C(e))},[]),I=p||w,P=h||O,R=i.useRef(null),M=i.useRef(null),F=i.useRef(b),L=null!=g,D=c(g),A=c(f),_=c(m),B=i.useCallback(()=>{if(!R.current||!M.current)return;let e={placement:t,strategy:n,middleware:x};A.current&&(e.platform=A.current),(0,o.rD)(R.current,M.current,e).then(e=>{let t={...e,isPositioned:!1!==_.current};z.current&&!s(F.current,t)&&(F.current=t,r.flushSync(()=>{y(t)}))})},[x,t,n,A,_]);l(()=>{!1===m&&F.current.isPositioned&&(F.current.isPositioned=!1,y(e=>({...e,isPositioned:!1})))},[m]);let z=i.useRef(!1);l(()=>(z.current=!0,()=>{z.current=!1}),[]),l(()=>{if(I&&(R.current=I),P&&(M.current=P),I&&P){if(D.current)return D.current(I,P,B);B()}},[I,P,B,D,L]);let N=i.useMemo(()=>({reference:R,floating:M,setReference:T,setFloating:k}),[T,k]),j=i.useMemo(()=>({reference:I,floating:P}),[I,P]),H=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!j.floating)return e;let t=u(j.floating,b.x),o=u(j.floating,b.y);return v?{...e,transform:"translate("+t+"px, "+o+"px)",...a(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:o}},[n,v,j.floating,b.x,b.y]);return i.useMemo(()=>({...b,update:B,refs:N,elements:j,floatingStyles:H}),[b,B,N,j,H])}let f=(e,t)=>({...(0,o.cY)(e),options:[e,t]}),p=(e,t)=>({...(0,o.BN)(e),options:[e,t]}),h=(e,t)=>({...(0,o.UU)(e),options:[e,t]}),v=(e,t)=>
4({...(0,o.Ej)(e),options:[e,t]})},6769:(e,t,n)=>{"use strict";n.d(t,{D:()=>d});var o=n(5834),i=n(7478),r=n(4349),l=n(3827),s=n(400),a=n(8919),u=n(8689),c=n(9577);let d=(0,a.FX)(function(e,t){let n=`headlessui-control-${(0,o.useId)()}`,[d,f]=(0,c.b0)(),[p,h]=(0,u.rU)(),v=(0,r._)(),{disabled:g=v||!1,...m}=e,b=(0,i._)({disabled:g}),y=(0,a.Ci)();return o.createElement(r.S,{value:g},o.createElement(f,{value:d},o.createElement(h,{value:p},o.createElement(s.J,{id:n},y({ourProps:{ref:t,disabled:g||void 0,"aria-disabled":g||void 0},theirProps:{...m,children:o.createElement(l.PC,null,"function"==typeof m.children?m.children(b):m.children)},slot:b,defaultTag:"div",name:"Field"})))))})},6922:(e,t,n)=>{"use strict";n.d(t,{B1:()=>P,C0:()=>f,Dz:()=>b,Jx:()=>s,LI:()=>r,PG:()=>h,RI:()=>l,Sg:()=>p,T9:()=>i,TV:()=>m,WJ:()=>x,_3:()=>d,bV:()=>k,jk:()=>o,lP:()=>T,nI:()=>I,qE:()=>c,sq:()=>v,w7:()=>y});let o=Math.min,i=Math.max,r=Math.round,l=Math.floor,s=e=>({x:e,y:e}),a={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function c(e,t,n){return i(e,o(t,n))}function d(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function v(e){return"y"===e?"height":"width"}let g=new Set(["top","bottom"]);function m(e){return g.has(f(e))?"y":"x"}function b(e){return h(m(e))}function y(e,t,n){void 0===n&&(n=!1);let o=p(e),i=b(e),r=v(i),l="x"===i?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[r]>t.floating[r]&&(l=k(l)),[l,k(l)]}function x(e){let t=k(e);return[E(e),t,E(t)]}function E(e){return e.replace(/start|end/g,e=>u[e])}let w=["left","right"],S=["right","left"],O=["top","bottom"],C=["bottom","top"];function T(e,t,n,o){let i=p(e),r=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?S:w;return t?w:S;case"left":case"right":return t?O:C;default:return[]}}(f(e),"start"===n,o);return i&&(r=r.map(e=>e+"-"+i),t&&(r=r.concat(r.map(E)))),r}function k(e){return e.replace(/left|right|bottom|top/g,e=>a[e])}function I(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function P(e){let{x:t,y:n,width:o,height:i}=e;return{width:o,height:i,top:n,left:t,right:t+o,bottom:n+i,x:t,y:n}}},7007:(e,t,n)=>{"use strict";n.d(t,{B:()=>o,X:()=>i});var o=(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))(o||{});function i(e,t){let n=t.resolveItems();if(n.length<=0)return null;let o=t.resolveActiveIndex(),i=null!=o?o:-1;switch(e.focus){case 0:for(let e=0;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return o;case 1:-1===i&&(i=n.length);for(let e=i-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return o;case 2:for(let e=i+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return o;case 3:for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return o;case 4:for(let o=0;o<n.length;++o)if(t.resolveId(n[o],o,n)===e.id)return o;return o;case 5:return null;default:throw Error("Unexpected object: "+e)}}},7566:(e,t,n)=>{"use strict";n.d(t,{M:()=>g});var o=n(6514),i=n(4206),r=n(8791),l=n(5834),s=n(1880),a=n(5541),u=n(9403),c=n(4643),d=n(1074);let{Ay:f,zd:p}=r;function h({html:e,ksesAllowList:t,sanitizeFn:n,children:i,settings:r,forwardBlockAttributes:h=!1,blockContext:v,blockStyles:g}){let m=l.Children.toArray(i);-1!==m.findIndex(e=>{var t;if(!(0,l.isValidElement)(e))return!0;let{test:n,tagName:o,classList:i}=e.props;return"function"!=typeof n&&"function"!=typeof(null==(t=null==e?void 0:e.type)?void 0:t.test)&&(void 0===o||void 0===i)})&&(0,u.R8)("Children of <BlocksRenderer /> component should be a type of ReactNode<BlockProps>");let b="function"==typeof n?n(e,t):(0,a._)(e,t),y={replace:e=>{let t=null;return m.forEach(n=>{if((0,l.isValidElement)(n)&&((e,t,n)=>{var o;if(!(0,l.isValidElement)(e))return!1;let{test:i,tagName:r,classList:a}=e.props;return"function"==typeof i&&e?i(t,n):"function"==typeof(null==(o=null==e?void 0:e.type)?void 0:o.test)?e.type.test(t,n):"string"==typeof r&&void 0!==a&&(0,s.WH)(t,{tagName:r,className:a})})(n,e,r)){let i=(0,c.i8)(e),s=Object.assign(Object.assign({},n.props),{domNode:e,style:i||void 0});if(h&&(0,d.tk)(e)){let{attributes:t,name:n,className:o}=(0,d.kJ)(e);s.block={attributes:t,name:n,className:o}}void 0!==v?s.blockContext=Object.assign(Object.assign({},v),{settings:r}):s.blockContext={settings:r},t=l.createElement(n.type,s,(null==e?void 0:e.children)?p(null==e?void 0:e.children,{replace:e=>{if("function"==typeof y.replace)return"function"==typeof n.props.exclude&&n.props.exclude(e,r)?(0,o.jsx)(o.Fragment,{}):y.replace(e)}}):null)}}),t}};return(0,o.jsxs)(o.Fragment,{children:[g&&(0,o.jsx)("style",{id:"core-block-supports-inline-css",type:"text/css",dangerouslySetInnerHTML:{__html:g}}),f(b,y)]})}var v=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)0>t.indexOf(o[i])&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n};function g(e){var{children:t,settings:n}=e,r=v(e,["children","settings"]);let l=(0,i.t)();return(0,o.jsx)(h,Object.assign({},r,{settings:null!=n?n:l,children:t}))}}
4,8214:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});var o=n(5834);function i(e,t){return null!==e&&null!==t&&"object"==typeof e&&"object"==typeof t&&"id"in e&&"id"in t?e.id===t.id:e===t}function r(e=i){return(0,o.useCallback)((t,n)=>"string"==typeof e?(null==t?void 0:t[e])===(null==n?void 0:n[e]):e(t,n),[e])}},8336:(e,t,n)=>{"use strict";n.d(t,{l:()=>i});var o=n(1074);function i(e){let{attributes:t,name:n,className:i}=(0,o.kJ)(e);return{attributes:t,name:n,className:i}}},8597:(e,t,n)=>{"use strict";n.d(t,{M:()=>d});var o=n(3799),i=n(5444),r=n(5851),l=n(5834);let s=!1,a=0;function u(e){"touch"===e.pointerType&&(s=!0,setTimeout(()=>{s=!1},50))}function c(){if("undefined"!=typeof document)return 0===a&&"undefined"!=typeof PointerEvent&&document.addEventListener("pointerup",u),a++,()=>{--a>0||"undefined"!=typeof PointerEvent&&document.removeEventListener("pointerup",u)}}function d(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:a,isDisabled:u}=e,[d,f]=(0,l.useState)(!1),p=(0,l.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,l.useEffect)(c,[]);let{addGlobalListener:h,removeAllGlobalListeners:v}=(0,o.A)(),{hoverProps:g,triggerHoverEnd:m}=(0,l.useMemo)(()=>{let e=(e,t)=>{let o=p.target;p.pointerType="",p.target=null,"touch"!==t&&p.isHovered&&o&&(p.isHovered=!1,v(),a&&a({type:"hoverend",target:o,pointerType:t}),n&&n(!1),f(!1))},o={};return"undefined"!=typeof PointerEvent&&(o.onPointerEnter=o=>{s&&"mouse"===o.pointerType||((o,l)=>{if(p.pointerType=l,u||"touch"===l||p.isHovered||!(0,i.sD)(o.currentTarget,o.target))return;p.isHovered=!0;let s=o.currentTarget;p.target=s,h((0,r.TW)(o.target),"pointerover",t=>{p.isHovered&&p.target&&!(0,i.sD)(p.target,t.target)&&e(t,t.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:s,pointerType:l}),n&&n(!0),f(!0)})(o,o.pointerType)},o.onPointerLeave=t=>{!u&&(0,i.sD)(t.currentTarget,t.target)&&e(t,t.pointerType)}),{hoverProps:o,triggerHoverEnd:e}},[t,n,a,u,p,h,v]);return(0,l.useEffect)(()=>{u&&m({currentTarget:p.target},p.pointerType)},[u]),{hoverProps:g,isHovered:d}}},8717:(e,t,n)=>{"use strict";n.d(t,{ll:()=>T,rD:()=>F,__:()=>k,UU:()=>R,cY:()=>I,BN:()=>P,Ej:()=>M});var o=n(6922);function i(e,t,n){let i,{reference:r,floating:l}=e,s=(0,o.TV)(t),a=(0,o.Dz)(t),u=(0,o.sq)(a),c=(0,o.C0)(t),d="y"===s,f=r.x+r.width/2-l.width/2,p=r.y+r.height/2-l.height/2,h=r[u]/2-l[u]/2;switch(c){case"top":i={x:f,y:r.y-l.height};break;case"bottom":i={x:f,y:r.y+r.height};break;case"right":i={x:r.x+r.width,y:p};break;case"left":i={x:r.x-l.width,y:p};break;default:i={x:r.x,y:r.y}}switch((0,o.Sg)(t)){case"start":i[a]-=h*(n&&d?-1:1);break;case"end":i[a]+=h*(n&&d?-1:1)}return i}async function r(e,t){var n;void 0===t&&(t={});let{x:i,y:r,platform:l,rects:s,elements:a,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=(0,o._3)(t,e),v=(0,o.nI)(h),g=a[p?"floating"===f?"reference":"floating":f],m=(0,o.B1)(await l.getClippingRect({element:null==(n=await (null==l.isElement?void 0:l.isElement(g)))||n?g:g.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:u})),b="floating"===f?{x:i,y:r,width:s.floating.width,height:s.floating.height}:s.reference,y=await (null==l.getOffsetParent?void 0:l.getOffsetParent(a.floating)),x=await (null==l.isElement?void 0:l.isElement(y))&&await (null==l.getScale?void 0:l.getScale(y))||{x:1,y:1},E=(0,o.B1)(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:b,offsetParent:y,strategy:u}):b);return{top:(m.top-E.top+v.top)/x.y,bottom:(E.bottom-m.bottom+v.bottom)/x.y,left:(m.left-E.left+v.left)/x.x,right:(E.right-m.right+v.right)/x.x}}let l=async(e,t,n)=>{let{placement:o="bottom",strategy:l="absolute",middleware:s=[],platform:a}=n,u=s.filter(Boolean),c=await (null==a.isRTL?void 0:a.isRTL(t)),d=await a.getElementRects({reference:e,floating:t,strategy:l}),{x:f,y:p}=i(d,o,c),h=o,v={},g=0;for(let n=0;n<u.length;n++){var m;let{name:s,fn:b}=u[n],{x:y,y:x,data:E,reset:w}=await b({x:f,y:p,initialPlacement:o,placement:h,strategy:l,middlewareData:v,rects:d,platform:{...a,detectOverflow:null!=(m=a.detectOverflow)?m:r},elements:{reference:e,floating:t}});f=null!=y?y:f,p=null!=x?x:p,v={...v,[s]:{...v[s],...E}},w&&g<=50&&(g++,"object"==typeof w&&(w.placement&&(h=w.placement),w.rects&&(d=!0===w.rects?await a.getElementRects({reference:e,floating:t,strategy:l}):w.rects),{x:f,y:p}=i(d,h,c)),n=-1)}return{x:f,y:p,placement:h,strategy:l,middlewareData:v}},s=new Set(["left","top"]);async function a(e,t){let{placement:n,platform:i,elements:r}=e,l=await (null==i.isRTL?void 0:i.isRTL(r.floating)),a=(0,o.C0)(n),u=(0,o.Sg)(n),c="y"===(0,o.TV)(n),d=s.has(a)?-1:1,f=l&&c?-1:1,p=(0,o._3)(t,e),{mainAxis:h,crossAxis:v,alignmentAxis:g}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}
4:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return u&&"number"==typeof g&&(v="end"===u?-1*g:g),c?{x:v*f,y:h*d}:{x:h*d,y:v*f}}var u=n(9832);function c(e){let t=(0,u.L9)(e),n=parseFloat(t.width)||0,i=parseFloat(t.height)||0,r=(0,u.sb)(e),l=r?e.offsetWidth:n,s=r?e.offsetHeight:i,a=(0,o.LI)(n)!==l||(0,o.LI)(i)!==s;return a&&(n=l,i=s),{width:n,height:i,$:a}}function d(e){return(0,u.vq)(e)?e:e.contextElement}function f(e){let t=d(e);if(!(0,u.sb)(t))return(0,o.Jx)(1);let n=t.getBoundingClientRect(),{width:i,height:r,$:l}=c(t),s=(l?(0,o.LI)(n.width):n.width)/i,a=(l?(0,o.LI)(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}let p=(0,o.Jx)(0);function h(e){let t=(0,u.zk)(e);return(0,u.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:p}function v(e,t,n,i){var r;void 0===t&&(t=!1),void 0===n&&(n=!1);let l=e.getBoundingClientRect(),s=d(e),a=(0,o.Jx)(1);t&&(i?(0,u.vq)(i)&&(a=f(i)):a=f(e));let c=(void 0===(r=n)&&(r=!1),i&&(!r||i===(0,u.zk)(s))&&r)?h(s):(0,o.Jx)(0),p=(l.left+c.x)/a.x,v=(l.top+c.y)/a.y,g=l.width/a.x,m=l.height/a.y;if(s){let e=(0,u.zk)(s),t=i&&(0,u.vq)(i)?(0,u.zk)(i):i,n=e,o=(0,u._m)(n);for(;o&&i&&t!==n;){let e=f(o),t=o.getBoundingClientRect(),i=(0,u.L9)(o),r=t.left+(o.clientLeft+parseFloat(i.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(i.paddingTop))*e.y;p*=e.x,v*=e.y,g*=e.x,m*=e.y,p+=r,v+=l,n=(0,u.zk)(o),o=(0,u._m)(n)}}return(0,o.B1)({width:g,height:m,x:p,y:v})}function g(e,t){let n=(0,u.CP)(e).scrollLeft;return t?t.left+n:v((0,u.ep)(e)).left+n}function m(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-g(e,n),y:n.top+t.scrollTop}}let b=new Set(["absolute","fixed"]);function y(e,t,n){let i;if("viewport"===t)i=function(e,t){let n=(0,u.zk)(e),o=(0,u.ep)(e),i=n.visualViewport,r=o.clientWidth,l=o.clientHeight,s=0,a=0;if(i){r=i.width,l=i.height;let e=(0,u.Tc)();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,a=i.offsetTop)}let c=g(o);if(c<=0){let e=o.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(o.clientWidth-t.clientWidth-i);l<=25&&(r-=l)}else c<=25&&(r+=c);return{width:r,height:l,x:s,y:a}}(e,n);else if("document"===t)i=function(e){let t=(0,u.ep)(e),n=(0,u.CP)(e),i=e.ownerDocument.body,r=(0,o.T9)(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),l=(0,o.T9)(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-n.scrollLeft+g(e),a=-n.scrollTop;return"rtl"===(0,u.L9)(i).direction&&(s+=(0,o.T9)(t.clientWidth,i.clientWidth)-r),{width:r,height:l,x:s,y:a}}((0,u.ep)(e));else if((0,u.vq)(t))i=function(e,t){let n=v(e,!0,"fixed"===t),i=n.top+e.clientTop,r=n.left+e.clientLeft,l=(0,u.sb)(e)?f(e):(0,o.Jx)(1),s=e.clientWidth*l.x,a=e.clientHeight*l.y;return{width:s,height:a,x:r*l.x,y:i*l.y}}(t,n);else{let n=h(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return(0,o.B1)(i)}function x(e){return"static"===(0,u.L9)(e).position}function E(e,t){if(!(0,u.sb)(e)||"fixed"===(0,u.L9)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,u.ep)(e)===n&&(n=n.ownerDocument.body),n}function w(e,t){let n=(0,u.zk)(e);if((0,u.Tf)(e))return n;if(!(0,u.sb)(e)){let t=(0,u.$4)(e);for(;t&&!(0,u.eu)(t);){if((0,u.vq)(t)&&!x(t))return t;t=(0,u.$4)(t)}return n}let o=E(e,t);for(;o&&(0,u.Lv)(o)&&x(o);)o=E(o,t);return o&&(0,u.eu)(o)&&x(o)&&!(0,u.sQ)(o)?n:o||(0,u.gJ)(e)||n}let S=async function(e){let t=this.getOffsetParent||w,n=this.getDimensions,i=await n(e.floating);return{reference:function(e,t,n){let i=(0,u.sb)(t),r=(0,u.ep)(t),l="fixed"===n,s=v(e,!0,l,t),a={scrollLeft:0,scrollTop:0},c=(0,o.Jx)(0);if(i||!i&&!l)if(("body"!==(0,u.mq)(t)||(0,u.ZU)(r))&&(a=(0,u.CP)(t)),i){let e=v(t,!0,l,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else r&&(c.x=g(r));l&&!i&&r&&(c.x=g(r));let d=!r||i||l?(0,o.Jx)(0):m(r,a);return{x:s.left+a.scrollLeft-c.x-d.x,y:s.top+a.scrollTop-c.y-d.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},O={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:i,strategy:r}=e,l="fixed"===r,s=(0,u.ep)(i),a=!!t&&(0,u.Tf)(t.floating);if(i===s||a&&l)return n;let c={scrollLeft:0,scrollTop:0},d=(0,o.Jx)(1),p=(0,o.Jx)(0),h=(0,u.sb)(i);if((h||!h&&!l)&&(("body"!==(0,u.mq)(i)||(0,u.ZU)(s))&&(c=(0,u.CP)(i)),(0,u.sb)(i))
4){let e=v(i);d=f(i),p.x=e.x+i.clientLeft,p.y=e.y+i.clientTop}let g=!s||h||l?(0,o.Jx)(0):m(s,c);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-c.scrollLeft*d.x+p.x+g.x,y:n.y*d.y-c.scrollTop*d.y+p.y+g.y}},getDocumentElement:u.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:r}=e,l=[..."clippingAncestors"===n?(0,u.Tf)(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let o=(0,u.v9)(e,[],!1).filter(e=>(0,u.vq)(e)&&"body"!==(0,u.mq)(e)),i=null,r="fixed"===(0,u.L9)(e).position,l=r?(0,u.$4)(e):e;for(;(0,u.vq)(l)&&!(0,u.eu)(l);){let t=(0,u.L9)(l),n=(0,u.sQ)(l);n||"fixed"!==t.position||(i=null),(r?!n&&!i:!n&&"static"===t.position&&!!i&&b.has(i.position)||(0,u.ZU)(l)&&!n&&function e(t,n){let o=(0,u.$4)(t);return!(o===n||!(0,u.vq)(o)||(0,u.eu)(o))&&("fixed"===(0,u.L9)(o).position||e(o,n))}(e,l))?o=o.filter(e=>e!==l):i=t,l=(0,u.$4)(l)}return t.set(e,o),o}(t,this._c):[].concat(n),i],s=l[0],a=l.reduce((e,n)=>{let i=y(t,n,r);return e.top=(0,o.T9)(i.top,e.top),e.right=(0,o.jk)(i.right,e.right),e.bottom=(0,o.jk)(i.bottom,e.bottom),e.left=(0,o.T9)(i.left,e.left),e},y(t,s,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:w,getElementRects:S,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=c(e);return{width:t,height:n}},getScale:f,isElement:u.vq,isRTL:function(e){return"rtl"===(0,u.L9)(e).direction}};function C(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function T(e,t,n,i){let r;void 0===i&&(i={});let{ancestorScroll:l=!0,ancestorResize:s=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:f=!1}=i,p=d(e),h=l||s?[...p?(0,u.v9)(p):[],...(0,u.v9)(t)]:[];h.forEach(e=>{l&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let g=p&&c?function(e,t){let n,i=null,r=(0,u.ep)(e);function l(){var e;clearTimeout(n),null==(e=i)||e.disconnect(),i=null}return!function s(a,u){void 0===a&&(a=!1),void 0===u&&(u=1),l();let c=e.getBoundingClientRect(),{left:d,top:f,width:p,height:h}=c;if(a||t(),!p||!h)return;let v=(0,o.RI)(f),g=(0,o.RI)(r.clientWidth-(d+p)),m={rootMargin:-v+"px "+-g+"px "+-(0,o.RI)(r.clientHeight-(f+h))+"px "+-(0,o.RI)(d)+"px",threshold:(0,o.T9)(0,(0,o.jk)(1,u))||1},b=!0;function y(t){let o=t[0].intersectionRatio;if(o!==u){if(!b)return s();o?s(!1,o):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==o||C(c,e.getBoundingClientRect())||s(),b=!1}try{i=new IntersectionObserver(y,{...m,root:r.ownerDocument})}catch(e){i=new IntersectionObserver(y,m)}i.observe(e)}(!0),l}(p,n):null,m=-1,b=null;a&&(b=new ResizeObserver(e=>{let[o]=e;o&&o.target===p&&b&&(b.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=b)||e.observe(t)})),n()}),p&&!f&&b.observe(p),b.observe(t));let y=f?v(e):null;return f&&function t(){let o=v(e);y&&!C(y,o)&&n(),y=o,r=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{l&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==g||g(),null==(e=b)||e.disconnect(),b=null,f&&cancelAnimationFrame(r)}}let k=r,I=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,o;let{x:i,y:r,placement:l,middlewareData:s}=t,u=await a(t,e);return l===(null==(n=s.offset)?void 0:n.placement)&&null!=(o=s.arrow)&&o.alignmentOffset?{}:{x:i+u.x,y:r+u.y,data:{...u,placement:l}}}}},P=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:i,placement:r,platform:l}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=(0,o._3)(e,t),d={x:n,y:i},f=await l.detectOverflow(t,c),p=(0,o.TV)((0,o.C0)(r)),h=(0,o.PG)(p),v=d[h],g=d[p];if(s){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=v+f[e],i=v-f[t];v=(0,o.qE)(n,v,i)}
4if(a){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=g+f[e],i=g-f[t];g=(0,o.qE)(n,g,i)}let m=u.fn({...t,[h]:v,[p]:g});return{...m,data:{x:m.x-n,y:m.y-i,enabled:{[h]:s,[p]:a}}}}}},R=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i,r,l,s;let{placement:a,middlewareData:u,rects:c,initialPlacement:d,platform:f,elements:p}=t,{mainAxis:h=!0,crossAxis:v=!0,fallbackPlacements:g,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:y=!0,...x}=(0,o._3)(e,t);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let E=(0,o.C0)(a),w=(0,o.TV)(d),S=(0,o.C0)(d)===d,O=await (null==f.isRTL?void 0:f.isRTL(p.floating)),C=g||(S||!y?[(0,o.bV)(d)]:(0,o.WJ)(d)),T="none"!==b;!g&&T&&C.push(...(0,o.lP)(d,y,b,O));let k=[d,...C],I=await f.detectOverflow(t,x),P=[],R=(null==(i=u.flip)?void 0:i.overflows)||[];if(h&&P.push(I[E]),v){let e=(0,o.w7)(a,c,O);P.push(I[e[0]],I[e[1]])}if(R=[...R,{placement:a,overflows:P}],!P.every(e=>e<=0)){let e=((null==(r=u.flip)?void 0:r.index)||0)+1,t=k[e];if(t&&("alignment"!==v||w===(0,o.TV)(t)||R.every(e=>(0,o.TV)(e.placement)!==w||e.overflows[0]>0)))return{data:{index:e,overflows:R},reset:{placement:t}};let n=null==(l=R.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!n)switch(m){case"bestFit":{let e=null==(s=R.filter(e=>{if(T){let t=(0,o.TV)(e.placement);return t===w||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:s[0];e&&(n=e);break}case"initialPlacement":n=d}if(a!==n)return{reset:{placement:n}}}return{}}}},M=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,i;let r,l,{placement:s,rects:a,platform:u,elements:c}=t,{apply:d=()=>{},...f}=(0,o._3)(e,t),p=await u.detectOverflow(t,f),h=(0,o.C0)(s),v=(0,o.Sg)(s),g="y"===(0,o.TV)(s),{width:m,height:b}=a.floating;"top"===h||"bottom"===h?(r=h,l=v===(await (null==u.isRTL?void 0:u.isRTL(c.floating))?"start":"end")?"left":"right"):(l=h,r="end"===v?"top":"bottom");let y=b-p.top-p.bottom,x=m-p.left-p.right,E=(0,o.jk)(b-p[r],y),w=(0,o.jk)(m-p[l],x),S=!t.middlewareData.shift,O=E,C=w;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(C=x),null!=(i=t.middlewareData.shift)&&i.enabled.y&&(O=y),S&&!v){let e=(0,o.T9)(p.left,0),t=(0,o.T9)(p.right,0),n=(0,o.T9)(p.top,0),i=(0,o.T9)(p.bottom,0);g?C=m-2*(0!==e||0!==t?e+t:(0,o.T9)(p.left,p.right)):O=b-2*(0!==n||0!==i?n+i:(0,o.T9)(p.top,p.bottom))}await d({...t,availableWidth:C,availableHeight:O});let T=await u.getDimensions(c.floating);return m!==T.width||b!==T.height?{reset:{rects:!0}}:{}}}},F=(e,t,n)=>{let o=new Map,i={platform:O,...n},r={...i.platform,_c:o};return l(e,t,{...i,platform:r})}},9001:(e,t)=>{var n;!function(){"use strict";var o={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=r(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)o.call(e,n)&&e[n]&&(t=r(t,n));return t}(n)))}return e}function r(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=(function(){return i}).apply(t,[]))||(e.exports=n)}()},9028:(e,t,n)=>{"use strict";n.d(t,{o:()=>N});var o=n(5834);let i="undefined"!=typeof document?o.useLayoutEffect:()=>{};function r(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function l(e){let t=(0,o.useRef)({isFocused:!1,observer:null});return i(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),(0,o.useCallback)(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let o=n.target;o.addEventListener("focusout",n=>{if(t.current.isFocused=!1,o.disabled){let t=r(n);null==e||e(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){var e;null==(e=t.current.observer)||e.disconnect();
4let n=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[e])}function s(e){var t;if("undefined"==typeof window||null==window.navigator)return!1;let n=null==(t=window.navigator.userAgentData)?void 0:t.brands;return Array.isArray(n)&&n.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function a(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null==(t=window.navigator.userAgentData)?void 0:t.platform)||window.navigator.platform)}function u(e){let t=null;return()=>(null==t&&(t=e()),t)}let c=u(function(){return a(/^Mac/i)}),d=u(function(){return a(/^iPhone/i)}),f=u(function(){return a(/^iPad/i)||c()&&navigator.maxTouchPoints>1}),p=u(function(){return d()||f()});u(function(){return c()||p()});let h=u(function(){return s(/AppleWebKit/i)&&!v()}),v=u(function(){return s(/Chrome/i)}),g=u(function(){return s(/Android/i)}),m=u(function(){return s(/Firefox/i)}),b=null;function y(e,t,n=!0){var o,i;let{metaKey:r,ctrlKey:l,altKey:s,shiftKey:a}=t;m()&&(null==(i=window.event)||null==(o=i.type)?void 0:o.startsWith("key"))&&"_blank"===e.target&&(c()?r=!0:l=!0);let u=h()&&c()&&!f()&&1?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:r,ctrlKey:l,altKey:s,shiftKey:a}):new MouseEvent("click",{metaKey:r,ctrlKey:l,altKey:s,shiftKey:a,detail:1,bubbles:!0,cancelable:!0});if(y.isOpening=n,function(){if(null==b){b=!1;try{document.createElement("div").focus({get preventScroll(){return b=!0,!0}})}catch{}}return b}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],o=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==o;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return o instanceof HTMLElement&&n.push({element:o,scrollTop:o.scrollTop,scrollLeft:o.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:o}of e)t.scrollTop=n,t.scrollLeft=o}(t)}e.dispatchEvent(u),y.isOpening=!1}y.isOpening=!1;var x=n(5851);let E=null,w=new Set,S=new Map,O=!1,C=!1,T={Tab:!0,Escape:!0};function k(e,t){for(let n of w)n(e,t)}function I(e){O=!0,y.isOpening||e.metaKey||!c()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(E="keyboard",k("keyboard",e))}function P(e){E="pointer","pointerType"in e&&e.pointerType,("mousedown"===e.type||"pointerdown"===e.type)&&(O=!0,k("pointer",e))}function R(e){y.isOpening||(""!==e.pointerType||!e.isTrusted)&&(g()&&e.pointerType?"click"!==e.type||1!==e.buttons:0!==e.detail||e.pointerType)||(O=!0,E="virtual")}function M(e){e.target!==window&&e.target!==document&&e.isTrusted&&(O||C||(E="virtual",k("virtual",e)),O=!1,C=!1)}function F(){O=!1,C=!0}function L(e){if("undefined"==typeof window||"undefined"==typeof document||S.get((0,x.mD)(e)))return;let t=(0,x.mD)(e),n=(0,x.TW)(e),o=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){O=!0,o.apply(this,arguments)},n.addEventListener("keydown",I,!0),n.addEventListener("keyup",I,!0),n.addEventListener("click",R,!0),t.addEventListener("focus",M,!0),t.addEventListener("blur",F,!1),"undefined"!=typeof PointerEvent&&(n.addEventListener("pointerdown",P,!0),n.addEventListener("pointermove",P,!0),n.addEventListener("pointerup",P,!0)),t.addEventListener("beforeunload",()=>{D(e)},{once:!0}),S.set(t,{focus:o})}let D=(e,t)=>{let n=(0,x.mD)(e),o=(0,x.TW)(e);t&&o.removeEventListener("DOMContentLoaded",t),S.has(n)&&(n.HTMLElement.prototype.focus=S.get(n).focus,o.removeEventListener("keydown",I,!0),o.removeEventListener("keyup",I,!0),o.removeEventListener("click",R,!0),n.removeEventListener("focus",M,!0),n.removeEventListener("blur",F,!1),"undefined"!=typeof PointerEvent&&(o.removeEventListener("pointerdown",P,!0),o.removeEventListener("pointermove",P,!0),o.removeEventListener("pointerup",P,!0)),S.delete(n))};function A(){return"pointer"!==E}"undefined"!=typeof document&&function(e){let t,n=(0,x.TW)(void 0);"loading"!==n.readyState?L(void 0):(t=()=>{L(e)},n.addEventListener("DOMContentLoaded",t)),()=>D(e,t)}();let _=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);var B=n(5444),z=n(3799);function N(e={}){var t;let{autoFocus:n=!1,isTextInput:i,within:s}=e,a=(0,o.useRef)({isFocused:!1,isFocusVisible:n||A()}),[u,c]=(0,o.useState)(!1),[d,f]=(0,o.useState)(()=>a.current.isFocused&&a.current.isFocusVisible),p=(0,o.useCallback)(()=>f(a.current.isFocused&&a.current.isFocusVisible),[]),h=(0,o.useCallback)(e=>{a.current.isFocused=e,a.current.isFocusVisible=A(),c(e),p()},[p]);t={enabled:u,isTextInput:i},L(),(0,o.useEffect)(()=>
4{if((null==t?void 0:t.enabled)===!1)return;let e=(e,n)=>{(function(e,t,n){let o=(0,x.TW)(null==n?void 0:n.target),i="undefined"!=typeof window?(0,x.mD)(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,r="undefined"!=typeof window?(0,x.mD)(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,l="undefined"!=typeof window?(0,x.mD)(null==n?void 0:n.target).HTMLElement:HTMLElement,s="undefined"!=typeof window?(0,x.mD)(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||o.activeElement instanceof i&&!_.has(o.activeElement.type)||o.activeElement instanceof r||o.activeElement instanceof l&&o.activeElement.isContentEditable)&&"keyboard"===t&&n instanceof s&&!T[n.key])})(!!(null==t?void 0:t.isTextInput),e,n)&&(e=>{a.current.isFocusVisible=e,p()})(A())};return w.add(e),()=>{w.delete(e)}},[i,u]);let{focusProps:v}=function(e){let{isDisabled:t,onFocus:n,onBlur:i,onFocusChange:r}=e,s=(0,o.useCallback)(e=>{if(e.target===e.currentTarget)return i&&i(e),r&&r(!1),!0},[i,r]),a=l(s),u=(0,o.useCallback)(e=>{let t=(0,x.TW)(e.target),o=t?(0,B.bq)(t):(0,B.bq)();e.target===e.currentTarget&&o===(0,B.wt)(e.nativeEvent)&&(n&&n(e),r&&r(!0),a(e))},[r,n,a]);return{focusProps:{onFocus:!t&&(n||r||i)?u:void 0,onBlur:!t&&(i||r)?s:void 0}}}({isDisabled:s,onFocusChange:h}),{focusWithinProps:g}=function(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:i,onFocusWithinChange:s}=e,a=(0,o.useRef)({isFocusWithin:!1}),{addGlobalListener:u,removeAllGlobalListeners:c}=(0,z.A)(),d=(0,o.useCallback)(e=>{(0,B.sD)(e.currentTarget,e.target)&&a.current.isFocusWithin&&!(0,B.sD)(e.currentTarget,e.relatedTarget)&&(a.current.isFocusWithin=!1,c(),n&&n(e),s&&s(!1))},[n,s,a,c]),f=l(d),p=(0,o.useCallback)(e=>{if(!(0,B.sD)(e.currentTarget,e.target))return;let t=(0,x.TW)(e.target),n=(0,B.bq)(t);if(!a.current.isFocusWithin&&n===(0,B.wt)(e.nativeEvent)){i&&i(e),s&&s(!0),a.current.isFocusWithin=!0,f(e);let n=e.currentTarget;u(t,"focus",e=>{if(a.current.isFocusWithin&&!(0,B.sD)(n,e.target)){let o=new t.defaultView.FocusEvent("blur",{relatedTarget:e.target});Object.defineProperty(o,"target",{value:n}),Object.defineProperty(o,"currentTarget",{value:n}),d(r(o))}},{capture:!0})}},[i,s,f,u,d]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:p,onBlur:d}}}({isDisabled:!s,onFocusWithinChange:h});return{isFocused:u,isFocusVisible:d,focusProps:s?g:v}}},9065:(e,t,n)=>{"use strict";n.d(t,{r:()=>s,s:()=>a});var o=n(5834),i=n(1749),r=n(8158),l=(e=>(e[e.Ignore=0]="Ignore",e[e.Select=1]="Select",e[e.Close=2]="Close",e))(l||{});let s={Ignore:{kind:0},Select:e=>({kind:1,target:e}),Close:{kind:2}};function a(e,{trigger:t,action:n,close:l,select:s}){let a=(0,o.useRef)(null),u=(0,o.useRef)(null),c=(0,o.useRef)(null);(0,r.z)(e&&null!==t,"pointerdown",e=>{i.Ll(null==e?void 0:e.target)&&null!=t&&t.contains(e.target)&&(u.current=e.x,c.current=e.y,a.current=e.timeStamp)}),(0,r.z)(e&&null!==t,"pointerup",e=>{var t,o;let r=a.current;if(null===r||(a.current=null,!i.Lk(e.target))||5>Math.abs(e.x-(null!=(t=u.current)?t:e.x))&&5>Math.abs(e.y-(null!=(o=c.current)?o:e.y)))return;let d=n(e);switch(d.kind){case 0:return;case 1:e.timeStamp-r>200&&(s(d.target),l());break;case 2:l()}},{capture:!0})}},9364:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var o=n(5834);function i(e,t){return(0,o.useMemo)(()=>{var n;if(e.type)return e.type;let o=null!=(n=e.as)?n:"button";if("string"==typeof o&&"button"===o.toLowerCase()||(null==t?void 0:t.tagName)==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}},9577:(e,t,n)=>{"use strict";n.d(t,{JU:()=>v,b0:()=>h,o2:()=>p});var o=n(5834),i=n(7546),r=n(2238),l=n(7478),s=n(962),a=n(4349),u=n(400),c=n(1749),d=n(8919);let f=(0,o.createContext)(null);function p(e){var t,n,i;let r=null!=(n=null==(t=(0,o.useContext)(f))?void 0:t.value)?n:void 0;return(null!=(i=null==e?void 0:e.length)?i:0)>0?[r,...e].filter(Boolean).join(" "):r}function h({inherit:e=!1}={}){let t=p(),[n,r]=(0,o.useState)([]),l=e?[t,...n].filter(Boolean):n;return[l.length>0?l.join(" "):void 0,(0,o.useMemo)(()=>function(e){let t=(0,i._)(e=>(r(t=>[...t,e]),()=>r(t=>{let n=t.slice(),o=n.indexOf(e);return -1!==o&&n.splice(o,1),n}))),n=(0,o.useMemo)(()=>({register:t,slot:e.slot,name:e.name,props:e.props,value:e.value}),[t,e.slot,e.name,e.props,e.value]);return o.createElement(f.Provider,{value:n},e.children)},[r])]}f.displayName="LabelContext";let v=Object.assign((0,d.FX)(function(e,t){var n;let p=(0,o.useId)(),h=function e(){let t=(0,o.useContext)(f);if(null===t){let t=Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}(),v=(0,u.q)(),g=(0,a._)(),{id:m=`headlessui-label-${p}`,htmlFor:b=null!=v?v:null==(n=h.props)?void 0:n.htmlFor,passive:y=!1,...x}=e,E=(0,s.P)(t);(0,r.s)(()=>h.register(m),[m,h.register]);let w=(0,i._)(e=>{let t=e.currentTarget;if(!(e.target!==e.currentTarget&&c.H5(e.target))&&(c.kS(t)&&e.preventDefault(),h.props&&"onClick"in h.props&&"function"==typeof h.props.onClick&&h.props.onClick(e),c.kS(t))){let e=document.getElementById(t.htmlFor);if(e){let t=e.getAttribute("disabled");if("true"===t||""===t)return;let n=e.getAttribute("aria-disabled");if("true"===n||""===n)return;(c.A3(e)&&("file"===e.type||"radio"===e.type||"checkbox"===e.type)||"radio"===e.role||"checkbox"===e.role||"switch"===e.role)&&e.click(),e.focus({preventScroll:!0})}}}),S=(0,l._)({...h.slot,disabled:g||!1}),O={ref:E,...h.props,id:m,htmlFor:b,onClick:w};return y&&("onClick"in O&&(delete O.htmlFor,delete O.onClick),"onClick"in x&&delete x.onClick),(0,d.Ci)()({ourProps:O,theirProps:x,slot:S,defaultTag:b?"label":"div",name:h.name||"Label"})}),{})},9832:(e,t,n)=>{"use strict";function o(){return"undefined"!=typeof window}function i(e){return s(e)?(e.nodeName||"").toLowerCase():"#document"}function r(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function l(e){var t;return null==(t=(s(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function s(e){return!!o()&&(e instanceof Node||e instanceof r(e).Node)}function a(e){return!!o()&&(e instanceof Element||e instanceof r(e).Element)}function u(e){return!!o()&&(e instanceof HTMLElement||e instanceof r(e).HTMLElement)}function c(e){return!!o()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof r(e).ShadowRoot)}n.d(t,{$4:()=>k,CP:()=>T,L9:()=>C,Lv:()=>h,Tc:()=>w,Tf:()=>g,ZU:()=>f,_m:()=>I,ep:()=>l,eu:()=>O,gJ:()=>E,mq:()=>i,sQ:()=>x,sb:()=>u,v9:()=>function e(t,n,o){var i;void 0===n&&(n=[]),void 0===o&&(o=!0);let l=function e(t){let n=k(t);return O(n)?t.ownerDocument?t.ownerDocument.body:t.body:u(n)&&f(n)?n:e(n)}(t),s=l===(null==(i=t.ownerDocument)?void 0:i.body),a=r(l);
4if(s){let t=I(a);return n.concat(a,a.visualViewport||[],f(l)?l:[],t&&o?e(t):[])}return n.concat(l,e(l,[],o))},vq:()=>a,zk:()=>r});let d=new Set(["inline","contents"]);function f(e){let{overflow:t,overflowX:n,overflowY:o,display:i}=C(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!d.has(i)}let p=new Set(["table","td","th"]);function h(e){return p.has(i(e))}let v=[":popover-open",":modal"];function g(e){return v.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let m=["transform","translate","scale","rotate","perspective"],b=["transform","translate","scale","rotate","perspective","filter"],y=["paint","layout","strict","content"];function x(e){let t=w(),n=a(e)?C(e):e;return m.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||b.some(e=>(n.willChange||"").includes(e))||y.some(e=>(n.contain||"").includes(e))}function E(e){let t=k(e);for(;u(t)&&!O(t);){if(x(t))return t;if(g(t))break;t=k(t)}return null}function w(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let S=new Set(["html","body","#document"]);function O(e){return S.has(i(e))}function C(e){return r(e).getComputedStyle(e)}function T(e){return a(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function k(e){if("html"===i(e))return e;let t=e.assignedSlot||e.parentNode||c(e)&&e.host||l(e);return c(t)?t.host:t}function I(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}}}]);

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.