Write me a javascript code snippets to buy that NFT = {
  "orders": [
    {
      "id": "0x931f8ef6e9abae0059f031df6602958b84e868e15fa31e12dd008367db7c657d",
      "kind": "seaport-v1.6",
      "side": "sell",
      "status": "active",
      "tokenSetId": "token:0xd4e4078ca3495de5b1d4db434bebc5a986197782:367",
      "tokenSetSchemaHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
      "contract": "0xd4e4078ca3495de5b1d4db434bebc5a986197782",
      "contractKind": "erc721",
      "maker": "0x18e804e61c44fd194753ce89b32a87acd8435a8d",
      "taker": "0x0000000000000000000000000000000000000000",
      "price": {
        "currency": {
          "contract": "0x0000000000000000000000000000000000000000",
          "name": "Ether",
          "symbol": "ETH",
          "decimals": 18
        },
        "amount": {
          "raw": "96500000000000000000",
          "decimal": 96.5,
          "usd": 357863.48873,
          "native": 96.5
        },
        "netAmount": {
          "raw": "96017500000000000000",
          "decimal": 96.0175,
          "usd": 356074.17128,
          "native": 96.0175
        }
      },
      "validFrom": 1753048400,
      "validUntil": 1758232400,
      "quantityFilled": 0,
      "quantityRemaining": 1,
      "dynamicPricing": null,
      "criteria": {
        "kind": "token",
        "data": {
          "token": {
            "tokenId": "367",
            "name": "Autoglyph #367",
            "image": "https://cdn.simplehash.com/assets/c4b0299bb235f768dff757a87fba8cd02da5e3f5c000760ab7a5a2676f8bdeb3.svg"
          },
          "collection": {
            "id": "0xd4e4078ca3495de5b1d4db434bebc5a986197782",
            "name": "Autoglyphs",
            "image": "https://i2.seadn.io/ethereum/5e7108cedeba4ae88272a1e98e3666be/8824c1fa8e0ce75a8f480692c5b412/e18824c1fa8e0ce75a8f480692c5b412.png"
          }
        }
      },
      "source": {
        "id": "0x5b3256965e7c3cf26e11fcaf296dfc8807c01073",
        "domain": "opensea.io",
        "name": "OpenSea",
        "icon": "https://raw.githubusercontent.com/reservoirprotocol/assets/main/sources/opensea-logo.svg",
        "url": "https://opensea.io/assets/ethereum/0xd4e4078ca3495de5b1d4db434bebc5a986197782/367"
      },
      "feeBps": 50,
      "feeBreakdown": [
        {
          "kind": "marketplace",
          "recipient": "0x0000a26b00c1f0df003000390027140000faa719",
          "bps": 50
        }
      ],
      "expiration": 1758232400,
      "isReservoir": null,
      "isDynamic": false,
      "createdAt": "2025-07-20T21:53:29.647Z",
      "updatedAt": "2025-07-20T21:53:29.647Z",
      "originatedAt": "2025-07-20T21:53:29.164Z",
      "rawData": {
        "kind": "single-token",
        "salt": "27855337018906766782546881864045825683096516384821792734237116332701045031236",
        "zone": "0x0000000000000000000000000000000000000000",
        "offer": [
          {
            "token": "0xd4e4078ca3495de5b1d4db434bebc5a986197782",
            "itemType": 2,
            "endAmount": "1",
            "startAmount": "1",
            "identifierOrCriteria": "367"
          }
        ],
        "counter": "0x0",
        "endTime": 1758232400,
        "offerer": "0x18e804e61c44fd194753ce89b32a87acd8435a8d",
        "partial": true,
        "zoneHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "orderType": 0,
        "startTime": 1753048400,
        "conduitKey": "0x0000007b02230091a7ed01230072f7006a004d60a8d4e71d599b8104250f0000",
        "consideration": [
          {
            "token": "0x0000000000000000000000000000000000000000",
            "itemType": 0,
            "endAmount": "96017500000000000000",
            "recipient": "0x18e804e61c44fd194753ce89b32a87acd8435a8d",
            "startAmount": "96017500000000000000",
            "identifierOrCriteria": "0"
          },
          {
            "token": "0x0000000000000000000000000000000000000000",
            "itemType": 0,
            "endAmount": "482500000000000000",
            "recipient": "0x0000a26b00c1f0df003000390027140000faa719",
            "startAmount": "482500000000000000",
            "identifierOrCriteria": "0"
          }
        ]
      },
      "isNativeOffChainCancellable": false
    }
  ],
  "continuation": null
}