PageSourceSearch

http://mindshare.com/_nuxt/BpRbX6X9.js

js mindshare.com collected 2026-09-25 05:35:12 UTC 5,927 bytes, 1 lines download raw bytes

1import{_ as O}from"./2WB3vVbz.js";import{_ as U}from"./BEHHIMIq.js";import{_ as N}from"./BSaJcsec.js";import{d as A,m as P,l as Y,r as u,e as q,B as z,f as S,c as r,o as n,g as a,h as d,a as t,b as m,i as l,u as o,F as C,k as E,t as F,q as M,j as W,C as G}from"#entry";import{u as H}from"./CH_6wy30.js";import{_ as J}from"./DY5Z0UNy.js";import{_ as K}from"./Bua0VNW8.js";import"./DlAUqK2U.js";import"./BcEivbYL.js";import"./ByAx9EQI.js";import"./Crwfu-dM.js";import"./BN6xg-KY.js";import"./BXdSlQ7M.js";import"./DFEK4DtU.js";import"./Ci8iIgQs.js";import"./IFQjBq-e.js";import"./Bpfx4J-e.js";const Q=""+new URL("training_materials.CwojA6kx.png",import.meta.url).href,X={class:"grid grid-cols-12 flex-column justify-center items-center w-full"},Z={class:"col-span-full md:col-span-6 relative mt-8"},ee={class:"flex flex-col"},te={key:0,class:"my-4"},oe={key:0,class:"text-lg"},se={key:1},ne={style:{"list-style-type":"circle"}},re={key:2,class:"flex flex-row py-2 items-center justify-center transition duration-700 ease-in-out lg:gap-10"},ae={key:3,class:"mt-4"},le={key:0,class:"text-red-500"},ie={key:1},ue={key:2},de={class:"flex flex-col transition duration-700 ease-in-out mt-8"},me={class:"flex flex-row mt-4 gap-4"},pe={class:"flex justify-center overflow-auto"},fe={class:"bg-white w-full h-full max-w-[800px] pt-4 px-6 rounded-md pb-20"},Le=A({__name:"index",setup(ge){const _=P(),p=Y();console.log(p.user,"user");const c=u(!1),y=u(!1),v=u(!1),k=u([]),T=u([]),x=u([]),f=u(!1),h=q(()=>[...k.value,...T.value,...x.value]),b=u({offeringId:""}),I=async()=>{c.value=!1,y.value=!0,await V(b.value.offeringId)},V=async i=>{const{data:e,error:w,pending:g}=await H({user_id:p?.user?.uuid??"",offering_id:`${i}`});if(y.value=g.value,w.value){c.value=!0,_.error("Unable To Redeem Resource");return}e.value&&(e.value?.success?(_.success("Materials Added To Your Account Successfully"),v.value=!0,k.value=e.value?.material?.presentations??[],x.value=e.value?.material?.ebooks??[],T.value=e.value?.material?.elearning_courses??[],console.log(h.value,k.value,x.value,e.value?.material)):(c.value=!0,_.error(e.value?.message||"Unable To Redeem Resource")))},$=()=>{f.value=!0};return z({title:()=>"MindShare | Materials ",ogTitle:()=>"MindShare | Materials",description:()=>"Revolutionize your expertise with our cutting-edge eLearning platform tailored for specialists",ogDescription:()=>"Revolutionize your expertise with our cutting-edge eLearning platform tailored for specialists",ogImage:()=>"https://example.com/image.png",twitterCard:()=>"summary_large_image"}),(i,e)=>{const w=O,g=S("v-btn"),D=S("v-text-field"),L=U,R=S("v-dialog"),j=N;return n(),r(C,null,[a(w,null,{left:d(()=>[...e[8]||(e[8]=[m("MindShare Materials",-1)])]),right:d(()=>[...e[9]||(e[9]=[t("p",null," Did you know that MindShare has been teaching technology classes since 1988?",-1)])]),_:1}),a(j,null,{default:d(()=>[t("section",X,[t("div",Z,[t("div",ee,[e[10]||(e[10]=t("strong",{class:"text-lg"}
1,"Welcome to the distribution page for MindShare materials.",-1)),o(p).user?.email?(n(),r("span",te," Please enter the provided Offering ID to add the corresponding MindShare materials (eLearning, presentations, eBooks, etc.) to your account")):l("",!0)]),o(p).user?.email==null?(n(),r("span",oe," You will need to log into your MindShare account, or sign up for a MindShare account, to add training materials to it. You can log into or sign up for your account below: ")):l("",!0),o(v)?(n(),r("span",se,[...e[11]||(e[11]=[m(" Thank you for trusting MindShare for your learning experience!",-1),t("br",null,null,-1),t("br",null,null,-1),m(" The following materials were added to your account: ",-1),t("br",null,null,-1)])])):l("",!0),t("ul",ne,[(n(!0),r(C,null,E(o(h),(s,B)=>(n(),r("li",{key:B},F(s.title||s.name),1))),128))]),o(v)?(n(),r("div",re,[a(g,{onClick:e[0]||(e[0]=s=>("navigateTo"in i?i.navigateTo:o(M))("/user/my-elearning")),rounded:""},{default:d(()=>[...e[12]||(e[12]=[m(" My eLearning ",-1)])]),_:1}),a(g,{onClick:e[1]||(e[1]=s=>("navigateTo"in i?i.navigateTo:o(M))("/user/my-presentations-ebooks")),rounded:""},{default:d(()=>[...e[13]||(e[13]=[m(" My Presentations / eBooks ",-1)])]),_:1})])):l("",!0),o(v)?l("",!0):(n(),r("div",ae,[o(c)?(n(),r("span",le,[e[14]||(e[14]=m("The Offering ID you entered is not currently valid. Please try a different one or contact ",-1)),t("span",{onClick:$,class:"text-decoration-underline cursor-pointer text-primary-green"},"MindShare Support")])):l("",!0),o(p).user?.email!=null?(n(),r("div",ie,[e[16]||(e[16]=t("h2",{class:"lg font-black uppercase my-2 mt-4 mb-4"}," Offering ID ",-1)),a(D,{"data-testid":"offering_id_field",label:"Offering ID",modelValue:o(b).offeringId,"onUpdate:modelValue":e[2]||(e[2]=s=>o(b).offeringId=s)},null,8,["modelValue"]),o(y)?(n(),W(J,{key:0,class:"absolute top-1/2 left-1/2",width:100,height:100,color:"var(--primary-green)"})):l("",!0),a(g,{onClick:e[3]||(e[3]=s=>I()),rounded:"",color:"primary_green"},{default:d(()=>[...e[15]||(e[15]=[m(" Submit ",-1)])]),_:1})])):l("",!0),o(p).user?.email==null?(n(),r("div",ue,[t("div",de,[e[18]||(e[18]=t("span",{class:"text-xl"},"Take me to:",-1)),t("div",me,[a(L,{navigate:!1,autoOpen:!1}),a(g,{onClick:e[4]||(e[4]=s=>("navigateTo"in i?i.navigateTo:o(M))("/register")),rounded:""},{default:d(()=>[...e[17]||(e[17]=[m(" Sign up ",-1)])]),_:1})])])])):l("",!0)]))]),e[19]||(e[19]=t("aside",{class:"col-span-full md:col-span-6 p-8"},[t("img",{class:"w-full object-cover rounded-[10px] v-shadow",src:Q,alt:"materials"})],-1))]),a(R,{width:"800",modelValue:o(f),"onUpdate:modelValue":e[7]||(e[7]=s=>G(f)?f.value=s:null)},{default:d(()=>[t("div",pe,[t("div",fe,[a(K,{onEmailSent:e[5]||(e[5]=s=>f.value=!1),onCancel:e[6]||(e[6]=s=>f.value=!1),subject:"Offering ID Issue",your_email_address:o(p).user?.email||"","mindshare-user":"support"},null,8,["your_email_address"])])])]),_:1},8,["modelValue"])]),_:1})],64)}}});export{Le as default};

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.