PageSourceSearch

https://www.hereyouart.com/_next/static/chunks/25422-edff2be6faa62885.js

js hereyouart.com collected 2026-10-08 09:22:44 UTC 25,251 bytes, 6 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3041,25422],{10855:(e,t,n)=>{n.d(t,{Y:()=>s});var r={success:{pattern:[{duration:30,intensity:.5},{delay:60,duration:40,intensity:1}]},warning:{pattern:[{duration:40,intensity:.8},{delay:100,duration:40,intensity:.6}]},error:{pattern:[{duration:40,intensity:.9},{delay:40,duration:40,intensity:.9},{delay:40,duration:40,intensity:.9}]},light:{pattern:[{duration:15,intensity:.4}]},medium:{pattern:[{duration:25,intensity:.7}]},heavy:{pattern:[{duration:35,intensity:1}]},soft:{pattern:[{duration:40,intensity:.5}]},rigid:{pattern:[{duration:10,intensity:1}]},selection:{pattern:[{duration:8,intensity:.3}]},nudge:{pattern:[{duration:80,intensity:.8},{delay:80,duration:50,intensity:.3}]},buzz:{pattern:[{duration:1e3,intensity:1}]}},i=0,a=class e{constructor(e){this.hapticLabel=null,this.domInitialized=!1,this.rafId=null,this.patternResolve=null,this.audioCtx=null,this.audioFilter=null,this.audioGain=null,this.audioBuffer=null,this.instanceId=++i,this.debug=e?.debug??!1,this.showSwitch=e?.showSwitch??!1}static{this.isSupported="u">typeof navigator&&"function"==typeof navigator.vibrate}async trigger(t=[{duration:25,intensity:.7}],n){let i=function(e){if("number"==typeof e)return{vibrations:[{duration:e}]};if("string"==typeof e){let t=r[e];return t?{vibrations:t.pattern.map(e=>({...e}))}:(console.warn(`[web-haptics] Unknown preset: "${e}"`),null)}if(Array.isArray(e)){if(0===e.length)return{vibrations:[]};if("number"==typeof e[0]){let t=[];for(let n=0;n<e.length;n+=2){let r=n>0?e[n-1]:0;t.push({...r>0&&{delay:r},duration:e[n]})}return{vibrations:t}}return{vibrations:e.map(e=>({...e}))}}return{vibrations:e.pattern.map(e=>({...e}))}}(t);if(!i)return;let{vibrations:a}=i;if(0===a.length)return;let o=Math.max(0,Math.min(1,n?.intensity??.5));for(let e of a)if(e.duration>1e3&&(e.duration=1e3),!Number.isFinite(e.duration)||e.duration<0||void 0!==e.delay&&(!Number.isFinite(e.delay)||e.delay<0))return void console.warn("[web-haptics] Invalid vibration values. Durations and delays must be finite non-negative numbers.");if(e.isSupported&&navigator.vibrate(function(e,t){let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=Math.max(0,Math.min(1,i.intensity??t)),o=i.delay??0;o>0&&(n.length>0&&n.length%2==0?n[n.length-1]+=o:(0===n.length&&n.push(0),n.push(o)));let s=function(e,t){if(t>=1)return[e];if(t<=0)return[];let n=Math.max(1,Math.round(20*t)),r=20-n,i=[],a=e;for(;a>=20;)i.push(n),i.push(r),a-=20;if(a>0){let e=Math.max(1,Math.round(a*t));i.push(e);let n=a-e;n>0&&i.push(n)}return i}(i.duration,a);if(0===s.length){n.length>0&&n.length%2==0?n[n.length-1]+=i.duration:i.duration>0&&(n.push(0),n.push(i.duration));continue}for(let e of s)n.push(e)}return n}(a,o)),!e.isSupported||this.debug){if(this.ensureDOM(),!this.hapticLabel)return;this.debug&&await this.ensureAudio(),this.stopPattern();let e=(a[0]?.delay??0)===0;if(e&&(this.hapticLabel.click(),this.debug&&this.audioCtx)){let e=Math.max(0,Math.min(1,a[0].intensity??o));this.playClick(e)}await this.runPattern(a,o,e)}}cancel(){this.stopPattern(),e.isSupported&&navigator.vibrate(0)}destroy(){this.stopPattern(),this.hapticLabel&&(this.hapticLabel.remove(),this.hapticLabel=null,this.domInitialized=!1),this.audioCtx&&(this.audioCtx.close(),this.audioCtx=null,this.audioFilter=null,this.audioGain=null,this.audioBuffer=null)}setDebug(e){this.debug=e,!e&&this.audioCtx&&(this.audioCtx.close(),this.audioCtx=null,this.audioFilter=null,this.audioGain=null,this.audioBuffer=null)}setShowSwitch(e){if(this.showSwitch=e,this.hapticLabel){let t=this.hapticLabel.querySelector("input");this.hapticLabel.style.display=e?"":"none",t&&(t.style.display=e?"":"none")}}stopPattern(){null!==this.rafId&&(cancelAnimationFrame(this.rafId),this.rafId=null),this.patternResolve?.(),this.patternResolve=null}runPattern(e,t,n){return new Promise(r=>{this.patternResolve=r;let i=[],a=0;for(let n of e){let e=Math.max(0,Math.min(1,n.intensity??t)),r=n.delay??0;r>0&&(a+=r,i.push({end:a,isOn:!1,intensity:0})),a+=n.duration,i.push({end:a,isOn:!0,intensity:e})}let o=a,s=0,l=-1,u=e=>{0===s&&(s=e);let t=e-s;if(t>=o){this.rafId=null,this.patternResolve=null,r();return}let a=i[0];for(let e of i)if(t<e.end){a=e;break}if(a.isOn){let t=16+(1-a.intensity)*184;-1===l?(l=e,n||(this.hapticLabel?.click(),this.debug&&this.audioCtx&&this.playClick(a.intensity),n=!0)):e-l>=t&&(this.hapticLabel?.click(),this.debug&&this.audioCtx&&this.playClick(a.intensity),l=e)}this.rafId=requestAnimationFrame(u)};this.rafId=requestAnimationFrame(u)})}playClick(e){if(!this.audioCtx||!this.audioFilter||!this.audioGain||!this.audioBuffer)return;let t=this.audioBuffer.getChannelData(0);for(let e=0;e<t.length;e++)t[e]=(2*Math.random()-1)*Math.exp(-e/25);this.audioGain.gain.value=.5*e;let n=1+(Math.random()-.5)*.3;this.audioFilter.frequency.value=(2e3+2e3*e)*n;let r=this.audioCtx.createBufferSource();r.buffer=this.audioBuffer,r.connect(this.audioFilter),r.onended=()=>r.disconnect(),r.start()}async ensureAudio(){if(!this.audioCtx&&"u">typeof AudioContext){this.audioCtx=new AudioContext,this.audioFilter=this.audioCtx.createBiquadFilter(),this.audioFilter.type="bandpass",this.audioFilter.frequency.value=4e3,this.audioFilter.Q.value=8,this.audioGain=this.audioCtx.createGain(),this.audioFilter.connect(this.audioGain),this.audioGain.connect(this.audioCtx.destination),this.audioBuffer=this.audioCtx.createBuffer(1,.004*this.audioCtx.sampleRate,this.audioCtx.sampleRate);let e=this.audioBuffer.getChannelData(0);for(let t=0;t<e.length;t++)e[t]=(2*Math.random()-1)*Math.exp(-t/25)}this.audioCtx?.state==="suspended"&&await this.audioCtx.resume()}ensureDOM(){if(this.domInitialized||typeof document>"u")return;let e=`web-haptics-${this.instanceId}`,t=document.createElement("label");t.setAttribute("for",e),t.textContent="Haptic feedback",t.style.position="fixed",t.style.bottom="10px",t.style.left="10px",t.style.padding="5px 10px",t.style.backgroundColor="rgba(0, 0, 0, 0.7)",t.style.color="white",t.style.fontFamily="sans-serif",t.style.fontSize="14px",t.style.borderRadius="4px",t.style.zIndex="9999",t.style.userSelect="none",this.hapticLabel=t;let n=document.createElement("input");n.type="checkbox",n.setAttribute("switch",""),n.id=e,n.style.all="initial",n.style.appearance="auto",this.showSwitch||(t.style.display="none",n.style.display="none"),t.appendChild(n),document.body.appendChild(t),this.domInitialized=!0}},o=n(81327);function s(e){let t=(0,o.useRef)(null);return(0,o.useEffect)(()=>
1(t.current=new a(e),()=>{t.current?.destroy(),t.current=null}),[]),(0,o.useEffect)(()=>{t.current?.setDebug(e?.debug??!1)},[e?.debug]),(0,o.useEffect)(()=>{t.current?.setShowSwitch(e?.showSwitch??!1)},[e?.showSwitch]),{trigger:(0,o.useCallback)((e,n)=>t.current?.trigger(e,n),[]),cancel:(0,o.useCallback)(()=>t.current?.cancel(),[]),isSupported:a.isSupported}}},13208:(e,t,n)=>{n.d(t,{Ke:()=>R,R6:()=>w,UC:()=>P,bL:()=>I,l9:()=>A,z3:()=>v});var r=n(81327),i=n(26146),a=n(52905),o=n(83569),s=n(30002),l=n(52431),u=n(11470),d=n(79895),c=n(59802),f=n(1223),h=Object.defineProperty,p=(e,t)=>h(e,"name",{value:t,configurable:!0}),b="Collapsible",[m,v]=(0,a.A)(b),[g,y]=m(b),x=r.forwardRef(p(function(e,t){let{__scopeCollapsible:n,open:i,defaultOpen:a,disabled:s,onOpenChange:l,...d}=e,[h,p]=(0,o.i)({prop:i,defaultProp:a??!1,onChange:l,caller:b});return(0,f.jsx)(g,{scope:n,disabled:s,contentId:(0,c.B)(),open:h,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),children:(0,f.jsx)(u.sG.div,{"data-state":j(h),"data-disabled":s?"":void 0,...d,ref:t})})},"Collapsible")),w=r.forwardRef(p(function(e,t){let{__scopeCollapsible:n,...r}=e,a=y("CollapsibleTrigger",n);return(0,f.jsx)(u.sG.button,{type:"button","aria-controls":a.open?a.contentId:void 0,"aria-expanded":a.open||!1,"data-state":j(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...r,ref:t,onClick:(0,i.mK)(e.onClick,a.onOpenToggle)})},"CollapsibleTrigger")),C="CollapsibleContent",R=r.forwardRef(p(function(e,t){let{forceMount:n,...r}=e,i=y(C,e.__scopeCollapsible);return(0,f.jsx)(d.C,{present:n||i.open,children:({present:e})=>(0,f.jsx)(k,{...r,ref:t,present:e})})},"CollapsibleContent")),k=r.forwardRef(p(function(e,t){let{__scopeCollapsible:n,present:i,children:a,...o}=e,d=y(C,n),[c,h]=r.useState(i),p=r.useRef(null),b=(0,l.s)(t,p),m=r.useRef(0),v=m.current,g=r.useRef(0),x=g.current,w=d.open||c,R=r.useRef(w),k=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>R.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,s.N)(()=>{let e=p.current;if(e){k.current=k.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();m.current=t.height,g.current=t.width,R.current||(e.style.transitionDuration=k.current.transitionDuration,e.style.animationName=k.current.animationName),h(i)}},[d.open,i]),(0,f.jsx)(u.sG.div,{"data-state":j(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!w,...o,ref:b,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":x?`${x}px`:void 0,...e.style},children:w&&a})},"CollapsibleContentImpl"));function j(e){return e?"open":"closed"}p(j,"getState");var I=x,A=w,P=R},34547:(e,t,n)=>{n.d(t,{UC:()=>U,Y9:()=>H,bL:()=>q,l9:()=>V,q7:()=>$});var r=n(81327),i=n(52905),a=n(40030),o=n(52431),s=n(26146),l=n(83569),u=n(11470),d=n(13208),c=n(59802),f=n(79878),h=n(1223),p=Object.defineProperty,b=(e,t)=>p(e,"name",{value:t,configurable:!0}),m="Accordion",v=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[g,y,x]=(0,a.N)(m),[w,C]=(0,i.A)(m,[x,d.z3]),R=(0,d.z3)(),k=r.forwardRef(b(function(e,t){let{type:n,...r}=e;return(0,h.jsx)(g.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,h.jsx)(G,{...r,ref:t}):(0,h.jsx)(E,{...r,ref:t})})},"Accordion")),[j,I]=w(m),[A,P]=w(m,{collapsible:!1}),E=r.forwardRef(b(function(e,t){let{value:n,defaultValue:i,onValueChange:a=b(()=>{},"onValueChange"),collapsible:o=!1,...s}=e,[u,d]=(0,l.i)({prop:n,defaultProp:i??"",onChange:a,caller:m});return(0,h.jsx)(j,{scope:e.__scopeAccordion,value:r.useMemo(()=>u?[u]:[],[u]),onItemOpen:d,onItemClose:r.useCallback(()=>o&&d(""),[o,d]),children:(0,h.jsx)(A,{scope:e.__scopeAccordion,collapsible:o,children:(0,h.jsx)(D,{...s,ref:t})})})},"AccordionImplSingle")),G=r.forwardRef(b(function(e,t){let{value:n,defaultValue:i,onValueChange:a=b(()=>{},"onValueChange"),...o}=e,[s,u]=(0,l.i)({prop:n,defaultProp:i??[],onChange:a,caller:m}),d=r.useCallback(e=>u((t=[])=>[...t,e]),[u]),c=r.useCallback(e=>u((t=[])=>t.filter(t=>t!==e)),[u]);return(0,h.jsx)(j,{scope:e.__scopeAccordion,value:s,onItemOpen:d,onItemClose:c,children:(0,h.jsx)(A,{scope:e.__scopeAccordion,collapsible:!0,children:(0,h.jsx)(D,{...o,ref:t})})})},"AccordionImplMultiple")),[S,L]=w(m),D=r.forwardRef(b(function(e,t){let{__scopeAccordion:n,disabled:i,dir:a,orientation:l="vertical",...d}=e,c=r.useRef(null),p=(0,o.s)(c,t),m=y(n),x="ltr"===(0,f.jH)(a),w=(0,s.mK)(e.onKeyDown,e=>
1{if(!v.includes(e.key))return;let t=e.target,n=m().filter(e=>!e.ref.current?.disabled),r=n.findIndex(e=>e.ref.current===t),i=n.length;if(-1===r)return;e.preventDefault();let a=r,o=i-1,s=b(()=>{(a=r+1)>o&&(a=0)},"moveNext"),u=b(()=>{(a=r-1)<0&&(a=o)},"movePrev");switch(e.key){case"Home":a=0;break;case"End":a=o;break;case"ArrowRight":"horizontal"===l&&(x?s():u());break;case"ArrowDown":"vertical"===l&&s();break;case"ArrowLeft":"horizontal"===l&&(x?u():s());break;case"ArrowUp":"vertical"===l&&u()}let d=a%i;n[d].ref.current?.focus()});return(0,h.jsx)(S,{scope:n,disabled:i,direction:a,orientation:l,children:(0,h.jsx)(g.Slot,{scope:n,children:(0,h.jsx)(u.sG.div,{...d,"data-orientation":l,ref:p,onKeyDown:i?void 0:w})})})},"AccordionImpl")),M="AccordionItem",[F,_]=w(M),O=r.forwardRef(b(function(e,t){let{__scopeAccordion:n,value:r,...i}=e,a=L(M,n),o=I(M,n),s=R(n),l=(0,c.B)(),u=r&&o.value.includes(r)||!1,f=a.disabled||e.disabled;return(0,h.jsx)(F,{scope:n,open:u,disabled:f,triggerId:l,children:(0,h.jsx)(d.bL,{"data-orientation":a.orientation,"data-state":z(u),...s,...i,ref:t,disabled:f,open:u,onOpenChange:e=>{e?o.onItemOpen(r):o.onItemClose(r)}})})},"AccordionItem")),B=r.forwardRef(b(function(e,t){let{__scopeAccordion:n,...r}=e,i=L(m,n),a=_("AccordionHeader",n);return(0,h.jsx)(u.sG.h3,{"data-orientation":i.orientation,"data-state":z(a.open),"data-disabled":a.disabled?"":void 0,...r,ref:t})},"AccordionHeader")),N="AccordionTrigger",K=r.forwardRef(b(function(e,t){let{__scopeAccordion:n,...r}=e,i=L(m,n),a=_(N,n),o=P(N,n),s=R(n);return(0,h.jsx)(g.ItemSlot,{scope:n,children:(0,h.jsx)(d.l9,{"aria-disabled":a.open&&!o.collapsible||void 0,"data-orientation":i.orientation,id:a.triggerId,...s,...r,ref:t})})},"AccordionTrigger")),T=r.forwardRef(b(function(e,t){let{__scopeAccordion:n,...r}=e,i=L(m,n),a=_("AccordionContent",n),o=R(n);return(0,h.jsx)(d.UC,{role:"region","aria-labelledby":a.triggerId,"data-orientation":i.orientation,...o,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})},"AccordionContent"));function z(e){return e?"open":"closed"}b(z,"getState");var q=k,$=O,H=B,V=K,U=T},34723:(e,t,n)=>{n.d(t,{b:()=>s});var r=n(81327),i=n(11470),a=n(1223),o=Object.defineProperty,s=r.forwardRef(o(function(e,t){return(0,a.jsx)(i.sG.label,{...e,ref:t,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}})},"name",{value:"Label",configurable:!0}))},57105:(e,t,n)=>{n.d(t,{C1:()=>k,bL:()=>R});var r=n(81327),i=n(52905),a=n(11470),o=n(1223),s=Object.defineProperty,l=(e,t)=>s(e,"name",{value:t,configurable:!0}),u="Progress",[d,c]=(0,i.A)(u),[f,h]=d(u),p=r.forwardRef(l(function(e,t){let{__scopeProgress:n,value:r=null,max:i,getValueLabel:s=m,...l}=e;(i||0===i)&&!y(i)&&console.error(w(`${i}`,"Progress"));let u=y(i)?i:100;null===r||x(r,u)||console.error(C(`${r}`,"Progress"));let d=x(r,u)?r:null,c=g(d)?s(d,u):void 0;return(0,o.jsx)(f,{scope:n,value:d,max:u,children:(0,o.jsx)(a.sG.div,{"aria-valuemax":u,"aria-valuemin":0,"aria-valuenow":g(d)?d:void 0,"aria-valuetext":c,role:"progressbar","data-state":v(d,u),"data-value":d??void 0,"data-max":u,...l,ref:t})})},"Progress")),b=r.forwardRef(l(function(e,t){let{__scopeProgress:n,...r}=e,i=h("ProgressIndicator",n);return(0,o.jsx)(a.sG.div,{"data-state":v(i.value,i.max),"data-value":i.value??void 0,"data-max":i.max,...r,ref:t})},"ProgressIndicator"));function m(e,t){return`${Math.round(e/t*100)}%`}function v(e,t){return null==e?"indeterminate":e===t?"complete":"loading"}function g(e){return"number"==typeof e}function y(e){return g(e)&&!isNaN(e)&&e>0}function x(e,t){return g(e)&&!isNaN(e)&&e<=t&&e>=0}function w(e,t){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`100\`.`}function C(e,t){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
2  - a positive number
3  - less than the value passed to \`max\` (or 100 if no \`max\` prop is set)
4  - \`null\` or \`undefined\` if the progress is indeterminate.
5
6Defaulting to \`null\`.`}l(m,"defaultGetValueLabel"),l(v,"getProgressState"),l(g,"isNumber"),l(y,"isValidMaxNumber"),l(x,"isValidValueNumber"),l(w,"getInvalidMaxError"),l(C,"getInvalidValueError");var R=p,k=b},74596:(e,t,n)=>{n.d(t,{C1:()=>C,bL:()=>w});var r=n(81327),i=n(52431),a=n(52905),o=n(26146),s=n(83569),l=n(41030),u=n(79895),d=n(11470),c=n(1223),f=Object.defineProperty,h=(e,t)=>f(e,"name",{value:t,configurable:!0}),p="Checkbox",[b,m]=(0,a.A)(p),[v,g]=b(p);function y(e){let{__scopeCheckbox:t,checked:n,children:i,defaultChecked:a,disabled:o,form:l,name:u,onCheckedChange:d,required:f,value:h="on",internal_do_not_use_render:b}=e,[m,g]=(0,s.i)({prop:n,defaultProp:a??!1,onChange:d,caller:p}),[y,x]=r.useState(null),[w,C]=r.useState(null),R=r.useRef(!1),[I,A]=r.useReducer(e=>e+1,0),P=!y||!!l||!!y.closest("form"),E={checked:m,disabled:o,setChecked:g,control:y,setControl:x,name:u,form:l,value:h,hasConsumerStoppedPropagationRef:R,userInteractionCount:I,onUserInteraction:A,required:f,defaultChecked:!j(a)&&a,isFormControl:P,bubbleInput:w,setBubbleInput:C};return(0,c.jsx)(v,{scope:t,...E,children:k(b)?b(E):i})}
6h(y,"CheckboxProvider");var x=r.forwardRef(h(function({__scopeCheckbox:e,onKeyDown:t,onClick:n,...a},s){let{control:l,value:u,disabled:f,checked:p,required:b,setControl:m,setChecked:v,hasConsumerStoppedPropagationRef:y,onUserInteraction:x,isFormControl:w,bubbleInput:C}=g("CheckboxTrigger",e),R=(0,i.s)(s,m),k=r.useRef(p);return r.useEffect(()=>{let e=l?.form;if(e){let t=h(()=>v(k.current),"reset");return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[l,v]),(0,c.jsx)(d.sG.button,{type:"button",role:"checkbox","aria-checked":j(p)?"mixed":p,"aria-required":b,"data-state":I(p),"data-disabled":f?"":void 0,disabled:f,value:u,...a,ref:R,onKeyDown:(0,o.mK)(t,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,o.mK)(n,e=>{x(),v(e=>!!j(e)||!e),C&&w&&(y.current=e.isPropagationStopped(),y.current||e.stopPropagation())})})},"CheckboxTrigger")),w=r.forwardRef(h(function(e,t){let{__scopeCheckbox:n,name:r,checked:i,defaultChecked:a,required:o,disabled:s,value:l,onCheckedChange:u,form:d,...f}=e;return(0,c.jsx)(y,{__scopeCheckbox:n,checked:i,defaultChecked:a,disabled:s,required:o,onCheckedChange:u,name:r,form:d,value:l,internal_do_not_use_render:({isFormControl:e})=>(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(x,{...f,ref:t,__scopeCheckbox:n}),e&&(0,c.jsx)(R,{__scopeCheckbox:n})]})})},"Checkbox")),C=r.forwardRef(h(function(e,t){let{__scopeCheckbox:n,forceMount:r,...i}=e,a=g("CheckboxIndicator",n);return(0,c.jsx)(u.C,{present:r||j(a.checked)||!0===a.checked,children:(0,c.jsx)(d.sG.span,{"data-state":I(a.checked),"data-disabled":a.disabled?"":void 0,...i,ref:t,style:{pointerEvents:"none",...e.style}})})},"CheckboxIndicator")),R=r.forwardRef(h(function({__scopeCheckbox:e,onClick:t,...n},a){let{control:s,hasConsumerStoppedPropagationRef:u,userInteractionCount:f,checked:h,defaultChecked:p,required:b,disabled:m,name:v,value:y,form:x,bubbleInput:w,setBubbleInput:C}=g("CheckboxBubbleInput",e),R=(0,i.s)(a,C),k=(0,l.X)(s),I=r.useRef(!1),A=r.useRef(h),P=r.useRef(f);r.useEffect(()=>{if(!w)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=f!==P.current;P.current=f;let n=A.current!==h;A.current=h;let r=!(t&&u.current);if(n&&e){I.current=!t;let n=new Event("click",{bubbles:r});w.indeterminate=j(h),e.call(w,!j(h)&&h),w.dispatchEvent(n),I.current=!1}},[w,h,u,f]);let E=r.useRef(!j(h)&&h);return(0,c.jsx)(d.sG.input,{type:"checkbox","aria-hidden":!0,defaultChecked:p??E.current,required:b,disabled:m,name:v,value:y,form:x,...n,tabIndex:-1,ref:R,onClick:(0,o.mK)(t,e=>{I.current&&e.stopPropagation()}),style:{...n.style,...k,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"CheckboxBubbleInput"));function k(e){return"function"==typeof e}function j(e){return"indeterminate"===e}function I(e){return j(e)?"indeterminate":e?"checked":"unchecked"}h(k,"isFunction"),h(j,"isIndeterminate"),h(I,"getState")},80872:(e,t,n)=>{n.d(t,{C1:()=>K,bL:()=>F,q7:()=>B});var r=n(81327),i=n(26146),a=n(52431),o=n(52905),s=n(11470),l=n(73715),u=n(83569),d=n(79878),c=n(41030),f=n(79895),h=n(1223),p=Object.defineProperty,b=(e,t)=>p(e,"name",{value:t,configurable:!0}),m="Radio",[v,g]=(0,o.A)(m),[y,x]=v(m);function w(e){let{__scopeRadio:t,checked:n=!1,children:i,disabled:a,form:o,name:s,onCheck:l,required:u,value:d="on",internal_do_not_use_render:c}=e,[f,p]=r.useState(null),[m,v]=r.useState(null),g=r.useRef(!1),[x,w]=r.useReducer(e=>e+1,0),C=!f||!!o||!!f.closest("form"),R={checked:n,disabled:a,required:u,name:s,form:o,value:d,control:f,setControl:p,hasConsumerStoppedPropagationRef:g,userInteractionCount:x,onUserInteraction:w,isFormControl:C,bubbleInput:m,setBubbleInput:v,onCheck:b(()=>l?.(),"onCheck")};return(0,h.jsx)(y,{scope:t,...R,children:j(c)?c(R):i})}b(w,"RadioProvider");var C=r.forwardRef(b(function({__scopeRadio:e,onClick:t,...n},r){let{checked:o,disabled:l,value:u,setControl:d,onCheck:c,hasConsumerStoppedPropagationRef:f,onUserInteraction:p,isFormControl:b,bubbleInput:m}=x("RadioTrigger",e),v=(0,a.s)(r,d);return(0,h.jsx)(s.sG.button,{type:"button",role:"radio","aria-checked":o,"data-state":I(o),"data-disabled":l?"":void 0,disabled:l,value:u,...n,ref:v,onClick:(0,i.mK)(t,e=>{o||(p(),c()),m&&b&&(f.current=e.isPropagationStopped(),f.current||e.stopPropagation())})})},"RadioTrigger")),R=r.forwardRef(b(function(e,t){let{__scopeRadio:n,forceMount:r,...i}=e,a=x("RadioIndicator",n);return(0,h.jsx)(f.C,{present:r||a.checked,children:(0,h.jsx)(s.sG.span,{"data-state":I(a.checked),"data-disabled":a.disabled?"":void 0,...i,ref:t})})},"RadioIndicator")),k=r.forwardRef(b(function({__scopeRadio:e,onClick:t,...n},o){let{control:l,checked:u,required:d,disabled:f,name:p,value:b,form:m,bubbleInput:v,setBubbleInput:g,hasConsumerStoppedPropagationRef:y,userInteractionCount:w}=x("RadioBubbleInput",e),C=(0,a.s)(o,g),R=(0,c.X)(l),k=r.useRef(!1),j=r.useRef(u),I=r.useRef(w);r.useEffect(()=>{if(!v)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=w!==I.current;I.current=w;let n=j.current!==u;j.current=u;let r=!(t&&y.current);if(n&&e){k.current=!t;let n=new Event("click",{bubbles:r});e.call(v,u),v.dispatchEvent(n),k.current=!1}},[v,u,y,w]);let A=r.useRef(u);return(0,h.jsx)(s.sG.input,{type:"radio","aria-hidden":!0,defaultChecked:A.current,required:d,disabled:f,name:p,value:b,form:m,...n,tabIndex:-1,ref:C,onClick:(0,i.mK)(t,e=>{k.current&&e.stopPropagation()}),style:{...n.style,...R,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"RadioBubbleInput"));function j(e){return"function"==typeof e}function I(e){return e?"checked":"unchecked"}b(j,"isFunction"),b(I,"getState");var A=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],P="RadioGroup",[E,G]=(0,o.A)(P,[l.RG,g]),S=(0,l.RG)(),L=g(),[D,M]=E(P),F=r.forwardRef(b(function(e,t){let{__scopeRadioGroup:n,name:i,form:o,defaultValue:c,value:f,required:p=!1,disabled:m=!1,orientation:v,dir:g,loop:y=!0,onValueChange:x,...w}=e,C=S(n),R=(0,d.jH)(g),[k,j]=(0,u.i)({prop:f,defaultProp:c??null,onChange:x,caller:P}),[I,A]=r.useState(null),E=(0,a.s)(t,A),G=r.useRef(k);return r.useEffect(()=>{let e=o?I?.ownerDocument.getElementById(o):I?.closest("form");if(e instanceof HTMLFormElement){let t=b(()=>j(G.current),"reset");return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[I,o,j]),(0,h.jsx)(D,{scope:n,name:i,form:o,required:p,disabled:m,value:k,onValueChange:j,children:(0,h.jsx)(l.bL,{asChild:!0,...C,orientation:v,dir:R,loop:y,children:(0,h.jsx)(s.sG.div,{role:"radiogroup","aria-required":p,"aria-orientation":v,"data-disabled":m?"":void 0,dir:R,...w,ref:E})})})},"RadioGroup"));function _(e){let{__scopeRadioGroup:t,value:n,disabled:r,children:i,internal_do_not_use_render:a}=e,o=M("RadioGroupItemProvider",t),s=L(t),l=o.disabled||r;return(0,h.jsx)(w,{...s,checked:o.value===n,disabled:l,required:o.required,name:o.name,form:o.form,value:n,onCheck:()=>o.onValueChange(n),internal_do_not_use_render:a,children:i})}b(_,"RadioGroupItemProvider");var O=r.forwardRef(b(function(e,t){let{__scopeRadioGroup:n,...o}=e,s=S(n),u=L(n),{checked:d,disabled:c}=x("RadioGroupItemTrigger",u.__scopeRadio),f=r.useRef(null),p=(0,a.s)(t,f),m=r.useRef(!1);return r.useEffect(()=>{let e=b(e=>
6{A.includes(e.key)&&(m.current=!0)},"handleKeyDown"),t=b(()=>m.current=!1,"handleKeyUp");return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,h.jsx)(l.q7,{asChild:!0,...s,focusable:!c,active:d,children:(0,h.jsx)(C,{...u,...o,ref:p,onKeyDown:(0,i.mK)(o.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,i.mK)(o.onFocus,()=>{m.current&&f.current?.click()})})})},"RadioGroupItemTrigger")),B=r.forwardRef(b(function(e,t){let{__scopeRadioGroup:n,value:r,disabled:i,...a}=e;return(0,h.jsx)(_,{__scopeRadioGroup:n,value:r,disabled:i,internal_do_not_use_render:({isFormControl:e})=>(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(O,{...a,ref:t,__scopeRadioGroup:n}),e&&(0,h.jsx)(N,{__scopeRadioGroup:n})]})})},"RadioGroupItem")),N=r.forwardRef(b(function(e,t){let{__scopeRadioGroup:n,...r}=e,i=L(n);return(0,h.jsx)(k,{...i,...r,ref:t})},"RadioGroupItemBubbleInput")),K=r.forwardRef(b(function(e,t){let{__scopeRadioGroup:n,...r}=e,i=L(n);return(0,h.jsx)(R,{...i,...r,ref:t})},"RadioGroupIndicator"))},82590:(e,t,n)=>{n.d(t,{b:()=>f});var r=n(81327),i=n(11470),a=n(1223),o=Object.defineProperty,s=(e,t)=>o(e,"name",{value:t,configurable:!0}),l="horizontal",u=["horizontal","vertical"],d=r.forwardRef(s(function(e,t){let{decorative:n,orientation:r=l,...o}=e,s=c(r)?r:l;return(0,a.jsx)(i.sG.div,{"data-orientation":s,...n?{role:"none"}:{"aria-orientation":"vertical"===s?s:void 0,role:"separator"},...o,ref:t})},"Separator"));function c(e){return u.includes(e)}s(c,"isValidOrientation");var f=d}}]);

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.