1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6984],{6017:(e,s,i)=>{i.d(s,{A:()=>a});var t=i(95155),n=i(15239);let r={profile:"/assets/profile.png",hub:"/assets/hubs.png",news:"/assets/hubs.png",offering:"/assets/hubs.png",prototype:"/assets/hubs.png",group:"/assets/hubs.png"},a=e=>{let{image:s,fallback:i,preferredSize:a="original",blurPlaceholder:l=!1,fill:o=!1,...c}=e,{src:d,width:h,height:u,availableFormats:m}=((e,s,i)=>{if(e){let{url:i,width:t,height:n}=e,r=e.formats,a=Object.entries(r||{}).filter(e=>{let[s,i]=e;return void 0!==i}).map(e=>{let[s,i]=e;return i}).sort((e,s)=>e.width-s.width);if(s&&"original"!==s&&(null==r?void 0:r[s])){let e=r[s];i=e.url,t=e.width,n=e.height}return{src:i,width:t,height:n,availableFormats:a}}return i&&r[i]?{src:r[i],width:80,height:80}:{}})(s,a,i),p=m&&m.length>0?m.map((e,s,i)=>{if(s===i.length-1)return"(min-width: ".concat(e.width,"px) ").concat(e.width,"px");let t=i[s+1];return"(max-width: ".concat(t.width,"px) ").concat(e.width,"px")}).join(", "):void 0,f=c.alt||(null==s?void 0:s.caption)||(null==s?void 0:s.name)||"";return o&&(c.style&&"object"==typeof c.style?c.style.objectFit="cover":c.style={objectFit:"cover"}),l&&(c.placeholder="blur",c.blurDataURL="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mM0d3CuBwACqwE7WZLrjQAAAABJRU5ErkJggg=="),(0,t.jsx)(n.default,{src:d||"",width:o?void 0:h,height:o?void 0:u,sizes:p,fill:o,...c,alt:f})}},7877:(e,s,i)=>{i.r(s),i.d(s,{default:()=>_});var t=i(95155),n=i(12115),r=i(87606),a=i(33599),l=i(63365),o=i(65117),c=i(65442),d=i(61633),h=i(76144),u=i(60444),m=i(82722),p=i(71269),f=i(76282);let g="sub_ulab2x";function _(e){let{pageData:s,submission:i,adminView:_}=e,x=(0,m.A)(),{currentUser:w}=(0,p.Ay)(),y=n.useRef(),[b,v]=(0,n.useState)(!1),[j,A]=(0,n.use
1State)(!1),[k,I]=(0,n.useState)(!1),{data:N,isLoading:S,isError:E,mutate:M}=(0,f.st)(_?null:"/formsubmissions/offering/".concat(s.id,"?formtype=").concat(g)),C=_?i:N,U=(0,n.useMemo)(()=>{if(S)return;let e=k||(null==C?void 0:C.submissionStatus);if(_)A(!0);else{if("notfound"===e)return A(!1),"initial";["draft","reopened"].includes(e)?A(!1):A(!0)}return e},[k,C,S]),q=(0,n.useMemo)(()=>{switch(U){case"initial":return(0,t.jsx)(r.default,{variant:"dark",children:(0,t.jsx)("strong",{children:"Nothing Submitted"})});case"draft":return(0,t.jsx)(r.default,{variant:"dark",children:(0,t.jsx)("strong",{children:"Draft"})});case"submitted":return(0,t.jsx)(r.default,{variant:"primary",children:(0,t.jsx)("strong",{children:"Submitted"})});case"review":return(0,t.jsx)(r.default,{variant:"info",children:(0,t.jsx)("strong",{children:"Under Review"})});case"reopened":return(0,t.jsx)(r.default,{variant:"info",children:(0,t.jsx)("strong",{children:"This application has been re-opened"})});case"approved":return(0,t.jsx)(r.default,{variant:"success",children:(0,t.jsx)("strong",{children:"Your submission has been approved"})})}},[U]);if(E)return(0,t.jsx)(u.default,{error:E});if(S)return(0,t.jsx)(h.A,{});let T=async()=>{P(y.current.getValues())},L=async()=>{let e=await y.current.validate(),s=y.current.getValues(),i=!0;if(s.workshops_switch_3d&&s.workshops_switch_4d&&s.workshops_switch_proto||(i=!1,await y.current.setError("vf_valgroup_workshops",{type:"custom",message:"All workshops are required. If you havenât completed all workshops, please apply to a new edition of u-lab 2x and gain your certificate then"})),s.live_session_1_switch||s.live_session_2_switch||s.live_session_3_switch||s.live_session_4_switch||s.ask_anything_1_switch||s.ask_anything_2_switch||s.ask_anything_3_switch||s.story_telling_1_switch||s.story_telling_2_switch||(i=!1,await y.current.setError("vf_valgroup_participation",{type:"custom",message:"Participation in at least one of these sessions is required"})),e&&i){P(s,!0);let e=document.querySelector(".main-wrapper");null==e||e.scrollTo(0,0)}},P=async(e,i)=>{if(_)return;v(!0);let t=!!(null==C?void 0:C.submissionId),n={...e,meta:{source_type:"offering",source_id:s.id,formtype:g,publishedAt:!!i}},r=i?"form":"draft";(0,f.Em)("/formsubmissions".concat(t?"/"+(null==e?void 0:e.submissionId):""),n,{method:t?"PUT":"POST"}).then(e=>{I(i?"submitted":"draft"),M(),x({type:"success",title:"Success",message:e.message||"Your ".concat(r," has been ").concat(i?"submitted":"saved"," successfully")})}).catch(e=>{var s;x({title:"Error",type:"error",message:(null==(s=e.props)?void 0:s.message)||"Your ".concat(r," could not be ").concat(i?"submitted":"saved")})}).finally(()=>{v(!1)})};return(0,t.jsxs)(d.lV,{defaultValues:C,onSubmit:P,ref:y,children:["submitted"===U&&!_&&(0,t.jsxs)(a.default,{className:"pi-shadow-box ms-1 mt-5 mb-5 align-items-center",children:[(0,t.jsx)(l.default,{className:"col-auto",style:{minWidth:"125px"},children:(0,t.jsx)("i",{style:{fontSize:"80px"},className:"fal fa-file-search pi-fnt-highlight-two"})}),(0,t.jsxs)(l.default,{children:[(0,t.jsxs)("h4",{className:"pi-fnt-highlight-two",children:["Thank you ",w.first_name,", for your submission."]}),(0,t.jsxs)("p",{className:"",children:[(0,t.jsx)("strong",{children:"Your u-lab 2x certificate submission is being reviewed."}),(0,t.jsx)("br",{}),(0,t.jsx)("br",{}),"Our team has been notified about your submission and is excited to review your project within the next weeks.",(0,t.jsx)("br",{}),"During the review process you cannot change your submission. In case our team has questions, they might reach out to you, asking to elaborate on a specific topic and they will reopen your form for you.",(0,t.jsx)("br",{}),"You will receive an email (to ",(0,t.jsx)("span",{className:"pi-fnt-highlight-two",children:w.email}),") when the review process is finished confirming that the certificate will be issued."]})]})]}),(0,t.jsxs)("fieldset",{className:"mb-5",children:[(0,t.jsx)("legend",{children:"This Application is currently in state:"}),(0,t.jsx)(a.default,{children:q})]}),(0,t.jsxs)("fieldset",{className:"mb-5",disabled:j,children:[(0,t.jsx)("legend",{children:"u-lab 2x Certification"}),(0,t.jsx)(d.gE,{children:(0,t.jsx)(d.pd,{name:"team_name",label:"Team Name:",hint:"Team name and/or team number are required. If you don't know this data, please contact [email protected]"})}),(0,t.jsx)(d.gE,{children:(0,t.jsx)(d.pd,{name:"team_number",label:"Team Number:",hint:"Team name and/or team number are required. If you don't know this data, please contact [email protected]"})}),(0,t.jsx)(d.gE,{className:"mb-3",children:(0,t.jsxs)(d.l6,{name:"slug2x",label:"Year of Participation",children:[(0,t.jsx)("option",{value:"u-lab-2x-2019",children:"2019"}),(0,t.jsx)("option",{value:"u-lab-2x-2020",children:"2020"}),(0,t.jsx)("option",{value:"u-lab-2x-2021",children:"2021"}),(0,t.jsx)("option",{value:"u-lab-2x",children:"2022"}),(0,t.jsx)("option",{value:"ulab-2x-2023",children:"2023"})]})})]}),(0,t.jsxs)("fieldset",{className:"mb-5",disabled:j,children:[(0,t.jsx)("legend",{children:"Workshops"}),(0,t.jsx)(a.default,{children:(0,t.jsx)("p",{children:"u-lab 2x is designed to help you hold multi-stakeholder workshops that evolve your prototype. All workshops are required for completion of u-lab 2x. Please verify that you have co-held workshops based on the core u-lab 2x practices:"})}),(0,t.jsx)(d.yt,{name:"valgroup_workshops"}),(0,t.jsxs)(d.gE,{controlId:"workshops",children:[(0,t.jsx)(d.lM,{type:"switch",id:"workshops_switch_3d",name:"workshops_switch_3d",label:"3D Mapping",config:{required:!0}}),(0,t.jsx)(d.lM,{type:"switch",id:"workshops_switch_4d",name:"workshops_switch_4d",label:"4D Mapping",config:{required:!0}}),(0,t.jsx)(d.lM,{type:"switch",id:"workshops_switch_prototyping",name:"workshops_switch_proto",label:"Prototyping",config:{required:!0}})]})]}),(0,t.jsxs)("fieldset",{className:"my-5",disabled:j,children:[(0,t.jsx)("legend",{children:"Prototype Action:"}),(0,t.jsx)("div",{className:"mb-3",children:"Please submit a video up to 90 seconds long briefly describing what your project is and what prototyping action you/your team has taken as a result of your engagement in the u-lab 2x process?"}),(0,t.jsx)(d.gE,{controlId:"prototype_video",children:(0,t.jsx)(d.pd,{name:"prototype-videourl",label:"Video URL:",hint:"Link the video here.",config:{required:!0}})}),(0,t.jsx)(d.gE,{controlId:"prototype_switch",children:(0,t.jsx)(d.lM,{type:"switch",id:"prototype_permission_switch",name:"prototype_permission_switch",label:"I authorize the u-school for Transformation to use my image for blogs, social media and other communication to the wider u-school eco-system. "})})]}),(0,t.jsxs)("fieldset",{className:"my-5",disabled:j,children:[(0,t.jsx)("legend",{children:"Community Participation:"}
1),(0,t.jsx)("div",{className:"mb-3",children:"A key aspect of u-lab 2x is the community, which provides an arena of resonance for individuals, teams and projects. In which community events did you participate (minimum 1 required):"}),(0,t.jsx)(d.yt,{name:"valgroup_participation"}),(0,t.jsxs)(d.gE,{controlId:"participation_switch",children:[(0,t.jsx)(d.lM,{type:"switch",id:"live_session_1_switch",name:"live_session_1_switch",label:"Live Session I (live or recorded)"}),(0,t.jsx)(d.lM,{type:"switch",id:"live_session_2_switch",name:"live_session_2_switch",label:"Live Session II (live or recorded)"}),(0,t.jsx)(d.lM,{type:"switch",id:"live_session_3_switch",name:"live_session_3_switch",label:"Live Session III (live or recorded)"}),(0,t.jsx)(d.lM,{type:"switch",id:"live_session_4_switch",name:"live_session_4_switch",label:"Live Session IV (live or recorded)"}),(0,t.jsx)(d.lM,{type:"switch",id:"ask_anything_1_switch",name:"ask_anything_1_switch",label:"Ask-Us-Anything I (live or recorded)"}),(0,t.jsx)(d.lM,{type:"switch",id:"ask_anything_2_switch",name:"ask_anything_2_switch",label:"Ask-Us-Anything II (live or recorded)"}),(0,t.jsx)(d.lM,{type:"switch",id:"ask_anything_3_switch",name:"ask_anything_3_switch",label:"Ask-Us-Anything III (live or recorded)"}),(0,t.jsx)(d.lM,{type:"switch",id:"story_telling_1_switch",name:"story_telling_1_switch",label:"Story-telling Session I"}),(0,t.jsx)(d.lM,{type:"switch",id:"story_telling_2_switch",name:"story_telling_2_switch",label:"Story-telling Session II"})]})]}),(0,t.jsxs)("fieldset",{className:"my-5",disabled:j,children:[(0,t.jsx)("legend",{children:"Learning"}),(0,t.jsx)(d.gE,{as:a.default,controlId:"learning",children:(0,t.jsx)(d.TM,{name:"learnings",label:"Please share what role you played in your team and what you learned through the u-lab 2x process.",hint:"up to 300 words.",maxWords:300,config:{required:!0}})})]}),!_&&["initial","draft","reopened"].includes(U)&&(0,t.jsx)("fieldset",{className:"variant-grey text-center",children:(0,t.jsxs)("div",{className:"my-3",children:[(0,t.jsx)(o.default,{className:"mx-5 px-5",variant:"secondary",onClick:T,disabled:b||j,children:b?(0,t.jsx)(c.default,{animation:"border",size:"sm",className:"me-2"}):"Save as Draft"}),(0,t.jsx)(o.default,{className:"px-5",variant:"primary",onClick:L,disabled:b||j,children:b?(0,t.jsx)(c.default,{animation:"border",size:"sm",className:"me-2"}):"Save and Submit"})]})})]})}},23878:(e,s,i)=>{i.d(s,{A:()=>a});var t=i(95155);i(12115);var n=i(63753),r=i(33912);let a=function(e){let{id:s,text:i,placement:a="top",children:l}=e;return i?(s||(s="tooltip-"+Math.floor(1e3*Math.random())),(0,t.jsx)(n.A,{placement:a,overlay:(0,t.jsx)(r.A,{id:s,children:i}),children:l},s)):l}},71269:(e,s,i)=>{i.d(s,{Ay:()=>n}),i(65870);var t=i(25383);function n(){var e,s,i,n,r,a,l;let o=(0,t.A)(e=>e.auth);return{isAuthChecked:null!=(e=null==o?void 0:o.isAuthChecked)&&e,isAuthenticated:null!=(s=null==o?void 0:o.isAuthenticated)&&s,isConfirmed:null!=(i=null==o?void 0:o.isConfirmed)&&i,isEditor:null!=(n=null==o?void 0:o.isEditor)&&n,isAdmin:null!=(r=null==o?void 0:o.isAdmin)&&r,isSuperAdmin:null!=(a=null==o?void 0:o.isSuperAdmin)&&a,currentUser:null!=(l=null==o?void 0:o.currentUser)?l:null,refreshCurrentUser:o.refreshCurrentUser,openLogin:o.openLogin,logout:o.logout}}},76144:(e,s,i)=>{i.d(s,{A:()=>r});var t=i(95155),n=i(65442);function r(e){let{align:s="center"}=e;return(0,t.jsx)("div",{className:"text-".concat(s," mt-4"),children:(0,t.jsx)(n.default,{animation:"border",role:"status",children:(0,t.jsx)("span",{className:"visually-hidden",children:"Loading..."})})})}},82722:(e,s,i)=>{i.d(s,{A:()=>n});var t=i(25383);function n(){let e=(0,t.A)(e=>e.ui.addToast);return s=>{e(s)}}}}]);
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.