-
Notifications
You must be signed in to change notification settings - Fork 0
/
bb39f819bb54e7ac28130b3c324f9cf927f65324-2a53298b9755bf999ebf.js
3 lines (3 loc) · 9.3 KB
/
bb39f819bb54e7ac28130b3c324f9cf927f65324-2a53298b9755bf999ebf.js
1
2
3
/*! For license information please see bb39f819bb54e7ac28130b3c324f9cf927f65324-2a53298b9755bf999ebf.js.LICENSE.txt */
"use strict";(self.webpackChunklubycon_home=self.webpackChunklubycon_home||[]).push([[885],{664:function(e,n,t){t.d(n,{Z:function(){return h}});var r=t(7462),o=t(3366),i=t(7294),a=t(5505),l=t(600),c=t(8348),s=t(7761),u=t(8953),f=t(2717);function p(e){return(0,f.Z)("MuiCard",e)}(0,t(5495).Z)("MuiCard",["root"]);var d=t(5893),m=["className","raised"],v=(0,c.ZP)(u.Z,{name:"MuiCard",slot:"Root",overridesResolver:function(e,n){return n.root}})((function(){return{overflow:"hidden"}})),h=i.forwardRef((function(e,n){var t=(0,s.Z)({props:e,name:"MuiCard"}),i=t.className,c=t.raised,u=void 0!==c&&c,f=(0,o.Z)(t,m),h=(0,r.Z)({},t,{raised:u}),g=function(e){var n=e.classes;return(0,l.Z)({root:["root"]},p,n)}(h);return(0,d.jsx)(v,(0,r.Z)({className:(0,a.Z)(g.root,i),elevation:u?8:void 0,ref:n,ownerState:h},f))}))},6961:function(e,n,t){var r=(0,t(4040).Z)();n.Z=r},2846:function(e,n,t){var r=t(3366),o=t(7294),i=t(3659),a=t(4126),l=["children","delay","duration"];n.Z=function(e){var n=e.children,t=e.delay,c=e.duration,s=(0,r.Z)(e,l),u=(0,i.zj)(),f=u[0],p=u[1];return o.createElement(i.mU,{onImpressionStart:p},o.createElement("div",s,o.createElement(a.E.div,{variants:{hidden:{opacity:0,y:"10%",visibility:"hidden"},visible:{opacity:1,y:0,visibility:"visible"}},initial:"hidden",animate:f?"visible":"hidden",transition:{delay:null!=t?t:Math.random()/1.5,duration:c}},n)))}},1004:function(e,n,t){var r=t(664),o=t(7951),i=t(9308),a=t(78),l=t(7294);n.Z=function(e){var n=e.title,t=e.description,c=e.image,s=e.onClick;return l.createElement(r.Z,{sx:{border:"none",padding:2,cursor:"pointer",transition:"transform .2s ease-in","&:hover":{transform:"translateY(-10px)"}},onClick:s},l.createElement(o.Z,{display:"flex",flexDirection:"column",alignItems:"center"},l.createElement(o.Z,{component:"img",src:c,alt:n,sx:{width:120,marginTop:1,marginBottom:2}}),l.createElement(i.Z,{variant:"h6",sx:{marginBottom:"16px",fontSize:{md:20,xs:18},textAlign:"center",whiteSpace:"pre-line"}},n),t?l.createElement(i.Z,{sx:{whiteSpace:"pre-line",fontSize:14}},t):null),null!=s?l.createElement(o.Z,{display:"flex",justifyContent:"flex-end",sx:{marginTop:2}},l.createElement(a.Z,{size:"small"},"자세히 보기")):null)}},2526:function(e,n,t){t.d(n,{Z:function(){return j}});var r=t(7294),o=t(6449),i=t(7951),a=t(9308),l=t(6961),c=function(e){var n=e.size,t=e.imageSrc,o=e.backgroundColor,i=n/3;return r.createElement(r.Fragment,null,r.createElement(l.Z,{component:"svg",width:n,height:n,xmlns:"http://www.w3.org/2000/svg",version:"1.1",sx:{verticalAlign:"top"}},r.createElement("g",null,r.createElement("clipPath",{id:"member-profile-clippath"},r.createElement("circle",{cx:n/2,cy:n-i,r:i})),r.createElement("circle",{cx:n/2,cy:n-i,r:i,fill:o,stroke:"none"})),r.createElement("image",{clipPath:"url(#member-profile-clippath)",height:"100%",width:"100%",href:t})),r.createElement(l.Z,{sx:{position:"absolute",width:"100%",padding:"25%",backgroundPosition:"top",backgroundRepeat:"no-repeat",backgroundSize:"100% auto",top:0,left:0},style:{backgroundImage:"url("+t+")"}}))},s=t(4942),u=t(885),f=t(7757),p=t.n(f),d=(t(5523),t(834)),m=(t(7154),t(5706),t(4418),t(5893));m.Fragment;function v(e,n,t){return d.h.call(n,"css")?(0,m.jsx)(d.E,(0,d.c)(e,n),t):(0,m.jsx)(e,n,t)}function h(e){void 0===e&&(e=!1);var n=(0,r.useState)(e),t=n[0],o=n[1];return[t,(0,r.useCallback)((function(){return o(!0)}),[]),(0,r.useCallback)((function(){return o(!1)}),[])]}var g=function(){return g=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e},g.apply(this,arguments)};function b(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)n.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]])}return t}function y(e){var n=e.onImpressionStart,t=e.onImpressionEnd,o=e.rootMargin,i=void 0===o?0:o,a=e.threshold,l=void 0===a?0:a,c=(0,r.useState)(!1),s=c[0],u=c[1],f=(0,r.useCallback)((function(){!0!==s&&(null==n||n(),u(!0))}),[]),p=(0,r.useCallback)((function(){!1!==s&&(null==t||t(),u(!1))}),[]),d=(0,r.useCallback)((function(e){var n=e[0],t=n.intersectionRatio;(0===l?!n.isIntersecting:t<l)?p():f()}),[p,f]),m=(0,r.useMemo)((function(){if("undefined"!=typeof IntersectionObserver)return new IntersectionObserver(d,{rootMargin:i+"px",threshold:l})}),[i,l]);return(0,r.useCallback)((function(e){void 0!==m&&(m.disconnect(),null!==e&&m.observe(e))}),[m])}(0,r.forwardRef)((function(e,n){var t=e.children,o=b(e,["children"]),i=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=(0,r.useCallback)((function(n){e.forEach((function(e){"function"==typeof e?e(n):null!=e&&(e.current=n)}))}),[e]);return t}(n,y(g({},o)));return r.createElement("div",{ref:i},t)}));function x(e,n,t,r){return new(t||(t=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(n){i(n)}}function l(e){try{c(r.throw(e))}catch(n){i(n)}}function c(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(a,l)}c((r=r.apply(e,n||[])).next())}))}function Z(e){return x(this,void 0,void 0,p().mark((function n(){var t,r;return p().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,fetch(E(e));case 2:return t=n.sent,n.next=5,t.text();case 5:if(r=n.sent,!t.ok){n.next=10;break}return n.abrupt("return",r);case 10:throw new Error(r);case 11:case"end":return n.stop()}}),n)})))}function E(e){return"https://icons.lubycon.io/".concat(e,".svg")}var k={},w=function(e){var n,t=e.name,o=e.size,i=void 0===o?16:o,a=e.type,l=void 0===a?"filled":a,c=e.color,f=void 0===c?"#000000":c,g=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)n.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]])}return t}(e,["name","size","type","color"]),b=function(e,n){return"logo-apple-ar"===e?"outline":/^logo-.+/.test(e)?"filled":n}(t,l),w="outline"===b?"stroke":"fill",O=function(e,n){return"logo-apple-ar"===e||"filled"===n?e:"".concat(e,"-").concat(n)}(t,b),S=(0,r.useState)(k[O]),C=(0,u.Z)(S,2),j=C[0],I=C[1],P=h(!1),M=(0,u.Z)(P,2),z=M[0],R=M[1],A=h(!1),_=(0,u.Z)(A,2),T=_[0],B=_[1];(0,r.useEffect)((function(){if(null==j&&!1!==T){var e=!1;return function(){x(this,void 0,void 0,p().mark((function n(){var t;return p().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,Z(O);case 3:t=n.sent,e||(I(t),k[O]=t),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),R();case 10:case"end":return n.stop()}}),n,null,[[0,7]])})))}(),function(){e=!0}}}),[T,j]);var N=y({onImpressionStart:B});return function(e,n,t){return d.h.call(n,"css")?(0,m.jsxs)(d.E,(0,d.c)(e,n),t):(0,m.jsxs)(e,n,t)}("span",Object.assign({ref:N,css:{width:i,height:i,display:"inline-block",fill:"currentColor","& svg":{width:"100%",verticalAlign:"top"}}},g,{children:[v("span",{css:(n={display:z?"none":"inline-block",width:i,height:i},(0,s.Z)(n,w,f),(0,s.Z)(n,"color",f),n),"aria-label":t,"aria-hidden":null==j,dangerouslySetInnerHTML:j?{__html:j}:void 0,role:"img"},void 0),v("img",{src:E(O),css:{display:z?"inline-block":"none",verticalAlign:"top"},alt:t},void 0)]}),void 0)},O=t(6991),S={github:"logo-github",blog:"logo-rss",linkedin:"logo-linkedin",unsplash:"camera",youtube:"logo-youtube"},C=function(e){var n=e.name,t=e.url,a=(0,o.Z)().spacing,l=S[n];return r.createElement(i.Z,{component:"li",sx:{listStyle:"none",margin:"0 "+a(1),"& i":{color:"text.secondary",transition:"transform 0.2s ease-in-out, opacity 0.2s ease-in-out","&:hover":{transform:"translate(0, -5px)",opacity:.8}}}},r.createElement("a",{href:t,target:"_blank",rel:"noopener noreferrer"},r.createElement(w,{name:l,color:O.Z[600]})))},j=function(e){var n=e.member,t=e.backgroundColor,l=void 0===t?"transparent":t,s=(0,o.Z)().spacing,u=n.profileImg,f=(0,r.useState)(0),p=f[0],d=f[1],m=(0,r.useCallback)((function(e){null!=e&&d(e.clientWidth)}),[]),v=(0,r.useMemo)((function(){return Object.entries(n.social).filter((function(e){var n=e[1];return Boolean(n)}))}),[n.social]);return console.log(v),r.createElement(i.Z,{sx:{position:"relative"}},r.createElement(i.Z,{ref:m},r.createElement(c,{size:p,imageSrc:u,backgroundColor:l})),r.createElement(i.Z,{sx:{marginTop:2,textAlign:"center"}},r.createElement(a.Z,{display:"block",component:"h3",variant:"subtitle1",sx:{fontWeight:"bold"}},n.name.ko," / ",n.name.en),n.company&&r.createElement(a.Z,{variant:"caption"},n.company),r.createElement(a.Z,{display:"block",variant:"caption"},n.role)),r.createElement(i.Z,null,r.createElement(i.Z,{component:"ul",sx:{margin:s(2)+" 0 0 0",padding:0,display:"flex",justifyContent:"center"}},v.length>0?v.map((function(e){var n=e[0],t=e[1];return r.createElement(C,{key:n,name:n,url:null!=t?t:"#"})})):r.createElement(i.Z,{component:"li",sx:{listStyle:"none"}}))))}},751:function(e,n,t){t.d(n,{d:function(){return o}});var r=t(5444);function o(e){var n=(0,r.useStaticQuery)("4089350781").allMembersJson.nodes;return null==e?n:n.filter((function(n){return n.group===e}))}}}]);
//# sourceMappingURL=bb39f819bb54e7ac28130b3c324f9cf927f65324-2a53298b9755bf999ebf.js.map