"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[667],{42644:function(e,n,t){t.d(n,{LH:function(){return a},aA:function(){return _},fz:function(){return i},xb:function(){return r}});let o=String.fromCharCode(66,121,98,105,116),i=()=>o,r=()=>o.toLowerCase(),a=()=>o.toUpperCase(),_=()=>window.ByVendors?window.ByVendors:t(2856).P},7545:function(e,n,t){t.d(n,{Wd:function(){return _},yW:function(){return a}});var o=t(14453),i=t(75621);t(18958);var r=t(42644);t(95533);let a=e=>{var n;if("dev"===i.Re&&("API_HOST"===e||"AP2_HOST"===e))return i.H;let t=e;return e&&"API_HOST"!==e||(t="API2_HOST"),"WS_HOST"===e&&(t="WS2_HOST"),null===(n=(0,o.E0)())||void 0===n?void 0:n[t]},_=()=>"dev"===i.Re?"//api2.unify-test-1.".concat((0,r.xb)(),".com"):a("API2_HOST")},75621:function(e,n,t){t.d(n,{Ef:function(){return T},H:function(){return s},Jg:function(){return E},Re:function(){return d},_I:function(){return O},lN:function(){return l},tY:function(){return i},yv:function(){return u},zg:function(){return c}});var o,i,r=t(42644),a=t(95533);let _=(0,r.xb)(),d="production";(o=i||(i={})).DEV="dev",o.TESTING="testing",o.TESTNET="testnet",o.PRODUCTION="production";let u="production"===d,E="testnet"===d,s=a.env.NEXT_PUBLIC_BY_API2_HOST||a.env.ENV_API_HOST||a.env.NEXT_PUBLIC_BUILD_API_HOST;a.env.ENV_WS_HOST||a.env.NEXT_PUBLIC_BUILD_WS_HOST,a.env.ENV_AUTH_SUFFIX||a.env.NEXT_PUBLIC_BUILD_AUTH_SUFFIX;let c="/common-static/fhs";window.location.origin;let l="".concat(c,"/").concat(_,"-home-new");a.env.NEXT_PUBLIC_LOGGER_DISABLED;let O="true"===a.env.NEXT_PUBLIC_SENSORS_DISABLED,T="dev"===d?"https://www.".concat(_,".com"):""},18958:function(e,n,t){t.d(n,{Jg:function(){return d},KF:function(){return E},P2:function(){return c},QR:function(){return O},UG:function(){return a},_6:function(){return T},jU:function(){return r},km:function(){return l},tq:function(){return s},vZ:function(){return _},yv:function(){return u}});var o=t(75621);let i=(0,t(42644).xb)(),r=()=>!0,a=()=>!1,_=()=>["testnet","production"].includes(null!==o.Re&&void 0!==o.Re?o.Re:""),d=()=>["testnet"].includes(null!==o.Re&&void 0!==o.Re?o.Re:""),u=()=>["production"].includes(null!==o.Re&&void 0!==o.Re?o.Re:""),E=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"production",n={dev:"//www.unify-test-1.".concat(i,".com/uniframe/uniframe.js"),mock:"//www.cht-test-1.".concat(i,".com/uniframe/uniframe.js"),testing:"/uniframe/uniframe.js",testnet:"/uniframe/uniframe.js",production:"/uniframe/uniframe.js"};return n[e]||n.production},s=()=>navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i),c=(e,n)=>{let[t,o]=[0,void 0];return function(){let i=+new Date;t&&i!!e&&(e.id===n||"BODY"!==e.tagName&&!!e.parentElement&&l(e.parentElement,n)),O=()=>{let e=navigator.userAgent;if(!(/iP(hone|od|ad)/.test(e)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1))return!1;let n=e.match(/OS (\d+)_/i);if(!n)return!1;let t=parseInt(n[1],10),o=/Version\/[\d.]+.*Safari/i.test(e)&&!/CriOS|FxiOS|EdgiOS/i.test(e);return t>=14&&o},T=e=>["RU","UA","BY","UZ","AM","AZ","TM"].includes(e)?"cis":["TW","OA","MO","PH","ID"].includes(e)?"mandarin":["IN","PK","BD"].includes(e)?"india":["NG","ZA","TZ","ET","AO","ZW","RW","KE","MG","MW","CD","CI","GH","MZ","TG","LS","BF","NA","SN","BI","NE","MU","GM","CM","SC","ML","UG","ZM","GA","BJ","CG","CV","TD","SL","GW","BW","KM","LR","GN","GQ","SZ","ST","CF","ER","YT","SH","EH"].includes(e)?"africa":["BR"].includes(e)?"brazil":null},44598:function(e,n,t){t.d(n,{Dt:function(){return r},gn:function(){return a},tU:function(){return i}});let o=(0,t(42644).xb)(),i=()=>!!navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i);navigator.userAgent.match(RegExp("".concat(o,"_app"),"i")),i();let r=!!navigator.userAgent.match(/Mobi|Android|iPhone/i)&&!navigator.userAgent.match(/(iPhone|iPad|iPod|iOS)/i),a=!!navigator.userAgent.match(/Mobi|Android|iPhone/i)&&!!navigator.userAgent.match(/(iPhone|iPad|iPod|iOS)/i)},31273:function(e,n,t){var o=t(7545),i=t(44598),r=t(75621),a=t(18958),_=t(4731);let d={[_.u7.WEB_MODULE_CLICK]:"mc",[_.u7.WEB_MODULE_VIEW]:"mv",[_.u7.WEB_PAGE_VIEW]:"pv"},u={LOGGER:"logger",METRIC:"metric",SENSORS:"sensors"};class E{addEvent(e){this.queue.push(e)}flush(){var e,n,t,o;(0,a.UG)()||((null===(n=window)||void 0===n?void 0:null===(e=n.ByLandingPage)||void 0===e?void 0:e.ByLogger)&&(null===(o=window)||void 0===o?void 0:null===(t=o.ByLandingPage)||void 0===t?void 0:t.BySensors)?this.queue.forEach(e=>{var n,t,o,i,r,a;[u.LOGGER,u.METRIC].includes(e.type)&&(null===(o=window)||void 0===o||null===(t=o.ByLandingPage)||void 0===t||null===(n=t.ByLogger)||void 0===n||n.addEvent(e)),e.type===u.SENSORS&&(null===(a=window)||void 0===a||null===(r=a.ByLandingPage)||void 0===r||null===(i=r.BySensors)||void 0===i||i.sensors.track(e.data.event,{...e.data.data}))}):setTimeout(this.flush.bind(this),500))}reportSensors(e){var n,t;if(null===(t=window)||void 0===t?void 0:null===(n=t.ByLandingPage)||void 0===n?void 0:n.BySensors){let n={};if(e.data.spm_section){let{spm_section:t,spm_button_name:o}=e.data,i=this.isMobile?"h5":"pc";n={...e.data,spm:"".concat(i,"_homepage_").concat(t?"".concat(t,"_"):"").concat(o?"".concat(o,"_"):"").concat(d[e.event])}}else n={...e.data,is_loginuser:(null===this||void 0===this?void 0:this.is_loginuser)?1:0,page_language:null===this||void 0===this?void 0:this.language};window.ByLandingPage.BySensors.sensors.track(e.event,n)}else this.addEvent({type:u.SENSORS,data:e})}reportMetric(e){var n,t;(null===(t=window)||void 0===t?void 0:null===(n=t.ByLandingPage)||void 0===n?void 0:n.ByLogger)?window.ByLandingPage.ByLogger.addEvent(e):this.addEvent({type:u.METRIC,data:e})}updateStatus(e,n){this.is_loginuser=e,this.language=n}reportHttpRequest(e){var n,t;let{startTime:i,retCode:a,status:_,retMsg:d,reqUrl:E}=e,s=(0,o.yW)("API_HOST"),c={t:"ajax",d:performance.now()-i,r:2===E.split(s).length?E.split(s)[1]:E,rt:window?window.location.href:"",ext:{code:a,hc:_,msg:d,env:r.Re,href:window?window.location.href:""}};(null===(t=window)||void 0===t?void 0:null===(n=t.ByLandingPage)||void 0===n?void 0:n.ByLogger)?window.ByLandingPage.ByLogger.addEvent(c):this.addEvent({type:u.LOGGER,data:c})}constructor(){this.queue=[],this.is_loginuser=!1,this.isMobile=(0,i.tU)(),this.language="en",this.flush()}}n.Z=new E},20667:function(e,n,t){t.d(n,{a:function(){return d}});var o=t(65796),i=t(31273);let r=(0,t(42644).xb)(),a=localStorage.getItem("LANG_KEY")||"en",_=new o.c({credentials:"include",headers:{Accept:"application/json","Content-Type":"application/json",platform:"pc","Accept-Language":a,Lang:a}});_.addInstanceRequestInterceptors([(e,n)=>(n._startTime=performance.now(),{url:e,options:n})]),_.addInstanceResponseInterceptors([async(e,n,t)=>{try{let a=e.clone(),_=await a.json();if(!_)return Promise.reject(t.createResponseError("Non Response!",void 0));null==_||_.token;let d=null==_?void 0:_.ret_code,u=null==_?void 0:_.ret_msg;if(i.Z.reportHttpRequest({startTime:n._startTime,retCode:d,retMsg:u,status:a.status,reqUrl:e.url}),0===d||200===a.status)return e;if(null==_?void 0:_.error){var o;let e=_.error,{retCode:n,retMsg:t}=(null==e?void 0:null===(o=e.response)||void 0===o?void 0:o.data)||{};if(n)return console.log("".concat(n,": ").concat(t)),Promise.reject({code:n,msg:t});console.log("".concat(e))}else{if(-1!==a.url.indexOf("/all-trade-volume/service/".concat(r,"-volume")))return{msg:_.result,code:d};if(console.log("".concat(d,": ").concat(_.ret_msg)),10007===d||33003===d||10009===d)return t.clearCache(),Promise.reject(t.createResponseError("user no permission",_))}return Promise.reject(t.createResponseError("bad business ret_code",_))}catch(e){return Promise.reject(e)}}]),n.Z=_;let d=e=>{let{data:n={}}=e,{result:t={}}=n;return t}},4731:function(e,n,t){t.d(n,{Hf:function(){return s},PK:function(){return l.PK},S:function(){return c},Ts:function(){return l.Ts},W1:function(){return d},u7:function(){return l.u7},vW:function(){return u}});var o,i,r,a,_,d,u,E,s,c,l=t(51717);(o=d||(d={})).H5_HOME_PAGE_VIEW="H5HomepageView",o.HOME_PAGE_CLICK="WEBHomepageClick",o.HOME_PAGE_VIEW="WEBHomepageView",o.H5_HOME_PAGE_CLICK="H5HomepageClick",o.WEB_HOME_PAGE_CLICK="WEBHomepageClick",o.ATTRIBUTIONS="attribution",o.SiriusClick="SiriusClick",o.siriusView="SiriusView",(i=u||(u={})).SIGN_UP_NOW="sign_up_now",i.SEE_MORE="see_more",i.BUY_NOW="buy_now",i.BANNER="banner",i.GIFT_CLAIM_MORE="gift_claim_more",i.QR_CODE="qr_code",i.XIAOMI="mi_store",i.SOCIAL_VIDEO="social_video",i.WSOT="WSOT",i.WORLD_CUP="world_cup",i.REDBULL_AZUKI_NFT="redbull_azuki_nft",i.ANNIVERSARY="anniversary",i.FIESTA="fiesta",i.CLICK_DEPOSIT="click_deposit",i.CLICK_START_TRADING="click_start_trading",i.EXPRESS="oneclickbuy_tab",i.EXPRESS_WEB="oneclickbuy_tab_web",i.EXPRESS_APP="oneclickbuy_tab_app",i.EXPRESS_WEB_BUY="oneclickbuy",i.P2P="p2p_tab",i.P2P_WEB="p2p_tab_web",i.P2P_APP="p2p_tab_app",i.P2P_WEB_BUY="p2p",i.DEPOSIT="deposit_tab",i.DEPOSIT_WEB="deposit_tab_web",i.DEPOSIT_APP="deposit_tab_app",i.DEPOSIT_WEB_BUY="deposit",i.SIGN_UP="signup",i.INPUT_INFO="inputinfo",i.HOMEPAGE_INPUT="homepage_input",i.REDBULL="redbull",i.CUSTOMER_SUPPORT="CS",i.FAQ="FAQ",i.FAQ_LINK="FAQ_LINK",i.LEARN="learn",i.DOWNLOAD="download",i.DOWNLOAD_MORE="download_more",i.DOWNLOAD_APPSTORE="appstore",i.DOWNLOAD_APK="apk",i.DOWNLOAD_GOOGLE_PLAY="Googleplay",i.DOWNLOAD_API="api",i.PRODUCT_COPY_TRADE="copytrading",i.PRODUCT_BOT="bot",i.PRODUCT_EARN="earn",i.PRODUCT_BY_STARTER="bystarter",i.PRODUCT_TRADE_GPT="tradegpt",i.PRODUCT_TRADE_GPT_QUESTION="tradegpt_question",i.PRODUCT_TRADE_GPT_More="tradegpt_more",i.PRODUCT_TRADE_GPT_Detail="tradegpt_detail",i.PRODUCT_CARD="card",i.PRODUCT_UTA="UTA",i.PRODUCT_WEB3="web3",i.PRODUCT_LAUNCHPAD="launchpad",i.MARKET_DERIVATIVES="derivatives",i.MARKET_DERIVATIVES_TAB="derivatives_tab",i.MARKET_SPOT="spot",i.MARKET_SPOT_TAB="spot_tab",i.MARKET_TOP="top",i.MARKET_NEW="new",i.MARKET_FAVORITES="favorites",i.MARKET_FAVORITES_TAB="favorites_tab",i.MARKET_ADD_FAVORITES="addFavorites",i.MARKET_START="getstart",i.ANNOUNCEMENT="announcement",i.ANNOUNCEMENT_ALL="announcementall",i.SPOTLIGHT_BUY="buycrypto",i.SPOTLIGHT_JOIN="joinnow",i.SPOTLIGHT_JOIN_PIC="joinpic",i.SPOTLIGHT_IOS="ios",i.SPOTLIGHT_ANDROID="android",i.SPOTLIGHT_QR="qr",i.SPOTLIGHT_R_QR="rightqr",i.DEPOSIT_INTRO="depositintro",i.FOUR_REASON_GOTO_TRADE="gototrade",i.DEPOSIT_VIA_IDEAL="deposit_via_ideal_tab",i.IDEAL="ideal_deposit_tab",i.IDEAL_WEB="ideal_deposit_tab_web",i.IDEAL_APP="ideal_deposit_tab_app",i.IDEAL_WEB_BUY="ideal_deposit_tab_eur_click",i.SEPA="sepa_deposit_tab",i.SEPA_WEB="sepa_deposit_tab_web",i.SEPA_APP="sepa_deposit_tab_app",i.SEPA_WEB_BUY="sepa_deposit_tab_eur_click",i.DEMO_TRADING="demotrading",i.ATTR_WEB_HOME_ANNOUNCE_MORE="attr_web_home_announce_more",i.ATTR_WEB_HOME_HEROBANNER="attr_web_home_herobanner",i.ATTR_WEB_HOME_ADVBANNER="attr_web_home_advbanner",i.CONVERT="convert",i.KYC="kyc",i.DEPOSIT_PRODUCT="deposit",i.CLOSE="close",i.REGISTER="register",(r=E||(E={})).ONE="gift_card_1",r.TWO="gift_card_2",r.THREE="gift_card_3",r.FOUR="gift_card_4",(a=s||(s={})).HOME_PAGE="mainpage",a.BANNER="banner",(_=c||(c={})).HEROBANNER="herobanner",_.ANNOUNCEMENT="announcement",_.MARKET="market",_.PRODUCT="product",_.DOWNLOAD="download",_.BANNER="banner",_.NUMBER="number",_.SAFE="Safe",_.NEEDHELP="needhelp",_.REDBULL="redbull",_.FOOTER_START="startyourcryptojourney",_.FOUR_REASONS="fourreasons",_.DEPOSIT_INTRO="depositintro",_.CREATE_ACCOUNT="30sec",_.FAQ_LIST="faq_list",_.RED_BULL_NL="red_bull_nl",_.WHY_CHOOSE_US="why_choose_us",_.WELCOME_EU="welcomeEU",_.OFFICIAL_COMMUNITY="social_media",_.DOWNLOAD_ICON="download_icon",_.GUIDE_MODAL="guide_modal"},51717:function(e,n,t){var o,i,r,a,_,d,u,E,s,c,l,O;t.d(n,{PK:function(){return i},Ts:function(){return r},u7:function(){return o}}),(u=o||(o={})).WEB_PAGE_VIEW="WebPageView",u.WEB_MODULE_VIEW="WebModuleView",u.WEB_MODULE_CLICK="WebModuleClick",(E=i||(i={})).REGULAR_BANNER="regularbanner",E.CAMPAIGN_BANNER="campaignbanner",E.MARKET="market",E.STRENGTH="strength",E.CARD="card",E.EARN="earn",E.SPOT_X="spotx",E.APP_DOWNLOAD="appdownload",E.SAFETY="safety",E.FLOATING_CUSTOMER="floatingwidget",E.EURE_DIRECT="euredirect",E.DOWNLOAD="download",E.HOT_COINS="hotcoins",E.FIATDEPOSIT="fiatdeposit",E.BANNER_B="regularbanner",E.ONECLICKBUY="oneClickBuy",E.HEROBANNER="herobanner",E.ONBOARDING_MODALS="onboardingmodals",E.DOWNLOADICON="downloadIcon",E.ABTESTCONTAINER="abtestContainer",E.FLOATING="floating",E.FLOATINGWIDGET="floatingwidget",E.VALUE="value",E.DEPOSIT="deposit",E.ONBOARDING="onboarding",E.KYC="kyc",E.ADVANCED_TRADING="advanced_trading",E.EDUCATION="education",E.USA_COMINGSOON="USAComingSoon",E.VALUE_PROPOSITION="value_proposition",E.OPEN_ACCOUNTS="open_accounts",E.PRODUCTS_SERVICE="products_service",E.HELP_CENTER="help_center",E.REWARDS="rewards",E.FOOTER="footer",(s=r||(r={})).SIGNUP="signup",s.INPUT="input",s.THIRD_PARTY="thirdparty",s.VERIFY="verify",s.DEPOSIT="deposit",s.COINS="coins",s.CTA="CTA",s.PRODUCT="product",s.SWITCH="switch",s.MORE="more",s.TRADE="trade",s.CUSTOMER="customer",s.DOWNLOAD="download",s.BTN="btn",(c=a||(a={})).ONE="gift_card_1",c.TWO="gift_card_2",c.THREE="gift_card_3",c.FOUR="gift_card_4",(l=_||(_={})).HOME_PAGE="mainpage",l.BANNER="banner",(O=d||(d={})).HEROBANNER="herobanner",O.ANNOUNCEMENT="announcement",O.MARKET="market",O.PRODUCT="product",O.DOWNLOAD="download",O.BANNER="banner",O.NUMBER="number",O.SAFE="Safe",O.NEEDHELP="needhelp",O.REDBULL="redbull",O.FOOTER_START="startyourcryptojourney",O.FOUR_REASONS="fourreasons",O.DEPOSIT_INTRO="depositintro",O.CREATE_ACCOUNT="30sec",O.FAQ_LIST="faq_list",O.RED_BULL_NL="red_bull_nl",O.WHY_CHOOSE_US="why_choose_us",O.WELCOME_EU="welcomeEU",O.OFFICIAL_COMMUNITY="social_media",O.DOWNLOAD_ICON="download_icon",O.GUIDE_MODAL="guide_modal"}}]); //# sourceMappingURL=667-bb10d7b04bf66c40.js.map