UNPKG

react-draggable-slider

Version:

Smooth draggable React slider for project items using Spring and GSAP

9 lines 140 kB
module.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=8)}([function(t,e){t.exports=require("react")},function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"ServerStyleSheet",(function(){return Ft})),n.d(e,"StyleSheetConsumer",(function(){return Q})),n.d(e,"StyleSheetContext",(function(){return H})),n.d(e,"StyleSheetManager",(function(){return nt})),n.d(e,"ThemeConsumer",(function(){return Ct})),n.d(e,"ThemeContext",(function(){return Tt})),n.d(e,"ThemeProvider",(function(){return At})),n.d(e,"__PRIVATE__",(function(){return Vt})),n.d(e,"createGlobalStyle",(function(){return zt})),n.d(e,"css",(function(){return ct})),n.d(e,"isStyledComponent",(function(){return b})),n.d(e,"keyframes",(function(){return It})),n.d(e,"useTheme",(function(){return Lt})),n.d(e,"version",(function(){return Nt})),n.d(e,"withTheme",(function(){return Dt}));var r=n(2),i=n(0),a=n.n(i),o=n(5),s=n.n(o),u=n(6),l=n(7),c=n(4),f=n(3),h=n.n(f);function d(){return(d=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var p=function(t,e){for(var n=[t[0]],r=0,i=e.length;r<i;r+=1)n.push(e[r],t[r+1]);return n},m=function(t){return null!==t&&"object"==typeof t&&"[object Object]"===(t.toString?t.toString():Object.prototype.toString.call(t))&&!Object(r.typeOf)(t)},g=Object.freeze([]),y=Object.freeze({});function v(t){return"function"==typeof t}function _(t){return t.displayName||t.name||"Component"}function b(t){return t&&"string"==typeof t.styledComponentId}var w=void 0!==t&&(t.env.REACT_APP_SC_ATTR||t.env.SC_ATTR)||"data-styled",x="undefined"!=typeof window&&"HTMLElement"in window,k="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||void 0!==t&&(t.env.REACT_APP_SC_DISABLE_SPEEDY||t.env.SC_DISABLE_SPEEDY)||!1,O={},S=function(){return n.nc};function T(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#"+t+" for more information."+(n.length>0?" Additional arguments: "+n.join(", "):""))}var C=function(t){var e=document.head,n=t||e,r=document.createElement("style"),i=function(t){for(var e=t.childNodes,n=e.length;n>=0;n--){var r=e[n];if(r&&1===r.nodeType&&r.hasAttribute(w))return r}}(n),a=void 0!==i?i.nextSibling:null;r.setAttribute(w,"active"),r.setAttribute("data-styled-version","5.1.1");var o=S();return o&&r.setAttribute("nonce",o),n.insertBefore(r,a),r},A=function(){function t(t){var e=this.element=C(t);e.appendChild(document.createTextNode("")),this.sheet=function(t){if(t.sheet)return t.sheet;for(var e=document.styleSheets,n=0,r=e.length;n<r;n++){var i=e[n];if(i.ownerNode===t)return i}T(17)}(e),this.length=0}var e=t.prototype;return e.insertRule=function(t,e){try{return this.sheet.insertRule(e,t),this.length++,!0}catch(t){return!1}},e.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.getRule=function(t){var e=this.sheet.cssRules[t];return void 0!==e&&"string"==typeof e.cssText?e.cssText:""},t}(),P=function(){function t(t){var e=this.element=C(t);this.nodes=e.childNodes,this.length=0}var e=t.prototype;return e.insertRule=function(t,e){if(t<=this.length&&t>=0){var n=document.createTextNode(e),r=this.nodes[t];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},e.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},t}(),E=function(){function t(t){this.rules=[],this.length=0}var e=t.prototype;return e.insertRule=function(t,e){return t<=this.length&&(this.rules.splice(t,0,e),this.length++,!0)},e.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.getRule=function(t){return t<this.length?this.rules[t]:""},t}(),j=function(){function t(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}var e=t.prototype;return e.indexOfGroup=function(t){for(var e=0,n=0;n<t;n++)e+=this.groupSizes[n];return e},e.insertRules=function(t,e){if(t>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;t>=i;)(i<<=1)<0&&T(16,""+t);this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var a=r;a<i;a++)this.groupSizes[a]=0}for(var o=this.indexOfGroup(t+1),s=0,u=e.length;s<u;s++)this.tag.insertRule(o,e[s])&&(this.groupSizes[t]++,o++)},e.clearGroup=function(t){if(t<this.length){var e=this.groupSizes[t],n=this.indexOfGroup(t),r=n+e;this.groupSizes[t]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},e.getGroup=function(t){var e="";if(t>=this.length||0===this.groupSizes[t])return e;for(var n=this.groupSizes[t],r=this.indexOfGroup(t),i=r+n,a=r;a<i;a++)e+=this.tag.getRule(a)+"/*!sc*/\n";return e},t}(),M=new Map,R=new Map,z=1,I=function(t){if(M.has(t))return M.get(t);var e=z++;return M.set(t,e),R.set(e,t),e},F=function(t){return R.get(t)},D=function(t,e){e>=z&&(z=e+1),M.set(t,e),R.set(e,t)},L="style["+w+'][data-styled-version="5.1.1"]',V=new RegExp("^"+w+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),N=function(t,e,n){for(var r,i=n.split(","),a=0,o=i.length;a<o;a++)(r=i[a])&&t.registerName(e,r)},$=function(t,e){for(var n=e.innerHTML.split("/*!sc*/\n"),r=[],i=0,a=n.length;i<a;i++){var o=n[i].trim();if(o){var s=o.match(V);if(s){var u=0|parseInt(s[1],10),l=s[2];0!==u&&(D(l,u),N(t,l,s[3]),t.getTag().insertRules(u,r)),r.length=0}else r.push(o)}}},B=x,q={isServer:!x,useCSSOMInjection:!k},Y=function(){function t(t,e,n){void 0===t&&(t=q),void 0===e&&(e={}),this.options=d({},q,{},t),this.gs=e,this.names=new Map(n),!this.options.isServer&&x&&B&&(B=!1,function(t){for(var e=document.querySelectorAll(L),n=0,r=e.length;n<r;n++){var i=e[n];i&&"active"!==i.getAttribute(w)&&($(t,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}t.registerId=function(t){return I(t)};var e=t.prototype;return e.reconstructWithOptions=function(e){return new t(d({},this.options,{},e),this.gs,this.names)},e.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.getTag=function(){return this.tag||(this.tag=(e=this.options,n=e.isServer,r=e.useCSSOMInjection,i=e.target,t=n?new E(i):r?new A(i):new P(i),new j(t)));var t,e,n,r,i},e.hasNameForId=function(t,e){return this.names.has(t)&&this.names.get(t).has(e)},e.registerName=function(t,e){if(I(t),this.names.has(t))this.names.get(t).add(e);else{var n=new Set;n.add(e),this.names.set(t,n)}},e.insertRules=function(t,e,n){this.registerName(t,e),this.getTag().insertRules(I(t),n)},e.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.clearRules=function(t){this.getTag().clearGroup(I(t)),this.clearNames(t)},e.clearTag=function(){this.tag=void 0},e.toString=function(){return function(t){for(var e=t.getTag(),n=e.length,r="",i=0;i<n;i++){var a=F(i);if(void 0!==a){var o=t.names.get(a),s=e.getGroup(i);if(void 0!==o&&0!==s.length){var u=w+".g"+i+'[id="'+a+'"]',l="";void 0!==o&&o.forEach((function(t){t.length>0&&(l+=t+",")})),r+=""+s+u+'{content:"'+l+'"}/*!sc*/\n'}}}return r}(this)},t}(),X=function(t,e){for(var n=e.length;n;)t=33*t^e.charCodeAt(--n);return t},U=function(t){return X(5381,t)};var G=/^\s*\/\/.*$/gm;function W(t){var e,n,r,i=void 0===t?y:t,a=i.options,o=void 0===a?y:a,s=i.plugins,l=void 0===s?g:s,c=new u.a(o),f=[],h=function(t){function e(e){if(e)try{t(e+"}")}catch(t){}}return function(n,r,i,a,o,s,u,l,c,f){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return t(r+";"),"";break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return t(i[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(e)}}}((function(t){f.push(t)})),d=function(t,r,i){return r>0&&-1!==i.slice(0,r).indexOf(n)&&i.slice(r-n.length,r)!==n?"."+e:t};function p(t,i,a,o){void 0===o&&(o="&");var s=t.replace(G,""),u=i&&a?a+" "+i+" { "+s+" }":s;return e=o,n=i,r=new RegExp("\\"+n+"\\b","g"),c(a||!i?"":i,u)}return c.use([].concat(l,[function(t,e,i){2===t&&i.length&&i[0].lastIndexOf(n)>0&&(i[0]=i[0].replace(r,d))},h,function(t){if(-2===t){var e=f;return f=[],e}}])),p.hash=l.length?l.reduce((function(t,e){return e.name||T(15),X(t,e.name)}),5381).toString():"",p}var H=a.a.createContext(),Q=H.Consumer,K=a.a.createContext(),Z=(K.Consumer,new Y),J=W();function tt(){return Object(i.useContext)(H)||Z}function et(){return Object(i.useContext)(K)||J}function nt(t){var e=Object(i.useState)(t.stylisPlugins),n=e[0],r=e[1],o=tt(),u=Object(i.useMemo)((function(){var e=o;return t.sheet?e=t.sheet:t.target&&(e=e.reconstructWithOptions({target:t.target})),t.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e}),[t.disableCSSOMInjection,t.sheet,t.target]),l=Object(i.useMemo)((function(){return W({options:{prefix:!t.disableVendorPrefixes},plugins:n})}),[t.disableVendorPrefixes,n]);return Object(i.useEffect)((function(){s()(n,t.stylisPlugins)||r(t.stylisPlugins)}),[t.stylisPlugins]),a.a.createElement(H.Provider,{value:u},a.a.createElement(K.Provider,{value:l},t.children))}var rt=function(){function t(t,e){var n=this;this.inject=function(t){t.hasNameForId(n.id,n.name)||t.insertRules(n.id,n.name,J.apply(void 0,n.stringifyArgs))},this.toString=function(){return T(12,String(n.name))},this.name=t,this.id="sc-keyframes-"+t,this.stringifyArgs=e}return t.prototype.getName=function(){return this.name},t}(),it=/([A-Z])/g,at=/^ms-/;function ot(t){return t.replace(it,"-$1").toLowerCase().replace(at,"-ms-")}var st=function(t){return null==t||!1===t||""===t},ut=function t(e,n){var r=[];return Object.keys(e).forEach((function(n){if(!st(e[n])){if(m(e[n]))return r.push.apply(r,t(e[n],n)),r;if(v(e[n]))return r.push(ot(n)+":",e[n],";"),r;r.push(ot(n)+": "+(i=n,(null==(a=e[n])||"boolean"==typeof a||""===a?"":"number"!=typeof a||0===a||i in l.a?String(a).trim():a+"px")+";"))}var i,a;return r})),n?[n+" {"].concat(r,["}"]):r};function lt(t,e,n){if(Array.isArray(t)){for(var r,i=[],a=0,o=t.length;a<o;a+=1)""!==(r=lt(t[a],e,n))&&(Array.isArray(r)?i.push.apply(i,r):i.push(r));return i}return st(t)?"":b(t)?"."+t.styledComponentId:v(t)?"function"!=typeof(s=t)||s.prototype&&s.prototype.isReactComponent||!e?t:lt(t(e),e,n):t instanceof rt?n?(t.inject(n),t.getName()):t:m(t)?ut(t):t.toString();var s}function ct(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return v(t)||m(t)?lt(p(g,[t].concat(n))):0===n.length&&1===t.length&&"string"==typeof t[0]?t:lt(p(t,n))}var ft=function(t){return"function"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)},ht=function(t){return"__proto__"!==t&&"constructor"!==t&&"prototype"!==t};function dt(t,e,n){var r=t[n];ft(e)&&ft(r)?pt(r,e):t[n]=e}function pt(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];for(var i=0,a=n;i<a.length;i++){var o=a[i];if(ft(o))for(var s in o)ht(s)&&dt(t,o[s],s)}return t}var mt=/(a)(d)/gi,gt=function(t){return String.fromCharCode(t+(t>25?39:97))};function yt(t){var e,n="";for(e=Math.abs(t);e>52;e=e/52|0)n=gt(e%52)+n;return(gt(e%52)+n).replace(mt,"$1-$2")}function vt(t){for(var e=0;e<t.length;e+=1){var n=t[e];if(v(n)&&!b(n))return!1}return!0}var _t=function(){function t(t,e){this.rules=t,this.staticRulesId="",this.isStatic=vt(t),this.componentId=e,this.baseHash=U(e),Y.registerId(e)}return t.prototype.generateAndInjectStyles=function(t,e,n){var r=this.componentId;if(this.isStatic&&!n.hash){if(this.staticRulesId&&e.hasNameForId(r,this.staticRulesId))return this.staticRulesId;var i=lt(this.rules,t,e).join(""),a=yt(X(this.baseHash,i.length)>>>0);if(!e.hasNameForId(r,a)){var o=n(i,"."+a,void 0,r);e.insertRules(r,a,o)}return this.staticRulesId=a,a}for(var s=this.rules.length,u=X(this.baseHash,n.hash),l="",c=0;c<s;c++){var f=this.rules[c];if("string"==typeof f)l+=f;else{var h=lt(f,t,e),d=Array.isArray(h)?h.join(""):h;u=X(u,d+c),l+=d}}var p=yt(u>>>0);if(!e.hasNameForId(r,p)){var m=n(l,"."+p,void 0,r);e.insertRules(r,p,m)}return p},t}(),bt=(new Set,function(t,e,n){return void 0===n&&(n=y),t.theme!==n.theme&&t.theme||e||n.theme}),wt=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,xt=/(^-|-$)/g;function kt(t){return t.replace(wt,"-").replace(xt,"")}function Ot(t){return"string"==typeof t&&!0}var St=function(t){return yt(U(t)>>>0)};var Tt=a.a.createContext(),Ct=Tt.Consumer;function At(t){var e=Object(i.useContext)(Tt),n=Object(i.useMemo)((function(){return function(t,e){return t?v(t)?t(e):Array.isArray(t)||"object"!=typeof t?T(8):e?d({},e,{},t):t:T(14)}(t.theme,e)}),[t.theme,e]);return t.children?a.a.createElement(Tt.Provider,{value:n},t.children):null}var Pt={};function Et(t,e,n){var r=t.attrs,a=t.componentStyle,o=t.defaultProps,s=t.foldedComponentIds,u=t.shouldForwardProp,l=t.styledComponentId,f=t.target;Object(i.useDebugValue)(l);var h=function(t,e,n){void 0===t&&(t=y);var r=d({},e,{theme:t}),i={};return n.forEach((function(t){var e,n,a,o=t;for(e in v(o)&&(o=o(r)),o)r[e]=i[e]="className"===e?(n=i[e],a=o[e],n&&a?n+" "+a:n||a):o[e]})),[r,i]}(bt(e,Object(i.useContext)(Tt),o)||y,e,r),p=h[0],m=h[1],g=function(t,e,n,r){var a=tt(),o=et(),s=t.isStatic&&!e?t.generateAndInjectStyles(y,a,o):t.generateAndInjectStyles(n,a,o);return Object(i.useDebugValue)(s),s}(a,r.length>0,p),_=n,b=m.$as||e.$as||m.as||e.as||f,w=Ot(b),x=m!==e?d({},e,{},m):e,k=u||w&&c.a,O={};for(var S in x)"$"!==S[0]&&"as"!==S&&("forwardedAs"===S?O.as=x[S]:k&&!k(S,c.a)||(O[S]=x[S]));return e.style&&m.style!==e.style&&(O.style=d({},e.style,{},m.style)),O.className=Array.prototype.concat(s,l,g!==l?g:null,e.className,m.className).filter(Boolean).join(" "),O.ref=_,Object(i.createElement)(b,O)}function jt(t,e,n){var r=b(t),i=!Ot(t),o=e.displayName,s=void 0===o?function(t){return Ot(t)?"styled."+t:"Styled("+_(t)+")"}(t):o,u=e.componentId,l=void 0===u?function(t,e){var n="string"!=typeof t?"sc":kt(t);Pt[n]=(Pt[n]||0)+1;var r=n+"-"+St(n+Pt[n]);return e?e+"-"+r:r}(e.displayName,e.parentComponentId):u,c=e.attrs,f=void 0===c?g:c,p=e.displayName&&e.componentId?kt(e.displayName)+"-"+e.componentId:e.componentId||l,m=r&&t.attrs?Array.prototype.concat(t.attrs,f).filter(Boolean):f,y=e.shouldForwardProp;r&&t.shouldForwardProp&&(y=y?function(n,r){return t.shouldForwardProp(n,r)&&e.shouldForwardProp(n,r)}:t.shouldForwardProp);var v,w=new _t(r?t.componentStyle.rules.concat(n):n,p),x=function(t,e){return Et(v,t,e)};return x.displayName=s,(v=a.a.forwardRef(x)).attrs=m,v.componentStyle=w,v.displayName=s,v.shouldForwardProp=y,v.foldedComponentIds=r?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):g,v.styledComponentId=p,v.target=r?t.target:t,v.withComponent=function(t){var r=e.componentId,i=function(t,e){if(null==t)return{};var n,r,i={},a=Object.keys(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(e,["componentId"]),a=r&&r+"-"+(Ot(t)?t:kt(_(t)));return jt(t,d({},i,{attrs:m,componentId:a}),n)},Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?pt({},t.defaultProps,e):e}}),v.toString=function(){return"."+v.styledComponentId},i&&h()(v,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,self:!0,styledComponentId:!0,target:!0,withComponent:!0}),v}var Mt=function(t){return function t(e,n,i){if(void 0===i&&(i=y),!Object(r.isValidElementType)(n))return T(1,String(n));var a=function(){return e(n,i,ct.apply(void 0,arguments))};return a.withConfig=function(r){return t(e,n,d({},i,{},r))},a.attrs=function(r){return t(e,n,d({},i,{attrs:Array.prototype.concat(i.attrs,r).filter(Boolean)}))},a}(jt,t)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(t){Mt[t]=Mt(t)}));var Rt=function(){function t(t,e){this.rules=t,this.componentId=e,this.isStatic=vt(t)}var e=t.prototype;return e.createStyles=function(t,e,n,r){var i=r(lt(this.rules,e,n).join(""),""),a=this.componentId+t;n.insertRules(a,a,i)},e.removeStyles=function(t,e){e.clearRules(this.componentId+t)},e.renderStyles=function(t,e,n,r){Y.registerId(this.componentId+t),this.removeStyles(t,n),this.createStyles(t,e,n,r)},t}();function zt(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=ct.apply(void 0,[t].concat(n)),s="sc-global-"+St(JSON.stringify(o)),u=new Rt(o,s);function l(t){var e=tt(),n=et(),r=Object(i.useContext)(Tt),a=Object(i.useRef)(null);null===a.current&&(a.current=e.allocateGSInstance(s));var o=a.current;if(u.isStatic)u.renderStyles(o,O,e,n);else{var c=d({},t,{theme:bt(t,r,l.defaultProps)});u.renderStyles(o,c,e,n)}return Object(i.useEffect)((function(){return function(){return u.removeStyles(o,e)}}),g),null}return a.a.memo(l)}function It(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=ct.apply(void 0,[t].concat(n)).join(""),a=St(i);return new rt(a,[i,a,"@keyframes"])}var Ft=function(){function t(){var t=this;this._emitSheetCSS=function(){var e=t.instance.toString(),n=S();return"<style "+[n&&'nonce="'+n+'"',w+'="true"','data-styled-version="5.1.1"'].filter(Boolean).join(" ")+">"+e+"</style>"},this.getStyleTags=function(){return t.sealed?T(2):t._emitSheetCSS()},this.getStyleElement=function(){var e;if(t.sealed)return T(2);var n=((e={})[w]="",e["data-styled-version"]="5.1.1",e.dangerouslySetInnerHTML={__html:t.instance.toString()},e),r=S();return r&&(n.nonce=r),[a.a.createElement("style",d({},n,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new Y({isServer:!0}),this.sealed=!1}var e=t.prototype;return e.collectStyles=function(t){return this.sealed?T(2):a.a.createElement(nt,{sheet:this.instance},t)},e.interleaveWithNodeStream=function(t){return T(3)},t}(),Dt=function(t){var e=a.a.forwardRef((function(e,n){var r=Object(i.useContext)(Tt),o=t.defaultProps,s=bt(e,r,o);return a.a.createElement(t,d({},e,{theme:s,ref:n}))}));return h()(e,t),e.displayName="WithTheme("+_(t)+")",e},Lt=function(){return Object(i.useContext)(Tt)},Vt={StyleSheet:Y,masterSheet:Z},Nt="5.1.1";e.default=Mt}.call(this,n(9))},function(t,e,n){"use strict";t.exports=n(10)},function(t,e,n){"use strict";var r=n(2),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(t){return r.isMemo(t)?o:s[t.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=o;var l=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,p=Object.prototype;t.exports=function t(e,n,r){if("string"!=typeof n){if(p){var i=d(n);i&&i!==p&&t(e,i,r)}var o=c(n);f&&(o=o.concat(f(n)));for(var s=u(e),m=u(n),g=0;g<o.length;++g){var y=o[g];if(!(a[y]||r&&r[y]||m&&m[y]||s&&s[y])){var v=h(n,y);try{l(e,y,v)}catch(t){}}}}return e}},function(t,e,n){"use strict";var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}((function(t){return r.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91}));e.a=i},function(t,e){t.exports=function(t,e,n,r){var i=n?n.call(r,t,e):void 0;if(void 0!==i)return!!i;if(t===e)return!0;if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var a=Object.keys(t),o=Object.keys(e);if(a.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(e),u=0;u<a.length;u++){var l=a[u];if(!s(l))return!1;var c=t[l],f=e[l];if(!1===(i=n?n.call(r,c,f,l):void 0)||void 0===i&&c!==f)return!1}return!0}},function(t,e,n){"use strict";e.a=function(t){function e(t,e,r){var i=e.trim().split(p);e=i;var a=i.length,o=t.length;switch(o){case 0:case 1:var s=0;for(t=0===o?"":t[0]+" ";s<a;++s)e[s]=n(t,e[s],r).trim();break;default:var u=s=0;for(e=[];s<a;++s)for(var l=0;l<o;++l)e[u++]=n(t[l]+" ",i[s],r).trim()}return e}function n(t,e,n){var r=e.charCodeAt(0);switch(33>r&&(r=(e=e.trim()).charCodeAt(0)),r){case 38:return e.replace(m,"$1"+t.trim());case 58:return t.trim()+e.replace(m,"$1"+t.trim());default:if(0<1*n&&0<e.indexOf("\f"))return e.replace(m,(58===t.charCodeAt(0)?"":"$1")+t.trim())}return t+e}function r(t,e,n,a){var o=t+";",s=2*e+3*n+4*a;if(944===s){t=o.indexOf(":",9)+1;var u=o.substring(t,o.length-1).trim();return u=o.substring(0,t).trim()+u+";",1===P||2===P&&i(u,1)?"-webkit-"+u+u:u}if(0===P||2===P&&!i(o,1))return o;switch(s){case 1015:return 97===o.charCodeAt(10)?"-webkit-"+o+o:o;case 951:return 116===o.charCodeAt(3)?"-webkit-"+o+o:o;case 963:return 110===o.charCodeAt(5)?"-webkit-"+o+o:o;case 1009:if(100!==o.charCodeAt(4))break;case 969:case 942:return"-webkit-"+o+o;case 978:return"-webkit-"+o+"-moz-"+o+o;case 1019:case 983:return"-webkit-"+o+"-moz-"+o+"-ms-"+o+o;case 883:if(45===o.charCodeAt(8))return"-webkit-"+o+o;if(0<o.indexOf("image-set(",11))return o.replace(S,"$1-webkit-$2")+o;break;case 932:if(45===o.charCodeAt(4))switch(o.charCodeAt(5)){case 103:return"-webkit-box-"+o.replace("-grow","")+"-webkit-"+o+"-ms-"+o.replace("grow","positive")+o;case 115:return"-webkit-"+o+"-ms-"+o.replace("shrink","negative")+o;case 98:return"-webkit-"+o+"-ms-"+o.replace("basis","preferred-size")+o}return"-webkit-"+o+"-ms-"+o+o;case 964:return"-webkit-"+o+"-ms-flex-"+o+o;case 1023:if(99!==o.charCodeAt(8))break;return"-webkit-box-pack"+(u=o.substring(o.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+o+"-ms-flex-pack"+u+o;case 1005:return h.test(o)?o.replace(f,":-webkit-")+o.replace(f,":-moz-")+o:o;case 1e3:switch(e=(u=o.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(e)){case 226:u=o.replace(_,"tb");break;case 232:u=o.replace(_,"tb-rl");break;case 220:u=o.replace(_,"lr");break;default:return o}return"-webkit-"+o+"-ms-"+u+o;case 1017:if(-1===o.indexOf("sticky",9))break;case 975:switch(e=(o=t).length-10,s=(u=(33===o.charCodeAt(e)?o.substring(0,e):o).substring(t.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:o=o.replace(u,"-webkit-"+u)+";"+o;break;case 207:case 102:o=o.replace(u,"-webkit-"+(102<s?"inline-":"")+"box")+";"+o.replace(u,"-webkit-"+u)+";"+o.replace(u,"-ms-"+u+"box")+";"+o}return o+";";case 938:if(45===o.charCodeAt(5))switch(o.charCodeAt(6)){case 105:return u=o.replace("-items",""),"-webkit-"+o+"-webkit-box-"+u+"-ms-flex-"+u+o;case 115:return"-webkit-"+o+"-ms-flex-item-"+o.replace(x,"")+o;default:return"-webkit-"+o+"-ms-flex-line-pack"+o.replace("align-content","").replace(x,"")+o}break;case 973:case 989:if(45!==o.charCodeAt(3)||122===o.charCodeAt(4))break;case 931:case 953:if(!0===O.test(t))return 115===(u=t.substring(t.indexOf(":")+1)).charCodeAt(0)?r(t.replace("stretch","fill-available"),e,n,a).replace(":fill-available",":stretch"):o.replace(u,"-webkit-"+u)+o.replace(u,"-moz-"+u.replace("fill-",""))+o;break;case 962:if(o="-webkit-"+o+(102===o.charCodeAt(5)?"-ms-"+o:"")+o,211===n+a&&105===o.charCodeAt(13)&&0<o.indexOf("transform",10))return o.substring(0,o.indexOf(";",27)+1).replace(d,"$1-webkit-$2")+o}return o}function i(t,e){var n=t.indexOf(1===e?":":"{"),r=t.substring(0,3!==e?n:10);return n=t.substring(n+1,t.length-1),R(2!==e?r:r.replace(k,"$1"),n,e)}function a(t,e){var n=r(e,e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2));return n!==e+";"?n.replace(w," or ($1)").substring(4):"("+e+")"}function o(t,e,n,r,i,a,o,s,l,c){for(var f,h=0,d=e;h<M;++h)switch(f=j[h].call(u,t,d,n,r,i,a,o,s,l,c)){case void 0:case!1:case!0:case null:break;default:d=f}if(d!==e)return d}function s(t){return void 0!==(t=t.prefix)&&(R=null,t?"function"!=typeof t?P=1:(P=2,R=t):P=0),s}function u(t,n){var s=t;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<M){var u=o(-1,n,s,s,C,T,0,0,0,0);void 0!==u&&"string"==typeof u&&(n=u)}var f=function t(n,s,u,f,h){for(var d,p,m,_,w,x=0,k=0,O=0,S=0,j=0,R=0,I=m=d=0,F=0,D=0,L=0,V=0,N=u.length,$=N-1,B="",q="",Y="",X="";F<N;){if(p=u.charCodeAt(F),F===$&&0!==k+S+O+x&&(0!==k&&(p=47===k?10:47),S=O=x=0,N++,$++),0===k+S+O+x){if(F===$&&(0<D&&(B=B.replace(c,"")),0<B.trim().length)){switch(p){case 32:case 9:case 59:case 13:case 10:break;default:B+=u.charAt(F)}p=59}switch(p){case 123:for(d=(B=B.trim()).charCodeAt(0),m=1,V=++F;F<N;){switch(p=u.charCodeAt(F)){case 123:m++;break;case 125:m--;break;case 47:switch(p=u.charCodeAt(F+1)){case 42:case 47:t:{for(I=F+1;I<$;++I)switch(u.charCodeAt(I)){case 47:if(42===p&&42===u.charCodeAt(I-1)&&F+2!==I){F=I+1;break t}break;case 10:if(47===p){F=I+1;break t}}F=I}}break;case 91:p++;case 40:p++;case 34:case 39:for(;F++<$&&u.charCodeAt(F)!==p;);}if(0===m)break;F++}switch(m=u.substring(V,F),0===d&&(d=(B=B.replace(l,"").trim()).charCodeAt(0)),d){case 64:switch(0<D&&(B=B.replace(c,"")),p=B.charCodeAt(1)){case 100:case 109:case 115:case 45:D=s;break;default:D=E}if(V=(m=t(s,D,m,p,h+1)).length,0<M&&(w=o(3,m,D=e(E,B,L),s,C,T,V,p,h,f),B=D.join(""),void 0!==w&&0===(V=(m=w.trim()).length)&&(p=0,m="")),0<V)switch(p){case 115:B=B.replace(b,a);case 100:case 109:case 45:m=B+"{"+m+"}";break;case 107:m=(B=B.replace(g,"$1 $2"))+"{"+m+"}",m=1===P||2===P&&i("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=B+m,112===f&&(q+=m,m="")}else m="";break;default:m=t(s,e(s,B,L),m,f,h+1)}Y+=m,m=L=D=I=d=0,B="",p=u.charCodeAt(++F);break;case 125:case 59:if(1<(V=(B=(0<D?B.replace(c,""):B).trim()).length))switch(0===I&&(d=B.charCodeAt(0),45===d||96<d&&123>d)&&(V=(B=B.replace(" ",":")).length),0<M&&void 0!==(w=o(1,B,s,n,C,T,q.length,f,h,f))&&0===(V=(B=w.trim()).length)&&(B="\0\0"),d=B.charCodeAt(0),p=B.charCodeAt(1),d){case 0:break;case 64:if(105===p||99===p){X+=B+u.charAt(F);break}default:58!==B.charCodeAt(V-1)&&(q+=r(B,d,p,B.charCodeAt(2)))}L=D=I=d=0,B="",p=u.charCodeAt(++F)}}switch(p){case 13:case 10:47===k?k=0:0===1+d&&107!==f&&0<B.length&&(D=1,B+="\0"),0<M*z&&o(0,B,s,n,C,T,q.length,f,h,f),T=1,C++;break;case 59:case 125:if(0===k+S+O+x){T++;break}default:switch(T++,_=u.charAt(F),p){case 9:case 32:if(0===S+x+k)switch(j){case 44:case 58:case 9:case 32:_="";break;default:32!==p&&(_=" ")}break;case 0:_="\\0";break;case 12:_="\\f";break;case 11:_="\\v";break;case 38:0===S+k+x&&(D=L=1,_="\f"+_);break;case 108:if(0===S+k+x+A&&0<I)switch(F-I){case 2:112===j&&58===u.charCodeAt(F-3)&&(A=j);case 8:111===R&&(A=R)}break;case 58:0===S+k+x&&(I=F);break;case 44:0===k+O+S+x&&(D=1,_+="\r");break;case 34:case 39:0===k&&(S=S===p?0:0===S?p:S);break;case 91:0===S+k+O&&x++;break;case 93:0===S+k+O&&x--;break;case 41:0===S+k+x&&O--;break;case 40:if(0===S+k+x){if(0===d)switch(2*j+3*R){case 533:break;default:d=1}O++}break;case 64:0===k+O+S+x+I+m&&(m=1);break;case 42:case 47:if(!(0<S+x+O))switch(k){case 0:switch(2*p+3*u.charCodeAt(F+1)){case 235:k=47;break;case 220:V=F,k=42}break;case 42:47===p&&42===j&&V+2!==F&&(33===u.charCodeAt(V+2)&&(q+=u.substring(V,F+1)),_="",k=0)}}0===k&&(B+=_)}R=j,j=p,F++}if(0<(V=q.length)){if(D=s,0<M&&(void 0!==(w=o(2,q,D,n,C,T,V,f,h,f))&&0===(q=w).length))return X+q+Y;if(q=D.join(",")+"{"+q+"}",0!=P*A){switch(2!==P||i(q,2)||(A=0),A){case 111:q=q.replace(v,":-moz-$1")+q;break;case 112:q=q.replace(y,"::-webkit-input-$1")+q.replace(y,"::-moz-$1")+q.replace(y,":-ms-input-$1")+q}A=0}}return X+q+Y}(E,s,n,0,0);return 0<M&&(void 0!==(u=o(-2,f,s,s,C,T,f.length,0,0,0))&&(f=u)),"",A=0,T=C=1,f}var l=/^\0+/g,c=/[\0\r\f]/g,f=/: */g,h=/zoo|gra/,d=/([,: ])(transform)/g,p=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,v=/:(read-only)/g,_=/[svh]\w+-[tblr]{2}/,b=/\(\s*(.*)\s*\)/g,w=/([\s\S]*?);/g,x=/-self|flex-/g,k=/[^]*?(:[rp][el]a[\w-]+)[^]*/,O=/stretch|:\s*\w+\-(?:conte|avail)/,S=/([^-])(image-set\()/,T=1,C=1,A=0,P=1,E=[],j=[],M=0,R=null,z=0;return u.use=function t(e){switch(e){case void 0:case null:M=j.length=0;break;default:if("function"==typeof e)j[M++]=e;else if("object"==typeof e)for(var n=0,r=e.length;n<r;++n)t(e[n]);else z=0|!!e}return t},u.set=s,void 0!==t&&s(t),u}},function(t,e,n){"use strict";e.a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.App=void 0;var r,i,a=(r=["\n width: auto;\n height: 100vh;\n overflow: hidden;\n position: relative;\n display: flex;\n align-items: center;\n"],i=["\n width: auto;\n height: 100vh;\n overflow: hidden;\n position: relative;\n display: flex;\n align-items: center;\n"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(i)}}))),o=l(n(0)),s=l(n(1)),u=l(n(11));function l(t){return t&&t.__esModule?t:{default:t}}var c=e.App=function(t){var e=t.sliderSettings;return o.default.createElement(f,{id:"projects"},o.default.createElement(u.default,{sliderSettings:e}))},f=s.default.section(a);e.default=c},function(t,e){var n,r,i=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(t){n=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(t){r=o}}();var u,l=[],c=!1,f=-1;function h(){c&&u&&(c=!1,u.length?l=u.concat(l):f=-1,l.length&&d())}function d(){if(!c){var t=s(h);c=!0;for(var e=l.length;e;){for(u=l,l=[];++f<e;)u&&u[f].run();f=-1,e=l.length}u=null,c=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function m(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new p(t,e)),1!==l.length||c||s(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e,n){"use strict"; /** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,h=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,_=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function x(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case i:switch(t=t.type){case f:case h:case o:case u:case s:case p:return t;default:switch(t=t&&t.$$typeof){case c:case d:case y:case g:case l:return t;default:return e}}case a:return e}}}function k(t){return x(t)===h}e.AsyncMode=f,e.ConcurrentMode=h,e.ContextConsumer=c,e.ContextProvider=l,e.Element=i,e.ForwardRef=d,e.Fragment=o,e.Lazy=y,e.Memo=g,e.Portal=a,e.Profiler=u,e.StrictMode=s,e.Suspense=p,e.isAsyncMode=function(t){return k(t)||x(t)===f},e.isConcurrentMode=k,e.isContextConsumer=function(t){return x(t)===c},e.isContextProvider=function(t){return x(t)===l},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===i},e.isForwardRef=function(t){return x(t)===d},e.isFragment=function(t){return x(t)===o},e.isLazy=function(t){return x(t)===y},e.isMemo=function(t){return x(t)===g},e.isPortal=function(t){return x(t)===a},e.isProfiler=function(t){return x(t)===u},e.isStrictMode=function(t){return x(t)===s},e.isSuspense=function(t){return x(t)===p},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===o||t===h||t===u||t===s||t===p||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===y||t.$$typeof===g||t.$$typeof===l||t.$$typeof===c||t.$$typeof===d||t.$$typeof===_||t.$$typeof===b||t.$$typeof===w||t.$$typeof===v)},e.typeOf=x},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i,a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=(r=["\n position: absolute;\n display: flex;\n align-items: center;\n background: ",";\n"],i=["\n position: absolute;\n display: flex;\n align-items: center;\n background: ",";\n"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(i)}}))),s=n(0),u=p(s),l=n(12),c=p(n(1)),f=n(18),h=p(n(13)),d=p(n(16));function p(t){return t&&t.__esModule?t:{default:t}}var m=function(t){var e=t.sliderSettings,n=e.data,r=void 0===n?[]:n,i=e.speed,o=void 0===i?500:i,c=e.easing,h=void 0===c?null:c,p=e.bgColor,m=void 0===p?"rgba(255, 255, 255, 0.05)":p,y=e.showButton,v=void 0===y||y,_=e.buttonHref,b=void 0===_?"#":_,w=e.buttonTarget,x=void 0===w?"_blank":w,k=e.buttonText,O=void 0===k?"View case study":k;if(r.length){if(h)switch(h){case"power":h=f.Power1.easeOut;break;case"back":h=f.Back.easeOut;break;case"elastic":h=f.Elastic.easeOut;break;case"expo":h=f.Expo.easeOut;break;default:console.warn("DRAGSLIDER - Please set a valid easing e.g. Power1.easeIn"),h=null}var S=(0,s.useRef)(),T={x:0,y:0},C=!1,A=0,P=window.innerWidth,E=void 0,j=r.length;(0,s.useEffect)((function(){j--,E=Array.from(document.querySelectorAll(".project-item"))}),[]);var M=function(){P=window.innerWidth},R=(0,s.useCallback)((function(t,e,n){var r=void 0;E.length&&(r=E.filter((function(t){return parseInt(t.dataset.id)===A}))[0].offsetLeft),n&&("right"===n?A<j&&A++:"left"===n&&A>0&&A--,e=-1*r),e>500&&(e=0),e<-P*j&&(e=(0,l.getTransformX)(S.current));var i=t/1e3;f.TweenMax.to(S.current,i,{x:e,ease:h})}),[]),z=(0,s.useCallback)((function(t){var e=void 0,n=void 0;if("touchstart"==t.type){var r=t.touches[0]||t.changedTouches[0];e=r.pageX,n=r.pageY}else e=t.pageX,n=t.pageY;T.x=e,T.y=n,C=!0}),[]),I=(0,s.useCallback)((function(t){var e=void 0;if("touchmove"==t.type){var n=t.touches[0]||t.changedTouches[0];e=n.pageX,n.pageY}else e=t.pageX,t.pageY;if(C){var r=(0,l.getTransformX)(S.current),i=T.x-e;R(o,r-i,null)}}),[]),F=(0,s.useCallback)((function(t){var e=void 0;if("touchend"==t.type){var n=t.touches[0]||t.changedTouches[0];e=n.pageX,n.pageY}else e=t.pageX,t.pageY;C=!1;var r=T.x>e?"right":"left";R(o,null,r)}),[]);return(0,s.useEffect)((function(){return R(),P>768?(window.addEventListener("resize",M),S.current.addEventListener("mousedown",z),S.current.addEventListener("mousemove",I),S.current.addEventListener("mouseup",F)):(S.current.addEventListener("touchstart",z),S.current.addEventListener("touchmove",I),S.current.addEventListener("touchend",F)),function(){P>768?(window.removeEventListener("resize",M),S.current.removeEventListener("mousedown",z),S.current.removeEventListener("mousemove",I),S.current.removeEventListener("mouseup",F)):(S.current.removeEventListener("touchstart",z),S.current.removeEventListener("touchmove",I),S.current.removeEventListener("touchend",F))}}),[z,I,F,R]),u.default.createElement(g,{style:{transform:"translate3d(0, 0, 0)"},ref:S,bgColor:m},r.map((function(t,e){var n=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,[]);return u.default.createElement(d.default,a({},n,{showButton:v,buttonHref:b,buttonTarget:x,buttonText:O,index:e,key:e}))})))}console.warn("DRAGSLIDER - Please add a valid data array of objects with title, image and description")},g=c.default.div(o,(function(t){return t.bgColor}));m.propTypes={data:h.default.array},e.default=m},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTransformX=function(t){return t.style.transform.split(/\w+\(|\);?/)[1].split(/,\s?/g).map(parseInt)[0]}},function(t,e,n){t.exports=n(14)()},function(t,e,n){"use strict";var r=n(15);function i(){}function a(){}a.resetWarningCache=i,t.exports=function(){function t(t,e,n,i,a,o){if(o!==r){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 e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:a,resetWarningCache:i};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(t){i=!0,a=t}finally{try{!r&&s.return&&s.return()}finally{if(i)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=b(["\n opacity: 1;\n height: 100vh;\n max-height: 600px;\n width: 80vw;\n padding-left: 140px;\n transition: opacity ease 0.8s 0.8s;\n user-select: none;\n\n @media (max-width: ","px) {\n width: 100%;\n padding-left: 0;\n }\n"],["\n opacity: 1;\n height: 100vh;\n max-height: 600px;\n width: 80vw;\n padding-left: 140px;\n transition: opacity ease 0.8s 0.8s;\n user-select: none;\n\n @media (max-width: ","px) {\n width: 100%;\n padding-left: 0;\n }\n"]),a=b(["\n padding-left: 4em;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n\n @media (max-width: ","px) {\n &:hover {\n .AnimatedDiv {\n filter: grayscale(0%) brightness(0.8);\n }\n }\n }\n"],["\n padding-left: 4em;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n\n @media (max-width: ","px) {\n &:hover {\n .AnimatedDiv {\n filter: grayscale(0%) brightness(0.8);\n }\n }\n }\n"]),o=b(["\n width: 100%;\n height: 90%;\n flex-grow: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n"],["\n width: 100%;\n height: 90%;\n flex-grow: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n"]),s=b(["\n width: 300px;\n height: 80%;\n background: grey;\n border-radius: 5px;\n background-image: ",";\n background-size: cover;\n background-position: center center;\n box-shadow: 0px 10px 30px -5px rgba(0, 0, 0, 0.3);\n transition: box-shadow 0.5s;\n will-change: transform;\n border: none;\n\n @media (min-width: ","px) {\n width: 400px;\n height: 100%;\n }\n\n @media (max-width: ","px) {\n transition: 400ms ease-in-out filter;\n filter: grayscale(70%) brightness(0.3);\n }\n"],["\n width: 300px;\n height: 80%;\n background: grey;\n border-radius: 5px;\n background-image: ",";\n background-size: cover;\n background-position: center center;\n box-shadow: 0px 10px 30px -5px rgba(0, 0, 0, 0.3);\n transition: box-shadow 0.5s;\n will-change: transform;\n border: none;\n\n @media (min-width: ","px) {\n width: 400px;\n height: 100%;\n }\n\n @media (max-width: ","px) {\n transition: 400ms ease-in-out filter;\n filter: grayscale(70%) brightness(0.3);\n }\n"]),u=b(["\n width: 100%;\n height: 100%;\n flex-grow: 1;\n padding: 6rem 2rem;\n\n @media (max-width: ","px) {\n margin-left: -255px;\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n justify-content: space-between;\n height: 100%;\n }\n"],["\n width: 100%;\n height: 100%;\n flex-grow: 1;\n padding: 6rem 2rem;\n\n @media (max-width: ","px) {\n margin-left: -255px;\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n justify-content: space-between;\n height: 100%;\n }\n"]),l=b(["\n font-size: 44px;\n margin: 2rem 0;\n position: relative;\n line-height: 1.2em;\n\n @media (max-width: ","px) {\n margin: 1em 0;\n }\n"],["\n font-size: 44px;\n margin: 2rem 0;\n position: relative;\n line-height: 1.2em;\n\n @media (max-width: ","px) {\n margin: 1em 0;\n }\n"]),c=b(["\n font-size: ",";\n letter-spacing: ",";\n line-height: ",";\n\n @media (max-width: ","px) {\n display: none;\n }\n"],["\n font-size: ",";\n letter-spacing: ",";\n line-height: ",";\n\n @media (max-width: ","px) {\n display: none;\n }\n"]),f=b(["\n position: relative;\n height: 90px;\n"],["\n position: relative;\n height: 90px;\n"]),h=b(["\n position: absolute;\n font-size: 190px;\n margin: 0;\n left: 0;\n top: 0;\n opacity: 0.2;\n"],["\n position: absolute;\n font-size: 190px;\n margin: 0;\n left: 0;\n top: 0;\n opacity: 0.2;\n"]),d=b(["\n position: absolute;\n left: 0;\n top: 0x;\n letter-spacing: 0.5em;\n opacity: 0.4;\n"],["\n position: absolute;\n left: 0;\n top: 0x;\n letter-spacing: 0.5em;\n opacity: 0.4;\n"]),p=b(["\n margin-top: 1em;\n"],["\n margin-top: 1em;\n"]),m=_(n(0)),g=_(n(1)),y=n(17),v=n(19);function _(t){return t&&t.__esModule?t:{default:t}}function b(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var w=function(t,e){return[-(e-window.innerHeight/2)/20,(t-window.innerWidth/2)/20,1.1]},x=function(t,e,n){return"perspective(600px) rotateX("+t+"deg) rotateY("+e+"deg) scale("+n+")"},k=g.default.div(i,(function(t){return t.theme.tablet})),O=g.default.div(a,(function(t){return t.theme.tablet})),S=g.default.div(o),T=g.default.div(s,(function(t){return t.image}),(function(t){return t.theme.desktop}),(function(t){return t.theme.tablet})),C=g.default.div(u,(function(t){return t.theme.tablet})),A=g.default.h2(l,(function(t){return t.theme.tablet})),P=g.default.p(c,(function(t){return t.theme.fontSize}),(function(t){return t.theme.letterSpacing}),(function(t){return t.theme.lineHeight}),(function(t){return t.theme.tablet})),E=g.default.div(f),j=g.default.h1(h),M=g.default.div(d),R=(0,g.default)(y.LinkButton)(p);e.default=function(t){var e=t.title,n=t.description,i=t.image,a=t.showButton,o=t.buttonHref,s=t.buttonTarget,u=t.buttonText,l=t.index,c=(0,v.useSpring)((function(){return{xys:[0,0,1],config:{mass:10,tension:350,friction:40}}})),f=r(c,2),h=f[0],d=f[1];return m.default.createElement(k,{index:l,className:"project-item","data-id":l,style:{transform:"translate3d(0, 0, 0)"}},m.default.createElement(O,null,m.default.createElement(S,null,m.default.createElement(T,{as:v.animated.div,className:"AnimatedDiv",onMouseMove:function(t){var e=t.clientX,n=t.clientY;return d({xys:w(e,n)})},onMouseLeave:function(){return d({xys:[0,0,1]})},style:{transform:h.xys.interpolate(x),backgroundImage:"url("+i+")"}})),m.default.createElement(C,null,m.default.createElement(E,null,m.default.createElement(j,null,l>10?l+=1:"0"+(l+=1)),m.default.createEleme