PageSourceSearch

https://www.chichingb2b.ai/_next/static/chunks/1528-6f41899935939b59.js

js chichingb2b.ai collected 2026-10-05 15:20:27 UTC 8,461 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1528],{5687:(e,t,n)=>{n.d(t,{s:()=>l,t:()=>o});var r=n(21424);function o(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function l(...e){return r.useCallback(o(...e),e)}},15157:(e,t,n)=>{n.d(t,{DX:()=>i,xV:()=>a});var r=n(21424),o=n(5687),l=n(38300),i=r.forwardRef((e,t)=>{let{children:n,...o}=e,i=r.Children.toArray(n),a=i.find(s);if(a){let e=a.props.children,n=i.map(t=>t!==a?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,l.jsx)(u,{...o,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,l.jsx)(u,{...o,ref:t,children:n})});i.displayName="Slot";var u=r.forwardRef((e,t)=>{let{children:n,...l}=e;if(r.isValidElement(n)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(n);return r.cloneElement(n,{...function(e,t){let n={...t};for(let r in t){let o=e[r],l=t[r];/^on[A-Z]/.test(r)?o&&l?n[r]=(...e)=>{l(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...l}:"className"===r&&(n[r]=[o,l].filter(Boolean).join(" "))}return{...e,...n}}(l,n.props),ref:t?(0,o.t)(t,e):e})}return r.Children.count(n)>1?r.Children.only(null):null});u.displayName="SlotClone";var a=({children:e})=>(0,l.jsx)(l.Fragment,{children:e});function s(e){return r.isValidElement(e)&&e.type===a}},29497:(e,t,n)=>{n.d(t,{jH:()=>l});var r=n(21424);n(38300);var o=r.createContext(void 0);function l(e){let t=r.useContext(o);return e||t||"ltr"}},36821:(e,t,n)=>{n.d(t,{RG:()=>E,bL:()=>O,q7:()=>D});var r=n(21424),o=n(60457),l=n(44440),i=n(5687),u=n(64281),a=n(50499),s=n(54351),c=n(50771),f=n(38199),d=n(29497),m=n(38300),p="rovingFocusGroup.onEntryFocus",v={bubbles:!1,cancelable:!0},w="RovingFocusGroup",[y,g,N]=(0,l.N)(w),[R,E]=(0,u.A)(w,[N]),[h,A]=R(w),b=r.forwardRef((e,t)=>(0,m.jsx)(y.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,m.jsx)(y.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,m.jsx)(C,{...e,ref:t})})}));b.displayName=w;var C=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:l,loop:u=!1,dir:a,currentTabStopId:w,defaultCurrentTabStopId:y,onCurrentTabStopIdChange:N,onEntryFocus:R,preventScrollOnEntryFocus:E=!1,...A}=e,b=r.useRef(null),C=(0,i.s)(t,b),M=(0,d.jH)(a),[x=null,I]=(0,f.i)({prop:w,defaultProp:y,onChange:N}),[O,D]=r.useState(!1),j=(0,c.c)(R),F=g(n),S=r.useRef(!1),[P,U]=r.useState(0);return r.useEffect(()=>{let e=b.current;if(e)return e.addEventListener(p,j),()=>e.removeEventListener(p,j)},[j]),(0,m.jsx)(h,{scope:n,orientation:l,dir:M,loop:u,currentTabStopId:x,onItemFocus:r.useCallback(e=>I(e),[I]),onItemShiftTab:r.useCallback(()=>D(!0),[]),onFocusableItemAdd:r.useCallback(()=>U(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>U(e=>e-1),[]),children:(0,m.jsx)(s.sG.div,{tabIndex:O||0===P?-1:0,"data-orientation":l,...A,ref:C,style:{outline:"none",...e.style},onMouseDown:(0,o.m)(e.onMouseDown,()=>{S.current=!0}),onFocus:(0,o.m)(e.onFocus,e=>{let t=!S.current;if(e.target===e.currentTarget&&t&&!O){let t=new CustomEvent(p,v);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=F().filter(e=>e.focusable);T([e.find(e=>e.active),e.find(e=>e.id===x),...e].filter(Boolean).map(e=>e.ref.current),E)}}S.current=!1}),onBlur:(0,o.m)(e.onBlur,()=>D(!1))})})}),M="RovingFocusGroupItem",x=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:l=!0,active:i=!1,tabStopId:u,...c}=e,f=(0,a.B)(),d=u||f,p=A(M,n),v=p.currentTabStopId===d,w=g(n),{onFocusableItemAdd:N,onFocusableItemRemove:R}=p;return r.useEffect(()=>{if(l)return N(),()=>R()},[l,N,R]),(0,m.jsx)(y.ItemSlot,{scope:n,id:d,focusable:l,active:i,children:(0,m.jsx)(s.sG.span,{tabIndex:v?0:-1,"data-orientation":p.orientation,...c,ref:t,onMouseDown:(0,o.m)(e.onMouseDown,e=>{l?p.onItemFocus(d):e.preventDefault()}),onFocus:(0,o.m)(e.onFocus,()=>p.onItemFocus(d)),onKeyDown:(0,o.m)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void p.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let o=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return I[o]}(e,p.orientation,p.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=w().filter(e=>
1e.focusable).map(e=>e.ref.current);if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();let r=n.indexOf(e.currentTarget);n=p.loop?function(e,t){return e.map((n,r)=>e[(t+r)%e.length])}(n,r+1):n.slice(r+1)}setTimeout(()=>T(n))}})})})});x.displayName=M;var I={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function T(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var O=b,D=x},44440:(e,t,n)=>{n.d(t,{N:()=>a});var r=n(21424),o=n(64281),l=n(5687),i=n(15157),u=n(38300);function a(e){let t=e+"CollectionProvider",[n,a]=(0,o.A)(t),[s,c]=n(t,{collectionRef:{current:null},itemMap:new Map}),f=e=>{let{scope:t,children:n}=e,o=r.useRef(null),l=r.useRef(new Map).current;return(0,u.jsx)(s,{scope:t,itemMap:l,collectionRef:o,children:n})};f.displayName=t;let d=e+"CollectionSlot",m=r.forwardRef((e,t)=>{let{scope:n,children:r}=e,o=c(d,n),a=(0,l.s)(t,o.collectionRef);return(0,u.jsx)(i.DX,{ref:a,children:r})});m.displayName=d;let p=e+"CollectionItemSlot",v="data-radix-collection-item",w=r.forwardRef((e,t)=>{let{scope:n,children:o,...a}=e,s=r.useRef(null),f=(0,l.s)(t,s),d=c(p,n);return r.useEffect(()=>(d.itemMap.set(s,{ref:s,...a}),()=>void d.itemMap.delete(s))),(0,u.jsx)(i.DX,{...{[v]:""},ref:f,children:o})});return w.displayName=p,[{Provider:f,Slot:m,ItemSlot:w},function(t){let n=c(e+"CollectionConsumer",t);return r.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(v,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},a]}},51350:(e,t,n)=>{n.d(t,{C:()=>i});var r=n(21424),o=n(5687),l=n(59433),i=e=>{let{present:t,children:n}=e,i=function(e){var t,n;let[o,i]=r.useState(),a=r.useRef({}),s=r.useRef(e),c=r.useRef("none"),[f,d]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=u(a.current);c.current="mounted"===f?e:"none"},[f]),(0,l.N)(()=>{let t=a.current,n=s.current;if(n!==e){let r=c.current,o=u(t);e?d("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?d("UNMOUNT"):n&&r!==o?d("ANIMATION_OUT"):d("UNMOUNT"),s.current=e}},[e,d]),(0,l.N)(()=>{if(o){var e;let t,n=null!=(e=o.ownerDocument.defaultView)?e:window,r=e=>{let r=u(a.current).includes(e.animationName);if(e.target===o&&r&&(d("ANIMATION_END"),!s.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},l=e=>{e.target===o&&(c.current=u(a.current))};return o.addEventListener("animationstart",l),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{n.clearTimeout(t),o.removeEventListener("animationstart",l),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}d("ANIMATION_END")},[o,d]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:r.useCallback(e=>{e&&(a.current=getComputedStyle(e)),i(e)},[])}}(t),a="function"==typeof n?n({present:i.isPresent}):r.Children.only(n),s=(0,o.s)(i.ref,function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(a));return"function"==typeof n||i.isPresent?r.cloneElement(a,{ref:s}):null};function u(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"}}]);

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.