Skip to content

Instantly share code, notes, and snippets.

'use client';
!function(e){"use strict";var t="bippy-0.2.0",n=()=>{},r=e=>{try{Function.prototype.toString.call(e).indexOf("^_^")>-1&&setTimeout((()=>{throw new Error("React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://reactjs.org/link/perf-use-production-build")}))}catch{}},o=e=>{const o=new Map;let i=0;const a={checkDCE:r,supportsFiber:!0,supportsFlight:!0,hasUnsupportedRendererAttached:!1,renderers:o,onCommitFiberRoot:n,onCommitFiberUnmount:n,onPostCommitFiberRoot:n,inject(t){const n=++i;return o.set(n,t),a._instrumentationIsActive||(a._instrumentationIsActive=!0,e?.()),n},_instrumentationSource:t,_instrumentationIsActive:!1};try{Object.defineProperty(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{value:a})}catch{}return a},i=()=>Object.prototype.hasOwnProperty.call(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__"),a=e=>{let t=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;return t&&e?.(),i()||(t=o(e)),t};try{"undefined"==t
'use client';
!function(e){"use strict";var t="bippy-0.2.0",n=()=>{},r=e=>{try{Function.prototype.toString.call(e).indexOf("^_^")>-1&&setTimeout((()=>{throw new Error("React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://reactjs.org/link/perf-use-production-build")}))}catch{}},o=e=>{const o=new Map;let i=0;const a={checkDCE:r,supportsFiber:!0,supportsFlight:!0,hasUnsupportedRendererAttached:!1,renderers:o,onCommitFiberRoot:n,onCommitFiberUnmount:n,onPostCommitFiberRoot:n,inject(t){const n=++i;return o.set(n,t),a._instrumentationIsActive||(a._instrumentationIsActive=!0,e?.()),n},_instrumentationSource:t,_instrumentationIsActive:!1};try{Object.defineProperty(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{value:a})}catch{}return a},i=()=>Object.prototype.hasOwnProperty.call(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__"),a=e=>{let t=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;return t&&e?.(),i()||(t=o(e)),t};try{"undefined"==t
'use client';
!function(e){"use strict";var t="bippy-0.2.0",n=()=>{},r=e=>{try{Function.prototype.toString.call(e).indexOf("^_^")>-1&&setTimeout((()=>{throw new Error("React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://reactjs.org/link/perf-use-production-build")}))}catch{}},o=e=>{const o=new Map;let i=0;const a={checkDCE:r,supportsFiber:!0,supportsFlight:!0,hasUnsupportedRendererAttached:!1,renderers:o,onCommitFiberRoot:n,onCommitFiberUnmount:n,onPostCommitFiberRoot:n,inject(t){const n=++i;return o.set(n,t),a._instrumentationIsActive||(a._instrumentationIsActive=!0,e?.()),n},_instrumentationSource:t,_instrumentationIsActive:!1};try{Object.defineProperty(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{value:a})}catch{}return a},i=()=>Object.prototype.hasOwnProperty.call(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__"),a=e=>{let t=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;return t&&e?.(),i()||(t=o(e)),t};try{"undefined"==t
'use client';
!function(e){"use strict";var t="bippy-0.2.0",n=()=>{},r=e=>{try{Function.prototype.toString.call(e).indexOf("^_^")>-1&&setTimeout((()=>{throw new Error("React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://reactjs.org/link/perf-use-production-build")}))}catch{}},o=e=>{const o=new Map;let i=0;const a={checkDCE:r,supportsFiber:!0,supportsFlight:!0,hasUnsupportedRendererAttached:!1,renderers:o,onCommitFiberRoot:n,onCommitFiberUnmount:n,onPostCommitFiberRoot:n,inject(t){const n=++i;return o.set(n,t),a._instrumentationIsActive||(a._instrumentationIsActive=!0,e?.()),n},_instrumentationSource:t,_instrumentationIsActive:!1};try{Object.defineProperty(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{value:a})}catch{}return a},i=()=>Object.prototype.hasOwnProperty.call(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__"),a=e=>{let t=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;return t&&e?.(),i()||(t=o(e)),t};try{"undefined"==t
@RobPruzan
RobPruzan / rc.js
Last active January 16, 2025 00:37
'use client';
!function(e){"use strict";var t="bippy-0.2.0",n=()=>{},r=e=>{try{Function.prototype.toString.call(e).indexOf("^_^")>-1&&setTimeout((()=>{throw new Error("React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://reactjs.org/link/perf-use-production-build")}))}catch{}},o=e=>{const o=new Map;let i=0;const a={checkDCE:r,supportsFiber:!0,supportsFlight:!0,hasUnsupportedRendererAttached:!1,renderers:o,onCommitFiberRoot:n,onCommitFiberUnmount:n,onPostCommitFiberRoot:n,inject(t){const n=++i;return o.set(n,t),a._instrumentationIsActive||(a._instrumentationIsActive=!0,e?.()),n},_instrumentationSource:t,_instrumentationIsActive:!1};try{Object.defineProperty(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{value:a})}catch{}return a},i=()=>Object.prototype.hasOwnProperty.call(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__"),a=e=>{let t=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;return t&&e?.(),i()||(t=o(e)),t};try{"undefined"==t
'use client';
!function(e){"use strict";var t="undefined"!=typeof document?document.currentScript:null,n="bippy-0.2.7",r=()=>{},o=e=>{try{Function.prototype.toString.call(e).indexOf("^_^")>-1&&setTimeout((()=>{throw new Error("React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://reactjs.org/link/perf-use-production-build")}))}catch{}},i=!1,a=(e=c())=>!!i||!("checkDCE"in e),s=e=>{const t=new Map;let i=0;const a={checkDCE:o,supportsFiber:!0,supportsFlight:!0,hasUnsupportedRendererAttached:!1,renderers:t,onCommitFiberRoot:r,onCommitFiberUnmount:r,onPostCommitFiberRoot:r,inject(n){const r=++i;return t.set(r,n),a._instrumentationIsActive||(a._instrumentationIsActive=!0,e?.()),r},_instrumentationSource:n,_instrumentationIsActive:!1};try{Object.defineProperty(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{value:a})}catch{l(e)}return a},l=e=>{try{const e=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;e._instrumentationSource||(i=a(
'use client';
(function (exports) {
'use strict';
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
/**
* Copyright 2024 Aiden Bai, Million Software, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the “Software”), to deal in the Software without restriction,
(function (exports) {
'use strict';
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
/**
* Copyright 2024 Aiden Bai, Million Software, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the “Software”), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge, publish, distribute,
@RobPruzan
RobPruzan / again.js
Last active February 24, 2025 17:31
(function (exports) {
'use strict';
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
/**
* Copyright 2024 Aiden Bai, Million Software, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the “Software”), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge, publish, distribute,
interface StackInfo {
fullStack: string[];
topFrame: string;
sourceFile: string;
}
const getDescriptor = (obj: any, prop: string) => {
let desc;
while (obj && !desc) {
desc = Object.getOwnPropertyDescriptor(obj, prop);