PageSourceSearch

https://attestix.io/_next/static/chunks/5484-8b7d0b59732afad3.js

js attestix.io collected 2026-10-05 01:42:41 UTC 9,860 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5484],{5484:(e,t,n)=>{n.d(t,{Ke:()=>S,R6:()=>R,UC:()=>I,bL:()=>O,l9:()=>T,z3:()=>h});var r=n(12115),o=n.t(r,2);"undefined"!=typeof window&&window.document&&window.document.createElement;var i=n(95155),l=globalThis?.document?r.useLayoutEffect:()=>{},u=o[" useInsertionEffect ".trim().toString()]||l;function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}Symbol("RADIX:SYNC_STATE"),n(47650);var c=n(17129),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,c.TL)(`Primitive.${t}`),o=r.forwardRef((e,r)=>{let{asChild:o,...l}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(o?n:t,{...l,ref:r})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),d=e=>{let{present:t,children:n}=e,o=function(e){var t,n;let[o,i]=r.useState(),u=r.useRef(null),a=r.useRef(e),c=r.useRef("none"),[s,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=p(u.current);c.current="mounted"===s?e:"none"},[s]),l(()=>{let t=u.current,n=a.current;if(n!==e){let r=c.current,o=p(t);e?d("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?d("UNMOUNT"):n&&r!==o?d("ANIMATION_OUT"):d("UNMOUNT"),a.current=e}},[e,d]),l(()=>{if(o){var e;let t,n=null!=(e=o.ownerDocument.defaultView)?e:window,r=e=>{let r=p(u.current).includes(CSS.escape(e.animationName));if(e.target===o&&r&&(d("ANIMATION_END"),!a.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},i=e=>{e.target===o&&(c.current=p(u.current))};return o.addEventListener("animationstart",i),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{n.clearTimeout(t),o.removeEventListener("animationstart",i),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}d("ANIMATION_END")},[o,d]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:r.useCallback(e=>{u.current=e?getComputedStyle(e):null,i(e)},[])}}(t),i="function"==typeof n?n({present:o.isPresent}):r.Children.only(n),u=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let o=r.useRef(t);return o.current=t,r.useCallback(e=>{let t=o.current,n=!1,r=t.map(t=>{let r=f(t,e);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let e=0;e<r.length;e++){let n=r[e];"function"==typeof n?n():f(t[e],null)}}},[])}(o.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}(i));return"function"==typeof n||o.isPresent?r.cloneElement(i,{ref:u}):null};function f(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function p(e){return(null==e?void 0:e.animationName)||"none"}d.displayName="Presence";var m=o[" useId ".trim().toString()]||(()=>void 0),y=0,v="Collapsible",[g,h]=function(e,t=[]){let n=[],o=()=>{let t=n.map(e=>r.createContext(e));return function(n){let o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return o.scopeName=e,[function(t,o){let l=r.createContext(o);l.displayName=t+"Context";let u=n.length;n=[...n,o];let a=t=>{let{scope:n,children:o,...a}=t,c=n?.[e]?.[u]||l,s=r.useMemo(()=>a,Object.values(a));return(0,i.jsx)(c.Provider,{value:s,children:o})};return a.displayName=t+"Provider",[a,function(n,i){let a=i?.[e]?.[u]||l,c=r.useContext(a);if(c)return c;if(void 0!==o)return o;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(o,...t)]}(v),[N,b]=g(v),w=r.forwardRef((e,t)=>
1{let{__scopeCollapsible:n,open:o,defaultOpen:a,disabled:c,onOpenChange:d,...f}=e,[p,g]=function({prop:e,defaultProp:t,onChange:n=()=>{},caller:o}){let[i,l,a]=function({defaultProp:e,onChange:t}){let[n,o]=r.useState(e),i=r.useRef(n),l=r.useRef(t);return u(()=>{l.current=t},[t]),r.useEffect(()=>{i.current!==n&&(l.current?.(n),i.current=n)},[n,i]),[n,o,l]}({defaultProp:t,onChange:n}),c=void 0!==e,s=c?e:i;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${o} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=c},[c,o])}return[s,r.useCallback(t=>{if(c){let n="function"==typeof t?t(e):t;n!==e&&a.current?.(n)}else l(t)},[c,e,l,a])]}({prop:o,defaultProp:null!=a&&a,onChange:d,caller:v});return(0,i.jsx)(N,{scope:n,disabled:c,contentId:function(e){let[t,n]=r.useState(m());return l(()=>{n(e=>e??String(y++))},[void 0]),e||(t?`radix-${t}`:"")}(),open:p,onOpenToggle:r.useCallback(()=>g(e=>!e),[g]),children:(0,i.jsx)(s.div,{"data-state":x(p),"data-disabled":c?"":void 0,...f,ref:t})})});w.displayName=v;var E="CollapsibleTrigger",R=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,...r}=e,o=b(E,n);return(0,i.jsx)(s.button,{type:"button","aria-controls":o.open?o.contentId:void 0,"aria-expanded":o.open||!1,"data-state":x(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:function(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}(e.onClick,o.onOpenToggle)})});R.displayName=E;var C="CollapsibleContent",S=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,o=b(C,e.__scopeCollapsible);return(0,i.jsx)(d,{present:n||o.open,children:e=>{let{present:n}=e;return(0,i.jsx)(_,{...r,ref:t,present:n})}})});S.displayName=C;var _=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,present:o,children:u,...c}=e,d=b(C,n),[f,p]=r.useState(o),m=r.useRef(null),y=function(...e){return r.useCallback(function(...e){return t=>{let n=!1,r=e.map(e=>{let r=a(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():a(e[t],null)}}}}(...e),e)}(t,m),v=r.useRef(0),g=v.current,h=r.useRef(0),N=h.current,w=d.open||f,E=r.useRef(w),R=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>E.current=!1);return()=>cancelAnimationFrame(e)},[]),l(()=>{let e=m.current;if(e){R.current=R.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();v.current=t.height,h.current=t.width,E.current||(e.style.transitionDuration=R.current.transitionDuration,e.style.animationName=R.current.animationName),p(o)}},[d.open,o]),(0,i.jsx)(s.div,{"data-state":x(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!w,...c,ref:y,style:{"--radix-collapsible-content-height":g?"".concat(g,"px"):void 0,"--radix-collapsible-content-width":N?"".concat(N,"px"):void 0,...e.style},children:w&&u})});function x(e){return e?"open":"closed"}var O=w,T=R,I=S}
1,17129:(e,t,n)=>{n.d(t,{DX:()=>u,TL:()=>l});var r=n(12115),o=n.t(r,2);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function l(e){let t=r.forwardRef((t,n)=>{var o;let l,u,{children:s,...y}=t,v=null,g=!1,h=[];d(s)&&"function"==typeof m&&(s=m(s._payload)),r.Children.forEach(s,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===a){g=!0;let t="child"in e.props?e.props.child:e.props.children;d(t)&&"function"==typeof m&&(t=m(t._payload)),v=c(e,t),h.push(v?.props?.children)}else h.push(e)}),v?v=r.cloneElement(v,void 0,h):!g&&1===r.Children.count(s)&&r.isValidElement(s)&&(v=s);let N=v?(o=v,(u=(l=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in l&&l.isReactWarning)?o.ref:(u=(l=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in l&&l.isReactWarning)?o.props.ref:o.props.ref||o.ref):void 0,b=function(...e){return r.useCallback(function(...e){return t=>{let n=!1,r=e.map(e=>{let r=i(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():i(e[t],null)}}}}(...e),e)}(n,N);if(!v){if(s||0===s)throw Error(g?p(e):f(e));return s}let w=function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(y,v.props??{});return v.type!==r.Fragment&&(w.ref=n?b:N),r.cloneElement(v,w)});return t.displayName=`${e}.Slot`,t}var u=l("Slot"),a=Symbol.for("radix.slottable"),c=(e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null},s=Symbol.for("react.lazy");function d(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===s&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var f=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,p=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,m=o[" use ".trim().toString()]}}]);

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.