1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2401,4782,6916],{66916:(e,t,a)=>{a.d(t,{st:()=>o}),a(19749);var l=a(12115),r=a(39200),n=a(14128),i=a(54744);function o(){let{user:e,userData:t,isAnonymous:a}=(0,n.A)(),o=(0,r.usePathname)(),s=(0,l.useRef)(!1);(0,l.useEffect)(()=>{if(e||!s.current){var l,r;i.E6.setUserContext({userId:null!=(l=null==e?void 0:e.uid)?l:null,isPremium:null!=(r=null==t?void 0:t.isPremium)&&r,isAnonymous:a}),s.current=!0}},[e,null==t?void 0:t.isPremium,a]);let c=(0,l.useCallback)((e,t)=>{i.E6.track(e,t)},[]),d=(0,l.useCallback)((e,t)=>{let a={...null==t?void 0:t.additionalParams,page_path:null!=o?o:"",referrer:null==t?void 0:t.referrer};i.E6.page(e,a),i.E6.track("page_view",{page_name:e,page_path:null!=o?o:"",referrer:null==t?void 0:t.referrer})},[o]);return{track:c,trackPageView:d,identify:(0,l.useCallback)(t=>{(null==e?void 0:e.uid)&&i.E6.identify(e.uid,t)},[null==e?void 0:e.uid]),reset:(0,l.useCallback)(()=>{i.E6.reset(),s.current=!1},[]),isEnabled:i.E6.isEnabled()}}},74235:(e,t,a)=>{a.d(t,{zk:()=>r,up:()=>o,td:()=>i,SJ:()=>g,V3:()=>b,LV:()=>d,CI:()=>u});var l=a(45515);let r={closeIcon:"https://dream-mate.b-cdn.net/dreammate-web-assets/icons/paywall-modal-close-icon.svg",premiumUpgradeIcon:"https://dream-mate.b-cdn.net/dreammate-web-assets/icons/premium-upgrade-icon.svg",defaultCharacterImage:"https://dream-mate.b-cdn.net/dreammate-web-assets/paywall-left-image.png",backgroundImage:"/paywall-modal-bg.png"},n=[{emoji:"âï¸",translationKey:"paywall.unlimitedPremiumAccess"},{emoji:"\uD83D\uDCF8",translationKey:"paywall.receiveSnapshots"},{emoji:"\uD83E\uDD0D",translationKey:"paywall.unlimitedMessages"},{emoji:"\uD83D\uDE08",translationKey:"paywall.unfilteredChat"},{emoji:"\uD83D\uDCB8",translationKey:"paywall.dailyCoinRewards"},{emoji:"\uD83C\uDFAD",translationKey:"paywall.exclusiveRolePlay"},{emoji:"\uD83D\uDC46",translationKey:"paywall.interactiveStories"}],i={primary:"linear-gradient(270deg, rgba(46, 135, 186, 1) 0%, rgba(80, 58, 200, 1) 100%)",titleText:"linear-gradient(90deg, rgba(46, 135, 186, 1) 0%, rgba(125, 102, 249, 1) 100%)",imageBorder:"linear-gradient(#191818, #191818) padding-box, linear-gradient(90deg, rgba(46, 135, 186, 1) 0%, rgba(80, 58, 200, 1) 100%) border-box",mobileImageOverlay:"linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(25, 24, 24, 1) 100%)"},o={background:"#191818",overlay:"rgba(0, 0, 0, 0.8)",border:"#363636",text:"#FFFFFF",textMuted:"#999999"};l.Mu.modal;var s=a(19749),c=a(71197);function d(){let e,t=(0,s.c)(2),a=(0,c.Bd)();return t[0]!==a?(e=n.map(e=>{let{emoji:t,translationKey:l}=e;return{emoji:t,text:a(l)}}),t[0]=a,t[1]=e):e=t[1],e}var m=a(66916);function u(e){let t,a,l=(0,s.c)(5),{track:r}=(0,m.st)();l[0]!==e||l[1]!==r?(t=()=>{r("paywall_interaction",{action:"checkout_started",product_id:"annual",source:"paywall_modal"}),e(),window.location.href="/paywall"},l[0]=e,l[1]=r,l[2]=t):t=l[2];let n=t;return l[3]!==n?(a={handlePurchase:n},l[3]=n,l[4]=a):a=l[4],a}var p=a(95155);let x={container:{gap:"12px"},emoji:{fontSize:"16px",lineHeight:"1.21"},text:{fontFamily:"Inter",fontWeight:500,fontSize:"14px",lineHeight:"1.21",color:"#FFFFFF"}},h={container:{gap:"clamp(6px, 1.5vh, 10px)"},emoji:{fontSize:"clamp(14px, 3.5vw, 16px)",lineHeight:"1.21",flexShrink:0},text:{fontFamily:"Inter",fontWeight:500,fontSize:"clamp(12px, 3vw, 14px)",lineHeight:"1.21",color:"#FFFFFF"}};function g(e){let t,a,l=(0,s.c)(10),{features:r,variant:n}=e,i="desktop"===n?x:h,o=i.container;if(l[0]!==r||l[1]!==i.emoji||l[2]!==i.text){let e;l[4]!==i.emoji||l[5]!==i.text?(e=(e,t)=>(0,p.jsxs)("div",{className:"flex items-center",style:{gap:"8px"},children:[(0,p.jsx)("span",{style:i.emoji,children:e.emoji}),(0,p.jsx)("span",{style:i.text,children:e.text})]},t),l[4]=i.emoji,l[5]=i.text,l[6]=e):e=l[6],t=r.map(e),l[0]=r,l[1]=i.emoji,l[2]=i.text,l[3]=t}else t=l[3];return l[7]!==i.container||l[8]!==t?(a=(0,p.jsx)("div",{className:"flex flex-col",style:o,children:t}),l[7]=i.container,l[8]=t,l[9]=a):a=l[9],a}var f=a(88907),y=a(43578);function b(e){let t,a,l=(0,s.c)(5),{onClick:n,label:i,variant:o}=e,c="font-semibold ".concat("desktop"===o?"mt-auto w-[284px] h-[52px] min-h-[52px] text-base":"flex-shrink-0 mx-auto mt-3 lg:mt-4 mb-4 lg:mb-6 w-[min(228px,100%)] h-[clamp(40px,8vh,44px)] min-h-[40px] text-[clamp(13px,3vw,14px)]");return l[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,p.jsx)(f.default,{src:r.premiumUpgradeIcon,alt:"Premium",width:20,height:16}),l[0]=t):t=l[0],l[1]!==i||l[2]!==n||l[3]!==c?(a=(0,p.jsxs)(y.$,{variant:"premium",onClick:n,className:c,children:[t,i]}),l[1]=i,l[2]=n,l[3]=c,l[4]=a):a=l[4],a}},77310:(e,t,a)=>{a.d(t,{PaywallProvider:()=>s,k:()=>c});var l=a(95155),r=a(12115),n=a(39200),i=a(54744);let o=(0,r.createContext)(void 0);function s(e){let{children:t}=e,[a,s]=(0,r.useState)(!1),c=(0,r.useRef)("unknown"),d=(0,n.usePathname)(),m=(0,r.useRef)(d);(0,r.useEffect)(()=>{m.current=d},[d]);let u=(0,r.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown";c.current=e,s(!0),i.E6.track("paywall_view",{source:e})},[]),p=(0,r.useCallback)(()=>{s(!1)},[]),x=(0,r.useMemo)(()=>({isPaywallOpen:a,openPaywall:u,closePaywall:p,currentTrigger:c.current}),[a,u,p]);return(0,l.jsx)(o.Provider,{value:x,children:t})}function c(){let e=(0,r.useContext)(o);if(void 0===e)throw Error("usePaywall must be used within a PaywallProvider");return e}},79544:(e,t,a)=>{a.r(t),a.d(t,{default:()=>u});var l=a(95155),r=a(19749),n=a(88907),i=a(2841),o=a(77310),s=a(66916),c=a(71197),d=a(74235),m=a(87822);function u(e){let t,a,u,p,x,h,g,f,y,b,v,w,k,j,_,C,F,S,P,I,E,z,B,N,H,K,R,W,M,T,A=(0,r.c)(62),{isOpen:V,onClose:L,characterImage:U,coinAmount:J}=e,O=(0,c.Bd)(),G=(0,d.LV)(),{handlePurchase:$}=(0,d.CI)(L),{currentTrigger:q}=(0,o.k)(),{track:D}=(0,s.st)();A[0]!==q||A[1]!==L||A[2]!==D?(t=()=>{D("paywall_screen_closed",{source:q,action:"closed"}),L()},A[0]=q,A[1]=L,A[2]=D,A[3]=t):t=A[3];let Q=t;A[4]!==Q?(a=e=>!e&&Q(),A[4]=Q,A[5]=a):a=A[5],A[6]!==O?(u=O("paywall.modal.title"),A[6]=O,A[7]=u):u=A[7],A[8]!==u?(p=(0,l.jsx)(i.s6,{children:(0,l.jsx)(m.L3,{children:u})}),A[8]=u,A[9]=p):p=A[9],A[10]===Symbol.for("react.memo_cache_sentinel")?(x={top:"12px",right:"12px",width:"24px",height:"24px"},h=(0,l.jsx)(n.default,{src:d.zk.closeIcon,alt:"Close",width:24,height:24}),A[10]=x,A[11]=h):(x=A[10],h=A[11]),A[12]!==Q?(g=(0,l.jsx)("button",{onClick:Q,className:"absolute hover:opacity-80 transition-opacity z-10",style:x,children:h}),A[12]=Q,A[13]=g):g=A[13],A[14]===Symbol.for("react.memo_cache_sentinel")?(f={gap:"14px"},A[14]=f):f=A[14],A[15]===Symbol.for("react.memo_cache_sentinel")?(y={width:"348px",height:"480px",borderRadius:"8px",border:"2px s
1olid transparent",background:d.td.imageBorder,overflow:"hidden"},A[15]=y):y=A[15];let X=U||d.zk.defaultCharacterImage;return A[16]===Symbol.for("react.memo_cache_sentinel")?(b={objectFit:"cover"},A[16]=b):b=A[16],A[17]!==X?(v=(0,l.jsx)("div",{className:"relative",style:y,children:(0,l.jsx)(n.default,{src:X,alt:"Premium",fill:!0,style:b})}),A[17]=X,A[18]=v):v=A[18],A[19]===Symbol.for("react.memo_cache_sentinel")?(w={width:"348px",height:"480px",background:d.up.background,borderRadius:"8px",padding:"32px"},k={fontFamily:"Inter",fontWeight:400,fontSize:"24px",lineHeight:"1.17",letterSpacing:"0.01em",color:d.up.text,marginBottom:"5px"},A[19]=w,A[20]=k):(w=A[19],k=A[20]),A[21]!==O?(j=O("paywall.modal.title"),A[21]=O,A[22]=j):j=A[22],A[23]!==j?(_=(0,l.jsx)("h2",{style:k,children:j}),A[23]=j,A[24]=_):_=A[24],A[25]===Symbol.for("react.memo_cache_sentinel")?(C={fontFamily:"Inter",fontWeight:600,fontSize:"24px",lineHeight:"1.17",background:d.td.titleText,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",marginBottom:"38px"},A[25]=C):C=A[25],A[26]!==O?(F=O("paywall.modal.subtitle"),A[26]=O,A[27]=F):F=A[27],A[28]!==F?(S=(0,l.jsx)("h3",{style:C,children:F}),A[28]=F,A[29]=S):S=A[29],A[30]===Symbol.for("react.memo_cache_sentinel")?(P={marginBottom:"42px"},I={fontFamily:"Inter",fontWeight:400,fontSize:"12px",lineHeight:"1.21",color:d.up.textMuted,marginBottom:"17px"},A[30]=P,A[31]=I):(P=A[30],I=A[31]),A[32]!==O?(E=O("paywall.modal.description"),A[32]=O,A[33]=E):E=A[33],A[34]!==E?(z=(0,l.jsx)("p",{style:I,children:E}),A[34]=E,A[35]=z):z=A[35],A[36]!==G?(B=(0,l.jsx)(d.SJ,{features:G,variant:"desktop"}),A[36]=G,A[37]=B):B=A[37],A[38]!==z||A[39]!==B?(N=(0,l.jsxs)("div",{style:P,children:[z,B]}),A[38]=z,A[39]=B,A[40]=N):N=A[40],A[41]!==O?(H=O("paywall.modal.upgradeToPremium"),A[41]=O,A[42]=H):H=A[42],A[43]!==$||A[44]!==H?(K=(0,l.jsx)(d.V3,{onClick:$,label:H,variant:"desktop"}),A[43]=$,A[44]=H,A[45]=K):K=A[45],A[46]!==_||A[47]!==S||A[48]!==N||A[49]!==K?(R=(0,l.jsxs)("div",{className:"relative flex flex-col",style:w,children:[_,S,N,K]}),A[46]=_,A[47]=S,A[48]=N,A[49]=K,A[50]=R):R=A[50],A[51]!==v||A[52]!==R?(W=(0,l.jsxs)("div",{className:"flex items-center",style:f,children:[v,R]}),A[51]=v,A[52]=R,A[53]=W):W=A[53],A[54]!==W||A[55]!==p||A[56]!==g?(M=(0,l.jsxs)(m.Cf,{hideCloseButton:!0,className:"overflow-hidden rounded-xl max-w-3xl",children:[p,g,W]}),A[54]=W,A[55]=p,A[56]=g,A[57]=M):M=A[57],A[58]!==V||A[59]!==a||A[60]!==M?(T=(0,l.jsx)(m.lG,{open:V,onOpenChange:a,children:M}),A[58]=V,A[59]=a,A[60]=M,A[61]=T):T=A[61],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.