PageSourceSearch

https://getbiib.com/packs/js/vendor~application-e5bca7e4-a965dade2751feec6a4a.js

js getbiib.com collected 2026-10-02 15:40:50 UTC 13,364 bytes, 3 lines download raw bytes

1/*! For license information please see vendor~application-e5bca7e4-a965dade2751feec6a4a.js.LICENSE.txt */
2"use strict";(self.webpackChunkbiib=self.webpackChunkbiib||[]).push([[9638],{84976(e,t,r){r.d(t,{Kd:()=>a});var n=r(96540),o=r(47767),u=r(45588);function a(e){let{basename:t,children:r,window:a}=e,l=n.useRef();null==l.current&&(l.current=(0,u.zR)({window:a,v5Compat:!0}));let c=l.current,[i,s]=n.useState({action:c.action,location:c.location});return n.useLayoutEffect(()=>c.listen(s),[c]),n.createElement(o.Ix,{basename:t,children:r,location:i.location,navigationType:i.action,navigator:c})}var l,c;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(l||(l={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(c||(c={}))},47767(e,t,r){let n;r.d(t,{BV:()=>P,Ix:()=>O,qh:()=>$});var o=r(45588),u=r(96540);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}const l="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},{useState:c,useEffect:i,useLayoutEffect:s,useDebugValue:f}=n||(n=r.t(u,2));function p(e){const t=e.getSnapshot,r=e.value;try{const e=t();return!l(r,e)}catch(n){return!0}}"undefined"===typeof window||"undefined"===typeof window.document||window.document.createElement,(n||(n=r.t(u,2))).useSyncExternalStore;const d=u.createContext(null);const h=u.createContext(null);const m=u.createContext(null);const y=u.createContext(null);const v=u.createContext(null);const b=u.createContext({outlet:null,matches:[]});const E=u.createContext(null);function g(){return null!=u.useContext(v)}function S(){return g()||(0,o.V1)(!1),u.useContext(v).location}function _(){let e=function(){var e;let t=u.useContext(E),r=j(k.UseRouteError),n=u.useContext(b),a=n.matches[n.matches.length-1];if(t)return t;return n||(0,o.V1)(!1),!a.route.id&&(0,o.V1)(!1),null==(e=r.errors)?void 0:e[a.route.id]}(),t=(0,o.pX)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:n},l={padding:"2px 4px",backgroundColor:n};return u.createElement(u.Fragment,null,u.createElement("h2",null,"Unhandled Thrown Error!"),u.createElement("h3",{style:{fontStyle:"italic"}},t),r?u.createElement("pre",{style:a},r):null,u.createElement("p",null,"\ud83d\udcbf Hey developer \ud83d\udc4b"),u.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own\xa0",u.createElement("code",{style:l},"errorElement")," props on\xa0",u.createElement("code",{style:l},"<Route>")))}class C extends u.Component{constructor(e){super(e),this.state={location:e.location,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?u.createElement(E.Provider,{value:this.state.error,children:this.props.component}):this.props.children}}function R(e){let{routeContext:t,match:r,children:n}=e,o=u.useContext(d);return o&&r.route.errorElement&&(o._deepestRenderedBoundaryId=r.route.id),u.createElement(b.Provider,{value:t},n)}function w(e,t,r){if(void 0===t&&(t=[]),null==e){if(null==r||!r.errors)return null;e=r.matches}let n=e,a=null==r?void 0:r.errors;if(null!=a){let e=n.findIndex(e=>e.route.id&&(null==a?void 0:a[e.route.id]));e>=0||(0,o.V1)(!1),n=n.slice(0,Math.min(n.length,e+1))}return n.reduceRight((e,o,l)=>{let c=o.route.id?null==a?void 0:a[o.route.id]:null,i=r?o.route.errorElement||u.createElement(_,null):null,s=()=>
2u.createElement(R,{match:o,routeContext:{outlet:e,matches:t.concat(n.slice(0,l+1))}},c?i:void 0!==o.route.element?o.route.element:e);return r&&(o.route.errorElement||0===l)?u.createElement(C,{location:r.location,component:i,error:c,children:s()}):s()},null)}var x,k;function j(e){let t=u.useContext(m);return t||(0,o.V1)(!1),t}!function(e){e.UseRevalidator="useRevalidator"}(x||(x={})),function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(k||(k={}));function $(e){(0,o.V1)(!1)}function O(e){let{basename:t="/",children:r=null,location:n,navigationType:a=o.rc.Pop,navigator:l,static:c=!1}=e;g()&&(0,o.V1)(!1);let i=t.replace(/^\/*/,"/"),s=u.useMemo(()=>({basename:i,navigator:l,static:c}),[i,l,c]);"string"===typeof n&&(n=(0,o.Rr)(n));let{pathname:f="/",search:p="",hash:d="",state:h=null,key:m="default"}=n,b=u.useMemo(()=>{let e=(0,o.pb)(f,i);return null==e?null:{pathname:e,search:p,hash:d,state:h,key:m}},[i,f,p,d,h,m]);return null==b?null:u.createElement(y.Provider,{value:s},u.createElement(v.Provider,{children:r,value:{location:b,navigationType:a}}))}function P(e){let{children:t,location:r}=e,n=u.useContext(h);return function(e,t){g()||(0,o.V1)(!1);let r=u.useContext(m),{matches:n}=u.useContext(b),l=n[n.length-1],c=l?l.params:{},i=(l&&l.pathname,l?l.pathnameBase:"/");l&&l.route;let s,f=S();if(t){var p;let e="string"===typeof t?(0,o.Rr)(t):t;"/"===i||(null==(p=e.pathname)?void 0:p.startsWith(i))||(0,o.V1)(!1),s=e}else s=f;let d=s.pathname||"/",h="/"===i?d:d.slice(i.length)||"/",y=(0,o.ue)(e,{pathname:h}),E=w(y&&y.map(e=>Object.assign({},e,{params:Object.assign({},c,e.params),pathname:(0,o.HS)([i,e.pathname]),pathnameBase:"/"===e.pathnameBase?i:(0,o.HS)([i,e.pathnameBase])})),n,r||void 0);return t&&E?u.createElement(v.Provider,{value:{location:a({pathname:"/",search:"",hash:"",state:null,key:"default"},s),navigationType:o.rc.Pop}},E):E}(n&&!t?n.router.routes:V(t),r)}var U;!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(U||(U={}));new Promise(()=>{});u.Component;function V(e,t){void 0===t&&(t=[]);let r=[];return u.Children.forEach(e,(e,n)=>{if(!u.isValidElement(e))return;if(e.type===u.Fragment)return void r.push.apply(r,V(e.props.children,t));e.type!==$&&(0,o.V1)(!1),e.props.index&&e.props.children&&(0,o.V1)(!1);let a=[...t,n],l={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,hasErrorBoundary:null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle};e.props.children&&(l.children=V(e.props.children,a)),r.push(l)}),r}},15287(e,t){var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),i=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),d=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,y={};function v(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||h}function b(){}function E(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=v.prototype;var g=E.prototype=new b;g.constructor=E,m(g,v.prototype),g.isPureReactComponent=!0;var S=Array.isArray,_=Object.prototype.hasOwnProperty,C={current:null},R={key:!0,ref:!0,__self:!0,__source:!0};function w(e,t,n){var o,u={},a=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)_.call(t,o)&&!R.hasOwnProperty(o)&&(u[o]=t[o]);var c=arguments.length-2;if(1===c)u.children=n;else if(1<c){for(var i=Array(c),s=0;s<c;s++)i[s]=arguments[s+2];u.children=i}if(e&&e.defaultProps)for(o in c=e.defaultProps)void 0===u[o]&&(u[o]=c[o]);return{$$typeof:r,type:e,key:a,ref:l,props:u,_owner:C.current}}function x(e){return"object"===typeof e&&null!==e&&e.$$typeof===r}var k=/\/+/g;function j(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function $(e,t,o,u,a){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var c=!1;if(null===e)c=!0;else switch(l){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case r:case n:c=!0}}if(c)return a=a(c=e),e=""===u?"."+j(c,0):u,S(a)?(o="",null!=e&&(o=e.replace(k,"$&/")+"/"),$(a,t,o,"",function(e){return e})):null!=a&&(x(a)&&(a=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||c&&c.key===a.key?"":(""+a.key).replace(k,"$&/")+"/")+e)),t.push(a)),1;if(c=0,u=""===u?".":u+":",S(e))for(var i=0;i<e.length;i++){var s=u+j(l=e[i],i);c+=$(l,t,o,s,a)}else if(s=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e),"function"===typeof s)for(e=s.call(e),i=0;!(l=e.next()).done;)c+=$(l=l.value,t,o,s=u+j(l,i++),a);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return c}function O(e,t,r){if(null==e)return e;var n=[],o=0;return $(e,n,"","",function(e){return t.call(r,e,o++)}),n}function P(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var U={current:null},V={transition:null},D={ReactCurrentDispatcher:U,ReactCurrentBatchConfig:V,ReactCurrentOwner:C};function I(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:O,forEach:function(e,t,r){O(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return O(e,function(){t++}),t},toArray:function(e){return O(e,function(e){return e})||[]},only:function(e){if(!x(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=o,t.Profiler=a,t.PureComponent=E,t.StrictMode=u,t.Suspense=s,t.__SECRET_INT
vendor: 2,397 bytes, lines 2-3
2ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,t.act=I,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),u=e.key,a=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,l=C.current),void 0!==t.key&&(u=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(i in t)_.call(t,i)&&!R.hasOwnProperty(i)&&(o[i]=void 0===t[i]&&void 0!==c?c[i]:t[i])}var i=arguments.length-2;if(1===i)o.children=n;else if(1<i){c=Array(i);for(var s=0;s<i;s++)c[s]=arguments[s+2];o.children=c}return{$$typeof:r,type:e.type,key:u,ref:a,props:o,_owner:l}},t.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=w,t.createFactory=function(e){var t=w.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:i,render:e}},t.isValidElement=x,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=V.transition;V.transition={};try{e()}finally{V.transition=t}},t.unstable_act=I,t.useCallback=function(e,t){return U.current.useCallback(e,t)},t.useContext=function(e){return U.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return U.current.useDeferredValue(e)},t.useEffect=function(e,t){return U.current.useEffect(e,t)},t.useId=function(){return U.current.useId()},t.useImperativeHandle=function(e,t,r){return U.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return U.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return U.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return U.current.useMemo(e,t)},t.useReducer=function(e,t,r){return U.current.useReducer(e,t,r)},t.useRef=function(e){return U.current.useRef(e)},t.useState=function(e){return U.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return U.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return U.current.useTransition()},t.version="18.3.1"},96540(e,t,r){e.exports=r(15287)}}]);
3//# sourceMappingURL=vendor~application-e5bca7e4-a965dade2751feec6a4a.js.map

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.