PageSourceSearch

https://storybookrpg.com/_next/static/chunks/2107-eb23bcede45bfc8d.js

js storybookrpg.com collected 2026-10-09 22:59:13 UTC 10,559 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2107],{10166:(e,t,r)=>{r.d(t,{Z4:()=>a,_D:()=>d,bs:()=>n,df:()=>s,tj:()=>l,tw:()=>o});let o="btn-bronze inline-flex min-h-10 items-center justify-center gap-2 whitespace-nowrap rounded-full px-6 py-2.5 text-[14px] font-semibold leading-5 disabled:cursor-not-allowed disabled:opacity-50",a="btn-bronze inline-flex min-h-9 items-center justify-center gap-1.5 whitespace-nowrap rounded-full px-4 py-2 text-[13px] font-semibold disabled:cursor-not-allowed disabled:opacity-50",n="inline-flex min-h-10 items-center justify-center gap-2 whitespace-nowrap rounded-full border border-white/[0.14] bg-[#171718] px-5 py-2.5 text-[13.5px] font-medium leading-5 text-[#eeebe4] shadow-[0_3px_10px_rgba(0,0,0,0.24)] transition-colors hover:border-gold/35 hover:bg-[#202022] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gold/45 disabled:cursor-not-allowed disabled:opacity-50",s="inline-flex min-h-10 items-center justify-center gap-2 whitespace-nowrap rounded-full border border-edge-soft bg-surface-control px-5 py-2.5 text-[13.5px] font-medium leading-5 text-parchment shadow-[0_3px_10px_rgba(0,0,0,0.28)] transition-colors hover:border-gold/35 hover:bg-[#222123] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gold/45 disabled:cursor-not-allowed disabled:opacity-50",i="inline-flex h-8 items-center justify-center gap-2 whitespace-nowrap rounded-full px-3.5 text-[12.5px] font-semibold disabled:cursor-not-allowed disabled:opacity-50",l="".concat(i," border border-edge-soft bg-[#1e1e21] text-parchment transition-colors hover:bg-[#26262a] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gold/45"),d="btn-bronze ".concat(i)},10986:(e,t,r)=>{r.d(t,{a:()=>n});var o=r(21985),a=r(10557);function n(){let e=(0,o.$)(),t=(0,a.s)(),r=(0,a.l)(),n="authenticated"===e.status,s="initializing"===e.status||"transitioning"===e.status||n&&(t.isPending||r.isPending);return{user:n&&t.data||null,permissions:n&&!r.isError&&r.data||[],loading:s,isAuthenticated:n}}},13209:(e,t,r)=>{r.d(t,{d:()=>i,f:()=>s});var o=r(95155),a=r(73718),n=r(98902);function s(e){let{children:t}=e;return(0,o.jsxs)("div",{className:"flex min-h-screen flex-col bg-ink font-ui text-parchment",children:[(0,o.jsx)(a.A,{}),(0,o.jsx)("main",{id:"main-content",className:"w-full flex-1 pb-16",children:t}),(0,o.jsx)(n.A,{})]})}function i(e){let{className:t=""}=e;return(0,o.jsxs)("div",{"aria-hidden":"true",className:"flex items-center gap-3 ".concat(t),children:[(0,o.jsx)("span",{className:"h-px flex-1 bg-gold/35"}),(0,o.jsx)("span",{className:"text-[11px] leading-none text-gold",children:"✦"}),(0,o.jsx)("span",{className:"h-px flex-1 bg-gold/35"})]})}},15002:(e,t,r)=>{function o(e){return e?new Date(e).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"}):""}function a(e){var t;let r=null!=(t=null==e?void 0:e.trim().split(/\s+/).filter(Boolean).length)?t:0;return"".concat(Math.max(1,Math.ceil(r/200))," min read")}function n(e){return e.published_at||e.updated_at||e.created_at}r.d(t,{_n:()=>o,ou:()=>a,p4:()=>n})},44097:(e,t,r)=>{r.d(t,{Ay:()=>l,In:()=>i,RH:()=>n,uK:()=>s});var o=r(95155),a=r(12115);let n="sb-ambient-motion",s="sb-ambient-motion-change",i=()=>"off"!==localStorage.getItem(n);function l(){let[e,t]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=()=>t(i()&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches);return e(),window.addEventListener(s,e),()=>window.removeEventListener(s,e)},[]),(0,o.jsxs)("div",{className:"pointer-events-none fixed inset-0 -z-10 bg-ink-community","aria-hidden":"true",children:[(0,o.jsx)("img",{src:"/images/redesign/boards/boards-bg.png",alt:"",className:"absolute inset-0 h-full w-full object-cover"}),e&&(0,o.jsx)("video",{className:"absolute inset-0 h-full w-full object-cover",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:"/images/redesign/boards/boards-bg-ambient-loop-smooth.mp4"}),(0,o.jsx)("div",{className:"absolute inset-0 bg-[linear-gradient(180deg,rgba(10,10,12,0.35)_0%,rgba(10,10,12,0.12)_30%,rgba(10,10,12,0.4)_100%)]"})]})}},84523:(e,t,r)=>{r.d(t,{Ap:()=>b,ER:()=>x,GE:()=>l,Lk:()=>i,NA:()=>u,NZ:()=>c,Sq:()=>m,TN:()=>d,f5:()=>p,sT:()=>h,tw:()=>s.tw});
1var o=r(95155),a=r(73718),n=r(98902),s=r(10166);let i="rounded-[14px] border border-white/[0.07] bg-surface-panel",l="inline-flex min-h-9 items-center justify-center gap-1.5 whitespace-nowrap rounded-full border border-white/[0.08] bg-surface-control px-4 py-2 text-[13px] font-medium text-[#b5b3b0] transition-colors hover:border-gold/25 hover:text-parchment disabled:cursor-not-allowed disabled:opacity-50",d="w-full rounded-[10px] border border-white/[0.08] bg-surface-control px-3.5 py-2.5 text-sm text-parchment placeholder-faded outline-none transition-colors",c="mb-1.5 block text-[13px] font-medium text-mist",p="text-[13px] font-medium text-gold transition-colors hover:text-gold-bright",x="prose prose-invert max-w-none prose-headings:font-semibold prose-headings:tracking-[-0.01em] prose-headings:text-parchment prose-h1:text-[26px] prose-h2:text-[21px] prose-h3:text-[17px] prose-p:text-[15px] prose-p:leading-[1.75] prose-p:text-mist prose-li:text-[15px] prose-li:leading-[1.65] prose-li:text-mist prose-li:marker:text-faded prose-a:font-medium prose-a:text-gold prose-a:no-underline hover:prose-a:text-gold-bright prose-strong:text-parchment prose-em:text-ash prose-blockquote:border-l-2 prose-blockquote:border-gold/40 prose-blockquote:not-italic prose-blockquote:font-normal prose-blockquote:text-mist prose-hr:border-white/[0.06] prose-code:rounded prose-code:bg-white/[0.06] prose-code:px-1.5 prose-code:py-0.5 prose-code:text-[13px] prose-code:font-normal prose-code:text-parchment prose-code:before:content-none prose-code:after:content-none prose-pre:rounded-[10px] prose-pre:border prose-pre:border-white/[0.08] prose-pre:bg-[#101011] prose-th:text-parchment prose-td:text-mist prose-img:rounded-[12px]";function m(e){let{children:t}=e;return(0,o.jsxs)("div",{className:"flex min-h-screen flex-col bg-ink font-ui text-parchment",children:[(0,o.jsx)(a.A,{}),(0,o.jsx)("main",{id:"main-content",className:"mx-auto w-full max-w-[1500px] flex-1 px-4 pb-16 pt-8 md:pt-10",children:t}),(0,o.jsx)(n.A,{})]})}function u(e){let{children:t,wide:r=!1}=e;return(0,o.jsx)("div",{className:"mx-auto w-full ".concat(r?"max-w-[860px]":"max-w-[760px]"),children:t})}function h(e){let{title:t,sub:r}=e;return(0,o.jsxs)("header",{className:"mb-8",children:[(0,o.jsx)("h1",{className:"text-[30px] font-semibold leading-[1.15] tracking-[-0.02em] text-[#efece3] md:text-[38px]",children:t}),r&&(0,o.jsx)("p",{className:"mt-2 max-w-2xl text-[15px] leading-[1.6] text-[#9a9a98]",children:r})]})}function b(e){let{title:t,updated:r,pdf:a,children:n}=e;return(0,o.jsx)(m,{children:(0,o.jsxs)(u,{children:[(0,o.jsx)("h1",{className:"text-[30px] font-semibold leading-[1.15] tracking-[-0.02em] text-[#efece3] md:text-[38px]",children:t}),(0,o.jsxs)("div",{className:"mb-10 mt-3 flex flex-wrap items-center justify-between gap-3 border-b border-white/[0.06] pb-5",children:[(0,o.jsxs)("p",{className:"text-[13px] text-ash",children:["Last updated: ",r]}),a&&(0,o.jsx)("a",{href:a,download:!0,className:p,children:"Download PDF"})]}),(0,o.jsx)("div",{className:x,children:n})]})})}},90511:(e,t,r)=>{r.d(t,{R:()=>o});let o=!1},98425:(e,t,r)=>{r.d(t,{h:()=>a});var o=r(62114);let a={list:async()=>(await o.api.request({url:"/blog"})).data,async rail(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(await o.api.request({url:"/blog/rail?limit=".concat(encodeURIComponent(e)),signal:t.signal})).data},getBySlug:async e=>(await o.api.request({url:"/blog/slug/".concat(encodeURIComponent(e))})).data,save:async e=>(await o.api.request({url:"/blog",method:"POST",data:e})).data,remove:async e=>(await o.api.request({url:"/blog/".concat(e),method:"DELETE"})).data,generateImage:async(e,t)=>(await o.api.postImage("/blog/generate-image",e,null!=t?t:(0,o.createImageIdempotencyKey)())).data,async uploadCover(e){let t=new FormData;return t.append("file",e),t.append("type","blog_cover"),(await o.api.post("/uploads/blog-cover",t,{headers:{"Content-Type":"multipart/form-data"}})).data},incrementView:async e=>(await o.api.request({url:"/blog/view/".concat(encodeURIComponent(e)),method:"POST"})).data}},98902:(e,t,r)=>{r.d(t,{A:()=>p});var o=r(95155),a=r(52619),n=r.n(a),s=r(12115),i=r(44097);
1function l(){let[e,t]=(0,s.useState)(!0);return(0,s.useEffect)(()=>{t((0,i.In)())},[]),(0,o.jsxs)("button",{onClick:()=>{let r=!e;localStorage.setItem(i.RH,r?"on":"off"),t(r),window.dispatchEvent(new Event(i.uK))},className:"text-xs text-faded underline-offset-2 transition-colors hover:text-parchment hover:underline",children:["Background motion: ",e?"On":"Off"]})}var d=r(90511);let c=[{heading:"Explore",links:[{label:"Community",href:"/community"},{label:"Blog",href:"/blog"},{label:"About",href:"/about"}]},{heading:"Support",links:[{label:"Help",href:"/help"},{label:"Terms",href:"/terms"},{label:"Privacy",href:"/privacy-policy"},{label:"Cookie & Privacy Choices",href:"/cookie-policy"},{label:"Disclaimer",href:"/disclaimer"},{label:"Intimate Image Removal",href:"/content-removal"}]}],p=()=>(0,o.jsx)("footer",{className:"bg-ink border-t border-white/5",children:(0,o.jsxs)("div",{className:"mx-auto max-w-[1500px] px-4 lg:px-10 py-12",children:[(0,o.jsxs)("div",{className:"flex flex-col gap-10 md:flex-row md:items-start md:justify-between",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)(n(),{href:"/home",className:"font-wordmark text-lg uppercase tracking-[0.14em] text-[#ece7da]",children:"Storybook RPG"}),(0,o.jsx)("p",{className:"mt-3 max-w-xs text-sm text-ash",children:"Chat with AI characters and write stories together."})]}),(0,o.jsx)("nav",{"aria-label":"Footer",className:"flex gap-16",children:c.map(e=>(0,o.jsxs)("div",{children:[(0,o.jsx)("h3",{className:"text-xs font-medium uppercase tracking-wide text-faded",children:e.heading}),(0,o.jsx)("ul",{className:"mt-3 space-y-2",children:e.links.map(e=>(0,o.jsx)("li",{children:(0,o.jsx)(n(),{href:e.href,className:"text-sm text-ash hover:text-parchment transition-colors",children:e.label})},e.href))})]},e.heading))})]}),(0,o.jsxs)("div",{className:"mt-12 flex items-center justify-between border-t border-white/5 pb-16 pt-6 text-xs text-faded sm:pb-0",children:[(0,o.jsxs)("span",{children:["\xa9 ",new Date().getFullYear()," Storybook RPG"]}),d.R&&(0,o.jsx)(l,{})]})]})})}}]);

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.