1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3618],{2831:(t,e,n)=>{"use strict";n.r(e),n.d(e,{OWNED_RESULTS_STORAGE_KEY:()=>p,__N_SSP:()=>u,default:()=>h});var a=n(7876),s=n(7328),o=n.n(s),c=n(4232),i=n(3633),r=n(5783),l=n(269),m=n(5221);let d=n(5364).env.NEXT_PUBLIC_SITE_URL||"https://www.attachedapp.com";var u=!0;let p="attachmentQuiz.ownedResults.v1";function h(t){var e;let{id:n,stored:s,locale:u}=t,[h,x]=(0,c.useState)(!1);(0,c.useEffect)(()=>{try{let t=window.localStorage.getItem(p),e=t?JSON.parse(t):[];x(Array.isArray(e)&&e.includes(n))}catch(t){x(!1)}},[n]);let y=(0,m.iz)(u)[s.style],_={style:s.style,scores:s.scores,title:y.title,summary:y.summary,description:y.description,advice:y.advice},w=(null==(e=s.name)?void 0:e.trim())||"",j=w?"".concat(w,"âs attachment style is ").concat(y.title," â whatâs yours?"):"My attachment style is ".concat(y.title," â whatâs yours?"),g="Take the free 5-minute attachment style quiz, based on the ECR-R research scale, and see where you land.",E="".concat(d,"/api/og/quiz-result?style=").concat(encodeURIComponent(s.style),"&a=").concat(s.scores.anxiety.toFixed(2),"&v=").concat(s.scores.avoidance.toFixed(2)).concat(w?"&name=".concat(encodeURIComponent(w)):"");return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.A,{heroId:"quiz-result-hero"}),(0,a.jsx)("div",{id:"quiz-result-hero"}),(0,a.jsxs)(o(),{children:[(0,a.jsx)("title",{children:"".concat(y.title," Attachment Style Result | Attached")}),(0,a.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),(0,a.jsx)("meta",{name:"description",content:g}),(0,a.jsx)("meta",{property:"og:type",content:"website"},"og:type"),(0,a.jsx)("meta",{property:"og:title",content:j},"og:title"),(0,a.jsx)("meta",{property:"og:description",content:g},"og:description"),(0,a.jsx)("meta",{property:"og:image",content:E},"og:image"),(0,a.jsx)("meta",{property:"og:site_name",content:"Attached"},"og:site_name"),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{name:"twitter:title",content:j}),(0,a.jsx)("meta",{name:"twitter:description",content:g}),(0,a.jsx)("meta",{name:"twitter:image",content:E})]}),(0,a.jsx)("main",{className:"container mx-auto px-4 pt-24 pb-12",children:(0,a.jsx)("div",{className:"max-w-xl mx-auto",children:(0,a.jsx)(l.A,{result:_,resultId:n,isOwner:h,ownerName:w||null})})}),(0,a.jsx)(r.A,{})]})}},7740:(t,e,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/attachment-style-quiz/r/[id]",function(){return n(2831)}])}},t=>{t.O(0,[7141,8230,5295,9173,6647,3163,3633,3334,5909,636,6593,8792],()=>t(t.s=7740)),_N_E=t.O()}]);
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.