PageSourceSearch

https://www.uxbrite.com/_next/static/chunks/0e86740a86b24843.js

js uxbrite.com collected 2026-10-04 21:18:38 UTC 18,609 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,77161,e=>{"use strict";var t=e.i(47167),n="https://basehub.com/api/v2/events";void 0!==t.default&&(t.default?.env?.NEXT_PUBLIC_BASEHUB_ANALYTICS_V2_ENDPOINT?n=t.default.env.NEXT_PUBLIC_BASEHUB_ANALYTICS_V2_ENDPOINT:t.default?.env?.BASEHUB_ANALYTICS_V2_ENDPOINT&&(n=t.default.env.BASEHUB_ANALYTICS_V2_ENDPOINT),t.default?.env?.NEXT_PUBLIC_BASEHUB_QUERY_EVENTS_V2_ENDPOINT?t.default.env.NEXT_PUBLIC_BASEHUB_QUERY_EVENTS_V2_ENDPOINT:t.default?.env?.BASEHUB_QUERY_EVENTS_V2_ENDPOINT&&t.default.env.BASEHUB_QUERY_EVENTS_V2_ENDPOINT);var r=async(...e)=>{let t,[r,o]=e;o&&Object.values(o).some(e=>e instanceof File)?((t=new FormData).append("_system_key",r),t.append("_system_type","create"),o&&Object.entries(o).forEach(([e,n])=>{"string"!=typeof t&&(n instanceof File?t.append(e,n):null!=n&&t.append(`${typeof e}__${e}`,String(n)))})):t=JSON.stringify({key:r,data:o,type:"create"});let a=await fetch(n,{method:"POST",headers:{..."string"==typeof t?{"Content-Type":"application/json"}:{},Accept:"application/json"},body:t});return await a.json()};e.s(["sendEvent",()=>r])},62144,e=>{"use strict";var t=e.i(77161),n=e.i(71645);function r({ingestKey:e}){return n.useEffect(()=>{(0,t.sendEvent)(e,{eventType:"view"})},[e]),null}e.s(["PageView",()=>r])},63620,e=>{"use strict";var t=e.i(43476),n=e.i(7670),r=e.i(93699),o=e.i(85766);function a({image:e,_title:n,...a}){return(0,t.jsx)(o.CustomTooltip,{content:n,children:(0,t.jsx)(r.BaseHubImage,{alt:e.alt??`Avatar for ${n}`,className:"size-8 rounded-full border-2 border-surface-primary object-cover transition-all dark:border-dark-surface-primary",height:e.height,src:e.url,width:e.width,...a})})}function i({className:e,alt:o,url:a,...i}){return(0,t.jsx)(r.BaseHubImage,{priority:!0,alt:o??"Avatar",className:(0,n.default)("size-7 shrink-0 rounded-full border-2 border-surface-primary object-cover dark:border-dark-surface-primary",e),height:28,src:a,width:28,...i})}e.s(["Author",()=>a,"Avatar",()=>i])},44596,e=>{"use strict";var t=e.i(43476),n=e.i(7670),r=e.i(85766);function o({className:e,children:o,animate:a=!1,...i}){return a?(0,t.jsx)(r.TooltipProvider,{delayDuration:50,children:(0,t.jsx)("div",{className:(0,n.default)("flex -space-x-3 hover:space-x-0.5 rtl:space-x-reverse",e),...i,children:o})}):(0,t.jsx)("div",{className:(0,n.default)("flex -space-x-3 rtl:space-x-reverse",e),...i,children:o})}e.s(["AvatarsGroup",()=>o])},3536,65491,86312,85369,e=>{"use strict";let t;var n,r,o,a,i,c,u,l=e.i(71645),s=0;function d(){l.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??f()),document.body.insertAdjacentElement("beforeend",e[1]??f()),s++,()=>{1===s&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),s--}},[])}function f(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}e.s(["useFocusGuards",()=>d],3536);var v=e.i(20783),p=e.i(48425),h=e.i(30207),m=e.i(43476),g="focusScope.autoFocusOnMount",y="focusScope.autoFocusOnUnmount",E={bubbles:!1,cancelable:!0},b=l.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=e,[c,u]=l.useState(null),s=(0,h.useCallbackRef)(o),d=(0,h.useCallbackRef)(a),f=l.useRef(null),b=(0,v.useComposedRefs)(t,e=>u(e)),A=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(r){let e=function(e){if(A.paused||!c)return;let t=e.target;c.contains(t)?f.current=t:N(f.current,{select:!0})},t=function(e){if(A.paused||!c)return;let t=e.relatedTarget;null!==t&&(c.contains(t)||N(f.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&N(c)});return c&&n.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,c,A.paused]),l.useEffect(()=>{if(c){T.add(A);let e=document.activeElement;if(!c.contains(e)){let t=new CustomEvent(g,E);c.addEventListener(g,s),c.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(N(r,{select:t}),document.activeElement!==n)return}(w(c).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&N(c))}return()=>{c.removeEventListener(g,s),setTimeout(()=>{let t=new CustomEvent(y,E);c.addEventListener(y,d),c.dispatchEvent(t),t.defaultPrevented||N(e??document.body,{select:!0}),c.removeEventListener(y,d),T.remove(A)},0)}}},[c,s,d,A]);let _=l.useCallback(e=>{if(!n&&!r||A.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){var a;let t,r=e.currentTarget,[i,c]=[S(t=w(a=r),a),S(t.reverse(),a)];
1i&&c?e.shiftKey||o!==c?e.shiftKey&&o===i&&(e.preventDefault(),n&&N(c,{select:!0})):(e.preventDefault(),n&&N(i,{select:!0})):o===r&&e.preventDefault()}},[n,r,A.paused]);return(0,m.jsx)(p.Primitive.div,{tabIndex:-1,...i,ref:b,onKeyDown:_})});function w(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function S(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function N(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}b.displayName="FocusScope";var T=(t=[],{add(e){let n=t[0];e!==n&&n?.pause(),(t=A(t,e)).unshift(e)},remove(e){t=A(t,e),t[0]?.resume()}});function A(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}e.s(["FocusScope",()=>b],65491);var _=new WeakMap,C=new WeakMap,R={},k=0,x=function(e){return e&&(e.host||x(e.parentNode))},P=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=x(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});R[n]||(R[n]=new WeakMap);var a=R[n],i=[],c=new Set,u=new Set(o),l=function(e){!e||c.has(e)||(c.add(e),l(e.parentNode))};o.forEach(l);var s=function(e){!e||u.has(e)||Array.prototype.forEach.call(e.children,function(e){if(c.has(e))s(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,u=(_.get(e)||0)+1,l=(a.get(e)||0)+1;_.set(e,u),a.set(e,l),i.push(e),1===u&&o&&C.set(e,!0),1===l&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return s(t),c.clear(),k++,function(){i.forEach(function(e){var t=_.get(e)-1,o=a.get(e)-1;_.set(e,t),a.set(e,o),t||(C.has(e)||e.removeAttribute(r),C.delete(e)),o||e.removeAttribute(n)}),--k||(_=new WeakMap,_=new WeakMap,C=new WeakMap,R={})}},L=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),P(r,o,n,"aria-hidden")):function(){return null}};e.s(["hideOthers",()=>L],86312);var I=function(){return(I=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function O(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}var B=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),M="width-before-scroll-bar";function j(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var U="undefined"!=typeof window?l.useLayoutEffect:l.useEffect,D=new WeakMap,F=(void 0===n&&(n={}),(void 0===r&&(r=function(e){return e}),o=[],a=!1,i={read:function(){if(a)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:null},useMedium:function(e){var t=r(e,a);return o.push(t),function(){o=o.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(a=!0;o.length;){var t=o;o=[],t.forEach(e)}o={push:function(t){return e(t)},filter:function(){return o}}},assignMedium:function(e){a=!0;var t=[];if(o.length){var n=o;o=[],n.forEach(e),t=o}var r=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(r)};i(),o={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),o}}}}).options=I({async:!0,ssr:!1},n),i),W=function(){},Y=l.forwardRef(function(e,t){var n,r,o,a,i=l.useRef(null),c=l.useState({onScrollCapture:W,onWheelCapture:W,onTouchMoveCapture:W}),u=c[0],s=c[1],d=e.forwardProps,f=e.children,v=e.className,p=e.removeScrollBar,h=e.enabled,m=e.shards,g=e.sideCar,y=e.noRelative,E=e.noIsolation,b=e.inert,w=e.allowPinchZoom,S=e.as,N=e.gapMode,T=O(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),A=(n=[i,t],r=function(e){return n.forEac
1h(function(t){return j(t,e)})},(o=(0,l.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,a=o.facade,U(function(){var e=D.get(a);if(e){var t=new Set(e),r=new Set(n),o=a.current;t.forEach(function(e){r.has(e)||j(e,null)}),r.forEach(function(e){t.has(e)||j(e,o)})}D.set(a,n)},[n]),a),_=I(I({},T),u);return l.createElement(l.Fragment,null,h&&l.createElement(g,{sideCar:F,removeScrollBar:p,shards:m,noRelative:y,noIsolation:E,inert:b,setCallbacks:s,allowPinchZoom:!!w,lockRef:i,gapMode:N}),d?l.cloneElement(l.Children.only(f),I(I({},_),{ref:A})):l.createElement(void 0===S?"div":S,I({},_,{className:v,ref:A}),f))});Y.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Y.classNames={fullWidth:M,zeroRight:B};var H=function(e){var t=e.sideCar,n=O(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return l.createElement(r,I({},n))};H.isSideCarExport=!0;var V=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=u||("undefined"!=typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,o;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},K=function(){var e=V();return function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},X=function(){var e=K();return function(t){return e(t.styles,t.dynamic),null}},z={left:0,top:0,right:0,gap:0},Q=function(e){return parseInt(e||"",10)||0},Z=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[Q(n),Q(r),Q(o)]},q=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return z;var t=Z(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},G=X(),$="data-scroll-locked",J=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,c=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(c,"px ").concat(r,";\n  }\n  body[").concat($,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(a,"px;\n    padding-right: ").concat(i,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(c,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(B," {\n    right: ").concat(c,"px ").concat(r,";\n  }\n  \n  .").concat(M," {\n    margin-right: ").concat(c,"px ").concat(r,";\n  }\n  \n  .").concat(B," .").concat(B," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(M," .").concat(M," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat($,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n  }\n")},ee=function(){var e=parseInt(document.body.getAttribute($)||"0",10);return isFinite(e)?e:0},et=function(){l.useEffect(function(){return document.body.setAttribute($,(ee()+1).toString()),function(){var e=ee()-1;e<=0?document.body.removeAttribute($):document.body.setAttribute($,e.toString())}},[])},en=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;et();var a=l.useMemo(function(){return q(o)},[o]);return l.createElement(G,{styles:J(a,!t,o,n?"":"!important")})},er=!1;if("undefined"!=typeof window)try{var eo=Object.defineProperty({},"passive",{get:function(){return er=!0,!0}});window.addEventListener("test",eo,eo),window.removeEventListener("test",eo,eo)}catch(e){er=!1}var ea=!!er&&{passive:!1},ei=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},ec=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),eu(e,r)){var o=el(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},eu=function(e,t){return"v"===e?ei(t,"overflowY"):ei(t,"overflowX")},el=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},es=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),c=i*r,u=n.target,l=t.contains(u),s=!1,d=c>0,f=0,v=0;do{if(!u)break;var p=el(e,u),h=p[0],m=p[1]-p[2]-i*h;(h||m)&&eu(e,u)&&(f+=m,v+=h);var g=u.parentNode;u=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!l&&u!==document.body||l&&(t.contains(u)||t===u))return d&&(o&&1>Math.abs(f)||!o&&c>f)?s=!0:!d&&(o&&1>Math.abs(v)||!o&&-c>v)&&(s=!0),s},ed=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ef=function(e){return[e.deltaX,e.deltaY]},ev=function(e){return e&&"current"in e?e.current:e},ep=0,eh=[];let em=(c=function(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),o=l.useState(ep++)[0],a=l.useState(X)[0],i=l.useRef(e);l.useEffect(function(){i.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}
1)([e.lockRef.current],(e.shards||[]).map(ev),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=l.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!i.current.allowPinchZoom;var o,a=ed(e),c=n.current,u="deltaX"in e?e.deltaX:c[0]-a[0],l="deltaY"in e?e.deltaY:c[1]-a[1],s=e.target,d=Math.abs(u)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=window.getSelection(),v=f&&f.anchorNode;if(v&&(v===s||v.contains(s)))return!1;var p=ec(d,s);if(!p)return!0;if(p?o=d:(o="v"===d?"h":"v",p=ec(d,s)),!p)return!1;if(!r.current&&"changedTouches"in e&&(u||l)&&(r.current=o),!o)return!0;var h=r.current||o;return es(h,t,e,"h"===h?u:l,!0)},[]),u=l.useCallback(function(e){if(eh.length&&eh[eh.length-1]===a){var n="deltaY"in e?ef(e):ed(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(i.current.shards||[]).map(ev).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?c(e,o[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=l.useCallback(function(e,n,r,o){var a={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=l.useCallback(function(e){n.current=ed(e),r.current=void 0},[]),f=l.useCallback(function(t){s(t.type,ef(t),t.target,c(t,e.lockRef.current))},[]),v=l.useCallback(function(t){s(t.type,ed(t),t.target,c(t,e.lockRef.current))},[]);l.useEffect(function(){return eh.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:v}),document.addEventListener("wheel",u,ea),document.addEventListener("touchmove",u,ea),document.addEventListener("touchstart",d,ea),function(){eh=eh.filter(function(e){return e!==a}),document.removeEventListener("wheel",u,ea),document.removeEventListener("touchmove",u,ea),document.removeEventListener("touchstart",d,ea)}},[]);var p=e.removeScrollBar,h=e.inert;return l.createElement(l.Fragment,null,h?l.createElement(a,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,p?l.createElement(en,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},F.useMedium(c),H);var eg=l.forwardRef(function(e,t){return l.createElement(Y,I({},e,{ref:t,sideCar:em}))});eg.classNames=Y.classNames,e.s(["RemoveScroll",0,eg],85369)}]);

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.