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,CAEb,EAEaE,EAAqE,CACjF,IAAK,CAAE,MAAO,MAAO,KAAM,0CAAA,EAC3B,OAAQ,CAAE,MAAO,SAAU,KAAM,mDAAA,EACjC,KAAM,CAAE,MAAO,OAAQ,KAAM,sDAAA,CAC9B,EAEaC,EAAsB,CAClC,KAAM,gBACN,KAAM,qBACN,KAAM,OACN,KAAM,CAAC,MAAO,QAAQ,EACtB,UAAWT,EACX,KAAM,CAAE,KAAM,OAAQ,KAAM,MAAO,MAAO,QAAA,EAC1C,SAAUQ,EACV,OAAS5B,GAAWuB,EAAYvB,EAAQ,MAAO,SAAU,MAAM,EAC/D,MAAQW,IAAY,CAAE,SAAUA,EAAO,OAAA,GACvC,UAAYA,GAAW,CACtB,MAAMa,EAAQC,EAAUd,EAAO,OAAQ,MAAO,QAAQ,EAEtD,MAAO,2BADMA,EAAO,UAAY,OAAS,OAAS,KAAKA,EAAO,OAAO,EAC/B,KAAKa,CAAK,UAAU,IAAMA,CAAK,YACtE,CACD,EC5FaM,EAAyB,CACrC,CACC,KAAM,kBACN,MAAO,YACP,KAAM,eAAepB,EAAU,KAAK,MAAM,sCAC1C,GAAGqB,EAAW,IAAA,EAEf,CACC,KAAM,sBACN,MAAO,qBACP,KAAM,2BAA2BF,EAAc,UAAU,MAAM,aAC/D,GAAGE,EAAW,WAAA,EAEf,CACC,KAAM,mBACN,MAAO,aACP,KAAM,mCACN,GAAGA,EAAW,KAAA,EAEf,CACC,KAAM,mBACN,MAAO,kBACP,KAAM,sCAAsCT,EAAW,UAAU,MAAM,aACvE,GAAGS,EAAW,QAAA,EAEf,CACC,KAAM,aACN,MAAO,YACP,KAAM,qCACN,GAAGA,EAAW,IAAA,CAEhB","names":["BDSM_ROLES","BDSM_OUTCOMES","SIDE","TIE_ORDER","r","ROLE_MIN","ROLE_LEAD","bdsmArenaRole","scores","top","rank","side","first","second","s","text","weights","STATEMENTS","BDSM_TEST","result","role","k","DOM","SUB","BOTH","q","options","label","QUESTIONS","DOM_OR_SUB_OUTCOMES","DOM_OR_SUB","leanOutcome","share","leanShare","TOP","BOTTOM","TOP_OR_BOTTOM_OUTCOMES","TOP_OR_BOTTOM","QUIZ_CARDS","QUIZ_TILES"],"sources":["../../../../../../src/lib/quiz/bdsm-test.ts","../../../../../../src/lib/quiz/dom-or-sub.ts","../../../../../../src/lib/quiz/top-or-bottom.ts","../../../../../../src/lib/quiz/catalog.ts"],"sourcesContent":["import { rank, type ArenaRole, type Outcome, type Quiz, type ScaleQuestion } from './engine';\n\n/**\n * RAT-648: the BDSM test (/quiz/bdsm-test). \"bdsm test\" 201K a month (KD 37),\n * \"bdsm quiz\" 18.1K (Semrush US, Nov 2026). 32 statements on the agree scale,\n * each weighting one to three of 19 roles, and a percentage per role.\n *\n * Left out on purpose: age play and every role built on it (little,\n * daddy/mommy, boy/girl), and anything without consent.\n */\n\nexport const BDSM_ROLES = [\n\t'dominant',\n\t'submissive',\n\t'switch',\n\t'brat',\n\t'brat-tamer',\n\t'rigger',\n\t'rope-bunny',\n\t'sadist',\n\t'masochist',\n\t'hunter',\n\t'prey',\n\t'owner',\n\t'pet',\n\t'degrader',\n\t'degradee',\n\t'exhibitionist',\n\t'voyeur',\n\t'experimentalist',\n\t'vanilla'\n] as const;\n\nexport type BdsmRole = (typeof BDSM_ROLES)[number];\n\nexport const BDSM_OUTCOMES: Record<BdsmRole, Outcome> = {\n\tdominant: { label: 'Dominant', line: 'You like to take the lead and set the pace.' },\n\tsubmissive: { label: 'Submissive', line: 'You like handing control to someone you trust.' },\n\tswitch: { label: 'Switch', line: 'You enjoy both sides and swap with the partner and the mood.' },\n\tbrat: { label: 'Brat', line: 'You do as you’re told, eventually, after some mischief.' },\n\t'brat-tamer': {\n\t\tlabel: 'Brat tamer',\n\t\tline: 'You like a cheeky partner, and putting them back in line.'\n\t},\n\trigger: { label: 'Rigger', line: 'You enjoy the craft of rope and tying a partner up.' },\n\t'rope-bunny': { label: 'Rope bunny', line: 'Being tied up is how you let go.' },\n\tsadist: { label: 'Sadist', line: 'You enjoy giving intense sensations to a willing partner.' },\n\tmasochist: { label: 'Masochist', line: 'A bit of pain you asked for turns you on.' },\n\thunter: { label: 'Primal (hunter)', line: 'You like to chase, wrestle and pin, on instinct.' },\n\tprey: { label: 'Primal (prey)', line: 'You love the thrill of being chased and caught in play.' },\n\towner: { label: 'Owner', line: 'You like keeping a pet: rules, rewards and care.' },\n\tpet: { label: 'Pet', line: 'You like being collared, praised and looked after.' },\n\tdegrader: {\n\t\tlabel: 'Degrader',\n\t\tline: 'You enjoy teasing a willing partner with words that sting.'\n\t},\n\tdegradee: {\n\t\tlabel: 'Degradee',\n\t\tline: 'Being put in your place with words, by someone you trust, turns you on.'\n\t},\n\texhibitionist: { label: 'Exhibitionist', line: 'Being watched and admired is a turn-on.' },\n\tvoyeur: { label: 'Voyeur', line: 'You’d rather watch than be watched.' },\n\texperimentalist: { label: 'Experimentalist', line: 'You want to try almost everything once.' },\n\tvanilla: { label: 'Vanilla', line: 'You like sex simple, close and kink-free.' }\n};\n\n/** Which side of the power dynamic a role sits on, where that is plain. */\nconst SIDE: Partial<Record<BdsmRole, ArenaRole>> = {\n\tdominant: 'dominant',\n\t'brat-tamer': 'dominant',\n\trigger: 'dominant',\n\thunter: 'dominant',\n\towner: 'dominant',\n\tdegrader: 'dominant',\n\tsubmissive: 'submissive',\n\tbrat: 'submissive',\n\t'rope-bunny': 'submissive',\n\tprey: 'submissive',\n\tpet: 'submissive',\n\tdegradee: 'submissive',\n\tswitch: 'switch'\n};\n\n/** Ties go to switch first: a test answered \"not sure\" throughout is no one's dom. */\nconst TIE_ORDER: readonly string[] = ['switch', ...BDSM_ROLES.filter((r) => r !== 'switch')];\n\n/** A role counts for the arena only once it is clearly yours. */\nconst ROLE_MIN = 60;\nconst ROLE_LEAD = 10;\n\n/**\n * The arena role a result implies: the top role's side when it has one (a\n * sadist or a voyeur can be either), else dominant, submissive or switch when\n * one of the three leads the other two plainly. Nothing below 60%.\n */\nexport function bdsmArenaRole(scores: Record<string, number>): ArenaRole | null {\n\tconst top = rank(scores, TIE_ORDER)[0] as BdsmRole;\n\tconst side = SIDE[top];\n\tif (side && scores[top] >= ROLE_MIN) return side;\n\tconst [first, second] = rank(scores, ['switch', 'dominant', 'submissive']);\n\tif (scores[first] >= ROLE_MIN && scores[first] - scores[second] >= ROLE_LEAD)\n\t\treturn first as ArenaRole;\n\treturn null;\n}\n\nconst s = (text: string, weights: Partial<Record<BdsmRole, number>>): ScaleQuestion => ({\n\tkind: 'scale',\n\ttext,\n\tweights\n});\n\n/** Interleaved so no two statements about the same role sit side by side. */\nconst STATEMENTS: ScaleQuestion[] = [\n\ts('I like being the one in charge when things get intimate.', { dominant: 3, submissive: -2 }),\n\ts('Being tied up and unable to move sounds exciting.', { 'rope-bunny': 3, submissive: 1 }),\n\ts('The thought of being watched turns me on.', { exhibitionist: 3, voyeur: -1 }),\n\ts('I push a partner’s buttons on purpose, just to see what they’ll do.', {\n\t\tbrat: 3,\n\t\tsubmissive: 1\n\t}),\n\ts('I enjoy giving a partner intense sensations, like a firm spanking, when they ask for it.', {\n\t\tsadist: 3,\n\t\tdominant: 1\n\t}),\n\ts('I want to try almost everything at least once.', { experimentalist: 3, vanilla: -2 }),\n\ts('I’d love to be someone’s pet: collared, praised and looked after.', { pet: 3, submissive: 1 }),\n\ts('Wrestling, chasing and pinning a partner down in play sounds like fun.', {\n\t\thunter: 3,\n\t\tdominant: 1\n\t}),\n\ts('I like handing control to a partner I trust.', { submissive: 3, dominant: -2 }),\n\ts('Being called names I’ve agreed to, in the heat of the moment, turns me on.', {\n\t\tdegradee: 3,\n\t\tmasochist: 1\n\t}),\n\ts('I enjoy both leading and following, depending on the person and the mood.', { switch: 3 }),\n\ts('I’d love to learn rope and tie a partner up properly.', { rigger: 3, dominant: 1 }),\n\ts('For me, the best sex is simple, close and gentle, without props or games.', {\n\t\tvanilla: 3,\n\t\texperimentalist: -1\n\t}),\n\ts('When a partner gets cheeky, I enjoy putting them back in their place.', {\n\t\t'brat-tamer': 3,\n\t\tdominant: 1\n\t}),\n\ts('A bit of pain, like a firm spanking or a bite, turns me on.', { masochist: 3 }),\n\ts('I’d rather watch than be watched.', { voyeur: 3, exhibitionist: -2 }),\n\ts('I’d love a pet of my own to train, spoil and keep in line.', { owner: 3, dominant: 1 }),\n\ts('Being chased, caught and pinned, in a game we both agreed to, sounds thrilling.', {\n\t\tprey: 3,\n\t\tsubmissive: 1\n\t}),\n\ts('I enjoy saying humiliating things to a partner who wants to hear them.', {\n\t\tdegrader: 3,\n\t\tsadist: 1\n\t}),\n\ts('Being stuck on one side of a power dynamic would bore me.', {\n\t\tswitch: 3,\n\t\tdominant: -1,\n\t\tsubmissive: -1\n\t}),\n\ts('Rules are more fun when I get to bend them.', { brat: 2, submissive: -1 }),\n\ts('Rope looks beautiful to me, whichever end of it I’m on.', {\n\t\trigger: 2,\n\t\t'rope-bunny': 2,\n\t\tswitch: 1\n\t}),\n\ts('Sometimes I want to drop the words and just growl, bite and grab.', {\n\t\thunter: 2,\n\t\tprey: 2,\n\t\tvanilla: -1\n\t}),\n\ts('Clear rules and rewards between partners sound comforting, not restrictive.', {\n\t\tpet: 2,\n\t\towner: 2,\n\t\tbrat: -1\n\t}),\n\ts('Marks or a bit of soreness the next day feel like a souvenir.', { masochist: 2 }),\n\ts('Seeing a partner squirm because of something I’m doing is a thrill.', {\n\t\tsadist: 2,\n\t\tdegrader: 1\n\t}),\n\ts('I love dressing up to be looked at.', { exhibitionist: 2 }),\n\ts('Watching a partner enjoy themselves is a turn-on in itself.', { voyeur: 2 }),\n\ts('Being put in my place by someone I trust is a turn-on.', { degradee: 2, submissive: 1 }),\n\ts('A partner who obeys too easily is less fun than one who pushes back.', {\n\t\t'brat-tamer': 2,\n\t\thunter: 1\n\t}),\n\ts('Kink is fun to read about, but I don’t need to try it.', { vanilla: 2, experimentalist: -2 }),\n\ts('I like making a partner blush with what I say.', { degrader: 2 })\n];\n\nexport const BDSM_TEST: Quiz = {\n\tslug: 'bdsm-test',\n\tname: 'BDSM test',\n\tnoun: 'test',\n\tkeys: BDSM_ROLES,\n\tquestions: STATEMENTS,\n\tview: { kind: 'profile', shown: 5, order: TIE_ORDER },\n\toutcomes: BDSM_OUTCOMES,\n\tdecide: (scores) => rank(scores, TIE_ORDER)[0],\n\tarena: (result) => {\n\t\tconst role = bdsmArenaRole(result.scores);\n\t\treturn role ? { role } : {};\n\t},\n\tshareText: (result) => {\n\t\tconst top = rank(result.scores, TIE_ORDER)\n\t\t\t.slice(0, 3)\n\t\t\t.map((k) => `${BDSM_OUTCOMES[k as BdsmRole].label} ${result.scores[k]}%`)\n\t\t\t.join(', ');\n\t\treturn `My BDSM test result: ${top}.`;\n\t}\n};\n","import { leanOutcome, leanShare, type ChoiceQuestion, type Outcome, type Quiz } from './engine';\n\n/**\n * RAT-648: the dom or sub quiz (/quiz/dom-or-sub). \"dom or sub quiz\" 260 a\n * month (KD 4), \"dominant or submissive quiz\" 210, \"submissive test\" 210,\n * \"dominant test\" 90, \"am i submissive\" 90 (Semrush US, Nov 2026). Ten\n * questions; the result is the lean, and switch in the middle.\n */\n\nconst DOM = { dominant: 2 } as const;\nconst SUB = { submissive: 2 } as const;\nconst BOTH = { dominant: 1, submissive: 1 } as const;\n\nconst q = (text: string, ...options: [string, Record<string, number>][]): ChoiceQuestion => ({\n\tkind: 'choice',\n\ttext,\n\toptions: options.map(([label, weights]) => ({ label, weights }))\n});\n\n/** Answer order varies, so the dominant answer isn't always the first one. */\nconst QUESTIONS: ChoiceQuestion[] = [\n\tq(\n\t\t'On a date, you’d rather…',\n\t\t['Plan every detail', DOM],\n\t\t['Be surprised', SUB],\n\t\t['Plan half, follow half', BOTH]\n\t),\n\tq(\n\t\t'In the bedroom, you’d rather…',\n\t\t['Follow instructions', SUB],\n\t\t['Give them', DOM],\n\t\t['Take turns', BOTH]\n\t),\n\tq(\n\t\t'Your partner says: “your call.” You feel…',\n\t\t['Ready. Finally.', DOM],\n\t\t['Happy either way', BOTH],\n\t\t['A bit lost', SUB]\n\t),\n\tq(\n\t\t'Which sounds hotter?',\n\t\t['Being told exactly what to do', SUB],\n\t\t['Telling them exactly what to do', DOM],\n\t\t['Trading places halfway', BOTH]\n\t),\n\tq(\n\t\t'Playfully held down, you…',\n\t\t['Melt', SUB],\n\t\t['Enjoy it, then flip them', BOTH],\n\t\t['Flip them straight away', DOM]\n\t),\n\tq(\n\t\t'What gets you going more?',\n\t\t['Giving praise', DOM],\n\t\t['Earning it', SUB],\n\t\t['Both, depending on the night', BOTH]\n\t),\n\tq(\n\t\t'Rules in a relationship are…',\n\t\t['Comforting to follow', SUB],\n\t\t['Mine to make', DOM],\n\t\t['Ours to negotiate', BOTH]\n\t),\n\tq(\n\t\t'An intense moment, eye to eye. You…',\n\t\t['Hold it until they look away', DOM],\n\t\t['Look away first', SUB],\n\t\t['Depends who I’m with', BOTH]\n\t),\n\tq(\n\t\t'Pick tonight’s role:',\n\t\t['The one who obeys', SUB],\n\t\t['Toss a coin', BOTH],\n\t\t['The one in charge', DOM]\n\t),\n\tq(\n\t\t'When a partner gets bossy, you…',\n\t\t['Get bossier', DOM],\n\t\t['Love it', SUB],\n\t\t['Let them, for a while', BOTH]\n\t)\n];\n\nexport const DOM_OR_SUB_OUTCOMES: Record<'dominant' | 'submissive' | 'switch', Outcome> = {\n\tdominant: { label: 'Dominant', line: 'You like to lead, decide and set the rules.' },\n\tsubmissive: { label: 'Submissive', line: 'You like to follow, let go and earn the praise.' },\n\tswitch: { label: 'Switch', line: 'You enjoy both sides, depending on the partner and the night.' }\n};\n\nexport const DOM_OR_SUB: Quiz = {\n\tslug: 'dom-or-sub',\n\tname: 'Dom or sub quiz',\n\tnoun: 'quiz',\n\tkeys: ['dominant', 'submissive'],\n\tquestions: QUESTIONS,\n\tview: { kind: 'lean', left: 'dominant', right: 'submissive' },\n\toutcomes: DOM_OR_SUB_OUTCOMES,\n\tdecide: (scores) => leanOutcome(scores, 'dominant', 'submissive', 'switch'),\n\tarena: (result) => ({ role: result.outcome as 'dominant' | 'submissive' | 'switch' }),\n\tshareText: (result) => {\n\t\tconst share = leanShare(result.scores, 'dominant', 'submissive');\n\t\tconst name = result.outcome === 'switch' ? 'a switch' : result.outcome;\n\t\treturn `Dom or sub quiz: I’m ${name} (${share}% dominant, ${100 - share}% submissive).`;\n\t}\n};\n","import { leanOutcome, leanShare, type ChoiceQuestion, type Outcome, type Quiz } from './engine';\n\n/**\n * RAT-648: the top or bottom quiz (/quiz/top-or-bottom). \"top or bottom quiz\"\n * 2.4K a month (KD 15), \"top or bottom test\" 390, \"am i a top or bottom quiz\"\n * 390 (Semrush US, Nov 2026). Twelve questions, each answer leaning top,\n * bottom or both; the result is the lean, and vers in the middle.\n */\n\nconst TOP = { top: 2 } as const;\nconst BOTTOM = { bottom: 2 } as const;\nconst BOTH = { top: 1, bottom: 1 } as const;\n\nconst q = (text: string, ...options: [string, Record<string, number>][]): ChoiceQuestion => ({\n\tkind: 'choice',\n\ttext,\n\toptions: options.map(([label, weights]) => ({ label, weights }))\n});\n\n/** Answer order varies, so the top answer isn't always the first one. */\nconst QUESTIONS: ChoiceQuestion[] = [\n\tq(\n\t\t'When things heat up, you’d rather…',\n\t\t['Take the lead', TOP],\n\t\t['Be led', BOTTOM],\n\t\t['See where it goes', BOTH]\n\t),\n\tq(\n\t\t'Pick a fantasy:',\n\t\t['Falling apart for them', BOTTOM],\n\t\t['Making them fall apart', TOP],\n\t\t['Taking turns', BOTH]\n\t),\n\tq(\n\t\t'In bed, it’s more your thing to…',\n\t\t['Give', TOP],\n\t\t['Both, equally', BOTH],\n\t\t['Receive', BOTTOM]\n\t),\n\tq(\n\t\t'Being pinned to the bed sounds…',\n\t\t['Like the dream', BOTTOM],\n\t\t['Better the other way round', TOP],\n\t\t['Fun either way', BOTH]\n\t),\n\tq(\n\t\t'You feel sexiest when you’re…',\n\t\t['Letting go', BOTTOM],\n\t\t['Reading the room and switching', BOTH],\n\t\t['Setting the pace', TOP]\n\t),\n\tq(\n\t\t'Which compliment hits harder?',\n\t\t['“You’re so in control”', TOP],\n\t\t['“You’re so responsive”', BOTTOM],\n\t\t['“You’re up for anything”', BOTH]\n\t),\n\tq(\n\t\t'With someone new, you usually…',\n\t\t['Wait for their move', BOTTOM],\n\t\t['Make the first move', TOP],\n\t\t['Depends on them', BOTH]\n\t),\n\tq(\n\t\t'Your hands usually end up…',\n\t\t['On their hips, guiding', TOP],\n\t\t['Everywhere, it changes', BOTH],\n\t\t['Around their shoulders, holding on', BOTTOM]\n\t),\n\tq(\n\t\t'After a long week, you want to…',\n\t\t['Switch off and be taken care of', BOTTOM],\n\t\t['Take charge of something', TOP],\n\t\t['Depends on the week', BOTH]\n\t),\n\tq(\n\t\t'Your perfect partner…',\n\t\t['Loves to take charge', BOTTOM],\n\t\t['Loves to receive', TOP],\n\t\t['Swaps with you', BOTH]\n\t),\n\tq('On the dance floor, you…', ['Lead', TOP], ['Follow', BOTTOM], ['Freestyle', BOTH]),\n\tq(\n\t\t'Someone asks if you top or bottom. Your gut answer:',\n\t\t['Bottom', BOTTOM],\n\t\t['Vers', BOTH],\n\t\t['Top', TOP]\n\t)\n];\n\nexport const TOP_OR_BOTTOM_OUTCOMES: Record<'top' | 'bottom' | 'vers', Outcome> = {\n\ttop: { label: 'Top', line: 'You like to lead, give and set the pace.' },\n\tbottom: { label: 'Bottom', line: 'You like to receive, let go and be taken care of.' },\n\tvers: { label: 'Vers', line: 'You enjoy both, and the partner and the mood decide.' }\n};\n\nexport const TOP_OR_BOTTOM: Quiz = {\n\tslug: 'top-or-bottom',\n\tname: 'Top or bottom quiz',\n\tnoun: 'quiz',\n\tkeys: ['top', 'bottom'],\n\tquestions: QUESTIONS,\n\tview: { kind: 'lean', left: 'top', right: 'bottom' },\n\toutcomes: TOP_OR_BOTTOM_OUTCOMES,\n\tdecide: (scores) => leanOutcome(scores, 'top', 'bottom', 'vers'),\n\tarena: (result) => ({ position: result.outcome as 'top' | 'bottom' | 'vers' }),\n\tshareText: (result) => {\n\t\tconst share = leanShare(result.scores, 'top', 'bottom');\n\t\tconst name = result.outcome === 'vers' ? 'vers' : `a ${result.outcome}`;\n\t\treturn `Top or bottom quiz: I’m ${name} (${share}% top, ${100 - share}% bottom).`;\n\t}\n};\n","import { BDSM_TEST } from './bdsm-test';\nimport { DOM_OR_SUB } from './dom-or-sub';\nimport { QUIZ_TILES } from './icons';\nimport { TOP_OR_BOTTOM } from './top-or-bottom';\n\n/**\n * RAT-648: every quiz page, for the hub (/quiz) and the \"more quizzes\" row\n * under each quiz. The kink test ships on its own branch and is linked from\n * here all the same.\n */\nexport interface QuizCard {\n\thref: string;\n\ttitle: string;\n\tline: string;\n\t/** the tile's colour and its icon (24×24 stroke paths) */\n\ttint: string;\n\ticon: readonly string[];\n}\n\nexport const QUIZ_CARDS: QuizCard[] = [\n\t{\n\t\thref: '/quiz/bdsm-test',\n\t\ttitle: 'BDSM test',\n\t\tline: `Your mix of ${BDSM_TEST.keys.length} roles, from dominant to rope bunny`,\n\t\t...QUIZ_TILES.bdsm\n\t},\n\t{\n\t\thref: '/quiz/top-or-bottom',\n\t\ttitle: 'Top or bottom quiz',\n\t\tline: `Top, bottom or vers, in ${TOP_OR_BOTTOM.questions.length} questions`,\n\t\t...QUIZ_TILES.topOrBottom\n\t},\n\t{\n\t\thref: '/quiz/sissy-test',\n\t\ttitle: 'Sissy test',\n\t\tline: 'How sissy you are, from 0 to 100',\n\t\t...QUIZ_TILES.sissy\n\t},\n\t{\n\t\thref: '/quiz/dom-or-sub',\n\t\ttitle: 'Dom or sub quiz',\n\t\tline: `Dominant, submissive or switch, in ${DOM_OR_SUB.questions.length} questions`,\n\t\t...QUIZ_TILES.domOrSub\n\t},\n\t{\n\t\thref: '/kink-test',\n\t\ttitle: 'Kink test',\n\t\tline: 'The kinks and fetishes you’re into',\n\t\t...QUIZ_TILES.kink\n\t}\n];\n"],"version":3}