PageSourceSearch

https://www.16personalities.com/build/assets/uhjvzmlhba.BNbaeHL1.js

js 16personalities.com collected 2026-09-24 06:52:05 UTC 13,608 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];if(null!=a)for(var r in a)a.hasOwnProperty(r)&&(e[r]=a[r])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:K7X9M2P4R8W5N3Q6":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="71ff67ea-c917-4fd5-9a84-137e419a555c",e._sentryDebugIdIdentifier="sentry-dbid-71ff67ea-c917-4fd5-9a84-137e419a555c")}catch(e){}}();import{B as e,C as t,E as a,Et as r,I as o,W as l,_ as i,b as s,f as n,g as u,ht as m,it as d,k as c,kt as p,nt as w,pt as f,u as h,v as y,w as b,wt as g,y as v}from"./zhjhzy1kcm9w.DA_5RF-L.js";import{$ as x,Z as k,t as j}from"./dnvllwrlbq.t69ggluk.js";import{C as _,D as q,E as z,I as V,M as P,T,i as D}from"./zglzdalzda.Dol7pjGD.js";import{p as E}from"./yxnzzx9ucw.BcEqxbj_.js";import{t as F}from"./dxrpbhrpbhm.SaSWgpIg.js";import{Gn as M,In as S,et as I,i as R,in as O,pt as Y}from"./sw1hz2jmywnl.BzsUItMa.js";import{r as C}from"./bmv0d2luzw.lr1vu2vX.js";import{r as L}from"./bmf2lxrlcw.p97MTl_w.js";import{t as U}from"./rwxmawxmaw5r.B-wlV0Wr.js";import{t as N}from"./dxnlqxnlqxbp.C2FSbK-a.js";import{t as K}from"./rwxmb2fkzxi.DhLhNaZz.js";import{t as B}from"./rwxcdxr0b24.BF3L9He_.js";import{n as G}from"./zmllbgjyb3jz.2Xz-CiFx.js";import{t as W}from"./yxv0ac11c2vy.DfPgz3tp.js";import{t as Q}from"./rwxjbnb1da.Dl2h2ENa.js";import{t as $}from"./rwxmaxh1bmt5.CGgAtMEu.js";import{t as A}from"./rwxjbw9hza.BXhjyzQ4.js";import{t as J}from"./sw5wdxfycw.7VPFHorA.js";import{t as X}from"./rwxsywdyb3vw.CuVgUgYg.js";import{t as Z}from"./r3jhcgjrbgvz.BXEzZg-f.js";import{l as H,u as ee}from"./y29uc39uc3q.CIB6J5mh.js";import{t as te}from"./uhjvzmrlcg.DHfbhVa_.js";import{n as ae}from"./u2fszxjmywnl.iDe5M4hf.js";import{t as re}from"./vwkuawjmywnl.BwEqkWI4.js";var oe=z({href:V(),routeName:V(),routeVars:z({order:V()}),completed:D(),enabled:D()}),le=z({key:V(),currency:_(V()),date:re,downloadLink:_(V()),invoiceExpired:_(D()),isReward:D(),invoiceLink:_(V()),nicePrice:_(V()),price:_(V()),testimonial:oe,title:V(),complementary:D(),image:R,quantity:T(),category:ae,materials:q(z({buttonTextEn:V(),linkLocal:_(V()),buttonTextLocal:_(V())}))}),ie=z({title:V(),text:V()}),se=z({productName:V(),completed:D(),orderKey:q(V()),maxPhotoSize:T(),rewards:q(P(V(),ie)),reward:q(le)}),ne=Y({endpoint:"api.profile.orders.testimonial.show",input:z({"{key}":V()}),output:se}),ue={busy:!1,done:!1,error:null},me=k("testimonial",()=>{const e=N(),t=N(),{trans_en:a}=S(),r=m(""),o=m(),l=f({fetch:{...ue},create:{...ue}}),{abort:i}=L(),{addErrorForField:s}=G();return{setOrderKey:function(e){r.value=e,l.fetch={...ue},l.create={...ue}},fetchOrder:async function(){return l.fetch.busy=!0,l.fetch.done=!1,l.fetch.error=null,r.value?(new e).action("fetch-testimonial-order").request({method:"GET",endpoint:ne,params:{"{key}":r.value}}).then(({data:e})=>{o.value=e,l.fetch.done=!0}).catch(e=>M(e,e=>{l.fetch.error=e,e.hideForFields("key")})).finally(()=>{l.fetch.busy=!1}):i()},createTestimonial:async function(e,n,u,m,d,c){if(!r.value)return i();if(!e)return s("name",a("Please enter your name.","errors.name.required"));if(!m)return s("comment",a("Please enter your comment.","errors.comment.required"));if(!u)return s("rating",a("Please rate this out of 5 stars.","errors.rating.required"));l.create.done=!1,l.create.error=null,l.create.busy=!0;const p=new FormData;return p.append("comment",m),p.append("name",e),p.append("occupation",n??""),p.append("rating",u.toString()),p.append("reward",c??""),d&&p.append("photo",d),(new t).action("create-testimonial-order").postRoute("api.profile.orders.testimonial.create",{key:r.value},p,{isFormData:!0,headers:{"Content-Type":"multipart/form-data"}}).then(({data:e})=>{o.value=e,o.value.completed=!0,l.create.done=!0}).catch(e=>M(e,t=>{l.create.error=t,t.hideForFields("name","comment","occupation","rating","photo","reward"),C(e)&&413===e.response?.status&&(s("photo",a("Please try a smaller photo (max {n}MB).","errors.photo.size",{n:o.value?.maxPhotoSize??0})),t.hideFromUser())})).finally(()=>{l.create.busy=!1})},orderData:o,states:l}}),de={class:"testimonial p-md centered-container-h container-padding tw-mb-40 medium:tw-mb-60 huge:tw-mb-80"},ce=["aria-label"],pe=["aria-label"],we=["aria-label"],fe={class:"p-tn tw-font-normal tw-text-gray-rgb-12 dark:tw-text-ds-text-gray"},he=["aria-label"],ye=a({__name:"ProfileTestimonialCreate",setup(e){const a=me(),{states:o,orderData:n}=x(a),{createTestimonial:c}=a,{trans_en:w}=S(),{name:f}=W(),y=m(f.value??""),v=m(""),k=m(""),j=m(),_=m(),q=m(),z=u(()=>Object.entries(n.value?.rewards??{}).map(([e,{title:t,text:a}])=>({value:e,label:t,note:a})));function V(){return c(y.value,k.value,j.value,v.value,_.value,q.value)}const P=u(()=>E(y.value)&&E(v.value)&&"number"==typeof j.value&&j.value>0&&!!q.value),T=u(()=>[w("Not helpful","ratings.helpful.options.1"),w("Slightly helpful","ratings.helpful.options.2"),w("Moderately helpful","ratings.helpful.options.3"),w("Quite helpful","ratings.helpful.options.4"),w("Very helpful","ratings.helpful.options.5")]
1);return(e,a)=>(l(),s("div",de,[i("form",{class:"tw-max-w-[860px]",enctype:"multipart/form-data",method:"post",onSubmit:h(V,["prevent"])},[b(Q,{modelValue:y.value,"onUpdate:modelValue":a[0]||(a[0]=e=>y.value=e),name:"name",required:"",maxlength:"255",class:"tw-max-w-[420px]"},{label:d(()=>[t(p(g(w)("Your name or alias","auth.name.change.label"))+" ",1),i("span",{class:r(g(O).blue),"aria-label":g(w)("Required","ui.required")},"*",10,ce)]),_:1},8,["modelValue"]),b(Q,{modelValue:k.value,"onUpdate:modelValue":a[1]||(a[1]=e=>k.value=e),class:"tw-max-w-[420px]",label:g(w)("Your job/occupation","testimonials.create.job.label"),maxlength:"255",name:"occupation"},null,8,["modelValue","label"]),b(J,{modelValue:j.value,"onUpdate:modelValue":a[2]||(a[2]=e=>j.value=e),required:"",name:"rating",labels:T.value},{label:d(()=>[t(p(g(w)("Your overall rating","testimonials.create.rating.label"))+" ",1),i("span",{class:r(g(O).blue),"aria-label":g(w)("Required","ui.required")},"*",10,pe)]),_:1},8,["modelValue","labels"]),b(Q,{modelValue:v.value,"onUpdate:modelValue":a[3]||(a[3]=e=>v.value=e),textarea:"lg",maxlength:"10000",name:"comment",required:""},{label:d(()=>[t(p(g(w)("Your comments","testimonials.create.comment.label"))+" ",1),i("span",{class:r(g(O).blue),"aria-label":g(w)("Required","ui.required")},"*",10,we)]),_:1},8,["modelValue"]),b(A,{modelValue:_.value,"onUpdate:modelValue":a[4]||(a[4]=e=>_.value=e),name:"photo",disabled:g(o).create.busy},{label:d(()=>[i("div",null,p(g(w)("Your photo","testimonials.create.photo.label")),1),i("div",fe,p(g(w)("Optional, but we would really appreciate it. Only your face will be shown on our site.","testimonials.create.photo.note")),1)]),_:1},8,["modelValue","disabled"]),b(X,{modelValue:q.value,"onUpdate:modelValue":a[5]||(a[5]=e=>q.value=e),options:z.value,"label-key":"label","value-key":"value",name:"reward",required:"","option-css":{label:"tw-flex-nowrap",tick:"tw-shrink-0",radioLabel:"tw-min-w-0"}},{label:d(()=>[t(p(g(w)("Choose a thank-you gift:","testimonials.create.gift.label"))+" ",1),i("span",{class:r(g(O).blue),"aria-label":g(w)("Required","ui.required")},"*",10,he)]),_:1},8,["modelValue","options"]),a[6]||(a[6]=i("hr",{class:"hr tw-mt-20 medium:tw-mt-40"},null,-1)),b(B,{class:"tw-mt-20 tw-w-full medium:tw-mt-30 medium:tw-w-auto",busy:g(o).create.busy,done:g(o).create.done,disabled:!P.value,"busy-text":g(w)("Sending…","auth.forgot.sending"),"done-text":g(w)("Sent!","auth.forgot.sent"),text:g(w)("Send","type-descriptions.ratings.feedback.save"),color:"action",next:"",size:"md",type:"submit"},null,8,["busy","done","disabled","busy-text","done-text","text"])],32)]))}}),be={class:"testimonials confirmation sp-wrap tw-my-40 tw-w-auto tw-text-center medium:tw-my-60 huge:tw-mx-auto huge:tw-my-80 huge:tw-max-w-[640px]"},ge={class:"tw-relative tw-mx-auto tw-mb-20 tw-w-[260px] medium:tw-w-[300px]"},ve=["src","alt"],xe={class:"font-caps tw-mb-5 tw-text-blue-darker-04 dark:tw-text-ds-link"},ke={class:"h3 tw-mb-10 tw-mt-0 medium:tw-mb-20 medium:tw-text-font-h1-medium medium:tw-leading-font-h1-medium medium:tw-tracking-font-h1-medium huge:tw-text-font-h1-huge huge:tw-leading-font-h1-huge huge:tw-tracking-font-h1-huge"},je={class:"p-lg"},_e={class:"action-row tw-mt-20 tw-flex tw-flex-col tw-flex-wrap tw-justify-center tw-gap-10 medium:tw-mt-30 medium:tw-flex-row"},qe={class:"p-tn tw-mt-20 tw-text-gray-rgb-12 dark:tw-text-ds-text-gray"},ze=a({__name:"ProfileTestimonialConfirmation",props:{previouslyCompleted:{type:Boolean,default:void 0}},setup(a){const{trans_en:r}=S(),{orderData:o}=x(me()),d=a,w=N(),f=m();e(()=>{h.value&&(new w).silently().action("fetch-mentor-usage").route("api.profile.ai.conversations.index").then(({data:e})=>f.value=e.usage).catch(M)});const h=u(()=>o.value?.reward?.category===H),k=u(()=>o.value?.reward?.category===ee),j=u(()=>o.value?.reward?.downloadLink);return(e,a)=>(l(),s("div",be,[i("div",ge,[i("img",{src:g(F)("images/academy/sentinels/resource.svg"),alt:g(r)("Support staff Sentinel icon with a speech bubble.","auth.onboarding.final.alt"),width:"60",height:"60",class:"icon--clipped tw-mx-auto tw-block tw-h-[110px] tw-w-[120px] tw-bg-gray-02 tw-px-30 tw-py-25"},null,8,ve),b(Z,{type:"star",class:"tw-absolute tw-top-0 tw-size-full"})]),i("p",xe,p(g(r)("Testimonial sent","testimonials.create.completed.badge")),1),i("h1",ke,p(g(r)("Thank y
1ou!","orders.confirmation.heading")),1),i("p",je,[d.previouslyCompleted?(l(),s(n,{key:0},[t(p(g(r)("It looks like you have already submitted a testimonial.","testimonials.create.already-submitted"))+" "+p(" "),1)],64)):v("",!0),h.value&&g(o)?.reward?.quantity?(l(),s(n,{key:1},[t(p(g(r)("{n} message has been added to your account.|{n} messages have been added to your account.","testimonials.create.completed.elina",{n:g(o).reward.quantity})),1)],64)):k.value?(l(),s(n,{key:2},[t(p(g(r)("Your Relationship Guide is ready.","testimonials.create.completed.relationship_guide")),1)],64)):v("",!0)]),i("div",_e,[h.value?(l(),y(B,{key:0,color:"action",width:"auto",class:"max-medium:tw-w-full","route-name":"profile.mentor.index",next:"",text:g(r)("Continue","ui.continue")},null,8,["text"])):j.value?(l(),y(B,{key:1,color:"action",width:"auto",class:"max-medium:tw-w-full",href:j.value,icon:"download",text:g(r)("Download","purchases.section.orders.download")},null,8,["href","text"])):(l(),s(n,{key:2},[b(B,{color:"action",width:"fixed",class:"max-medium:tw-w-full","route-name":"profile.index",text:g(r)("Your Profile","menu.profile")},null,8,["text"]),b(B,{color:"white",width:"fixed",class:"max-medium:tw-w-full","route-name":"profile.order-history",text:g(r)("Purchases","menu.purchases")},null,8,["text"])],64))]),i("p",qe,[h.value&&f.value?(l(),s(n,{key:0},[t(p(g(r)("Your current balance:","ui.current-balance"))+" ",1),b(I,{data:["{n} Elina message|{n} Elina messages","ui.n-messages",{n:f.value.remaining,nDisplay:()=>c("b",{class:"tw-font-semibold tw-text-gray-20 dark:tw-text-ds-text"},`${f.value?.remaining??0}`)}]},null,8,["data"])],64)):k.value?(l(),y(I,{key:1,data:["You can also access this anytime from your <a:0>Profile</a:0> page under Relationships.","testimonials.create.completed.relationship_guide.access",{"a:0":e=>c(U,{routeName:"profile.index",class:"link--inline"},()=>e)}]},null,8,["data"])):v("",!0)])]))}}),Ve={class:"header__lead tw-max-w-[860px]"},Pe={class:"p-lg tw-mb-10 medium:tw-mb-20"},Te=a({__name:"ProfilePageTestimonial",setup(e){const t=j("order","",{transform:String}),a=me(),{fetchOrder:r}=a,{orderData:m,states:f}=x(a),{trans_en:h}=S(),v=u(()=>[c(I,{data:["This form is specifically for sharing experiences with our materials. For questions about your order, refund requests, or technical support, please email <a:0>[email protected]</a:0>.","testimonials.create.note",{"a:0":e=>c(U,{href:"mailto:[email protected]",class:"link--inline"},()=>e)}]}),h("We may publish your testimonial on our website, e.g. in the {product} page. If you’d rather keep it private, please mention that in the feedback field. Thank you very much for sharing your thoughts!","testimonials.create.intro",{product:m.value?.productName??""})]);return w(()=>g(t),e=>{e&&(a.setOrderKey(e),o(a.fetchOrder))},{immediate:!0}),(e,t)=>(l(),s("div",null,[g(f).fetch.done&&g(m)?g(f).create.done||g(m).completed?(l(),y(ze,{key:1,"previously-completed":!g(f).create.done&&g(m).completed},null,8,["previously-completed"])):(l(),s(n,{key:2},[b(te,{title:g(h)("Leave a Testimonial","testimonials.create.title"),"back-route":"profile.order-history",css:{headerTitle:"h3 tw-my-10 medium:tw-my-20 huge:tw-mt-40 medium:tw-text-font-h1-medium medium:tw-leading-font-h1-medium medium:tw-tracking-font-h1-medium huge:tw-text-font-h1-huge huge:tw-leading-font-h1-huge huge:tw-tracking-font-h1-huge"}},{after:d(()=>[i("div",Ve,[i("p",Pe,p(g(h)("Share your feedback (positive or constructive) and choose a thank-you gift – we’d really appreciate it!","testimonials.create.subtitle-gift")),1),b($,{size:"sm",class:"p-sm tw-mb-20 medium:tw-mb-40",items:v.value},null,8,["items"])])]),_:1},8,["title"]),b(ye)],64)):(l(),y(K,{key:0,loading:g(f).fetch.busy,loaded:g(f).fetch.done,error:g(f).fetch.error,onRetry:g(r)},null,8,["loading","loaded","error","onRetry"]))]))}});export{Te 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.