1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9923],{86010:function(e,t,n){"use strict";function r(e){var t,n,i="";if("string"===typeof e||"number"===typeof e)i+=e;else if("object"===typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}function i(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(i&&(i+=" "),i+=t);return i}n.d(t,{Z:function(){return i}})},56348:function(e,t,n){"use strict";var r=n(59499),i=n(4730),s=(n(67294),n(86010)),o=n(37437),a=n.n(o),c=n(85893),l=["children","variant","iconOnly","icon","className"];function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.Z=function(e){var t=e.children,n=e.variant,o=void 0===n?"primary":n,u=e.iconOnly,f=void 0!==u&&u,m=e.icon,h=void 0===m?null:m,p=e.className,x=void 0===p?"":p,v=(0,i.Z)(e,l);return(0,c.jsxs)("button",d(d({},v),{},{className:(0,s.Z)(a().button,a()[o],(0,r.Z)({},a().disabled,v.disabled))+" ".concat(x),children:[f?h:null,!f&&t]}))}},84256:function(e,t,n){"use strict";n(67294);var r=n(9008),i=n.n(r),s=n(41336),o=n(78186),a=n(83047),c=n(85893);t.Z=function(e){var t=e.title,n=void 0===t?null:t,r=e.description,l=void 0===r?"Get recognized and validate your skills and achievements with digital badges that work on GitHub, GitLab, and social media platforms. Holopin makes it easy to create, issue, and collect badges for the things you do best.":r,u=e.children,d=e.navbar,f=void 0===d||d,m=e.contentStyle,h=e.contentClassName,p=e.noVerify,x=void 0!==p&&p;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)(i(),{children:[(0,c.jsx)("title",{children:n?"".concat(n," | Holopin"):"Holopin"}),(0,c.jsx)("meta",{name:"description",content:l}),(0,c.jsx)("meta",{name:"keywords",content:"digital badges, skills, achievements, GitHub, GitLab, social media, recognition, validation, open badges"}),(0,c.jsx)("meta",{name:"author",content:"Holopin"}),(0,c.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,c.jsx)("link",{rel:"canonical",href:"https://www.holopin.io"}),(0,c.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,c.jsxs)("div",{className:"relative flex flex-col items-stretch min-h-screen bg-neutral-850",style:{zIndex:0,background:"transparent"},children:[f&&(0,c.jsx)(o.Z,{}),!x&&(0,c.jsx)(a.Z,{}),(0,c.jsx)("div",{style:m,className:"".concat(h||""," w-full min-h-screen p-5 mx-auto mt-20 lg:py-20 md:px-10 lg:px-40 max-w-screen-2xl"),children:u})]}),(0,c.jsx)("div",{className:"w-full mt-60",children:(0,c.jsx)(s.Z,{})})]})}},27318:function(e,t,n){"use strict";var r=n(41664),i=n.n(r),s=n(56348),o=n(85893),a=function(e,t){if("string"===typeof e)return e.replace("[orgUsername]",t);var n=e.pathname;return e.query&&(n+="?",n+="string"===typeof e.query?e.query:new URLSearchParams(e.query).toString()),n=n.replace("[orgUsername]",t)};t.Z=function(e){var t=e.organizations,n=e.showButtons,r=void 0===n||n,c=e.customHref,l=void 0===c?null:c;return(0,o.jsx)(o.Fragment,{children:t&&t.length>0&&(0,o.jsx)("div",{className:"grid grid-cols-1 gap-3",children:t.map((function(e){return(0,o.jsxs)("div",{id:e.id,className:"flex flex-col items-center justify-between w-full px-8 py-4 rounded-md bg-neutral-700 md:flex-row",children:[(0,o.jsx)("div",{className:"flex flex-row items-center justify-center",children:(0,o.jsx)("div",{className:"w-full mb-4 text-2xl font-semibold text-center md:text-left md:w-fit md:m-0",children:(0,o.jsx)(i(),{href:l?a(l,e.username):"/@".concat(e.username),children:(0,o.jsx)("a",{children:(0,o.jsxs)("span",{className:"cursor-pointer",children:[(0,o.jsx)("span",{className:"",children:e.name}),(0,o.jsxs)("span",{className:"block text-lg text-neutral-400",children:["@",(0,o.jsx)("span",{className:"cursor-pointer",children:e.username})]})]})})})})}),r&&(0,o.jsxs)("div",{className:"flex flex-col items-center justify-center w-full pointer-none md:w-fit md:flex-row gap-3",children:[(0,o.jsx)(i(),{href:"/organizations/manage/".concat(e.username),children:(0,o.jsx)("a",{children:(0,o.jsx)(s.Z,{variant:"secondary",className:"w-full md:w-fit hover:border hover:border-blue-300",children:"Settings"})})}),(0,o.jsx)(i(),{href:"/sticker/new?id=".concat(e.id),children:(0,o.jsx)("a",{children:(0,o.jsx)(s.Z,{variant:"primary",className:"w-full md:w-fit hover:border hover:border-green-300",children:"Create Badge"})})})]})]},e.id)}))})})}},83047:function(e,t,n){"use strict";var r=n(50029),i=n(87794),s=n.n(i),o=n(67294),a=n(33299),c=n(11163),l=n(85893);t.Z=function(){var e,t=(0,c.useRouter)(),n=(0,a.useSession)(),i=n.data,u=(n.status,(0,o.useState)("init")),d=u[0],f=u[1];if(t.query.verified)return(0,l.jsx)("div",{className:"w-full h-12 px-2 mt-16 text-center bg-blue-300 sm:h-8",children:(0,l.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,l.jsx)("p",{className:"text-xs font-semibold text-black sm:text-sm",children:"Thanks! Your email has been verified."})})});var m=null===i||void 0===i||null===(e=i.user)||void 0===e?void 0:e.emailVerified,h=function(){var e=(0,r.Z)(s().mark((function e(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f("loading"),e.next=3,fetch("/api/auth/verify",{method:"POST"});case 3:if(200!==e.sent.status){e.next=7;break}return f("success"),e.abrupt("return");case 7:f("error");case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,l.jsx)(l.Fragment,{children:!1===m&&(null===i||void 0===i?void 0:i.user)&&(0,l.jsx)("div",{className:"w-full h-12 px-2 mt-16 text-center bg-blue-300 sm:h-8",children:(0,l.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,l.jsxs)("p",{className:"text-xs font-semibold text-black sm:text-sm",children:["Please verify your email address."," ","init"==d&&(0,l.jsx)("a",{className:"underline cursor-pointer",onClick:h,children:"Re-send verification email"}),"loading"==d&&(0,l.jsx)("span",{className:"text-xs font-semibold text-black sm:text-sm",children:"Sending..."}),"success"==d&&(0,l.jsx)("span",{className:"text-xs font-semibold text-black sm:text-sm",children:"Verification email sent!"}),"error"==d&&(0,l.jsx)("span",{className:"text-xs font-semibold text-black sm:text-sm",children:"Error sending verification email. Please try again."})]})})})})}},69206:function(e,t,n){"use strict";n.r(t);n(67294);var r=n(84256),i=n(85893);t.default=function(){return(0,i.jsx)(r.Z,{title:"Page not found",children:(0,i.jsx)("h1",{children:"Oops! Page not found."})})}},69540:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return d}});n(67294);var r=n(41664),i=n.n(r),s=n(52091),o=n(56348),a=n(84256),c=n(27318),l=n(69206),u=n(85893),d=!0;t.default=function(e){var t=e.usersOrganizations,n=e.licensed,r=e.session;return null!==r&&void 0!==r&&r.user?(0,u.jsxs)(a.Z,{title:"Organizations",children:[(0,u.jsx)("h1",{className:"mb-4 text-4xl font-bold",children:"Your Organizations"}),n?(0,u.jsx)(i(),{href:"/organizations/new",children:(0,u.jsx)("a",{children:(0,u.jsxs)(o.Z,{variant:"primary",children:[(0,u.jsx)(s.wEH,{className:"inline pb-1 mr-1"}),"New organisation"]})})}):(0,u.jsxs)("span",{className:"text-sm text-neutral-500",children:["Looking to create a new organization?"," ",(0,u.jsx)(i(),{href:"/pricing",passHref:!0,children:(0,u.jsx)("a",{className:"font-semibold text-green-300 hover:text-neutral-300",children:"See pricing options"})}),"."]}),t.length>0&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{}),(0,u.jsx)("div",{className:"flex-1",children:(0,u.jsx)("section",{className:"my-10",children:(null===t||void 0===t?void 0:t.length)>0&&(0,u.jsx)(c.Z,{organizations:t})})})]})]}):(0,u.jsx)(l.default,{})}},93916:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/organizations",function(){return n(69540)}])},37437:function(e){e.exports={button:"Button_button__PjVhE",secondary:"Button_secondary__2SNo1",primary:"Button_primary___XGO6",close:"Button_close__pPp_W",disabled:"Button_disabled__063Xs",hold:"Button_hold__WeACw",social:"Button_social__EF7MJ",ghost:"Button_ghost__CPfYf",subtle:"Button_subtle__3cV3v",outline:"Button_outline__EsWgH",danger:"Button_danger__gw1OL",purple:"Button_purple__dIsBv",marketing:"Button_marketing__BSg_s",marketing2:"Button_marketing2__Y2Q_0","no-border":"Button_no-border__dojA4"}},50029:function(e,t,n){"use strict";function r(e,t,n,r,i,s,o){try{var a=e[s](o),c=a.value}catch(l){return void n(l)}a.done?t(c):Promise.resolve(c).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,s){var o=e.apply(t,n);function a(e){r(o,i,s,a,c,"next",e)}function c(e){r(o,i,s,a,c,"throw",e)}a(void 0)}))}}n.d(t,{Z:function(){return i}})},4730:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.d(t,{Z:function(){return r}})},25054:function(e,t,n){"use strict";n.d(t,{w_:function(){return m}});var r=n(67294),i={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},s=r.createContext&&r.createContext(i),o=["attr","size","title"];function a(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?l(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e){return e&&e.map(((e,t)=>r.createElement(e.tag,u({key:t},e.attr),f(e.child))))}function m(e){return t=>r.createElement(h,c({attr:u({},e.attr)},t),f(e.child))}function h(e){var t=t=>{var n,{attr:i,size:s,title:l}=e,d=a(e,o),f=s||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),r.createElement("svg",c({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,i,d,{className:n,style:u(u({color:e.color||t.color},t.style),e.style),height:f,width:f,xmlns:"http://www.w3.org/2000/svg"}),l&&r.createElement("title",null,l),e.children)};return void 0!==s?r.createElement(s.Consumer,null,(e=>t(e))):t(i)}}},function(e){e.O(0,[3365,56,3775,9774,2888,179],(function(){return t=93916,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.