{"version":3,"sources":["webpack:///./src/pages/miniapp/market/gold/Index.vue?9f99","webpack:///./src/pages/miniapp/market/gold/Index.vue?3346","webpack:///src/pages/miniapp/market/gold/Index.vue","webpack:///./src/pages/miniapp/market/gold/Index.vue?770b","webpack:///./src/pages/miniapp/market/gold/Index.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","class","$route","name","on","$event","bindRoute","_v","_s","formatThaiDate","goldTraderPresent","createdAt","formatTime","createdTime","barPriceChange","barBuyPrice","barSellPrice","queryDate","ornamentBuyPrice","ornamentSellPrice","goldSpotTime","calGoldSpotPercentChange","getGoldSpotPreviousClose","o","c","staticRenderFns","components","GoldArticle","GoldCard","GoldFund","data","watch","immediate","handler","route","$router","push","getMarketActiveTabChild","query","computed","destroyed","window","removeEventListener","handleScroll","methods","currentScrollPosition","$emit","toggleFilter","isFilter","formatThaiDateWithWeekDay","momentDate","format","add","getCurrentDate","saveMarketActiveTabChild","routeName","component"],"mappings":"kHAAA,yBAA+nB,EAAG,G,yCCAloB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,CAACE,MAAM,CAAC,GAAK,eAAe,mBAAmB,KAAK,CAACF,EAAG,KAAK,CAACG,YAAY,cAAc,CAACH,EAAG,KAAK,CAACI,MAAM,CAAoB,8BAAnBR,EAAIS,OAAOC,KAAwC,SAAW,KAAK,CAACN,EAAG,IAAI,CAACE,MAAM,CAAC,KAAO,eAAe,cAAc,WAAW,WAAW,eAAeK,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOZ,EAAIa,UAAU,iCAAiC,CAACb,EAAIc,GAAG,oBAAoBV,EAAG,KAAK,CAACI,MAAM,CAAoB,4BAAnBR,EAAIS,OAAOC,KAAsC,SAAW,KAAK,CAACN,EAAG,IAAI,CAACE,MAAM,CAAC,KAAO,eAAe,cAAc,WAAW,WAAW,aAAaK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,GAGpBC,0BApBJ,SAoBA,GACM,IAAN,yBACM,OAAOC,EAAWC,OAAO,kBAAoBD,EAAWE,IAAI,MAAO,SAASD,OAAO,SAErF1C,eAxBJ,SAwBA,GACM,IAAN,yBACM,OAAOyC,EAAWC,OAAO,UAAYD,EAAWE,IAAI,MAAO,SAASD,OAAO,UAE7EvC,WA5BJ,SA4BA,GACM,OAAO,EAAb,0BAEIyC,eA/BJ,SA+BA,GACM,OAAO,IAAb,yBAEI/C,UAlCJ,SAkCA,GACMZ,KAAKyC,QAAQC,KAAK,CAAxB,SACM1C,KAAK4D,yBAAyBC,OClKwV,I,wBCQxXC,EAAY,eACd,EACAhE,EACAiC,GACA,EACA,KACA,WACA,MAIa,aAAA+B,E","file":"js/chunk-0fa931a2.b2f6df10.js","sourcesContent":["import mod from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=style&index=0&id=13b392c3&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=style&index=0&id=13b392c3&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('article',{attrs:{\"id\":\"article-gold\",\"sticky-container\":\"\"}},[_c('ul',{staticClass:\"toggle-nav\"},[_c('li',{class:[_vm.$route.name == 'miniapp-market-gold-trader' ? 'active' : '']},[_c('a',{attrs:{\"href\":\"javascript:;\",\"data-action\":\"open_tab\",\"data-tab\":\"gold_trader\"},on:{\"click\":function($event){return _vm.bindRoute('miniapp-market-gold-trader')}}},[_vm._v(\"ราคาทองคำไทย\")])]),_c('li',{class:[_vm.$route.name == 'miniapp-market-gold-spot' ? 'active' : '']},[_c('a',{attrs:{\"href\":\"javascript:;\",\"data-action\":\"open_tab\",\"data-tab\":\"gold_spot\"},on:{\"click\":function($event){return _vm.bindRoute('miniapp-market-gold-spot')}}},[_vm._v(\"ราคาทองคำโลก\")])])]),_c('router-view'),_c('div',{attrs:{\"id\":\"goldtrader-container\"}},[_c('h2',[_vm._v(\"ราคาทองคำจากสมาคมค้าทองคำ\")]),_c('div',{staticClass:\"update-time\"},[_vm._v(\"อัพเดต: \"+_vm._s(_vm.formatThaiDate(_vm.goldTraderPresent.createdAt))+\" | เวลา \"+_vm._s(_vm.formatTime(_vm.goldTraderPresent.createdAt))+\" | ครั้งที่ \"+_vm._s(_vm.goldTraderPresent.createdTime))]),_c('GoldCard',{attrs:{\"type\":\"association\",\"goldType\":\"trader_bar\",\"goldTitle\":\"ทองคำแท่ง 96.5%\",\"modalTitle\":\"ราคาทองคำแท่ง 96.5\",\"data-assetname\":\"bar\",\"change\":_vm.goldTraderPresent.barPriceChange,\"bid\":_vm.goldTraderPresent.barBuyPrice,\"ask\":_vm.goldTraderPresent.barSellPrice,\"currentDate\":_vm.formatThaiDate(_vm.goldTraderPresent.createdAt),\"currentRound\":_vm.goldTraderPresent.createdTime,\"currentTime\":_vm.formatTime(_vm.goldTraderPresent.createdAt),\"queryDate\":_vm.queryDate}}),_c('GoldCard',{attrs:{\"data-assetname\":\"ornament\",\"type\":\"association\",\"goldType\":\"trader_ornament\",\"goldTitle\":\"ทองรูปพรรณ 96.5%\",\"modalTitle\":\"ราคาทองรูปพรรณ 96.5\",\"bid\":_vm.goldTraderPresent.ornamentBuyPrice,\"ask\":_vm.goldTraderPresent.ornamentSellPrice,\"currentDate\":_vm.formatThaiDate(_vm.goldTraderPresent.createdAt),\"currentRound\":_vm.goldTraderPresent.createdTime,\"currentTime\":_vm.formatTime(_vm.goldTraderPresent.createdAt),\"queryDate\":_vm.queryDate}})],1),_c('div',{attrs:{\"id\":\"goldglobal-container\"}},[_c('h2',[_vm._v(\"ราคาทองอ้างอิงตลาดต่างประเทศ\")]),_c('div',{staticClass:\"update-time\"},[_vm._v(\"อัพเดต: \"+_vm._s(_vm.goldSpotTime))]),_c('GoldCard',{attrs:{\"type\":\"global\",\"goldTitle\":\"Gold Spot\",\"goldType\":\"gold_spot\",\"data-assetname\":\"spot\",\"change\":_vm.calGoldSpotPercentChange,\"bid\":_vm.getGoldSpotPreviousClose.o,\"ask\":_vm.getGoldSpotPreviousClose.c,\"modalTitle\":\"Gold Spot\"}})],1),_c('section',{attrs:{\"id\":\"section-gold-article\"}},[_c('GoldArticle')],1),_c('section',{attrs:{\"id\":\"section-gold-fund\"}},[_c('GoldFund')],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=13b392c3&scoped=true&\"\nimport script from \"./Index.vue?vue&type=script&lang=js&\"\nexport * from \"./Index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Index.vue?vue&type=style&index=0&id=13b392c3&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"13b392c3\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}