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

const { cookieToJSON } = require('../common/utils')

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

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

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

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

    const init = async () => {
        await driver.setProxy('http://proxy.itdns.top:3128')

        await driver.builder()

        let target = await driver.cdp.Target

        targetInfo = await target.getTargetInfo()

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

    }

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

        await init()

        const page = driver.cdp.Page

        page.navigate({ url: 'https://www.bitget.com/zh-CN/' })

    })

    test('获取cookie/自动登录', async () => {
        // 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":"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":"ak_bmsc","value":"673D4523CFBBC6B6C5E9A9B633BD2958~000000000000000000000000000000~YAAQD4A3F+puHzWTAQAAsy8QORk/VCLFctD/CT0su7Ng3cpZFwerZY8e5wGBylh25nm19XxZZddinqKqw0z3tN7MXMSY01Z5CgdSpH+oGYilRAOA7FFN8zW/xpkxAlUTZUn0c5E2lM/aD8Rpu0OPoRUa7TCedlQZB2f1ldgnAuaKiHr55M2sZA3L6byLOFO1AUTlkukUhcXUv/3jx/V7Tr6m8c4K4rTF0hcjbkditXZeFrQx4NUToN8o03iJ250b6rItocjACQN+Aw6BcJERpjjZinFuI7RF50oaf8qXqHBY9smbkuAAeftEopi1LP4SRWOuUEyqExSnpipoOwGW4rfqzzg557n7kxfvN6tEJ/HFBgA2qk3Yi2Q7JGzU5/Xk+g71oQQAwv0rbwT79wBYWAPynKxWrbLobroP","domain":".bitget.com","path":"/","expires":1731836382.488738,"size":491,"httpOnly":false,"secure":false,"session":false,"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":"_ym_visorc","value":"b","domain":".bitget.com","path":"/","expires":1731831076,"size":11,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ym_isad","value":"2","domain":".bitget.com","path":"/","expires":1731901201,"size":9,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","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":"bm_sv","value":"10EEDAE4E1381847ADFDFF09969A9410~YAAQD4A3F2CWHzWTAQAAxbgRORndii3lirUizsOwtP+NMgGOAej90kWjeeIz3i5ZarDBhZB7ltuENxMWx56uj5vgZov2ycQa1wfIfoWwUTuKOgioDUbTPdSGNYcUP8wtxMKjmQ9wkZFw0ZU/xB3lPbrCSmeDi/UsD/PtAcFeW3F4MFtIOCRCZalJQFUlhnkhiPY0ZblvHJzMwOqbZz9kfc0QAi3a3uK3z/AC5mgLgug39BhAKQ0ftBdygJtLwwzSeA==~1","domain":".bitget.com","path":"/","expires":1731836385.113272,"size":300,"httpOnly":false,"secure":true,"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":1739605285.396825,"size":9,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443}]}`
        //登录主要cookie
        //bt_newsessionid  bt_rtoken bt_sessonid
        await init()

        const {
            Storage,
            Page,
        } = driver.cdp

        try {

            Page.navigate({ url: 'https://www.bitget.com/zh-CN/' })

            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(9999999)

    })

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

        let cookie = `{"cookies":[{"name":"ak_bmsc","value":"24F0D5772B56811DC5C899C7A0E9C61F~000000000000000000000000000000~YAAQzeUcuEyCmR+TAQAA/gCaNBmug+2ir5NcFowWd4Jy98vCLmQ7w8DPkuTU6CaJBc1z/xUQ3iCY07xwHw2YtARFb2yzt9HuwDXZ2U79wPLmBVJ5JwnsldVgbTGkaZV/GosjeNj07BNvRoAbTQfP4iLbbdXN9VdS7LBIgVEfW+yuwhPYTGii847wL/FUAbxfbeMV4mCmVXsqYgebcBbBY94qzYKOxoFB+Vy9j8tyvoTLX1K3tk45zteoNhB8Fzfq79el/QgXicVCzzi1Tp5E1ydH9V9BPdyK1hYSnzZ3imaArilNauduRUzY38gAvS+ItulZIrJ8eeB3DbGcHMesPK/Bq78FSb/mwVc88B2JTDOM7SvffacuXvPXQpDdHDWl9mRA1DHsFqcF9/AMbzfSV3s2vXnBiYXoBGuh","domain":".bitget.com","path":"/","expires":1731761528.282626,"size":491,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga","value":"GA1.1.1027142390.1731754330","domain":".bitget.com","path":"/","expires":1766314329.861579,"size":30,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"fingerprint-1731754332663-5723.400000002235-0.02996797034299914","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-1731754332663-5723.900000002235-0.9892384034669814","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":"bitget_lang","value":"zh-CN","domain":"www.bitget.com","path":"/","expires":1763290333,"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":1763290333,"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":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":"_ga_sessionid","value":"1731754329","domain":"www.bitget.com","path":"/","expires":-1,"size":23,"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":1766314334.740865,"size":83,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga_Z8Q93KHR0F","value":"GS1.1.1731754329.1.1.1731754334.55.0.0","domain":".bitget.com","path":"/","expires":1766314334.986165,"size":52,"httpOnly":false,"secure":false,"session":false,"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":"dy_token","value":"67387960H1v5IPtGxLqnE64JckU7d5uBEKkOxHE1","domain":"www.bitget.com","path":"/","expires":1732359136,"size":48,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bt_rtoken","value":"","domain":".bitget.com","path":"/","expires":-1,"size":9,"httpOnly":false,"secure":true,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bt_sessonid","value":"4e8b2363-4277-4f43-b939-39162781f3e4","domain":"www.bitget.com","path":"/","expires":-1,"size":11,"httpOnly":true,"secure":true,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bt_newsessionid","value":"eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0MjRkZWZhMy0xNTYyLTRiNGEtODJjMi05NmZjYTI5ZmJjNmI3NTU0MTM4MzQiLCJ1aWQiOiJ3OXhvaFJFRU1iSGszOUpNZkNDT2NRPT0iLCJzdWIiOiJkb24qKipvbSIsImlwIjoiZEJOa3VyU3RRVEFiVHhqcXZ3L0RvNEtXSU9CN2FoRFFHTmRicXdmYVFYRT0iLCJkaWQiOiJsWFdZUmFzQ244aWhCZlMxQ2pzQWh0Y2hQT2pjMnJIRndhZjJmTXp5WjRCMTJSSXNaUUtNNUhCa1M0eVRSaG5XIiwic3RzIjowLCJpYXQiOjE3MzE3NTIzNzIsImV4cCI6MTczMjE4NDM3MiwicHVzaGlkIjoiZGRrU0xHVUNqT1J3WkV1TWswWVoxZz09IiwiaXNzIjoidXBleCJ9.m64Laq-J8sz3D5i_Xeoz65LvM_EkFd8rxXoDXeZmJJw","domain":"www.bitget.com","path":"/","expires":-1,"size":15,"httpOnly":true,"secure":true,"session":true,"sameSite":"Lax","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","value":"5c1f6a4d95e10a2a4e45153c42c2eb78-a_1731754337","domain":".d.adroll.com","path":"/","expires":1765882340.69578,"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":1765882340.69583,"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":1765882340.695878,"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":1765882340.69591,"size":60,"httpOnly":true,"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":1763311937,"size":58,"httpOnly":false,"secure":false,"session":false,"sameSite":"Lax","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"__ar_v4","value":"%7C2WBEMJJKHFG5PLSUZ7B5OY%3A20241116%3A1%7CR3652JF77NH6ZC5OBZHWIH%3A20241116%3A1","domain":".www.bitget.com","path":"/","expires":1763290337,"size":87,"httpOnly":false,"secure":false,"session":false,"sameSite":"Lax","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":1763290337.18781,"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":"bh","value":"EkEiR29vZ2xlIENocm9tZSI7dj0iMTMxIiwgIkNocm9taXVtIjt2PSIxMzEiLCAiTm90X0EgQnJhbmQiO3Y9IjI0IhoFIng4NiIiDyIxMzEuMC42Nzc4LjY5IioCPzA6ByJMaW51eCJCByI2LjguMCJKBCI2NCJSWiJHb29nbGUgQ2hyb21lIjt2PSIxMzEuMC42Nzc4LjY5IiwiQ2hyb21pdW0iO3Y9IjEzMS4wLjY3NzguNjkiLCJOb3RfQSBCcmFuZCI7dj0iMjQuMC4wLjAiImDh8uG5Bg==","domain":".yandex.ru","path":"/","expires":1766314337.726192,"size":294,"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":1731756137,"size":11,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"__cf_bm","value":"OLoAiVf.F0PjfC2JAYFJKn_dMspUfHTdyYY79ED9m8c-1731754338-1.0.1.1-FnfTYKaNCZXWTf9Zr3yJifZ.4JaEHmN1zwsgrpCWjkuA1pNz3ZJ659mp6plnv4imRFbcIXjqu_EDP4clAjh8tw","domain":".bitget.com","path":"/","expires":1731756138.488053,"size":156,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","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":"_ym_isad","value":"2","domain":".bitget.com","path":"/","expires":1731826339,"size":9,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","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":"CMID","value":"Zzh5ZIsFVgwAAHfXAakqjQAA","domain":".casalemedia.com","path":"/","expires":1763290340.460956,"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":1739530340.461066,"size":9,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"rlas3","value":"JgNKdB1xv2Ie4AsiMQtG4Qz7yNufyAWanBdlHRj6BdY=","domain":".rlcdn.com","path":"/","expires":1763290340.50199,"size":49,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"TapAd_TS","value":"1731754340127","domain":".tapad.com","path":"/","expires":1736938341.627631,"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":1736938341.627688,"size":45,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"audit_p","value":"1|KU3TUTGG3tk5xe39Mf6aM6EbHmL3ALMsBuG8IOzTGs0aGBMLXkl4htimb4iGEFxSnBdOc92mv1gwHTRO1/p4iGlty70eE65yR164mUDQhphJnKuoXdYGNpSO9CBF/oObGiojn9sUFMEIMMUC6OwqjlfUnwg8qmwpwvlwdUAHMD7Fl2nkzsvwfCbyzRQDbtqQCwfRAfYnv8yyqVI1k5poNA==","domain":".rubiconproject.com","path":"/","expires":1763290340.421053,"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":"khaos","value":"M3K1TKXZ-1V-ALPN","domain":".rubiconproject.com","path":"/","expires":1763290340.421121,"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":1763290340.421144,"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":"audit","value":"1|KU3TUTGG3tk5xe39Mf6aM6EbHmL3ALMsBuG8IOzTGs0aGBMLXkl4htimb4iGEFxSnBdOc92mv1gwHTRO1/p4iGlty70eE65yR164mUDQhphJnKuoXdYGNpSO9CBF/oObGiojn9sUFMEIMMUC6OwqjlfUnwg8qmwpwvlwdUAHMD7Fl2nkzsvwfCbyzRQDbtqQCwfRAfYnv8yyqVI1k5poNA==","domain":".rubiconproject.com","path":"/","expires":1763290340.421193,"size":223,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"receive-cookie-deprecation","value":"1","domain":".rubiconproject.com","path":"/","expires":1739530340.421211,"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":"pxrc","value":"COTy4bkGEgUI6AcQABIFCOhHEAA=","domain":".rlcdn.com","path":"/","expires":1736938340.502056,"size":32,"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":1763290340.502249,"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":1763290340.502274,"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":"A3","value":"d=AQABBGR5OGcCECcnHnFFdVRGNZ0QidBKQzAFEgEBAQHKOWdCZ69B8HgB_eMAAA&S=AQAAArNukj6ZxkbkdIaws160s3o","domain":".yahoo.com","path":"/","expires":1763311940.879862,"size":96,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"IDSYNC","value":"1770~2luy","domain":".analytics.yahoo.com","path":"/","expires":1763290340.879758,"size":15,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"KRTBCOOKIE_10","value":"22808-NWMxZjZhNGQ5NWUxMGEyYTRlNDUxNTNjNDJjMmViNzg&KRTB&22883-NWMxZjZhNGQ5NWUxMGEyYTRlNDUxNTNjNDJjMmViNzg&KRTB&23504-NWMxZjZhNGQ5NWUxMGEyYTRlNDUxNTNjNDJjMmViNzg&KRTB&23615-NWMxZjZhNGQ5NWUxMGEyYTRlNDUxNTNjNDJjMmViNzg","domain":".pubmatic.com","path":"/","expires":1739530340.980782,"size":227,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"PugT","value":"1731754340","domain":".pubmatic.com","path":"/","expires":1734346340.980827,"size":14,"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":1763290341.321439,"size":40,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"TDCPM","value":"CAESFAoFdGFwYWQSCwjuvdH42I3DPRAFGAUgASgCMgsI4Pn7o--Nwz0QBTgB","domain":".adsrvr.org","path":"/","expires":1763290341.321497,"size":65,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"tluidp","value":"182728306274547648373","domain":".3lift.com","path":"/","expires":1739530341.709832,"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":1739530341.709931,"size":26,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"TapAd_3WAY_SYNCS","value":"1!7714","domain":".tapad.com","path":"/","expires":1736938341.627711,"size":22,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"XANDR_PANID","value":"5c9IHgbUkzcItQUHc7u3UwWja6IZoCKqBKm3MoMjGq1kckhjojkTNObEglxZNtF6V5bdFtmihBTAblQOaxgqXzbzMc6kuCLe0NdYA5PNXoM.","domain":".adnxs.com","path":"/","expires":1739530342.40184,"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":1766314342.401917,"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":1739530342.40194,"size":24,"httpOnly":true,"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":"anj","value":"dTM7k!M4/rD>6NRF']wIg2E?cq2FwR!]tbPl@/@8$-^=$UfY<5Hfi[.@21$qX[+>GFWI^'GPv%M>qd2DFWFkPCcDAFA0ihFANkK-b#p]N'xT@R3If)y3KL9D3I?+^qqMd^","domain":".adnxs.com","path":"/","expires":1739530342.401899,"size":133,"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":"bm_sv","value":"95DD30D87DAB1A260493A4609341E4E9~YAAQzeUcuC6DmR+TAQAAk0WaNBlyoWqcm+L4E63y7bE0Xl6AY9P0GjmlhTI3DZ7E+ALv9hyhdCUn/vBekNHgIFH1vdUSEuqI6AuWr/ZKILWy5Ax3K1DHTg3Lmkmaimp9U3BmcTXxyInT8Ux9CA+e+IBA7y/e0C6aoBDYciSvgN+1OtYKtkd3IhqX8gWrvUawoaM3QEgGRj8MlA5Ktml15c9LwBN4jykqA2amZcvTkXF7JTBC/mM2jI77gp28G61IKQ==~1","domain":".bitget.com","path":"/","expires":1731761534.016189,"size":300,"httpOnly":false,"secure":true,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443}]}`

        await init()

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

        Network.enable()

        Page.navigate({ url: 'https://www.bitget.com/zh-CN/' })

        Storage.setCookies(JSON.parse(cookie))

        Network.webSocketCreated(params => {
            console.log('WebSocket created:', params.url)
        })

        // 解密

        const decode = (data) => {

            let res = inflate(data, { to: 'string' })
            console.info('解压缩结果：', res)
            switch (res) {
                case 'pong':
                    return res

                default: {
                    return JSON.parse(res)
                }
            }

        }

        // 一个二进制数据流还原
        // 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 = {
            requestId: '',
            timestamp: '',
            response: {
                opcode: 1,
                mask: false,
                payloadData: '',
            },
        }) => {
            try {

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

                if (params.response?.opcode === 1) {
                    return params.response.payloadData
                }

                const binaryData = Buffer.from(params.response.payloadData, 'base64')

                console.info('结果解析：', decode(binaryData))
            } catch (e) {
                console.error(e)
            }
        }

        // 订阅 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)
            formatResponse(params)
        })

        // 订阅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)
            formatResponse(params)
        })
        Network.webSocketFrameError(params => {
            console.log('WebSocket frame error:', params.response)
            formatResponse(params)
        })
        await sleep(9999999)
    })

    test('下单', async () => {

        let cookie = `{"cookies":[{"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":1763298297.924448,"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":1763312621.407557,"size":96,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"IDSYNC","value":"1770~2luz","domain":".analytics.yahoo.com","path":"/","expires":1763291021.407506,"size":15,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"TapAd_TS","value":"1731754340127","domain":".tapad.com","path":"/","expires":1736939019.555805,"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":1736939019.555854,"size":45,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"TapAd_3WAY_SYNCS","value":"1!7715","domain":".tapad.com","path":"/","expires":1736939019.555891,"size":22,"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":1763291020.601441,"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":1763291020.601489,"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":1763291019.498446,"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":1763291019.498478,"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":1739531019.49854,"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":"audit_p","value":"1|KU3TUTGG3tk5xe39Mf6aM6EbHmL3ALMsBuG8IOzTGs0aGBMLXkl4htimb4iGEFxSD/wouRGPbfEwHTRO1/p4iGlty70eE65yR164mUDQhphJnKuoXdYGNpSO9CBF/oObGiojn9sUFMEIMMUC6OwqjlfUnwg8qmwpwvlwdUAHMD7Fl2nkzsvwfCbyzRQDbtqQCwfRAfYnv8yyqVI1k5poNA==","domain":".rubiconproject.com","path":"/","expires":1763291019.498378,"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|KU3TUTGG3tk5xe39Mf6aM6EbHmL3ALMsBuG8IOzTGs0aGBMLXkl4htimb4iGEFxSD/wouRGPbfEwHTRO1/p4iGlty70eE65yR164mUDQhphJnKuoXdYGNpSO9CBF/oObGiojn9sUFMEIMMUC6OwqjlfUnwg8qmwpwvlwdUAHMD7Fl2nkzsvwfCbyzRQDbtqQCwfRAfYnv8yyqVI1k5poNA==","domain":".rubiconproject.com","path":"/","expires":1763291019.498512,"size":223,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"rlas3","value":"ZnRZkG40TfIexi/e2vKQEwz7yNufyAWanBdlHRj6BdY=","domain":".rlcdn.com","path":"/","expires":1763291019.92703,"size":49,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"pxrc","value":"COTy4bkGEgUI6AcQABIFCOhHEAASBwi46wEQpwU=","domain":".rlcdn.com","path":"/","expires":1736939019.927114,"size":44,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"KRTBCOOKIE_10","value":"22808-NWMxZjZhNGQ5NWUxMGEyYTRlNDUxNTNjNDJjMmViNzg&KRTB&22883-NWMxZjZhNGQ5NWUxMGEyYTRlNDUxNTNjNDJjMmViNzg&KRTB&23504-NWMxZjZhNGQ5NWUxMGEyYTRlNDUxNTNjNDJjMmViNzg&KRTB&23615-NWMxZjZhNGQ5NWUxMGEyYTRlNDUxNTNjNDJjMmViNzg","domain":".pubmatic.com","path":"/","expires":1739531020.050952,"size":227,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"PugT","value":"1731755018","domain":".pubmatic.com","path":"/","expires":1734347020.05103,"size":14,"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":1763291019.649469,"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":1739531019.649508,"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":1766322275.921669,"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":1763298295,"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":1766322297.136898,"size":83,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bt_rtoken","value":"","domain":".bitget.com","path":"/","expires":-1,"size":9,"httpOnly":false,"secure":true,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bt_sessonid","value":"6bceefc3-3c0e-45b5-a42d-859bcd94fbf4","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.eyJqdGkiOiI0MmIwN2UxYi0zODA1LTQ3YjItOTc2ZC1iMjE0ZTFmYjZjNjcxMTU1NjUyNjk4IiwidWlkIjoidzl4b2hSRUVNYkhrMzlKTWZDQ09jUT09Iiwic3ViIjoiZG9uKioqb20iLCJpcCI6IlRmemJZZUZ0R28rN1lYUEtua3o5QW9FMnByTXd4OWttQmR5eUZFais1Skk9IiwiZGlkIjoiNGR1RDBCNyt6M2tDM1hBZlc5aE9ydDBucE5IS0t1TWdOL1B4OG1CWHh4aDEyUklzWlFLTTVIQmtTNHlUUmhuVyIsInN0cyI6MCwiaWF0IjoxNzMxNzYxODc0LCJleHAiOjE3MzIxOTM4NzQsInB1c2hpZCI6ImRka1NMR1VDak9Sd1pFdU1rMFlaMWc9PSIsImlzcyI6InVwZXgifQ.oDIETO-0OWdIHytP6gAmBLdfTvuCLsJJFOc5gVe4Qzk","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":"_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":1763319901,"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":"_ym_isad","value":"2","domain":".bitget.com","path":"/","expires":1731826339,"size":9,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","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":1763298306,"size":272,"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":1763291019.298428,"size":40,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"TDCPM","value":"CAESFAoFdGFwYWQSCwium5y6i47DPRAFGAEgASgCMgsI-pGf56GOwz0QBTgBWgV0YXBhZGAC","domain":".adsrvr.org","path":"/","expires":1763291019.298486,"size":77,"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":1765890302.266781,"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":1765890302.266827,"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":1765890302.266856,"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":1765890302.266881,"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":1739531020.274197,"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":1766315020.274289,"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":1739531020.27433,"size":24,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"anj","value":"dTM7k!M4/rD>6NRF']wIg2E?cq2FwR!]tay7tk>M1zpUF?TrcUMh<!Y?0Cf9MiZhfMh9y<cD(1mS[i#RMT1@2MRf2GMT.w3c>D\`CMXBZ97\`4#YE@YG/D$25ADb6_:!+8[y^U.^)","domain":".adnxs.com","path":"/","expires":1739531020.274256,"size":138,"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":1739531020.875107,"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":1739531020.875163,"size":26,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"ak_bmsc","value":"26CEDF7F62C6F0CD4623268418D50AC3~000000000000000000000000000000~YAAQedQ7F37C2i+TAQAAYx4TNRkjyduQM3vOvjjOJOSQPuuqDs4Wg4wuDuGQrjo1JagGamuTZHO0h1fqPP5krNeIfSS8BuQmTHIsLSqf+JVq28yhuI1uh3U2RJn9c4R2fJNN+64mz+yPIocyA2GQDBH4vonTSN4xGxCn+IpQnFGEqmRdKA0PXk8RIvTAaokdMPjcMwGayIhdMAt40BsH+pA6iwc4xd4y6edW+Pys/pZUuJZyMglAwCyY8/WV5vwYQrFYdJXWOb4bv631MuGYPfODQplmEBJph6UsJXx0DBvvwgl3rB3V0Mxj1FjzsTYyIGH7f9bsaD+DSwqobLcVswE3v90+LJKrU/kEgJVTW2wVgZ7Wo8HXqrMl83E4SBrobW9MIdL54dhGUKHIXT6mrhNHD2ZTBuKbnaf/","domain":".bitget.com","path":"/","expires":1731769465.975002,"size":491,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"fingerprint-1731762288957-24536.5-0.4407723776159682","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-1731762288958-24537-0.051041071697639495","value":"true","domain":"www.bitget.com","path":"/","expires":-1,"size":57,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga_sessionid","value":"1731762275","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_visorc","value":"b","domain":".bitget.com","path":"/","expires":1731764097,"size":11,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"dy_token","value":"6738987aufu0LCBqMnH2lt9RSfsfPLcNChwum6z1","domain":"www.bitget.com","path":"/","expires":1732367099,"size":48,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"_ga_Z8Q93KHR0F","value":"GS1.1.1731762275.2.1.1731762300.35.0.0","domain":".bitget.com","path":"/","expires":1766322300.777771,"size":52,"httpOnly":false,"secure":false,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"__ar_v4","value":"2WBEMJJKHFG5PLSUZ7B5OY%3A20241116%3A3%7CR3652JF77NH6ZC5OBZHWIH%3A20241116%3A3","domain":".www.bitget.com","path":"/","expires":1763298301,"size":84,"httpOnly":false,"secure":false,"session":false,"sameSite":"Lax","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":"bh","value":"EkEiR29vZ2xlIENocm9tZSI7dj0iMTMxIiwgIkNocm9taXVtIjt2PSIxMzEiLCAiTm90X0EgQnJhbmQiO3Y9IjI0IhoFIng4NiIiDyIxMzEuMC42Nzc4LjY5IioCPzA6ByJMaW51eCJCByI2LjguMCJKBCI2NCJSWiJHb29nbGUgQ2hyb21lIjt2PSIxMzEuMC42Nzc4LjY5IiwiQ2hyb21pdW0iO3Y9IjEzMS4wLjY3NzguNjkiLCJOb3RfQSBCcmFuZCI7dj0iMjQuMC4wLjAiImCBseK5Bg==","domain":".yandex.ru","path":"/","expires":1766322306.235534,"size":294,"httpOnly":false,"secure":true,"session":false,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},{"name":"bm_sv","value":"F316049D17581CF79DA43E4C131E51D1~YAAQedQ7F+PC2i+TAQAAWsATNRlNCPXDJ0tQQvpzSgIi6NCHt1zeSFH9Lp2fBUQdx94YvxWwW57L3UuMV2P9gpN5xvciIFhbIwe7kF2QxUxwmu+UE7U976jvG5kHxaQ+AZncm+ZYsjiYs9o0IoerK3G+c13QVnTFjNP54hwawjI3GPAOgKRDW2qwWRv0WpgxALwFrbP2M2EFevREXF7xVZOPXpjTUxtnr9+frBo+Su9TvMjUP7FS0ZFdIvbcMgeKxw==~1","domain":".bitget.com","path":"/","expires":1731769490.773092,"size":300,"httpOnly":false,"secure":true,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443}]}`

        await init()

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

        Network.enable()

        Page.navigate({ url: 'https://www.bitget.com/zh-CN/' })

        await Storage.setCookies(JSON.parse(cookie))

        await sleep(999999)

    })

    test('shell-test', async () => {
        const { spawn } = require('child_process')

        const chrome = spawn('google-chrome', [
            '--user-data-dir=/tmp/scoped_dir1731668940377',
            '--disk-cache-dir=/tmp/scoped_dir1731668940377',
            '--remote-debugging-port=39896',
            '--no-first-run',
            '--no-dleck',
            '--disable-plugins',
            '--no-default-browser-check',
            '--new-tab',
            '--proxy-server=http://172.16.1.132:3128',
        ])

        chrome.stdout.on('data', (data) => {
            console.log(`stdout: ${data}`)
        })

        chrome.stderr.on('data', (data) => {
            console.error(`stderr: ${data}`)
        })

        chrome.on('close', (code) => {
            console.log(`child process exited with code ${code}`)
        })

    })
    test('cookie 转换', async () => {

        let cookieStr = `ak_bmsc=A6ADFB9B5C944173B5F4D9E94D393A7A~000000000000000000000000000000~YAAQzeUcuBE1mR+TAQAAyXF6NBnu7jFRgu60LW0XrIeDOXIT6GWEjQAOVM6F01bP+EmjDFd2mC0YnyiiL0t9k4VgHFtJno0jgvFVUHaG4k8uXD95s0oAp/C66nVsXTl7Teax/cva6jawnENyHqwal7f86VIPrygDS1c+0uT07n9Ee8xDBUAE67ZptsqruFZD6SrCvoPlg09Hc415mWYsYTnFkdFh14UdrLPqUin97SdpWTfzqb/zMusI8/K+BzqtcEGqXscR8oA3rnAL00TPgRJ5XEfAi76fLdgGcA9xF7y7m9od1jo70ATIpIsb3YckJiwoPulU804IvhyhAlWMju8o3Hjsf4rUrOz5xlN0lZLsI6zVirxzCuVAUXdMtXzumRbQsWjbSf6XOzuiHRyO3PUSs76kk4O5Ly+F; _ga=GA1.1.777932786.1731752262; fingerprint-1731752264125-4836-0.8013068065063029=true; terminalCode-1731752264125-4836.60000000149-0.8798088188467674=true; bitget_lang=zh-CN; theme=white; _ga_clientid=777932786.1731752262; _ga_sessionid=1731752261; _dx_kvani5r=2b067b66421b6799af38ac8fd466f3f9358c6826fd354b4bd34ced96084d4256b6e50b7c; _ym_uid=1731752266484282234; _ym_d=1731752266; __adroll_fpc=af12abaed4d8c400530c2630e0c01b28-1731752266862; _ym_isad=2; _ym_visorc=b; dy_token=6738714bkQWMTx9KvJ8KZZ1QujE96DRRnLa7KV21; captcha_v4_user=38a70760bc74430d94d966af45ce4bf7; bt_rtoken=upex:session:id:594bd8ea839cb88b2a22b386a239c39d5ff5ada1489bb02f6a5801fe1dad1e2e; bt_uid=ACA75325DA2E88554EE21FFD71180F5D; BITGET_LOCAL_COOKIE={%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}; __ar_v4=2WBEMJJKHFG5PLSUZ7B5OY%3A20241116%3A3%7CR3652JF77NH6ZC5OBZHWIH%3A20241116%3A3; _ga_Z8Q93KHR0F=GS1.1.1731752261.1.1.1731752385.51.0.0; bm_sv=4A0068BAD9CA9413965E010B94D43B73~YAAQzeUcuN09mR+TAQAAKzh/NBl+1sxwh6sxomcLPTmUomRVGpxBCqMuVLwsiylSFUF438rKzrqfgyrOhycCXEqdC46GZE00CPS1cYO4YeLexSRD26j5oiz2Hz9/c4hpsCfooAScXaksqSsBTzpLbdwP6wio7wztcLboHNnyUDVstBriXUd54IZvP1q9UkCXr9TEwdwkKw1zuwPwXMWaLs+/yf+g8SMwsz8nCGA6yGPBeI+ZirAJ01YjIJn9kIKFrg==~1`
        let res = cookieToJSON(cookieStr)
        console.log(res)
    })
})
