PageSourceSearch

https://websec.net/_next/static/chunks/6954-90c9b109e7d2af43.js

js websec.net collected 2026-10-01 13:52:16 UTC 7,533 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6954],{33847:function(e,r,t){t.d(r,{Z:function(){return n}});let n=(0,t(83039).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},7484:function(e,r,t){t.d(r,{ck:function(){return K},fC:function(){return G},z$:function(){return V}});var n=t(7198),o=t(19962),a=t(55129),u=t(22892),i=t(74057),l=t(62754),c=t(21014),s=t(9333),d=t(45011),f=t(4186),p=t(50903),v=t(2223),m="Radio",[b,h]=(0,u.b)(m),[w,y]=b(m),k=n.forwardRef((e,r)=>{let{__scopeRadio:t,name:u,checked:l=!1,required:c,disabled:s,value:d="on",onCheck:f,form:p,...m}=e,[b,h]=n.useState(null),y=(0,a.e)(r,e=>h(e)),k=n.useRef(!1),g=!b||p||!!b.closest("form");return(0,v.jsxs)(w,{scope:t,checked:l,disabled:s,children:[(0,v.jsx)(i.WV.button,{type:"button",role:"radio","aria-checked":l,"data-state":x(l),"data-disabled":s?"":void 0,disabled:s,value:d,...m,ref:y,onClick:(0,o.Mj)(e.onClick,e=>{l||f?.(),g&&(k.current=e.isPropagationStopped(),k.current||e.stopPropagation())})}),g&&(0,v.jsx)(R,{control:b,bubbles:!k.current,name:u,value:d,checked:l,required:c,disabled:s,form:p,style:{transform:"translateX(-100%)"}})]})});k.displayName=m;var g="RadioIndicator",j=n.forwardRef((e,r)=>{let{__scopeRadio:t,forceMount:n,...o}=e,a=y(g,t);return(0,v.jsx)(p.z,{present:n||a.checked,children:(0,v.jsx)(i.WV.span,{"data-state":x(a.checked),"data-disabled":a.disabled?"":void 0,...o,ref:r})})});j.displayName=g;var R=n.forwardRef(({__scopeRadio:e,control:r,checked:t,bubbles:o=!0,...u},l)=>{let c=n.useRef(null),s=(0,a.e)(c,l),p=(0,f.D)(t),m=(0,d.t)(r);return n.useEffect(()=>{let e=c.current;if(!e)return;let r=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(p!==t&&r){let n=new Event("click",{bubbles:o});r.call(e,t),e.dispatchEvent(n)}},[p,t,o]),(0,v.jsx)(i.WV.input,{type:"radio","aria-hidden":!0,defaultChecked:t,...u,tabIndex:-1,ref:s,style:{...u.style,...m,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function x(e){return e?"checked":"unchecked"}R.displayName="RadioBubbleInput";var E=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],C="RadioGroup",[I,A]=(0,u.b)(C,[l.Pc,h]),F=(0,l.Pc)(),D=h(),[M,T]=I(C),P=n.forwardRef((e,r)=>{let{__scopeRadioGroup:t,name:n,defaultValue:o,value:a,required:u=!1,disabled:d=!1,orientation:f,dir:p,loop:m=!0,onValueChange:b,...h}=e,w=F(t),y=(0,s.gm)(p),[k,g]=(0,c.T)({prop:a,defaultProp:o??null,onChange:b,caller:C});return(0,v.jsx)(M,{scope:t,name:n,required:u,disabled:d,value:k,onValueChange:g,children:(0,v.jsx)(l.fC,{asChild:!0,...w,orientation:f,dir:y,loop:m,children:(0,v.jsx)(i.WV.div,{role:"radiogroup","aria-required":u,"aria-orientation":f,"data-disabled":d?"":void 0,dir:y,...h,ref:r})})})});P.displayName=C;var L="RadioGroupItem",S=n.forwardRef((e,r)=>{let{__scopeRadioGroup:t,disabled:u,...i}=e,c=T(L,t),s=c.disabled||u,d=F(t),f=D(t),p=n.useRef(null),m=(0,a.e)(r,p),b=c.value===i.value,h=n.useRef(!1);return n.useEffect(()=>{let e=e=>{E.includes(e.key)&&(h.current=!0)},r=()=>h.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",r),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",r)}},[]),(0,v.jsx)(l.ck,{asChild:!0,...d,focusable:!s,active:b,children:(0,v.jsx)(k,{disabled:s,required:c.required,checked:b,...f,...i,name:c.name,ref:m,onCheck:()=>c.onValueChange(i.value),onKeyDown:(0,o.Mj)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,o.Mj)(i.onFocus,()=>{h.current&&p.current?.click()})})})});S.displayName=L;var N=n.forwardRef((e,r)=>{let{__scopeRadioGroup:t,...n}=e,o=D(t);return(0,v.jsx)(j,{...o,...n,ref:r})});N.displayName="RadioGroupIndicator";var G=P,K=S,V=N},62754:function(e,r,t){t.d(r,{Pc:function(){return g},ck:function(){return M},fC:function(){return D}});var n=t(7198),o=t(19962),a=t(93828),u=t(55129),i=t(22892),l=t(34225),c=t(74057),s=t(31104),d=t(21014),f=t(9333),p=t(2223),v="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},b="RovingFocusGroup",[h,w,y]=(0,a.B)(b),[k,g]=(0,i.b)(b,[y]),[j,R]=k(b),x=n.forwardRef((e,r)=>(0,p.jsx)(h.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(h.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(E,{...e,ref:r})})}));x.displayName=b;var E=n.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,orientation:a,loop:i=!1,dir:l,currentTabStopId:h,defaultCurrentTabStopId:y,onCurrentTabStopIdChange:k,onEntryFocus:g,preventScrollOnEntryFocus:R=!1,...x}=e,E=n.useRef(null),C=(0,u.e)(r,E),I=(0,f.gm)(l),[A,D]=(0,d.T)({prop:h,defaultProp:y??null,onChange:k,caller:b}),[M,T]=n.useState(!1),P=(0,s.W)(g),L=w(t),S=n.useRef(!1),[N,G]=n.useState(0);return n.useEffect(()=>{let e=E.current;if(e)return e.addEventListener(v,P),()=>e.removeEventListener(v,P)},[P]),(0,p.jsx)(j,{scope:t,orientation:a,dir:I,loop:i,currentTabStopId:A,onItemFocus:n.useCallback(e=>D(e),[D]),onItemShiftTab:n.useCallback(()=>T(!0),[]),onFocusableItemAdd:n.useCallback(()=>G(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>G(e=>e-1),[]),children:(0,p.jsx)(c.WV.div,{tabIndex:M||0===N?-1:0,"data-orientation":a,...x,ref:C,style:{outline:"none",...e.style},onMouseDown:(0,o.Mj)(e.onMouseDown,()=>{S.current=!0}),onFocus:(0,o.Mj)(e.onFocus,e=>{let r=!S.current;if(e.target===e.currentTarget&&r&&!M){let r=new CustomEvent(v,m);if(e.currentTarget.dispatchEvent(r),!r.defaultPrevented){let e=L().filter(e=>
1e.focusable);F([e.find(e=>e.active),e.find(e=>e.id===A),...e].filter(Boolean).map(e=>e.ref.current),R)}}S.current=!1}),onBlur:(0,o.Mj)(e.onBlur,()=>T(!1))})})}),C="RovingFocusGroupItem",I=n.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,focusable:a=!0,active:u=!1,tabStopId:i,children:s,...d}=e,f=(0,l.M)(),v=i||f,m=R(C,t),b=m.currentTabStopId===v,y=w(t),{onFocusableItemAdd:k,onFocusableItemRemove:g,currentTabStopId:j}=m;return n.useEffect(()=>{if(a)return k(),()=>g()},[a,k,g]),(0,p.jsx)(h.ItemSlot,{scope:t,id:v,focusable:a,active:u,children:(0,p.jsx)(c.WV.span,{tabIndex:b?0:-1,"data-orientation":m.orientation,...d,ref:r,onMouseDown:(0,o.Mj)(e.onMouseDown,e=>{a?m.onItemFocus(v):e.preventDefault()}),onFocus:(0,o.Mj)(e.onFocus,()=>m.onItemFocus(v)),onKeyDown:(0,o.Mj)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){m.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let r=function(e,r,t){var n;let o=(n=e.key,"rtl"!==t?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===r&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===r&&["ArrowUp","ArrowDown"].includes(o)))return A[o]}(e,m.orientation,m.dir);if(void 0!==r){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=y().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===r)o.reverse();else if("prev"===r||"next"===r){var t,n;"prev"===r&&o.reverse();let a=o.indexOf(e.currentTarget);o=m.loop?(t=o,n=a+1,t.map((e,r)=>t[(n+r)%t.length])):o.slice(a+1)}setTimeout(()=>F(o))}}),children:"function"==typeof s?s({isCurrentTabStop:b,hasTabStop:null!=j}):s})})});I.displayName=C;var A={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function F(e,r=!1){let t=document.activeElement;for(let n of e)if(n===t||(n.focus({preventScroll:r}),document.activeElement!==t))return}var D=x,M=I},4400:function(e,r,t){t.d(r,{Z:function(){return n}});var n=function(e){if("object"!=typeof e&&"function"!=typeof e||null==e)throw Error("argument to `entries` must be an object");var r=[];for(var t in e)e.hasOwnProperty(t)&&r.push([t,e[t]]);return r}}}]);

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.