PageSourceSearch

https://ovio.org/_next/static/chunks/pages/profile/edit/recommendations-471393887d59b14f2b90.js

js ovio.org collected 2026-09-24 10:36:35 UTC 41,807 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1136,8821,7895],{47895:function(e,n,i){"use strict";i.r(n),i.d(n,{default:function(){return k}});var a=i(32735),t=i(10115),r=i(69212),o=i.n(r);const l="https://github.githubassets.com/images/icons/emoji/",s=["atom","basecamp","basecampy","bowtie","electron","feelsgood","finnadie","goberserk","godmode","hurtrealbad","neckbeard","octocat","rage1","rage2","rage3","rage4","shipit","suspect","trollface"];var d=i(74512);const c=(0,t.Z)("img")({width:"1.4em",verticalAlign:"bottom",margin:"0 1.5px"}),u=(0,t.Z)("span")((e=>({lineClamp:e.lines,overflow:"hidden",display:"-webkit-box",boxOrient:"vertical"}))),m=/(:[^:\s]+:)/;var k=function({text:e="",lines:n}){const i=e.split(m).filter(Boolean).map(((e,n)=>{const i="".concat(e.slice(0,5),"-").concat(n);if(!e.match(m))return(0,d.jsx)(a.Fragment,{children:e},i);const t=function(e){const n=s.find((n=>":".concat(n,":")===e));return n?"".concat(l+n,".png"):null}(e);return t?(0,d.jsx)(c,{src:t,alt:e},i):(0,d.jsx)(a.Fragment,{children:o().get(e)||e},i)}));return n?(0,d.jsx)(u,{lines:n,children:i}):(0,d.jsx)("span",{children:i})}},53220:function(e,n,i){"use strict";i.d(n,{NV:function(){return f},aO:function(){return b}});var a=i(47169),t=i(13613),r=i(86834),o=i.n(r),l=i(79922),s=i.n(l),d=i(32735),c=i(19718),u=i(37801),m=i(7343);const k=["owner","roles","skills","topics","currentUserFollows","contributorFriendlyIssuesCount","openIssuesCount","openPrsCount","contributors"];function p(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.push.apply(i,a)}return i}function v(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?p(Object(i),!0).forEach((function(n){(0,a.Z)(e,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):p(Object(i)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))}))}return e}const f=(0,d.createContext)({}),g=i.e(8821).then(i.t.bind(i,18821,23)).then((({ProjectsQuery:e})=>e)),b=e=>{var n;const{projects:i,users:a}=e,r=i||(null===a||void 0===a||null===(n=a.nodes[0])||void 0===n?void 0:n.projectsByOwnerId)||{nodes:[],totalCount:0},{nodes:o,totalCount:l}=r;return{results:o.map((e=>{let{owner:n,roles:i,skills:a,topics:r,currentUserFollows:o,contributorFriendlyIssuesCount:l,openIssuesCount:s,openPrsCount:d,contributors:c}=e,m=(0,t.Z)(e,k);return v({contributorFriendlyIssuesCount:l||0,openIssuesCount:s||0,openPrsCount:d||0,contributorsCount:(null===c||void 0===c?void 0:c.totalCount)||0,topics:(0,u.ry)(r)||[],roles:(0,u.ry)(i)||[],skills:(0,u.ry)(a)||[],currentUserFollows:o||!1,owner:n?(0,u.ry)(n):void 0},(0,u.ry)(m))})),totalCount:l}},N=e=>{const{lastActive:n,follows:i,ownerUsername:a}=e,{collectionName:t,ownerId:r}=e;let l=e.primaryOrder||["SEARCH_RELEVANCE","PUSHED_AT_DESC"];const d=e.includeHidden||!o()(t)||!o()(r);return Array.isArray(l)||(l=[l,"PUSHED_AT_DESC"]),l=l.filter((e=>!e.startsWith("PLATFORM_UPDATED_AT"))),(0,c.rw)(s()(v(v({},e),{},{lastActive:(0,m.L)(n),currentUserFollowsProject:!!i||void 0,collectionName:t&&t.length>0?[t]:null,includeHidden:d,ownerUsernameQuery:Boolean(a),orderBy:l,primaryOrder:void 0}),(e=>null!=e)))};n.ZP=({context:e,children:n})=>(0,d.createElement)(c.ZP,{provider:(e||f).Provider,query:g,getVariables:N,processData:b},n)},19718:function(e,n,i){"use strict";i.d(n,{$V:function(){return S},rw:function(){return O}});var a=i(13613),t=i(47169),r=i(95492),o=i.n(r),l=i(79922),s=i.n(l),d=i(89793),c=i.n(d),u=i(72720),m=i.n(u),k=i(32735),p=i(89504);const v=["query"];function f(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.push.apply(i,a)}return i}function g(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?f(Object(i),!0).forEach((function(n){(0,t.Z)(e,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEac
1h((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))}))}return e}const b={filters:null,results:[],pageInfo:{pageSize:12,total:0,offset:0},skipQuery:!1,loading:!1},N={};function y(e,n,i){return N[e]=n,m()(i)?n=>({type:e,payload:n}):()=>({type:e,payload:i})}const j={updateFilters:y("UPDATE_FILTERS",((e,{newFilters:n,replaceExisting:i,offset:a=0})=>{const t=e.filters,r=e.skipQuery,o=e.pageInfo,l=function(e,n){return null===e?{}:s()(g(g({},n),e),(e=>null!==e))}(n,i||!t?{}:t);return!c()(l,t||{})||r?g(g({},e),{},{filters:l,skipQuery:!1,pageInfo:g(g({},o),{},{offset:a})}):e})),updateFiltersScope:y("UPDATE_FILTERS_SCOPE",((e,{newFiltersScope:n})=>g(g({},e),{},{filtersScope:n}))),updateResults:y("UPDATE_RESULTS",((e,{results:n,totalCount:i})=>{const a=e.results,t=e.pageInfo,{total:r}=t,o=n.length!==a.length||n.some(((e,n)=>!c()(e,a[n])))||i!==r;return g(g({},e),{},o?{results:n,loading:!1,pageInfo:g(g({},t),{},{total:i})}:{loading:!1})})),updatePageSize:y("UPDATE_PAGE_SIZE",((e,n)=>{const i=e.pageInfo,{pageSize:a}=i;return n===a?e:g(g({},e),{},{skipQuery:!1,pageInfo:g(g({},i),{},{pageSize:n,offset:0})})})),updateOffset:y("UPDATE_OFFSET",((e,n)=>{const i=e.pageInfo;return g(g({},e),{},{skipQuery:!1,pageInfo:g(g({},i),{},{offset:n})})})),updateTotal:y("UPDATE_TOTAL",((e,n)=>{const i=e.pageInfo;return g(g({},e),{},{pageInfo:g(g({},i),{},{total:n})})})),nextPage:y("NEXT_PAGE",(e=>{const n=e.pageInfo,{total:i,offset:a,pageSize:t}=n;return g(g({},e),{},{loading:!0,pageInfo:g(g({},n),{},{offset:Math.min(i,a+t)})})}),{}),prevPage:y("PREV_PAGE",(e=>{const n=e.pageInfo,{offset:i,pageSize:a}=n;return g(g({},e),{},{loading:!0,pageInfo:g(g({},n),{},{offset:Math.min(0,i-a)})})}),{}),startLoading:y("START_LOADING",(e=>g(g({},e),{},{loading:!0})),null)};function h(e,n){return Object.prototype.hasOwnProperty.call(N,n.type)?N[n.type](e,n.payload):e}const S=e=>"object"===typeof e&&"undefined"!==typeof(null===e||void 0===e?void 0:e.length)&&0===e.length,O=e=>o()(e,S),w=({provider:e,query:n,getVariables:i=(e=>O(e)),processData:a,runQueryOnMount:t,children:r})=>{const{0:o,1:l}=(0,k.useReducer)(h,g(g({},b),{},{skipQuery:!t})),s=o.filters,d=o.pageInfo,{pageSize:c,offset:u}=d,m=o.skipQuery,v=g(g({},s?i(s):{includeHidden:!1}),{},{offset:u,pageSize:c}),{loading:f,data:N,error:y,refetch:S}=(0,p.useQuery)(n,{variables:v,skip:m});(0,k.useEffect)((()=>{f&&l(j.startLoading())}),[f]),(0,k.useEffect)((()=>{N&&l(j.updateResults(a(N)))}),[N,a]);const w={updateFilters:(0,k.useCallback)(((e,n)=>l(j.updateFilters({newFilters:e,replaceExisting:!1,offset:n}))),[]),setFilters:(0,k.useCallback)(((e,n)=>l(j.updateFilters({newFilters:e,replaceExisting:!0,offset:n}))),[]),setFiltersScope:(0,k.useCallback)((e=>l(j.updateFiltersScope({newFiltersScope:e}))),[]),setPageSize:(0,k.useCallback)((e=>l(j.updatePageSize(e))),[]),setOffset:(0,k.useCallback)((e=>l(j.updateOffset(e))),[]),setTotal:(0,k.useCallback)((e=>l(j.updateTotal(e))),[]),getNextPage:(0,k.useCallback)((()=>l(j.nextPage())),[]),getPrevPage:(0,k.useCallback)((()=>l(j.prevPage())),[]),filters:null===s?{}:s,filtersScope:o.filtersScope,loading:o.loading,error:y,query:n,skipQuery:m,results:o.results,pageInfo:d,refetch:S};return(0,k.createElement)(e,{value:w},r)};n.ZP=e=>{let{query:n}=e,i=(0,a.Z)(e,v);const{0:t,1:r}=(0,k.useState)();return(0,k.useEffect)((()=>{t||(async()=>{r(await n)})()}),[t,n]),t?(0,k.createElement)(w,g({query:t},i)):null}},19298:function(e,n,i){"use strict";var a,t,r,o,l,s,d=i(13736),c=i(32735),u=i(27001),m=i(89504),k=i(19274);const p=(0,u.ZP)(a||(a=(0,d.Z)(["\n  mutation saveProject($projectId: UUID!) {\n    saveProject(input: { projectId: $projectId }) {\n      project {\n        id\n        currentUserFollows\n      }\n    }\n  }\n"]))),v=(0,u.ZP)(t||(t=(0,d.Z)(["\n  mutation saveIssue($issueId: UUID!) {\n    saveIssue(input: { issueId: $issueId }) {\n      issue {\n        id\n        currentUserFollows\n      }\n    }\n  }\n"]))),f=(0,u.ZP)(r||(r=(0,d.Z)(["\n  mutation unsaveProject($projectId: UUID!) {\n    unsaveProject(input: { projectId: $projectId }) {\n      project {\n        id\n        currentUserFollows\n      }\n    }\n  }\n"]))),g=(0,u.ZP)(o||(o=(0,d.Z)(["\n  mutation unsaveIssue($issueId: UUID!) {\n    unsaveIssue(input: { issueId: $issueId }) {\n      issue {\n        id\n        currentUserFollows\n      }\n    }\n  }\n"]))),b=(e,{data:n})=>{const{issue:i,project:a}=n||{},t=(0,u.ZP)(l||(l=(0,d.Z)(["\n    fragment updateProject on Project {\n      id\n      currentUserFollows\n    }\n  "]))),r=(0,u.ZP)(s||(s=(0,d.Z)(["\n    fragment updateIssue on Issue {\n      id\n      currentUserFollows\n    }\n  "])));e.writeFragment({data:a||i,fragment:a?t:r}),setTimeout((()=>{["projects","users","issues"].forEach((n=>e.evict({id:"ROOT_QUERY",fieldName:n}))),e.gc()}))};n.Z=function({onNotLoggedIn:e,onFollow:n,onUnfollow:i,isIssue:a}){const{isSignedIn:t}=(0,c.useContext)(k.ZP),r={update:b},[o,l]=a?[v,g]:[p,f],[s,{loading:d,error:u}]=(0,m.useMutation)(o,r),[N,{loading:y,error:j}]=(0,m.useMutation)(l,r);return{toggleFavorite:async({projectOrIssue:r,forceFollow:o=!1,skipSignInCheck:l=!1})=>{const{id:d,currentUserFollows:c}=r,u=c;if(u&&o)return;const m={[a?"issueId":"projectId"]:d};if(l||t()){u?i&&i():n&&n();try{await(u?N:s)({variables:m})}catch(k){}}else e&&e()},error:u||j,isLoading:d||y}}},56707:function(e,n,i){"use strict";i.r(n),i.d(n,{default:function(){return se}});var a=i(32735),t=i(68805),r=i(18821),o=i(37801),l=i(68313),s=i(47169),d=i(37462),c=i(19856),u=i(3223),m=i(91184),k=i(90118),p=i(40091),v=i(26517),f=i(32348),g=i(89504),b=i(13613),N=i(26228),y=i(40177),j=i(46824),h=i(22810),S=i(43221),O=i(87739),w=i(19380),P=i(62087),F=i(13720),D=i(32061),I=i(86654),C=i(40841),x=i.n(C),V=i(62299),U=i(73121),E=i(34555),T=i(47895),Z=i(74512);const A=(0,f.Z)((e=>(0,p.Z)({icon:{color:e.palette.primary.main},container:({height:n=25,isRight:i=!1})=>({position:"absolute",top:"50%",padding:e.spacing(0,.5),left:i?void 0:0,right:i?0:void 0,["borderTop".concat(i?"Left":"Right","Radius")]:15,["borderBottom".concat(i?"Left":"Right","Radius")]:15,backgroundColor:"white",display:"flex",alignItems:"center",height:n}),text:{fontSize:".8em",color:e.palette.grey[900],margin:e.spacing(0,.3)}})));var $=({children:e,icon:n,isRight:i})=>
1{const a=A({isRight:i});return(0,Z.jsxs)(u.Z,{variant:"subtitle2",className:a.container,children:[(0,Z.jsx)(n,{className:a.icon,fontSize:"small"}),(0,Z.jsx)("span",{className:a.text,children:e})]})};const B=["project","className","onLoveClick","onNopeClick","loveSelected","nopeSelected"];function R(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.push.apply(i,a)}return i}function _(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?R(Object(i),!0).forEach((function(n){(0,s.Z)(e,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):R(Object(i)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))}))}return e}const L=(0,a.forwardRef)(((e,n)=>{let{project:i,className:a,onLoveClick:t,onNopeClick:r,loveSelected:o,nopeSelected:l}=e,s=(0,b.Z)(e,B);const d=Q({loveSelected:o,nopeSelected:l});return(0,Z.jsxs)(N.Z,_(_({className:x()(d.root,a),ref:n},s),{},{children:[(0,Z.jsxs)(y.Z,{disableRipple:!0,disableTouchRipple:!0,disabled:!0,children:[(0,Z.jsxs)(j.Z,{title:i.name,className:d.bannerContainer,children:[(0,Z.jsx)(V.ProjectCardBanner,{project:i,className:d.banner}),(0,Z.jsx)(U.Z,{chipType:E.Z,className:d.topicChips,chipProps:{classes:{chip:d.topicChipContainer}},chips:i.topics}),(0,Z.jsxs)($,{icon:w.Z,children:[i.stars," stars"]}),(0,Z.jsxs)($,{icon:P.Z,isRight:!0,children:[i.contributorsCount," contributors"]})]}),(0,Z.jsxs)(h.Z,{className:d.content,children:[!i.bannerConfig&&(0,Z.jsx)(u.Z,{gutterBottom:!0,variant:"h1",color:"primary",children:i.name}),(0,Z.jsx)(u.Z,{gutterBottom:!0,variant:"subtitle2",color:"primary",children:"Skills Needed"}),(0,Z.jsx)(U.Z,{chips:i.skills,className:d.skillsChips}),(0,Z.jsxs)(u.Z,{gutterBottom:!0,variant:"subtitle2",color:"primary",children:["What is ",i.name,"?"]}),(0,Z.jsx)(u.Z,{variant:"body2",gutterBottom:!0,color:"textSecondary",children:(0,Z.jsx)(T.default,{text:i.description||"",lines:4})}),i.goals&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(u.Z,{gutterBottom:!0,variant:"subtitle2",color:"primary",children:["What are ",i.name,"'s goals?"]}),(0,Z.jsx)(u.Z,{variant:"body2",color:"textSecondary",component:"div",children:(0,Z.jsx)("ul",{children:i.goals.map((e=>(0,Z.jsx)("li",{children:e},e)))})})]})]})]}),(0,Z.jsxs)(m.Z,{display:"flex",justifyContent:"space-around",marginTop:1,children:[(0,Z.jsxs)(u.Z,{variant:"subtitle2",children:[(0,Z.jsx)(I.hEv,{className:d.gitIcon}),i.openIssuesCount," open issues"]}),(0,Z.jsxs)(u.Z,{variant:"subtitle2",children:[(0,Z.jsx)(I.UWO,{className:d.gitIcon}),i.openPrsCount," open pull requests"]})]}),(0,Z.jsxs)(S.Z,{className:x()(d.actions,{[d.extraBottomSpace]:!t&&!r}),children:[r&&(0,Z.jsx)(O.Z,{className:x()(d.circularBorder,d.grayColorBorder),onClick:r,children:(0,Z.jsx)(F.Z,{fontSize:"large"})}),t&&(0,Z.jsx)(O.Z,{className:x()(d.circularBorder,d.primaryColorBorder),onClick:t,children:(0,Z.jsx)(D.Z,{fontSize:"large",color:"primary"})})]})]}))})),H=(e,n=!1)=>({border:"2px solid ".concat(n?"white":e),"& svg":{color:n?"white":e},backgroundColor:n?e:"white"}),Q=(0,f.Z)((e=>({bannerContainer:{position:"relative"},banner:{paddingBottom:"".concat(20,"px")},root:{width:380,maxWidth:"90vw"},actions:{display:"flex",justifyContent:"center",padding:e.spacing(0,1,1.5)},extraBottomSpace:{paddingBottom:e.spacing(4)},content:{paddingTop:30},topicChips:{position:"absolute",top:"calc(100% - ".concat(20,"px)"),left:"50%",width:"auto",transform:"translateX(-50%)"},topicChipContainer:{"&>div":{width:40,height:40}},skillsChips:{marginBottom:e.spacing(1)},circularBorder:{borderRadius:"50%",padding:15,margin:e.spacing(2,5)},primaryColorBorder:({loveSelected:n})=>H(e.palette.primary.main,n),grayColorBorder:({nopeSelected:n})=>H(e.palette.grey[500],n),gitIcon:{marginRight:e.spacing(.5),color:e.palette.primary.main}})));var z=L,M=i(83817),X=i(19298),q=i(28634),W=i(41832),G=i(2156),Y=i(19274);function J(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.push.apply(i,a)}return i}function K(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};
1n%2?J(Object(i),!0).forEach((function(n){(0,s.Z)(e,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):J(Object(i)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))}))}return e}function ee(e,n){let i=e;for(;i&&!i.classList.contains(n);){var a;i=null===(a=i)||void 0===a?void 0:a.parentElement}return i||e}const ne=.3,ie="first-project-card",ae=(0,f.Z)((e=>(0,p.Z)({card:{position:"absolute",willChange:"transform",cursor:"grab",top:80,zIndex:10,transition:"all ".concat(ne,"s ease-in-out")},movingCard:{transition:"none",cursor:"grabbing"},cardContainer:{display:"flex",position:"relative",justifyContent:"center",minHeight:({minHeight:e})=>e,marginTop:e.spacing(3)},progressBar:{borderRadius:10,height:8,marginBottom:e.spacing(e.spacing(.1)),width:500,maxWidth:"80vw",alignSelf:"center",backgroundColor:e.palette.grey[300]},progressText:{color:e.palette.grey.A200}})));var te=function({projects:e,onFinish:n,onLove:i,onNope:t}){const{0:r,1:o}=(0,a.useState)([]),{0:l,1:s}=(0,a.useState)(800),{0:p,1:f}=(0,a.useState)(0),{0:b,1:N}=(0,a.useState)(!1),{0:y,1:j}=(0,a.useState)(null),{toggleFavorite:h}=(0,X.Z)({isIssue:!1}),[S]=(0,g.useMutation)(q.DislikeProject),{user:O}=(0,a.useContext)(Y.ZP),w=(0,M.Z)(e,[]),P=(0,W.QE)("xs"),F=(0,d.Z)(),D=ae({minHeight:Math.max(650,l+150)});(0,a.useEffect)((()=>{const e=document.getElementById(ie);e&&(s(e.clientHeight),P&&(0,G.H)(e,{offset:Number(F.mixins.toolbar.minHeight)}))}),[r.length,P,F.mixins.toolbar.minHeight]),(0,a.useEffect)((()=>{e.some(((e,n)=>{var i;return e.id!==(null===(i=w[n])||void 0===i?void 0:i.id)}))&&o(e)}),[e,w]),(0,a.useEffect)((()=>{f(100*(1-r.length/e.length))}),[r.length,e.length]);const I=e=>(N(!0),setTimeout((()=>{const i=r.filter((n=>n.name!==e.name)).map((e=>K(K({},e),{},{style:void 0})));o(i),n&&0===i.length&&n(),N(!1)}),1e3*ne)),C=e=>{i&&i(e),h({projectOrIssue:e,forceFollow:!0})},x=e=>{t&&t(e),S({variables:{userId:null===O||void 0===O?void 0:O.id,projectId:e.id}})},V=e=>n=>{const i=ee(n.target,D.card);i.classList.remove(D.movingCard),j(null);const a=document.body.clientWidth,t=Math.abs(n.deltaX)<80||Math.abs(n.velocityX)<.5,r=n.deltaX>0;if(t)i.style.transform="";else{const t=Math.max(Math.abs(n.velocityX)*a,a),o=r?t:-t,l=Math.abs(n.velocityY)*a,s=r?l:-l,d=.03*n.deltaX*(n.deltaY/80);i.style.transform="translate(".concat(o,"px, ").concat(s+n.deltaY,"px) rotate(").concat(d,"deg)"),I(e),r?C(e):x(e)}},U=(e,n)=>()=>{const i=1.5*document.body.clientWidth;let a;n?(a="translate(".concat(i,"px, -100px) rotate(-30deg)"),C(e)):(a="translate(-".concat(i,"px, -100px) rotate(30deg)"),x(e)),o(r.map((n=>n.name!==e.name?n:K(K({},n),{},{style:K(K({},n.style),{},{transform:a})})))),I(e)};return(0,Z.jsxs)(c.Z,{container:!0,direction:"column",spacing:4,children:[(0,Z.jsxs)(c.Z,{item:!0,children:[(0,Z.jsx)(u.Z,{gutterBottom:!0,variant:"h2",color:"primary",children:"You might be interested in these projects!"}),(0,Z.jsx)(u.Z,{variant:"subtitle1",children:"".concat(P?"Swipe":"Drag"," right to like, left to discard and personalize your experience on Ovio!")})]}),(0,Z.jsxs)(c.Z,{item:!0,className:D.cardContainer,children:[(0,Z.jsxs)(m.Z,{children:[(0,Z.jsx)(k.Z,{variant:"determinate",value:p,className:D.progressBar}),(0,Z.jsxs)(u.Z,{variant:"body2",className:D.progressText,children:[e.length-r.length," / ",e.length," projects"]})]}),r.slice(0,2).map(((e,n)=>{const i=0===n;return(0,Z.jsx)(v.Z,{onPan:e=>{const n=ee(e.target,D.card);if(n.classList.add(D.movingCard),0===e.deltaX||0===e.center.x&&0===e.center.y)return;e.deltaX>0?j("love"):j("nope");const i=.03*e.deltaX*(e.deltaY/80);n.style.transform="translate(".concat(e.deltaX,"px, ").concat(e.deltaY,"px) rotate(").concat(i,"deg)")},onPanEnd:V(e),children:(0,Z.jsx)(z,{project:e,id:i?ie:void 0,className:D.card,style:e.style,onLoveClick:b||i?U(e,!0):void 0,onNopeClick:b||i?U(e,!1):void 0,loveSelected:"love"===y&&i,nopeSelected:"nope"===y&&i})},e.name)})).reverse()]})]})},re=i(53220),oe=i(71975),le=i(15566);var se=function(){const{0:e,1:n}=(0,a.useState)(0),{0:i,1:s}=(0,a.useState)(),{loading:d,data:c}=(0,o.OK)(r.ProjectsQuery,{skip:!!i,variables:{pageSize:20,offset:0,collectionName:["featured"],currentUserFollowsProject:!1,currentUserDislikesProject:!1,getSwipeCardsData:!0,orderBy:[le.hH.RECOMMENDED_PROJECTS]}}),{handleNextButton:u}=(0,oe.Z)((()=>Promise.resolve({})),"recommendations");return c&&s((0,re.aO)(c).results),d||!i?(0,Z.jsx)(t.Z,{saveModel:()=>Promise.resolve({}),isCompleted:!1,activeStep:"recommendations",saveLoading:!1,children:(0,Z.jsx)(l.Z,{fullPage:!1})}):(0,Z.jsx)(t.Z,{saveModel:()=>Promise.resolve({}),isCompleted:e>=3,activeStep:"recommendations",nextButtonTooltip:"Like at least 3 projects in order to continue!",saveLoading:!1,children:(0,Z.jsx)(te,{projects:i,onFinish:()=>u(),onLove:()=>n(e+1)})})}},2156:function(e,n,i){"use strict";i.d(n,{v:function(){return l},H:function(){return s}});var a=i(47169),t=i(13613);const r=["offset"];function o(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.push.apply(i,a)}return i}function l(e){const n=e.getBoundingClientRect();return n.top>=0&&n.left>=0&&n.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&n.right<=(window.innerWidth||document.documentElement.clientWidth)}function s(e,n){let{offset:i}=n,l=(0,t.Z)(n,r);const s=e.getBoundingClientRect().top+window.pageYOffset-(i||0);window.scrollTo(function(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};
1n%2?o(Object(i),!0).forEach((function(n){(0,a.Z)(e,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):o(Object(i)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))}))}return e}({top:s,behavior:"smooth"},l))}},67815:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/profile/edit/recommendations",function(){return i(56707)}])},28634:function(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DislikeProject"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createDislikedProject"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"dislikedProject"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"ObjectField",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"project"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}},{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UnDislikeProject"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteDislikedProject"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"ObjectField",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"clientMutationId"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:356}};n.loc.source={body:"mutation DislikeProject($userId: UUID!, $projectId: UUID!) {\n  createDislikedProject(input: {dislikedProject: {userId: $userId, projectId: $projectId}}) {\n    project {\n      id\n    }\n  }\n}\n\nmutation UnDislikeProject($userId: UUID!, $projectId: UUID!) {\n  deleteDislikedProject(input: {userId: $userId, projectId: $projectId}) {\n    clientMutationId\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var a=e.type;"NamedType"===a.kind&&n.add(a.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function t(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function r(e,n){var i={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var r=a[n]||new Set,o=new Set,l=new Set;for(r.forEach((function(e){l.add(e)}));l.size>0;){var s=l;l=new Set,s.forEach((function(e){o.has(e)||(o.add(e),(a[e]||new Set).forEach((function(e){l.add(e)})))}
1))}return o.forEach((function(n){var a=t(e,n);a&&i.definitions.push(a)})),i}n.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}})),e.exports=n,e.exports.DislikeProject=r(n,"DislikeProject"),e.exports.UnDislikeProject=r(n,"UnDislikeProject")},18821:function(e){var n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"projectFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Project"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"nameWithOwner"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"stars"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imageUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"owner"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"username"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"platformId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pushedAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"topics"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"skills"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"roles"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"contributorFriendlyIssuesCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"currentUserFollows"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"websiteUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"repoUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"openIssuesCount"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"getSwipeCardsData"}}}]}]},{kind:"Field",name:{kind:"Name",value:"openPrsCount"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"getSwipeCardsData"}}}]}]},{kind:"Field",name:{kind:"Name",value:"contributors"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"getSwipeCardsData"}}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"totalCount"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"bannerConfig"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"getSwipeCardsData"}}}]}]},{kind:"Field",name:{kind:"Name",value:"goals"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"getSwipeCardsData"}}}]}]},{kind:"Field",name:{kind:"Name",value:"highlights"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"getSwipeCardsData"}}}]}]}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ProjectsQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pageSize"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}
1,{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"offset"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"roles"}},type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"skills"}},type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"topics"}},type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"stars"}},type:{kind:"NamedType",name:{kind:"Name",value:"RangeIntInputType"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"lastActive"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"searchText"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"collectionName"}},type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"currentUserFollowsProject"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"currentUserDislikesProject"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"getSwipeCardsData"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!1},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"includeArchived"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"includeHidden"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"orderBy"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ProjectsOrderBy"}}}},defaultValue:{kind:"ListValue",values:[{kind:"EnumValue",value:"SEARCH_RELEVANCE"},{kind:"EnumValue",value:"PUSHED_AT_DESC"}]},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ownerId"}},type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ownerUsernameQuery"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!1},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ownerUsername"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"projects"},arguments:[{kind:"Argument",name:{kind:"Name",value:"orderBy"},value:{kind:"Variable",name:{kind:"Name",value:"orderBy"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"pageSize"}}},{kind:"Argument",name:{kind:"Name",value:"offset"},value:{kind:"Variable",name:{kind:"Name",value:"offset"}}},{kind:"Argument",name:{kind:"Name",value:"condition"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"roles"},value:{kind:"Variable",name:{kind:"Name",value:"roles"}}},{kind:"ObjectField",name:{kind:"Name",value:"skills"},value:{kind:"Variable",name:{kind:"Name",value:"skills"}}},{kind:"ObjectField",name:{kind:"Name",value:"topics"},value:{kind:"Variable",name:{kind:"Name",value:"topics"}}},{kind:"ObjectField",name:{kind:"Name",value:"starsRange"},value:{kind:"Variable",name:{kind:"Name",value:"stars"}}},{kind:"ObjectField",name:{kind:"Name",value:"pushedAtDateRange"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"lastActive"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"searchText"},value:{kind:"Variable",name:{kind:"Name",value:"searchText"}}},{kind:"ObjectField",name:{kind:"Name",value:"projectCollections"},value:{kind:"Variable",name:{kind:"Name",value:"collectionName"}}},{kind:"ObjectField",name:{kind:"Name",value:"currentUserFollows"},value:{kind:"Variable",name:{kind:"Name",value:"currentUserFollowsProject"}}},{kind:"ObjectField",name:{kind:"Name",value:"currentUserDislikes"},value:{kind:"Variable",name:{kind:"Name",value:"currentUserDislikesProject"}}},{kind:"ObjectField",name:{kind:"Name",value:"includeArchived"},value:{kind:"Variable",name:{kind:"Name",value:"includeArchived"}}},{kind:"ObjectField",name:{kind:"Name",value:"includeHidden"},value:{kind:"Variable",name:{kind:"Name",value:"includeHidden"}}},{kind:"ObjectField",name:{kind:"Name",value:"ownerId"},value:{kind:"Variable",name:{kind:"Name",value:"ownerId"}}},{kind:"ObjectField",name:{kind:"Name",value:"platformId"},value:{kind:"EnumValue",value:"GITHUB_COM"}}]}}],directives:[{kind:"Directive",name:{kind:"Name",value:"skip"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"ownerUsernameQuery"}}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"projectFields"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"totalCount"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"users"},name:{kind:"Name",value:"platformUsers"},arguments:[{kind:"Argument",name:{kind:"Name",value:"condition"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"caseInsensitiveUsername"},value:{kind:"Variable",name:{kind:"Name",value:"ownerUsername"}}}]}}],directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"ownerUsernameQuery"}}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"projectsByOwnerId"},arguments:[{kind:"Argument",name:{kind:"Name",value:"orderBy"},value:{kind:"Variable",name:{kind:"Name",value:"orderBy"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"pageSize"}}},{kind:"Argument",name:{kind:"Name",value:"offset"},value:{kind:"Variable",name:{kind:"Name",value:"offset"}}},{kind:"Argument",name:{kind:"Name",value:"condition"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"roles"},value:{kind:"Variable",name:{kind:"Name",value:"roles"}}},{kind:"ObjectField",name:{kind:"Name",value:"skills"},value:{kind:"Variable",name:{kind:"Name",value:"skills"}}},{kind:"ObjectField",name:{kind:"Name",value:"topics"},value:{kind:"Variable",name:{kind:"Name",value:"topics"}}},{kind:"ObjectField",name:{kind:"Name",value:"starsRange"},value:{kind:"Variable",name:{kind:"Name",value:"stars"}}},{kind:"ObjectField",name:{kind:"Name",value:"pushedAtDateRange"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"lastActive"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"searchText"},value:{kind:"Variable",name:{kind:"Name",value:"searchText"}}},{kind:"ObjectField",name:{kind:"Name",value:"projectCollections"},value:{kind:"Variable",name:{kind:"Name",value:"collectionName"}}},{kind:"ObjectField",name:{kind:"Name",value:"currentUserFollows"},value:{kind:"Variable",name:{kind:"Name",value:"currentUserFollowsProject"}}},{kind:"ObjectField",name:{kind:"Name",value:"includeArchived"},value:{kind:"Variable",name:{kind:"Name",value:"includeArchived"}}},{kind:"ObjectField",name:{kind:"Name",value:"includeHidden"},value:{kind:"Variable",name:{kind:"Name",value:"includeHidden"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"projectFields"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"totalCount"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:2670}};n.loc.source={body:"fragment projectFields on Project {\n  id\n  nameWithOwner\n  name\n  description\n  stars\n  imageUrl\n  owner {\n    id\n    name\n    username\n    description\n  }\n  platformId\n  pushedAt\n  topics\n  skills\n  roles\n  contributorFriendlyIssuesCount\n  currentUserFollows\n  websiteUrl\n  repoUrl\n  openIssuesCount @include(if: $getSwipeCardsData)\n  openPrsCount @include(if: $getSwipeCardsData)\n  contributors @include(if: $getSwipeCardsData) {\
1n    totalCount\n  }\n  bannerConfig @include(if: $getSwipeCardsData)\n  goals @include(if: $getSwipeCardsData)\n  highlights @include(if: $getSwipeCardsData)\n}\n\nquery ProjectsQuery(\n  $pageSize: Int!\n  $offset: Int!\n  $roles: [String]\n  $skills: [String]\n  $topics: [String]\n  $stars: RangeIntInputType\n  $lastActive: String\n  $searchText: String\n  $collectionName: [String]\n  $currentUserFollowsProject: Boolean\n  $currentUserDislikesProject: Boolean\n  $getSwipeCardsData: Boolean = false\n  $includeArchived: Boolean\n  $includeHidden: Boolean\n  $orderBy: [ProjectsOrderBy!] = [SEARCH_RELEVANCE, PUSHED_AT_DESC]\n  $ownerId: UUID\n  $ownerUsernameQuery: Boolean = false\n  $ownerUsername: String\n) {\n  projects(\n    orderBy: $orderBy\n    first: $pageSize\n    offset: $offset\n    condition: {\n      roles: $roles\n      skills: $skills\n      topics: $topics\n      starsRange: $stars\n      pushedAtDateRange: { after: $lastActive }\n      searchText: $searchText\n      projectCollections: $collectionName\n      currentUserFollows: $currentUserFollowsProject\n      currentUserDislikes: $currentUserDislikesProject\n      includeArchived: $includeArchived\n      includeHidden: $includeHidden\n      ownerId: $ownerId\n      # Limit to GitHub projects\n      # TODO: exclude platformId: OTHER instead, which seems to require\n      # adjusting the filtering conditions in graphile?\n      platformId: GITHUB_COM\n    }\n  ) @skip(if: $ownerUsernameQuery) {\n    nodes {\n      ...projectFields\n    }\n    totalCount\n  }\n\n  users: platformUsers(condition: { caseInsensitiveUsername: $ownerUsername })\n    @include(if: $ownerUsernameQuery) {\n    nodes {\n      projectsByOwnerId(\n        orderBy: $orderBy\n        first: $pageSize\n        offset: $offset\n        condition: {\n          roles: $roles\n          skills: $skills\n          topics: $topics\n          starsRange: $stars\n          pushedAtDateRange: { after: $lastActive }\n          searchText: $searchText\n          projectCollections: $collectionName\n          currentUserFollows: $currentUserFollowsProject\n          includeArchived: $includeArchived\n          includeHidden: $includeHidden\n        }\n      ) {\n        nodes {\n          ...projectFields\n        }\n        totalCount\n      }\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var a=e.type;"NamedType"===a.kind&&n.add(a.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function t(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function r(e,n){var i={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var r=a[n]||new Set,o=new Set,l=new Set;for(r.forEach((function(e){l.add(e)}));l.size>0;){var s=l;l=new Set,s.forEach((function(e){o.has(e)||(o.add(e),(a[e]||new Set).forEach((function(e){l.add(e)})))}))}return o.forEach((function(n){var a=t(e,n);a&&i.definitions.push(a)})),i}n.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}})),e.exports=n,e.exports.projectFields=r(n,"projectFields"),e.exports.ProjectsQuery=r(n,"ProjectsQuery")}},function(e){e.O(0,[9774,4766,4263,357,4893,7736,3223,1090,1119,3795,7167,8786,119,396,8751,2178,9294,9212,675,6231,454,8369,5566,8805,2888,179],(function(){return n=67815,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.