PageSourceSearch

https://joshlevy.vercel.app/static/js/5.baadbf4c.chunk.js

js joshlevy.vercel.app collected 2026-10-03 07:09:22 UTC 12,518 bytes, 2 lines download raw bytes

1(this.webpackJsonpportfolio=this.webpackJsonpportfolio||[]).push([[5],[,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));n(19);var i=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"animate__";return new Promise((function(i,o){var r="".concat(n).concat(t),a=document.querySelector(e);a.classList.add("".concat(n,"animated"),r),a.addEventListener("animationend",(function(e){e.stopPropagation(),a.classList.remove("".concat(n,"animated"),r),i("Animation ended")}),{once:!0})}))};function o(){document.getElementById("About").style.opacity=1,document.getElementById("Experience").style.opacity=1,document.getElementById("Projects").style.opacity=1,document.getElementById("Skills").style.opacity=1,document.getElementById("Goals").style.opacity=1,document.getElementById("Contact").style.opacity=1,Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)<640&&i("#wrapper","fadeOutLeft").then((function(){document.getElementById("wrapper").classList.add("invisible"),document.getElementById("top-bar").classList.remove("invisible")}))}function r(){i("#top-bar","backOutLeft").then((function(){document.getElementById("top-bar").classList.add("invisible"),document.getElementById("wrapper").classList.remove("invisible")})),document.getElementById("wrapper").classList.add("invisible"),document.getElementById("top-bar").classList.remove("invisible"),document.getElementById("About").style.opacity=.65,document.getElementById("Experience").style.opacity=.65,document.getElementById("Projects").style.opacity=.65,document.getElementById("Skills").style.opacity=.65,document.getElementById("Goals").style.opacity=.65,document.getElementById("Contact").style.opacity=.65}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function o(e){return e&&e.__esModule?e:{default:e}}var r=n(1),a=o(r),s=o(n(13)),l=o(n(15)),c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){for(var i=!0;i;){var o=e,r=t,a=n;i=!1,null===o&&(o=Function.prototype);var s=Object.getOwnPropertyDescriptor(o,r);if(void 0!==s){if("value"in s)return s.value;var l=s.get;if(void 0===l)return;return l.call(a)}var c=Object.getPrototypeOf(o);if(null===c)return;e=c,t=r,n=a,i=!0,s=c=void 0}}(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.serverSide="undefined"===typeof window,this.listener=(0,s.default)(this.handleScroll.bind(this),50),this.visibility={onScreen:!1,inViewport:!1},this.state={classes:"animated",style:{animationDuration:this.props.duration+"s",opacity:this.props.initiallyVisible?1:0}}}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"getElementTop",value:function(e){for(var t=0;e&&void 0!==e.offsetTop&&void 0!==e.clientTop;)t+=e.offsetTop+e.clientTop,e=e.offsetParent;return t}},{key:"getScrollPos",value:function(){return void 0!==this.scrollableParent.pageYOffset?this.scrollableParent.pageYOffset:this.scrollableParent.scrollTop}},{key:"getScrollableParentHeight",value:function(){return void 0!==this.scrollableParent.innerHeight?this.scrollableParent.innerHeight:this.scrollableParent.clientHeight}},{key:"getViewportTop",value:function(){return this.getScrollPos()+this.props.offset}},{key:"getViewportBottom",value:function(){return this.getScrollPos()+this.getScrollableParentHeight()-this.props.offset}},{key:"isInViewport",value:function(e){return e>=this.getViewportTop()&&e<=this.getViewportBottom()}},{key:"isAboveViewport",value:function(e){return e<this.getViewportTop()}},{key:"isBelowViewport",value:function(e){return e>this.getViewportBottom()}},{key:"inViewport",value:function(e,t){return this.isInViewport(e)||this.isInViewport(t)||this.isAboveViewport(e)&&this.isBelowViewport(t)}},{key:"onScreen",value:function(e,t){return!this.isAboveScreen(t)&&!this.isBelowScreen(e)}},{key:"isAboveScreen",value:function(e){return e<this.getScrollPos()}},{key:"isBelowScreen",value:function(e){return e>this.getScrollPos()+this.getScrollableParentHeight()}},{key:"getVisibility",value:function(){var e=this.getElementTop(this.node)-this.getElementTop(this.scrollableParent),t=e+this.node.clientHeight;return{inViewport:this.inViewport(e,t),onScreen:this.onScreen(e,t)}}},{key:"componentDidMount",value:function(){if(!this.serverSide){var e=this.props.scrollableParentSelector;this.scrollableParent=e?document.querySelector(e):window,this.scrollableParent&&this.scrollableParent.addEventListener?this.scrollableParent.addEventListener("scroll",this.listener):console.warn("Cannot find element by locator: "+this.props.scrollableParentSelector),this.props.animatePreScroll&&this.handleScroll()}}},{key:"componentWillUnmount",value:function(){clearTimeout(this.delayedAnimationTimeout),clearTimeout(this.callbackTimeout),window&&window.removeEventListener&&window.removeEventListener("scroll",this.listener)}},{key:"visibilityHasChanged",value:function(e,t){return e.inViewport!==t.inViewport||e.onScreen!==t.onScreen}},{key:"animate",value:function(e,t){var n=this;this.delayedAnimationTimeout=setTimeout((function(){n.animating=!0,n.setState({classes:"animated "+e,style:{animationDuration:n.props.duration+"s"}}),n.callbackTimeout=setTimeout(t,1e3*n.props.duration)}),this.props.delay)}},{key:"animateIn",value:function(e){var t=this;
1this.animate(this.props.animateIn,(function(){t.props.animateOnce||(t.setState({style:{animationDuration:t.props.duration+"s",opacity:1}}),t.animating=!1);var n=t.getVisibility();e&&e(n)}))}},{key:"animateOut",value:function(e){var t=this;this.animate(this.props.animateOut,(function(){t.setState({classes:"animated",style:{animationDuration:t.props.duration+"s",opacity:0}});var n=t.getVisibility();n.inViewport&&t.props.animateIn?t.animateIn(t.props.afterAnimatedIn):t.animating=!1,e&&e(n)}))}},{key:"handleScroll",value:function(){if(!this.animating){var e=this.getVisibility();this.visibilityHasChanged(this.visibility,e)&&(clearTimeout(this.delayedAnimationTimeout),e.onScreen?e.inViewport&&this.props.animateIn?this.animateIn(this.props.afterAnimatedIn):e.onScreen&&this.visibility.inViewport&&this.props.animateOut&&1===this.state.style.opacity&&this.animateOut(this.props.afterAnimatedOut):this.setState({classes:"animated",style:{animationDuration:this.props.duration+"s",opacity:this.props.initiallyVisible?1:0}}),this.visibility=e)}}},{key:"render",value:function(){var e=this,t=this.props.className?this.props.className+" "+this.state.classes:this.state.classes;return a.default.createElement("div",{ref:function(t){e.node=t},className:t,style:Object.assign({},this.state.style,this.props.style)},this.props.children)}}]),t}(r.Component);t.default=c,c.defaultProps={offset:150,duration:1,initiallyVisible:!1,delay:0,animateO
1nce:!1,animatePreScroll:!0},c.propTypes={animateIn:l.default.string,animateOut:l.default.string,offset:l.default.number,duration:l.default.number,delay:l.default.number,initiallyVisible:l.default.bool,animateOnce:l.default.bool,style:l.default.object,scrollableParentSelector:l.default.string,className:l.default.string,animatePreScroll:l.default.bool},e.exports=t.default},function(e,t,n){(function(t){var n="Expected a function",i=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt,l="object"==typeof t&&t&&t.Object===Object&&t,c="object"==typeof self&&self&&self.Object===Object&&self,u=l||c||Function("return this")(),p=Object.prototype.toString,d=Math.max,f=Math.min,m=function(){return u.Date.now()};function h(e,t,i){var o,r,a,s,l,c,u=0,p=!1,h=!1,v=!0;if("function"!=typeof e)throw new TypeError(n);function g(t){var n=o,i=r;return o=r=void 0,u=t,s=e.apply(i,n)}function w(e){return u=e,l=setTimeout(O,t),p?g(e):s}function j(e){var n=e-c;return void 0===c||n>=t||n<0||h&&e-u>=a}function O(){var e=m();if(j(e))return x(e);l=setTimeout(O,function(e){var n=t-(e-c);return h?f(n,a-(e-u)):n}(e))}function x(e){return l=void 0,v&&o?g(e):(o=r=void 0,s)}function k(){var e=m(),n=j(e);if(o=arguments,r=this,c=e,n){if(void 0===l)return w(c);if(h)return l=setTimeout(O,t),g(c)}return void 0===l&&(l=setTimeout(O,t)),s}return t=b(t)||0,y(i)&&(p=!!i.leading,a=(h="maxWait"in i)?d(b(i.maxWait)||0,t):a,v="trailing"in i?!!i.trailing:v),k.cancel=function(){void 0!==l&&clearTimeout(l),u=0,o=c=r=l=void 0},k.flush=function(){return void 0===l?s:x(m())},k}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==p.call(e)}(e))return NaN;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=r.test(e);return n||a.test(e)?s(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,i){var o=!0,r=!0;if("function"!=typeof e)throw new TypeError(n);return y(i)&&(o="leading"in i?!!i.leading:o,r="trailing"in i?!!i.trailing:r),h(e,t,{leading:o,maxWait:t,trailing:r})}}).call(this,n(14))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){e.exports=n(16)()},function(e,t,n){"use strict";var i=n(17);function o(){}function r(){}r.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,r,a){if(a!==i){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var i=n(0);n(1);t.a=function(e){var t=e.text;return Object(i.jsx)("h3",{className:"text-xl sm:text-2xl md:text-3xl lg:text-4xl font-bold w-full bg-headerColor text-center absolute top-0 p-5 lg:p-7",children:t})}},,,,,,,,function(e,t,n){"use strict";n.r(t);var i=n(0),o=(n(1),n(12)),r=n.n(o),a=n(11),s=n(18);function l(e){var t=e.checked,n=e.item,o=e.date,a=e.current;return Object(i.jsx)(r.a,{animateIn:"fadeInUp",animateOnce:!0,children:Object(i.jsxs)("li",{className:t?"checked pb-1":"pb-1",children:[Object(i.jsx)("input",{type:"checkbox"}),Object(i.jsxs)("label",{children:[n," ",Object(i.jsx)("span",{className:"text-sm",children:o})]}),Object(i.jsx)("span",{className:a?"current":"input"})]})})}t.default=function(){return Object(i.jsxs)("section",{id:"Goals",className:"text-white text-xl flex justify-center items-center h-auto sm:ml-52 relative overflow-hidden content bg-bodyImage",onClick:a.a,children:[Object(i.jsx)(s.a,{text:"Goals"}
1),Object(i.jsx)(r.a,{animateIn:"fadeInUp",animateOnce:!0,className:"mt-16 sm:mt-20 md:mt-24",children:Object(i.jsx)("div",{className:"flex justify-center items-center text-white website_checklist w-full py-12 sm:py-16 md:py-20",children:Object(i.jsx)("div",{className:"bg-white rounded-xl shadow-xl text-black p-2 pb-4 checklist_header w-3/4 sm:pl-2 pr-8",children:Object(i.jsxs)("ul",{children:[Object(i.jsx)(l,{item:"Learn React",date:"February 2021",checked:!0}),Object(i.jsx)(l,{item:"Learn Typescript",date:"February 2021",checked:!0}),Object(i.jsx)(l,{item:"Learn Node",date:"March 2021",checked:!0}),Object(i.jsx)(l,{item:"Learn MongoDB",date:"April 2021",checked:!0}),Object(i.jsx)(l,{item:"Cooking app using MERN stack",date:"June 2021",current:!0}),Object(i.jsx)(l,{item:"Learn Next JS",date:"June 2021"}),Object(i.jsx)(l,{item:"Basketball Workout App With Next and MongoDB",date:"May 2021"}),Object(i.jsx)(l,{item:"Write a Medium Article",date:"August 2021"})]})})})})]})}}]]);
2//# sourceMappingURL=5.baadbf4c.chunk.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.