{"version":3,"sources":["webpack:///./src/views/Embed.vue?2ac3","webpack:///./src/views/Embed.vue?07cb","webpack:///src/views/Embed.vue","webpack:///./src/views/Embed.vue?1a7e","webpack:///./src/views/Embed.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","detail","category","class","type","on","showHeader","hideHeader","contentUri","_v","_s","title","_f","publishDate","viewCountStr","name","style","ref","hideControls","embedUri","htmlContent","domProps","html","_e","status","staticRenderFns","components","Header","ShareDialog","VuePlyr","data","loading","hhTimer","methods","clearTimeout","setTimeout","getData","$http","get","$config","uri","detailUri","then","document","body","scrollTop","documentElement","$","flipBook","backgroundColor","scrollWheel","height","window","onFlip","onReady","fb","gotoPage","v","source","play","created","getElementsByTagName","classList","add","destroyed","remove","mounted","component"],"mappings":"uGAAA,yBAA0gB,EAAG,G,kECA7gB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,CAACE,YAAY,UAAUC,MAAM,CAAC,GAAK,SAAS,CAAEP,EAAW,QAAEI,EAAG,MAAM,CAACE,YAAY,YAAcN,EAAIQ,OAA2OJ,EAAG,MAAM,CAACA,EAAG,SAAS,CAACG,MAAM,CAAC,SAAWP,EAAIQ,OAAOC,YAAYL,EAAG,MAAM,CAACE,YAAY,gBAAgBI,MAAMV,EAAIQ,OAAOG,KAAKC,GAAG,CAAC,MAAQZ,EAAIa,aAAa,CAACT,EAAG,MAAM,CAACE,YAAY,gBAAgBI,MAAM,CAACI,WAAYd,EAAIc,aAAa,CAACV,EAAG,MAAM,CAACE,YAAY,OAAO,CAACF,EAAG,IAAI,CAACG,MAAM,CAAC,KAAOP,EAAIe,WAAW,OAAS,WAAW,CAACX,EAAG,KAAK,CAACE,YAAY,gBAAgB,CAACN,EAAIgB,GAAGhB,EAAIiB,GAAGjB,EAAIQ,OAAOU,UAAUd,EAAG,MAAM,CAACE,YAAY,eA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R,WACQ,EAAR,gGACQ,EAAR,aACA,QAAY,EAAZ,YACUwB,YAAW,WACTY,EAAE,UAAUC,SAAS,EAAjC,YACcC,gBAAiB,UACjBC,aAAa,EACbC,OAAQJ,EAAEK,QAAQD,SAClBjC,aAAc,iBACdmC,OAAQ,SAAtB,KACcC,QAAS,SAAvB,GACoB,EAApB,gBACkBnB,YAAW,WACToB,EAAGC,SAAS,EAAhC,kBACA,WAIA,UACA,4BACU,IAAV,KACc,EAAd,4EACc,EAAd,yEACc,EAAd,yEACc,EAAd,yEACUrB,YAAW,WACT,IAAZ,uBACYsB,EAAEC,OAAS,CAAvB,6CACYD,EAAEE,eAEd,4BACU,IAAV,gDACUxB,YAAW,WACT,IAAZ,uBACYsB,EAAEC,OAAS,CAAvB,6CACYD,EAAEE,gBAMZC,QA7EF,WA8EIjB,SAASkB,qBAAqB,QAAQ,GAAGC,UAAUC,IAAI,eAEzDC,UAhFF,WAiFIrB,SAASkB,qBAAqB,QAAQ,GAAGC,UAAUG,OAAO,eAE5DC,QAnFF,WAoFIvB,SAASC,KAAKC,UAAY,EAC1BF,SAASG,gBAAgBD,UAAY,EACrCF,SAAShC,MAAQ,qBAArB,6BACIjB,KAAK0C,YCzJsU,I,wBCQ3U+B,EAAY,eACd,EACA3E,EACAiC,GACA,EACA,KACA,KACA,MAIa,aAAA0C,E","file":"js/embed.e8af0c45.js","sourcesContent":["import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../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!./Embed.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../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!./Embed.vue?vue&type=style&index=0&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"section\",attrs:{\"id\":\"page\"}},[(_vm.loading)?_c('div',{staticClass:\"loading\"}):(!_vm.detail)?_c('div',{staticClass:\"notFound\"},[_c('img',{attrs:{\"src\":require(\"../assets/not-found.png\")}}),_c('h4',[_vm._v(\"404\")]),_c('h2',[_vm._v(\"Halaman tidak ditemukan\")]),_c('p',[_vm._v(\"We can't find the page you looking for\")])]):_c('div',[_c('Header',{attrs:{\"category\":_vm.detail.category}}),_c('div',{staticClass:\"articleDetail\",class:_vm.detail.type,on:{\"click\":_vm.showHeader}},[_c('div',{staticClass:\"articleHeader\",class:{hideHeader: _vm.hideHeader}},[_c('div',{staticClass:\"ahL\"},[_c('a',{attrs:{\"href\":_vm.contentUri,\"target\":\"_blank\"}},[_c('h2',{staticClass:\"articleTitle\"},[_vm._v(_vm._s(_vm.detail.title))]),_c('div',{staticClass:\"publishTime\"},[_vm._v(\" \"+_vm._s(_vm._f(\"moment\")(_vm.detail.publishDate,'MMM YYYY'))+\" \"),_c('span',{staticClass:\"bull\"},[_vm._v(\"•\")]),_vm._v(\" \"+_vm._s(_vm.detail.viewCountStr)+\" views \"),_c('span',{staticClass:\"bull\"},[_vm._v(\"•\")]),_c('span',{staticClass:\"category\"},[_vm._v(_vm._s(_vm.detail.category.name))])])])])]),(_vm.detail.type === 'pdf')?_c('div',{staticClass:\"articleContent\"},[_c('div',{attrs:{\"id\":\"dfCnt\"}})]):(_vm.detail.type === 'image')?_c('div',{staticClass:\"articleContent image\"},[_c('div',{staticClass:\"theImg\",style:({'background-image': (\"url(\" + (_vm.detail.imageLg) + \")\")})})]):(_vm.detail.type === 'video')?_c('div',{staticClass:\"articleContent video\"},[_c('VuePlyr',{ref:\"video\",attrs:{\"options\":{ hideControls: false }}},[_c('video')])],1):(_vm.detail.type === 'audio')?_c('div',{staticClass:\"articleContent audio\"},[_c('VuePlyr',{ref:\"audio\",attrs:{\"options\":{ hideControls: false }}},[_c('video')])],1):(_vm.detail.type === 'youtube')?_c('div',{staticClass:\"articleContent video youtube\"},[_c('iframe',{attrs:{\"src\":_vm.detail.embedUri,\"frameborder\":\"0\",\"allow\":\"accelerometer; autoplay; clipboard-write; encrypted-media;\\n gyroscope; picture-in-picture\",\"allowfullscreen\":\"\"}})]):(_vm.detail.type === 'html' && _vm.detail.htmlContent)?_c('div',{staticClass:\"articleContent html\",domProps:{\"innerHTML\":_vm._s(_vm.detail.htmlContent.html)}}):_vm._e()]),(_vm.detail.status === 'pending')?_c('div',{staticClass:\"preview\"},[_vm._v(\" This is a preview, content will be published at \"),_c('b',[_vm._v(_vm._s(_vm._f(\"moment\")(_vm.detail.publishDate,'dddd, D MMM YYYY HH:mm')))])]):_vm._e()],1),_c('ShareDialog',{ref:\"shareDialog\"})],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!./Embed.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!./Embed.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Embed.vue?vue&type=template&id=3f7f581c&\"\nimport script from \"./Embed.vue?vue&type=script&lang=js&\"\nexport * from \"./Embed.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Embed.vue?vue&type=style&index=0&lang=scss&\"\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 null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}