[{"data":1,"prerenderedAt":5491},["ShallowReactive",2],{"wrun-open-editor-url":3,"indicators:sharing/connect-discord-or-whop":4},"https://openmarket.xyz/chart/#wrun-open=v1",{"slug":5,"filePath":6,"frontmatter":7,"rawMarkdown":12,"tree":13},"sharing/connect-discord-or-whop","sharing/connect-discord-or-whop.md",{"title":8,"description":9,"order":10,"section":11},"Connect Discord or Whop","Sell access through Whop or a paid Discord role, and a small script you run uses an access key to keep your indicator's people list in sync.",65,"sharing","---\ntitle: \"Connect Discord or Whop\"\ndescription: \"Sell access through Whop or a paid Discord role, and a small script you run uses an access key to keep your indicator's people list in sync.\"\norder: 65\nsection: \"sharing\"\n---\n\n\u003C!-- source: docs/indicators/sharing/connect-discord-or-whop.md; generated by packages/cli/scripts/gen-indicator-docs.ts, do not edit -->\n\n# Connect Discord or Whop\n\nSell access through Whop or a paid Discord role, and a small script you run uses an access key to keep your indicator's people list in sync.\n\nThere is no official connector. This is a small script you run yourself, on\nyour own server, and OpenMarket's side is two calls.\n\n## The idea\n\nWhen someone gains access on your side, add them. When they lose it, remove\nthem:\n\n```text\nBase URL       https://registry.openmarket.xyz/v1/packages/@you/your-indicator\nAuthorization  Bearer \u003Caccess key>\n\nPUT     /access/\u003Ctheir OpenMarket username>    they paid, or got the role: 200\nDELETE  /access/\u003Ctheir OpenMarket username>    they left, or lost the role: 204, always\n```\n\nA PUT can carry `{\"until\": \"\u003CISO date>\"}` to end access on a date. Without\nit, access lasts until your DELETE. Both calls are safe to repeat, so an\nevent that arrives twice does no harm. The key comes from the People panel\n([Make a key](access-keys-and-api.md#make-a-key)).\n\n## Collect each member's username\n\nThe calls name a person by their OpenMarket username, so that is the one\nthing you must collect. Ask once, and keep it beside the customer:\n\n- **Whop**: add a custom field to your checkout that asks for it. The answer\n  arrives with the membership.\n- **Discord**: members type `/openmarket \u003Cusername>` in your server, and the\n  bot below saves it.\n\nOr skip usernames: make each customer a personal link keyed by your own\n`ref` ([Personal links](access-keys-and-api.md#personal-links)) and send it\nto them yourself. They join by opening it, and `DELETE /access/ref:\u003Cyour ref>`\nremoves them later.\n\n## Whop\n\nWhop calls your server with a webhook when a membership changes. Subscribe it\nto `membership.updated`: Whop sends it when a membership activates and when\nit deactivates, with the membership's current `status`. The handler checks\nWhop's signature, adds the member while the status keeps access (`trialing`,\n`active`, `past_due`, `completed`), and removes them when it is `canceled` or\n`expired`.\n\n1. In the Developer tab of your Whop dashboard, create a webhook for\n   `membership.updated` that points at your server, and copy its secret.\n2. Save the handler as `whop.mjs`. Set `OPENMARKET_ACCESS_KEY`, and\n   `WHOP_WEBHOOK_SECRET` to the `ws_` secret exactly as Whop shows it.\n3. Run `node whop.mjs` (Node 18 or later) where Whop can reach it.\n\n```javascript\nimport { createHmac, timingSafeEqual } from \"node:crypto\";\nimport { createServer } from \"node:http\";\n\nconst PACKAGE = \"@you/your-indicator\"; // your indicator's full name\nconst QUESTION = \"OpenMarket username\"; // the label of your Whop checkout field\nconst KEEP = [\"trialing\", \"active\", \"past_due\", \"completed\"]; // Whop statuses with access\nconst END = [\"canceled\", \"expired\"]; // Whop statuses without it\nconst ACCESS = `https://registry.openmarket.xyz/v1/packages/${PACKAGE}/access`;\n\n// PUT or DELETE one person. false: no OpenMarket account has that username.\nasync function access(method, username) {\n  const res = await fetch(`${ACCESS}/${encodeURIComponent(username)}`, {\n    method,\n    headers: { Authorization: `Bearer ${process.env.OPENMARKET_ACCESS_KEY}` },\n  });\n  if (res.ok) return true;\n  const { error } = await res.json().catch(() => ({}));\n  if (error?.code === \"user_not_found\") return false;\n  throw new Error(`${method} ${username}: ${res.status} ${error?.code ?? \"\"}`);\n}\n\n// Whop signs \"\u003Cwebhook-id>.\u003Cwebhook-timestamp>.\u003Cbody>\" with HMAC-SHA256, keyed\n// by the whole ws_ secret, and sends \"v1,\u003Cbase64>\" in webhook-signature.\nfunction signedByWhop(headers, body) {\n  const { \"webhook-id\": id, \"webhook-timestamp\": sent, \"webhook-signature\": signatures = \"\" } = headers;\n  if (!id || !(Math.abs(Date.now() / 1000 - Number(sent)) \u003C= 300)) return false;\n  const hmac = createHmac(\"sha256\", process.env.WHOP_WEBHOOK_SECRET).update(`${id}.${sent}.${body}`);\n  const expected = Buffer.from(`v1,${hmac.digest(\"base64\")}`);\n  return signatures.split(\" \").some((entry) => {\n    const given = Buffer.from(entry);\n    return given.length === expected.length && timingSafeEqual(given, expected);\n  });\n}\n\n// The member's answer to your checkout field.\nfunction usernameOf(membership) {\n  return membership.custom_field_responses?.find((field) => field.question === QUESTION)?.answer.trim();\n}\n\ncreateServer(async (req, res) => {\n  const chunks = [];\n  for await (const chunk of req) chunks.push(chunk);\n  const body = Buffer.concat(chunks).toString();\n  if (!signedByWhop(req.headers, body)) return res.writeHead(401).end();\n  const { type, data } = JSON.parse(body);\n  const username = type === \"membership.updated\" ? usernameOf(data) : undefined;\n  try {\n    if (username && KEEP.includes(data.status) && !(await access(\"PUT\", username))) {\n      console.warn(`${username} is not an OpenMarket username (Whop membership ${data.id})`);\n    }\n    if (username && END.includes(data.status)) await access(\"DELETE\", username);\n    res.writeHead(200).end();\n  } catch (error) {\n    console.error(error);\n    res.writeHead(500).end(); // Whop sends the event again later\n  }\n}).listen(Number(process.env.PORT ?? 3000));\n```\n\nIf your webhook's payload carries no `custom_field_responses` (newer Whop API\nversions leave them out), `usernameOf` is the one function to change.\n\nA username that matches no OpenMarket account is logged, so you can ask that\nmember again. Any other failure answers Whop with an error, and Whop sends\nthe event again later.\n\n## Discord\n\nA bot watches your paid role. A member who gets the role is added; one who\nloses it, or leaves the server, is removed. `/openmarket` saves the member's\nusername and, if they already have the role, adds them at once.\n\n1. In the Discord Developer Portal, on your app's **Bot** page, turn on\n   **Server Members Intent**. The bot needs it to see role changes.\n2. Run `npm install discord.js@14`, and save the bot as `bot.mjs`.\n3. Set `OPENMARKET_ACCESS_KEY` and `DISCORD_TOKEN`, and run `node bot.mjs`.\n\n```javascript\nimport { Client, Events, GatewayIntentBits, MessageFlags, SlashCommandBuilder } from \"discord.js\";\n\nconst PACKAGE = \"@you/your-indicator\"; // your indicator's full name\nconst PAID_ROLE = \"Premium\"; // the role your members pay for\nconst ACCESS = `https://registry.openmarket.xyz/v1/packages/${PACKAGE}/access`;\n\nconst usernames = new Map(); // Discord user id to OpenMarket username\n\n// PUT or DELETE one person. false: no OpenMarket account has that username.\nasync function access(method, username) {\n  const res = await fetch(`${ACCESS}/${encodeURIComponent(username)}`, {\n    method,\n    headers: { Authorization: `Bearer ${process.env.OPENMARKET_ACCESS_KEY}` },\n  });\n  if (res.ok) return true;\n  const { error } = await res.json().catch(() => ({}));\n  if (error?.code === \"user_not_found\") return false;\n  throw new Error(`${method} ${username}: ${res.status} ${error?.code ?? \"\"}`);\n}\n\nconst paid = (member) => member.roles.cache.some((role) => role.name === PAID_ROLE);\n\nconst command = new SlashCommandBuilder()\n  .setName(\"openmarket\")\n  .setDescription(\"Link your OpenMarket username\")\n  .addStringOption((option) =>\n    option.setName(\"username\").setDescription(\"Your OpenMarket username\").setRequired(true),\n  );\n\nconst client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMembers] });\n\nclient.once(Events.ClientReady, async () => {\n  for (const guild of client.guilds.cache.values()) {\n    await guild.members.fetch(); // load everyone, so each role change arrives with the roles before it\n    await guild.commands.set([command]);\n  }\n});\n\nclient.on(Events.GuildMemberUpdate, async (before, after) => {\n  const username = usernames.get(after.id);\n  if (username && paid(before) !== paid(after)) await access(paid(after) ? \"PUT\" : \"DELETE\", username);\n});\n\nclient.on(Events.GuildMemberRemove, async (member) => {\n  const username = usernames.get(member.id);\n  if (username && paid(member)) await access(\"DELETE\", username);\n});\n\nclient.on(Events.InteractionCreate, async (interaction) => {\n  if (!interaction.isChatInputCommand() || interaction.commandName !== \"openmarket\") return;\n  await interaction.deferReply({ flags: MessageFlags.Ephemeral });\n  const username = interaction.options.getString(\"username\", true).trim();\n  const previous = usernames.get(interaction.user.id);\n  usernames.set(interaction.user.id, username);\n  let reply = `Saved. Your access starts when you get the ${PAID_ROLE} role.`;\n  try {\n    if (paid(interaction.member)) {\n      if (previous && previous !== username) await access(\"DELETE\", previous);\n      reply = (await access(\"PUT\", username))\n        ? \"You're in. Find it under Shared with you in Indicators on OpenMarket.\"\n        : \"No OpenMarket account has that username. Check it and try again.\";\n    }\n  } catch (error) {\n    console.error(error);\n    reply = \"Something went wrong. Try again in a minute.\";\n  }\n  await interaction.editReply(reply);\n});\n\nprocess.on(\"unhandledRejection\", console.error);\nclient.login(process.env.DISCORD_TOKEN);\n```\n\nThe sample keeps usernames in memory, so a restart forgets them. Keep them in\na database.\n\n## Checks and limits\n\n| Status | Code | What to do |\n| --- | --- | --- |\n| 404 | `user_not_found` | The username is wrong. Ask the member for it again. |\n| 403 | `fair_use` | The Protected indicator is at 1,000 people ([Fair use](overview.md#fair-use)). |\n| 429 | `rate_limited` | More than 600 writes in a minute on this key. Wait the seconds the `retry-after` header names. |\n\nWebhooks get missed and bots restart. Once a night, read the list with\n`GET /access`, a page at a time\n([Check and list](access-keys-and-api.md#check-and-list)), compare it with\nyour own, and PUT or DELETE the difference, or send it as one batch\n([Many at once](access-keys-and-api.md#many-at-once)).\n\nThe key works for this one indicator and nothing else. **Revoke** on its\nsheet in the People panel stops it at once.\n",{"type":14,"children":15,"data":5484,"position":5486},"root",[16,26,29,30,46,47,63,64,82,83,98,99,160,161,222,223,239,240,256,257,351,352,430,431,445,446,612,613,781,782,2865,2866,2920,2921,2936,2937,2951,2952,2988,2989,3175,3176,5057,5058,5073,5074,5089,5091,5369,5370,5447,5448],{"type":17,"value":18,"position":19},"comment"," source: docs/indicators/sharing/connect-discord-or-whop.md; generated by packages/cli/scripts/gen-indicator-docs.ts, do not edit ",{"start":20,"end":23},{"line":21,"column":21,"offset":22},1,0,{"line":21,"column":24,"offset":25},138,137,{"type":27,"value":28},"text","\n",{"type":27,"value":28},{"type":31,"tagName":32,"properties":33,"children":34,"position":43},"element","p",{},[35],{"type":27,"value":9,"position":36},{"start":37,"end":40},{"line":38,"column":21,"offset":39},5,166,{"line":38,"column":41,"offset":42},141,306,{"start":44,"end":45},{"line":38,"column":21,"offset":39},{"line":38,"column":41,"offset":42},{"type":27,"value":28},{"type":31,"tagName":32,"properties":48,"children":49,"position":60},{},[50],{"type":27,"value":51,"position":52},"There is no official connector. This is a small script you run yourself, on\nyour own server, and OpenMarket's side is two calls.",{"start":53,"end":56},{"line":54,"column":21,"offset":55},7,308,{"line":57,"column":58,"offset":59},8,53,436,{"start":61,"end":62},{"line":54,"column":21,"offset":55},{"line":57,"column":58,"offset":59},{"type":27,"value":28},{"type":31,"tagName":65,"properties":66,"children":67,"position":78},"h2",{},[68],{"type":27,"value":69,"position":70},"The idea",{"start":71,"end":75},{"line":72,"column":73,"offset":74},10,4,441,{"line":72,"column":76,"offset":77},12,449,{"start":79,"end":81},{"line":72,"column":21,"offset":80},438,{"line":72,"column":76,"offset":77},{"type":27,"value":28},{"type":31,"tagName":32,"properties":84,"children":85,"position":95},{},[86],{"type":27,"value":87,"position":88},"When someone gains access on your side, add them. When they lose it, remove\nthem:",{"start":89,"end":91},{"line":76,"column":21,"offset":90},451,{"line":92,"column":93,"offset":94},13,6,532,{"start":96,"end":97},{"line":76,"column":21,"offset":90},{"line":92,"column":93,"offset":94},{"type":27,"value":28},{"type":14,"children":100},[101],{"type":31,"tagName":102,"properties":103,"children":107,"data":-1},"pre",{"class":104,"style":105,"tabindex":106},"shiki shiki-themes github-dark github-light","--shiki-dark:#e1e4e8;--shiki-light:#24292e;--shiki-dark-bg:#24292e;--shiki-light-bg:#fff","0",[108],{"type":31,"tagName":109,"properties":110,"children":113},"code",{"class":111},[112],"language-text",[114,124,125,133,134,142,143,151,152],{"type":31,"tagName":115,"properties":116,"children":118},"span",{"class":117},"line",[119],{"type":31,"tagName":115,"properties":120,"children":121},{},[122],{"type":27,"value":123},"Base URL       https://registry.openmarket.xyz/v1/packages/@you/your-indicator",{"type":27,"value":28},{"type":31,"tagName":115,"properties":126,"children":127},{"class":117},[128],{"type":31,"tagName":115,"properties":129,"children":130},{},[131],{"type":27,"value":132},"Authorization  Bearer \u003Caccess key>",{"type":27,"value":28},{"type":31,"tagName":115,"properties":135,"children":136},{"class":117},[137],{"type":31,"tagName":115,"properties":138,"children":139},{},[140],{"type":27,"value":141},"",{"type":27,"value":28},{"type":31,"tagName":115,"properties":144,"children":145},{"class":117},[146],{"type":31,"tagName":115,"properties":147,"children":148},{},[149],{"type":27,"value":150},"PUT     /access/\u003Ctheir OpenMarket username>    they paid, or got the role: 200",{"type":27,"value":28},{"type":31,"tagName":115,"properties":153,"children":154},{"class":117},[155],{"type":31,"tagName":115,"properties":156,"children":157},{},[158],{"type":27,"value":159},"DELETE  /access/\u003Ctheir OpenMarket username>    they left, or lost the role: 204, always",{"type":27,"value":28},{"type":31,"tagName":32,"properties":162,"children":163,"position":219},{},[164,173,186,194,212],{"type":27,"value":165,"position":166},"A PUT can carry ",{"start":167,"end":170},{"line":168,"column":21,"offset":169},23,829,{"line":168,"column":171,"offset":172},17,845,{"type":31,"tagName":109,"properties":174,"children":175,"position":183},{},[176],{"type":27,"value":177,"position":178},"{\"until\": \"\u003CISO date>\"}",{"start":179,"end":180},{"line":168,"column":171,"offset":172},{"line":168,"column":181,"offset":182},42,870,{"start":184,"end":185},{"line":168,"column":171,"offset":172},{"line":168,"column":181,"offset":182},{"type":27,"value":187,"position":188}," to end access on a date. Without\nit, access lasts until your DELETE. Both calls are safe to repeat, so an\nevent that arrives twice does no harm. The key comes from the People panel\n(",{"start":189,"end":190},{"line":168,"column":181,"offset":182},{"line":191,"column":192,"offset":193},26,2,1053,{"type":31,"tagName":195,"properties":196,"children":198,"position":207},"a",{"href":197},"access-keys-and-api.md#make-a-key",[199],{"type":27,"value":200,"position":201},"Make a key",{"start":202,"end":205},{"line":191,"column":203,"offset":204},3,1054,{"line":191,"column":92,"offset":206},1064,{"start":208,"end":209},{"line":191,"column":192,"offset":193},{"line":191,"column":210,"offset":211},49,1100,{"type":27,"value":213,"position":214},").",{"start":215,"end":216},{"line":191,"column":210,"offset":211},{"line":191,"column":217,"offset":218},51,1102,{"start":220,"end":221},{"line":168,"column":21,"offset":169},{"line":191,"column":217,"offset":218},{"type":27,"value":28},{"type":31,"tagName":65,"properties":224,"children":225,"position":235},{},[226],{"type":27,"value":227,"position":228},"Collect each member's username",{"start":229,"end":232},{"line":230,"column":73,"offset":231},28,1107,{"line":230,"column":233,"offset":234},34,1137,{"start":236,"end":238},{"line":230,"column":21,"offset":237},1104,{"line":230,"column":233,"offset":234},{"type":27,"value":28},{"type":31,"tagName":32,"properties":241,"children":242,"position":253},{},[243],{"type":27,"value":244,"position":245},"The calls name a person by their OpenMarket username, so that is the one\nthing you must collect. Ask once, and keep it beside the customer:",{"start":246,"end":249},{"line":247,"column":21,"offset":248},30,1139,{"line":250,"column":251,"offset":252},31,67,1278,{"start":254,"end":255},{"line":247,"column":21,"offset":248},{"line":250,"column":251,"offset":252},{"type":27,"value":28},{"type":31,"tagName":258,"properties":259,"children":260,"position":348},"ul",{},[261,262,295,296,347],{"type":27,"value":28},{"type":31,"tagName":263,"properties":264,"children":265,"position":291},"li",{},[266,285],{"type":31,"tagName":267,"properties":268,"children":269,"position":279},"strong",{},[270],{"type":27,"value":271,"position":272},"Whop",{"start":273,"end":276},{"line":274,"column":38,"offset":275},33,1284,{"line":274,"column":277,"offset":278},9,1288,{"start":280,"end":282},{"line":274,"column":203,"offset":281},1282,{"line":274,"column":283,"offset":284},11,1290,{"type":27,"value":286,"position":287},": add a custom field to your checkout that asks for it. The answer\narrives with the membership.",{"start":288,"end":289},{"line":274,"column":283,"offset":284},{"line":233,"column":250,"offset":290},1387,{"start":292,"end":294},{"line":274,"column":21,"offset":293},1280,{"line":233,"column":250,"offset":290},{"type":27,"value":28},{"type":31,"tagName":263,"properties":297,"children":298,"position":343},{},[299,316,323,335],{"type":31,"tagName":267,"properties":300,"children":301,"position":310},{},[302],{"type":27,"value":303,"position":304},"Discord",{"start":305,"end":308},{"line":306,"column":38,"offset":307},35,1392,{"line":306,"column":76,"offset":309},1399,{"start":311,"end":313},{"line":306,"column":203,"offset":312},1390,{"line":306,"column":314,"offset":315},14,1401,{"type":27,"value":317,"position":318},": members type ",{"start":319,"end":320},{"line":306,"column":314,"offset":315},{"line":306,"column":321,"offset":322},29,1416,{"type":31,"tagName":109,"properties":324,"children":325,"position":332},{},[326],{"type":27,"value":327,"position":328},"/openmarket \u003Cusername>",{"start":329,"end":330},{"line":306,"column":321,"offset":322},{"line":306,"column":58,"offset":331},1440,{"start":333,"end":334},{"line":306,"column":321,"offset":322},{"line":306,"column":58,"offset":331},{"type":27,"value":336,"position":337}," in your server, and the\nbot below saves it.",{"start":338,"end":339},{"line":306,"column":58,"offset":331},{"line":340,"column":341,"offset":342},36,22,1486,{"start":344,"end":346},{"line":306,"column":21,"offset":345},1388,{"line":340,"column":341,"offset":342},{"type":27,"value":28},{"start":349,"end":350},{"line":274,"column":21,"offset":293},{"line":340,"column":341,"offset":342},{"type":27,"value":28},{"type":31,"tagName":32,"properties":353,"children":354,"position":427},{},[355,364,376,382,398,406,419],{"type":27,"value":356,"position":357},"Or skip usernames: make each customer a personal link keyed by your own\n",{"start":358,"end":361},{"line":359,"column":21,"offset":360},38,1488,{"line":362,"column":21,"offset":363},39,1560,{"type":31,"tagName":109,"properties":365,"children":366,"position":373},{},[367],{"type":27,"value":368,"position":369},"ref",{"start":370,"end":371},{"line":362,"column":21,"offset":363},{"line":362,"column":93,"offset":372},1565,{"start":374,"end":375},{"line":362,"column":21,"offset":363},{"line":362,"column":93,"offset":372},{"type":27,"value":377,"position":378}," (",{"start":379,"end":380},{"line":362,"column":93,"offset":372},{"line":362,"column":57,"offset":381},1567,{"type":31,"tagName":195,"properties":383,"children":385,"position":393},{"href":384},"access-keys-and-api.md#personal-links",[386],{"type":27,"value":387,"position":388},"Personal links",{"start":389,"end":391},{"line":362,"column":277,"offset":390},1568,{"line":362,"column":168,"offset":392},1582,{"start":394,"end":395},{"line":362,"column":57,"offset":381},{"line":362,"column":396,"offset":397},63,1622,{"type":27,"value":399,"position":400},") and send it\nto them yourself. They join by opening it, and ",{"start":401,"end":402},{"line":362,"column":396,"offset":397},{"line":403,"column":404,"offset":405},40,48,1683,{"type":31,"tagName":109,"properties":407,"children":408,"position":416},{},[409],{"type":27,"value":410,"position":411},"DELETE /access/ref:\u003Cyour ref>",{"start":412,"end":413},{"line":403,"column":404,"offset":405},{"line":403,"column":414,"offset":415},79,1714,{"start":417,"end":418},{"line":403,"column":404,"offset":405},{"line":403,"column":414,"offset":415},{"type":27,"value":420,"position":421},"\nremoves them later.",{"start":422,"end":423},{"line":403,"column":414,"offset":415},{"line":424,"column":425,"offset":426},41,20,1734,{"start":428,"end":429},{"line":359,"column":21,"offset":360},{"line":424,"column":425,"offset":426},{"type":27,"value":28},{"type":31,"tagName":65,"properties":432,"children":433,"position":441},{},[434],{"type":27,"value":271,"position":435},{"start":436,"end":439},{"line":437,"column":73,"offset":438},43,1739,{"line":437,"column":57,"offset":440},1743,{"start":442,"end":444},{"line":437,"column":21,"offset":443},1736,{"line":437,"column":57,"offset":440},{"type":27,"value":28},{"type":31,"tagName":32,"properties":447,"children":448,"position":609},{},[449,458,471,478,491,498,511,517,529,535,548,553,565,571,584,591,603],{"type":27,"value":450,"position":451},"Whop calls your server with a webhook when a membership changes. Subscribe it\nto ",{"start":452,"end":455},{"line":453,"column":21,"offset":454},45,1745,{"line":456,"column":73,"offset":457},46,1826,{"type":31,"tagName":109,"properties":459,"children":460,"position":468},{},[461],{"type":27,"value":462,"position":463},"membership.updated",{"start":464,"end":465},{"line":456,"column":73,"offset":457},{"line":456,"column":466,"offset":467},24,1846,{"start":469,"end":470},{"line":456,"column":73,"offset":457},{"line":456,"column":466,"offset":467},{"type":27,"value":472,"position":473},": Whop sends it when a membership activates and when\nit deactivates, with the membership's current ",{"start":474,"end":475},{"line":456,"column":466,"offset":467},{"line":476,"column":476,"offset":477},47,1945,{"type":31,"tagName":109,"properties":479,"children":480,"position":488},{},[481],{"type":27,"value":482,"position":483},"status",{"start":484,"end":485},{"line":476,"column":476,"offset":477},{"line":476,"column":486,"offset":487},55,1953,{"start":489,"end":490},{"line":476,"column":476,"offset":477},{"line":476,"column":486,"offset":487},{"type":27,"value":492,"position":493},". The handler checks\nWhop's signature, adds the member while the status keeps access (",{"start":494,"end":495},{"line":476,"column":486,"offset":487},{"line":404,"column":496,"offset":497},66,2039,{"type":31,"tagName":109,"properties":499,"children":500,"position":508},{},[501],{"type":27,"value":502,"position":503},"trialing",{"start":504,"end":505},{"line":404,"column":496,"offset":497},{"line":404,"column":506,"offset":507},76,2049,{"start":509,"end":510},{"line":404,"column":496,"offset":497},{"line":404,"column":506,"offset":507},{"type":27,"value":512,"position":513},",\n",{"start":514,"end":515},{"line":404,"column":506,"offset":507},{"line":210,"column":21,"offset":516},2051,{"type":31,"tagName":109,"properties":518,"children":519,"position":526},{},[520],{"type":27,"value":521,"position":522},"active",{"start":523,"end":524},{"line":210,"column":21,"offset":516},{"line":210,"column":277,"offset":525},2059,{"start":527,"end":528},{"line":210,"column":21,"offset":516},{"line":210,"column":277,"offset":525},{"type":27,"value":530,"position":531},", ",{"start":532,"end":533},{"line":210,"column":277,"offset":525},{"line":210,"column":283,"offset":534},2061,{"type":31,"tagName":109,"properties":536,"children":537,"position":545},{},[538],{"type":27,"value":539,"position":540},"past_due",{"start":541,"end":542},{"line":210,"column":283,"offset":534},{"line":210,"column":543,"offset":544},21,2071,{"start":546,"end":547},{"line":210,"column":283,"offset":534},{"line":210,"column":543,"offset":544},{"type":27,"value":530,"position":549},{"start":550,"end":551},{"line":210,"column":543,"offset":544},{"line":210,"column":168,"offset":552},2073,{"type":31,"tagName":109,"properties":554,"children":555,"position":562},{},[556],{"type":27,"value":557,"position":558},"completed",{"start":559,"end":560},{"line":210,"column":168,"offset":552},{"line":210,"column":233,"offset":561},2084,{"start":563,"end":564},{"line":210,"column":168,"offset":552},{"line":210,"column":233,"offset":561},{"type":27,"value":566,"position":567},"), and removes them when it is ",{"start":568,"end":569},{"line":210,"column":233,"offset":561},{"line":210,"column":10,"offset":570},2115,{"type":31,"tagName":109,"properties":572,"children":573,"position":581},{},[574],{"type":27,"value":575,"position":576},"canceled",{"start":577,"end":578},{"line":210,"column":10,"offset":570},{"line":210,"column":579,"offset":580},75,2125,{"start":582,"end":583},{"line":210,"column":10,"offset":570},{"line":210,"column":579,"offset":580},{"type":27,"value":585,"position":586}," or\n",{"start":587,"end":588},{"line":210,"column":579,"offset":580},{"line":589,"column":21,"offset":590},50,2129,{"type":31,"tagName":109,"properties":592,"children":593,"position":600},{},[594],{"type":27,"value":595,"position":596},"expired",{"start":597,"end":598},{"line":589,"column":21,"offset":590},{"line":589,"column":72,"offset":599},2138,{"start":601,"end":602},{"line":589,"column":21,"offset":590},{"line":589,"column":72,"offset":599},{"type":27,"value":604,"position":605},".",{"start":606,"end":607},{"line":589,"column":72,"offset":599},{"line":589,"column":283,"offset":608},2139,{"start":610,"end":611},{"line":453,"column":21,"offset":454},{"line":589,"column":283,"offset":608},{"type":27,"value":28},{"type":31,"tagName":614,"properties":615,"children":616,"position":778},"ol",{},[617,618,652,653,743,744,777],{"type":27,"value":28},{"type":31,"tagName":263,"properties":619,"children":620,"position":648},{},[621,629,641],{"type":27,"value":622,"position":623},"In the Developer tab of your Whop dashboard, create a webhook for\n",{"start":624,"end":627},{"line":625,"column":73,"offset":626},52,2144,{"line":58,"column":21,"offset":628},2210,{"type":31,"tagName":109,"properties":630,"children":631,"position":638},{},[632],{"type":27,"value":462,"position":633},{"start":634,"end":636},{"line":58,"column":73,"offset":635},2213,{"line":58,"column":466,"offset":637},2233,{"start":639,"end":640},{"line":58,"column":73,"offset":635},{"line":58,"column":466,"offset":637},{"type":27,"value":642,"position":643}," that points at your server, and copy its secret.",{"start":644,"end":645},{"line":58,"column":466,"offset":637},{"line":58,"column":646,"offset":647},73,2282,{"start":649,"end":651},{"line":625,"column":21,"offset":650},2141,{"line":58,"column":646,"offset":647},{"type":27,"value":28},{"type":31,"tagName":263,"properties":654,"children":655,"position":739},{},[656,664,676,682,694,700,714,720,732],{"type":27,"value":657,"position":658},"Save the handler as ",{"start":659,"end":662},{"line":660,"column":73,"offset":661},54,2286,{"line":660,"column":466,"offset":663},2306,{"type":31,"tagName":109,"properties":665,"children":666,"position":673},{},[667],{"type":27,"value":668,"position":669},"whop.mjs",{"start":670,"end":671},{"line":660,"column":466,"offset":663},{"line":660,"column":233,"offset":672},2316,{"start":674,"end":675},{"line":660,"column":466,"offset":663},{"line":660,"column":233,"offset":672},{"type":27,"value":677,"position":678},". Set ",{"start":679,"end":680},{"line":660,"column":233,"offset":672},{"line":660,"column":403,"offset":681},2322,{"type":31,"tagName":109,"properties":683,"children":684,"position":691},{},[685],{"type":27,"value":686,"position":687},"OPENMARKET_ACCESS_KEY",{"start":688,"end":689},{"line":660,"column":403,"offset":681},{"line":660,"column":396,"offset":690},2345,{"start":692,"end":693},{"line":660,"column":403,"offset":681},{"line":660,"column":396,"offset":690},{"type":27,"value":695,"position":696},", and\n",{"start":697,"end":698},{"line":660,"column":396,"offset":690},{"line":486,"column":21,"offset":699},2351,{"type":31,"tagName":109,"properties":701,"children":702,"position":711},{},[703],{"type":27,"value":704,"position":705},"WHOP_WEBHOOK_SECRET",{"start":706,"end":708},{"line":486,"column":73,"offset":707},2354,{"line":486,"column":709,"offset":710},25,2375,{"start":712,"end":713},{"line":486,"column":73,"offset":707},{"line":486,"column":709,"offset":710},{"type":27,"value":715,"position":716}," to the ",{"start":717,"end":718},{"line":486,"column":709,"offset":710},{"line":486,"column":274,"offset":719},2383,{"type":31,"tagName":109,"properties":721,"children":722,"position":729},{},[723],{"type":27,"value":724,"position":725},"ws_",{"start":726,"end":727},{"line":486,"column":274,"offset":719},{"line":486,"column":359,"offset":728},2388,{"start":730,"end":731},{"line":486,"column":274,"offset":719},{"line":486,"column":359,"offset":728},{"type":27,"value":733,"position":734}," secret exactly as Whop shows it.",{"start":735,"end":736},{"line":486,"column":359,"offset":728},{"line":486,"column":737,"offset":738},71,2421,{"start":740,"end":742},{"line":660,"column":21,"offset":741},2283,{"line":486,"column":737,"offset":738},{"type":27,"value":28},{"type":31,"tagName":263,"properties":745,"children":746,"position":773},{},[747,755,767],{"type":27,"value":748,"position":749},"Run ",{"start":750,"end":753},{"line":751,"column":73,"offset":752},56,2425,{"line":751,"column":57,"offset":754},2429,{"type":31,"tagName":109,"properties":756,"children":757,"position":764},{},[758],{"type":27,"value":759,"position":760},"node whop.mjs",{"start":761,"end":762},{"line":751,"column":57,"offset":754},{"line":751,"column":168,"offset":763},2444,{"start":765,"end":766},{"line":751,"column":57,"offset":754},{"line":751,"column":168,"offset":763},{"type":27,"value":768,"position":769}," (Node 18 or later) where Whop can reach it.",{"start":770,"end":771},{"line":751,"column":168,"offset":763},{"line":751,"column":251,"offset":772},2488,{"start":774,"end":776},{"line":751,"column":21,"offset":775},2422,{"line":751,"column":251,"offset":772},{"type":27,"value":28},{"start":779,"end":780},{"line":625,"column":21,"offset":650},{"line":751,"column":251,"offset":772},{"type":27,"value":28},{"type":14,"children":783},[784],{"type":31,"tagName":102,"properties":785,"children":786,"data":-1},{"class":104,"style":105,"tabindex":106},[787],{"type":31,"tagName":109,"properties":788,"children":791},{"class":789},[790],"language-javascript",[792,823,824,849,850,853,854,889,890,920,921,984,985,1028,1029,1064,1065,1068,1069,1077,1078,1122,1123,1197,1198,1206,1207,1251,1252,1260,1261,1288,1289,1355,1356,1396,1397,1486,1487,1495,1496,1499,1500,1508,1509,1517,1518,1553,1554,1638,1639,1747,1748,1833,1834,1903,1904,1963,1964,1994,1995,2042,2043,2050,2051,2058,2059,2062,2063,2071,2072,2097,2098,2160,2161,2168,2169,2172,2173,2218,2219,2240,2241,2286,2287,2326,2327,2387,2388,2440,2441,2499,2500,2512,2513,2584,2585,2636,2637,2645,2646,2700,2701,2734,2735,2752,2753,2770,2771,2809,2810,2818,2819],{"type":31,"tagName":115,"properties":793,"children":794},{"class":117},[795,801,807,812,818],{"type":31,"tagName":115,"properties":796,"children":798},{"style":797},"--shiki-dark:#F97583;--shiki-light:#D73A49",[799],{"type":27,"value":800},"import",{"type":31,"tagName":115,"properties":802,"children":804},{"style":803},"--shiki-dark:#E1E4E8;--shiki-light:#24292E",[805],{"type":27,"value":806}," { createHmac, timingSafeEqual } ",{"type":31,"tagName":115,"properties":808,"children":809},{"style":797},[810],{"type":27,"value":811},"from",{"type":31,"tagName":115,"properties":813,"children":815},{"style":814},"--shiki-dark:#9ECBFF;--shiki-light:#032F62",[816],{"type":27,"value":817}," \"node:crypto\"",{"type":31,"tagName":115,"properties":819,"children":820},{"style":803},[821],{"type":27,"value":822},";",{"type":27,"value":28},{"type":31,"tagName":115,"properties":825,"children":826},{"class":117},[827,831,836,840,845],{"type":31,"tagName":115,"properties":828,"children":829},{"style":797},[830],{"type":27,"value":800},{"type":31,"tagName":115,"properties":832,"children":833},{"style":803},[834],{"type":27,"value":835}," { createServer } ",{"type":31,"tagName":115,"properties":837,"children":838},{"style":797},[839],{"type":27,"value":811},{"type":31,"tagName":115,"properties":841,"children":842},{"style":814},[843],{"type":27,"value":844}," \"node:http\"",{"type":31,"tagName":115,"properties":846,"children":847},{"style":803},[848],{"type":27,"value":822},{"type":27,"value":28},{"type":31,"tagName":115,"properties":851,"children":852},{"class":117},[],{"type":27,"value":28},{"type":31,"tagName":115,"properties":855,"children":856},{"class":117},[857,862,868,873,878,883],{"type":31,"tagName":115,"properties":858,"children":859},{"style":797},[860],{"type":27,"value":861},"const",{"type":31,"tagName":115,"properties":863,"children":865},{"style":864},"--shiki-dark:#79B8FF;--shiki-light:#005CC5",[866],{"type":27,"value":867}," PACKAGE",{"type":31,"tagName":115,"properties":869,"children":870},{"style":797},[871],{"type":27,"value":872}," =",{"type":31,"tagName":115,"properties":874,"children":875},{"style":814},[876],{"type":27,"value":877}," \"@you/your-indicator\"",{"type":31,"tagName":115,"properties":879,"children":880},{"style":803},[881],{"type":27,"value":882},"; ",{"type":31,"tagName":115,"properties":884,"children":886},{"style":885},"--shiki-dark:#6A737D;--shiki-light:#6A737D",[887],{"type":27,"value":888},"// your indicator's full name",{"type":27,"value":28},{"type":31,"tagName":115,"properties":891,"children":892},{"class":117},[893,897,902,906,911,915],{"type":31,"tagName":115,"properties":894,"children":895},{"style":797},[896],{"type":27,"value":861},{"type":31,"tagName":115,"properties":898,"children":899},{"style":864},[900],{"type":27,"value":901}," QUESTION",{"type":31,"tagName":115,"properties":903,"children":904},{"style":797},[905],{"type":27,"value":872},{"type":31,"tagName":115,"properties":907,"children":908},{"style":814},[909],{"type":27,"value":910}," \"OpenMarket username\"",{"type":31,"tagName":115,"properties":912,"children":913},{"style":803},[914],{"type":27,"value":882},{"type":31,"tagName":115,"properties":916,"children":917},{"style":885},[918],{"type":27,"value":919},"// the label of your Whop checkout field",{"type":27,"value":28},{"type":31,"tagName":115,"properties":922,"children":923},{"class":117},[924,928,933,937,942,947,951,956,960,965,969,974,979],{"type":31,"tagName":115,"properties":925,"children":926},{"style":797},[927],{"type":27,"value":861},{"type":31,"tagName":115,"properties":929,"children":930},{"style":864},[931],{"type":27,"value":932}," KEEP",{"type":31,"tagName":115,"properties":934,"children":935},{"style":797},[936],{"type":27,"value":872},{"type":31,"tagName":115,"properties":938,"children":939},{"style":803},[940],{"type":27,"value":941}," [",{"type":31,"tagName":115,"properties":943,"children":944},{"style":814},[945],{"type":27,"value":946},"\"trialing\"",{"type":31,"tagName":115,"properties":948,"children":949},{"style":803},[950],{"type":27,"value":530},{"type":31,"tagName":115,"properties":952,"children":953},{"style":814},[954],{"type":27,"value":955},"\"active\"",{"type":31,"tagName":115,"properties":957,"children":958},{"style":803},[959],{"type":27,"value":530},{"type":31,"tagName":115,"properties":961,"children":962},{"style":814},[963],{"type":27,"value":964},"\"past_due\"",{"type":31,"tagName":115,"properties":966,"children":967},{"style":803},[968],{"type":27,"value":530},{"type":31,"tagName":115,"properties":970,"children":971},{"style":814},[972],{"type":27,"value":973},"\"completed\"",{"type":31,"tagName":115,"properties":975,"children":976},{"style":803},[977],{"type":27,"value":978},"]; ",{"type":31,"tagName":115,"properties":980,"children":981},{"style":885},[982],{"type":27,"value":983},"// Whop statuses with access",{"type":27,"value":28},{"type":31,"tagName":115,"properties":986,"children":987},{"class":117},[988,992,997,1001,1005,1010,1014,1019,1023],{"type":31,"tagName":115,"properties":989,"children":990},{"style":797},[991],{"type":27,"value":861},{"type":31,"tagName":115,"properties":993,"children":994},{"style":864},[995],{"type":27,"value":996}," END",{"type":31,"tagName":115,"properties":998,"children":999},{"style":797},[1000],{"type":27,"value":872},{"type":31,"tagName":115,"properties":1002,"children":1003},{"style":803},[1004],{"type":27,"value":941},{"type":31,"tagName":115,"properties":1006,"children":1007},{"style":814},[1008],{"type":27,"value":1009},"\"canceled\"",{"type":31,"tagName":115,"properties":1011,"children":1012},{"style":803},[1013],{"type":27,"value":530},{"type":31,"tagName":115,"properties":1015,"children":1016},{"style":814},[1017],{"type":27,"value":1018},"\"expired\"",{"type":31,"tagName":115,"properties":1020,"children":1021},{"style":803},[1022],{"type":27,"value":978},{"type":31,"tagName":115,"properties":1024,"children":1025},{"style":885},[1026],{"type":27,"value":1027},"// Whop statuses without it",{"type":27,"value":28},{"type":31,"tagName":115,"properties":1030,"children":1031},{"class":117},[1032,1036,1041,1045,1050,1055,1060],{"type":31,"tagName":115,"properties":1033,"children":1034},{"style":797},[1035],{"type":27,"value":861},{"type":31,"tagName":115,"properties":1037,"children":1038},{"style":864},[1039],{"type":27,"value":1040}," ACCESS",{"type":31,"tagName":115,"properties":1042,"children":1043},{"style":797},[1044],{"type":27,"value":872},{"type":31,"tagName":115,"properties":1046,"children":1047},{"style":814},[1048],{"type":27,"value":1049}," `https://registry.openmarket.xyz/v1/packages/${",{"type":31,"tagName":115,"properties":1051,"children":1052},{"style":864},[1053],{"type":27,"value":1054},"PACKAGE",{"type":31,"tagName":115,"properties":1056,"children":1057},{"style":814},[1058],{"type":27,"value":1059},"}/access`",{"type":31,"tagName":115,"properties":1061,"children":1062},{"style":803},[1063],{"type":27,"value":822},{"type":27,"value":28},{"type":31,"tagName":115,"properties":1066,"children":1067},{"class":117},[],{"type":27,"value":28},{"type":31,"tagName":115,"properties":1070,"children":1071},{"class":117},[1072],{"type":31,"tagName":115,"properties":1073,"children":1074},{"style":885},[1075],{"type":27,"value":1076},"// PUT or DELETE one person. false: no OpenMarket account has that username.",{"type":27,"value":28},{"type":31,"tagName":115,"properties":1079,"children":1080},{"class":117},[1081,1086,1091,1097,1102,1108,1112,1117],{"type":31,"tagName":115,"properties":1082,"children":1083},{"style":797},[1084],{"type":27,"value":1085},"async",{"type":31,"tagName":115,"properties":1087,"children":1088},{"style":797},[1089],{"type":27,"value":1090}," function",{"type":31,"tagName":115,"properties":1092,"children":1094},{"style":1093},"--shiki-dark:#B392F0;--shiki-light:#6F42C1",[1095],{"type":27,"value":1096}," access",{"type":31,"tagName":115,"properties":1098,"children":1099},{"style":803},[1100],{"type":27,"value":1101},"(",{"type":31,"tagName":115,"properties":1103,"children":1105},{"style":1104},"--shiki-dark:#FFAB70;--shiki-light:#E36209",[1106],{"type":27,"value":1107},"method",{"type":31,"tagName":115,"properties":1109,"children":1110},{"style":803},[1111],{"type":27,"value":530},{"type":31,"tagName":115,"properties":1113,"children":1114},{"style":1104},[1115],{"type":27,"value":1116},"username",{"type":31,"tagName":115,"properties":1118,"children":1119},{"style":803},[1120],{"type":27,"value":1121},") {",{"type":27,"value":28},{"type":31,"tagName":115,"properties":1124,"children":1125},{"class":117},[1126,1131,1136,1140,1145,1150,1154,1159,1164,1169,1174,1178,1182,1187,1192],{"type":31,"tagName":115,"properties":1127,"children":1128},{"style":797},[1129],{"type":27,"value":1130},"  const",{"type":31,"tagName":115,"properties":1132,"children":1133},{"style":864},[1134],{"type":27,"value":1135}," res",{"type":31,"tagName":115,"properties":1137,"children":1138},{"style":797},[1139],{"type":27,"value":872},{"type":31,"tagName":115,"properties":1141,"children":1142},{"style":797},[1143],{"type":27,"value":1144}," await",{"type":31,"tagName":115,"properties":1146,"children":1147},{"style":1093},[1148],{"type":27,"value":1149}," fetch",{"type":31,"tagName":115,"properties":1151,"children":1152},{"style":803},[1153],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":1155,"children":1156},{"style":814},[1157],{"type":27,"value":1158},"`${",{"type":31,"tagName":115,"properties":1160,"children":1161},{"style":864},[1162],{"type":27,"value":1163},"ACCESS",{"type":31,"tagName":115,"properties":1165,"children":1166},{"style":814},[1167],{"type":27,"value":1168},"}/${",{"type":31,"tagName":115,"properties":1170,"children":1171},{"style":1093},[1172],{"type":27,"value":1173},"encodeURIComponent",{"type":31,"tagName":115,"properties":1175,"children":1176},{"style":814},[1177],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":1179,"children":1180},{"style":803},[1181],{"type":27,"value":1116},{"type":31,"tagName":115,"properties":1183,"children":1184},{"style":814},[1185],{"type":27,"value":1186},")",{"type":31,"tagName":115,"properties":1188,"children":1189},{"style":814},[1190],{"type":27,"value":1191},"}`",{"type":31,"tagName":115,"properties":1193,"children":1194},{"style":803},[1195],{"type":27,"value":1196},", {",{"type":27,"value":28},{"type":31,"tagName":115,"properties":1199,"children":1200},{"class":117},[1201],{"type":31,"tagName":115,"properties":1202,"children":1203},{"style":803},[1204],{"type":27,"value":1205},"    method,",{"type":27,"value":28},{"type":31,"tagName":115,"properties":1208,"children":1209},{"class":117},[1210,1215,1220,1225,1229,1234,1238,1242,1246],{"type":31,"tagName":115,"properties":1211,"children":1212},{"style":803},[1213],{"type":27,"value":1214},"    headers: { Authorization: ",{"type":31,"tagName":115,"properties":1216,"children":1217},{"style":814},[1218],{"type":27,"value":1219},"`Bearer ${",{"type":31,"tagName":115,"properties":1221,"children":1222},{"style":803},[1223],{"type":27,"value":1224},"process",{"type":31,"tagName":115,"properties":1226,"children":1227},{"style":814},[1228],{"type":27,"value":604},{"type":31,"tagName":115,"properties":1230,"children":1231},{"style":803},[1232],{"type":27,"value":1233},"env",{"type":31,"tagName":115,"properties":1235,"children":1236},{"style":814},[1237],{"type":27,"value":604},{"type":31,"tagName":115,"properties":1239,"children":1240},{"style":864},[1241],{"type":27,"value":686},{"type":31,"tagName":115,"properties":1243,"children":1244},{"style":814},[1245],{"type":27,"value":1191},{"type":31,"tagName":115,"properties":1247,"children":1248},{"style":803},[1249],{"type":27,"value":1250}," },",{"type":27,"value":28},{"type":31,"tagName":115,"properties":1253,"children":1254},{"class":117},[1255],{"type":31,"tagName":115,"properties":1256,"children":1257},{"style":803},[1258],{"type":27,"value":1259},"  });",{"type":27,"value":28},{"type":31,"tagName":115,"properties":1262,"children":1263},{"class":117},[1264,1269,1274,1279,1284],{"type":31,"tagName":115,"properties":1265,"children":1266},{"style":797},[1267],{"type":27,"value":1268},"  if",{"type":31,"tagName":115,"properties":1270,"children":1271},{"style":803},[1272],{"type":27,"value":1273}," (res.ok) ",{"type":31,"tagName":115,"properties":1275,"children":1276},{"style":797},[1277],{"type":27,"value":1278},"return",{"type":31,"tagName":115,"properties":1280,"children":1281},{"style":864},[1282],{"type":27,"value":1283}," true",{"type":31,"tagName":115,"properties":1285,"children":1286},{"style":803},[1287],{"type":27,"value":822},{"type":27,"value":28},{"type":31,"tagName":115,"properties":1290,"children":1291},{"class":117},[1292,1296,1301,1306,1311,1316,1320,1325,1330,1335,1340,1345,1350],{"type":31,"tagName":115,"properties":1293,"children":1294},{"style":797},[1295],{"type":27,"value":1130},{"type":31,"tagName":115,"properties":1297,"children":1298},{"style":803},[1299],{"type":27,"value":1300}," { ",{"type":31,"tagName":115,"properties":1302,"children":1303},{"style":864},[1304],{"type":27,"value":1305},"error",{"type":31,"tagName":115,"properties":1307,"children":1308},{"style":803},[1309],{"type":27,"value":1310}," } ",{"type":31,"tagName":115,"properties":1312,"children":1313},{"style":797},[1314],{"type":27,"value":1315},"=",{"type":31,"tagName":115,"properties":1317,"children":1318},{"style":797},[1319],{"type":27,"value":1144},{"type":31,"tagName":115,"properties":1321,"children":1322},{"style":803},[1323],{"type":27,"value":1324}," res.",{"type":31,"tagName":115,"properties":1326,"children":1327},{"style":1093},[1328],{"type":27,"value":1329},"json",{"type":31,"tagName":115,"properties":1331,"children":1332},{"style":803},[1333],{"type":27,"value":1334},"().",{"type":31,"tagName":115,"properties":1336,"children":1337},{"style":1093},[1338],{"type":27,"value":1339},"catch",{"type":31,"tagName":115,"properties":1341,"children":1342},{"style":803},[1343],{"type":27,"value":1344},"(() ",{"type":31,"tagName":115,"properties":1346,"children":1347},{"style":797},[1348],{"type":27,"value":1349},"=>",{"type":31,"tagName":115,"properties":1351,"children":1352},{"style":803},[1353],{"type":27,"value":1354}," ({}));",{"type":27,"value":28},{"type":31,"tagName":115,"properties":1357,"children":1358},{"class":117},[1359,1363,1368,1373,1378,1383,1387,1392],{"type":31,"tagName":115,"properties":1360,"children":1361},{"style":797},[1362],{"type":27,"value":1268},{"type":31,"tagName":115,"properties":1364,"children":1365},{"style":803},[1366],{"type":27,"value":1367}," (error?.code ",{"type":31,"tagName":115,"properties":1369,"children":1370},{"style":797},[1371],{"type":27,"value":1372},"===",{"type":31,"tagName":115,"properties":1374,"children":1375},{"style":814},[1376],{"type":27,"value":1377}," \"user_not_found\"",{"type":31,"tagName":115,"properties":1379,"children":1380},{"style":803},[1381],{"type":27,"value":1382},") ",{"type":31,"tagName":115,"properties":1384,"children":1385},{"style":797},[1386],{"type":27,"value":1278},{"type":31,"tagName":115,"properties":1388,"children":1389},{"style":864},[1390],{"type":27,"value":1391}," false",{"type":31,"tagName":115,"properties":1393,"children":1394},{"style":803},[1395],{"type":27,"value":822},{"type":27,"value":28},{"type":31,"tagName":115,"properties":1398,"children":1399},{"class":117},[1400,1405,1410,1415,1419,1423,1427,1432,1436,1441,1446,1450,1454,1458,1462,1467,1471,1476,1481],{"type":31,"tagName":115,"properties":1401,"children":1402},{"style":797},[1403],{"type":27,"value":1404},"  throw",{"type":31,"tagName":115,"properties":1406,"children":1407},{"style":797},[1408],{"type":27,"value":1409}," new",{"type":31,"tagName":115,"properties":1411,"children":1412},{"style":1093},[1413],{"type":27,"value":1414}," Error",{"type":31,"tagName":115,"properties":1416,"children":1417},{"style":803},[1418],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":1420,"children":1421},{"style":814},[1422],{"type":27,"value":1158},{"type":31,"tagName":115,"properties":1424,"children":1425},{"style":803},[1426],{"type":27,"value":1107},{"type":31,"tagName":115,"properties":1428,"children":1429},{"style":814},[1430],{"type":27,"value":1431},"} ${",{"type":31,"tagName":115,"properties":1433,"children":1434},{"style":803},[1435],{"type":27,"value":1116},{"type":31,"tagName":115,"properties":1437,"children":1438},{"style":814},[1439],{"type":27,"value":1440},"}: ${",{"type":31,"tagName":115,"properties":1442,"children":1443},{"style":803},[1444],{"type":27,"value":1445},"res",{"type":31,"tagName":115,"properties":1447,"children":1448},{"style":814},[1449],{"type":27,"value":604},{"type":31,"tagName":115,"properties":1451,"children":1452},{"style":803},[1453],{"type":27,"value":482},{"type":31,"tagName":115,"properties":1455,"children":1456},{"style":814},[1457],{"type":27,"value":1431},{"type":31,"tagName":115,"properties":1459,"children":1460},{"style":803},[1461],{"type":27,"value":1305},{"type":31,"tagName":115,"properties":1463,"children":1464},{"style":814},[1465],{"type":27,"value":1466},"?.",{"type":31,"tagName":115,"properties":1468,"children":1469},{"style":803},[1470],{"type":27,"value":109},{"type":31,"tagName":115,"properties":1472,"children":1473},{"style":797},[1474],{"type":27,"value":1475}," ??",{"type":31,"tagName":115,"properties":1477,"children":1478},{"style":814},[1479],{"type":27,"value":1480}," \"\"}`",{"type":31,"tagName":115,"properties":1482,"children":1483},{"style":803},[1484],{"type":27,"value":1485},");",{"type":27,"value":28},{"type":31,"tagName":115,"properties":1488,"children":1489},{"class":117},[1490],{"type":31,"tagName":115,"properties":1491,"children":1492},{"style":803},[1493],{"type":27,"value":1494},"}",{"type":27,"value":28},{"type":31,"tagName":115,"properties":1497,"children":1498},{"class":117},[],{"type":27,"value":28},{"type":31,"tagName":115,"properties":1501,"children":1502},{"class":117},[1503],{"type":31,"tagName":115,"properties":1504,"children":1505},{"style":885},[1506],{"type":27,"value":1507},"// Whop signs \"\u003Cwebhook-id>.\u003Cwebhook-timestamp>.\u003Cbody>\" with HMAC-SHA256, keyed",{"type":27,"value":28},{"type":31,"tagName":115,"properties":1510,"children":1511},{"class":117},[1512],{"type":31,"tagName":115,"properties":1513,"children":1514},{"style":885},[1515],{"type":27,"value":1516},"// by the whole ws_ secret, and sends \"v1,\u003Cbase64>\" in webhook-signature.",{"type":27,"value":28},{"type":31,"tagName":115,"properties":1519,"children":1520},{"class":117},[1521,1526,1531,1535,1540,1544,1549],{"type":31,"tagName":115,"properties":1522,"children":1523},{"style":797},[1524],{"type":27,"value":1525},"function",{"type":31,"tagName":115,"properties":1527,"children":1528},{"style":1093},[1529],{"type":27,"value":1530}," signedByWhop",{"type":31,"tagName":115,"properties":1532,"children":1533},{"style":803},[1534],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":1536,"children":1537},{"style":1104},[1538],{"type":27,"value":1539},"headers",{"type":31,"tagName":115,"properties":1541,"children":1542},{"style":803},[1543],{"type":27,"value":530},{"type":31,"tagName":115,"properties":1545,"children":1546},{"style":1104},[1547],{"type":27,"value":1548},"body",{"type":31,"tagName":115,"properties":1550,"children":1551},{"style":803},[1552],{"type":27,"value":1121},{"type":27,"value":28},{"type":31,"tagName":115,"properties":1555,"children":1556},{"class":117},[1557,1561,1565,1570,1575,1580,1584,1589,1593,1598,1602,1607,1611,1616,1620,1625,1629,1633],{"type":31,"tagName":115,"properties":1558,"children":1559},{"style":797},[1560],{"type":27,"value":1130},{"type":31,"tagName":115,"properties":1562,"children":1563},{"style":803},[1564],{"type":27,"value":1300},{"type":31,"tagName":115,"properties":1566,"children":1567},{"style":814},[1568],{"type":27,"value":1569},"\"webhook-id\"",{"type":31,"tagName":115,"properties":1571,"children":1572},{"style":803},[1573],{"type":27,"value":1574},": ",{"type":31,"tagName":115,"properties":1576,"children":1577},{"style":864},[1578],{"type":27,"value":1579},"id",{"type":31,"tagName":115,"properties":1581,"children":1582},{"style":803},[1583],{"type":27,"value":530},{"type":31,"tagName":115,"properties":1585,"children":1586},{"style":814},[1587],{"type":27,"value":1588},"\"webhook-timestamp\"",{"type":31,"tagName":115,"properties":1590,"children":1591},{"style":803},[1592],{"type":27,"value":1574},{"type":31,"tagName":115,"properties":1594,"children":1595},{"style":864},[1596],{"type":27,"value":1597},"sent",{"type":31,"tagName":115,"properties":1599,"children":1600},{"style":803},[1601],{"type":27,"value":530},{"type":31,"tagName":115,"properties":1603,"children":1604},{"style":814},[1605],{"type":27,"value":1606},"\"webhook-signature\"",{"type":31,"tagName":115,"properties":1608,"children":1609},{"style":803},[1610],{"type":27,"value":1574},{"type":31,"tagName":115,"properties":1612,"children":1613},{"style":864},[1614],{"type":27,"value":1615},"signatures",{"type":31,"tagName":115,"properties":1617,"children":1618},{"style":797},[1619],{"type":27,"value":872},{"type":31,"tagName":115,"properties":1621,"children":1622},{"style":814},[1623],{"type":27,"value":1624}," \"\"",{"type":31,"tagName":115,"properties":1626,"children":1627},{"style":803},[1628],{"type":27,"value":1310},{"type":31,"tagName":115,"properties":1630,"children":1631},{"style":797},[1632],{"type":27,"value":1315},{"type":31,"tagName":115,"properties":1634,"children":1635},{"style":803},[1636],{"type":27,"value":1637}," headers;",{"type":27,"value":28},{"type":31,"tagName":115,"properties":1640,"children":1641},{"class":117},[1642,1646,1650,1655,1660,1665,1670,1675,1680,1685,1690,1695,1700,1705,1710,1715,1720,1725,1730,1735,1739,1743],{"type":31,"tagName":115,"properties":1643,"children":1644},{"style":797},[1645],{"type":27,"value":1268},{"type":31,"tagName":115,"properties":1647,"children":1648},{"style":803},[1649],{"type":27,"value":377},{"type":31,"tagName":115,"properties":1651,"children":1652},{"style":797},[1653],{"type":27,"value":1654},"!",{"type":31,"tagName":115,"properties":1656,"children":1657},{"style":803},[1658],{"type":27,"value":1659},"id ",{"type":31,"tagName":115,"properties":1661,"children":1662},{"style":797},[1663],{"type":27,"value":1664},"||",{"type":31,"tagName":115,"properties":1666,"children":1667},{"style":797},[1668],{"type":27,"value":1669}," !",{"type":31,"tagName":115,"properties":1671,"children":1672},{"style":803},[1673],{"type":27,"value":1674},"(Math.",{"type":31,"tagName":115,"properties":1676,"children":1677},{"style":1093},[1678],{"type":27,"value":1679},"abs",{"type":31,"tagName":115,"properties":1681,"children":1682},{"style":803},[1683],{"type":27,"value":1684},"(Date.",{"type":31,"tagName":115,"properties":1686,"children":1687},{"style":1093},[1688],{"type":27,"value":1689},"now",{"type":31,"tagName":115,"properties":1691,"children":1692},{"style":803},[1693],{"type":27,"value":1694},"() ",{"type":31,"tagName":115,"properties":1696,"children":1697},{"style":797},[1698],{"type":27,"value":1699},"/",{"type":31,"tagName":115,"properties":1701,"children":1702},{"style":864},[1703],{"type":27,"value":1704}," 1000",{"type":31,"tagName":115,"properties":1706,"children":1707},{"style":797},[1708],{"type":27,"value":1709}," -",{"type":31,"tagName":115,"properties":1711,"children":1712},{"style":1093},[1713],{"type":27,"value":1714}," Number",{"type":31,"tagName":115,"properties":1716,"children":1717},{"style":803},[1718],{"type":27,"value":1719},"(sent)) ",{"type":31,"tagName":115,"properties":1721,"children":1722},{"style":797},[1723],{"type":27,"value":1724},"\u003C=",{"type":31,"tagName":115,"properties":1726,"children":1727},{"style":864},[1728],{"type":27,"value":1729}," 300",{"type":31,"tagName":115,"properties":1731,"children":1732},{"style":803},[1733],{"type":27,"value":1734},")) ",{"type":31,"tagName":115,"properties":1736,"children":1737},{"style":797},[1738],{"type":27,"value":1278},{"type":31,"tagName":115,"properties":1740,"children":1741},{"style":864},[1742],{"type":27,"value":1391},{"type":31,"tagName":115,"properties":1744,"children":1745},{"style":803},[1746],{"type":27,"value":822},{"type":27,"value":28},{"type":31,"tagName":115,"properties":1749,"children":1750},{"class":117},[1751,1755,1760,1764,1769,1773,1778,1783,1787,1791,1796,1800,1804,1808,1813,1817,1821,1825,1829],{"type":31,"tagName":115,"properties":1752,"children":1753},{"style":797},[1754],{"type":27,"value":1130},{"type":31,"tagName":115,"properties":1756,"children":1757},{"style":864},[1758],{"type":27,"value":1759}," hmac",{"type":31,"tagName":115,"properties":1761,"children":1762},{"style":797},[1763],{"type":27,"value":872},{"type":31,"tagName":115,"properties":1765,"children":1766},{"style":1093},[1767],{"type":27,"value":1768}," createHmac",{"type":31,"tagName":115,"properties":1770,"children":1771},{"style":803},[1772],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":1774,"children":1775},{"style":814},[1776],{"type":27,"value":1777},"\"sha256\"",{"type":31,"tagName":115,"properties":1779,"children":1780},{"style":803},[1781],{"type":27,"value":1782},", process.env.",{"type":31,"tagName":115,"properties":1784,"children":1785},{"style":864},[1786],{"type":27,"value":704},{"type":31,"tagName":115,"properties":1788,"children":1789},{"style":803},[1790],{"type":27,"value":213},{"type":31,"tagName":115,"properties":1792,"children":1793},{"style":1093},[1794],{"type":27,"value":1795},"update",{"type":31,"tagName":115,"properties":1797,"children":1798},{"style":803},[1799],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":1801,"children":1802},{"style":814},[1803],{"type":27,"value":1158},{"type":31,"tagName":115,"properties":1805,"children":1806},{"style":803},[1807],{"type":27,"value":1579},{"type":31,"tagName":115,"properties":1809,"children":1810},{"style":814},[1811],{"type":27,"value":1812},"}.${",{"type":31,"tagName":115,"properties":1814,"children":1815},{"style":803},[1816],{"type":27,"value":1597},{"type":31,"tagName":115,"properties":1818,"children":1819},{"style":814},[1820],{"type":27,"value":1812},{"type":31,"tagName":115,"properties":1822,"children":1823},{"style":803},[1824],{"type":27,"value":1548},{"type":31,"tagName":115,"properties":1826,"children":1827},{"style":814},[1828],{"type":27,"value":1191},{"type":31,"tagName":115,"properties":1830,"children":1831},{"style":803},[1832],{"type":27,"value":1485},{"type":27,"value":28},{"type":31,"tagName":115,"properties":1835,"children":1836},{"class":117},[1837,1841,1846,1850,1855,1859,1863,1868,1873,1877,1882,1886,1891,1895,1899],{"type":31,"tagName":115,"properties":1838,"children":1839},{"style":797},[1840],{"type":27,"value":1130},{"type":31,"tagName":115,"properties":1842,"children":1843},{"style":864},[1844],{"type":27,"value":1845}," expected",{"type":31,"tagName":115,"properties":1847,"children":1848},{"style":797},[1849],{"type":27,"value":872},{"type":31,"tagName":115,"properties":1851,"children":1852},{"style":803},[1853],{"type":27,"value":1854}," Buffer.",{"type":31,"tagName":115,"properties":1856,"children":1857},{"style":1093},[1858],{"type":27,"value":811},{"type":31,"tagName":115,"properties":1860,"children":1861},{"style":803},[1862],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":1864,"children":1865},{"style":814},[1866],{"type":27,"value":1867},"`v1,${",{"type":31,"tagName":115,"properties":1869,"children":1870},{"style":803},[1871],{"type":27,"value":1872},"hmac",{"type":31,"tagName":115,"properties":1874,"children":1875},{"style":814},[1876],{"type":27,"value":604},{"type":31,"tagName":115,"properties":1878,"children":1879},{"style":1093},[1880],{"type":27,"value":1881},"digest",{"type":31,"tagName":115,"properties":1883,"children":1884},{"style":814},[1885],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":1887,"children":1888},{"style":814},[1889],{"type":27,"value":1890},"\"base64\"",{"type":31,"tagName":115,"properties":1892,"children":1893},{"style":814},[1894],{"type":27,"value":1186},{"type":31,"tagName":115,"properties":1896,"children":1897},{"style":814},[1898],{"type":27,"value":1191},{"type":31,"tagName":115,"properties":1900,"children":1901},{"style":803},[1902],{"type":27,"value":1485},{"type":27,"value":28},{"type":31,"tagName":115,"properties":1905,"children":1906},{"class":117},[1907,1912,1917,1922,1926,1931,1935,1940,1945,1950,1954,1958],{"type":31,"tagName":115,"properties":1908,"children":1909},{"style":797},[1910],{"type":27,"value":1911},"  return",{"type":31,"tagName":115,"properties":1913,"children":1914},{"style":803},[1915],{"type":27,"value":1916}," signatures.",{"type":31,"tagName":115,"properties":1918,"children":1919},{"style":1093},[1920],{"type":27,"value":1921},"split",{"type":31,"tagName":115,"properties":1923,"children":1924},{"style":803},[1925],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":1927,"children":1928},{"style":814},[1929],{"type":27,"value":1930},"\" \"",{"type":31,"tagName":115,"properties":1932,"children":1933},{"style":803},[1934],{"type":27,"value":213},{"type":31,"tagName":115,"properties":1936,"children":1937},{"style":1093},[1938],{"type":27,"value":1939},"some",{"type":31,"tagName":115,"properties":1941,"children":1942},{"style":803},[1943],{"type":27,"value":1944},"((",{"type":31,"tagName":115,"properties":1946,"children":1947},{"style":1104},[1948],{"type":27,"value":1949},"entry",{"type":31,"tagName":115,"properties":1951,"children":1952},{"style":803},[1953],{"type":27,"value":1382},{"type":31,"tagName":115,"properties":1955,"children":1956},{"style":797},[1957],{"type":27,"value":1349},{"type":31,"tagName":115,"properties":1959,"children":1960},{"style":803},[1961],{"type":27,"value":1962}," {",{"type":27,"value":28},{"type":31,"tagName":115,"properties":1965,"children":1966},{"class":117},[1967,1972,1977,1981,1985,1989],{"type":31,"tagName":115,"properties":1968,"children":1969},{"style":797},[1970],{"type":27,"value":1971},"    const",{"type":31,"tagName":115,"properties":1973,"children":1974},{"style":864},[1975],{"type":27,"value":1976}," given",{"type":31,"tagName":115,"properties":1978,"children":1979},{"style":797},[1980],{"type":27,"value":872},{"type":31,"tagName":115,"properties":1982,"children":1983},{"style":803},[1984],{"type":27,"value":1854},{"type":31,"tagName":115,"properties":1986,"children":1987},{"style":1093},[1988],{"type":27,"value":811},{"type":31,"tagName":115,"properties":1990,"children":1991},{"style":803},[1992],{"type":27,"value":1993},"(entry);",{"type":27,"value":28},{"type":31,"tagName":115,"properties":1996,"children":1997},{"class":117},[1998,2003,2008,2013,2018,2023,2027,2032,2037],{"type":31,"tagName":115,"properties":1999,"children":2000},{"style":797},[2001],{"type":27,"value":2002},"    return",{"type":31,"tagName":115,"properties":2004,"children":2005},{"style":803},[2006],{"type":27,"value":2007}," given.",{"type":31,"tagName":115,"properties":2009,"children":2010},{"style":864},[2011],{"type":27,"value":2012},"length",{"type":31,"tagName":115,"properties":2014,"children":2015},{"style":797},[2016],{"type":27,"value":2017}," ===",{"type":31,"tagName":115,"properties":2019,"children":2020},{"style":803},[2021],{"type":27,"value":2022}," expected.",{"type":31,"tagName":115,"properties":2024,"children":2025},{"style":864},[2026],{"type":27,"value":2012},{"type":31,"tagName":115,"properties":2028,"children":2029},{"style":797},[2030],{"type":27,"value":2031}," &&",{"type":31,"tagName":115,"properties":2033,"children":2034},{"style":1093},[2035],{"type":27,"value":2036}," timingSafeEqual",{"type":31,"tagName":115,"properties":2038,"children":2039},{"style":803},[2040],{"type":27,"value":2041},"(given, expected);",{"type":27,"value":28},{"type":31,"tagName":115,"properties":2044,"children":2045},{"class":117},[2046],{"type":31,"tagName":115,"properties":2047,"children":2048},{"style":803},[2049],{"type":27,"value":1259},{"type":27,"value":28},{"type":31,"tagName":115,"properties":2052,"children":2053},{"class":117},[2054],{"type":31,"tagName":115,"properties":2055,"children":2056},{"style":803},[2057],{"type":27,"value":1494},{"type":27,"value":28},{"type":31,"tagName":115,"properties":2060,"children":2061},{"class":117},[],{"type":27,"value":28},{"type":31,"tagName":115,"properties":2064,"children":2065},{"class":117},[2066],{"type":31,"tagName":115,"properties":2067,"children":2068},{"style":885},[2069],{"type":27,"value":2070},"// The member's answer to your checkout field.",{"type":27,"value":28},{"type":31,"tagName":115,"properties":2073,"children":2074},{"class":117},[2075,2079,2084,2088,2093],{"type":31,"tagName":115,"properties":2076,"children":2077},{"style":797},[2078],{"type":27,"value":1525},{"type":31,"tagName":115,"properties":2080,"children":2081},{"style":1093},[2082],{"type":27,"value":2083}," usernameOf",{"type":31,"tagName":115,"properties":2085,"children":2086},{"style":803},[2087],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":2089,"children":2090},{"style":1104},[2091],{"type":27,"value":2092},"membership",{"type":31,"tagName":115,"properties":2094,"children":2095},{"style":803},[2096],{"type":27,"value":1121},{"type":27,"value":28},{"type":31,"tagName":115,"properties":2099,"children":2100},{"class":117},[2101,2105,2110,2115,2119,2124,2128,2132,2137,2141,2145,2150,2155],{"type":31,"tagName":115,"properties":2102,"children":2103},{"style":797},[2104],{"type":27,"value":1911},{"type":31,"tagName":115,"properties":2106,"children":2107},{"style":803},[2108],{"type":27,"value":2109}," membership.custom_field_responses?.",{"type":31,"tagName":115,"properties":2111,"children":2112},{"style":1093},[2113],{"type":27,"value":2114},"find",{"type":31,"tagName":115,"properties":2116,"children":2117},{"style":803},[2118],{"type":27,"value":1944},{"type":31,"tagName":115,"properties":2120,"children":2121},{"style":1104},[2122],{"type":27,"value":2123},"field",{"type":31,"tagName":115,"properties":2125,"children":2126},{"style":803},[2127],{"type":27,"value":1382},{"type":31,"tagName":115,"properties":2129,"children":2130},{"style":797},[2131],{"type":27,"value":1349},{"type":31,"tagName":115,"properties":2133,"children":2134},{"style":803},[2135],{"type":27,"value":2136}," field.question ",{"type":31,"tagName":115,"properties":2138,"children":2139},{"style":797},[2140],{"type":27,"value":1372},{"type":31,"tagName":115,"properties":2142,"children":2143},{"style":864},[2144],{"type":27,"value":901},{"type":31,"tagName":115,"properties":2146,"children":2147},{"style":803},[2148],{"type":27,"value":2149},")?.answer.",{"type":31,"tagName":115,"properties":2151,"children":2152},{"style":1093},[2153],{"type":27,"value":2154},"trim",{"type":31,"tagName":115,"properties":2156,"children":2157},{"style":803},[2158],{"type":27,"value":2159},"();",{"type":27,"value":28},{"type":31,"tagName":115,"properties":2162,"children":2163},{"class":117},[2164],{"type":31,"tagName":115,"properties":2165,"children":2166},{"style":803},[2167],{"type":27,"value":1494},{"type":27,"value":28},{"type":31,"tagName":115,"properties":2170,"children":2171},{"class":117},[],{"type":27,"value":28},{"type":31,"tagName":115,"properties":2174,"children":2175},{"class":117},[2176,2181,2185,2189,2193,2198,2202,2206,2210,2214],{"type":31,"tagName":115,"properties":2177,"children":2178},{"style":1093},[2179],{"type":27,"value":2180},"createServer",{"type":31,"tagName":115,"properties":2182,"children":2183},{"style":803},[2184],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":2186,"children":2187},{"style":797},[2188],{"type":27,"value":1085},{"type":31,"tagName":115,"properties":2190,"children":2191},{"style":803},[2192],{"type":27,"value":377},{"type":31,"tagName":115,"properties":2194,"children":2195},{"style":1104},[2196],{"type":27,"value":2197},"req",{"type":31,"tagName":115,"properties":2199,"children":2200},{"style":803},[2201],{"type":27,"value":530},{"type":31,"tagName":115,"properties":2203,"children":2204},{"style":1104},[2205],{"type":27,"value":1445},{"type":31,"tagName":115,"properties":2207,"children":2208},{"style":803},[2209],{"type":27,"value":1382},{"type":31,"tagName":115,"properties":2211,"children":2212},{"style":797},[2213],{"type":27,"value":1349},{"type":31,"tagName":115,"properties":2215,"children":2216},{"style":803},[2217],{"type":27,"value":1962},{"type":27,"value":28},{"type":31,"tagName":115,"properties":2220,"children":2221},{"class":117},[2222,2226,2231,2235],{"type":31,"tagName":115,"properties":2223,"children":2224},{"style":797},[2225],{"type":27,"value":1130},{"type":31,"tagName":115,"properties":2227,"children":2228},{"style":864},[2229],{"type":27,"value":2230}," chunks",{"type":31,"tagName":115,"properties":2232,"children":2233},{"style":797},[2234],{"type":27,"value":872},{"type":31,"tagName":115,"properties":2236,"children":2237},{"style":803},[2238],{"type":27,"value":2239}," [];",{"type":27,"value":28},{"type":31,"tagName":115,"properties":2242,"children":2243},{"class":117},[2244,2249,2253,2257,2261,2266,2271,2276,2281],{"type":31,"tagName":115,"properties":2245,"children":2246},{"style":797},[2247],{"type":27,"value":2248},"  for",{"type":31,"tagName":115,"properties":2250,"children":2251},{"style":797},[2252],{"type":27,"value":1144},{"type":31,"tagName":115,"properties":2254,"children":2255},{"style":803},[2256],{"type":27,"value":377},{"type":31,"tagName":115,"properties":2258,"children":2259},{"style":797},[2260],{"type":27,"value":861},{"type":31,"tagName":115,"properties":2262,"children":2263},{"style":864},[2264],{"type":27,"value":2265}," chunk",{"type":31,"tagName":115,"properties":2267,"children":2268},{"style":797},[2269],{"type":27,"value":2270}," of",{"type":31,"tagName":115,"properties":2272,"children":2273},{"style":803},[2274],{"type":27,"value":2275}," req) chunks.",{"type":31,"tagName":115,"properties":2277,"children":2278},{"style":1093},[2279],{"type":27,"value":2280},"push",{"type":31,"tagName":115,"properties":2282,"children":2283},{"style":803},[2284],{"type":27,"value":2285},"(chunk);",{"type":27,"value":28},{"type":31,"tagName":115,"properties":2288,"children":2289},{"class":117},[2290,2294,2299,2303,2307,2312,2317,2322],{"type":31,"tagName":115,"properties":2291,"children":2292},{"style":797},[2293],{"type":27,"value":1130},{"type":31,"tagName":115,"properties":2295,"children":2296},{"style":864},[2297],{"type":27,"value":2298}," body",{"type":31,"tagName":115,"properties":2300,"children":2301},{"style":797},[2302],{"type":27,"value":872},{"type":31,"tagName":115,"properties":2304,"children":2305},{"style":803},[2306],{"type":27,"value":1854},{"type":31,"tagName":115,"properties":2308,"children":2309},{"style":1093},[2310],{"type":27,"value":2311},"concat",{"type":31,"tagName":115,"properties":2313,"children":2314},{"style":803},[2315],{"type":27,"value":2316},"(chunks).",{"type":31,"tagName":115,"properties":2318,"children":2319},{"style":1093},[2320],{"type":27,"value":2321},"toString",{"type":31,"tagName":115,"properties":2323,"children":2324},{"style":803},[2325],{"type":27,"value":2159},{"type":27,"value":28},{"type":31,"tagName":115,"properties":2328,"children":2329},{"class":117},[2330,2334,2338,2342,2347,2352,2356,2360,2365,2369,2374,2378,2383],{"type":31,"tagName":115,"properties":2331,"children":2332},{"style":797},[2333],{"type":27,"value":1268},{"type":31,"tagName":115,"properties":2335,"children":2336},{"style":803},[2337],{"type":27,"value":377},{"type":31,"tagName":115,"properties":2339,"children":2340},{"style":797},[2341],{"type":27,"value":1654},{"type":31,"tagName":115,"properties":2343,"children":2344},{"style":1093},[2345],{"type":27,"value":2346},"signedByWhop",{"type":31,"tagName":115,"properties":2348,"children":2349},{"style":803},[2350],{"type":27,"value":2351},"(req.headers, body)) ",{"type":31,"tagName":115,"properties":2353,"children":2354},{"style":797},[2355],{"type":27,"value":1278},{"type":31,"tagName":115,"properties":2357,"children":2358},{"style":803},[2359],{"type":27,"value":1324},{"type":31,"tagName":115,"properties":2361,"children":2362},{"style":1093},[2363],{"type":27,"value":2364},"writeHead",{"type":31,"tagName":115,"properties":2366,"children":2367},{"style":803},[2368],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":2370,"children":2371},{"style":864},[2372],{"type":27,"value":2373},"401",{"type":31,"tagName":115,"properties":2375,"children":2376},{"style":803},[2377],{"type":27,"value":213},{"type":31,"tagName":115,"properties":2379,"children":2380},{"style":1093},[2381],{"type":27,"value":2382},"end",{"type":31,"tagName":115,"properties":2384,"children":2385},{"style":803},[2386],{"type":27,"value":2159},{"type":27,"value":28},{"type":31,"tagName":115,"properties":2389,"children":2390},{"class":117},[2391,2395,2399,2404,2408,2413,2417,2421,2426,2430,2435],{"type":31,"tagName":115,"properties":2392,"children":2393},{"style":797},[2394],{"type":27,"value":1130},{"type":31,"tagName":115,"properties":2396,"children":2397},{"style":803},[2398],{"type":27,"value":1300},{"type":31,"tagName":115,"properties":2400,"children":2401},{"style":864},[2402],{"type":27,"value":2403},"type",{"type":31,"tagName":115,"properties":2405,"children":2406},{"style":803},[2407],{"type":27,"value":530},{"type":31,"tagName":115,"properties":2409,"children":2410},{"style":864},[2411],{"type":27,"value":2412},"data",{"type":31,"tagName":115,"properties":2414,"children":2415},{"style":803},[2416],{"type":27,"value":1310},{"type":31,"tagName":115,"properties":2418,"children":2419},{"style":797},[2420],{"type":27,"value":1315},{"type":31,"tagName":115,"properties":2422,"children":2423},{"style":864},[2424],{"type":27,"value":2425}," JSON",{"type":31,"tagName":115,"properties":2427,"children":2428},{"style":803},[2429],{"type":27,"value":604},{"type":31,"tagName":115,"properties":2431,"children":2432},{"style":1093},[2433],{"type":27,"value":2434},"parse",{"type":31,"tagName":115,"properties":2436,"children":2437},{"style":803},[2438],{"type":27,"value":2439},"(body);",{"type":27,"value":28},{"type":31,"tagName":115,"properties":2442,"children":2443},{"class":117},[2444,2448,2453,2457,2462,2466,2471,2476,2480,2485,2490,2495],{"type":31,"tagName":115,"properties":2445,"children":2446},{"style":797},[2447],{"type":27,"value":1130},{"type":31,"tagName":115,"properties":2449,"children":2450},{"style":864},[2451],{"type":27,"value":2452}," username",{"type":31,"tagName":115,"properties":2454,"children":2455},{"style":797},[2456],{"type":27,"value":872},{"type":31,"tagName":115,"properties":2458,"children":2459},{"style":803},[2460],{"type":27,"value":2461}," type ",{"type":31,"tagName":115,"properties":2463,"children":2464},{"style":797},[2465],{"type":27,"value":1372},{"type":31,"tagName":115,"properties":2467,"children":2468},{"style":814},[2469],{"type":27,"value":2470}," \"membership.updated\"",{"type":31,"tagName":115,"properties":2472,"children":2473},{"style":797},[2474],{"type":27,"value":2475}," ?",{"type":31,"tagName":115,"properties":2477,"children":2478},{"style":1093},[2479],{"type":27,"value":2083},{"type":31,"tagName":115,"properties":2481,"children":2482},{"style":803},[2483],{"type":27,"value":2484},"(data) ",{"type":31,"tagName":115,"properties":2486,"children":2487},{"style":797},[2488],{"type":27,"value":2489},":",{"type":31,"tagName":115,"properties":2491,"children":2492},{"style":864},[2493],{"type":27,"value":2494}," undefined",{"type":31,"tagName":115,"properties":2496,"children":2497},{"style":803},[2498],{"type":27,"value":822},{"type":27,"value":28},{"type":31,"tagName":115,"properties":2501,"children":2502},{"class":117},[2503,2508],{"type":31,"tagName":115,"properties":2504,"children":2505},{"style":797},[2506],{"type":27,"value":2507},"  try",{"type":31,"tagName":115,"properties":2509,"children":2510},{"style":803},[2511],{"type":27,"value":1962},{"type":27,"value":28},{"type":31,"tagName":115,"properties":2514,"children":2515},{"class":117},[2516,2521,2526,2531,2535,2539,2544,2549,2553,2557,2561,2566,2570,2574,2579],{"type":31,"tagName":115,"properties":2517,"children":2518},{"style":797},[2519],{"type":27,"value":2520},"    if",{"type":31,"tagName":115,"properties":2522,"children":2523},{"style":803},[2524],{"type":27,"value":2525}," (username ",{"type":31,"tagName":115,"properties":2527,"children":2528},{"style":797},[2529],{"type":27,"value":2530},"&&",{"type":31,"tagName":115,"properties":2532,"children":2533},{"style":864},[2534],{"type":27,"value":932},{"type":31,"tagName":115,"properties":2536,"children":2537},{"style":803},[2538],{"type":27,"value":604},{"type":31,"tagName":115,"properties":2540,"children":2541},{"style":1093},[2542],{"type":27,"value":2543},"includes",{"type":31,"tagName":115,"properties":2545,"children":2546},{"style":803},[2547],{"type":27,"value":2548},"(data.status) ",{"type":31,"tagName":115,"properties":2550,"children":2551},{"style":797},[2552],{"type":27,"value":2530},{"type":31,"tagName":115,"properties":2554,"children":2555},{"style":797},[2556],{"type":27,"value":1669},{"type":31,"tagName":115,"properties":2558,"children":2559},{"style":803},[2560],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":2562,"children":2563},{"style":797},[2564],{"type":27,"value":2565},"await",{"type":31,"tagName":115,"properties":2567,"children":2568},{"style":1093},[2569],{"type":27,"value":1096},{"type":31,"tagName":115,"properties":2571,"children":2572},{"style":803},[2573],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":2575,"children":2576},{"style":814},[2577],{"type":27,"value":2578},"\"PUT\"",{"type":31,"tagName":115,"properties":2580,"children":2581},{"style":803},[2582],{"type":27,"value":2583},", username))) {",{"type":27,"value":28},{"type":31,"tagName":115,"properties":2586,"children":2587},{"class":117},[2588,2593,2598,2602,2606,2610,2615,2619,2623,2627,2632],{"type":31,"tagName":115,"properties":2589,"children":2590},{"style":803},[2591],{"type":27,"value":2592},"      console.",{"type":31,"tagName":115,"properties":2594,"children":2595},{"style":1093},[2596],{"type":27,"value":2597},"warn",{"type":31,"tagName":115,"properties":2599,"children":2600},{"style":803},[2601],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":2603,"children":2604},{"style":814},[2605],{"type":27,"value":1158},{"type":31,"tagName":115,"properties":2607,"children":2608},{"style":803},[2609],{"type":27,"value":1116},{"type":31,"tagName":115,"properties":2611,"children":2612},{"style":814},[2613],{"type":27,"value":2614},"} is not an OpenMarket username (Whop membership ${",{"type":31,"tagName":115,"properties":2616,"children":2617},{"style":803},[2618],{"type":27,"value":2412},{"type":31,"tagName":115,"properties":2620,"children":2621},{"style":814},[2622],{"type":27,"value":604},{"type":31,"tagName":115,"properties":2624,"children":2625},{"style":803},[2626],{"type":27,"value":1579},{"type":31,"tagName":115,"properties":2628,"children":2629},{"style":814},[2630],{"type":27,"value":2631},"})`",{"type":31,"tagName":115,"properties":2633,"children":2634},{"style":803},[2635],{"type":27,"value":1485},{"type":27,"value":28},{"type":31,"tagName":115,"properties":2638,"children":2639},{"class":117},[2640],{"type":31,"tagName":115,"properties":2641,"children":2642},{"style":803},[2643],{"type":27,"value":2644},"    }",{"type":27,"value":28},{"type":31,"tagName":115,"properties":2647,"children":2648},{"class":117},[2649,2653,2657,2661,2665,2669,2673,2678,2682,2686,2690,2695],{"type":31,"tagName":115,"properties":2650,"children":2651},{"style":797},[2652],{"type":27,"value":2520},{"type":31,"tagName":115,"properties":2654,"children":2655},{"style":803},[2656],{"type":27,"value":2525},{"type":31,"tagName":115,"properties":2658,"children":2659},{"style":797},[2660],{"type":27,"value":2530},{"type":31,"tagName":115,"properties":2662,"children":2663},{"style":864},[2664],{"type":27,"value":996},{"type":31,"tagName":115,"properties":2666,"children":2667},{"style":803},[2668],{"type":27,"value":604},{"type":31,"tagName":115,"properties":2670,"children":2671},{"style":1093},[2672],{"type":27,"value":2543},{"type":31,"tagName":115,"properties":2674,"children":2675},{"style":803},[2676],{"type":27,"value":2677},"(data.status)) ",{"type":31,"tagName":115,"properties":2679,"children":2680},{"style":797},[2681],{"type":27,"value":2565},{"type":31,"tagName":115,"properties":2683,"children":2684},{"style":1093},[2685],{"type":27,"value":1096},{"type":31,"tagName":115,"properties":2687,"children":2688},{"style":803},[2689],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":2691,"children":2692},{"style":814},[2693],{"type":27,"value":2694},"\"DELETE\"",{"type":31,"tagName":115,"properties":2696,"children":2697},{"style":803},[2698],{"type":27,"value":2699},", username);",{"type":27,"value":28},{"type":31,"tagName":115,"properties":2702,"children":2703},{"class":117},[2704,2709,2713,2717,2722,2726,2730],{"type":31,"tagName":115,"properties":2705,"children":2706},{"style":803},[2707],{"type":27,"value":2708},"    res.",{"type":31,"tagName":115,"properties":2710,"children":2711},{"style":1093},[2712],{"type":27,"value":2364},{"type":31,"tagName":115,"properties":2714,"children":2715},{"style":803},[2716],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":2718,"children":2719},{"style":864},[2720],{"type":27,"value":2721},"200",{"type":31,"tagName":115,"properties":2723,"children":2724},{"style":803},[2725],{"type":27,"value":213},{"type":31,"tagName":115,"properties":2727,"children":2728},{"style":1093},[2729],{"type":27,"value":2382},{"type":31,"tagName":115,"properties":2731,"children":2732},{"style":803},[2733],{"type":27,"value":2159},{"type":27,"value":28},{"type":31,"tagName":115,"properties":2736,"children":2737},{"class":117},[2738,2743,2747],{"type":31,"tagName":115,"properties":2739,"children":2740},{"style":803},[2741],{"type":27,"value":2742},"  } ",{"type":31,"tagName":115,"properties":2744,"children":2745},{"style":797},[2746],{"type":27,"value":1339},{"type":31,"tagName":115,"properties":2748,"children":2749},{"style":803},[2750],{"type":27,"value":2751}," (error) {",{"type":27,"value":28},{"type":31,"tagName":115,"properties":2754,"children":2755},{"class":117},[2756,2761,2765],{"type":31,"tagName":115,"properties":2757,"children":2758},{"style":803},[2759],{"type":27,"value":2760},"    console.",{"type":31,"tagName":115,"properties":2762,"children":2763},{"style":1093},[2764],{"type":27,"value":1305},{"type":31,"tagName":115,"properties":2766,"children":2767},{"style":803},[2768],{"type":27,"value":2769},"(error);",{"type":27,"value":28},{"type":31,"tagName":115,"properties":2772,"children":2773},{"class":117},[2774,2778,2782,2786,2791,2795,2799,2804],{"type":31,"tagName":115,"properties":2775,"children":2776},{"style":803},[2777],{"type":27,"value":2708},{"type":31,"tagName":115,"properties":2779,"children":2780},{"style":1093},[2781],{"type":27,"value":2364},{"type":31,"tagName":115,"properties":2783,"children":2784},{"style":803},[2785],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":2787,"children":2788},{"style":864},[2789],{"type":27,"value":2790},"500",{"type":31,"tagName":115,"properties":2792,"children":2793},{"style":803},[2794],{"type":27,"value":213},{"type":31,"tagName":115,"properties":2796,"children":2797},{"style":1093},[2798],{"type":27,"value":2382},{"type":31,"tagName":115,"properties":2800,"children":2801},{"style":803},[2802],{"type":27,"value":2803},"(); ",{"type":31,"tagName":115,"properties":2805,"children":2806},{"style":885},[2807],{"type":27,"value":2808},"// Whop sends the event again later",{"type":27,"value":28},{"type":31,"tagName":115,"properties":2811,"children":2812},{"class":117},[2813],{"type":31,"tagName":115,"properties":2814,"children":2815},{"style":803},[2816],{"type":27,"value":2817},"  }",{"type":27,"value":28},{"type":31,"tagName":115,"properties":2820,"children":2821},{"class":117},[2822,2827,2832,2836,2841,2846,2851,2855,2860],{"type":31,"tagName":115,"properties":2823,"children":2824},{"style":803},[2825],{"type":27,"value":2826},"}).",{"type":31,"tagName":115,"properties":2828,"children":2829},{"style":1093},[2830],{"type":27,"value":2831},"listen",{"type":31,"tagName":115,"properties":2833,"children":2834},{"style":803},[2835],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":2837,"children":2838},{"style":1093},[2839],{"type":27,"value":2840},"Number",{"type":31,"tagName":115,"properties":2842,"children":2843},{"style":803},[2844],{"type":27,"value":2845},"(process.env.",{"type":31,"tagName":115,"properties":2847,"children":2848},{"style":864},[2849],{"type":27,"value":2850},"PORT",{"type":31,"tagName":115,"properties":2852,"children":2853},{"style":797},[2854],{"type":27,"value":1475},{"type":31,"tagName":115,"properties":2856,"children":2857},{"style":864},[2858],{"type":27,"value":2859}," 3000",{"type":31,"tagName":115,"properties":2861,"children":2862},{"style":803},[2863],{"type":27,"value":2864},"));",{"type":27,"value":28},{"type":31,"tagName":32,"properties":2867,"children":2868,"position":2917},{},[2869,2877,2890,2898,2910],{"type":27,"value":2870,"position":2871},"If your webhook's payload carries no ",{"start":2872,"end":2875},{"line":2873,"column":21,"offset":2874},118,5238,{"line":2873,"column":359,"offset":2876},5275,{"type":31,"tagName":109,"properties":2878,"children":2879,"position":2887},{},[2880],{"type":27,"value":2881,"position":2882},"custom_field_responses",{"start":2883,"end":2884},{"line":2873,"column":359,"offset":2876},{"line":2873,"column":2885,"offset":2886},62,5299,{"start":2888,"end":2889},{"line":2873,"column":359,"offset":2876},{"line":2873,"column":2885,"offset":2886},{"type":27,"value":2891,"position":2892}," (newer Whop API\nversions leave them out), ",{"start":2893,"end":2894},{"line":2873,"column":2885,"offset":2886},{"line":2895,"column":2896,"offset":2897},119,27,5342,{"type":31,"tagName":109,"properties":2899,"children":2900,"position":2907},{},[2901],{"type":27,"value":2902,"position":2903},"usernameOf",{"start":2904,"end":2905},{"line":2895,"column":2896,"offset":2897},{"line":2895,"column":362,"offset":2906},5354,{"start":2908,"end":2909},{"line":2895,"column":2896,"offset":2897},{"line":2895,"column":362,"offset":2906},{"type":27,"value":2911,"position":2912}," is the one function to change.",{"start":2913,"end":2914},{"line":2895,"column":362,"offset":2906},{"line":2895,"column":2915,"offset":2916},70,5385,{"start":2918,"end":2919},{"line":2873,"column":21,"offset":2874},{"line":2895,"column":2915,"offset":2916},{"type":27,"value":28},{"type":31,"tagName":32,"properties":2922,"children":2923,"position":2933},{},[2924],{"type":27,"value":2925,"position":2926},"A username that matches no OpenMarket account is logged, so you can ask that\nmember again. Any other failure answers Whop with an error, and Whop sends\nthe event again later.",{"start":2927,"end":2930},{"line":2928,"column":21,"offset":2929},121,5387,{"line":2931,"column":168,"offset":2932},123,5561,{"start":2934,"end":2935},{"line":2928,"column":21,"offset":2929},{"line":2931,"column":168,"offset":2932},{"type":27,"value":28},{"type":31,"tagName":65,"properties":2938,"children":2939,"position":2947},{},[2940],{"type":27,"value":303,"position":2941},{"start":2942,"end":2945},{"line":2943,"column":73,"offset":2944},125,5566,{"line":2943,"column":283,"offset":2946},5573,{"start":2948,"end":2950},{"line":2943,"column":21,"offset":2949},5563,{"line":2943,"column":283,"offset":2946},{"type":27,"value":28},{"type":31,"tagName":32,"properties":2953,"children":2954,"position":2985},{},[2955,2964,2977],{"type":27,"value":2956,"position":2957},"A bot watches your paid role. A member who gets the role is added; one who\nloses it, or leaves the server, is removed. ",{"start":2958,"end":2961},{"line":2959,"column":21,"offset":2960},127,5575,{"line":2962,"column":453,"offset":2963},128,5694,{"type":31,"tagName":109,"properties":2965,"children":2966,"position":2974},{},[2967],{"type":27,"value":2968,"position":2969},"/openmarket",{"start":2970,"end":2971},{"line":2962,"column":453,"offset":2963},{"line":2962,"column":2972,"offset":2973},58,5707,{"start":2975,"end":2976},{"line":2962,"column":453,"offset":2963},{"line":2962,"column":2972,"offset":2973},{"type":27,"value":2978,"position":2979}," saves the member's\nusername and, if they already have the role, adds them at once.",{"start":2980,"end":2981},{"line":2962,"column":2972,"offset":2973},{"line":2982,"column":2983,"offset":2984},129,64,5790,{"start":2986,"end":2987},{"line":2959,"column":21,"offset":2960},{"line":2982,"column":2983,"offset":2984},{"type":27,"value":28},{"type":31,"tagName":614,"properties":2990,"children":2991,"position":3172},{},[2992,2993,3051,3052,3102,3103,3171],{"type":27,"value":28},{"type":31,"tagName":263,"properties":2994,"children":2995,"position":3047},{},[2996,3004,3018,3025,3040],{"type":27,"value":2997,"position":2998},"In the Discord Developer Portal, on your app's ",{"start":2999,"end":3002},{"line":3000,"column":73,"offset":3001},131,5795,{"line":3000,"column":217,"offset":3003},5842,{"type":31,"tagName":267,"properties":3005,"children":3006,"position":3014},{},[3007],{"type":27,"value":3008,"position":3009},"Bot",{"start":3010,"end":3012},{"line":3000,"column":58,"offset":3011},5844,{"line":3000,"column":751,"offset":3013},5847,{"start":3015,"end":3016},{"line":3000,"column":217,"offset":3003},{"line":3000,"column":2972,"offset":3017},5849,{"type":27,"value":3019,"position":3020}," page, turn on\n",{"start":3021,"end":3022},{"line":3000,"column":2972,"offset":3017},{"line":3023,"column":21,"offset":3024},132,5864,{"type":31,"tagName":267,"properties":3026,"children":3027,"position":3035},{},[3028],{"type":27,"value":3029,"position":3030},"Server Members Intent",{"start":3031,"end":3033},{"line":3023,"column":93,"offset":3032},5869,{"line":3023,"column":2896,"offset":3034},5890,{"start":3036,"end":3038},{"line":3023,"column":73,"offset":3037},5867,{"line":3023,"column":321,"offset":3039},5892,{"type":27,"value":3041,"position":3042},". The bot needs it to see role changes.",{"start":3043,"end":3044},{"line":3023,"column":321,"offset":3039},{"line":3023,"column":3045,"offset":3046},68,5931,{"start":3048,"end":3050},{"line":3000,"column":21,"offset":3049},5792,{"line":3023,"column":3045,"offset":3046},{"type":27,"value":28},{"type":31,"tagName":263,"properties":3053,"children":3054,"position":3098},{},[3055,3062,3074,3081,3093],{"type":27,"value":748,"position":3056},{"start":3057,"end":3060},{"line":3058,"column":73,"offset":3059},133,5935,{"line":3058,"column":57,"offset":3061},5939,{"type":31,"tagName":109,"properties":3063,"children":3064,"position":3071},{},[3065],{"type":27,"value":3066,"position":3067},"npm install discord.js@14",{"start":3068,"end":3069},{"line":3058,"column":57,"offset":3061},{"line":3058,"column":306,"offset":3070},5966,{"start":3072,"end":3073},{"line":3058,"column":57,"offset":3061},{"line":3058,"column":306,"offset":3070},{"type":27,"value":3075,"position":3076},", and save the bot as ",{"start":3077,"end":3078},{"line":3058,"column":306,"offset":3070},{"line":3058,"column":3079,"offset":3080},57,5988,{"type":31,"tagName":109,"properties":3082,"children":3083,"position":3090},{},[3084],{"type":27,"value":3085,"position":3086},"bot.mjs",{"start":3087,"end":3088},{"line":3058,"column":3079,"offset":3080},{"line":3058,"column":496,"offset":3089},5997,{"start":3091,"end":3092},{"line":3058,"column":3079,"offset":3080},{"line":3058,"column":496,"offset":3089},{"type":27,"value":604,"position":3094},{"start":3095,"end":3096},{"line":3058,"column":496,"offset":3089},{"line":3058,"column":251,"offset":3097},5998,{"start":3099,"end":3101},{"line":3058,"column":21,"offset":3100},5932,{"line":3058,"column":251,"offset":3097},{"type":27,"value":28},{"type":31,"tagName":263,"properties":3104,"children":3105,"position":3167},{},[3106,3114,3125,3131,3143,3150,3162],{"type":27,"value":3107,"position":3108},"Set ",{"start":3109,"end":3112},{"line":3110,"column":73,"offset":3111},134,6002,{"line":3110,"column":57,"offset":3113},6006,{"type":31,"tagName":109,"properties":3115,"children":3116,"position":3122},{},[3117],{"type":27,"value":686,"position":3118},{"start":3119,"end":3120},{"line":3110,"column":57,"offset":3113},{"line":3110,"column":250,"offset":3121},6029,{"start":3123,"end":3124},{"line":3110,"column":57,"offset":3113},{"line":3110,"column":250,"offset":3121},{"type":27,"value":3126,"position":3127}," and ",{"start":3128,"end":3129},{"line":3110,"column":250,"offset":3121},{"line":3110,"column":340,"offset":3130},6034,{"type":31,"tagName":109,"properties":3132,"children":3133,"position":3140},{},[3134],{"type":27,"value":3135,"position":3136},"DISCORD_TOKEN",{"start":3137,"end":3138},{"line":3110,"column":340,"offset":3130},{"line":3110,"column":217,"offset":3139},6049,{"start":3141,"end":3142},{"line":3110,"column":340,"offset":3130},{"line":3110,"column":217,"offset":3139},{"type":27,"value":3144,"position":3145},", and run ",{"start":3146,"end":3147},{"line":3110,"column":217,"offset":3139},{"line":3110,"column":3148,"offset":3149},61,6059,{"type":31,"tagName":109,"properties":3151,"children":3152,"position":3159},{},[3153],{"type":27,"value":3154,"position":3155},"node bot.mjs",{"start":3156,"end":3157},{"line":3110,"column":3148,"offset":3149},{"line":3110,"column":579,"offset":3158},6073,{"start":3160,"end":3161},{"line":3110,"column":3148,"offset":3149},{"line":3110,"column":579,"offset":3158},{"type":27,"value":604,"position":3163},{"start":3164,"end":3165},{"line":3110,"column":579,"offset":3158},{"line":3110,"column":506,"offset":3166},6074,{"start":3168,"end":3170},{"line":3110,"column":21,"offset":3169},5999,{"line":3110,"column":506,"offset":3166},{"type":27,"value":28},{"start":3173,"end":3174},{"line":3000,"column":21,"offset":3049},{"line":3110,"column":506,"offset":3166},{"type":27,"value":28},{"type":14,"children":3177},[3178],{"type":31,"tagName":102,"properties":3179,"children":3180,"data":-1},{"class":104,"style":105,"tabindex":106},[3181],{"type":31,"tagName":109,"properties":3182,"children":3184},{"class":3183},[790],[3185,3210,3211,3214,3215,3242,3243,3273,3274,3305,3306,3309,3310,3344,3345,3348,3349,3356,3357,3392,3393,3456,3457,3464,3465,3504,3505,3512,3513,3536,3537,3592,3593,3628,3629,3708,3709,3716,3717,3720,3721,3797,3798,3801,3802,3832,3833,3859,3860,3885,3886,3915,3916,3977,3978,3986,3987,3990,3991,4021,4022,4025,4026,4061,4062,4101,4102,4129,4130,4152,4153,4160,4161,4169,4170,4173,4174,4225,4226,4256,4257,4341,4342,4349,4350,4353,4354,4394,4395,4423,4424,4468,4469,4476,4477,4480,4481,4522,4523,4582,4583,4606,4607,4660,4661,4690,4691,4708,4709,4745,4746,4757,4758,4778,4779,4831,4832,4869,4870,4883,4884,4901,4902,4909,4910,4925,4926,4941,4942,4963,4964,4971,4972,4993,4994,5001,5002,5005,5006,5032,5033],{"type":31,"tagName":115,"properties":3186,"children":3187},{"class":117},[3188,3192,3197,3201,3206],{"type":31,"tagName":115,"properties":3189,"children":3190},{"style":797},[3191],{"type":27,"value":800},{"type":31,"tagName":115,"properties":3193,"children":3194},{"style":803},[3195],{"type":27,"value":3196}," { Client, Events, GatewayIntentBits, MessageFlags, SlashCommandBuilder } ",{"type":31,"tagName":115,"properties":3198,"children":3199},{"style":797},[3200],{"type":27,"value":811},{"type":31,"tagName":115,"properties":3202,"children":3203},{"style":814},[3204],{"type":27,"value":3205}," \"discord.js\"",{"type":31,"tagName":115,"properties":3207,"children":3208},{"style":803},[3209],{"type":27,"value":822},{"type":27,"value":28},{"type":31,"tagName":115,"properties":3212,"children":3213},{"class":117},[],{"type":27,"value":28},{"type":31,"tagName":115,"properties":3216,"children":3217},{"class":117},[3218,3222,3226,3230,3234,3238],{"type":31,"tagName":115,"properties":3219,"children":3220},{"style":797},[3221],{"type":27,"value":861},{"type":31,"tagName":115,"properties":3223,"children":3224},{"style":864},[3225],{"type":27,"value":867},{"type":31,"tagName":115,"properties":3227,"children":3228},{"style":797},[3229],{"type":27,"value":872},{"type":31,"tagName":115,"properties":3231,"children":3232},{"style":814},[3233],{"type":27,"value":877},{"type":31,"tagName":115,"properties":3235,"children":3236},{"style":803},[3237],{"type":27,"value":882},{"type":31,"tagName":115,"properties":3239,"children":3240},{"style":885},[3241],{"type":27,"value":888},{"type":27,"value":28},{"type":31,"tagName":115,"properties":3244,"children":3245},{"class":117},[3246,3250,3255,3259,3264,3268],{"type":31,"tagName":115,"properties":3247,"children":3248},{"style":797},[3249],{"type":27,"value":861},{"type":31,"tagName":115,"properties":3251,"children":3252},{"style":864},[3253],{"type":27,"value":3254}," PAID_ROLE",{"type":31,"tagName":115,"properties":3256,"children":3257},{"style":797},[3258],{"type":27,"value":872},{"type":31,"tagName":115,"properties":3260,"children":3261},{"style":814},[3262],{"type":27,"value":3263}," \"Premium\"",{"type":31,"tagName":115,"properties":3265,"children":3266},{"style":803},[3267],{"type":27,"value":882},{"type":31,"tagName":115,"properties":3269,"children":3270},{"style":885},[3271],{"type":27,"value":3272},"// the role your members pay for",{"type":27,"value":28},{"type":31,"tagName":115,"properties":3275,"children":3276},{"class":117},[3277,3281,3285,3289,3293,3297,3301],{"type":31,"tagName":115,"properties":3278,"children":3279},{"style":797},[3280],{"type":27,"value":861},{"type":31,"tagName":115,"properties":3282,"children":3283},{"style":864},[3284],{"type":27,"value":1040},{"type":31,"tagName":115,"properties":3286,"children":3287},{"style":797},[3288],{"type":27,"value":872},{"type":31,"tagName":115,"properties":3290,"children":3291},{"style":814},[3292],{"type":27,"value":1049},{"type":31,"tagName":115,"properties":3294,"children":3295},{"style":864},[3296],{"type":27,"value":1054},{"type":31,"tagName":115,"properties":3298,"children":3299},{"style":814},[3300],{"type":27,"value":1059},{"type":31,"tagName":115,"properties":3302,"children":3303},{"style":803},[3304],{"type":27,"value":822},{"type":27,"value":28},{"type":31,"tagName":115,"properties":3307,"children":3308},{"class":117},[],{"type":27,"value":28},{"type":31,"tagName":115,"properties":3311,"children":3312},{"class":117},[3313,3317,3322,3326,3330,3335,3339],{"type":31,"tagName":115,"properties":3314,"children":3315},{"style":797},[3316],{"type":27,"value":861},{"type":31,"tagName":115,"properties":3318,"children":3319},{"style":864},[3320],{"type":27,"value":3321}," usernames",{"type":31,"tagName":115,"properties":3323,"children":3324},{"style":797},[3325],{"type":27,"value":872},{"type":31,"tagName":115,"properties":3327,"children":3328},{"style":797},[3329],{"type":27,"value":1409},{"type":31,"tagName":115,"properties":3331,"children":3332},{"style":1093},[3333],{"type":27,"value":3334}," Map",{"type":31,"tagName":115,"properties":3336,"children":3337},{"style":803},[3338],{"type":27,"value":2803},{"type":31,"tagName":115,"properties":3340,"children":3341},{"style":885},[3342],{"type":27,"value":3343},"// Discord user id to OpenMarket username",{"type":27,"value":28},{"type":31,"tagName":115,"properties":3346,"children":3347},{"class":117},[],{"type":27,"value":28},{"type":31,"tagName":115,"properties":3350,"children":3351},{"class":117},[3352],{"type":31,"tagName":115,"properties":3353,"children":3354},{"style":885},[3355],{"type":27,"value":1076},{"type":27,"value":28},{"type":31,"tagName":115,"properties":3358,"children":3359},{"class":117},[3360,3364,3368,3372,3376,3380,3384,3388],{"type":31,"tagName":115,"properties":3361,"children":3362},{"style":797},[3363],{"type":27,"value":1085},{"type":31,"tagName":115,"properties":3365,"children":3366},{"style":797},[3367],{"type":27,"value":1090},{"type":31,"tagName":115,"properties":3369,"children":3370},{"style":1093},[3371],{"type":27,"value":1096},{"type":31,"tagName":115,"properties":3373,"children":3374},{"style":803},[3375],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":3377,"children":3378},{"style":1104},[3379],{"type":27,"value":1107},{"type":31,"tagName":115,"properties":3381,"children":3382},{"style":803},[3383],{"type":27,"value":530},{"type":31,"tagName":115,"properties":3385,"children":3386},{"style":1104},[3387],{"type":27,"value":1116},{"type":31,"tagName":115,"properties":3389,"children":3390},{"style":803},[3391],{"type":27,"value":1121},{"type":27,"value":28},{"type":31,"tagName":115,"properties":3394,"children":3395},{"class":117},[3396,3400,3404,3408,3412,3416,3420,3424,3428,3432,3436,3440,3444,3448,3452],{"type":31,"tagName":115,"properties":3397,"children":3398},{"style":797},[3399],{"type":27,"value":1130},{"type":31,"tagName":115,"properties":3401,"children":3402},{"style":864},[3403],{"type":27,"value":1135},{"type":31,"tagName":115,"properties":3405,"children":3406},{"style":797},[3407],{"type":27,"value":872},{"type":31,"tagName":115,"properties":3409,"children":3410},{"style":797},[3411],{"type":27,"value":1144},{"type":31,"tagName":115,"properties":3413,"children":3414},{"style":1093},[3415],{"type":27,"value":1149},{"type":31,"tagName":115,"properties":3417,"children":3418},{"style":803},[3419],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":3421,"children":3422},{"style":814},[3423],{"type":27,"value":1158},{"type":31,"tagName":115,"properties":3425,"children":3426},{"style":864},[3427],{"type":27,"value":1163},{"type":31,"tagName":115,"properties":3429,"children":3430},{"style":814},[3431],{"type":27,"value":1168},{"type":31,"tagName":115,"properties":3433,"children":3434},{"style":1093},[3435],{"type":27,"value":1173},{"type":31,"tagName":115,"properties":3437,"children":3438},{"style":814},[3439],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":3441,"children":3442},{"style":803},[3443],{"type":27,"value":1116},{"type":31,"tagName":115,"properties":3445,"children":3446},{"style":814},[3447],{"type":27,"value":1186},{"type":31,"tagName":115,"properties":3449,"children":3450},{"style":814},[3451],{"type":27,"value":1191},{"type":31,"tagName":115,"properties":3453,"children":3454},{"style":803},[3455],{"type":27,"value":1196},{"type":27,"value":28},{"type":31,"tagName":115,"properties":3458,"children":3459},{"class":117},[3460],{"type":31,"tagName":115,"properties":3461,"children":3462},{"style":803},[3463],{"type":27,"value":1205},{"type":27,"value":28},{"type":31,"tagName":115,"properties":3466,"children":3467},{"class":117},[3468,3472,3476,3480,3484,3488,3492,3496,3500],{"type":31,"tagName":115,"properties":3469,"children":3470},{"style":803},[3471],{"type":27,"value":1214},{"type":31,"tagName":115,"properties":3473,"children":3474},{"style":814},[3475],{"type":27,"value":1219},{"type":31,"tagName":115,"properties":3477,"children":3478},{"style":803},[3479],{"type":27,"value":1224},{"type":31,"tagName":115,"properties":3481,"children":3482},{"style":814},[3483],{"type":27,"value":604},{"type":31,"tagName":115,"properties":3485,"children":3486},{"style":803},[3487],{"type":27,"value":1233},{"type":31,"tagName":115,"properties":3489,"children":3490},{"style":814},[3491],{"type":27,"value":604},{"type":31,"tagName":115,"properties":3493,"children":3494},{"style":864},[3495],{"type":27,"value":686},{"type":31,"tagName":115,"properties":3497,"children":3498},{"style":814},[3499],{"type":27,"value":1191},{"type":31,"tagName":115,"properties":3501,"children":3502},{"style":803},[3503],{"type":27,"value":1250},{"type":27,"value":28},{"type":31,"tagName":115,"properties":3506,"children":3507},{"class":117},[3508],{"type":31,"tagName":115,"properties":3509,"children":3510},{"style":803},[3511],{"type":27,"value":1259},{"type":27,"value":28},{"type":31,"tagName":115,"properties":3514,"children":3515},{"class":117},[3516,3520,3524,3528,3532],{"type":31,"tagName":115,"properties":3517,"children":3518},{"style":797},[3519],{"type":27,"value":1268},{"type":31,"tagName":115,"properties":3521,"children":3522},{"style":803},[3523],{"type":27,"value":1273},{"type":31,"tagName":115,"properties":3525,"children":3526},{"style":797},[3527],{"type":27,"value":1278},{"type":31,"tagName":115,"properties":3529,"children":3530},{"style":864},[3531],{"type":27,"value":1283},{"type":31,"tagName":115,"properties":3533,"children":3534},{"style":803},[3535],{"type":27,"value":822},{"type":27,"value":28},{"type":31,"tagName":115,"properties":3538,"children":3539},{"class":117},[3540,3544,3548,3552,3556,3560,3564,3568,3572,3576,3580,3584,3588],{"type":31,"tagName":115,"properties":3541,"children":3542},{"style":797},[3543],{"type":27,"value":1130},{"type":31,"tagName":115,"properties":3545,"children":3546},{"style":803},[3547],{"type":27,"value":1300},{"type":31,"tagName":115,"properties":3549,"children":3550},{"style":864},[3551],{"type":27,"value":1305},{"type":31,"tagName":115,"properties":3553,"children":3554},{"style":803},[3555],{"type":27,"value":1310},{"type":31,"tagName":115,"properties":3557,"children":3558},{"style":797},[3559],{"type":27,"value":1315},{"type":31,"tagName":115,"properties":3561,"children":3562},{"style":797},[3563],{"type":27,"value":1144},{"type":31,"tagName":115,"properties":3565,"children":3566},{"style":803},[3567],{"type":27,"value":1324},{"type":31,"tagName":115,"properties":3569,"children":3570},{"style":1093},[3571],{"type":27,"value":1329},{"type":31,"tagName":115,"properties":3573,"children":3574},{"style":803},[3575],{"type":27,"value":1334},{"type":31,"tagName":115,"properties":3577,"children":3578},{"style":1093},[3579],{"type":27,"value":1339},{"type":31,"tagName":115,"properties":3581,"children":3582},{"style":803},[3583],{"type":27,"value":1344},{"type":31,"tagName":115,"properties":3585,"children":3586},{"style":797},[3587],{"type":27,"value":1349},{"type":31,"tagName":115,"properties":3589,"children":3590},{"style":803},[3591],{"type":27,"value":1354},{"type":27,"value":28},{"type":31,"tagName":115,"properties":3594,"children":3595},{"class":117},[3596,3600,3604,3608,3612,3616,3620,3624],{"type":31,"tagName":115,"properties":3597,"children":3598},{"style":797},[3599],{"type":27,"value":1268},{"type":31,"tagName":115,"properties":3601,"children":3602},{"style":803},[3603],{"type":27,"value":1367},{"type":31,"tagName":115,"properties":3605,"children":3606},{"style":797},[3607],{"type":27,"value":1372},{"type":31,"tagName":115,"properties":3609,"children":3610},{"style":814},[3611],{"type":27,"value":1377},{"type":31,"tagName":115,"properties":3613,"children":3614},{"style":803},[3615],{"type":27,"value":1382},{"type":31,"tagName":115,"properties":3617,"children":3618},{"style":797},[3619],{"type":27,"value":1278},{"type":31,"tagName":115,"properties":3621,"children":3622},{"style":864},[3623],{"type":27,"value":1391},{"type":31,"tagName":115,"properties":3625,"children":3626},{"style":803},[3627],{"type":27,"value":822},{"type":27,"value":28},{"type":31,"tagName":115,"properties":3630,"children":3631},{"class":117},[3632,3636,3640,3644,3648,3652,3656,3660,3664,3668,3672,3676,3680,3684,3688,3692,3696,3700,3704],{"type":31,"tagName":115,"properties":3633,"children":3634},{"style":797},[3635],{"type":27,"value":1404},{"type":31,"tagName":115,"properties":3637,"children":3638},{"style":797},[3639],{"type":27,"value":1409},{"type":31,"tagName":115,"properties":3641,"children":3642},{"style":1093},[3643],{"type":27,"value":1414},{"type":31,"tagName":115,"properties":3645,"children":3646},{"style":803},[3647],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":3649,"children":3650},{"style":814},[3651],{"type":27,"value":1158},{"type":31,"tagName":115,"properties":3653,"children":3654},{"style":803},[3655],{"type":27,"value":1107},{"type":31,"tagName":115,"properties":3657,"children":3658},{"style":814},[3659],{"type":27,"value":1431},{"type":31,"tagName":115,"properties":3661,"children":3662},{"style":803},[3663],{"type":27,"value":1116},{"type":31,"tagName":115,"properties":3665,"children":3666},{"style":814},[3667],{"type":27,"value":1440},{"type":31,"tagName":115,"properties":3669,"children":3670},{"style":803},[3671],{"type":27,"value":1445},{"type":31,"tagName":115,"properties":3673,"children":3674},{"style":814},[3675],{"type":27,"value":604},{"type":31,"tagName":115,"properties":3677,"children":3678},{"style":803},[3679],{"type":27,"value":482},{"type":31,"tagName":115,"properties":3681,"children":3682},{"style":814},[3683],{"type":27,"value":1431},{"type":31,"tagName":115,"properties":3685,"children":3686},{"style":803},[3687],{"type":27,"value":1305},{"type":31,"tagName":115,"properties":3689,"children":3690},{"style":814},[3691],{"type":27,"value":1466},{"type":31,"tagName":115,"properties":3693,"children":3694},{"style":803},[3695],{"type":27,"value":109},{"type":31,"tagName":115,"properties":3697,"children":3698},{"style":797},[3699],{"type":27,"value":1475},{"type":31,"tagName":115,"properties":3701,"children":3702},{"style":814},[3703],{"type":27,"value":1480},{"type":31,"tagName":115,"properties":3705,"children":3706},{"style":803},[3707],{"type":27,"value":1485},{"type":27,"value":28},{"type":31,"tagName":115,"properties":3710,"children":3711},{"class":117},[3712],{"type":31,"tagName":115,"properties":3713,"children":3714},{"style":803},[3715],{"type":27,"value":1494},{"type":27,"value":28},{"type":31,"tagName":115,"properties":3718,"children":3719},{"class":117},[],{"type":27,"value":28},{"type":31,"tagName":115,"properties":3722,"children":3723},{"class":117},[3724,3728,3733,3737,3741,3746,3750,3754,3759,3763,3767,3772,3776,3780,3785,3789,3793],{"type":31,"tagName":115,"properties":3725,"children":3726},{"style":797},[3727],{"type":27,"value":861},{"type":31,"tagName":115,"properties":3729,"children":3730},{"style":1093},[3731],{"type":27,"value":3732}," paid",{"type":31,"tagName":115,"properties":3734,"children":3735},{"style":797},[3736],{"type":27,"value":872},{"type":31,"tagName":115,"properties":3738,"children":3739},{"style":803},[3740],{"type":27,"value":377},{"type":31,"tagName":115,"properties":3742,"children":3743},{"style":1104},[3744],{"type":27,"value":3745},"member",{"type":31,"tagName":115,"properties":3747,"children":3748},{"style":803},[3749],{"type":27,"value":1382},{"type":31,"tagName":115,"properties":3751,"children":3752},{"style":797},[3753],{"type":27,"value":1349},{"type":31,"tagName":115,"properties":3755,"children":3756},{"style":803},[3757],{"type":27,"value":3758}," member.roles.cache.",{"type":31,"tagName":115,"properties":3760,"children":3761},{"style":1093},[3762],{"type":27,"value":1939},{"type":31,"tagName":115,"properties":3764,"children":3765},{"style":803},[3766],{"type":27,"value":1944},{"type":31,"tagName":115,"properties":3768,"children":3769},{"style":1104},[3770],{"type":27,"value":3771},"role",{"type":31,"tagName":115,"properties":3773,"children":3774},{"style":803},[3775],{"type":27,"value":1382},{"type":31,"tagName":115,"properties":3777,"children":3778},{"style":797},[3779],{"type":27,"value":1349},{"type":31,"tagName":115,"properties":3781,"children":3782},{"style":803},[3783],{"type":27,"value":3784}," role.name ",{"type":31,"tagName":115,"properties":3786,"children":3787},{"style":797},[3788],{"type":27,"value":1372},{"type":31,"tagName":115,"properties":3790,"children":3791},{"style":864},[3792],{"type":27,"value":3254},{"type":31,"tagName":115,"properties":3794,"children":3795},{"style":803},[3796],{"type":27,"value":1485},{"type":27,"value":28},{"type":31,"tagName":115,"properties":3799,"children":3800},{"class":117},[],{"type":27,"value":28},{"type":31,"tagName":115,"properties":3803,"children":3804},{"class":117},[3805,3809,3814,3818,3822,3827],{"type":31,"tagName":115,"properties":3806,"children":3807},{"style":797},[3808],{"type":27,"value":861},{"type":31,"tagName":115,"properties":3810,"children":3811},{"style":864},[3812],{"type":27,"value":3813}," command",{"type":31,"tagName":115,"properties":3815,"children":3816},{"style":797},[3817],{"type":27,"value":872},{"type":31,"tagName":115,"properties":3819,"children":3820},{"style":797},[3821],{"type":27,"value":1409},{"type":31,"tagName":115,"properties":3823,"children":3824},{"style":1093},[3825],{"type":27,"value":3826}," SlashCommandBuilder",{"type":31,"tagName":115,"properties":3828,"children":3829},{"style":803},[3830],{"type":27,"value":3831},"()",{"type":27,"value":28},{"type":31,"tagName":115,"properties":3834,"children":3835},{"class":117},[3836,3841,3846,3850,3855],{"type":31,"tagName":115,"properties":3837,"children":3838},{"style":803},[3839],{"type":27,"value":3840},"  .",{"type":31,"tagName":115,"properties":3842,"children":3843},{"style":1093},[3844],{"type":27,"value":3845},"setName",{"type":31,"tagName":115,"properties":3847,"children":3848},{"style":803},[3849],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":3851,"children":3852},{"style":814},[3853],{"type":27,"value":3854},"\"openmarket\"",{"type":31,"tagName":115,"properties":3856,"children":3857},{"style":803},[3858],{"type":27,"value":1186},{"type":27,"value":28},{"type":31,"tagName":115,"properties":3861,"children":3862},{"class":117},[3863,3867,3872,3876,3881],{"type":31,"tagName":115,"properties":3864,"children":3865},{"style":803},[3866],{"type":27,"value":3840},{"type":31,"tagName":115,"properties":3868,"children":3869},{"style":1093},[3870],{"type":27,"value":3871},"setDescription",{"type":31,"tagName":115,"properties":3873,"children":3874},{"style":803},[3875],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":3877,"children":3878},{"style":814},[3879],{"type":27,"value":3880},"\"Link your OpenMarket username\"",{"type":31,"tagName":115,"properties":3882,"children":3883},{"style":803},[3884],{"type":27,"value":1186},{"type":27,"value":28},{"type":31,"tagName":115,"properties":3887,"children":3888},{"class":117},[3889,3893,3898,3902,3907,3911],{"type":31,"tagName":115,"properties":3890,"children":3891},{"style":803},[3892],{"type":27,"value":3840},{"type":31,"tagName":115,"properties":3894,"children":3895},{"style":1093},[3896],{"type":27,"value":3897},"addStringOption",{"type":31,"tagName":115,"properties":3899,"children":3900},{"style":803},[3901],{"type":27,"value":1944},{"type":31,"tagName":115,"properties":3903,"children":3904},{"style":1104},[3905],{"type":27,"value":3906},"option",{"type":31,"tagName":115,"properties":3908,"children":3909},{"style":803},[3910],{"type":27,"value":1382},{"type":31,"tagName":115,"properties":3912,"children":3913},{"style":797},[3914],{"type":27,"value":1349},{"type":27,"value":28},{"type":31,"tagName":115,"properties":3917,"children":3918},{"class":117},[3919,3924,3928,3932,3937,3941,3945,3949,3954,3958,3963,3967,3972],{"type":31,"tagName":115,"properties":3920,"children":3921},{"style":803},[3922],{"type":27,"value":3923},"    option.",{"type":31,"tagName":115,"properties":3925,"children":3926},{"style":1093},[3927],{"type":27,"value":3845},{"type":31,"tagName":115,"properties":3929,"children":3930},{"style":803},[3931],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":3933,"children":3934},{"style":814},[3935],{"type":27,"value":3936},"\"username\"",{"type":31,"tagName":115,"properties":3938,"children":3939},{"style":803},[3940],{"type":27,"value":213},{"type":31,"tagName":115,"properties":3942,"children":3943},{"style":1093},[3944],{"type":27,"value":3871},{"type":31,"tagName":115,"properties":3946,"children":3947},{"style":803},[3948],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":3950,"children":3951},{"style":814},[3952],{"type":27,"value":3953},"\"Your OpenMarket username\"",{"type":31,"tagName":115,"properties":3955,"children":3956},{"style":803},[3957],{"type":27,"value":213},{"type":31,"tagName":115,"properties":3959,"children":3960},{"style":1093},[3961],{"type":27,"value":3962},"setRequired",{"type":31,"tagName":115,"properties":3964,"children":3965},{"style":803},[3966],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":3968,"children":3969},{"style":864},[3970],{"type":27,"value":3971},"true",{"type":31,"tagName":115,"properties":3973,"children":3974},{"style":803},[3975],{"type":27,"value":3976},"),",{"type":27,"value":28},{"type":31,"tagName":115,"properties":3979,"children":3980},{"class":117},[3981],{"type":31,"tagName":115,"properties":3982,"children":3983},{"style":803},[3984],{"type":27,"value":3985},"  );",{"type":27,"value":28},{"type":31,"tagName":115,"properties":3988,"children":3989},{"class":117},[],{"type":27,"value":28},{"type":31,"tagName":115,"properties":3992,"children":3993},{"class":117},[3994,3998,4003,4007,4011,4016],{"type":31,"tagName":115,"properties":3995,"children":3996},{"style":797},[3997],{"type":27,"value":861},{"type":31,"tagName":115,"properties":3999,"children":4000},{"style":864},[4001],{"type":27,"value":4002}," client",{"type":31,"tagName":115,"properties":4004,"children":4005},{"style":797},[4006],{"type":27,"value":872},{"type":31,"tagName":115,"properties":4008,"children":4009},{"style":797},[4010],{"type":27,"value":1409},{"type":31,"tagName":115,"properties":4012,"children":4013},{"style":1093},[4014],{"type":27,"value":4015}," Client",{"type":31,"tagName":115,"properties":4017,"children":4018},{"style":803},[4019],{"type":27,"value":4020},"({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMembers] });",{"type":27,"value":28},{"type":31,"tagName":115,"properties":4023,"children":4024},{"class":117},[],{"type":27,"value":28},{"type":31,"tagName":115,"properties":4027,"children":4028},{"class":117},[4029,4034,4039,4044,4048,4053,4057],{"type":31,"tagName":115,"properties":4030,"children":4031},{"style":803},[4032],{"type":27,"value":4033},"client.",{"type":31,"tagName":115,"properties":4035,"children":4036},{"style":1093},[4037],{"type":27,"value":4038},"once",{"type":31,"tagName":115,"properties":4040,"children":4041},{"style":803},[4042],{"type":27,"value":4043},"(Events.ClientReady, ",{"type":31,"tagName":115,"properties":4045,"children":4046},{"style":797},[4047],{"type":27,"value":1085},{"type":31,"tagName":115,"properties":4049,"children":4050},{"style":803},[4051],{"type":27,"value":4052}," () ",{"type":31,"tagName":115,"properties":4054,"children":4055},{"style":797},[4056],{"type":27,"value":1349},{"type":31,"tagName":115,"properties":4058,"children":4059},{"style":803},[4060],{"type":27,"value":1962},{"type":27,"value":28},{"type":31,"tagName":115,"properties":4063,"children":4064},{"class":117},[4065,4069,4073,4077,4082,4086,4091,4096],{"type":31,"tagName":115,"properties":4066,"children":4067},{"style":797},[4068],{"type":27,"value":2248},{"type":31,"tagName":115,"properties":4070,"children":4071},{"style":803},[4072],{"type":27,"value":377},{"type":31,"tagName":115,"properties":4074,"children":4075},{"style":797},[4076],{"type":27,"value":861},{"type":31,"tagName":115,"properties":4078,"children":4079},{"style":864},[4080],{"type":27,"value":4081}," guild",{"type":31,"tagName":115,"properties":4083,"children":4084},{"style":797},[4085],{"type":27,"value":2270},{"type":31,"tagName":115,"properties":4087,"children":4088},{"style":803},[4089],{"type":27,"value":4090}," client.guilds.cache.",{"type":31,"tagName":115,"properties":4092,"children":4093},{"style":1093},[4094],{"type":27,"value":4095},"values",{"type":31,"tagName":115,"properties":4097,"children":4098},{"style":803},[4099],{"type":27,"value":4100},"()) {",{"type":27,"value":28},{"type":31,"tagName":115,"properties":4103,"children":4104},{"class":117},[4105,4110,4115,4120,4124],{"type":31,"tagName":115,"properties":4106,"children":4107},{"style":797},[4108],{"type":27,"value":4109},"    await",{"type":31,"tagName":115,"properties":4111,"children":4112},{"style":803},[4113],{"type":27,"value":4114}," guild.members.",{"type":31,"tagName":115,"properties":4116,"children":4117},{"style":1093},[4118],{"type":27,"value":4119},"fetch",{"type":31,"tagName":115,"properties":4121,"children":4122},{"style":803},[4123],{"type":27,"value":2803},{"type":31,"tagName":115,"properties":4125,"children":4126},{"style":885},[4127],{"type":27,"value":4128},"// load everyone, so each role change arrives with the roles before it",{"type":27,"value":28},{"type":31,"tagName":115,"properties":4131,"children":4132},{"class":117},[4133,4137,4142,4147],{"type":31,"tagName":115,"properties":4134,"children":4135},{"style":797},[4136],{"type":27,"value":4109},{"type":31,"tagName":115,"properties":4138,"children":4139},{"style":803},[4140],{"type":27,"value":4141}," guild.commands.",{"type":31,"tagName":115,"properties":4143,"children":4144},{"style":1093},[4145],{"type":27,"value":4146},"set",{"type":31,"tagName":115,"properties":4148,"children":4149},{"style":803},[4150],{"type":27,"value":4151},"([command]);",{"type":27,"value":28},{"type":31,"tagName":115,"properties":4154,"children":4155},{"class":117},[4156],{"type":31,"tagName":115,"properties":4157,"children":4158},{"style":803},[4159],{"type":27,"value":2817},{"type":27,"value":28},{"type":31,"tagName":115,"properties":4162,"children":4163},{"class":117},[4164],{"type":31,"tagName":115,"properties":4165,"children":4166},{"style":803},[4167],{"type":27,"value":4168},"});",{"type":27,"value":28},{"type":31,"tagName":115,"properties":4171,"children":4172},{"class":117},[],{"type":27,"value":28},{"type":31,"tagName":115,"properties":4175,"children":4176},{"class":117},[4177,4181,4186,4191,4195,4199,4204,4208,4213,4217,4221],{"type":31,"tagName":115,"properties":4178,"children":4179},{"style":803},[4180],{"type":27,"value":4033},{"type":31,"tagName":115,"properties":4182,"children":4183},{"style":1093},[4184],{"type":27,"value":4185},"on",{"type":31,"tagName":115,"properties":4187,"children":4188},{"style":803},[4189],{"type":27,"value":4190},"(Events.GuildMemberUpdate, ",{"type":31,"tagName":115,"properties":4192,"children":4193},{"style":797},[4194],{"type":27,"value":1085},{"type":31,"tagName":115,"properties":4196,"children":4197},{"style":803},[4198],{"type":27,"value":377},{"type":31,"tagName":115,"properties":4200,"children":4201},{"style":1104},[4202],{"type":27,"value":4203},"before",{"type":31,"tagName":115,"properties":4205,"children":4206},{"style":803},[4207],{"type":27,"value":530},{"type":31,"tagName":115,"properties":4209,"children":4210},{"style":1104},[4211],{"type":27,"value":4212},"after",{"type":31,"tagName":115,"properties":4214,"children":4215},{"style":803},[4216],{"type":27,"value":1382},{"type":31,"tagName":115,"properties":4218,"children":4219},{"style":797},[4220],{"type":27,"value":1349},{"type":31,"tagName":115,"properties":4222,"children":4223},{"style":803},[4224],{"type":27,"value":1962},{"type":27,"value":28},{"type":31,"tagName":115,"properties":4227,"children":4228},{"class":117},[4229,4233,4237,4241,4246,4251],{"type":31,"tagName":115,"properties":4230,"children":4231},{"style":797},[4232],{"type":27,"value":1130},{"type":31,"tagName":115,"properties":4234,"children":4235},{"style":864},[4236],{"type":27,"value":2452},{"type":31,"tagName":115,"properties":4238,"children":4239},{"style":797},[4240],{"type":27,"value":872},{"type":31,"tagName":115,"properties":4242,"children":4243},{"style":803},[4244],{"type":27,"value":4245}," usernames.",{"type":31,"tagName":115,"properties":4247,"children":4248},{"style":1093},[4249],{"type":27,"value":4250},"get",{"type":31,"tagName":115,"properties":4252,"children":4253},{"style":803},[4254],{"type":27,"value":4255},"(after.id);",{"type":27,"value":28},{"type":31,"tagName":115,"properties":4258,"children":4259},{"class":117},[4260,4264,4268,4272,4276,4281,4286,4290,4295,4299,4303,4307,4312,4317,4322,4327,4332,4337],{"type":31,"tagName":115,"properties":4261,"children":4262},{"style":797},[4263],{"type":27,"value":1268},{"type":31,"tagName":115,"properties":4265,"children":4266},{"style":803},[4267],{"type":27,"value":2525},{"type":31,"tagName":115,"properties":4269,"children":4270},{"style":797},[4271],{"type":27,"value":2530},{"type":31,"tagName":115,"properties":4273,"children":4274},{"style":1093},[4275],{"type":27,"value":3732},{"type":31,"tagName":115,"properties":4277,"children":4278},{"style":803},[4279],{"type":27,"value":4280},"(before) ",{"type":31,"tagName":115,"properties":4282,"children":4283},{"style":797},[4284],{"type":27,"value":4285},"!==",{"type":31,"tagName":115,"properties":4287,"children":4288},{"style":1093},[4289],{"type":27,"value":3732},{"type":31,"tagName":115,"properties":4291,"children":4292},{"style":803},[4293],{"type":27,"value":4294},"(after)) ",{"type":31,"tagName":115,"properties":4296,"children":4297},{"style":797},[4298],{"type":27,"value":2565},{"type":31,"tagName":115,"properties":4300,"children":4301},{"style":1093},[4302],{"type":27,"value":1096},{"type":31,"tagName":115,"properties":4304,"children":4305},{"style":803},[4306],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":4308,"children":4309},{"style":1093},[4310],{"type":27,"value":4311},"paid",{"type":31,"tagName":115,"properties":4313,"children":4314},{"style":803},[4315],{"type":27,"value":4316},"(after) ",{"type":31,"tagName":115,"properties":4318,"children":4319},{"style":797},[4320],{"type":27,"value":4321},"?",{"type":31,"tagName":115,"properties":4323,"children":4324},{"style":814},[4325],{"type":27,"value":4326}," \"PUT\"",{"type":31,"tagName":115,"properties":4328,"children":4329},{"style":797},[4330],{"type":27,"value":4331}," :",{"type":31,"tagName":115,"properties":4333,"children":4334},{"style":814},[4335],{"type":27,"value":4336}," \"DELETE\"",{"type":31,"tagName":115,"properties":4338,"children":4339},{"style":803},[4340],{"type":27,"value":2699},{"type":27,"value":28},{"type":31,"tagName":115,"properties":4343,"children":4344},{"class":117},[4345],{"type":31,"tagName":115,"properties":4346,"children":4347},{"style":803},[4348],{"type":27,"value":4168},{"type":27,"value":28},{"type":31,"tagName":115,"properties":4351,"children":4352},{"class":117},[],{"type":27,"value":28},{"type":31,"tagName":115,"properties":4355,"children":4356},{"class":117},[4357,4361,4365,4370,4374,4378,4382,4386,4390],{"type":31,"tagName":115,"properties":4358,"children":4359},{"style":803},[4360],{"type":27,"value":4033},{"type":31,"tagName":115,"properties":4362,"children":4363},{"style":1093},[4364],{"type":27,"value":4185},{"type":31,"tagName":115,"properties":4366,"children":4367},{"style":803},[4368],{"type":27,"value":4369},"(Events.GuildMemberRemove, ",{"type":31,"tagName":115,"properties":4371,"children":4372},{"style":797},[4373],{"type":27,"value":1085},{"type":31,"tagName":115,"properties":4375,"children":4376},{"style":803},[4377],{"type":27,"value":377},{"type":31,"tagName":115,"properties":4379,"children":4380},{"style":1104},[4381],{"type":27,"value":3745},{"type":31,"tagName":115,"properties":4383,"children":4384},{"style":803},[4385],{"type":27,"value":1382},{"type":31,"tagName":115,"properties":4387,"children":4388},{"style":797},[4389],{"type":27,"value":1349},{"type":31,"tagName":115,"properties":4391,"children":4392},{"style":803},[4393],{"type":27,"value":1962},{"type":27,"value":28},{"type":31,"tagName":115,"properties":4396,"children":4397},{"class":117},[4398,4402,4406,4410,4414,4418],{"type":31,"tagName":115,"properties":4399,"children":4400},{"style":797},[4401],{"type":27,"value":1130},{"type":31,"tagName":115,"properties":4403,"children":4404},{"style":864},[4405],{"type":27,"value":2452},{"type":31,"tagName":115,"properties":4407,"children":4408},{"style":797},[4409],{"type":27,"value":872},{"type":31,"tagName":115,"properties":4411,"children":4412},{"style":803},[4413],{"type":27,"value":4245},{"type":31,"tagName":115,"properties":4415,"children":4416},{"style":1093},[4417],{"type":27,"value":4250},{"type":31,"tagName":115,"properties":4419,"children":4420},{"style":803},[4421],{"type":27,"value":4422},"(member.id);",{"type":27,"value":28},{"type":31,"tagName":115,"properties":4425,"children":4426},{"class":117},[4427,4431,4435,4439,4443,4448,4452,4456,4460,4464],{"type":31,"tagName":115,"properties":4428,"children":4429},{"style":797},[4430],{"type":27,"value":1268},{"type":31,"tagName":115,"properties":4432,"children":4433},{"style":803},[4434],{"type":27,"value":2525},{"type":31,"tagName":115,"properties":4436,"children":4437},{"style":797},[4438],{"type":27,"value":2530},{"type":31,"tagName":115,"properties":4440,"children":4441},{"style":1093},[4442],{"type":27,"value":3732},{"type":31,"tagName":115,"properties":4444,"children":4445},{"style":803},[4446],{"type":27,"value":4447},"(member)) ",{"type":31,"tagName":115,"properties":4449,"children":4450},{"style":797},[4451],{"type":27,"value":2565},{"type":31,"tagName":115,"properties":4453,"children":4454},{"style":1093},[4455],{"type":27,"value":1096},{"type":31,"tagName":115,"properties":4457,"children":4458},{"style":803},[4459],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":4461,"children":4462},{"style":814},[4463],{"type":27,"value":2694},{"type":31,"tagName":115,"properties":4465,"children":4466},{"style":803},[4467],{"type":27,"value":2699},{"type":27,"value":28},{"type":31,"tagName":115,"properties":4470,"children":4471},{"class":117},[4472],{"type":31,"tagName":115,"properties":4473,"children":4474},{"style":803},[4475],{"type":27,"value":4168},{"type":27,"value":28},{"type":31,"tagName":115,"properties":4478,"children":4479},{"class":117},[],{"type":27,"value":28},{"type":31,"tagName":115,"properties":4482,"children":4483},{"class":117},[4484,4488,4492,4497,4501,4505,4510,4514,4518],{"type":31,"tagName":115,"properties":4485,"children":4486},{"style":803},[4487],{"type":27,"value":4033},{"type":31,"tagName":115,"properties":4489,"children":4490},{"style":1093},[4491],{"type":27,"value":4185},{"type":31,"tagName":115,"properties":4493,"children":4494},{"style":803},[4495],{"type":27,"value":4496},"(Events.InteractionCreate, ",{"type":31,"tagName":115,"properties":4498,"children":4499},{"style":797},[4500],{"type":27,"value":1085},{"type":31,"tagName":115,"properties":4502,"children":4503},{"style":803},[4504],{"type":27,"value":377},{"type":31,"tagName":115,"properties":4506,"children":4507},{"style":1104},[4508],{"type":27,"value":4509},"interaction",{"type":31,"tagName":115,"properties":4511,"children":4512},{"style":803},[4513],{"type":27,"value":1382},{"type":31,"tagName":115,"properties":4515,"children":4516},{"style":797},[4517],{"type":27,"value":1349},{"type":31,"tagName":115,"properties":4519,"children":4520},{"style":803},[4521],{"type":27,"value":1962},{"type":27,"value":28},{"type":31,"tagName":115,"properties":4524,"children":4525},{"class":117},[4526,4530,4534,4538,4543,4548,4552,4556,4561,4565,4570,4574,4578],{"type":31,"tagName":115,"properties":4527,"children":4528},{"style":797},[4529],{"type":27,"value":1268},{"type":31,"tagName":115,"properties":4531,"children":4532},{"style":803},[4533],{"type":27,"value":377},{"type":31,"tagName":115,"properties":4535,"children":4536},{"style":797},[4537],{"type":27,"value":1654},{"type":31,"tagName":115,"properties":4539,"children":4540},{"style":803},[4541],{"type":27,"value":4542},"interaction.",{"type":31,"tagName":115,"properties":4544,"children":4545},{"style":1093},[4546],{"type":27,"value":4547},"isChatInputCommand",{"type":31,"tagName":115,"properties":4549,"children":4550},{"style":803},[4551],{"type":27,"value":1694},{"type":31,"tagName":115,"properties":4553,"children":4554},{"style":797},[4555],{"type":27,"value":1664},{"type":31,"tagName":115,"properties":4557,"children":4558},{"style":803},[4559],{"type":27,"value":4560}," interaction.commandName ",{"type":31,"tagName":115,"properties":4562,"children":4563},{"style":797},[4564],{"type":27,"value":4285},{"type":31,"tagName":115,"properties":4566,"children":4567},{"style":814},[4568],{"type":27,"value":4569}," \"openmarket\"",{"type":31,"tagName":115,"properties":4571,"children":4572},{"style":803},[4573],{"type":27,"value":1382},{"type":31,"tagName":115,"properties":4575,"children":4576},{"style":797},[4577],{"type":27,"value":1278},{"type":31,"tagName":115,"properties":4579,"children":4580},{"style":803},[4581],{"type":27,"value":822},{"type":27,"value":28},{"type":31,"tagName":115,"properties":4584,"children":4585},{"class":117},[4586,4591,4596,4601],{"type":31,"tagName":115,"properties":4587,"children":4588},{"style":797},[4589],{"type":27,"value":4590},"  await",{"type":31,"tagName":115,"properties":4592,"children":4593},{"style":803},[4594],{"type":27,"value":4595}," interaction.",{"type":31,"tagName":115,"properties":4597,"children":4598},{"style":1093},[4599],{"type":27,"value":4600},"deferReply",{"type":31,"tagName":115,"properties":4602,"children":4603},{"style":803},[4604],{"type":27,"value":4605},"({ flags: MessageFlags.Ephemeral });",{"type":27,"value":28},{"type":31,"tagName":115,"properties":4608,"children":4609},{"class":117},[4610,4614,4618,4622,4627,4632,4636,4640,4644,4648,4652,4656],{"type":31,"tagName":115,"properties":4611,"children":4612},{"style":797},[4613],{"type":27,"value":1130},{"type":31,"tagName":115,"properties":4615,"children":4616},{"style":864},[4617],{"type":27,"value":2452},{"type":31,"tagName":115,"properties":4619,"children":4620},{"style":797},[4621],{"type":27,"value":872},{"type":31,"tagName":115,"properties":4623,"children":4624},{"style":803},[4625],{"type":27,"value":4626}," interaction.options.",{"type":31,"tagName":115,"properties":4628,"children":4629},{"style":1093},[4630],{"type":27,"value":4631},"getString",{"type":31,"tagName":115,"properties":4633,"children":4634},{"style":803},[4635],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":4637,"children":4638},{"style":814},[4639],{"type":27,"value":3936},{"type":31,"tagName":115,"properties":4641,"children":4642},{"style":803},[4643],{"type":27,"value":530},{"type":31,"tagName":115,"properties":4645,"children":4646},{"style":864},[4647],{"type":27,"value":3971},{"type":31,"tagName":115,"properties":4649,"children":4650},{"style":803},[4651],{"type":27,"value":213},{"type":31,"tagName":115,"properties":4653,"children":4654},{"style":1093},[4655],{"type":27,"value":2154},{"type":31,"tagName":115,"properties":4657,"children":4658},{"style":803},[4659],{"type":27,"value":2159},{"type":27,"value":28},{"type":31,"tagName":115,"properties":4662,"children":4663},{"class":117},[4664,4668,4673,4677,4681,4685],{"type":31,"tagName":115,"properties":4665,"children":4666},{"style":797},[4667],{"type":27,"value":1130},{"type":31,"tagName":115,"properties":4669,"children":4670},{"style":864},[4671],{"type":27,"value":4672}," previous",{"type":31,"tagName":115,"properties":4674,"children":4675},{"style":797},[4676],{"type":27,"value":872},{"type":31,"tagName":115,"properties":4678,"children":4679},{"style":803},[4680],{"type":27,"value":4245},{"type":31,"tagName":115,"properties":4682,"children":4683},{"style":1093},[4684],{"type":27,"value":4250},{"type":31,"tagName":115,"properties":4686,"children":4687},{"style":803},[4688],{"type":27,"value":4689},"(interaction.user.id);",{"type":27,"value":28},{"type":31,"tagName":115,"properties":4692,"children":4693},{"class":117},[4694,4699,4703],{"type":31,"tagName":115,"properties":4695,"children":4696},{"style":803},[4697],{"type":27,"value":4698},"  usernames.",{"type":31,"tagName":115,"properties":4700,"children":4701},{"style":1093},[4702],{"type":27,"value":4146},{"type":31,"tagName":115,"properties":4704,"children":4705},{"style":803},[4706],{"type":27,"value":4707},"(interaction.user.id, username);",{"type":27,"value":28},{"type":31,"tagName":115,"properties":4710,"children":4711},{"class":117},[4712,4717,4722,4726,4731,4736,4741],{"type":31,"tagName":115,"properties":4713,"children":4714},{"style":797},[4715],{"type":27,"value":4716},"  let",{"type":31,"tagName":115,"properties":4718,"children":4719},{"style":803},[4720],{"type":27,"value":4721}," reply ",{"type":31,"tagName":115,"properties":4723,"children":4724},{"style":797},[4725],{"type":27,"value":1315},{"type":31,"tagName":115,"properties":4727,"children":4728},{"style":814},[4729],{"type":27,"value":4730}," `Saved. Your access starts when you get the ${",{"type":31,"tagName":115,"properties":4732,"children":4733},{"style":864},[4734],{"type":27,"value":4735},"PAID_ROLE",{"type":31,"tagName":115,"properties":4737,"children":4738},{"style":814},[4739],{"type":27,"value":4740},"} role.`",{"type":31,"tagName":115,"properties":4742,"children":4743},{"style":803},[4744],{"type":27,"value":822},{"type":27,"value":28},{"type":31,"tagName":115,"properties":4747,"children":4748},{"class":117},[4749,4753],{"type":31,"tagName":115,"properties":4750,"children":4751},{"style":797},[4752],{"type":27,"value":2507},{"type":31,"tagName":115,"properties":4754,"children":4755},{"style":803},[4756],{"type":27,"value":1962},{"type":27,"value":28},{"type":31,"tagName":115,"properties":4759,"children":4760},{"class":117},[4761,4765,4769,4773],{"type":31,"tagName":115,"properties":4762,"children":4763},{"style":797},[4764],{"type":27,"value":2520},{"type":31,"tagName":115,"properties":4766,"children":4767},{"style":803},[4768],{"type":27,"value":377},{"type":31,"tagName":115,"properties":4770,"children":4771},{"style":1093},[4772],{"type":27,"value":4311},{"type":31,"tagName":115,"properties":4774,"children":4775},{"style":803},[4776],{"type":27,"value":4777},"(interaction.member)) {",{"type":27,"value":28},{"type":31,"tagName":115,"properties":4780,"children":4781},{"class":117},[4782,4787,4792,4796,4801,4805,4810,4814,4818,4822,4826],{"type":31,"tagName":115,"properties":4783,"children":4784},{"style":797},[4785],{"type":27,"value":4786},"      if",{"type":31,"tagName":115,"properties":4788,"children":4789},{"style":803},[4790],{"type":27,"value":4791}," (previous ",{"type":31,"tagName":115,"properties":4793,"children":4794},{"style":797},[4795],{"type":27,"value":2530},{"type":31,"tagName":115,"properties":4797,"children":4798},{"style":803},[4799],{"type":27,"value":4800}," previous ",{"type":31,"tagName":115,"properties":4802,"children":4803},{"style":797},[4804],{"type":27,"value":4285},{"type":31,"tagName":115,"properties":4806,"children":4807},{"style":803},[4808],{"type":27,"value":4809}," username) ",{"type":31,"tagName":115,"properties":4811,"children":4812},{"style":797},[4813],{"type":27,"value":2565},{"type":31,"tagName":115,"properties":4815,"children":4816},{"style":1093},[4817],{"type":27,"value":1096},{"type":31,"tagName":115,"properties":4819,"children":4820},{"style":803},[4821],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":4823,"children":4824},{"style":814},[4825],{"type":27,"value":2694},{"type":31,"tagName":115,"properties":4827,"children":4828},{"style":803},[4829],{"type":27,"value":4830},", previous);",{"type":27,"value":28},{"type":31,"tagName":115,"properties":4833,"children":4834},{"class":117},[4835,4840,4844,4848,4852,4856,4860,4864],{"type":31,"tagName":115,"properties":4836,"children":4837},{"style":803},[4838],{"type":27,"value":4839},"      reply ",{"type":31,"tagName":115,"properties":4841,"children":4842},{"style":797},[4843],{"type":27,"value":1315},{"type":31,"tagName":115,"properties":4845,"children":4846},{"style":803},[4847],{"type":27,"value":377},{"type":31,"tagName":115,"properties":4849,"children":4850},{"style":797},[4851],{"type":27,"value":2565},{"type":31,"tagName":115,"properties":4853,"children":4854},{"style":1093},[4855],{"type":27,"value":1096},{"type":31,"tagName":115,"properties":4857,"children":4858},{"style":803},[4859],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":4861,"children":4862},{"style":814},[4863],{"type":27,"value":2578},{"type":31,"tagName":115,"properties":4865,"children":4866},{"style":803},[4867],{"type":27,"value":4868},", username))",{"type":27,"value":28},{"type":31,"tagName":115,"properties":4871,"children":4872},{"class":117},[4873,4878],{"type":31,"tagName":115,"properties":4874,"children":4875},{"style":797},[4876],{"type":27,"value":4877},"        ?",{"type":31,"tagName":115,"properties":4879,"children":4880},{"style":814},[4881],{"type":27,"value":4882}," \"You're in. Find it under Shared with you in Indicators on OpenMarket.\"",{"type":27,"value":28},{"type":31,"tagName":115,"properties":4885,"children":4886},{"class":117},[4887,4892,4897],{"type":31,"tagName":115,"properties":4888,"children":4889},{"style":797},[4890],{"type":27,"value":4891},"        :",{"type":31,"tagName":115,"properties":4893,"children":4894},{"style":814},[4895],{"type":27,"value":4896}," \"No OpenMarket account has that username. Check it and try again.\"",{"type":31,"tagName":115,"properties":4898,"children":4899},{"style":803},[4900],{"type":27,"value":822},{"type":27,"value":28},{"type":31,"tagName":115,"properties":4903,"children":4904},{"class":117},[4905],{"type":31,"tagName":115,"properties":4906,"children":4907},{"style":803},[4908],{"type":27,"value":2644},{"type":27,"value":28},{"type":31,"tagName":115,"properties":4911,"children":4912},{"class":117},[4913,4917,4921],{"type":31,"tagName":115,"properties":4914,"children":4915},{"style":803},[4916],{"type":27,"value":2742},{"type":31,"tagName":115,"properties":4918,"children":4919},{"style":797},[4920],{"type":27,"value":1339},{"type":31,"tagName":115,"properties":4922,"children":4923},{"style":803},[4924],{"type":27,"value":2751},{"type":27,"value":28},{"type":31,"tagName":115,"properties":4927,"children":4928},{"class":117},[4929,4933,4937],{"type":31,"tagName":115,"properties":4930,"children":4931},{"style":803},[4932],{"type":27,"value":2760},{"type":31,"tagName":115,"properties":4934,"children":4935},{"style":1093},[4936],{"type":27,"value":1305},{"type":31,"tagName":115,"properties":4938,"children":4939},{"style":803},[4940],{"type":27,"value":2769},{"type":27,"value":28},{"type":31,"tagName":115,"properties":4943,"children":4944},{"class":117},[4945,4950,4954,4959],{"type":31,"tagName":115,"properties":4946,"children":4947},{"style":803},[4948],{"type":27,"value":4949},"    reply ",{"type":31,"tagName":115,"properties":4951,"children":4952},{"style":797},[4953],{"type":27,"value":1315},{"type":31,"tagName":115,"properties":4955,"children":4956},{"style":814},[4957],{"type":27,"value":4958}," \"Something went wrong. Try again in a minute.\"",{"type":31,"tagName":115,"properties":4960,"children":4961},{"style":803},[4962],{"type":27,"value":822},{"type":27,"value":28},{"type":31,"tagName":115,"properties":4965,"children":4966},{"class":117},[4967],{"type":31,"tagName":115,"properties":4968,"children":4969},{"style":803},[4970],{"type":27,"value":2817},{"type":27,"value":28},{"type":31,"tagName":115,"properties":4973,"children":4974},{"class":117},[4975,4979,4983,4988],{"type":31,"tagName":115,"properties":4976,"children":4977},{"style":797},[4978],{"type":27,"value":4590},{"type":31,"tagName":115,"properties":4980,"children":4981},{"style":803},[4982],{"type":27,"value":4595},{"type":31,"tagName":115,"properties":4984,"children":4985},{"style":1093},[4986],{"type":27,"value":4987},"editReply",{"type":31,"tagName":115,"properties":4989,"children":4990},{"style":803},[4991],{"type":27,"value":4992},"(reply);",{"type":27,"value":28},{"type":31,"tagName":115,"properties":4995,"children":4996},{"class":117},[4997],{"type":31,"tagName":115,"properties":4998,"children":4999},{"style":803},[5000],{"type":27,"value":4168},{"type":27,"value":28},{"type":31,"tagName":115,"properties":5003,"children":5004},{"class":117},[],{"type":27,"value":28},{"type":31,"tagName":115,"properties":5007,"children":5008},{"class":117},[5009,5014,5018,5022,5027],{"type":31,"tagName":115,"properties":5010,"children":5011},{"style":803},[5012],{"type":27,"value":5013},"process.",{"type":31,"tagName":115,"properties":5015,"children":5016},{"style":1093},[5017],{"type":27,"value":4185},{"type":31,"tagName":115,"properties":5019,"children":5020},{"style":803},[5021],{"type":27,"value":1101},{"type":31,"tagName":115,"properties":5023,"children":5024},{"style":814},[5025],{"type":27,"value":5026},"\"unhandledRejection\"",{"type":31,"tagName":115,"properties":5028,"children":5029},{"style":803},[5030],{"type":27,"value":5031},", console.error);",{"type":27,"value":28},{"type":31,"tagName":115,"properties":5034,"children":5035},{"class":117},[5036,5040,5045,5049,5053],{"type":31,"tagName":115,"properties":5037,"children":5038},{"style":803},[5039],{"type":27,"value":4033},{"type":31,"tagName":115,"properties":5041,"children":5042},{"style":1093},[5043],{"type":27,"value":5044},"login",{"type":31,"tagName":115,"properties":5046,"children":5047},{"style":803},[5048],{"type":27,"value":2845},{"type":31,"tagName":115,"properties":5050,"children":5051},{"style":864},[5052],{"type":27,"value":3135},{"type":31,"tagName":115,"properties":5054,"children":5055},{"style":803},[5056],{"type":27,"value":1485},{"type":27,"value":28},{"type":31,"tagName":32,"properties":5059,"children":5060,"position":5070},{},[5061],{"type":27,"value":5062,"position":5063},"The sample keeps usernames in memory, so a restart forgets them. Keep them in\na database.",{"start":5064,"end":5067},{"line":5065,"column":21,"offset":5066},210,9121,{"line":5068,"column":76,"offset":5069},211,9210,{"start":5071,"end":5072},{"line":5065,"column":21,"offset":5066},{"line":5068,"column":76,"offset":5069},{"type":27,"value":28},{"type":31,"tagName":65,"properties":5075,"children":5076,"position":5085},{},[5077],{"type":27,"value":5078,"position":5079},"Checks and limits",{"start":5080,"end":5083},{"line":5081,"column":73,"offset":5082},213,9215,{"line":5081,"column":543,"offset":5084},9232,{"start":5086,"end":5088},{"line":5081,"column":21,"offset":5087},9212,{"line":5081,"column":543,"offset":5084},{"type":27,"value":5090},"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",{"type":31,"tagName":5092,"properties":5093,"children":5094,"position":5366},"table",{},[5095,5156],{"type":31,"tagName":5096,"properties":5097,"children":5098,"position":5153},"thead",{},[5099],{"type":31,"tagName":5100,"properties":5101,"children":5102,"position":5150},"tr",{},[5103,5120,5135],{"type":31,"tagName":5104,"properties":5105,"children":5106,"position":5115},"th",{},[5107],{"type":27,"value":5108,"position":5109},"Status",{"start":5110,"end":5113},{"line":5111,"column":203,"offset":5112},215,9236,{"line":5111,"column":277,"offset":5114},9242,{"start":5116,"end":5118},{"line":5111,"column":21,"offset":5117},9234,{"line":5111,"column":72,"offset":5119},9243,{"type":31,"tagName":5104,"properties":5121,"children":5122,"position":5131},{},[5123],{"type":27,"value":5124,"position":5125},"Code",{"start":5126,"end":5128},{"line":5111,"column":76,"offset":5127},9245,{"line":5111,"column":5129,"offset":5130},16,9249,{"start":5132,"end":5133},{"line":5111,"column":72,"offset":5119},{"line":5111,"column":171,"offset":5134},9250,{"type":31,"tagName":5104,"properties":5136,"children":5137,"position":5146},{},[5138],{"type":27,"value":5139,"position":5140},"What to do",{"start":5141,"end":5144},{"line":5111,"column":5142,"offset":5143},19,9252,{"line":5111,"column":321,"offset":5145},9262,{"start":5147,"end":5148},{"line":5111,"column":171,"offset":5134},{"line":5111,"column":250,"offset":5149},9264,{"start":5151,"end":5152},{"line":5111,"column":21,"offset":5117},{"line":5111,"column":250,"offset":5149},{"start":5154,"end":5155},{"line":5111,"column":21,"offset":5117},{"line":5111,"column":250,"offset":5149},{"type":31,"tagName":5157,"properties":5158,"children":5159,"position":5363},"tbody",{},[5160,5215,5291],{"type":31,"tagName":5100,"properties":5161,"children":5162,"position":5212},{},[5163,5180,5197],{"type":31,"tagName":5164,"properties":5165,"children":5166,"position":5175},"td",{},[5167],{"type":27,"value":5168,"position":5169},"404",{"start":5170,"end":5173},{"line":5171,"column":203,"offset":5172},217,9287,{"line":5171,"column":93,"offset":5174},9290,{"start":5176,"end":5178},{"line":5171,"column":21,"offset":5177},9285,{"line":5171,"column":54,"offset":5179},9291,{"type":31,"tagName":5164,"properties":5181,"children":5182,"position":5193},{},[5183],{"type":31,"tagName":109,"properties":5184,"children":5185,"position":5188},{},[5186],{"type":27,"value":5187},"user_not_found",{"start":5189,"end":5191},{"line":5171,"column":277,"offset":5190},9293,{"line":5171,"column":709,"offset":5192},9309,{"start":5194,"end":5195},{"line":5171,"column":54,"offset":5179},{"line":5171,"column":191,"offset":5196},9310,{"type":31,"tagName":5164,"properties":5198,"children":5199,"position":5207},{},[5200],{"type":27,"value":5201,"position":5202},"The username is wrong. Ask the member for it again.",{"start":5203,"end":5205},{"line":5171,"column":230,"offset":5204},9312,{"line":5171,"column":414,"offset":5206},9363,{"start":5208,"end":5209},{"line":5171,"column":191,"offset":5196},{"line":5171,"column":5210,"offset":5211},81,9365,{"start":5213,"end":5214},{"line":5171,"column":21,"offset":5177},{"line":5171,"column":5210,"offset":5211},{"type":31,"tagName":5100,"properties":5216,"children":5217,"position":5288},{},[5218,5234,5251],{"type":31,"tagName":5164,"properties":5219,"children":5220,"position":5229},{},[5221],{"type":27,"value":5222,"position":5223},"403",{"start":5224,"end":5227},{"line":5225,"column":203,"offset":5226},218,9368,{"line":5225,"column":93,"offset":5228},9371,{"start":5230,"end":5232},{"line":5225,"column":21,"offset":5231},9366,{"line":5225,"column":54,"offset":5233},9372,{"type":31,"tagName":5164,"properties":5235,"children":5236,"position":5247},{},[5237],{"type":31,"tagName":109,"properties":5238,"children":5239,"position":5242},{},[5240],{"type":27,"value":5241},"fair_use",{"start":5243,"end":5245},{"line":5225,"column":277,"offset":5244},9374,{"line":5225,"column":5142,"offset":5246},9384,{"start":5248,"end":5249},{"line":5225,"column":54,"offset":5233},{"line":5225,"column":425,"offset":5250},9385,{"type":31,"tagName":5164,"properties":5252,"children":5253,"position":5283},{},[5254,5261,5277],{"type":27,"value":5255,"position":5256},"The Protected indicator is at 1,000 people (",{"start":5257,"end":5259},{"line":5225,"column":341,"offset":5258},9387,{"line":5225,"column":496,"offset":5260},9431,{"type":31,"tagName":195,"properties":5262,"children":5264,"position":5272},{"href":5263},"overview.md#fair-use",[5265],{"type":27,"value":5266,"position":5267},"Fair use",{"start":5268,"end":5270},{"line":5225,"column":251,"offset":5269},9432,{"line":5225,"column":579,"offset":5271},9440,{"start":5273,"end":5274},{"line":5225,"column":496,"offset":5260},{"line":5225,"column":5275,"offset":5276},98,9463,{"type":27,"value":213,"position":5278},{"start":5279,"end":5280},{"line":5225,"column":5275,"offset":5276},{"line":5225,"column":5281,"offset":5282},100,9465,{"start":5284,"end":5285},{"line":5225,"column":425,"offset":5250},{"line":5225,"column":5286,"offset":5287},102,9467,{"start":5289,"end":5290},{"line":5225,"column":21,"offset":5231},{"line":5225,"column":5286,"offset":5287},{"type":31,"tagName":5100,"properties":5292,"children":5293,"position":5360},{},[5294,5310,5327],{"type":31,"tagName":5164,"properties":5295,"children":5296,"position":5305},{},[5297],{"type":27,"value":5298,"position":5299},"429",{"start":5300,"end":5303},{"line":5301,"column":203,"offset":5302},219,9470,{"line":5301,"column":93,"offset":5304},9473,{"start":5306,"end":5308},{"line":5301,"column":21,"offset":5307},9468,{"line":5301,"column":54,"offset":5309},9474,{"type":31,"tagName":5164,"properties":5311,"children":5312,"position":5323},{},[5313],{"type":31,"tagName":109,"properties":5314,"children":5315,"position":5318},{},[5316],{"type":27,"value":5317},"rate_limited",{"start":5319,"end":5321},{"line":5301,"column":277,"offset":5320},9476,{"line":5301,"column":168,"offset":5322},9490,{"start":5324,"end":5325},{"line":5301,"column":54,"offset":5309},{"line":5301,"column":466,"offset":5326},9491,{"type":31,"tagName":5164,"properties":5328,"children":5329,"position":5355},{},[5330,5338,5348],{"type":27,"value":5331,"position":5332},"More than 600 writes in a minute on this key. Wait the seconds the ",{"start":5333,"end":5335},{"line":5301,"column":191,"offset":5334},9493,{"line":5301,"column":5336,"offset":5337},93,9560,{"type":31,"tagName":109,"properties":5339,"children":5340,"position":5343},{},[5341],{"type":27,"value":5342},"retry-after",{"start":5344,"end":5345},{"line":5301,"column":5336,"offset":5337},{"line":5301,"column":5346,"offset":5347},106,9573,{"type":27,"value":5349,"position":5350}," header names.",{"start":5351,"end":5352},{"line":5301,"column":5346,"offset":5347},{"line":5301,"column":5353,"offset":5354},120,9587,{"start":5356,"end":5357},{"line":5301,"column":466,"offset":5326},{"line":5301,"column":5358,"offset":5359},122,9589,{"start":5361,"end":5362},{"line":5301,"column":21,"offset":5307},{"line":5301,"column":5358,"offset":5359},{"start":5364,"end":5365},{"line":5171,"column":21,"offset":5177},{"line":5301,"column":5358,"offset":5359},{"start":5367,"end":5368},{"line":5111,"column":21,"offset":5117},{"line":5301,"column":5358,"offset":5359},{"type":27,"value":28},{"type":31,"tagName":32,"properties":5371,"children":5372,"position":5444},{},[5373,5382,5394,5401,5416,5423,5439],{"type":27,"value":5374,"position":5375},"Webhooks get missed and bots restart. Once a night, read the list with\n",{"start":5376,"end":5379},{"line":5377,"column":21,"offset":5378},221,9591,{"line":5380,"column":21,"offset":5381},222,9662,{"type":31,"tagName":109,"properties":5383,"children":5384,"position":5391},{},[5385],{"type":27,"value":5386,"position":5387},"GET /access",{"start":5388,"end":5389},{"line":5380,"column":21,"offset":5381},{"line":5380,"column":314,"offset":5390},9675,{"start":5392,"end":5393},{"line":5380,"column":21,"offset":5381},{"line":5380,"column":314,"offset":5390},{"type":27,"value":5395,"position":5396},", a page at a time\n(",{"start":5397,"end":5398},{"line":5380,"column":314,"offset":5390},{"line":5399,"column":192,"offset":5400},223,9695,{"type":31,"tagName":195,"properties":5402,"children":5404,"position":5412},{"href":5403},"access-keys-and-api.md#check-and-list",[5405],{"type":27,"value":5406,"position":5407},"Check and list",{"start":5408,"end":5410},{"line":5399,"column":203,"offset":5409},9696,{"line":5399,"column":171,"offset":5411},9710,{"start":5413,"end":5414},{"line":5399,"column":192,"offset":5400},{"line":5399,"column":3079,"offset":5415},9750,{"type":27,"value":5417,"position":5418},"), compare it with\nyour own, and PUT or DELETE the difference, or send it as one batch\n(",{"start":5419,"end":5420},{"line":5399,"column":3079,"offset":5415},{"line":5421,"column":192,"offset":5422},225,9838,{"type":31,"tagName":195,"properties":5424,"children":5426,"position":5435},{"href":5425},"access-keys-and-api.md#many-at-once",[5427],{"type":27,"value":5428,"position":5429},"Many at once",{"start":5430,"end":5432},{"line":5421,"column":203,"offset":5431},9839,{"line":5421,"column":5433,"offset":5434},15,9851,{"start":5436,"end":5437},{"line":5421,"column":192,"offset":5422},{"line":5421,"column":58,"offset":5438},9889,{"type":27,"value":213,"position":5440},{"start":5441,"end":5442},{"line":5421,"column":58,"offset":5438},{"line":5421,"column":486,"offset":5443},9891,{"start":5445,"end":5446},{"line":5377,"column":21,"offset":5378},{"line":5421,"column":486,"offset":5443},{"type":27,"value":28},{"type":31,"tagName":32,"properties":5449,"children":5450,"position":5481},{},[5451,5459,5473],{"type":27,"value":5452,"position":5453},"The key works for this one indicator and nothing else. ",{"start":5454,"end":5457},{"line":5455,"column":21,"offset":5456},227,9893,{"line":5455,"column":751,"offset":5458},9948,{"type":31,"tagName":267,"properties":5460,"children":5461,"position":5469},{},[5462],{"type":27,"value":5463,"position":5464},"Revoke",{"start":5465,"end":5467},{"line":5455,"column":2972,"offset":5466},9950,{"line":5455,"column":2983,"offset":5468},9956,{"start":5470,"end":5471},{"line":5455,"column":751,"offset":5458},{"line":5455,"column":496,"offset":5472},9958,{"type":27,"value":5474,"position":5475}," on its\nsheet in the People panel stops it at once.",{"start":5476,"end":5477},{"line":5455,"column":496,"offset":5472},{"line":5478,"column":5479,"offset":5480},228,44,10009,{"start":5482,"end":5483},{"line":5455,"column":21,"offset":5456},{"line":5478,"column":5479,"offset":5480},{"quirksMode":5485},false,{"start":5487,"end":5488},{"line":21,"column":21,"offset":22},{"line":5489,"column":21,"offset":5490},229,10010,1791265212824]