Skip to content

Commit

Permalink
Update vivek.js
Browse files Browse the repository at this point in the history
  • Loading branch information
AryanVBW authored Nov 16, 2024
1 parent ad7065d commit 8b60278
Showing 1 changed file with 149 additions and 13 deletions.
162 changes: 149 additions & 13 deletions assets/vivek.js
Original file line number Diff line number Diff line change
@@ -1,32 +1,168 @@
function Qc(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const l in r)if(l!=="default"&&!(l in e)){const i=Object.getOwnPropertyDescriptor(r,l);i&&Object.defineProperty(e,l,i)}}}return e}
// Function to merge properties from multiple source objects into a target object
//As Krushn Sir says, efficient code is not what a computer understands; it is what a human can understand.
function Qc(e,t){
for(var n=0;n<t.length;n++){
const r=t[n];
if(typeof r!="string"&&!Array.isArray(r)){
for(const l in r)
if(l!=="default"&&!(l in e)){
const i=Object.getOwnPropertyDescriptor(r,l);
i && Object.defineProperty(e,l,i);
}
}
}
return e;
}

var nr=Symbol.for("react.element"),Yc=Symbol.for("react.portal"),Xc=Symbol.for("react.fragment"),Gc=Symbol.for("react.strict_mode"),Zc=Symbol.for("react.profiler"),Jc=Symbol.for("react.provider"),qf=Symbol.for("react.context");
// Symbols representing React elements and components
var nr=Symbol.for("react.element"),
Yc=Symbol.for("react.portal"),
Xc=Symbol.for("react.fragment"),
Gc=Symbol.for("react.strict_mode"),
Zc=Symbol.for("react.profiler"),
Jc=Symbol.for("react.provider"),
qf=Symbol.for("react.context");

var ff=x,df=Symbol.for("react.element"),pf=Symbol.for("react.fragment"),hf=Object.prototype.hasOwnProperty,mf=ff.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,vf={key:!0,ref:!0,__self:!0,__source:!0};
// Internal React properties
var ff=x,
df=Symbol.for("react.element"),
pf=Symbol.for("react.fragment"),
hf=Object.prototype.hasOwnProperty,
mf=ff.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
vf={key:!0,ref:!0,__self:!0,__source:!0};

(function(e){function t(_,z){var T=_.length;_.push(z);e:for(;0<T;){var Q=T-1>>>1,J=_[Q];if(0<l(J,z))_[Q]=z,_[T]=J,T=Q;else break e}}function n(_){return _.length===0?null:_[0]}function r(_){if(_.length===0)return null;var z=_[0],T=_.pop();if(_.length>0){_[0]=T;var Q=0;for(;;){var J=2*Q+1,K=J+1,Z=_[J];if(K<_.length&&l(Z,_[K])>0&&(J=K,Z=_[K]),l(T,Z)<=0)break;_[Q]=Z,_[J]=T,Q=J}}return z}})(this);
// Function to handle a min-heap data structure
(function(e){
function t(_,z){
var T=_.length;
_.push(z);
e:for(;0<T;){
var Q=T-1>>>1,J=_[Q];
if(0<l(J,z))_[Q]=z,_[T]=J,T=Q;
else break e;
}
}
function n(_){ return _.length===0?null:_[0] }
function r(_){
if(_.length===0) return null;
var z=_[0],T=_.pop();
if(_.length>0){
_[0]=T;
var Q=0;
for(;;){
var J=2*Q+1,K=J+1,Z=_[J];
if(K<_.length&&l(Z,_[K])>0&&(J=K,Z=_[K]),l(T,Z)<=0) break;
_[Q]=Z,_[J]=T,Q=J;
}
}
return z;
}
})(this);

var gf=x,we=yf;function k(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}
// Function to format error messages for React
var gf=x,we=yf;
function k(e){
for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)
t+="&args[]="+encodeURIComponent(arguments[n]);
return "Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
}

var Il=!1;function Fl(e,t){if(!e||Il)return"";Il=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{get:function(){throw Error()}}),t(),Error.captureStackTrace(t),t.stack)for(var r=t.stack.split("\n"),l=e.length-1,i=r.length-1;1<=l&&0<=i&&e[l]!==r[i];)i--;for(;1<=l&&0<=i;l--,i--)if(e[l]!==r[i]){if(l!==1||i!==1)do if(l--,i--,0>i||e[l]!==r[i]){var o="\n"+e[l].replace(" at new "," at ");return e.displayName&&o.includes("<anonymous>")&&(o=o.replace("<anonymous>",e.displayName)),o}while(1<=l&&0<=i);break}}finally{Il=!1,Error.prepareStackTrace=n}return""}
// Function to prepare stack trace for errors
var Il=!1;
function Fl(e,t){
if(!e||Il) return "";
Il=!0;
var n=Error.prepareStackTrace;
Error.prepareStackTrace=void 0;
try{
if(t)
if(t=function(){ throw Error() },
Object.defineProperty(t.prototype,"props",{get:function(){ throw Error() }}),
t(), Error.captureStackTrace(t), t.stack)
for(var r=t.stack.split("\n"),l=e.length-1,i=r.length-1;1<=l&&0<=i&&e[l]!==r[i];)i--;
for(;1<=l&&0<=i;l--,i--)
if(e[l]!==r[i]){
if(l!==1||i!==1)
do if(l--,i--,0>i||e[l]!==r[i]){
var o="\n"+e[l].replace(" at new "," at ");
return e.displayName&&o.includes("<anonymous>")&&(o=o.replace("<anonymous>",e.displayName)),o;
}while(1<=l&&0<=i);
break;
}
} finally { Il=!1, Error.prepareStackTrace=n }
return "";
}

function Sr(e,t,n){if(t=zu(t),zu(e)!==t&&n)throw Error(k(425))}
// Function to validate compatibility of two types
function Sr(e,t,n){
if(t=zu(t), zu(e)!==t&&n) throw Error(k(425));
}

// Empty function placeholder
function Xr(){}

var Ni=null,Li=null;function Ri(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!==null}
// Variables for internal React use
var Ni=null, Li=null;
function Ri(e,t){
return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!==null;
}

function ti(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ui(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n},0)}}
// Function to create an error object
function ti(e,t,n){
return {value:e, source:null, stack:n??null, digest:t??null};
}

function er(){return er=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},er.apply(this,arguments)}
// Function to log errors to the console
function Ui(e,t){
try{ console.error(t.value) } catch(n){ setTimeout(function(){ throw n },0) }
}

function tr(){return tr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tr.apply(this,arguments)}
// Function to merge properties from multiple source objects into a target object
function er(){
return er=Object.assign?Object.assign.bind():function(e){
for(var t=1;t<arguments.length;t++){
var n=arguments[t];
for(var r in n) Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);
}
return e;
}, er.apply(this,arguments);
}

function to(){return to=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},to.apply(this,arguments)}
// Function to merge properties from multiple source objects into a target object
function tr(){
return tr=Object.assign?Object.assign.bind():function(e){
for(var t=1;t<arguments.length;t++){
var n=arguments[t];
for(var r in n) Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);
}
return e;
}, tr.apply(this,arguments);
}

// Function to merge properties from multiple source objects into a target object
function to(){
return to=Object.assign?Object.assign.bind():function(e){
for(var t=1;t<arguments.length;t++){
var n=arguments[t];
for(var r in n) Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);
}
return e;
}, to.apply(this,arguments);
}

// Default properties for SVG elements
var Eh={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};

const Ch=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),sr=(e,t)=>{const n=x.forwardRef(({color:r="currentColor",size:l=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:u="",children:c,...d},f)=>x.createElement(e,a({ref:f},d,{className:u,xmlns:Eh.xmlns,viewBox:Eh.viewBox,width:l,height:l,fill:"none",stroke:r,strokeWidth:i,strokeLinecap:Eh.strokeLinecap,strokeLinejoin:Eh.strokeLinejoin},c)))};const _h=sr("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);
// Function to convert camelCase to kebab-case
const Ch=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),
sr=(e,t)=>{
const n=x.forwardRef(({color:r="currentColor",size:l=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:u="",children:c,...d},f)=>
x.createElement(e, a({ref:f}, d, {className:u, xmlns:Eh.xmlns, viewBox:Eh.viewBox, width:l, height:l, fill:"none", stroke:r, strokeWidth:i, strokeLinecap:Eh.strokeLinecap, strokeLinejoin:Eh.strokeLinejoin}, c))
);
};

// Definitions for various SVG icons
const _h=sr("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);
const Ph=sr("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);
const Nh=sr("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);
const Lh=sr("Code2",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);
Expand Down

0 comments on commit 8b60278

Please sign in to comment.