PageSourceSearch

https://slutbot.ai/_next/static/chunks/9192-f733ab0a008e99f2.js

js slutbot.ai collected 2026-10-05 15:05:20 UTC 8,396 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9192],{201:(t,e,r)=>{r.d(e,{N$:()=>n,Zh:()=>c,WF:()=>s,QC:()=>i,l2:()=>m,cQ:()=>l,Vy:()=>u});var o=r(5625);let a="slutbot-user-profile",n="slutbot:auth-changed";function i(t){let e=t.name?.trim();if(e)return e;let r=t.email?.trim();return!r||String(r||"").trim().toLowerCase().endsWith("@telegram.aislutbot.local")?"Account":r.split("@")[0]?.trim()||"Account"}function l(t){let e=i(t).charAt(0).toUpperCase();return/[A-Z0-9]/i.test(e)?e:"?"}function c(t){localStorage.setItem(a,JSON.stringify(t)),window.dispatchEvent(new CustomEvent(n))}function u(){try{let t=localStorage.getItem(a);if(!t)return null;let e=JSON.parse(t);if(!e?.email)return null;return{name:e.name||"",email:e.email,avatarUrl:e.avatarUrl||""}}catch{return null}}function s(){localStorage.removeItem(a),window.dispatchEvent(new CustomEvent(n))}async function m(){let t=(0,o.Sd)();if(!(0,o.kq)())return null;try{let e=await fetch("/api/auth/me",{credentials:"include"});if(t!==(0,o.Sd)()||!(0,o.kq)()||!e.ok)return null;let r=await e.json();if(t!==(0,o.Sd)()||!(0,o.kq)()||!r.email)return null;let a={name:r.name||"",email:r.email,avatarUrl:r.avatarUrl||""};return c(a),{...a,isAdmin:!!r.isAdmin}}catch{return u()}}},1790:(t,e,r)=>{r.d(e,{AQ:()=>l,FO:()=>c,AA:()=>i,sv:()=>n,EL:()=>u,TF:()=>s,D3:()=>m,vi:()=>o,W6:()=>a,A6:()=>b,oH:()=>S,Kd:()=>f,Sp:()=>d,PU:()=>h,Pu:()=>v,u7:()=>g}),r(1463);let o="aislutbot.com",a=`https://${o}`,n="/ai-porn-generator",i="/explore",l="/account",c="/archive",u="[email protected]",s="[email protected]",m="[email protected]";function d(t){return`${n}/${t}`}function f(t,e){let r=new URLSearchParams({mode:t}),o=e?.trim();return o&&r.set("sample",o),`${n}?${r.toString()}`}function g(t){return!t||!t.startsWith("/")||t.startsWith("//")||t.includes("\\")?"/":t}function h(t){return`/login?redirect=${encodeURIComponent(g(t))}`}function S(t){let e=new URLSearchParams({plan:t?.plan?.trim()||"flirt"});e.set("method","stars");let r=t?.reason?.trim();return r&&e.set("reason",r.slice(0,40)),`/checkout?${e.toString()}`}let p=["/checkout","/account","/admin","/archive"];function v(t,e){let r,o=g(t);if(r=o.split("?")[0]||"/",p.some(t=>r===t||r.startsWith(`${t}/`)))return o;let a="number"==typeof e?.desires&&e.desires<=0;return e?.isNew||a?S({plan:"flirt",reason:e?.isNew?"new_account":"low_balance"}):o}function b(t){let e=(t||"").trim();return e?"unlock_preview"===e?"Pay for a pack to unlock your video. Stars land on your account right after payment.":"low_balance"===e||/available|required|more .+coins/i.test(e)?"You’re out of Stars for this generation. Pick a pack below — Stars land on your account right after payment.":"sign_in"===e?"Sign in, then choose a pack. Stars are added to your account after payment.":"new_account"===e?"Your account is ready. Pick a pack — Stars land right after payment, then you can generate.":e.length<=80&&!/\d+\s+available/i.test(e)?e:"Pick a pack below to add Stars and keep generating.":null}},5625:(t,e,r)=>{r.d(e,{JR:()=>h,Ns:()=>c,Qt:()=>f,Sd:()=>m,Tb:()=>g,WW:()=>d,kq:()=>S,lR:()=>p});var o=r(201),a=r(9011),n=r(6296);let i="token",l="slutbot-user-client-id",c="slutbot-signed-in",u="slutbot-block-session-restore",s=0;function m(){return s}function d(t){(0,a.rn)(),sessionStorage.removeItem(u),localStorage.setItem(c,"1"),localStorage.setItem(l,t.clientId),localStorage.removeItem(i)}function f(){localStorage.removeItem(i),localStorage.removeItem(c),localStorage.removeItem(l),(0,o.WF)()}function g(){return"1"===sessionStorage.getItem(u)}async function h(){s+=1,sessionStorage.setItem(u,"1");try{await fetch("/api/auth/logout",{method:"POST",credentials:"include"})}catch{}f(),(0,a.rn)(),localStorage.removeItem("slutbot-desires"),localStorage.removeItem("slutbot-desires-server"),localStorage.removeItem("slutbot-trial-credits"),window.dispatchEvent(new CustomEvent("slutbot:desires-updated")),(0,n.Sy)()}function S(){return"1"===localStorage.getItem(c)}function p(){return S()?"cookie":null}},6296:(t,e,r)=>{function o(){return window.posthog}function a(t,e){try{o()?.capture(t,e)}catch{}}function n(t,e){try{let r=o();if(!r)return;if("function"==typeof r.captureException)return void r.captureException(t,e);r.capture("$exception",{...e,message:t instanceof Error?t.message:String(t)})}catch{}}function i(t,e){try{o()?.identify(t,e)}catch{}}function l(){try{o()?.reset()}catch{}}r.d(e,{O4:()=>i,Sy:()=>l,Tl:()=>a,kr:()=>n})},9011:(t,e,r)=>{r.d(e,{QL:()=>f,_w:()=>m,pF:()=>d,rn:()=>c});var o=r(201);let a="slutbot-collection",n="slutbot-collection:";function i(){let t=(0,o.Vy)()?.email?.trim().toLowerCase();return t?`${n}${t}`:null}function l(){try{localStorage.removeItem(a)}catch{}}function c(){l();try{let t=[];for(let e=0;e<localStorage.length;e+=1){let r=localStorage.key(e);
1r&&(r===a||r.startsWith(n))&&t.push(r)}t.forEach(t=>localStorage.removeItem(t))}catch{}}function u(){l();let t=i();if(!t)return[];try{let e=localStorage.getItem(t);if(!e)return[];let r=JSON.parse(e);return Array.isArray(r)?r:[]}catch{return[]}}function s(t){l();let e=i();e&&localStorage.setItem(e,JSON.stringify(t.slice(0,100)))}function m(t){let e=u().filter(e=>e.id!==t.id&&e.outputUrl!==t.outputUrl);s([t,...e])}function d(t,e){s(u().filter(r=>r.id!==t&&(!e||r.outputUrl!==e)))}async function f(t,e){try{let r=await fetch(t,{credentials:"include"}),o=await r.blob(),a=URL.createObjectURL(o),n=document.createElement("a");n.href=a,n.download=e,n.click(),URL.revokeObjectURL(a)}catch{window.open(t,"_blank","noopener,noreferrer")}}},9192:(t,e,r)=>{r.d(e,{Ed:()=>m,BB:()=>s,ap:()=>a,NL:()=>d,O:()=>b,c4:()=>I,et:()=>g,UC:()=>n,WM:()=>S,g8:()=>w,Sb:()=>y,U3:()=>k,Cr:()=>p,Z1:()=>v,xh:()=>f,Ol:()=>h,M8:()=>M});var o=r(5625);let a={image:8,videoBasic:16,videoBetter:16,videoBetter720:24,videoBetter1080:32};function n(t,e="current",r="480p",o=5){let i;return"image"===t?a.image:Math.max(1,Math.round(("cheap"===e?a.videoBasic:"1080p"===r?a.videoBetter1080:"720p"===r?a.videoBetter720:a.videoBetter)*(Number.isFinite(i=Math.round(Number(o)))?Math.min(8,Math.max(5,i)):5)/5))}var i=r(1790);let l="slutbot-desires",c="slutbot-trial-credits",u="slutbot-user-client-id",s="slutbot:desires-updated",m="Stars",d=5;function f(t){return{durationSec:t?d:null,qualityLabel:t?"480p":null,cost:t?a.videoBetter:a.image}}function g(){let t=localStorage.getItem(l),e=t?Number(t):0;return Number.isFinite(e)&&e>=0?e:0}function h(t){localStorage.setItem(l,String(Math.max(0,Math.round(t)))),window.dispatchEvent(new CustomEvent(s))}function S(){let t,e;return Math.max(0,g()-(Number.isFinite(e=(t=localStorage.getItem(c))?Number(t):0)&&e>=0?e:0))}function p(t,e=t){let r=Math.max(0,Math.floor(e));return{images:Math.floor(Math.max(0,Math.floor(t))/a.image),videos:Math.floor(r/a.videoBetter)}}function v(t,e=t){let{images:r,videos:o}=p(t,e),a=1===r?"image":"images",n=1===o?"video":"videos";return o<=0?`${r.toLocaleString("en-US")} ${a}`:r<=0?`${o.toLocaleString("en-US")} ${n}`:`${r.toLocaleString("en-US")} ${a} or ${o.toLocaleString("en-US")} ${n}`}function b(t){var e;return(e=t)>=1e6?"∞":e>=1e4?`${Math.round(e/1e3)}K`:e>=1e3?`${(e/1e3).toFixed(1).replace(/\.0$/,"")}K`:String(e)}function y(t){window.location.assign((0,i.oH)({plan:"flirt",reason:t}))}function w(t,e){y("low_balance")}function I(){return(0,o.lR)()}async function k(t){if(!I())return 0!==g()&&h(0),localStorage.removeItem("slutbot-desires-server"),localStorage.removeItem(c),0;try{let t=await fetch("/api/wallet",{credentials:"include"});if(401===t.status)return h(0),localStorage.removeItem("slutbot-desires-server"),localStorage.removeItem(c),0;let e=await t.json();localStorage.setItem(c,String(Math.max(0,Math.round(0))));let r=Number(e.desires);Number.isFinite(r)&&r>=0&&(h(r),localStorage.setItem("slutbot-desires-server",String(r))),e.clientId&&!localStorage.getItem(u)&&localStorage.setItem(u,e.clientId)}catch{}return g()}async function M(t){return k(t)}[{id:"basic",label:"Basic",hint:"5s \xb7 faster",cost:a.videoBasic,videoModel:"cheap",quality:"480p"},{id:"better",label:"480",hint:"Normal quality",cost:a.videoBetter,videoModel:"current",quality:"480p"},{id:"better720",label:"720",hint:"High quality",cost:a.videoBetter720,videoModel:"current",quality:"720p"},{id:"better1080",label:"1080",hint:"Ultra high quality",cost:a.videoBetter1080,videoModel:"current",quality:"1080p"}].filter(t=>"basic"!==t.id)}}]);

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.