1!function(){var e,t,a,i,n,s,r={99538:function(e,t,a){"use strict";var i=a(54375),n=a(81660),s=a(74821),r=a(28555),o=a(56326),c=a(30381),l=a.n(c);let unpackSymbol=e=>e?{symbol:e[0],type:e[1],name:e[2],exchange:e[3],isListing:e[4],sectorCode:e[5],industryCode:e[6],sector:e[7],industry:e[8],unit:e[9],displayOrder:e[10],session:e[11],timezone:e[12],hasIntraday:e[13],hasDaily:e[14],fractionDigits:e[15],sharesOutstanding:e[16],totalShares:e[17]}:null,unpackSymbols=e=>e.map(e=>unpackSymbol(e)),unpackTrades=(e,t)=>t.map(t=>({id:t[0],date:t[1],price:t[2],volume:t[3],side:t[4],sessionDate:t[5],symbol:e})),mergeTrades=(e,t)=>e&&0!==e.length?t&&t.length>0?e[e.length-1].sessionDate.getTime()!==t[0].sessionDate.getTime()?t:e[e.length-1].id>=t[0].id?e.concat(t).filter((e,t,a)=>a.findIndex(t=>t.id===e.id)===t).sort((e,t)=>e.id-t.id):e.concat(t):e:t,unpackBars=e=>e?e.map(e=>({date:e[0],open:e[1],high:e[2],low:e[3],close:e[4],volume:e[5]})):[],unpackBarsResult=e=>({bars:unpackBars(e[0]),nextTime:e[1]}),unpackLastPrices=e=>{let t=new Date;return e.map(e=>{var a;return{symbol:e[0],date:e[1],last:e[2],volume:e[3],totalVolume:e[4],totalValue:e[5],current:e[6],activeBuyVolume:e[7],dealVolume:null!==(a=e[8])&&void 0!==a?a:e[7],volume24h:e[9],clientDate:t}})},unpackRefPrices=e=>{let t=new Date;return e.map(e=>({symbol:e[0],date:e[1],basic:e[2],ceiling:e[3],floor:e[4],open:e[5],high:e[6],low:e[7],fractionDigits:e[8],sessionDate:e[9],clientDate:t}))},unpackExchangeStats=e=>{let t=new Date;return e.map(e=>({symbol:e[0],date:e[1],advances:e[2],declines:e[3],unchange:e[4],advancesValue:e[5],declinesValue:e[6],unchangeValue:e[7],clientDate:t}))},unpackForeignerStats=e=>{let t=new Date;return e.map(e=>({symbol:e[0],date:e[1],currentForeignRoom:e[2],buyForeignQuantity:e[3],sellForeignQuantity:e[4],buyForeignValue:e[5],sellForeignValue:e[6],clientDate:t}))},unpackOrders=e=>e.map(e=>({price:e[0],quantity:e[1]})),unpackOrderBooks=e=>{let t=new Date;return e.map(e=>({symbol:e[0],date:e[1],totalBidQuantity:e[2],totalAskQuantity:e[3],bids:unpackOrders(e[4]),asks:unpackOrders(e[5]),clientDate:t}))},unpackTradingStatistics=e=>({lastUpdated:new Date,highPrice1w:e[0],lowPrice1w:e[1],highPrice2w:e[2],lowPrice2w:e[3],highPrice1m:e[4],lowPrice1m:e[5],highPrice3m:e[6],lowPrice3m:e[7],highPrice6m:e[8],lowPrice6m:e[9],highPrice1y:e[10],lowPrice1y:e[11],priceChange1w:e[12],priceChange1m:e[13],priceChange3m:e[14],priceChange6m:e[15],priceChange1y:e[16],avgPrice4d:e[17],avgPrice5d:e[18],avgPrice9d:e[19],avgPrice10d:e[20],avgPrice14d:e[21],avgPrice15d:e[22],avgPrice19d:e[23],avgPrice20d:e[24],avgPrice44d:e[25],avgPrice45d:e[26],avgPrice49d:e[27],avgPrice50d:e[28],avgPrice99d:e[29],avgPrice100d:e[30],avgPrice199d:e[31],avgPrice200d:e[32],avgVolume4d:e[33],avgVolume5d:e[34],avgVolume9d:e[35],avgVolume10d:e[36],avgVolume14d:e[37],avgVolume15d:e[38],avgVolume19d:e[39],avgVolume20d:e[40],avgVolume44d:e[41],avgVolume45d:e[42],avgVolume3m:e[43],avgVolume6m:e[44],avgVolume1y:e[45],avgValue4d:e[46],avgValue9d:e[47],avgValue14d:e[48],avgValue19d:e[49],avgValue44d:e[50],ema5d:e[51],ema5dAdj:e[52],dema5d:e[53],tema5d:e[54],ema10d:e[55],ema10dAdj:e[56],dema10d:e[57],tema10d:e[58],ema12d:e[59],ema26d:e[60],ema15d:e[61],ema15dAdj:e[62],dema15d:e[63],tema15d:e[64],ema20d:e[65],ema20dAdj:e[66],dema20d:e[67],tema20d:e[68],ema45d:e[69],ema45dAdj:e[70],dema45d:e[71],tema45d:e[72],stdEv19d:e[73],stdEv20d:e[74],avgGain14d:e[75],avgLoss14d:e[76],avgTypPrice13d:e[77],positiveMf13d:e[78],negativeMf13d:e[79],rs:e[80],beta:e[81],mfi14d:e[82],price1w:e[83],price1m:e[84],price3m:e[85],price6m:e[86],price1y:e[87],buyForeignQty4d:e[88],buyForeignQty9d:e[89],buyForeignQty14d:e[90],buyForeignQty19d:e[91],buyForeignQty44d:e[92],buyForeignVal4d:e[93],buyForeignVal9d:e[94],buyForeignVal14d:e[95],buyForeignVal19d:e[96],buyForeignVal44d:e[97],sellForeignQty4d:e[98],sellForeignQty9d:e[99],sellForeignQty14d:e[100],sellForeignQty19d:e[101],sellForeignQty44d:e[102],sellForeignVal4d:e[103],sellForeignVal9d:e[104],sellForeignVal14d:e[105],sellForeignVal19d:e[106],sellForeignVal44d:e[107],activeBuy4d:e[108],activeBuy9d:e[109],activeBuy14d:e[110],activeBuy19d:e[111],activeBuy44d:e[112],activeSell4d:e[113],activeSell9d:e[114],activeSell14d:e[115],activeSell19d:e[116],activeSell44d:e[117],sharesOutstanding:e[118],freeShares:e[119],lastDealVolume:e[120],lastPriceOpen:e[121],lastPriceHigh:e[122],lastPriceLow:e[123],lastPriceClose:e[124],buyQuantity4d:e[125],sellQuantity4d:e[126],buyQuantity9d:e[127],sellQuantity9d:e[128],buyQuantity14d:e[129],sellQuantity14d:e[130],buyQuantity19d:e[131],sellQuantity19d:e[132],buyQuantity44d:e[133],sellQuantity44d:e[134],buyQuantity1w:e[135],sellQuantity1w:e[136],buyQuantity2w:e[137],sellQuantity2w:e[138],buyQuantity1m:e[139],sellQuantity1m:e[140],buyQuantity3m:e[141],sellQuantity3m:e[142],buyQuantity6m:e[143],sellQuantity6m:e[144],buyQuantity1y:e[145],sellQuantity1y:e[146],avgTradingSpeed3m:e[147],avgTradingSpeed10d:e[148],symbol:e[149],priceChangeConsecutiveDays:e[150],foreignerNetBuyConsecutiveDays:e[151],foreignerNetBuyConsecutiveVolume:e[152],foreignerNetBuyConsecutiveValue:e[153],macdSignal:e[154],nrOfOrganizations:e[155],nrOfForeignOrganizations:e[156],ownershipOfOrganizations:e[157],ownershipOfForeignOrganizations:e[158],ownershipOfBoardMembers:e[159],stateOwnerShip:e[160],foreignOwnership:e[161]});i.Jj(class{constructor(e,t,a,i,c,d,u,h,b,p){this.connection=null,this.symbols=new Map,this.symbolsUpdateCallback=void 0,this.prices=new Map,this.pricesUpdateCallback=void 0,this.orderBooks=new Map,this.orderBooksUpdateCallback=void 0,this.foreignerStats=new Map,this.foreignerStatsUpdateCallback=void 0,this.exchangeStats=new Map,this.exchangeStatsUpdateCallback=void 0,this.trades=new Map,this.tradesUpdateCallback=void 0,this.intradayBars=new Map,this.intradayBarsCallback=void 0,this.connected=!1,this.connecting=!1,this.host="",this.buildConnection=()=>
1{if(this.connection)try{this.connection.state!==n.A.Connected&&this.connection.stop()}catch(e){console.log(e)}this.connection=new s.s().withUrl(this.host,{skipNegotiation:!0,transport:r.n.WebSockets,accessTokenFactory:this.accessTokenFactory}).withAutomaticReconnect().withHubProtocol(new o.e).build(),this.connection.onclose(async()=>{this.connected=!1,this.isConnectionReady=!1,this.stateChangedCallback(this.connected),this.connecting||await this.start()}),this.connection.onreconnecting(async()=>{this.connected=!1,this.isConnectionReady=!1,this.stateChangedCallback(this.connected)}),this.connection.onreconnected(async()=>{this.connected=!0,this.isConnectionReady=!0,this.stateChangedCallback(this.connected),this.onPostConnected()}),this.connection.on("UpdateSymbols",e=>{unpackSymbols(e).forEach(e=>{this.symbols.set(e.symbol,e),this.symbolsUpdateCallback&&this.symbolsUpdateCallback(e)})}),this.connection.on("UpdateLastPrices",async e=>{let t=unpackLastPrices(e),a=[];t.forEach(e=>{let t=this.prices.get(e.symbol);(!t||t.date<=e.date)&&(t=t?Object.assign({},t,e):{symbol:e.symbol,date:e.date,current:e.current,last:e.last,basic:e.last,ceiling:e.last,floor:e.last,open:e.last,high:e.last,low:e.last,volume:e.volume,totalVolume:e.totalVolume,volume24h:e.volume24h,dealVolume:e.dealVolume,totalValue:e.totalValue,activeBuyVolume:e.activeBuyVolume,fractionDigits:2,sessionDate:e.date,clientDate:e.clientDate},this.prices.set(e.symbol,t),a.push(t))}),this.pricesUpdateCallback&&a.length>0&&(this.pricesUpdateCallback(a),this.updateLastIntradayBars(a))}),this.connection.on("UpdateOrderBooks",e=>{let t=unpackOrderBooks(e),a=[];t.forEach(e=>{let t=this.orderBooks.get(e.symbol);(!t||t.date<=e.date)&&(this.orderBooks.set(e.symbol,e),a.push(e))}),this.orderBooksUpdateCallback&&a.length>0&&this.orderBooksUpdateCallback(a)}),this.connection.on("UpdateRefPrices",e=>{let t=unpackRefPrices(e),a=[];t.forEach(e=>{let t=this.prices.get(e.symbol);(!t||t.date<=e.date)&&(t=t?Object.assign({},t,e):{symbol:e.symbol,date:e.date,current:0,last:e.basic,basic:e.basic,ceiling:e.ceiling,floor:e.floor,open:e.open,high:e.high,low:e.low,volume:0,totalVolume:0,volume24h:0,dealVolume:0,totalValue:0,activeBuyVolume:0,fractionDigits:e.fractionDigits,sessionDate:e.sessionDate,clientDate:e.clientDate},this.prices.set(e.symbol,t),a.push(t))}),this.pricesUpdateCallback&&a.length>0&&this.pricesUpdateCallback(a)}),this.connection.on("UpdateForeignerStats",e=>{let t=unpackForeignerStats(e),a=[];t.forEach(e=>{let t=this.foreignerStats.get(e.symbol);(!t||t.date<=e.date)&&(this.foreignerStats.set(e.symbol,e),a.push(e))}),this.foreignerStatsUpdateCallback&&a.length>0&&this.foreignerStatsUpdateCallback(a)}),this.connection.on("UpdateExchangeStats",e=>{let t=unpackExchangeStats(e),a=[];t.forEach(e=>{let t=this.exchangeStats.get(e.symbol);(!t||t.date<=e.date)&&(this.exchangeStats.set(e.symbol,e),a.push(e))}),this.exchangeStatsUpdateCallback&&a.length>0&&this.exchangeStatsUpdateCallback(a)}),this.connection.on("UpdateTrades",(e,t)=>{let a=unpackTrades(e,t),i=this.trades.get(e),n=mergeTrades(i,a);this.trades.set(e,n),this.tradesUpdateCallback&&this.tradesUpdateCallback(e,n,void 0!==i?a:void 0)})},this.start=async()=>{try{var e;this.connecting=!0,this.buildConnection(),await (null===(e=this.connection)||void 0===e?void 0:e.start()),this.connecting=!1,this.isConnectionReady=!0,this.connected=!0,this.stateChangedCallback(this.connected),this.onPostConnected()}catch(e){console.log("error: "+e),this.connecting=!1,this.isConnectionReady=!1,setTimeout(()=>this.start(),3e3)}},this.onPostConnected=()=>{let e=[...this.prices.keys()];if(e.length>0){var t;null===(t=this.connection)||void 0===t||t.invoke("SubscribeQuotes",e.join(","))}(e=[...this.trades.keys()]).length>0&&e.forEach(e=>{this.subscribeTrades(e,!0)}),(e=[...this.intradayBars.keys()]).length>0&&e.forEach(e=>{this.subscribeIntradayBars(e,!0)}),this.processConnectionReadyCallbacks()},this.getBars=(e,t,a,i)=>{let n=new Promise((n,s)=>{this.onConnectionReady(()=>{var r;null===(r=this.connection)||void 0===r||r.invoke("GetBars",e,t,a,i).then(e=>{n(unpackBarsResult(e))}).catch(e=>{s(e)})})});return n},this.getTopSymbols=(e,t,a,i)=>{let n=new Promise((n,s)=>{this.onConnectionReady(()=>{var r;null===(r=this.connection)||void 0===r||r.invoke("GetTopSymbols",e,t,a,i).then(e=>{n(e)}).catch(e=>{s(e)})})});return n},this.isConnectionReady=!1,this.connectionReadyCallbacks=[],this.processConnectionReadyCallbacks=()=>
1{this.connectionReadyCallbacks.forEach(e=>{e()}),this.connectionReadyCallbacks.length=0},this.onConnectionReady=e=>{this.isConnectionReady?e():this.connectionReadyCallbacks.push(e)},this.subscribeTrades=(e,t)=>{(!this.trades.has(e)||t)&&(this.trades.set(e,[]),this.onConnectionReady(()=>{var t;null===(t=this.connection)||void 0===t||t.invoke("SubscribeTrades",e).then(t=>{let a=unpackTrades(e,t),i=mergeTrades(this.trades.get(e),a);this.trades.set(e,i),this.tradesUpdateCallback&&this.tradesUpdateCallback(e,i)})}))},this.unsubscribeTrades=e=>{this.trades.has(e)&&(this.trades.delete(e),this.onConnectionReady(()=>{var t;null===(t=this.connection)||void 0===t||t.invoke("UnsubscribeTrades",e)}))},this.updateLastIntradayBars=e=>{e.forEach(e=>{let t=this.intradayBars.get(e.symbol);if(t){let a={date:new Date(new Date(e.date).getFullYear(),new Date(e.date).getMonth(),new Date(e.date).getDate(),new Date(e.date).getHours(),new Date(e.date).getMinutes(),0),open:e.last,high:e.last,low:e.last,close:e.last,volume:e.volume};if(0===t.length)t.push(a);else{let i=t[t.length-1];l()(i.date).isSame(a.date,"minute")?(a.open=i.open,a.high<i.high&&(a.high=i.high),a.low>i.low&&(a.low=i.low),a.volume+=i.volume,t.splice(t.length-1,1,a)):l()(i.date).isBefore(a.date,"minute")&&(l()(i.date).isSame(a.date,"day")||(t=t.filter(e=>l()(e.date).isSame(a.date,"day"))),t.push(a),this.intradayBars.set(e.symbol,t))}this.intradayBarsCallback&&this.intradayBarsCallback(e.symbol,t)}})},this.subscribeIntradayBars=(e,t)=>{(!this.intradayBars.has(e)||t)&&(this.intradayBars.set(e,[]),this.onConnectionReady(()=>{var t;null===(t=this.connection)||void 0===t||t.invoke("GetIntradayBars",e).then(t=>{let a=unpackBars(t);this.intradayBars.set(e,a),this.intradayBarsCallback&&this.intradayBarsCallback(e,a)})}))},this.unsubscribeIntradayBars=e=>{this.intradayBars.has(e)&&this.intradayBars.delete(e)},this._waitingSubscribedSymbols=[],this._lastSubscribedDate=new Date,this.subscribeQuotes=e=>{let t=[];t=e.filter(e=>!this.prices.has(e)&&0>this._waitingSubscribedSymbols.findIndex(t=>t===e)),Array.prototype.push.apply(this._waitingSubscribedSymbols,t);let a=new Date().getTime()-this._lastSubscribedDate.getTime();a>100?this._doSubscribeQuotes():setTimeout(this._doSubscribeQuotes,100-a)},this._doSubscribeQuotes=()=>
1{if(this._lastSubscribedDate=new Date,this._waitingSubscribedSymbols.length>0){this._waitingSubscribedSymbols.forEach(e=>{this.prices.set(e,null)});let e=this._waitingSubscribedSymbols.join(",");this._waitingSubscribedSymbols=[],this.onConnectionReady(()=>{var t;null===(t=this.connection)||void 0===t||t.invoke("SubscribeQuotes",e)})}},this.serverTimeOffset=void 0,this.getServerTime=()=>{let e=new Promise((e,t)=>{this.onConnectionReady(()=>{if(void 0===this.serverTimeOffset){var a,i=Date.parse(new Date().toUTCString());null===(a=this.connection)||void 0===a||a.invoke("GetServerTimeUtc").then(t=>{var a=Date.parse(new Date(t).toUTCString()),n=Date.parse(new Date().toUTCString());this.serverTimeOffset=a-i-(n-i)/2;var s=new Date;s.setTime(s.getTime()+this.serverTimeOffset),e(s)}).catch(e=>{t(e)})}else{var n=new Date;n.setTime(n.getTime()+this.serverTimeOffset),e(n)}})});return e},this.searchSymbols=(e,t,a)=>{let i=new Promise((i,n)=>{this.onConnectionReady(()=>{var s;null===(s=this.connection)||void 0===s||s.invoke("SearchSymbols",e,t,a).then(e=>{i(unpackSymbols(e))}).catch(e=>{n(e)})})});return i},this.getSymbol=e=>{let t=new Promise((t,a)=>{this.onConnectionReady(()=>{var i;null===(i=this.connection)||void 0===i||i.invoke("GetSymbol",e).then(e=>{t(unpackSymbol(e))}).catch(e=>{a(e)})})});return t},this.getTradingStatistics=e=>{let t=new Promise((t,a)=>{this.onConnectionReady(()=>{var i;null===(i=this.connection)||void 0===i||i.invoke("GetTradingStatistics",e).then(e=>{e&&t(unpackTradingStatistics(e)),t(null)}).catch(e=>{a(e)})})});return t},this.host=e,this.stateChangedCallback=a,this.pricesUpdateCallback=i,this.orderBooksUpdateCallback=c,this.foreignerStatsUpdateCallback=d,this.exchangeStatsUpdateCallback=u,this.tradesUpdateCallback=h,this.symbolsUpdateCallback=b,this.intradayBarsCallback=p,this.accessTokenFactory=t,this.buildConnection()}})}},o={};function __webpack_require__(e){var t=o[e];if(void 0!==t)return t.exports;var a=o[e]={id:e,loaded:!1,exports:{}},i=!0;try{r[e].call(a.exports,a,a.exports,__webpack_require__),i=!1}finally{i&&delete o[e]}return a.loaded=!0,a.exports}__webpack_require__.m=r,__webpack_require__.x=function(){var e=__webpack_require__.O(void 0,[4885,6466],function(){return __webpack_require__(99538)});return __webpack_require__.O(e)},e=[],__webpack_require__.O=function(t,a,i,n){if(a){n=n||0;for(var s=e.length;s>0&&e[s-1][2]>n;s--)e[s]=e[s-1];e[s]=[a,i,n];return}for(var r=1/0,s=0;s<e.length;s++){for(var a=e[s][0],i=e[s][1],n=e[s][2],o=!0,c=0;c<a.length;c++)r>=n&&Object.keys(__webpack_require__.O).every(function(e){return __webpack_require__.O[e](a[c])})?a.splice(c--,1):(o=!1,n<r&&(r=n));if(o){e.splice(s--,1);var l=i()}}return l},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=function(e,t){for(var a in t)__webpack_require__.o(t,a)&&!__webpack_require__.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},__webpack_require__.f={},__webpack_require__.e=function(e){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(t,a){return __webpack_require__.f[a](e,t),t},[]))},__webpack_require__.u=function(e){return"static/chunks/"+(4885===e?"75fc9c18":e)+"."+({4885:"a81e26132e35a072",6466:"d08e876da90403d7"})[e]+".js"},__webpack_require__.miniCssF=function(e){},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},__webpack_require__.tt=function(){return void 0===t&&(t={createScriptURL:function(e){return e}},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(t=trustedTypes.createPolicy("nextjs#bundler",t))),t},__webpack_require__.tu=function(e){return __webpack_require__.tt().createScriptURL(e)},__webpack_require__.p="/_next/",a={9538:1},__webpack_require__.f.i=function(e,t){a[e]||importScripts(__webpack_require__.tu(__webpack_require__.p+__webpack_require__.u(e)))},n=(i=self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push.bind(i),i.push=function(e){var t=e[0],i=e[1],s=e[2];for(var r in i)__webpack_require__.o(i,r)&&(__webpack_require__.m[r]=i[r]);for(s&&s(__webpack_require__);t.length;)a[t.pop()]=1;n(e)},s=__webpack_require__.x,__webpack_require__.x=function(){return Promise.all([__webpack_require__.e(4885),__webpack_require__.e(6466)]).then(s)},_N_E=__webpack_require__.x()}();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.