const {
    describe,
    test,
    expect,
} = require('@jest/globals')
const { WebDriver } = require('../common/web_driver')

const timeout = 9999999

async function sleep (ms) {
    return new Promise(resolve => setTimeout(resolve, ms))
}

describe('coinw站点测试', () => {

    let targetInfo = {
        'targetId': '',
        'type': '',
        'title': '',
        'url': '',
        'attached': true,
        'canAccessOpener': false,
        'browserContextId': '',
    }

    const driver = new WebDriver({
        // port: 23035,
    })

    const init = async () => {
        // await driver.setProxy('socks://localhost:8880')
        await driver.setProxy('http://172.16.1.132:3128')

        await driver.builder()

        let target = await driver.cdp.Target

        targetInfo = await target.getTargetInfo()

        console.info('info>>>>', targetInfo)

    }

    const baseUrl = 'https://support.u-hw.com/zh-CN/register?vipCode'

    test('测试打开', async (done) => {

        await init()

        const page = driver.cdp.Page

        page.navigate({ url: baseUrl })

        done()

    }, timeout)

    test('获取cookie/自动登录', async (done) => {
        // let cookie = `{"cookies":[{"name":"ak_bmsc","value":"24A126B49C5F69CA159DA002ADB3F67A~000000000000000000000000000000~YAAQDQQsFyqX5S6TAQAADOLXLxmu3th5G1WXfXEQm3EZ0KQm2d/G6Lgbl6tTJk4SpVr5VFjzc/mGgZiHaBR/Bwp65L4YMMrJi5qNj1jQncYpS9qkRxfqUXBfJiPwCffa4AWRmXOj5CUQChGtD2VbvotBKo5CzzbkK4melF/FKSRN4CAvaqT3u8rudvEmxQEAGKOv8+OQFYjYcnv9EfdiNK0nGxEZvfEUp2BLQCsnyhztYZTkh4sfN4yTfkZE6VJlnb3cT2/BbAJ8cb2NUYMaocfcs6mF2cvhyvKDvPJPcvwQ8vIO+/8GpXJ7MYyU7Hf7Rbt52IM/VkmxNX4eCWESdidvj24swiqf5MP5gaMgC1WpsDPOcXGRfhini/aCkOeFcO6HPbA6ZxYDQtCmu6pqxvDab+9HFBe4cZmk","domain":".bitget.com","path":"/","expires":1731681697.722944,"size":491,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga","value":"GA1.1.666574058.1731674506","domain":".bitget.com","path":"/","expires":1766234652.854571,"size":29,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"fingerprint-1731674513609-16512.5-0.3202104544714117","value":"true","domain":"www.bitget.com","path":"/","expires":-1,"size":56,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"terminalCode-1731674513610-16513.19999999553-0.8603215877767547","value":"true","domain":"www.bitget.com","path":"/","expires":-1,"size":67,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"i","value":"KgQGHnhX9fouNz40OlDWVOhzJuHtPwZ05RczIGFb17oyfJCMo3sBBwPXp8W6aI7zx8EWOQmh8SMbTs05Ji5cNq+oyQQ=","domain":".yandex.ru","path":"/","expires":1766234519.129995,"size":93,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"yandexuid","value":"8530305331731674517","domain":".yandex.ru","path":"/","expires":1766234520.814999,"size":28,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"yashr","value":"9995063441731674517","domain":".yandex.ru","path":"/","expires":1763210518.130065,"size":24,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ym_uid","value":"1731674520297943329","domain":".bitget.com","path":"/","expires":1763210520,"size":26,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ym_d","value":"1731674520","domain":".bitget.com","path":"/","expires":1763210520,"size":15,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"__adroll","value":"a7837d36e61405b11033ad9a32cceaa2-a_1731674520","domain":".d.adroll.com","path":"/","expires":1765802665.074258,"size":53,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"receive-cookie-deprecation","value":"1","domain":".d.adroll.com","path":"/","expires":1765802665.074312,"size":27,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"receive-cookie-deprecation","value":"1","domain":".adroll.com","path":"/","expires":1765802665.074342,"size":27,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"__adroll_shared","value":"a7837d36e61405b11033ad9a32cceaa2-a_1731674520","domain":".adroll.com","path":"/","expires":1765802665.074365,"size":60,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"__adroll_fpc","value":"b215fc4910fbf8aadb287848ab8291cc-1731674520789","domain":".bitget.com","path":"/","expires":1763232263,"size":58,"httpOnly":false,"secure":false,"session":false,"sameSite":"Lax","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"yabs-sid","value":"1184838441731674520","domain":"mc.yandex.ru","path":"/","expires":-1,"size":27,"httpOnly":false,"secure":true,"session":true,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"yuidss","value":"8530305331731674517","domain":".yandex.ru","path":"/","expires":1766234520.815078,"size":25,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"ymex","value":"2047034520.yrts.1731674520","domain":".yandex.ru","path":"/","expires":1763210520.815099,"size":30,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"receive-cookie-deprecation","value":"1","domain":".yandex.ru","path":"/","expires":1763210663.489914,"size":27,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"bitget_lang","value":"zh-CN","domain":"www.bitget.com","path":"/","expires":1763210565,"size":16,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"BITGET_LOCAL_COOKIE","value":"{%22bitget_lang%22:%22zh-CN%22%2C%22bitget_unit%22:%22USD%22%2C%22bitget_showasset%22:true%2C%22bitget_theme%22:%22white%22%2C%22bitget_layout%22:%22right%22%2C%22bitget_valuationunit%22:1%2C%22bitget_valuationunitandfiat%22:1%2C%22bitgt_login%22:false}","domain":"www.bitget.com","path":"/","expires":1763210643,"size":272,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"theme","value":"white","domain":"www.bitget.com","path":"/","expires":1763210520,"size":10,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga_clientid","value":"666574058.1731674506","domain":"www.bitget.com","path":"/","expires":-1,"size":32,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga_sessionid","value":"1731674505","domain":"www.bitget.com","path":"/","expires":-1,"size":23,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ym_isad","value":"2","domain":".bitget.com","path":"/","expires":1731746521,"size":9,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ym_visorc","value":"b","domain":".bitget.com","path":"/","expires":1731676463,"size":11,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_dx_kvani5r","value":"378d1fc0c1722ebab6f937a5c1c9631e2dbf833377e5b2dd15afcb0144944a4b7cc21a2a","domain":"www.bitget.com","path":"/","expires":1766234524.799644,"size":83,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"TapAd_TS","value":"1731674526323","domain":".tapad.com","path":"/","expires":1736858664.733669,"size":21,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"TapAd_DID","value":"1ef751f3-7631-4d4b-b566-d72a59b9b794","domain":".tapad.com","path":"/","expires":1736858664.73372,"size":45,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"tuuid","value":"53486f6a-b771-478b-9cf4-c58352b4fe08","domain":".bidswitch.net","path":"/","expires":1763210527.123817,"size":41,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"c","value":"1731674526","domain":".bidswitch.net","path":"/","expires":1763210526.795258,"size":11,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"CMID","value":"ZzdBnosFVVAAADU8AY9ScQAA","domain":".casalemedia.com","path":"/","expires":1763210665.125388,"size":28,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"CMPS","value":"4760","domain":".casalemedia.com","path":"/","expires":1739450526.884922,"size":8,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"CMPRO","value":"4760","domain":".casalemedia.com","path":"/","expires":1739450665.125433,"size":9,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"dy_token","value":"6737419edkqlE1HBNeHcLFOp0dmSGt2oCjmbWYe1","domain":"www.bitget.com","path":"/","expires":1732279326,"size":48,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"KRTBCOOKIE_10","value":"22808-YTc4MzdkMzZlNjE0MDViMTEwMzNhZDlhMzJjY2VhYTI&KRTB&22883-YTc4MzdkMzZlNjE0MDViMTEwMzNhZDlhMzJjY2VhYTI&KRTB&23504-YTc4MzdkMzZlNjE0MDViMTEwMzNhZDlhMzJjY2VhYTI&KRTB&23615-YTc4MzdkMzZlNjE0MDViMTEwMzNhZDlhMzJjY2VhYTI","domain":".pubmatic.com","path":"/","expires":1739450664.899612,"size":227,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"tuuid_lu","value":"1731674527","domain":".bidswitch.net","path":"/","expires":1763210527.123875,"size":18,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"TDID","value":"8145d35a-563e-43ab-9bfc-123060e22e0f","domain":".adsrvr.org","path":"/","expires":1763210527.444561,"size":40,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"khaos","value":"M3IQAWND-1R-F4LS","domain":".rubiconproject.com","path":"/","expires":1763210665.1266,"size":21,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"khaos_p","value":"M3IQAWND-1R-F4LS","domain":".rubiconproject.com","path":"/","expires":1763210665.126636,"size":23,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"receive-cookie-deprecation","value":"1","domain":".rubiconproject.com","path":"/","expires":1739450665.126708,"size":27,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"TDCPM","value":"CAESFAoFdGFwYWQSCwi64dGrnt_CPRAFGAUgASgCMgsIgqO21rTfwj0QBTgB","domain":".adsrvr.org","path":"/","expires":1763210527.444829,"size":65,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"A3","value":"d=AQABBJ9BN2cCEBG2puFyJ8ChVjmLVnTVKeAFEgEBAQGTOGdBZ69B8HgB_eMAAA&S=AQAAAmvMBpCMJQkwnP00bkhKzNA","domain":".yahoo.com","path":"/","expires":1763232265.009694,"size":96,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"XANDR_PANID","value":"zZZ8MF4H8G1-EPsKbkWbqcDBud90Q40PsbWZmY5wrwqW7qzSrEprrO9xbD4QibGnB_b5Znzq0S6WxldI9pphUtTzr2-hIlHyzd4lN7NV5CE.","domain":".adnxs.com","path":"/","expires":1739450665.756174,"size":119,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"receive-cookie-deprecation","value":"1","domain":".adnxs.com","path":"/","expires":1766234665.756251,"size":27,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"uuid2","value":"4367807690878124792","domain":".adnxs.com","path":"/","expires":1739450665.756273,"size":24,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"IDSYNC","value":"1770~2luc","domain":".analytics.yahoo.com","path":"/","expires":1763210665.009655,"size":15,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"t_gid","value":"2b4b6b79-d065-491a-8f45-76c010303764-tucte30c71f","domain":".taboola.com","path":"/","expires":1763210665.127513,"size":53,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"t_pt_gid","value":"2b4b6b79-d065-491a-8f45-76c010303764-tucte30c71f","domain":".taboola.com","path":"/","expires":1763210665.127562,"size":56,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"tluidp","value":"2831732275909539842318","domain":".3lift.com","path":"/","expires":1739450665.672111,"size":28,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"tluid","value":"2831732275909539842318","domain":".3lift.com","path":"/","expires":1739450665.672172,"size":27,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"did","value":"w0900jpqRM2xP25S","domain":".pippio.com","path":"/","expires":1763210528.623913,"size":19,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"didts","value":"1731674528","domain":".pippio.com","path":"/","expires":1763210528.623983,"size":15,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"nnls","value":"","domain":".pippio.com","path":"/","expires":1736858528.624002,"size":4,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"pxrc","value":"CAA=","domain":".pippio.com","path":"/","expires":1736858528.624036,"size":8,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"OptanonAlertBoxClosed","value":"Fri%20Nov%2015%202024%2020:42:08%20GMT+0800%20(%E4%B8%AD%E5%9B%BD%E6%A0%87%E5%87%86%E6%97%B6%E9%97%B4)","domain":"www.bitget.com","path":"/","expires":1763210528,"size":123,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"OptanonConsent","value":"isMarketing=1&isStatistic=1","domain":"www.bitget.com","path":"/","expires":1763210528,"size":41,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"ar_debug","value":"1","domain":"x.adroll.com","path":"/","expires":-1,"size":9,"httpOnly":true,"secure":true,"session":true,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"__cf_bm","value":"LZzNWGT4DbsMMPnHSxJ.X_fg8rd1ccd9XWDcahNotTo-1731674533-1.0.1.1-0StEau1mCe815L5xiKXPOqRDnBe9FnyB0q3Pnaq2gIZpl_Z_v4tJzZIQjba4zqS3mPwX4PQvjnSeX3__ipnguA","domain":".bitget.com","path":"/","expires":1731676333.239577,"size":156,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_cfuvid","value":"hZ2o3Nc0w.C6amM9Z1UimGlWNmcclCnS2MdtgVV6a6c-1731674533170-0.0.1.1-604800000","domain":".bitget.com","path":"/","expires":-1,"size":82,"httpOnly":true,"secure":true,"session":true,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"TapAd_3WAY_SYNCS","value":"1!7692-2!7692","domain":".tapad.com","path":"/","expires":1736858664.733772,"size":29,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"stel_ssid","value":"d0f6585f3d76dc297c_16483645945632509495","domain":"oauth.telegram.org","path":"/","expires":1762415980.425416,"size":48,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"captcha_v4_user","value":"c6762e392d704c139e4d0862a99879ac","domain":"www.bitget.com","path":"/","expires":1763210598.859071,"size":47,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bt_rtoken","value":"upex:session:id:4d42713c92c2f01cc4d87d6533f04038fcd2dd8b26bcc5af7383e64219c54106","domain":".bitget.com","path":"/","expires":-1,"size":89,"httpOnly":false,"secure":true,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bt_uid","value":"ADA3249CCE3C42B55D9151E669B9C5D7","domain":".bitget.com","path":"/","expires":-1,"size":38,"httpOnly":false,"secure":true,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bt_sessonid","value":"8e3fd04f-f76f-4e3b-931a-1435f0c4f72d","domain":"www.bitget.com","path":"/","expires":-1,"size":47,"httpOnly":true,"secure":true,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bt_newsessionid","value":"eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiJkYTMyOWIzMy02ZTNiLTRhYmEtYjA2Zi0xMzdkYjFiNTQzNWYxMTUwMzY0ODkwIiwidWlkIjoiTy93NUgvVXRNZVBDTVZJMkNiR0l0UT09Iiwic3ViIjoiYW5oKioqb20iLCJpcCI6ImRCTmt1clN0UVRBYlR4anF2dy9EbzRLV0lPQjdhaERRR05kYnF3ZmFRWEU9IiwiZGlkIjoibFhXWVJhc0NuOGloQmZTMUNqc0FodGNoUE9qYzJySEZ3YWYyZk16eVo0QjEyUklzWlFLTTVIQmtTNHlUUmhuVyIsInN0cyI6MCwiaWF0IjoxNzMxNjc0NjQxLCJleHAiOjE3MzIxMDY2NDEsInB1c2hpZCI6ImRka1NMR1VDak9Sd1pFdU1rMFlaMWc9PSIsImlzcyI6InVwZXgifQ.3RihY7cc3yhyElsXJ08_mlf87a_A0ybLzn7XfNfruPs","domain":"www.bitget.com","path":"/","expires":-1,"size":510,"httpOnly":true,"secure":true,"session":true,"sameSite":"Lax","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga_B8RNGYK5MS","value":"GS1.1.1731674643.1.0.1731674643.0.0.0","domain":".bitget.com","path":"/","expires":1766234643.781634,"size":51,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"__ar_v4","value":"2WBEMJJKHFG5PLSUZ7B5OY%3A20241115%3A3%7CR3652JF77NH6ZC5OBZHWIH%3A20241115%3A3","domain":".www.bitget.com","path":"/","expires":1763210663,"size":84,"httpOnly":false,"secure":false,"session":false,"sameSite":"Lax","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bh","value":"Ej8iR29vZ2xlIENocm9tZSI7dj0iMTMxIiwiQ2hyb21pdW0iO3Y9IjEzMSIsIk5vdF9BIEJyYW5kIjt2PSIyNCIaBSJ4ODYiIg8iMTMxLjAuNjc3OC42OSIqAj8wOgciTGludXgiQgciNi44LjAiSgQiNjQiUloiR29vZ2xlIENocm9tZSI7dj0iMTMxLjAuNjc3OC42OSIsIkNocm9taXVtIjt2PSIxMzEuMC42Nzc4LjY5IiwiTm90X0EgQnJhbmQiO3Y9IjI0LjAuMC4wIiI=","domain":".yandex.ru","path":"/","expires":1763210663.489978,"size":282,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"PugT","value":"1731674663","domain":".pubmatic.com","path":"/","expires":1734266664.899687,"size":14,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bm_sv","value":"C404F90EE6498DEAF2091630F8530745~YAAQveUcuHsijR+TAQAAMHDaLxkHRSdI2LWoCk6mqAW9DITFKNIlZRmWLuyLx86jBGhdVpFsCFnmaND+RfLBkPOq0cYsGyBvjmnGVgQv0XjoDq7anWwImIn5PM5jb/bNlDScp/YV/PQrS7Ty9qq60ZWBFzzlrvXCWKDmjk/RDeqgXg/h/A/KQCSZnyOvR+FohIHMaxAX7z7e7ajW1dNQdgswWLhAA5fp1mU5ZpWSQ5vJPS/umd382He61CQBUDKlcg==~1","domain":".bitget.com","path":"/","expires":1731681715.028714,"size":300,"httpOnly":false,"secure":true,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"audit_p","value":"1|F2eIc6ULJVDXgRnq0Dx/wzLcNAwsjAPTn7nTWjiwZQYaGBMLXkl4hn99OEqTzU4yjBhREN5jzTcwHTRO1/p4iGlty70eE65yR164mUDQhphJnKuoXdYGNhxlSdv7cwRHBLyYSNLup37PKykau6powAa3Uxgm4wJa+RxcMwcznfE2zeWH4nD7eybyzRQDbtqQCwfRAfYnv8yyqVI1k5poNA==","domain":".rubiconproject.com","path":"/","expires":1763210665.126536,"size":225,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"audit","value":"1|F2eIc6ULJVDXgRnq0Dx/wzLcNAwsjAPTn7nTWjiwZQYaGBMLXkl4hn99OEqTzU4yjBhREN5jzTcwHTRO1/p4iGlty70eE65yR164mUDQhphJnKuoXdYGNhxlSdv7cwRHBLyYSNLup37PKykau6powAa3Uxgm4wJa+RxcMwcznfE2zeWH4nD7eybyzRQDbtqQCwfRAfYnv8yyqVI1k5poNA==","domain":".rubiconproject.com","path":"/","expires":1763210665.126673,"size":223,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"rlas3","value":"r/GW/OPEEXlgbzUEvTcjjuhhEz2xhgl3s+8V0U4/tQI=","domain":".rlcdn.com","path":"/","expires":1763210665.468006,"size":49,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"pxrc","value":"CJ6D3bkGEgUI6AcQABIFCOhHEAASBwi66gEQiwESBgi46wEQKA==","domain":".rlcdn.com","path":"/","expires":1736858665.468061,"size":56,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"anj","value":"dTM7k!M4/rD>6NRF']wIg2E>rH>eHE!A#FV-G2C%Q[7t+TYZwFE7]#dHhOI@HhOgxCcDfH^AmzuHmw5BHoA\`!T^7h.HoAG+Yjy8eE?M2!g-O^%ki'G=*f=kW*g0D(-!:4j","domain":".adnxs.com","path":"/","expires":1739450665.75623,"size":133,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga_Z8Q93KHR0F","value":"GS1.1.1731674505.1.1.1731674671.32.0.0","domain":".bitget.com","path":"/","expires":1766234671.286886,"size":52,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443}]}`
        let cookie = `{"cookies":[{"name":"correction_token","value":"310E2571173CDED821B3A1AD35E9185Aweb_1732184528628_2205118","domain":"www.coinw.com","path":"/","expires":1763725752,"size":73,"httpOnly":false,"secure":false,"session":false,"sameSite":"Lax","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"correction_accessToken","value":"57e887d018f2839ae8f6aa9bcdbc913e548ee2f8d011c381862d6af44674d5e7","domain":"www.coinw.com","path":"/","expires":1763725752,"size":86,"httpOnly":false,"secure":false,"session":false,"sameSite":"Lax","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"accessToken","value":"57e887d018f2839ae8f6aa9bcdbc913e548ee2f8d011c381862d6af44674d5e7","domain":"www.coinw.com","path":"/","expires":1763725752,"size":75,"httpOnly":false,"secure":false,"session":false,"sameSite":"Lax","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"i18n_redirected","value":"zh_CN","domain":"www.coinw.com","path":"/","expires":1763726435,"size":20,"httpOnly":false,"secure":false,"session":false,"sameSite":"Lax","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"THEME","value":"LIGHT","domain":"www.coinw.com","path":"/","expires":-1,"size":10,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"i","value":"MYnbZm73hZFXKjvyuWX97J3MI7CSTu8G3SSCX5p2v1B715+g4AuaW6paCH2sx0jgBDyKw7fE8r9cqyg6/fLbN4Xq/Aw=","domain":".yandex.ru","path":"/","expires":1766314336.073629,"size":93,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"yandexuid","value":"1082721261731754335","domain":".yandex.ru","path":"/","expires":1766314337.187696,"size":28,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"yashr","value":"9313470971731754335","domain":".yandex.ru","path":"/","expires":1763290336.073696,"size":24,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"yabs-sid","value":"1189116901731754337","domain":"mc.yandex.ru","path":"/","expires":-1,"size":27,"httpOnly":false,"secure":true,"session":true,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"yuidss","value":"1082721261731754335","domain":".yandex.ru","path":"/","expires":1766314337.187779,"size":25,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"ymex","value":"2047114337.yrts.1731754337","domain":".yandex.ru","path":"/","expires":1763290337.187796,"size":30,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"receive-cookie-deprecation","value":"1","domain":".yandex.ru","path":"/","expires":1763365276.902871,"size":27,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"A3","value":"d=AQABBGR5OGcCECcnHnFFdVRGNZ0QidBKQzAFEgEBAQHKOWdCZ69B8HgB_eMAAA&S=AQAAArNukj6ZxkbkdIaws160s3o","domain":".yahoo.com","path":"/","expires":1763386880.032238,"size":96,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"TapAd_TS","value":"1731754340127","domain":".tapad.com","path":"/","expires":1737013279.698306,"size":21,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"TapAd_DID","value":"80c41233-3cfb-4186-8962-ba1811cf5f58","domain":".tapad.com","path":"/","expires":1737013279.698375,"size":45,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"t_gid","value":"7407c311-7a51-438c-a550-abc4aaf1a4bb-tucte31fee4","domain":".taboola.com","path":"/","expires":1763365279.615811,"size":53,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"t_pt_gid","value":"7407c311-7a51-438c-a550-abc4aaf1a4bb-tucte31fee4","domain":".taboola.com","path":"/","expires":1763365279.615863,"size":56,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"khaos","value":"M3K1TKXZ-1V-ALPN","domain":".rubiconproject.com","path":"/","expires":1763365279.086621,"size":21,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"khaos_p","value":"M3K1TKXZ-1V-ALPN","domain":".rubiconproject.com","path":"/","expires":1763365279.086649,"size":23,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"receive-cookie-deprecation","value":"1","domain":".rubiconproject.com","path":"/","expires":1739605279.086703,"size":27,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"KRTBCOOKIE_10","value":"22808-NWMxZjZhNGQ5NWUxMGEyYTRlNDUxNTNjNDJjMmViNzg&KRTB&22883-NWMxZjZhNGQ5NWUxMGEyYTRlNDUxNTNjNDJjMmViNzg&KRTB&23504-NWMxZjZhNGQ5NWUxMGEyYTRlNDUxNTNjNDJjMmViNzg&KRTB&23615-NWMxZjZhNGQ5NWUxMGEyYTRlNDUxNTNjNDJjMmViNzg","domain":".pubmatic.com","path":"/","expires":1739605278.920147,"size":227,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"did","value":"fuqyP8VLZvC8paK5","domain":".pippio.com","path":"/","expires":1763290342.23782,"size":19,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"didts","value":"1731754342","domain":".pippio.com","path":"/","expires":1763290342.237877,"size":15,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"nnls","value":"","domain":".pippio.com","path":"/","expires":1736938342.237897,"size":4,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"pxrc","value":"CAA=","domain":".pippio.com","path":"/","expires":1736938342.237912,"size":8,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"CMID","value":"Zzh5ZIsFVgwAAHfXAakqjQAA","domain":".casalemedia.com","path":"/","expires":1763365278.44026,"size":28,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"CMPS","value":"4932","domain":".casalemedia.com","path":"/","expires":1739530340.008481,"size":8,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"CMPRO","value":"4932","domain":".casalemedia.com","path":"/","expires":1739605278.440373,"size":9,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga","value":"GA1.1.1027142390.1731754330","domain":".bitget.com","path":"/","expires":1766389284.225349,"size":30,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bitget_lang","value":"zh-CN","domain":"www.bitget.com","path":"/","expires":1763365280,"size":16,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"theme","value":"white","domain":"www.bitget.com","path":"/","expires":1763290333,"size":10,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga_clientid","value":"1027142390.1731754330","domain":"www.bitget.com","path":"/","expires":-1,"size":33,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_dx_kvani5r","value":"c161941072692b13cb747d61e70b7f1a16d930aa14318b52b30c8e822bf102c6fc250511","domain":"www.bitget.com","path":"/","expires":1766389188.343604,"size":83,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ym_uid","value":"1731754337128758006","domain":".bitget.com","path":"/","expires":1763290336,"size":26,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ym_d","value":"1731754337","domain":".bitget.com","path":"/","expires":1763290336,"size":15,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"__adroll_fpc","value":"aa9a3144222fd50022333b81656baf2f-1731754337129","domain":".bitget.com","path":"/","expires":1763386877,"size":58,"httpOnly":false,"secure":false,"session":false,"sameSite":"Lax","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_cfuvid","value":"8Pnwv85lIuhfGbMBgD4CiRu22h1LcMS2xPweCtEOOFw-1731754338507-0.0.1.1-604800000","domain":".bitget.com","path":"/","expires":-1,"size":82,"httpOnly":true,"secure":true,"session":true,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"OptanonAlertBoxClosed","value":"Sat%20Nov%2016%202024%2021:05:05%20GMT+0800%20(%E4%B8%AD%E5%9B%BD%E6%A0%87%E5%87%86%E6%97%B6%E9%97%B4)","domain":"www.bitget.com","path":"/","expires":1763298305,"size":123,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"OptanonConsent","value":"isMarketing=1&isStatistic=1","domain":"www.bitget.com","path":"/","expires":1763298305,"size":41,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"tuuid","value":"65968270-018a-45e1-b2ba-8b928c0e7798","domain":".bidswitch.net","path":"/","expires":1763290339.682657,"size":41,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"c","value":"1731754339","domain":".bidswitch.net","path":"/","expires":1763290339.455306,"size":11,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"tuuid_lu","value":"1731754339","domain":".bidswitch.net","path":"/","expires":1763290339.682705,"size":18,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"TDID","value":"b415b044-15af-49ff-b3fd-6a031b39df68","domain":".adsrvr.org","path":"/","expires":1763365279.484294,"size":40,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"__adroll","value":"5c1f6a4d95e10a2a4e45153c42c2eb78-a_1731754337","domain":".d.adroll.com","path":"/","expires":1765957279.200233,"size":53,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"receive-cookie-deprecation","value":"1","domain":".d.adroll.com","path":"/","expires":1765957279.200294,"size":27,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"receive-cookie-deprecation","value":"1","domain":".adroll.com","path":"/","expires":1765957279.200339,"size":27,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"__adroll_shared","value":"5c1f6a4d95e10a2a4e45153c42c2eb78-a_1731754337","domain":".adroll.com","path":"/","expires":1765957279.200362,"size":60,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"ar_debug","value":"1","domain":"x.adroll.com","path":"/","expires":-1,"size":9,"httpOnly":true,"secure":true,"session":true,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"XANDR_PANID","value":"5c9IHgbUkzcItQUHc7u3UwWja6IZoCKqBKm3MoMjGq1kckhjojkTNObEglxZNtF6V5bdFtmihBTAblQOaxgqXzbzMc6kuCLe0NdYA5PNXoM.","domain":".adnxs.com","path":"/","expires":1739605280.080393,"size":119,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"receive-cookie-deprecation","value":"1","domain":".adnxs.com","path":"/","expires":1766389280.080509,"size":27,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"uuid2","value":"4644616257718275807","domain":".adnxs.com","path":"/","expires":1739605280.080534,"size":24,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"tluidp","value":"182728306274547648373","domain":".3lift.com","path":"/","expires":1739605280.202445,"size":27,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"tluid","value":"182728306274547648373","domain":".3lift.com","path":"/","expires":1739605280.202537,"size":26,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"fingerprint-1731829185303-3545.7000000001863-0.7236135316236552","value":"true","domain":"www.bitget.com","path":"/","expires":-1,"size":67,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"terminalCode-1731829185304-3546.8000000000466-0.18525561286883852","value":"true","domain":"www.bitget.com","path":"/","expires":-1,"size":69,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga_sessionid","value":"1731829184","domain":"www.bitget.com","path":"/","expires":-1,"size":23,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"dy_token","value":"67399dc5hiUvg4aoo4NWraanMpYDjUCvr9KiHWa1","domain":"www.bitget.com","path":"/","expires":1732433990,"size":48,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"IDSYNC","value":"1770~2lvj","domain":".analytics.yahoo.com","path":"/","expires":1763365280.032166,"size":15,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"stel_ssid","value":"031666165d33327d34_13128692807439905706","domain":"oauth.telegram.org","path":"/","expires":1763072315.19006,"size":48,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"captcha_v4_user","value":"1c843149fb454144b41619715e45aee5","domain":"www.bitget.com","path":"/","expires":1763365217.676247,"size":47,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bt_rtoken","value":"upex:session:id:5eb86cb5fb6aaf4270acdd3ef754eba58f0c69220ea60a6f485785a657ace4d0","domain":".bitget.com","path":"/","expires":-1,"size":89,"httpOnly":false,"secure":true,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bt_uid","value":"ACA75325DA2E88554EE21FFD71180F5D","domain":".bitget.com","path":"/","expires":-1,"size":38,"httpOnly":false,"secure":true,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bt_sessonid","value":"7681bb60-3a56-4027-9b19-29d6346e70b8","domain":"www.bitget.com","path":"/","expires":-1,"size":47,"httpOnly":true,"secure":true,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bt_newsessionid","value":"eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI3OThmNmE5NC04ZWQyLTRiYmItODdiNy1hNmExNDkxYzhlYWMzMjA0NjQzNTgiLCJ1aWQiOiJ3OXhvaFJFRU1iSGszOUpNZkNDT2NRPT0iLCJzdWIiOiJkb24qKipvbSIsImlwIjoiVGZ6YlllRnRHbys3WVhQS25rejlBb0UycHJNd3g5a21CZHl5RkVqKzVKST0iLCJkaWQiOiI0ZHVEMEI3K3oza0MzWEFmVzloT3J0MG5wTkhLS3VNZ04vUHg4bUJYeHhoMTJSSXNaUUtNNUhCa1M0eVRSaG5XIiwic3RzIjowLCJpYXQiOjE3MzE4MjkyNjgsImV4cCI6MTczMjI2MTI2OCwicHVzaGlkIjoiZGRrU0xHVUNqT1J3WkV1TWswWVoxZz09IiwiaXNzIjoidXBleCJ9.Eoma_kP6lz-bZC3WAbvnA0iogkLp1Tao-IoGSbvP4mQ","domain":"www.bitget.com","path":"/","expires":-1,"size":508,"httpOnly":true,"secure":true,"session":true,"sameSite":"Lax","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"BITGET_LOCAL_COOKIE","value":"{%22bitget_lang%22:%22zh-CN%22%2C%22bitget_unit%22:%22CNY%22%2C%22bitget_showasset%22:true%2C%22bitget_theme%22:%22white%22%2C%22bitget_layout%22:%22right%22%2C%22bitget_valuationunit%22:1%2C%22bitget_valuationunitandfiat%22:1%2C%22bitgt_login%22:false}","domain":"www.bitget.com","path":"/","expires":1763365282,"size":272,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bh","value":"Ej8iR29vZ2xlIENocm9tZSI7dj0iMTMxIiwiQ2hyb21pdW0iO3Y9IjEzMSIsIk5vdF9BIEJyYW5kIjt2PSIyNCIaBSJ4ODYiIg8iMTMxLjAuNjc3OC42OSIqAj8wOgciTGludXgiQgciNi44LjAiSgQiNjQiUloiR29vZ2xlIENocm9tZSI7dj0iMTMxLjAuNjc3OC42OSIsIkNocm9taXVtIjt2PSIxMzEuMC42Nzc4LjY5IiwiTm90X0EgQnJhbmQiO3Y9IjI0LjAuMC4wIiI=","domain":".yandex.ru","path":"/","expires":1763365276.902998,"size":282,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"__ar_v4","value":"2WBEMJJKHFG5PLSUZ7B5OY%3A20241116%3A5%7CR3652JF77NH6ZC5OBZHWIH%3A20241116%3A5","domain":".www.bitget.com","path":"/","expires":1763365277,"size":84,"httpOnly":false,"secure":false,"session":false,"sameSite":"Lax","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"PugT","value":"1731762724","domain":".pubmatic.com","path":"/","expires":1734421278.920256,"size":14,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"pxrc","value":"COTy4bkGEgUI6AcQABIFCOhHEAASCAi66gEQ7sgEEggIwuoBELrJBBIHCLjrARCnBQ==","domain":".rlcdn.com","path":"/","expires":1737013279.85696,"size":72,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"audit_p","value":"1|KU3TUTGG3tk5xe39Mf6aM6EbHmL3ALMsBuG8IOzTGs0aGBMLXkl4hkBwdewdhHogrKjBDh6NdrgwHTRO1/p4iGlty70eE65yR164mUDQhphJnKuoXdYGNpSO9CBF/oObGiojn9sUFMEIMMUC6OwqjlfUnwg8qmwpwvlwdUAHMD7Fl2nkzsvwfCbyzRQDbtqQCwfRAfYnv8yyqVI1k5poNA==","domain":".rubiconproject.com","path":"/","expires":1763365279.086559,"size":225,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"audit","value":"1|KU3TUTGG3tk5xe39Mf6aM6EbHmL3ALMsBuG8IOzTGs0aGBMLXkl4hkBwdewdhHogrKjBDh6NdrgwHTRO1/p4iGlty70eE65yR164mUDQhphJnKuoXdYGNpSO9CBF/oObGiojn9sUFMEIMMUC6OwqjlfUnwg8qmwpwvlwdUAHMD7Fl2nkzsvwfCbyzRQDbtqQCwfRAfYnv8yyqVI1k5poNA==","domain":".rubiconproject.com","path":"/","expires":1763365279.086677,"size":223,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"TDCPM","value":"CAESFAoFdGFwYWQSCwiS1uXIornDPRAFEhcKCGxpdmVyYW1wEgsIppusoai5wz0QBRgBIAEoAjILCPyRr86-ucM9EAU4AVoIbGl2ZXJhbXBgAg..","domain":".adsrvr.org","path":"/","expires":1763365279.484469,"size":117,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"TapAd_3WAY_SYNCS","value":"1!7735-2!7735","domain":".tapad.com","path":"/","expires":1737013279.698424,"size":29,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"rlas3","value":"+asAlsegDNqYMhMmYl+49Az7yNufyAWanBdlHRj6BdY=","domain":".rlcdn.com","path":"/","expires":1763365279.856791,"size":49,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"anj","value":"dTM7k!M4/rD>6NRF']wIg2E?cq2FwR!]tdAM\`u8]DvI[!O4]7Q=E?/X\`o!>T1e=Vvi-xc5\`+4KR\`8)Od1-)]\`\`+.O:3Cdaa2)Fp42GYiTC#!_)F37hq*bpRz*qF1\`*b\`g*-U'o[","domain":".adnxs.com","path":"/","expires":1739605280.080483,"size":138,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga_Z8Q93KHR0F","value":"GS1.1.1731829184.3.1.1731829281.49.0.0","domain":".bitget.com","path":"/","expires":1766389281.008201,"size":52,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga_B8RNGYK5MS","value":"GS1.1.1731829284.1.1.1731829284.0.0.0","domain":".bitget.com","path":"/","expires":1766389284.229991,"size":51,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"ar_debug","value":"1","domain":".www.google-analytics.com","path":"/","expires":1739966444.793104,"size":9,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"COINW_LANGUAGE","value":"zh_CN","domain":"www.coinw.com","path":"/","expires":-1,"size":19,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_gcl_au","value":"1.1.413755305.1732189754","domain":".coinw.com","path":"/","expires":1739965754,"size":31,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"HMACCOUNT_BFESS","value":"88620D986C302A2C","domain":".hm.baidu.com","path":"/","expires":1766749754.61278,"size":31,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"Hm_lvt_525b7a4b6599566fc46ec53565d28557","value":"1732189755","domain":".coinw.com","path":"/","expires":1763726444,"size":49,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"HMACCOUNT","value":"88620D986C302A2C","domain":".coinw.com","path":"/","expires":-1,"size":25,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"selectType","value":"CNY","domain":"www.coinw.com","path":"/","expires":-1,"size":13,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_gid","value":"GA1.2.1427289152.1732189755","domain":".coinw.com","path":"/","expires":1732276842,"size":31,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"SESSION","value":"fae4976d-c3cb-4898-82f8-44bc9873263c","domain":"www.coinw.com","path":"/","expires":-1,"size":43,"httpOnly":true,"secure":true,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"token","value":"310E2571173CDED821B3A1AD35E9185Aweb_1732184528628_2205118","domain":"www.coinw.com","path":"/","expires":-1,"size":62,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"JSESSION","value":"4CEF8D2F89AFB90CCF5F36F3FF3D567D","domain":"www.coinw.com","path":"/","expires":-1,"size":40,"httpOnly":true,"secure":true,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"CLID","value":"65b9dc144ffc4bb28f269e188e760058.20231210.20251121","domain":"www.clarity.ms","path":"/","expires":1763725755.368452,"size":54,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_clck","value":"1cvgqwo%7C2%7Cfr2%7C0%7C1786","domain":".coinw.com","path":"/","expires":1763725755,"size":33,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_hjSession_3376431","value":"eyJpZCI6IjE0YmQzMjViLWQ4ZmQtNDQ1ZC1hYzIzLThjM2M5YjhlNTExYiIsImMiOjE3MzIxODk3NTYyMzAsInMiOjAsInIiOjAsInNiIjowLCJzciI6MCwic2UiOjAsImZzIjoxLCJzcCI6MH0=","domain":".coinw.com","path":"/","expires":1732191556,"size":166,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"MUID","value":"166EFB3BFDB56A481987EE05FCF06BF8","domain":".bing.com","path":"/","expires":1765885760.508774,"size":36,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"High","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"MR","value":"0","domain":".c.bing.com","path":"/","expires":1732794560.50884,"size":3,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"SRM_B","value":"166EFB3BFDB56A481987EE05FCF06BF8","domain":".c.bing.com","path":"/","expires":1765885760.508862,"size":37,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"SM","value":"C","domain":".c.clarity.ms","path":"/","expires":-1,"size":3,"httpOnly":false,"secure":true,"session":true,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"MUID","value":"166EFB3BFDB56A481987EE05FCF06BF8","domain":".clarity.ms","path":"/","expires":1765885761.89438,"size":36,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"High","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"MR","value":"0","domain":".c.clarity.ms","path":"/","expires":1732794561.894425,"size":3,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"__cf_bm","value":"cvKsGFgcJCbdnohzaF7JYqf4STevreKQq47BtRwUdl0-1732190432-1.0.1.1-0BN7av48B5_doq6HOkJT7i0Vdh0c601_RS7IFcdYOr5_e2hp_rFy6BvfJ8QDgybFD61l0xEujQ3j742OS2O.oA","domain":".coinw.com","path":"/","expires":1732192232.271815,"size":156,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"deviceId","value":"9fd27bbac6284310908baac5159f69a0","domain":"www.coinw.com","path":"/","expires":1766750439.764839,"size":40,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"coinwsessionid","value":"fae4976d-c3cb-4898-82f8-44bc9873263c","domain":"www.coinw.com","path":"/","expires":-1,"size":50,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga_CGPRXKB35T","value":"GS1.1.1732189754.1.1.1732190440.60.0.0","domain":".coinw.com","path":"/","expires":1766750440.481414,"size":52,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"JSESSIONID","value":"C4C687541A4CCADC7015D477144B04A5","domain":"www.coinw.com","path":"/","expires":-1,"size":42,"httpOnly":true,"secure":true,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_gat_UA-257710828-1","value":"1","domain":".coinw.com","path":"/","expires":1732190502,"size":20,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga_BH36WRPKLN","value":"GS1.1.1732189755.1.1.1732190443.0.0.0","domain":".coinw.com","path":"/","expires":1766750443.146893,"size":51,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga","value":"GA1.1.1575037858.1732189754","domain":".coinw.com","path":"/","expires":1766750444.349872,"size":30,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"Hm_lpvt_525b7a4b6599566fc46ec53565d28557","value":"1732190444","domain":".coinw.com","path":"/","expires":-1,"size":50,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga_H9F6SYN3JW","value":"GS1.1.1732189756.1.1.1732190444.60.0.0","domain":".coinw.com","path":"/","expires":1766750444.339502,"size":52,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"IDE","value":"AHWqTUns-5NXb2iv2QrMAWmE4BdBrec2PKQ0-FEDWDeOSI0I5lsCM0-GD4uHo7HE","domain":".doubleclick.net","path":"/","expires":1766750445.983704,"size":67,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_hjSessionUser_3376431","value":"eyJpZCI6IjliZjViOTRmLWNlMGMtNTBlMC1hNGY1LTEzYjVkYTdiNDhkMCIsImNyZWF0ZWQiOjE3MzIxODk3NTYyMjksImV4aXN0aW5nIjp0cnVlfQ==","domain":".coinw.com","path":"/","expires":1763726446,"size":138,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_clsk","value":"7qwymi%7C1732190448643%7C2%7C1%7Ct.clarity.ms%2Fcollect","domain":".coinw.com","path":"/","expires":1732276848,"size":60,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443}]}`
        //登录主要cookie
        //token  correction_token accessToken coinwsessionid

        //怀疑设备识别
        //deviceId
        await init()

        const {
            Storage,
            Page,
        } = driver.cdp

        try {

            Page.navigate({ url: baseUrl })

            if (cookie) {
                await Storage.setCookies(JSON.parse(cookie))
            }

            let t = Date.now()

            let s = setInterval(async () => {

                let cookies = await Storage.getCookies()

                //将这个打印出来的结果 保存到cookie上面
                //
                console.info(JSON.stringify(cookies))

                if (Date.now() - t > 5 * 60 * 1000) {

                    clearInterval(s)
                }
            }, 1000)

        } catch (e) {
            console.error(e)
        }

        await sleep(timeout)
        done()
    }, timeout)

    test('监听wss', async (done) => {

        let cookie = `{"cookies":[{"name":"correction_token","value":"310E2571173CDED821B3A1AD35E9185Aweb_1732184528628_2205118","domain":"www.coinw.com","path":"/","expires":1763725752,"size":73,"httpOnly":false,"secure":false,"session":false,"sameSite":"Lax","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"correction_accessToken","value":"57e887d018f2839ae8f6aa9bcdbc913e548ee2f8d011c381862d6af44674d5e7","domain":"www.coinw.com","path":"/","expires":1763725752,"size":86,"httpOnly":false,"secure":false,"session":false,"sameSite":"Lax","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"accessToken","value":"57e887d018f2839ae8f6aa9bcdbc913e548ee2f8d011c381862d6af44674d5e7","domain":"www.coinw.com","path":"/","expires":1763725752,"size":75,"httpOnly":false,"secure":false,"session":false,"sameSite":"Lax","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"i18n_redirected","value":"zh_CN","domain":"www.coinw.com","path":"/","expires":1763726435,"size":20,"httpOnly":false,"secure":false,"session":false,"sameSite":"Lax","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"THEME","value":"LIGHT","domain":"www.coinw.com","path":"/","expires":-1,"size":10,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"i","value":"MYnbZm73hZFXKjvyuWX97J3MI7CSTu8G3SSCX5p2v1B715+g4AuaW6paCH2sx0jgBDyKw7fE8r9cqyg6/fLbN4Xq/Aw=","domain":".yandex.ru","path":"/","expires":1766314336.073629,"size":93,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"yandexuid","value":"1082721261731754335","domain":".yandex.ru","path":"/","expires":1766314337.187696,"size":28,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"yashr","value":"9313470971731754335","domain":".yandex.ru","path":"/","expires":1763290336.073696,"size":24,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"yabs-sid","value":"1189116901731754337","domain":"mc.yandex.ru","path":"/","expires":-1,"size":27,"httpOnly":false,"secure":true,"session":true,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"yuidss","value":"1082721261731754335","domain":".yandex.ru","path":"/","expires":1766314337.187779,"size":25,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"ymex","value":"2047114337.yrts.1731754337","domain":".yandex.ru","path":"/","expires":1763290337.187796,"size":30,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"receive-cookie-deprecation","value":"1","domain":".yandex.ru","path":"/","expires":1763365276.902871,"size":27,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"A3","value":"d=AQABBGR5OGcCECcnHnFFdVRGNZ0QidBKQzAFEgEBAQHKOWdCZ69B8HgB_eMAAA&S=AQAAArNukj6ZxkbkdIaws160s3o","domain":".yahoo.com","path":"/","expires":1763386880.032238,"size":96,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"TapAd_TS","value":"1731754340127","domain":".tapad.com","path":"/","expires":1737013279.698306,"size":21,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"TapAd_DID","value":"80c41233-3cfb-4186-8962-ba1811cf5f58","domain":".tapad.com","path":"/","expires":1737013279.698375,"size":45,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"t_gid","value":"7407c311-7a51-438c-a550-abc4aaf1a4bb-tucte31fee4","domain":".taboola.com","path":"/","expires":1763365279.615811,"size":53,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"t_pt_gid","value":"7407c311-7a51-438c-a550-abc4aaf1a4bb-tucte31fee4","domain":".taboola.com","path":"/","expires":1763365279.615863,"size":56,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"khaos","value":"M3K1TKXZ-1V-ALPN","domain":".rubiconproject.com","path":"/","expires":1763365279.086621,"size":21,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"khaos_p","value":"M3K1TKXZ-1V-ALPN","domain":".rubiconproject.com","path":"/","expires":1763365279.086649,"size":23,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"receive-cookie-deprecation","value":"1","domain":".rubiconproject.com","path":"/","expires":1739605279.086703,"size":27,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"KRTBCOOKIE_10","value":"22808-NWMxZjZhNGQ5NWUxMGEyYTRlNDUxNTNjNDJjMmViNzg&KRTB&22883-NWMxZjZhNGQ5NWUxMGEyYTRlNDUxNTNjNDJjMmViNzg&KRTB&23504-NWMxZjZhNGQ5NWUxMGEyYTRlNDUxNTNjNDJjMmViNzg&KRTB&23615-NWMxZjZhNGQ5NWUxMGEyYTRlNDUxNTNjNDJjMmViNzg","domain":".pubmatic.com","path":"/","expires":1739605278.920147,"size":227,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"did","value":"fuqyP8VLZvC8paK5","domain":".pippio.com","path":"/","expires":1763290342.23782,"size":19,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"didts","value":"1731754342","domain":".pippio.com","path":"/","expires":1763290342.237877,"size":15,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"nnls","value":"","domain":".pippio.com","path":"/","expires":1736938342.237897,"size":4,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"pxrc","value":"CAA=","domain":".pippio.com","path":"/","expires":1736938342.237912,"size":8,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"CMID","value":"Zzh5ZIsFVgwAAHfXAakqjQAA","domain":".casalemedia.com","path":"/","expires":1763365278.44026,"size":28,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"CMPS","value":"4932","domain":".casalemedia.com","path":"/","expires":1739530340.008481,"size":8,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"CMPRO","value":"4932","domain":".casalemedia.com","path":"/","expires":1739605278.440373,"size":9,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga","value":"GA1.1.1027142390.1731754330","domain":".bitget.com","path":"/","expires":1766389284.225349,"size":30,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bitget_lang","value":"zh-CN","domain":"www.bitget.com","path":"/","expires":1763365280,"size":16,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"theme","value":"white","domain":"www.bitget.com","path":"/","expires":1763290333,"size":10,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga_clientid","value":"1027142390.1731754330","domain":"www.bitget.com","path":"/","expires":-1,"size":33,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_dx_kvani5r","value":"c161941072692b13cb747d61e70b7f1a16d930aa14318b52b30c8e822bf102c6fc250511","domain":"www.bitget.com","path":"/","expires":1766389188.343604,"size":83,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ym_uid","value":"1731754337128758006","domain":".bitget.com","path":"/","expires":1763290336,"size":26,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ym_d","value":"1731754337","domain":".bitget.com","path":"/","expires":1763290336,"size":15,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"__adroll_fpc","value":"aa9a3144222fd50022333b81656baf2f-1731754337129","domain":".bitget.com","path":"/","expires":1763386877,"size":58,"httpOnly":false,"secure":false,"session":false,"sameSite":"Lax","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_cfuvid","value":"8Pnwv85lIuhfGbMBgD4CiRu22h1LcMS2xPweCtEOOFw-1731754338507-0.0.1.1-604800000","domain":".bitget.com","path":"/","expires":-1,"size":82,"httpOnly":true,"secure":true,"session":true,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"OptanonAlertBoxClosed","value":"Sat%20Nov%2016%202024%2021:05:05%20GMT+0800%20(%E4%B8%AD%E5%9B%BD%E6%A0%87%E5%87%86%E6%97%B6%E9%97%B4)","domain":"www.bitget.com","path":"/","expires":1763298305,"size":123,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"OptanonConsent","value":"isMarketing=1&isStatistic=1","domain":"www.bitget.com","path":"/","expires":1763298305,"size":41,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"tuuid","value":"65968270-018a-45e1-b2ba-8b928c0e7798","domain":".bidswitch.net","path":"/","expires":1763290339.682657,"size":41,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"c","value":"1731754339","domain":".bidswitch.net","path":"/","expires":1763290339.455306,"size":11,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"tuuid_lu","value":"1731754339","domain":".bidswitch.net","path":"/","expires":1763290339.682705,"size":18,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"TDID","value":"b415b044-15af-49ff-b3fd-6a031b39df68","domain":".adsrvr.org","path":"/","expires":1763365279.484294,"size":40,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"__adroll","value":"5c1f6a4d95e10a2a4e45153c42c2eb78-a_1731754337","domain":".d.adroll.com","path":"/","expires":1765957279.200233,"size":53,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"receive-cookie-deprecation","value":"1","domain":".d.adroll.com","path":"/","expires":1765957279.200294,"size":27,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"receive-cookie-deprecation","value":"1","domain":".adroll.com","path":"/","expires":1765957279.200339,"size":27,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"__adroll_shared","value":"5c1f6a4d95e10a2a4e45153c42c2eb78-a_1731754337","domain":".adroll.com","path":"/","expires":1765957279.200362,"size":60,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"ar_debug","value":"1","domain":"x.adroll.com","path":"/","expires":-1,"size":9,"httpOnly":true,"secure":true,"session":true,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"XANDR_PANID","value":"5c9IHgbUkzcItQUHc7u3UwWja6IZoCKqBKm3MoMjGq1kckhjojkTNObEglxZNtF6V5bdFtmihBTAblQOaxgqXzbzMc6kuCLe0NdYA5PNXoM.","domain":".adnxs.com","path":"/","expires":1739605280.080393,"size":119,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"receive-cookie-deprecation","value":"1","domain":".adnxs.com","path":"/","expires":1766389280.080509,"size":27,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"uuid2","value":"4644616257718275807","domain":".adnxs.com","path":"/","expires":1739605280.080534,"size":24,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"tluidp","value":"182728306274547648373","domain":".3lift.com","path":"/","expires":1739605280.202445,"size":27,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"tluid","value":"182728306274547648373","domain":".3lift.com","path":"/","expires":1739605280.202537,"size":26,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"fingerprint-1731829185303-3545.7000000001863-0.7236135316236552","value":"true","domain":"www.bitget.com","path":"/","expires":-1,"size":67,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"terminalCode-1731829185304-3546.8000000000466-0.18525561286883852","value":"true","domain":"www.bitget.com","path":"/","expires":-1,"size":69,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga_sessionid","value":"1731829184","domain":"www.bitget.com","path":"/","expires":-1,"size":23,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"dy_token","value":"67399dc5hiUvg4aoo4NWraanMpYDjUCvr9KiHWa1","domain":"www.bitget.com","path":"/","expires":1732433990,"size":48,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"IDSYNC","value":"1770~2lvj","domain":".analytics.yahoo.com","path":"/","expires":1763365280.032166,"size":15,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"stel_ssid","value":"031666165d33327d34_13128692807439905706","domain":"oauth.telegram.org","path":"/","expires":1763072315.19006,"size":48,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"captcha_v4_user","value":"1c843149fb454144b41619715e45aee5","domain":"www.bitget.com","path":"/","expires":1763365217.676247,"size":47,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bt_rtoken","value":"upex:session:id:5eb86cb5fb6aaf4270acdd3ef754eba58f0c69220ea60a6f485785a657ace4d0","domain":".bitget.com","path":"/","expires":-1,"size":89,"httpOnly":false,"secure":true,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bt_uid","value":"ACA75325DA2E88554EE21FFD71180F5D","domain":".bitget.com","path":"/","expires":-1,"size":38,"httpOnly":false,"secure":true,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bt_sessonid","value":"7681bb60-3a56-4027-9b19-29d6346e70b8","domain":"www.bitget.com","path":"/","expires":-1,"size":47,"httpOnly":true,"secure":true,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bt_newsessionid","value":"eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI3OThmNmE5NC04ZWQyLTRiYmItODdiNy1hNmExNDkxYzhlYWMzMjA0NjQzNTgiLCJ1aWQiOiJ3OXhvaFJFRU1iSGszOUpNZkNDT2NRPT0iLCJzdWIiOiJkb24qKipvbSIsImlwIjoiVGZ6YlllRnRHbys3WVhQS25rejlBb0UycHJNd3g5a21CZHl5RkVqKzVKST0iLCJkaWQiOiI0ZHVEMEI3K3oza0MzWEFmVzloT3J0MG5wTkhLS3VNZ04vUHg4bUJYeHhoMTJSSXNaUUtNNUhCa1M0eVRSaG5XIiwic3RzIjowLCJpYXQiOjE3MzE4MjkyNjgsImV4cCI6MTczMjI2MTI2OCwicHVzaGlkIjoiZGRrU0xHVUNqT1J3WkV1TWswWVoxZz09IiwiaXNzIjoidXBleCJ9.Eoma_kP6lz-bZC3WAbvnA0iogkLp1Tao-IoGSbvP4mQ","domain":"www.bitget.com","path":"/","expires":-1,"size":508,"httpOnly":true,"secure":true,"session":true,"sameSite":"Lax","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"BITGET_LOCAL_COOKIE","value":"{%22bitget_lang%22:%22zh-CN%22%2C%22bitget_unit%22:%22CNY%22%2C%22bitget_showasset%22:true%2C%22bitget_theme%22:%22white%22%2C%22bitget_layout%22:%22right%22%2C%22bitget_valuationunit%22:1%2C%22bitget_valuationunitandfiat%22:1%2C%22bitgt_login%22:false}","domain":"www.bitget.com","path":"/","expires":1763365282,"size":272,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bh","value":"Ej8iR29vZ2xlIENocm9tZSI7dj0iMTMxIiwiQ2hyb21pdW0iO3Y9IjEzMSIsIk5vdF9BIEJyYW5kIjt2PSIyNCIaBSJ4ODYiIg8iMTMxLjAuNjc3OC42OSIqAj8wOgciTGludXgiQgciNi44LjAiSgQiNjQiUloiR29vZ2xlIENocm9tZSI7dj0iMTMxLjAuNjc3OC42OSIsIkNocm9taXVtIjt2PSIxMzEuMC42Nzc4LjY5IiwiTm90X0EgQnJhbmQiO3Y9IjI0LjAuMC4wIiI=","domain":".yandex.ru","path":"/","expires":1763365276.902998,"size":282,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"__ar_v4","value":"2WBEMJJKHFG5PLSUZ7B5OY%3A20241116%3A5%7CR3652JF77NH6ZC5OBZHWIH%3A20241116%3A5","domain":".www.bitget.com","path":"/","expires":1763365277,"size":84,"httpOnly":false,"secure":false,"session":false,"sameSite":"Lax","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"PugT","value":"1731762724","domain":".pubmatic.com","path":"/","expires":1734421278.920256,"size":14,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"pxrc","value":"COTy4bkGEgUI6AcQABIFCOhHEAASCAi66gEQ7sgEEggIwuoBELrJBBIHCLjrARCnBQ==","domain":".rlcdn.com","path":"/","expires":1737013279.85696,"size":72,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"audit_p","value":"1|KU3TUTGG3tk5xe39Mf6aM6EbHmL3ALMsBuG8IOzTGs0aGBMLXkl4hkBwdewdhHogrKjBDh6NdrgwHTRO1/p4iGlty70eE65yR164mUDQhphJnKuoXdYGNpSO9CBF/oObGiojn9sUFMEIMMUC6OwqjlfUnwg8qmwpwvlwdUAHMD7Fl2nkzsvwfCbyzRQDbtqQCwfRAfYnv8yyqVI1k5poNA==","domain":".rubiconproject.com","path":"/","expires":1763365279.086559,"size":225,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":{"topLevelSite":"https://bitget.com","hasCrossSiteAncestor":true}},{"name":"audit","value":"1|KU3TUTGG3tk5xe39Mf6aM6EbHmL3ALMsBuG8IOzTGs0aGBMLXkl4hkBwdewdhHogrKjBDh6NdrgwHTRO1/p4iGlty70eE65yR164mUDQhphJnKuoXdYGNpSO9CBF/oObGiojn9sUFMEIMMUC6OwqjlfUnwg8qmwpwvlwdUAHMD7Fl2nkzsvwfCbyzRQDbtqQCwfRAfYnv8yyqVI1k5poNA==","domain":".rubiconproject.com","path":"/","expires":1763365279.086677,"size":223,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"TDCPM","value":"CAESFAoFdGFwYWQSCwiS1uXIornDPRAFEhcKCGxpdmVyYW1wEgsIppusoai5wz0QBRgBIAEoAjILCPyRr86-ucM9EAU4AVoIbGl2ZXJhbXBgAg..","domain":".adsrvr.org","path":"/","expires":1763365279.484469,"size":117,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"TapAd_3WAY_SYNCS","value":"1!7735-2!7735","domain":".tapad.com","path":"/","expires":1737013279.698424,"size":29,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"rlas3","value":"+asAlsegDNqYMhMmYl+49Az7yNufyAWanBdlHRj6BdY=","domain":".rlcdn.com","path":"/","expires":1763365279.856791,"size":49,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"anj","value":"dTM7k!M4/rD>6NRF']wIg2E?cq2FwR!]tdAM\`u8]DvI[!O4]7Q=E?/X\`o!>T1e=Vvi-xc5\`+4KR\`8)Od1-)]\`\`+.O:3Cdaa2)Fp42GYiTC#!_)F37hq*bpRz*qF1\`*b\`g*-U'o[","domain":".adnxs.com","path":"/","expires":1739605280.080483,"size":138,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga_Z8Q93KHR0F","value":"GS1.1.1731829184.3.1.1731829281.49.0.0","domain":".bitget.com","path":"/","expires":1766389281.008201,"size":52,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga_B8RNGYK5MS","value":"GS1.1.1731829284.1.1.1731829284.0.0.0","domain":".bitget.com","path":"/","expires":1766389284.229991,"size":51,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"ar_debug","value":"1","domain":".www.google-analytics.com","path":"/","expires":1739966444.793104,"size":9,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"COINW_LANGUAGE","value":"zh_CN","domain":"www.coinw.com","path":"/","expires":-1,"size":19,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_gcl_au","value":"1.1.413755305.1732189754","domain":".coinw.com","path":"/","expires":1739965754,"size":31,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"HMACCOUNT_BFESS","value":"88620D986C302A2C","domain":".hm.baidu.com","path":"/","expires":1766749754.61278,"size":31,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"Hm_lvt_525b7a4b6599566fc46ec53565d28557","value":"1732189755","domain":".coinw.com","path":"/","expires":1763726444,"size":49,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"HMACCOUNT","value":"88620D986C302A2C","domain":".coinw.com","path":"/","expires":-1,"size":25,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"selectType","value":"CNY","domain":"www.coinw.com","path":"/","expires":-1,"size":13,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_gid","value":"GA1.2.1427289152.1732189755","domain":".coinw.com","path":"/","expires":1732276842,"size":31,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"SESSION","value":"fae4976d-c3cb-4898-82f8-44bc9873263c","domain":"www.coinw.com","path":"/","expires":-1,"size":43,"httpOnly":true,"secure":true,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"token","value":"310E2571173CDED821B3A1AD35E9185Aweb_1732184528628_2205118","domain":"www.coinw.com","path":"/","expires":-1,"size":62,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"JSESSION","value":"4CEF8D2F89AFB90CCF5F36F3FF3D567D","domain":"www.coinw.com","path":"/","expires":-1,"size":40,"httpOnly":true,"secure":true,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"CLID","value":"65b9dc144ffc4bb28f269e188e760058.20231210.20251121","domain":"www.clarity.ms","path":"/","expires":1763725755.368452,"size":54,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_clck","value":"1cvgqwo%7C2%7Cfr2%7C0%7C1786","domain":".coinw.com","path":"/","expires":1763725755,"size":33,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_hjSession_3376431","value":"eyJpZCI6IjE0YmQzMjViLWQ4ZmQtNDQ1ZC1hYzIzLThjM2M5YjhlNTExYiIsImMiOjE3MzIxODk3NTYyMzAsInMiOjAsInIiOjAsInNiIjowLCJzciI6MCwic2UiOjAsImZzIjoxLCJzcCI6MH0=","domain":".coinw.com","path":"/","expires":1732191556,"size":166,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"MUID","value":"166EFB3BFDB56A481987EE05FCF06BF8","domain":".bing.com","path":"/","expires":1765885760.508774,"size":36,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"High","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"MR","value":"0","domain":".c.bing.com","path":"/","expires":1732794560.50884,"size":3,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"SRM_B","value":"166EFB3BFDB56A481987EE05FCF06BF8","domain":".c.bing.com","path":"/","expires":1765885760.508862,"size":37,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"SM","value":"C","domain":".c.clarity.ms","path":"/","expires":-1,"size":3,"httpOnly":false,"secure":true,"session":true,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"MUID","value":"166EFB3BFDB56A481987EE05FCF06BF8","domain":".clarity.ms","path":"/","expires":1765885761.89438,"size":36,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"High","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"MR","value":"0","domain":".c.clarity.ms","path":"/","expires":1732794561.894425,"size":3,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"__cf_bm","value":"cvKsGFgcJCbdnohzaF7JYqf4STevreKQq47BtRwUdl0-1732190432-1.0.1.1-0BN7av48B5_doq6HOkJT7i0Vdh0c601_RS7IFcdYOr5_e2hp_rFy6BvfJ8QDgybFD61l0xEujQ3j742OS2O.oA","domain":".coinw.com","path":"/","expires":1732192232.271815,"size":156,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"deviceId","value":"9fd27bbac6284310908baac5159f69a0","domain":"www.coinw.com","path":"/","expires":1766750439.764839,"size":40,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"coinwsessionid","value":"fae4976d-c3cb-4898-82f8-44bc9873263c","domain":"www.coinw.com","path":"/","expires":-1,"size":50,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga_CGPRXKB35T","value":"GS1.1.1732189754.1.1.1732190440.60.0.0","domain":".coinw.com","path":"/","expires":1766750440.481414,"size":52,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"JSESSIONID","value":"C4C687541A4CCADC7015D477144B04A5","domain":"www.coinw.com","path":"/","expires":-1,"size":42,"httpOnly":true,"secure":true,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_gat_UA-257710828-1","value":"1","domain":".coinw.com","path":"/","expires":1732190502,"size":20,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga_BH36WRPKLN","value":"GS1.1.1732189755.1.1.1732190443.0.0.0","domain":".coinw.com","path":"/","expires":1766750443.146893,"size":51,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga","value":"GA1.1.1575037858.1732189754","domain":".coinw.com","path":"/","expires":1766750444.349872,"size":30,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"Hm_lpvt_525b7a4b6599566fc46ec53565d28557","value":"1732190444","domain":".coinw.com","path":"/","expires":-1,"size":50,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga_H9F6SYN3JW","value":"GS1.1.1732189756.1.1.1732190444.60.0.0","domain":".coinw.com","path":"/","expires":1766750444.339502,"size":52,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"IDE","value":"AHWqTUns-5NXb2iv2QrMAWmE4BdBrec2PKQ0-FEDWDeOSI0I5lsCM0-GD4uHo7HE","domain":".doubleclick.net","path":"/","expires":1766750445.983704,"size":67,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_hjSessionUser_3376431","value":"eyJpZCI6IjliZjViOTRmLWNlMGMtNTBlMC1hNGY1LTEzYjVkYTdiNDhkMCIsImNyZWF0ZWQiOjE3MzIxODk3NTYyMjksImV4aXN0aW5nIjp0cnVlfQ==","domain":".coinw.com","path":"/","expires":1763726446,"size":138,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_clsk","value":"7qwymi%7C1732190448643%7C2%7C1%7Ct.clarity.ms%2Fcollect","domain":".coinw.com","path":"/","expires":1732276848,"size":60,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443}]}`

        await init()

        const {
            Storage,
            Page,
            Network,
        } = driver.cdp

        Network.enable()

        Page.navigate({ url: baseUrl })

        Storage.setCookies(JSON.parse(cookie))

        const decode = (data) => {

            let str = data

            while (/^\d/.test(str)) {
                str = str.substring(1)
            }
            try {
                return JSON.parse(str)
            } catch (e) {
                console.warn('非json格式，不用惊慌：', e)
            }
            return data

        }
        // 一个二进制数据流还原
        // opcode number WebSocket message opcode.
        //     mask boolean WebSocket message mask.
        //     payloadData string WebSocket message payload data. If the opcode is 1, this is a text message and payloadData is a UTF-8 string.
        //     If the opcode isn't 1, then payloadData is a base64 encoded string representing binary data.
        const formatResponse = (params = {
            opcode: 1,
            mask: false,
            payloadData: '',
        }) => {
            try {

                if (!params.response?.opcode) {
                    return params.response
                }

                if (params.response?.opcode === 1) {

                    let data = params.response.payloadData

                    return decode(data)
                }

                // const binaryData = Buffer.from(params.response.payloadData, 'base64')
                //数据 前缀
                // let type = ['open', 'close', 'ping', 'pong', 'message', 'upgrade', 'noop']
                // 例如   payloadData: '42["subscribe",{"channel":"spot/ticker:ALL","su...
                // 4开头 type[4] message
                console.info('结果解析：', params.response.payloadData)
            } catch (e) {
                console.error(e)
            }
        }

        Network.webSocketCreated(params => {
            console.log('WebSocket created:', params.url)
        })
        // 订阅 Network.webSocketFrameSent 和 Network.webSocketFrameReceived 事件,监听 WebSocket 帧的发送和接收:

        Network.webSocketFrameSent(params => {
            console.log('WebSocket frame sent:', params.response)
            // formatResponse(params)
        })

        Network.webSocketFrameReceived(params => {
            console.log('WebSocket frame received:', params.response)
            // formatResponse(params)
        })

        // 订阅 Network.webSocketClosed 事件,监听 WebSocket 连接的关闭:

        Network.webSocketClosed(params => {
            console.log('WebSocket closed:', params.closeCode, params.closeReason)
            // formatResponse(params)
        })

        // 订阅Network.webSocketWillSendHandshakeRequest事件,拦截WebSocket连接的握手请求:

        Network.webSocketWillSendHandshakeRequest(params => {
            console.log('WebSocket handshake request:', params.request)
            // formatResponse(params)
        })

        // 订阅Network.webSocketHandshakeResponseReceived事件,拦截WebSocket连接的握手响应:

        Network.webSocketHandshakeResponseReceived(params => {
            console.log('WebSocket handshake response:', params.response)
            let data = formatResponse(params)
            console.info('webSocketHandshakeResponseReceived解析结果:', data)
        })

        // 订阅Network.webSocketFrameSent和Network.webSocketFrameReceived事件,拦截WebSocket数据帧的发送和接收:

        Network.webSocketFrameSent(params => {
            console.log('WebSocket frame sent:', params.response)
            // formatResponse(params)
        })

        Network.webSocketFrameReceived(params => {
            // console.log('WebSocket frame received:', params.response)
            console.info('webSocketFrameReceived 回复', params.response)
            let data = formatResponse(params)
            console.info('webSocketFrameReceived解析结果:', data)
        })
        Network.webSocketFrameError(params => {
            console.log('WebSocket frame error:', params.response)
            let data = formatResponse(params)
            console.info('webSocketFrameError解析结果:', data)
        })
        await sleep(timeout)
        done()
    }, timeout)

    test('拆包', done => {
        let str = `0{"sid":"b6535f35-3047-4f12-9cd3-c526b39cd019","upgrades":["websocket"],"pingInterval":30000,"pingTimeout":60000}`

        while (/^\d/.test(str)) {
            str = str.substring(1)
        }
        try {
            JSON.parse(str)
        } catch (e) {
            console.error(e)
        }
        console.info(str)
        done()
    })
})
