/*! For license information please see LICENSES */
(window.webpackJsonp=window.webpackJsonp||[]).push([[107,4,5,9,12,13,22],Array(558).concat([function(t,e,n){"use strict";n(74),n(14),n(13),n(11),n(8),n(15),n(10),n(16);var o=n(4),r=n(3),c=(n(54),n(65),n(27),n(36)),l=n(257),d=n(565);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function m(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var A=n(39)("src/client/components/page/BigClassroom/BigClassNavBar.vue").error,h={components:{BulletinModal:l.a},props:{noFixed:{type:Boolean,default:function(){return!1}},hideAnnouncementFiexed:{type:Boolean,default:function(){return!1}},ignoreAnnouncement:{type:Boolean,default:function(){return!1}}},data:function(){return{isShowBulletinModal:!1,bulletinModalContent:{},announcementShow:!1,onlineBulletin:{},hideAnnouncement:!1}},computed:m(m({},Object(c.e)("user",["hadFavorRoom"])),{},{classroomName:function(){var t=String(this.cjcatKey.jobcat||"");return d.a[t.substr(0,7)]||"職業教室"},routePath:function(){return this.$route.path}}),fetch:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.checkHadFavorRoom();case 2:case"end":return e.stop()}}),e)})))()},mounted:function(){this.checkAnnouncement()},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll),this.setBigClassNavIsHandle(!1)},beforeMount:function(){var t=this;setTimeout((function(){window.addEventListener("scroll",t.handleScroll),t.setBigClassNavIsHandle(!0)}),1e3)},methods:m(m(m({},Object(c.d)(["setBigClassNavIsHandle"])),Object(c.b)("user",["checkHadFavorRoom"])),{},{checkAnnouncement:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.ignoreAnnouncement){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,t.$api.nabi.getOnlineBulletin();case 4:n=e.sent,o=new Date(Number(n.updateTime)),r=new Date(Number(t.$cookies.get("announcement")||0)),o>r&&(t.onlineBulletin=n,t.announcementShow=!0);case 8:case"end":return e.stop()}}),e)})))()},closeAnnouncement:function(){this.$cookies.set("announcement",Date.now()),this.$data.announcementShow=!1},bulletin_show:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){var o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e.$api.nabi.getBulletin(t.bulletinId);case 3:o=n.sent,e.openBulletinModal(o),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),A("error on show bulletin",n.t0);case 10:case"end":return n.stop()}}),n,null,[[0,7]])})))()},openBulletinModal:function(content){this.bulletinModalContent=content,this.isShowBulletinModal=!0},handleScroll:function(t){var e=document.getElementsByClassName("bigClass")[0],n=document.getElementById("bigClassNavBar"),o=document.getElementById("heybarContainer"),r=o.offsetHeight?o.offsetHeight:0,c=document.getElementById("addShadow");n&&e&&((t.target.scrollTop>10||window.scrollY>10)&&!this.noFixed?(n.style.position="fixed",n.style.width="calc(100% - var(--scrollBarWidth))",n.classList.add("fixedMode"),o&&(n.style.top=r+"px"),this.announcementShow?e.style.paddingTop="88px":e.style.paddingTop="52px",this.hideAnnouncementFiexed&&(this.hideAnnouncement=!0)):(n.style.position="relative",n.style.width="100%",n.classList.remove("fixedMode"),o&&(n.style.top="0px"),e.style.paddingTop="0px",c&&(c.style.display="block"),this.hideAnnouncement=!1))}})},v=(n(566),n(38)),component=Object(v.a)(h,(function(){var t=this,e=t._self._c;return e("div",{ref:"bigClassNavBar",staticClass:"bigClassNavBar",attrs:{id:"bigClassNavBar"}},[t.announcementShow&&!t.hideAnnouncement?e("div",{ref:"announcement",staticClass:"announcement"},[e("span",[t._v(t._s(t.onlineBulletin.subject)+"\n            "),e("span",{staticClass:"link",on:{click:function(e){return t.openBulletinModal(t.onlineBulletin)}}},[t._v("了解更多")])]),t._v(" "),e("i",{on:{click:t.closeAnnouncement}}),t._v(" "),e("div",{attrs:{id:"addShadow"}})]):t._e(),t._v(" "),e("div",{staticClass:"bigClassContainer d-flex align-items-center pt-0"},[e("div",{staticClass:"bigClassNavBarWrap"},[e("router-link",{staticClass:"bigClassNavBar--link feed",class:{"bigClassNavBar--link-active":t.routePath.startsWith("/feed")},attrs:{to:"/feed","aria-label":"feed"}}),t._v(" "),e("router-link",{staticClass:"bigClassNavBar--link course",class:{"bigClassNavBar--link-active":"/course"===t.routePath},attrs:{to:"/course","aria-label":"course"}},[e("div",{staticClass:"isHint"})]),t._v(" "),e("router-link",{staticClass:"bigClassNavBar--link classroom",class:{"bigClassNavBar--link-active":"/classroom"===t.routePath},attrs:{to:"/classroom","aria-label":"classroom"}}),t._v(" "),e("router-link",{staticClass:"bigClassNavBar--link certify",class:{"bigClassNavBar--link-active":"/certify"===t.routePath},attrs:{to:"/certify","aria-label":"certify"}})],1)]),t._v(" "),e("BulletinModal",t._b({attrs:{"is-show":t.isShowBulletinModal,title:"系統通知"},on:{"click-close":function(e){t.isShowBulletinModal=!1}}},"BulletinModal",t.bulletinModalContent,!1))],1)}),[],!1,null,"a65fb0e4",null);e.a=component.exports},function(t,e,n){t.exports={}},function(t,e,n){t.exports=n.p+"img/img-AnonymousAvatar.35835a7.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABgUExURUdwTP///5O8//////////////////j7/0+S//7//6vL/1aW/////+ny/+Lu/8re/2eg/////7rV/////////////////////3Gn/////06R/93q/4u3/6vL/22k/12a/17UpAkAAAAZdFJOUwAMv7PoYfX46/3E2E7l38/H28jLjzcbfMIZPpq7AAAB20lEQVRYw+2X2ZKDIBBF44qoiUtMFET9/7+c0KjjgoAZqubF+xQxnuoVmtvt0qVL/y8nrbzCx9gvvCp1vqYEXkgWCr3gG5ZTrygjqz6NCnwilR+cwryf04f4kcWuG2cPPK083+ac12gOKpuIjoqaEo1GvYzdEtFB7kwZWa5AhYbuBcKneIMBVCzeGZFeYA/KqVQ5GBUaePeG+NwTeqDkDnHSRxzydY/ooSIgPY0ChBKqUALeacLkgGM5VSoH59Q1XvP/xFQjyF2tNIhnDEU6UMSdCx1dhNyDz3vWTz9dXZQ8hUEME8yWJnkaz8oDe3jXttNTqfYt5RY3cg7kfAY1/Ck9BFW8j6SeDS00GZvDze2rlCF6SA0SnO534aEMUvF5m8k4HfR8u1jJPgvFIchfVyPr2IJD2m1N+ocgvKqibnKGwTaLhiWIVxI2BLVjWETCcE/NQWvXAIQ7kbC5Fo1cWwdbWEJ2CTMI9ib9/XwE7Tia9G8Lkk2kdtf/6oLctQgbOcMWpGmRfdMCCfW7CtU07X4bGRgibS/f2byTG9sgaRntxmZtq7W2+ds7jqwdkPaObHtDhLWxZhq0iGLQIsGZ0Q//efSzN4zaG4/tDewWrxD2LjUWr1mXLl2yqB/4AqcLbas6lwAAAABJRU5ErkJggg=="},function(t,e,n){t.exports={}},function(t,e,n){"use strict";n(14),n(13),n(11),n(8),n(15),n(10),n(16);var o=n(23),r=n(3),c=(n(26),n(40),n(574),n(21),n(36));function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var f=n(39)("src/client/mixins/MetaMixin.js"),m=f.debug,A=f.error;e.a={name:"MetaMixin",computed:{},methods:d(d({},Object(c.d)(["setH1","setH2","setH3"])),{},{getH1:function(){},getH2:function(){},getH3:function(){},getTitle:function(){},getDesc:function(){},getScript:function(){},getScriptObj:function(){},getLink:function(){},getCanonicalLink:function(){},setH1H2H3:function(){m("run head");var h1=this.getH1();m("h1",h1),void 0!==h1&&this.setH1(h1);var h2=this.getH2();m("h2",h2),h2&&this.setH2(h2);var h3=this.getH3();m("h3",h3),h3&&this.setH3(h3)},getOgImage:function(){}}),head:function(){var t={meta:[]},e=this.getTitle();e&&(t.title=e,t.meta.push({hid:"og:title",name:"og:title",property:"og:title",content:e}),t.meta.push({hid:"twitter:title",name:"twitter:title",content:e}));var n=this.getDesc();n&&(t.meta.push({hid:"description",name:"description",content:n}),t.meta.push({hid:"twitter:description",name:"twitter:description",content:n}),t.meta.push({hid:"og:description",name:"og:description",property:"og:description",content:n}));var link=this.getLink();link&&t.meta.push({hid:"og:url",name:"og:url",property:"og:url",content:link});var r=this.getOgImage();r&&(t.meta.push({hid:"og:image",name:"og:image",property:"og:image",content:r}),t.meta.push({hid:"twitter:image",name:"twitter:image",property:"twitter:image",content:r}),t.meta.push({hid:"facebook:image",name:"facebook:image",property:"facebook:image",content:r}));var c=function(t){try{return t()}catch(e){return void A("getInfoCatch",{func:t,err:e})}}(this.getScriptObj.bind(this))||[{__at__context:"http://schema.org",__at__type:"WebPage",name:"104學習精靈",url:"https://nabi.104.com.tw",significantLink:["".concat("https://nabi.104.com.tw","/savejob"),"".concat("https://nabi.104.com.tw","/mynabi")]},{__at__context:"http://schema.org",__at__type:"BreadcrumbList",name:"104學習精靈",itemListElement:[{__at__type:"ListItem",position:1,name:"104 學習精靈",item:"https://nabi.104.com.tw"}]}],l=JSON.stringify(c).replace(/__at__/g,"@").replaceAll("<","&lt;").replaceAll(">","&gt;");t.script=[{type:"application/ld+json",innerHTML:l}].concat(Object(o.a)(this.getScript()||[])),t.__dangerouslyDisableSanitizers=["script"];var d=this.getCanonicalLink()||"".concat("https://nabi.104.com.tw").concat(this.$route.path);return t.link=[{rel:"canonical",href:d}],t}}},function(t,e,n){"use strict";n.r(e);n(65),n(54),n(8),n(10);var o={props:{enable:{type:Boolean,require:!0,default:!1},activityKey:{type:String,require:!0,default:void 0},activityType:{type:String,require:!0,default:void 0},channelInfo:{type:Object,require:!0,default:function(){}},dataInfo:{type:Object,require:!0,default:function(){}},enableVisit:{type:Boolean,require:!0,default:!1},resourceId:{type:[Array,String],require:!0,default:void 0},channelTypeOption:{type:String,require:!0,default:void 0},recommendType:{type:String,require:!0,default:void 0},channelInfoOption:{type:String,require:!0,default:void 0},threshold:{type:Number,default:function(){return.3}},enableBlock:{type:Boolean,default:!1},action:{type:Number,default:function(){return 1}},index:{type:Number,default:function(){return 1}},blockKey:{type:String,require:!0,default:void 0},blockType:{type:Number,default:null},blockAction:{type:Number,default:null},blockNumber:{type:Number,default:void 0},loggerActivated:{type:Boolean,default:function(){return!1}}},data:function(){return{logged:!1,timmer:void 0,visitTimmer:void 0,blockTimmer:void 0,blockLogged:!1}},computed:{params:function(){return{callback:this.visibilityChanged,intersection:{threshold:this.threshold},throttleOptions:{leading:"both"}}}},beforeDestroy:function(){clearTimeout(this.timmer),clearTimeout(this.visitTimmer),clearTimeout(this.blockTimmer),this.timmer=void 0,this.visitTimmer=void 0,this.blockTimmer=void 0},deactivated:function(){this.loggerActivated&&(this.blockLogged=!1)},methods:{logProcess:function(t){var e=this;t&&!this.timmer?this.timmer=setTimeout((function(){e.logged=!0,e.$viewLog.sendChannelViewlog({activityKey:e.activityKey,activityType:e.activityType,channelTypeOption:e.channelTypeOption,recommendType:e.recommendType,action:e.action,order:e.index},e.channelInfo,e.dataInfo)}),2e3):!t&&this.timmer&&(clearTimeout(this.timmer),this.timmer=void 0)},visitProcess:function(t){var e=this;t&&!this.visitTimmer?this.visitTimmer=setTimeout((function(){e.logged=!0,Array.isArray(e.resourceId)?e.resourceId.forEach((function(t){e.$viewLog.sendChannelViewlog({resourceId:t,channelTypeOption:e.channelTypeOption,recommendType:e.recommendType,action:e.action,order:e.index},e.channelInfo,e.dataInfo)})):e.$viewLog.sendChannelViewlog({resourceId:e.resourceId,channelTypeOption:e.channelTypeOption,recommendType:e.recommendType,action:e.action,order:e.index},e.channelInfo,e.dataInfo)}),2e3):!t&&this.visitTimmer&&(clearTimeout(this.visitTimmer),this.visitTimmer=void 0)},blockProcess:function(t){var e=this;t&&!this.blockTimmer?this.blockTimmer=setTimeout((function(){e.blockLogged=!0,e.$viewLog.sendBlockViewlog({key:e.blockKey,type:e.blockType,action:e.blockAction,block:e.blockNumber}),e.$emit("handleEnableBlock",{key:e.blockKey})}),2e3):(clearTimeout(this.blockTimmer),this.blockTimmer=void 0)},visibilityChanged:function(t,e){this.logged||(this.enable&&this.logProcess(t),this.enableVisit&&this.visitProcess(t)),this.enableBlock&&this.blockKey&&!this.blockLogged&&this.blockProcess(t)}}},r=n(38),component=Object(r.a)(o,(function(){var t=this;return(0,t._self._c)("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:t.params,expression:"params"}],ref:"loggerRef"},[t._t("default")],2)}),[],!1,null,null,null);e.default=component.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return r}));var o={2001001:"經營教室",2001002:"人資教室",2002001:"行政教室",2002002:"法務教室",2003001:"財會教室",2003002:"金融教室",2004001:"行銷教室",2004002:"企劃教室",2004003:"專案教室",2005001:"客服教室",2005002:"門市教室",2005003:"業務教室",2005004:"貿易教室",2006001:"餐飲教室",2006002:"休閒教室",2006003:"美容教室",2007001:"軟體教室",2007002:"網管教室",2008001:"研發教室",2008002:"化材教室",2008003:"生技教室",2009001:"生管教室",2009002:"製程教室",2009003:"品管教室",2009004:"環安教室",2010001:"技術教室",2010002:"維修教室",2011001:"採購教室",2011002:"物流教室",2012001:"營建教室",2012002:"營造教室",2012003:"製圖教室",2013001:"設計教室",2013002:"傳播教室",2014001:"編輯教室",2014002:"記者教室",2015001:"醫療教室",2015002:"保健教室",2016001:"學術教室",2016002:"輔導教室",2017001:"軍警消教室",2017002:"保全教室",2018001:"農牧教室",2018002:"職業教室","":"職業教室"},r=[{2004001:"行銷推廣"},{2007001:"軟體工程"},{2004002:"產品企劃"},{2013002:"傳播藝術"},{2001002:"人力資源"},{2016001:"學術研究"},{2002001:"行政總務"},{2010001:"技術操作"},{2005003:"業務銷售"},{2013001:"設計美編"},{2007002:"資訊網管"},{2014001:"文字編譯"},{2009003:"品保品管"},{2016002:"教育輔導"},{2014002:"記者採訪"},{2004003:"專案管理"},{2008001:"工程研發"},{2003002:"金融專業"},{2010002:"維修技術"},{2001001:"經營幕僚"},{2012003:"製圖測量"},{2003001:"財稅會計"},{2005002:"門市營業"},{2006002:"旅遊休閒"},{2012002:"營建施作"},{2005001:"客戶服務"},{2009001:"生產管理"},{2015001:"醫療專業"},{2011001:"採購倉管"},{2011002:"運輸物流"},{2012001:"營建規劃"},{2006001:"餐飲廚師"},{2009002:"製程規劃"},{2002002:"法務智財"},{2015002:"醫療保健"},{2009004:"環境衛生"},{2008003:"生技醫療"},{2006003:"美容美髮"},{2005004:"貿易船務"},{2017002:"保全管理"},{2018001:"農林漁牧"},{2008002:"化工材料"},{2017001:"軍警消防"},{2018002:"其他"}]},function(t,e,n){"use strict";n(559)},function(t,e,n){t.exports=n.p+"img/deleteUserAvatar.62ce4f6.png"},function(t,e,n){"use strict";var o=n(605),r=(n(14),n(13),n(11),n(15),n(10),n(16),n(3)),c=(n(8),n(36));function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var f={props:{message:{type:String,default:""},customMsg:{type:Boolean,default:!1}},data:function(){return{resovle:void 0,value:!1}},computed:d({},Object(c.c)(["isLogin"])),methods:d(d({},Object(c.d)(["setRunLogin"])),{},{Login:function(){this.isLogin||this.setRunLogin(!0)},closeModal:function(){this.$refs.modal&&this.$refs.modal.hide()},openModal:function(){this.value=!1;var t=this;return this.$refs.modal&&this.$refs.modal.show(),new Promise((function(e){t.resovle=e}))},onHidden:function(){this.resovle&&(this.resovle(this.value),this.resovle=void 0),this.$emit("loginAlert-hidden")},onCancelClick:function(){this.value=!1,this.closeModal()}})},m=n(38),component=Object(m.a)(f,(function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{id:"bv-modal-toLogin",centered:"","dialog-class":"alertDialog"},on:{hidden:t.onHidden},scopedSlots:t._u([{key:"modal-header",fn:function(n){var o=n.close;return[e("h5",[t._v("Hi 我們先登入好嗎？")]),t._v(" "),e("i",{staticClass:"btn-close pointer",on:{click:function(t){return t.preventDefault(),o.apply(null,arguments)}}})]}},{key:"default",fn:function(n){return Object(o.a)(n),[e("div",{staticClass:"alertDialog__content"},[t.customMsg?e("p",[t._v(t._s(t.message))]):e("p",[t._v(t._s(t.message)+"需要登入才能使用喔～")]),t._v(" "),e("div",{staticClass:"btnGroup"},[e("button",{staticClass:"btn btn-outline-primary",on:{click:function(e){return e.preventDefault(),t.onCancelClick.apply(null,arguments)}}},[t._v("\n                    取消\n                ")]),t._v(" "),e("button",{staticClass:"btn btn-secondary",on:{click:function(e){return e.preventDefault(),t.Login.apply(null,arguments)}}},[t._v("確定")])])])]}}])})}),[],!1,null,null,null);e.a=component.exports},function(t,e,n){"use strict";n(21),n(14),n(13),n(11),n(8),n(15),n(10),n(16);var o=n(23),r=n(33),c=n(3),l=n(36);function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){Object(c.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var m={computed:f(f({},Object(l.e)(["h1","h2","h3"])),{},{h2Data:function(){if(this.h2){if("string"==typeof this.h2)return[this.h2];if("object"===Object(r.a)(this.h2)&&Array.isArray(this.h2))return Object(o.a)(this.h2)}return[]},h3Data:function(){if(this.h3){if("string"==typeof this.h3)return[this.h3];if("object"===Object(r.a)(this.h3)&&Array.isArray(this.h3))return Object(o.a)(this.h3)}return[]}})},A=(n(570),n(38)),component=Object(A.a)(m,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"h1nh2"},[t.h1?e("h1",[t._v(t._s(t.h1))]):t._e(),t._v(" "),t._l(t.h2Data,(function(h2,n){return e("h2",{key:"".concat(h2,"-h2-").concat(n)},[t._v(t._s(h2))])})),t._v(" "),t._l(t.h3Data,(function(h3,n){return e("h3",{key:"".concat(h3,"-h3-").concat(n)},[t._v(t._s(h3))])}))],2)}),[],!1,null,null,null);e.a=component.exports},function(t,e,n){"use strict";n(562)},function(t,e,n){t.exports=n.p+"img/nabi-saved.d009348.png"},function(t,e,n){"use strict";n(8);var o=n(39)("src/client/components/modals/Alert/ConfirmAlert.vue").debug,r={props:{id:{type:String,default:"ConfirmAlertModal"},isShow:{type:Boolean,default:!1},title:{type:String,required:!0},msg:{type:String,required:!1,default:void 0},confirm:{type:String,required:!1,default:"確認"},abort:{type:String,required:!1,default:"取消"}},data:function(){return{showModal:!1}},watch:{isShow:function(t){o(t,this.showModal),!this.showModal&&t&&(this.showModal=!0),o(this.showModal)}},methods:{openModal:function(){this.value=!1;var t=this;return this.$refs.modal&&this.$refs.modal.show(),new Promise((function(e){t.resovle=e}))},hideModal:function(){this.$refs.modal&&this.$refs.modal.hide()},onHidden:function(t){this.resovle&&(this.resovle(this.value),this.resovle=void 0)},onClose:function(){this.showModal=!1,this.$emit("click-close"),o("close")},onConfirm:function(){this.showModal=!1,this.$emit("click-confirm",{action:"toLogin"}),o("close")}}},c=n(38),component=Object(c.a)(r,(function(){var t=this,e=t._self._c;return e("b-modal",{attrs:{id:t.id,centered:"",scrollable:"","hide-footer":"","dialog-class":"modal-480","body-class":"t4 line-h-143"},on:{hidden:t.onClose,close:t.onClose},scopedSlots:t._u([{key:"modal-header",fn:function(){return[e("h4",{staticClass:"modal-title text-center h2"},[t._v(t._s(t.title))]),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button"},on:{click:t.onClose}})]},proxy:!0},{key:"default",fn:function(){return[t.msg?t._e():t._t("default"),t._v(" "),e("h4",[t._v(t._s(t.msg))]),t._v(" "),e("div",{staticClass:"text-center my-8"},[e("button",{staticClass:"btn btn-sm btn-outline-primary h4 mr-5",attrs:{type:"button"},on:{click:t.onClose}},[t._v("\n                "+t._s(t.abort)+"\n            ")]),t._v(" "),e("button",{staticClass:"btn btn-sm btn-secondary h4",attrs:{type:"button"},on:{click:t.onConfirm}},[t._v("\n                "+t._s(t.confirm)+"\n            ")])])]},proxy:!0}],null,!0),model:{value:t.showModal,callback:function(e){t.showModal=e},expression:"showModal"}})}),[],!1,null,null,null);e.a=component.exports},function(t,e,n){"use strict";n(8);var o={data:function(){return{resovle:void 0,value:!1}},methods:{openModal:function(){this.value=!1;var t=this;return this.$refs.modal&&this.$refs.modal.show(),new Promise((function(e){t.resovle=e}))},hideModal:function(){this.$refs.modal&&this.$refs.modal.hide()},onHidden:function(t){this.resovle&&(this.resovle(this.value),this.resovle=void 0)}}},r=n(38),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"",scrollable:"","hide-footer":"","dialog-class":"modal-480","body-class":"t4 line-h-143"},on:{hidden:t.onHidden},scopedSlots:t._u([{key:"modal-header",fn:function(n){var o=n.close;return[e("div",{staticClass:"h3"}),t._v(" "),e("h4",{staticClass:"modal-title text-center h2"},[t._v("收藏成功")]),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button"},on:{click:o}})]}},{key:"default",fn:function(){return[e("div",{staticClass:"text-center mb-6"},[t._v("影片已收藏到「我的學習」")]),t._v(" "),e("img",{staticClass:"mx-auto img-fluid",attrs:{src:n(571),width:"480"}}),t._v(" "),e("div",{staticClass:"text-center my-8"},[e("router-link",{staticClass:"btn btn-sm btn-secondary h4",attrs:{to:"/mynabi/saving"}},[t._v("前往查看")])],1)]},proxy:!0}])})}),[],!1,null,null,null);e.a=component.exports},,function(t,e,n){t.exports={}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var o={PROFILE:"profile"};e.b={data:function(){return{shareOption:["ContentPost","Content3rd","ContentCMS","ContentCMSDetail","ContentResourceVideo"],clapOption:["ContentPost","ContentCMS","ContentCMSDetail"],commentArea:["ContentPost","ContentCMS","ContentCMSDetail"],commentOption:["ContentPost","ContentCMS","ContentCMSDetail","ContentClinicForProfile"],favorOption:["ContentPost","Content3rd","ContentCMS","ContentCMSDetail","ContentResourceVideo","ContentResourceArticle"],clapCountOption:["ContentPost","ContentCMS","ContentCMSDetail","ContentClinic","ContentClinicForProfile"],viewCountOption:["ContentPost","Content3rd","ContentResourceVideo","ContentResourceArticle","ContentCMS","ContentCMSDetail","ContentClinic","ContentClinicForProfile"],commentCountOption:["ContentPost","ContentCMS","ContentCMSDetail","ContentClinic","ContentClinicForProfile"],favorCountOption:["ContentPost","Content3rd","ContentCMS","ContentCMSDetail","ContentClinic","ContentClinicForProfile","ContentResourceVideo","ContentResourceArticle"],chanelViewLogOption:["ContentPost","ContentCMS","ContentCMSDetail","ContentClinic","ContentClinicForProfile"],chanelViewVisitOption:["Content3rd","ContentResourceVideo","ContentResourceArticle"],viewLogOption:["ContentPost","ContentCMS","ContentCMSDetail","ContentClinic","ContentClinicForProfile"],myBlockStyleOption:["ContentPost","Content3rd","ContentCMS","ContentCMSDetail","ContentClinic","ContentClinicForProfile","ContentResourceVideo","ContentResourceArticle","ContentFeedback"],greyBackgroundColorOption:[]}},computed:{activityType:function(){var t=this.data&&this.data.type?this.data.type:"",e=this.data.resourceType;return"nabi_resource"===t&&"2"===e?"Content3rd":"nabi_post"===t?"ContentPost":"nabi_resource"===t&&"1"===e?"ContentResourceVideo":"nabi_resource"===t&&"3"===e?"ContentResourceArticle":"giver_question"===t&&this.viewType===o.PROFILE?"ContentClinicForProfile":"giver_question"===t?"ContentClinic":"cms_article"!==t||this.isSinglePage?"cms_article"===t&&this.isSinglePage?"ContentCMSDetail":"certRelative"===t?"ContentCertRelative":"jobRelative"===t?"ContentJobRelative":"nabi_resource_feedback"===t?"ContentFeedback":"nabi_exam"===t?"ContentExam":"nabi_interest_skill"===t?"ContentInterestSkill":"nabi_challenge"===t?"ContentChallenge":"nabi_intro"===t?"ContentIntro":"nabi_soft"===t?"ContentSoft":"nabi_Content3rdGroup"===t?"Content3rdGroup":"":"ContentCMS"}}}},function(t,e,n){t.exports=n.p+"img/achievementBronze.736c736.png"},function(t,e,n){t.exports=n.p+"img/achievementSilver.8009713.png"},function(t,e,n){t.exports=n.p+"img/achievementGold.b41b9c1.png"},function(t,e,n){t.exports=n.p+"img/empty-3.b98a612.png"},,function(t,e,n){t.exports={}},function(t,e,n){t.exports=n.p+"img/nabi-post-success.7f47a44.png"},function(t,e,n){t.exports=n.p+"img/img-GiverDefaultAvatar.561558b.png"},function(t,e,n){t.exports=n.p+"10a867f35e9ba89db4e88435448088e8.svg"},function(t,e,n){t.exports=n.p+"e0b1dcaab5303350ccb3e8a1537be075.svg"},function(t,e,n){t.exports=n.p+"2df42929a0f0e197b15d84b7acf7cf18.svg"},function(t,e,n){t.exports=n.p+"490cbcab3e4b42e8acc9692f637af948.svg"},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){"use strict";n(14),n(13),n(11),n(8),n(15),n(10),n(16);var o=n(4),r=n(3),c=(n(27),n(65),n(110),n(36)),l=n(39)("src/client/components/modals/testing/HardSkillTest.vue").debug,d={props:{isShow:{type:Boolean,default:!1},capability:{type:String,default:""},capabilityId:{type:String,default:""},nextModal:{type:String,default:""}},data:function(){return{showModal:!1}},watch:{isShow:function(t){this.showModal=t}},methods:{onClose:function(){l("close",this.isShow,this.showModal),this.isShow&&this.$emit("finish",{action:"close"})},toStart:function(){l("click to start"),this.$emit("finish",{action:"toTest"})}}},f=n(38),m=Object(f.a)(d,(function(){var t=this,e=t._self._c;return e("b-modal",{attrs:{"dialog-class":"modal-dialog-centered modal-720","content-class":"bg-modal","body-class":"t4 line-h-143 d-flex align-items-center justify-content-center","footer-class":"justify-content-center"},on:{hidden:t.onClose},scopedSlots:t._u([{key:"modal-header",fn:function(){return[e("div",{staticClass:"h3"}),t._v(" "),e("h4",{staticClass:"modal-title text-center h2"},[t._v("技能力挑戰")]),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button","data-dismiss":"modal"},on:{click:t.onClose}})]},proxy:!0},{key:"modal-footer",fn:function(){return[e("button",{staticClass:"btn btn-lg btn-secondary h4 px-6 btn-block mb-md-4",style:{width:"auto"},attrs:{type:"button","data-dismiss":"modal","data-gtm-lightbox":"測驗_準備好了"},domProps:{textContent:t._s("接受挑戰")},on:{click:t.toStart}})]},proxy:!0}]),model:{value:t.showModal,callback:function(e){t.showModal=e},expression:"showModal"}},[t._v(" "),e("div",{staticClass:"flex-fill"},[e("img",{staticClass:"mx-auto d-block mt-1 mb-5",attrs:{src:"/img/nabi-skill-01.png",alt:"",width:"248"}}),t._v(" "),e("div",{staticClass:"p32 font-weight-bold text-center",domProps:{textContent:t._s(t.capability)}}),t._v(" "),e("div",{staticClass:"text-center t4 line-h-143 mt-2"},[t._v("\n            接下來會有些題目，依序回答就可以知道你的能力程度充分發揮你的實力吧！\n        ")])])])}),[],!1,null,null,null).exports;n(21);function A(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function h(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?A(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var v=function(){return{rating:"0",selectedAnswerIndex:-1,showModal:!1}},y={props:{isShow:{type:Boolean,default:!1},capability:{type:String,default:""},capabilityId:{type:String,default:""},currentPage:{type:Number,default:0},totalPages:{type:Number,default:0},exam:{type:Object,default:function(){return{testId:"",isRating:"0",level:"1",question:"",options:[{option:"",isCorrect:"false"}]}}}},data:v,computed:h(h({},Object(c.e)("competitiveness",["currentType"])),{},{RATING_LEVELS:function(){return[{label:"太簡單",rating:"1"},{label:"符合程度",rating:"3"},{label:"太困難",rating:"2"}]},hasClickedAnswer:function(){return this.selectedAnswerIndex>=0}}),watch:{isShow:function(t){this.showModal=t}},methods:{resetDataAfterFinished:function(){Object.assign(this,{rating:"0",selectedAnswerIndex:-1,showModal:!1})},jumpToTheModal:function(t){this.$emit("input",t)},selectThisAnswer:function(t){this.selectedAnswerIndex=t},getAnswerClass:function(t){return["btn","btn-outline-light","btn-xl","btn-block","text-left","text-7e","p16","line-h-175",this.selectedAnswerIndex===t?"selected":""]},resetData:function(){Object.assign(this,{rating:"0",selectedAnswerIndex:-1,showModal:!1})},submitYourAnswer:function(){var t=this.exam,e={testId:t.testId,isCorrect:"true"===t.options[this.selectedAnswerIndex].isCorrect?"1":"0",rating:this.rating};this.$emit("finish",{action:"answer",result:e}),this.resetData()},onClose:function(){this.isShow&&this.$emit("finish",{action:"close"})}}},C=Object(f.a)(y,(function(){var t=this,e=t._self._c;return e("b-modal",{attrs:{"body-class":"modal-body t4 line-h-143","dialog-class":["modal-dialog","modal-dialog-scrollable","modal-dialog-centered","modal-720"],"content-class":"bg-modal","header-class":"pb-2","footer-class":"justify-content-center"},on:{hidden:t.onClose},scopedSlots:t._u([{key:"modal-header",fn:function(){return[e("div",{staticClass:"h3"}),t._v(" "),e("h4",{staticClass:"modal-title text-center h2",domProps:{textContent:t._s("".concat(t.capability," 技能力挑戰"))}}),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button","data-dismiss":"modal"},on:{click:t.onClose}})]},proxy:!0},{key:"modal-footer",fn:function(){return[e("button",{staticClass:"btn btn-lg btn-secondary h4 px-6 btn-block",style:{width:"auto"},attrs:{type:"button","data-dismiss":"modal",disabled:!t.hasClickedAnswer,"data-gtm-lightbox":"測驗_確認送出"},on:{click:t.submitYourAnswer}},[t._v("\n            確認送出\n        ")])]},proxy:!0}]),model:{value:t.showModal,callback:function(e){t.showModal=e},expression:"showModal"}},[t._v(" "),e("div",{staticClass:"text-center t4 text-7e mb-6",domProps:{textContent:t._s("挑戰題目：".concat(t.currentPage,"/").concat(t.totalPages))}}),t._v(" "),e("div",{staticClass:"modal-ans"},[e("div",{staticClass:"font-weight-bold h3 line-h-175 mb-4",staticStyle:{"white-space":"pre-wrap"},domProps:{textContent:t._s(t.exam.question)}}),t._v(" "),t._l(t.exam.options,(function(n,o){return e("button",{key:"question-".concat(o),class:t.getAnswerClass(o),domProps:{textContent:t._s("".concat(o+1,". ").concat(n.option))},on:{click:function(e){return t.selectThisAnswer(o)}}})})),t._v(" "),t.hasClickedAnswer?e("div",{staticClass:"modal-quest"},[e("img",{staticClass:"nabi-quest",attrs:{src:"/img/nabi-quest.png",alt:"",width:"102"}}),t._v(" "),e("div",{staticClass:"text-7e t4 line-h-143"},[t._v("幫助學習精靈變更好")]),t._v(" "),e("div",{staticClass:"text-29 h4 line-h-143 mb-3 mt-1"},[t._v("\n                此題目的難易度，符合您目前的技能程度嗎?\n            ")]),t._v(" "),e("form",t._l(t.RATING_LEVELS,(function(n,o){return e("div",{key:"$feedback-".concat(o),staticClass:"custom-control custom-radio custom-control-inline"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.rating,expression:"rating"}],staticClass:"custom-control-input",attrs:{id:"Radio".concat(o),type:"radio",name:"example","data-gtm-lightbox":"點測驗品質"},domProps:{value:n.rating,checked:t._q(t.rating,n.rating)},on:{change:function(e){t.rating=n.rating}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"Radio".concat(o)},domProps:{textContent:t._s(n.label)}})])})),0)]):t._e()],2)])}),[],!1,null,null,null).exports,w={props:{isShow:{type:Boolean,default:!1},isFinished:{type:Boolean,default:!1}},data:function(){return{showModal:!1}},computed:{subtitle:function(){return this.isFinished?"恭喜闖關成功，快來看看挑戰結果~":"真是有備而來！打鐵趁熱挑戰下一關吧"},buttonText:function(){return this.isFinished?"查看挑戰結果":"下一關"},gtmAttrValue:function(){return this.isFinished?"測驗_查看結果_答對":"測驗_下一關"}},watch:{isShow:function(t){this.showModal=t}},methods:{toClose:function(){this.$emit("finish",{action:"close"})},toNext:function(){this.isFinished?this.$emit("finish",{action:"finish"}):this.$emit("finish",{action:"toTest"})},onClose:function(){this.isShow&&this.$emit("finish",{action:"close"})}}},x=Object(f.a)(w,(function(){var t=this,e=t._self._c;return e("b-modal",{attrs:{"dialog-class":"modal-dialog-centered modal-720","content-class":"bg-bingo","body-class":"d-flex flex-column align-items-center justify-content-center","header-class":"pb-0","footer-class":"justify-content-center"},on:{hidden:t.onClose},scopedSlots:t._u([{key:"modal-header",fn:function(){return[e("div",{staticClass:"h3"}),t._v(" "),e("h4",{staticClass:"modal-title text-center h2"},[t._v("好極了，答對了！")]),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button","data-dismiss":"modal"},on:{click:t.toClose}})]},proxy:!0},{key:"modal-footer",fn:function(){return[e("button",{staticClass:"btn btn-lg btn-secondary h4 px-6 btn-block mb-md-4",style:{width:"auto"},attrs:{type:"button","data-dismiss":"modal","data-gtm-lightbox":t.gtmAttrValue},domProps:{textContent:t._s(t.buttonText)},on:{click:t.toNext}})]},proxy:!0}]),model:{value:t.showModal,callback:function(e){t.showModal=e},expression:"showModal"}},[t._v(" "),e("div",{staticClass:"flex-fill t4 line-h-143 text-center mt-2 mb-auto",domProps:{textContent:t._s(t.subtitle)}}),t._v(" "),e("div",{staticClass:"flex-fill"},[e("img",{staticClass:"mx-auto d-block mt-8 mb-6",attrs:{src:"/img/nabi-bingo.png",alt:"",width:"372"}})])])}),[],!1,null,null,null).exports,k={props:{isShow:{type:Boolean,default:!1},nextModal:{type:String,default:""}},data:function(){return{showModal:!1}},watch:{isShow:function(t){this.showModal=t}},methods:{toResult:function(){this.$emit("finish",{action:"finish"})},onClose:function(){this.isShow&&this.$emit("finish",{action:"close"})}}},_=Object(f.a)(k,(function(){var t=this,e=t._self._c;return e("b-modal",{attrs:{"dialog-class":"modal-dialog-centered modal-720","body-class":"d-flex flex-column align-items-center justify-content-center","header-class":"pb-0","footer-class":"justify-content-center"},on:{hidden:t.onClose},scopedSlots:t._u([{key:"modal-header",fn:function(){return[e("div",{staticClass:"h3"}),t._v(" "),e("h4",{staticClass:"modal-title text-center h2"},[t._v("可惜～答錯了...")]),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button","data-dismiss":"modal","data-gtm-lightbox":"測驗_查看結果_答錯"},on:{click:t.onClose}})]},proxy:!0},{key:"modal-footer",fn:function(){return[e("button",{staticClass:"btn btn-lg btn-secondary h4 px-6 btn-block mb-md-4",style:{width:"208px"},attrs:{type:"button","data-dismiss":"modal"},on:{click:t.toResult}},[t._v("\n            查看挑戰結果\n        ")])]},proxy:!0}]),model:{value:t.showModal,callback:function(e){t.showModal=e},expression:"showModal"}},[t._v(" "),e("div",{staticClass:"flex-fill t4 line-h-143 text-center mt-2"},[t._v("\n        或許是準備不夠充足，請休息一下再戰！\n    ")]),t._v(" "),e("div",{staticClass:"flex-fill"},[e("img",{staticClass:"mx-auto d-block mt-8 mb-6 img-fluid",attrs:{src:"/img/nabi-wrong.png",alt:"",width:"408"}})])])}),[],!1,null,null,null).exports,O=(n(35),n(37),n(69),n(50),n(26),n(68),n(71),n(51),n(23)),I=(n(30),n(34),n(611)),B=n(624),S=n(573),j=n(592),D={props:{data:{type:Object,default:function(){return{}}}},data:function(){return{isLoading:!1}},methods:{clickFavorite:function(){var t=this,e=this.data||{},n=e.resourceId,o=e.interactive,r=(void 0===o?{}:o).isFavorite,c="true"===(void 0===r?"false":r)?0:1;this.isLoading=!0,new Promise((function(e){return t.$emit("click-favorite",{resourceId:n,favoriteState:c},e)})).then((function(){t.isLoading=!1}))},handleImgError:function(){return'this.src="'.concat(n(377),'"')}}},R=(n(622),Object(f.a)(D,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"learnCard",on:{click:function(e){return t.$emit("cardClick")}}},[e("div",{staticClass:"img"},[e("img",{attrs:{src:t.data.images,alt:"",onerror:t.handleImgError()}}),t._v(" "),e("span",{staticClass:"time"},[t._v(t._s(t.data.videoLength))]),t._v(" "),e("div",{staticClass:"favorite",class:{active:"true"===t.data.interactive.isFavorite,"pointer-event-stop":t.isLoading},on:{click:function(e){return e.stopPropagation(),t.clickFavorite.apply(null,arguments)}}})]),t._v(" "),e("div",{staticClass:"content"},[e("div",{staticClass:"title"},[t._v(t._s(t.data.title))]),t._v(" "),e("div",{staticClass:"statistic"},[e("span",{staticClass:"view"},[t._v(t._s(t.data.visits))]),t._v(" "),e("span",{staticClass:"favorite"},[t._v(t._s(t.data.interactive.favoriteCount))])])])])}),[],!1,null,"6d331e76",null)),M=R.exports,U=n(255),T=n(564);function E(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return L(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,r=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw r}}}}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function P(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function F(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?P(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var N=n(39)("src/client/components/modals/testing/AnswerResult.vue"),Q=N.debug,H=N.error,G={components:{VideoViewModal:B.a,FavoriteVideoModal:S.a,CourseCard:j.a,LearnCard:M,Button:U.default,ChannelViewLogger:T.default},props:{isShow:{type:Boolean,default:!1},capability:{type:String,default:""},capabilityId:{type:String,default:""},yourLevelType:{type:String,default:"0"},openNewWindon:{type:Boolean,default:!1}},data:function(){return{showModal:!1,videoList:[],courseList:[],isShowView:!1,isShowLogin:!1,videoView:{id:"",resourceId:"",images:"",videoLength:"",watchedTime:"",title:"",v7:"",viewCount:"",postTime:"",interactive:{isFavorite:"false"},tags:[],maxWatchedTime:""}}},computed:F(F({},Object(c.e)("learning",["recommendVideos","recommendCourse3rdVideos"])),{},{yourLevelText:function(){return I.a.get(Number(this.yourLevelType))},levelbackgroundStyle:function(){var t="low";switch(this.yourLevelType){case"2":t="mid";break;case"3":t="high"}return{backgroundImage:'url("/img/bg-level-'.concat(t,'.jpg")')}},bannerClass:function(){return["container-fluid","ans-180","low"]}}),watch:{isShow:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e.showModal=t,t){n.next=3;break}return n.abrupt("return");case 3:return n.next=5,e.updateRecommendVideos();case 5:case"end":return n.stop()}}),n)})))()}},methods:F(F(F(F(F({},Object(c.d)(["setRunLogin"])),Object(c.b)("learning",["fetchRecommendVideos"])),Object(c.b)("user",["updateFavorite"])),Object(c.d)("learning",["updateVideoProgress"])),{},{updateRecommendVideos:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={capabilityId:t.capabilityId,type:"1",level:"0"===t.level?"1":t.level,requestLength:"6"},e.prev=1,e.next=4,t.fetchRecommendVideos(n);case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(1),H("component error",e.t0);case 9:t.courseList=JSON.parse(JSON.stringify(t.recommendCourse3rdVideos)).slice(0,3).map((function(t){return F(F({},t),{},{resource_id:t.resourceId,images_small:t.imagesSmall,intro_url:t.introUrl,course_type:t.type,course_length:t.courseLength,view_count:t.visits,favorite_count:t.interactive.favoriteCount,is_favorite:"true"===t.interactive.isFavorite})})),t.courseList&&t.courseList.length>0?t.videoList=JSON.parse(JSON.stringify(t.recommendVideos)).slice(0,3):t.videoList=JSON.parse(JSON.stringify(t.recommendVideos));case 11:case"end":return e.stop()}}),e,null,[[1,6]])})))()},clickFavorite:function(t,e){var n=this;return Object(o.a)(regeneratorRuntime.mark((function o(){var r,c,l,d;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return r=t.resourceId,c=t.favoriteState,"1"===String(c)&&n.$elog({track:["saveVideo"],ext:{videoId:r}}),o.next=4,n.updateFavorite({resourceId:r,favoriteState:c,capabilityId:n.capabilityId});case 4:return l=o.sent,Q("List:click favorite!!!!!!!!",r,c),o.next=8,n.triggerFavoriteVideoMsg(l.isFirst,c);case 8:d=n.videoList.findIndex((function(t){return t.resourceId?t.resourceId===r:t.uid===r})),d>=0&&(n.videoList[d].interactive.isFavorite=1===c?"true":"false",n.videoList=Object(O.a)(n.videoList)),d=void 0,d=n.courseList.findIndex((function(t){return t.resource_id?t.resource_id===r:t.uid===r})),d>=0&&(n.courseList[d].is_favorite=1===c,n.courseList=Object(O.a)(n.courseList)),e();case 14:case"end":return o.stop()}}),o)})))()},toFinish:function(){this.$emit("finish",{action:"close"})},onClose:function(){this.isShow&&this.$emit("finish",{action:"close"})},addAllFavorite:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o,r,c,l,d,f,m,A,h,v,y,C;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=!1,o=E(t.videoList),e.prev=2,o.s();case 4:if((r=o.n()).done){e.next=16;break}if(c=r.value,l=c.resourceId,d=c.uid,"false"!==c.interactive.isFavorite){e.next=14;break}return f="",f=l||d,t.$elog({track:["saveVideo"],ext:{videoId:f}}),e.next=12,t.updateFavorite({resourceId:f,favoriteState:1,capabilityId:t.capabilityId});case 12:e.sent.isFirst&&(n=!0);case 14:e.next=4;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(2),o.e(e.t0);case 21:return e.prev=21,o.f(),e.finish(21);case 24:m=E(t.courseList),e.prev=25,m.s();case 27:if((A=m.n()).done){e.next=39;break}if(h=A.value,v=h.resourceId,y=h.uid,"false"!==h.interactive.isFavorite){e.next=37;break}return C="",C=v||y,t.$elog({track:["saveVideo"],ext:{videoId:C}}),e.next=35,t.updateFavorite({resourceId:C,favoriteState:1,capabilityId:t.capabilityId});case 35:e.sent.isFirst&&(n=!0);case 37:e.next=27;break;case 39:e.next=44;break;case 41:e.prev=41,e.t1=e.catch(25),m.e(e.t1);case 44:return e.prev=44,m.f(),e.finish(44);case 47:if(!n){e.next=52;break}return e.next=50,t.triggerFavoriteVideoMsg(!0,"1");case 50:e.next=54;break;case 52:t.$toast.show('已收藏至<a href="/mynabi/saving" class="text-white" style="text-decoration: underline">我的收藏</a>！'),t.toFinish();case 54:case"end":return e.stop()}}),e,null,[[2,18,21,24],[25,41,44,47]])})))()},triggerFavoriteVideoMsg:function(t,e){var n=this;return Object(o.a)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(!t){o.next=7;break}return n.isShowView=!1,n.showModal=!1,n.toFinish(),o.next=6,n.$refs.favorite.openModal();case 6:return o.abrupt("return");case 7:"1"===e||1===e?n.$toast.show('已收藏至<a href="/mynabi/saving" class="text-white" style="text-decoration: underline">我的收藏</a>！'):n.$toast.show("已移除收藏囉！");case 8:case"end":return o.stop()}}),o)})))()},clickToOpenVideo:function(data){var t=data.resourceId||data.uid;this.openNewWindon?window.open("".concat("https://nabi.104.com.tw","/film/").concat(t,"?from=answerResult&skill=").concat(this.capabilityId),"_blank"):this.$router.push("/film/".concat(t))},updateVideoView:function(t){var e=t.resourceId,n=t.favoriteState,o=this.videoList.findIndex((function(t){return t.resourceId?t.resourceId===e:t.uid===e}));o>=0&&(this.videoList[o].interactive.isFavorite=1===n?"true":"false",this.videoList=Object(O.a)(this.videoList))},closeVideoView:function(data){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Q(data,t.isShowView),!t.isShowView){e.next=7;break}return n=data.resourceId,o=data.watchedTime,e.next=5,t.updateVideoProgress({resourceId:n,watchedTime:o});case 5:return e.next=7,t.updateRecommendVideos();case 7:t.clickCloseModal();case 8:case"end":return e.stop()}}),e)})))()},clickConfirmModal:function(data){Q("comfirm login"),"toLogin"===data.action&&this.setRunLogin(!0),this.clickCloseModal()},clickCloseModal:function(){Q("close login"),this.isShowLogin=!1,this.isShowView=!1},getDataInfo:function(t){var e={};return this.$isDefined(t,"conditions.nabi_room_ids")&&(e.room_ids=t.conditions.nabi_room_ids),this.$isDefined(t,"tags")&&(e.tags=t.tags),Object.keys(e).length>0?e:void 0}})},V=(n(623),Object(f.a)(G,(function(){var t=this,e=t._self._c;return e("fragment",[e("b-modal",{attrs:{"dialog-class":"modal-dialog-scrollable modal-dialog-centered modal-720","body-class":"t4","header-class":"pb-0"},on:{hidden:t.onClose},scopedSlots:t._u([{key:"modal-header",fn:function(){return[e("div",{staticClass:"h3"}),t._v(" "),e("h4",{staticClass:"modal-title text-center h2"},[t._v(t._s(t.capability)+" 技能力挑戰")]),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button","data-dismiss":"modal"},on:{click:t.onClose}})]},proxy:!0},{key:"modal-footer",fn:function(){return[e("div",{staticClass:"container-fluid m-0"},[e("div",{staticClass:"row justify-content-center buttons"},[e("Button",{staticClass:"bkTransparent_fontOrange"},[e("button",{staticClass:"font-weight-bold",attrs:{type:"button","data-dismiss":"modal"},on:{click:t.toFinish}},[t._v("\n                            我知道了\n                        ")])]),t._v(" "),e("Button",{staticClass:"bkOrange_fontWhite"},[e("button",{staticClass:"font-weight-bold",attrs:{type:"button","data-dismiss":"modal","data-gtm-lightbox":"點全部收藏"},on:{click:function(e){return t.addAllFavorite()}}},[t._v("\n                            收藏所有資源\n                        ")])])],1)])]},proxy:!0}]),model:{value:t.showModal,callback:function(e){t.showModal=e},expression:"showModal"}},[t._v(" "),e("div",{staticClass:"container-fluid h120",style:t.levelbackgroundStyle},[e("div",{staticClass:"row d-flex justify-content-center align-items-center h-100"},[e("div",{staticClass:"text-center"},[e("div",{staticClass:"text-level p36 font-weight-bold text-white",domProps:{textContent:t._s(t.yourLevelText)}}),t._v(" "),e("div",{staticClass:"t3 text-white mt-4"},[t._v("根據你的挑戰結果，建議繼續加強能力~")])])])]),t._v(" "),t.courseList&&t.courseList.length>0?e("div",{staticClass:"h3 text-29 mt-6 mb-4 text-center"},[t._v("\n            想加強能力？推薦適合你的自學資源👇\n        ")]):t._e(),t._v(" "),t.courseList&&t.courseList.length>0?e("div",{staticClass:"modal-box"},[e("div",{staticClass:"gridBox"},t._l(t.courseList,(function(video,n){return e("ChannelViewLogger",{key:video.resourceId?video.resourceId:video.uid,staticClass:"cardBlock",attrs:{"enable-visit":!0,"resource-id":video.resourceId||video.uid,"channel-info":{skill:t.capabilityId},"channel-type-option":"answerResult","data-info":t.getDataInfo(video),index:n}},[e("CourseCard",{staticClass:"cardBlock",attrs:{"data-gtm-adcourse":"測驗後_".concat(video.providerDef&&video.providerDef.provider?video.providerDef.provider:"","_").concat(video.title),data:video},on:{cardClick:function(e){return t.clickToOpenVideo(video)},"click-favorite":t.clickFavorite}})],1)})),1)]):t._e(),t._v(" "),e("div",{staticClass:"h3 text-29 mt-6 mb-4 text-center"},[t._v("其他免費學習資源👍")]),t._v(" "),e("div",{staticClass:"modal-box"},[e("div",{staticClass:"gridBox"},t._l(t.videoList,(function(video,n){return e("ChannelViewLogger",{key:video.resourceId?video.resourceId:video.uid,attrs:{"enable-visit":!0,"resource-id":video.resourceId||video.uid,"channel-info":{skill:t.capabilityId},"channel-type-option":"answerResult","data-info":t.getDataInfo(video),index:n}},[e("LearnCard",{attrs:{"data-gtm-lightbox":"點擊影片-測驗後",data:video},on:{cardClick:function(e){return t.clickToOpenVideo(video)},"click-favorite":t.clickFavorite}})],1)})),1)])]),t._v(" "),e("VideoViewModal",t._b({attrs:{"is-show":t.isShowView},on:{"click-close":t.closeVideoView,"click-comfirm":t.closeVideoView,"click-favorite-update":t.updateVideoView}},"VideoViewModal",t.videoView,!1)),t._v(" "),e("FavoriteVideoModal",{ref:"favorite"})],1)}),[],!1,null,"ed82d79e",null).exports);function J(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function K(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?J(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Y=n(39)("src/client/components/ModalFlows/TestingFlows.vue"),z=Y.debug,X=Y.error,W={components:{HardSkillTestModal:m,TestPaperModal:C,CorrectAnswerModal:x,WrongAnswerModal:_,AnswerResultModal:V},data:function(){return{isShowHardSkillTest:!1,isShowTestPaper:!1,isShowCorrectAnswer:!1,isShowWrongAnswer:!1,isShowAnswerResult:!1,capabilityId:"",capability:"",testingData:{},exam:{}}},computed:K(K({},Object(c.e)("test",["testEvent"])),{},{isOpenModal:function(){return!(this.isShowHardSkillTest||this.isShowTestPaper||this.isShowCorrectAnswer||this.isShowWrongAnswer||this.isShowAnswerResult)},isFinishedExam:function(){var t=-1;return this.testingData&&this.testingData.record&&("-1"===this.testingData.record.nextLevel?t=1:Number(this.testingData.record.nextLevel)>0&&(t=0)),t},yourLevelType:function(){var t="-1";return this.testingData&&this.testingData.record&&(t=this.testingData.record.testLevel),t},examSize:function(){var t=0;return this.testingData&&this.testingData.exams&&this.testingData.exams.length>0&&(t=this.testingData.exams.length),t},currentPage:function(){var t=0;return this.exam&&this.exam.level&&(t=Number(this.exam.level)),t}}),watch:{testEvent:function(t){t&&"test"===t.action&&t.capabilityId&&t.capabilityId&&(this.capabilityId=t.capabilityId,z("new test event:",t),t.record&&t.exams?(t.data.capability&&(this.capability=t.data.capability),this.testingData=t.data):this.getTestingData(!0),this.setTestEvent({}))}},methods:K(K(K({},Object(c.d)("test",["setTestEvent","setTestUpdate"])),Object(c.b)("test",["saveTestRecordV2","getTest"])),{},{checkYourAnswerResult:function(t){var e=this.exams[this.examIndex];switch(t){case CORRECT_ANSWER_MODAL:this.yourLevelType=e.level,this.examIndex+1===this.exams.length?this.isFinishedExam=!0:this.examIndex+=1;break;case WRONG_ANSWER_MODAL:this.yourLevelType=String(Number(e.level)-1),this.isFinishedExam=!0}},resetDataAfterFinished:function(){this.disable(),Object.assign(this,getDefaultData())},startFlow:function(){this.isOpenModal&&this.closeAllModal(),this.isShowHardSkillTest=!0,z("testInfo",this.testingData)},closeAllModal:function(){this.isShowHardSkillTest=!1,this.isShowTestPaper=!1,this.isShowCorrectAnswer=!1,this.isShowWrongAnswer=!1,this.isShowAnswerResult=!1},processHandle:function(data){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(z("processEvent:",data),"answer"!==data.action){e.next=9;break}return t.closeAllModal(),e.next=5,t.toAnswer(data.result);case 5:1===(n=e.sent)?t.isShowCorrectAnswer=!0:-1===n&&(t.isShowWrongAnswer=!0),e.next=10;break;case 9:"toTest"===data.action?(t.closeAllModal(),1===(o=t.toTest())?t.isShowTestPaper=!0:2===o&&(t.isShowAnswerResult=!0),z(o)):"finish"===data.action?(t.closeAllModal(),t.isShowAnswerResult=!0):"close"===data.action&&t.closeAllModal();case 10:case"end":return e.stop()}}),e)})))()},toTest:function(){if(z("testingData:",this.testingData),this.testingData&&this.testingData.record&&this.testingData.exams){var t=this.testingData.record.nextLevel;if("-1"===t)return 2;var e=this.testingData.exams.findIndex((function(e){return e.level===t}));if(e>=0)return this.exam=this.testingData.exams[e],1}return 0},toAnswer:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){var o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e.saveTestRecordV2({testId:t.testId,isCorrect:t.isCorrect,rating:t.rating,capabilityId:e.capabilityId});case 3:return o="1"===t.isCorrect?1:-1,z("anwser result:",o),n.next=7,e.getTestingData(!1);case 7:return n.abrupt("return",o);case 10:n.prev=10,n.t0=n.catch(0),X("component error",n.t0);case 13:return n.abrupt("return",0);case 14:case"end":return n.stop()}}),n,null,[[0,10]])})))()},getTestingData:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.prev=0,e.capabilityId){n.next=4;break}return z("no capbilityId"),n.abrupt("return");case 4:return n.next=6,e.getTest({capabilityId:e.capabilityId});case 6:e.testingData=n.sent,e.testingData.capability&&(e.capability=e.testingData.capability),t?e.startFlow():(z("setTestUpdate",K({},e.testingData)),e.setTestUpdate(K({},e.testingData))),n.next=14;break;case 11:n.prev=11,n.t0=n.catch(0),X("component error",n.t0);case 14:case"end":return n.stop()}}),n,null,[[0,11]])})))()}})},Z=Object(f.a)(W,(function(){var t=this,e=t._self._c;return e("div",[e("HardSkillTestModal",{attrs:{"is-show":t.isShowHardSkillTest,capability:t.capability,"capability-id":t.capabilityId},on:{finish:t.processHandle}}),t._v(" "),e("TestPaperModal",{attrs:{"is-show":t.isShowTestPaper,capability:t.capability,"capability-id":t.capabilityId,"current-page":t.currentPage,"total-pages":t.examSize,exam:t.exam},on:{finish:t.processHandle}}),t._v(" "),e("CorrectAnswerModal",{attrs:{"is-show":t.isShowCorrectAnswer,"is-finished":1===t.isFinishedExam},on:{finish:t.processHandle}}),t._v(" "),e("WrongAnswerModal",{attrs:{"is-show":t.isShowWrongAnswer},on:{finish:t.processHandle}}),t._v(" "),e("AnswerResultModal",{attrs:{"is-show":t.isShowAnswerResult,capability:t.capability,"capability-id":t.capabilityId,"your-level-type":t.yourLevelType,"open-new-windon":!0},on:{finish:t.processHandle}})],1)}),[],!1,null,null,null);e.a=Z.exports},function(t,e,n){"use strict";n(21),n(37),n(65),n(8);var o={components:{Img:n(256).a},props:{data:{type:Object,default:function(){return{}}},showStatistic:{type:Boolean,default:function(){return!0}},showFavorite:{type:Boolean,default:function(){return!0}}},data:function(){return{isLoading:!1,observer:null,width:null}},computed:{tags:function(){var t,e,n,o,r,c,l=(null===(t=this.data)||void 0===t?void 0:t.course_type)||(null===(e=this.data)||void 0===e?void 0:e.courseType)||99,d=(null===(n=this.data)||void 0===n?void 0:n.discount_info)||(null===(o=this.data)||void 0===o?void 0:o.discountInfo)||void 0,f=(null===(r=this.data)||void 0===r||null===(r=r.provider)||void 0===r?void 0:r.discount_code)||(null===(c=this.data)||void 0===c||null===(c=c.providerDef)||void 0===c?void 0:c.discountCode),m=[];return 1===(l=parseInt(l))&&m.push({name:"線上",class:"blue"}),2===l&&m.push({name:"實體",class:"green"}),3===l&&m.push({name:"直播",class:"orange"}),4===l&&m.push({name:"混成",class:"yellow"}),(f||d)&&m.push({name:"限定優惠",class:"red"}),m},price:function(){var t=this.data.price;if(t&&null!=t&&0!==t&&!(Number(t)<=0))return Number(t).toLocaleString()},imgObject:function(){var t=this.data||{},e=t.images,n=t.images_small,o=t.imagesSmall;return{images:e,images_small:n||o}},providerPathName:function(){var t,e;return(null===(t=this.data)||void 0===t||null===(t=t.provider)||void 0===t?void 0:t.path_name)||(null===(e=this.data)||void 0===e||null===(e=e.providerDef)||void 0===e?void 0:e.pathName)||""},resourceId:function(){var t,e;return(null===(t=this.data)||void 0===t?void 0:t.resource_id)||(null===(e=this.data)||void 0===e?void 0:e.resourceId)},isFavorite:function(){var t=this.data||{},e=t.interactive,n=t.is_favorite;if(e){var o=e.isFavorite;return"true"===o}return n||!1},viewCount:function(){var t=this.data||{},e=t.view_count,n=t.viewCount;return String(e||n||0)},favoriteCount:function(){var t=this.data||{},e=t.interactive,n=t.favorite_count;if(e){var o=e.favoriteCount;return String(o)}return n?String(n):""}},methods:{clickFavorite:function(){var t=this,e=this.isFavorite?0:1;this.isLoading=!0,new Promise((function(n){return t.$emit("click-favorite",{resourceId:t.resourceId,favoriteState:e},n)})).then((function(){t.isLoading=!1}))}}},r=(n(602),n(38)),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"cardBlock",on:{click:function(e){return t.$emit("cardClick")}}},[e("div",{staticClass:"img"},[e("Img",{attrs:{"break-point":360,"img-src":t.imgObject.images,"img-small-src":"tibame"===t.providerPathName?t.imgObject.images:t.imgObject.images_small,alt:t.data.title}}),t._v(" "),t.showFavorite?e("div",{staticClass:"favorite",class:{active:t.isFavorite,"pointer-event-stop":t.isLoading},attrs:{"data-gtm-lightbox":"收藏課程"},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.clickFavorite.apply(null,arguments)}}}):t._e()],1),t._v(" "),e("div",{staticClass:"content"},[e("div",{staticClass:"tags"},t._l(t.tags,(function(n){return e("span",{key:"".concat(t.resourceId,"-").concat(n.name),class:[n.class]},[t._v(t._s(n.name))])})),0),t._v(" "),e("div",{staticClass:"title"},[t._v(t._s(t.data.title))]),t._v(" "),e("div",{staticClass:"card-footer"},[t.showStatistic?e("div",{staticClass:"statistic"},[e("span",{staticClass:"view"},[t._v(t._s(t.viewCount))]),t._v(" "),e("span",{staticClass:"favorite"},[t._v(t._s(t.favoriteCount))])]):t._e(),t._v(" "),t.price?e("div",{staticClass:"cost"},[t._v("NT$ "+t._s(t.price))]):e("div",{staticClass:"cost"},[t._v("免費")])])])])}),[],!1,null,"d0a713e4",null);e.a=component.exports},function(t,e,n){"use strict";n(8);var o={data:function(){return{resovle:void 0,value:!1}},methods:{openModal:function(){this.value=!1;var t=this;return this.$refs.modal&&this.$refs.modal.show(),new Promise((function(e){t.resovle=e}))},hideModal:function(){this.$refs.modal&&this.$refs.modal.hide()},onHidden:function(t){this.resovle&&(this.resovle(this.value),this.resovle=void 0)}}},r=n(38),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"",scrollable:"","hide-footer":"","dialog-class":"modal-480","body-class":"t4 line-h-143"},on:{hidden:t.onHidden},scopedSlots:t._u([{key:"modal-header",fn:function(n){var o=n.close;return[e("div",{staticClass:"h3"}),t._v(" "),e("h4",{staticClass:"modal-title text-center h2"},[t._v("關注成功")]),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button"},on:{click:o}})]}},{key:"default",fn:function(){return[e("div",{staticClass:"text-center mb-6"},[e("span",{staticClass:"p16 font-weight-bold"},[t._v("關注內容將會收納到『我的教室』")]),t._v(" "),e("br"),t._v(" "),e("span",{staticClass:"p14 font-weight-normal"},[t._v("之後就可以在『我的教室』進行學習囉！")])]),t._v(" "),e("img",{staticClass:"mx-auto img-fluid",attrs:{src:n(571),width:"480"}}),t._v(" "),e("div",{staticClass:"text-center my-8",on:{click:t.hideModal}},[e("router-link",{staticClass:"btn btn-sm btn-secondary h4",attrs:{to:"/mynabi/classroom"}},[t._v("前往我的教室")])],1)]},proxy:!0}])})}),[],!1,null,null,null);e.a=component.exports},function(t,e,n){t.exports=n.p+"a0fe0a9cacb481989b2513371069ab21.svg"},,function(t,e,n){t.exports=n.p+"img/CMSHeadshot.b7192b2.png"},function(t,e,n){t.exports=n.p+"img/career-course.c273c72.png"},function(t,e,n){t.exports=n.p+"1a21807f396deb517fe620ecd2334554.svg"},function(t,e,n){"use strict";n.d(e,"i",(function(){return o})),n.d(e,"a",(function(){return r})),n.d(e,"h",(function(){return c})),n.d(e,"b",(function(){return l})),n.d(e,"f",(function(){return d})),n.d(e,"g",(function(){return f})),n.d(e,"d",(function(){return m})),n.d(e,"c",(function(){return A})),n.d(e,"e",(function(){return h}));var o="top",r="activity",c="third",l="cert",d="job",f="taiwin",m="hit",A="chef",h="interest_skill"},function(t,e,n){t.exports=n.p+"b9d6ae1f53e7320252e5d1e9eae49a13.svg"},function(t,e,n){t.exports=n.p+"img/img-ResourceDefaultAvatar.752bb64.png"},function(t,e,n){"use strict";n(575)},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAC4SURBVHgBjZE9CsJAEIXfm6yFaXMHIYW9WKcVRPA2lp4mggi22qq9hZA7bKsIJuvs+oOIwX3d7nzz94Z4yp2WGW6dAokbwCEFaPW3gqRr5oX1DAN4XA2RyPQBfYk4o24W7I93DBWdmf0EPxOYzg0aM9JnOxhaa7y+FKJpPcRId1HYZVGwVpcwT5RoBS7Zx8GuEsh1+7e6j6vfwnxiQZatCcE2lv4wfDfxfgcbvTu6dDgGDzDdzeuCdwdMPMbBA7YrAAAAAElFTkSuQmCC"},function(t,e,n){t.exports={}},,function(t,e,n){t.exports=n.p+"img/img-remove@2x.8168ff6.png"},function(t,e,n){t.exports=n.p+"b9d6ae1f53e7320252e5d1e9eae49a13.svg"},function(t,e,n){t.exports=n.p+"a0e4a0939c8dd8f1999e2bfb4e005069.svg"},function(t,e,n){t.exports=n.p+"img/noResult.bcbc542.png"},function(t,e,n){"use strict";n(582)},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var o,r=n(3),c=(o={},Object(r.a)(o,-1,"已達高級沒有下一個等級"),Object(r.a)(o,0,"未達初級"),Object(r.a)(o,1,"初級"),Object(r.a)(o,2,"中級"),Object(r.a)(o,3,"高級"),Object(r.a)(o,"get",(function(t){var text=this[t];return void 0===text?this[-1]:text})),o)},function(t,e,n){t.exports=n.p+"img/bg-default.d8695ee.jpg"},,function(t,e,n){"use strict";n(21),n(37),n(34),n(8);var o={components:{Img:n(256).a},props:{data:{type:Object,default:function(){return{}}}},data:function(){return{isLoading:!1}},computed:{date:function(){if(this.data.create_date){var t=new Date(this.data.create_date),e=(t.getMonth()>8?t.getMonth()+1:"0"+(t.getMonth()+1))+"/"+(t.getDate()>9?t.getDate():"0"+t.getDate()),n=("0"+t.getHours()).slice(-2)+":"+("0"+t.getMinutes()).slice(-2);return"".concat(e," ").concat(n)}return""},providerInfo:function(){var t=this.data,e=t.providerDef,n=void 0===e?{}:e,o=t.provider,r=void 0===o?{}:o;return{discountCode:n.discountCode||r.discount_code,hasMainPage:n.hasMainPage||r.has_main_page,providerId:n.providerId||r.provider_id,name:n.name||r.provider_name,pathName:n.pathName||r.path_name}},headshot:function(){var t="img-DefaultAvatar";return this.providerInfo.pathName&&(t="".concat(this.providerInfo.pathName,"Headshot")),"/img/headShot/".concat(t,".png")},courseContent:function(){var t=this.data,content=t.content,body=t.body;return content||body||""}},methods:{handleImgError:function(){return'this.src="'.concat(n(377),'"')},clickFavorite:function(){var t=this,e=this.data||{},n=e.resource_id,o=e.is_favorite,r=void 0!==o&&o,c=e.key,l=r?0:1;this.isLoading=!0,new Promise((function(e){return t.$emit("click-favorite",{resourceId:n||c,favoriteState:l},e)})).then((function(){t.isLoading=!1}))}}},r=(n(610),n(38)),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"content3rdCard",attrs:{"data-gtm-adcourse":"".concat(t.providerInfo.pathName,"_").concat(t.data.title)},on:{click:function(e){return t.$emit("cardClick")}}},[e("div",{staticClass:"img"},[e("Img",{attrs:{"break-point":360,"img-src":t.data.images||t.data.image,"img-small-src":t.data.images_small||t.data.imagesSmall},on:{error:t.handleImgError}}),t._v(" "),t.data.is_ad?e("span",{staticClass:"tag"},[t._v("推薦")]):t._e(),t._v(" "),e("div",{staticClass:"favorite",class:{active:t.data.is_favorite,"pointer-event-stop":t.isLoading},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.clickFavorite.apply(null,arguments)}}})],1),t._v(" "),e("div",{staticClass:"content"},[e("div",{staticClass:"title"},[t._v(t._s(t.data.title))]),t._v(" "),e("div",{staticClass:"des"},[t._v(t._s(t.courseContent))]),t._v(" "),e("div",{staticClass:"courseInfo"},[e("Img",{attrs:{"img-src":t.headshot,"onerror-img":"/img/headShot/img-DefaultAvatar.png",alt:""}}),t._v(" "),e("span",{staticClass:"name"},[t._v(t._s(t.providerInfo.name))])],1)])])}),[],!1,null,"160c495a",null);e.a=component.exports},,function(t,e,n){t.exports={}},function(t,e,n){t.exports=n.p+"img/exam-entrance-img@2x.d61fb73.png"},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,n){var o=n(972),r="object"==typeof self&&self&&self.Object===Object&&self,c=o||r||Function("return this")();t.exports=c},function(t,e,n){var o=n(619).Symbol;t.exports=o},function(t,e,n){"use strict";n(65);var o=n(258),r={props:{levelType:{type:String,default:"0"}},data:function(){return{id:o.a.v4()}},computed:{toolTips:function(){for(var t=[],e=Number(this.levelType),n=1;n<=3;n++){var title=e>=3?"高級":2===e?"中級":1===e?"初級":0===e?"未達初級":"未做測驗",o="test-level-".concat(n<=e?"green":"gray");t.push({title:title,class:o})}return t}}},c=n(38),component=Object(c.a)(r,(function(){var t=this,e=t._self._c;return e("fragment",[t._l(t.toolTips,(function(n,o){return e("a",{key:o+"_tooltip",class:n.class,attrs:{id:t.id+"_tooltip"+o,href:"#","data-toggle":"tooltip","data-original-title":n.title}})})),t._v(" "),t._l(t.toolTips,(function(n,o){return e("b-tooltip",{key:o+"_hint",attrs:{id:o+"_hint",target:t.id+"_tooltip"+o,triggers:"hover"}},[t._v("\n        "+t._s(n.title)+"\n    ")])}))],2)}),[],!1,null,null,null);e.a=component.exports},function(t,e,n){"use strict";n(589)},function(t,e,n){"use strict";n(590)},function(t,e,n){"use strict";n(65),n(198),n(61),n(37),n(14),n(13),n(11),n(8),n(15),n(10),n(16);var o=n(4),r=n(3),c=(n(27),n(74),n(21),n(54),n(36)),l=n(573);function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var m=n(39)("src/client/components/modals/VideoViewModal.vue").debug,A={components:{FavoriteVideoModal:l.a},props:{id:{type:String,default:"VideoView"},mediaId:{type:String,default:""},provider:{type:String,default:""},introUrl:{type:String,default:""},courseUrl:{type:String,default:""},isShow:{type:Boolean,default:!1},resourceId:{type:String,default:""},author:{type:String,default:""},body:{type:String,default:""},images:{type:String,default:""},videoLength:{type:String,default:""},watchedTime:{type:String,default:""},title:{type:String,default:""},v7:{type:String,default:""},viewCount:{type:String,default:""},postTime:{type:String,default:""},interactive:{type:Object,default:function(){return{favoriteCount:0,isFavorite:"false"}}},tags:{type:Array,default:function(){return[]}},uid:{type:String,default:""},jobcat:{type:String,default:""},capabilityId:{type:String,default:""},comeFrom:{type:Array,default:function(){return[]}},relativeSkill:{type:Array,default:function(){return[]}},isHiddenFavorite:{type:Boolean,default:!1},isShowFeedback:{type:Boolean,default:!1},visits:{type:String,default:"0"},providerDef:{type:Object,default:function(){}}},data:function(){return{showModal:!1,playerConfig:{autoplay:!0,start:0},viewVideoLen:0,updateTask:null,isShare:!1,link:""}},computed:f(f(f({},Object(c.c)(["isLogin"])),Object(c.e)(["isMobile"])),{},{videoWidthStyle:function(){return{width:"100%"}},isYt:function(){return this.playUrl.startsWith("https://www.youtube.com")||this.uid},playUrl:function(){return this.url||this.introUrl},courseGTM:function(){return this.provider?"前往".concat(this.provider,"網頁"):""}}),watch:{isShow:function(t){m(t,this.showModal),!this.showModal&&t&&(this.showModal=!0);var e=this.watchedTime;if(m("showVideo",t?"on":"off"," time=",e),t&&e&&!isNaN(e)&&Number(e)>0&&"taiwin"===this.provider){var n=Number(e);m("video vs len:",100===this.convertViewProgress(this.videoLength,e)),this.playerConfig=f(f({},this.playerConfig),{},{start:n}),this.viewVideoLen=n,m(this.viewVideoLen)}if(t&&e&&!isNaN(e)&&Number(e)>0&&"hahoo"===this.provider){var o=Number(e);m("video vs len:",100===this.convertViewProgress(this.videoLength,e)),this.playerConfig=f(f({},this.playerConfig),{},{start:o}),this.viewVideoLen=o,m(this.viewVideoLen)}},player:function(t){m("youtube player change")}},methods:f(f({},Object(c.b)("user",["updateFavorite","saveVideoWatchedTime","updateVideoVisits"])),{},{clickFavorite:function(t,e){var n=this;return Object(o.a)(regeneratorRuntime.mark((function o(){var r,c;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(n.isLogin){o.next=3;break}return window.location.href="/oidc/login?next=".concat(encodeURIComponent(n.$route.fullPath)),o.abrupt("return");case 3:return m("Itme:click favorite",t,e),r={resourceId:t,favoriteState:e,mediaId:n.mediaId,capabilityId:n.capabilityId?n.capabilityId:n.comeFrom&&n.comeFrom.length>0?n.comeFrom[0].capabilityId:n.relativeSkill&&n.relativeSkill.length>0?n.relativeSkill[0].capabilityId:""},"1"===String(r.favoriteState)&&n.$elog({track:["saveVideo"],ext:{videoId:r.resourceId}}),o.next=8,n.updateFavorite(r);case 8:return c=o.sent,n.$emit("click-favorite-update",{resourceId:t,favoriteState:e}),o.next=12,n.triggerFavoriteVideoMsg(c.isFirst,e);case 12:case"end":return o.stop()}}),o)})))()},triggerFavoriteVideoMsg:function(t,e){var n=this;return Object(o.a)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(!t){o.next=4;break}return o.next=3,n.$refs.favorite.openModal();case 3:return o.abrupt("return");case 4:"1"===e||1===e?n.$toast.show('已收藏至<a href="/mynabi/saving" class="text-white" style="text-decoration: underline">我的收藏</a>！'):n.$toast.show("已移除收藏囉！");case 5:case"end":return o.stop()}}),o)})))()},updateViewTime:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("taiwin"===t.provider){e.next=2;break}return e.abrupt("return");case 2:return m(t.$youtube),e.next=5,t.$refs.youtube.player.getCurrentTime();case 5:return n=e.sent,m(t.$refs.youtube.player),m("view now:",n),m("view now this.$props:",t.$props),t.viewVideoLen=Math.floor(n),o={ytVideoId:t.uid,watchedTime:t.viewVideoLen,mediaId:t.mediaId,capabilityId:t.capabilityId?t.capabilityId:t.comeFrom&&t.comeFrom.length>0?t.comeFrom[0].capabilityId:t.relativeSkill&&t.relativeSkill.length>0?t.relativeSkill[0].capabilityId:""},m("view now $params:",o),e.next=14,t.saveVideoWatchedTime(o);case 14:case"end":return e.stop()}}),e)})))()},convertDate:function(t){if(t){var e=isNaN(parseInt(t,10))?"":new Date(parseInt(t,10));return""!==e?"".concat(e.getFullYear(),"年").concat(e.getMonth()+1,"月").concat(e.getDate(),"日"):""}return""},convertViewProgress:function(t,e){var n=0;try{if(t&&e&&!isNaN(e)){for(var o=t.split(":"),r=0,i=0;i<o.length;i++){if(isNaN(o[i])){r=0;break}r+=Math.pow(60,o.length-i-1)*Number(o[i])}(n=Math.floor(Number(e)/r*100))>100&&(n=100)}}catch(t){m(t)}return n},dataReset:function(){this.playerConfig={autoplay:!0,start:0},this.viewVideoLen=0},onClose:function(){this.showModal=!1,this.stopTask();var t={resourceId:this.resourceId,watchedTime:this.viewVideoLen};this.dataReset(),this.$emit("click-close",t),m("close")},onConfirm:function(){this.showModal=!1,this.$emit("click-confirm",{resourceId:this.resourceId,watchedTime:this.viewVideoLen}),m("close")},videoReady:function(t){m("ready",t)},videoEnd:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return m("end",t),e.stopTask(),n.next=4,e.updateViewTime();case 4:case"end":return n.stop()}}),n)})))()},videoPause:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return m("pause",t),e.stopTask(),n.next=4,e.updateViewTime();case 4:case"end":return n.stop()}}),n)})))()},playing:function(){m("start playing"),this.startTask()},startTask:function(){if(this.updateTask)m(this.updateTask);else{this.updateTask=setTimeout(this.updateViewTimeTask,1e4)}},stopTask:function(){clearTimeout(this.updateTask),this.updateTask=null},updateViewTimeTask:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.updateViewTime();case 2:n=t,t.updateTask=setTimeout(n.updateViewTimeTask,1e4);case 4:case"end":return e.stop()}}),e)})))()},toCourseClick:function(){this.$router.push(this.courseUrl)},emitVideoFeedBack:function(){this.$emit("click-feedback",this.resourceId)},getUid:function(t){return t.split("v=")[1].split("&")[0]},copyLink:function(){var t=this.$refs.copyLink;t.select(),t.setSelectionRange(0,99999),document.execCommand("copy"),this.$toast.show("您已複製連結！")},shareToSocialMedia:function(t){var e,n=this.$route.query.jobcat,o=this.$route.query.indcat;e="".concat("https://nabi.104.com.tw","/film/").concat(this.resourceId?this.resourceId:this.uid).concat(this.capabilityId?"?content="+this.capabilityId:this.$route.query.content?"?content="+this.$route.query.content:this.comeFrom&&this.comeFrom[0]?"?content="+this.comeFrom[0].capabilityId:"").concat(n?"&jobcat="+n:"").concat(o?"&indcat="+o:""),"FB"===t?window.open("http://www.facebook.com/share.php?u=".concat(encodeURIComponent(e),"&hashtag=").concat(encodeURIComponent("#104學習精靈")),"_blank","toolbar=yes,scrollbars=yes,resizable=yes,left=500,width=800,height=600"):"LINE"===t&&window.open("https://social-plugins.line.me/lineit/share?url=".concat(encodeURIComponent(e),"&text=").concat(encodeURIComponent("#104學習精靈")),"_blank","toolbar=yes,scrollbars=yes,resizable=yes,left=500,width=800,height=600")},hide:function(){this.isShare=!1},initial:function(){var t=this.$route.query.jobcat,e=this.$route.query.indcat;this.link="".concat("https://nabi.104.com.tw","/film/").concat(this.resourceId?this.resourceId:this.uid).concat(this.capabilityId?"?content="+this.capabilityId:this.$route.query.content?"?content="+this.$route.query.content:this.comeFrom&&this.comeFrom[0]?"?content="+this.comeFrom[0].capabilityId:"").concat(t?"&jobcat="+t:"").concat(e?"&indcat="+e:"")}})},h=(n(1379),n(38)),component=Object(h.a)(A,(function(){var t=this,e=t._self._c;return e("b-modal",{attrs:{id:t.id,centered:"",scrollable:"","hide-footer":"","dialog-class":"modal-dialog-centered modal-720 mv-mian","body-class":"t4 line-h-143 pb-4"},on:{hidden:t.onClose,close:t.onClose,show:t.initial},scopedSlots:t._u([{key:"modal-header",fn:function(){return[e("div",{staticClass:"h5"}),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3 pb-1",attrs:{type:"button"},on:{click:t.onClose}})]},proxy:!0}]),model:{value:t.showModal,callback:function(e){t.showModal=e},expression:"showModal"}},[t._v(" "),e("div",{staticClass:"dialog-mv"},[e("client-only",{attrs:{placeholder:"Loading..."}},[t.isYt?e("youtube",{ref:"youtube",attrs:{"video-id":t.uid||t.getUid(t.playUrl),"fit-parent":!0,"player-vars":t.playerConfig},on:{playing:t.playing,ready:t.videoReady,ended:t.videoEnd,paused:t.videoPause}}):t._e(),t._v(" "),!t.isYt&&t.playUrl?e("video",{ref:"vimeo",style:t.videoWidthStyle,attrs:{autoplay:!t.isMobile,controls:"",src:t.playUrl,poster:t.images}}):t._e()],1),t._v(" "),t.isYt||0!==t.playUrl.length?t._e():e("div",[t.images?e("img",{staticClass:"img-fluid",attrs:{src:t.images}}):e("img",{staticClass:"img-fluid",attrs:{src:t.$getDefaultImgByHash(t.title)}})])],1),t._v(" "),e("div",{staticClass:"mv-label"},[e("div",{staticClass:"title"},[t._v("\n            "+t._s(t.title)+"\n        ")])]),t._v(" "),e("div",{staticClass:"mv-recordGroup feedbackArea"},[""!==t.visits?e("div",{staticClass:"mv-view"},[t._v("\n            觀看"+t._s(Number(t.visits)>=1e4?"".concat(Math.floor(Number(t.visits)/1e4),"萬"):Number(t.visits))+"次・收藏人數："+t._s(t.interactive.favoriteCount)+"次\n        ")]):t._e(),t._v(" "),e("div",{staticClass:"mv-status"},[t.isShowFeedback?[t.isLogin?e("div",{staticClass:"mv-status__item",on:{click:t.emitVideoFeedBack}},[e("img",{attrs:{src:n(628)}}),t._v(" 不感興趣\n                ")]):t._e()]:t._e(),t._v(" "),e("div",{staticClass:"mv-status__item"},[e("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.hide,expression:"hide"}],class:["feedback-item",{open:t.isShare}],on:{click:function(e){t.isShare=!t.isShare}}},[e("div",{class:["iconBG","share",{active:t.isShare}]},[t._v("\n                        分享\n                    ")]),t._v(" "),e("div",{staticClass:"sharePop"},[e("div",{staticClass:"shareTo"},[e("div",{staticClass:"shareTo-label"},[t._v("分享到：")]),t._v(" "),e("div",{staticClass:"shareTo-list"},[e("div",{staticClass:"shareTo-item",on:{click:function(e){return t.shareToSocialMedia("LINE")}}},[e("img",{attrs:{src:n(587),alt:""}}),t._v(" "),e("p",[t._v("Line")])]),t._v(" "),e("div",{staticClass:"shareTo-item",on:{click:function(e){return t.shareToSocialMedia("FB")}}},[e("img",{attrs:{src:n(586),alt:""}}),t._v(" "),e("p",[t._v("Facebook")])]),t._v(" "),e("div",{staticClass:"shareTo-item",on:{click:t.copyLink}},[e("img",{attrs:{src:n(588),alt:""}}),t._v(" "),e("p",[t._v("複製連結")])])]),t._v(" "),e("div",{staticClass:"shareTo-close"},[t._v("取消")])])]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.link,expression:"link"}],ref:"copyLink",staticClass:"copylink",attrs:{type:"text"},domProps:{value:t.link},on:{input:function(e){e.target.composing||(t.link=e.target.value)}}})])]),t._v(" "),!t.isHiddenFavorite&&t.interactive&&"true"===t.interactive.isFavorite?e("div",{staticClass:"mv-status__item",attrs:{"data-dismiss":"modal"},on:{click:function(e){return t.clickFavorite(t.resourceId?t.resourceId:t.uid,0)}}},[e("i",{staticClass:"jb_icon_favor_filled text-secondary"}),t._v("收藏\n            ")]):t._e(),t._v(" "),!t.isHiddenFavorite&&t.interactive&&"true"!==t.interactive.isFavorite?e("div",{staticClass:"mv-status__item",attrs:{"data-dismiss":"modal","data-gtm-lightbox":"點收藏_影片內頁"},on:{click:function(e){return t.clickFavorite(t.resourceId?t.resourceId:t.uid,1)}}},[e("i",{staticClass:"jb_icon_favor_line"}),t._v("收藏\n            ")]):t._e(),t._v(" "),e("div",{staticClass:"mv-status__btn"},[t.courseUrl&&"string"==typeof t.courseUrl&&t.courseUrl.trim().length>0?e("a",{staticClass:"btn btn-sm btn-outline-primary",attrs:{rel:"sponsor",href:t.courseUrl,"data-gtm-lightbox":t.courseGTM},on:{click:function(e){return e.preventDefault(),t.toCourseClick.apply(null,arguments)}}},[t._v("\n                    前往課程\n                ")]):t._e()])],2)]),t._v(" "),e("div",{staticClass:"mv-info"},[e("div",{staticClass:"mv-creator"},[t._v("創作者："+t._s(t.providerDef&&t.providerDef.name||t.author))]),t._v(" "),t.postTime?e("div",{staticClass:"mv-publishDate"},[t._v("發佈日期："+t._s(t.convertDate(t.postTime)))]):t._e(),t._v(" "),e("div",{staticClass:"mv-info__txt"},[t._v("\n            "+t._s(t.body)+"\n        ")])]),t._v(" "),t.tags&&t.tags.length>0?e("div",{staticClass:"allTag"},t._l(t.tags,(function(n,o){return e("span",{key:o,staticClass:"badge badge-pill badge-gray t4 text-7e tag-textOverFlow"},[t._v(t._s(n.tag))])})),0):t._e(),t._v(" "),e("FavoriteVideoModal",{ref:"favorite"})],1)}),[],!1,null,"f0f87838",null);e.a=component.exports},,function(t,e,n){t.exports=n.p+"img/certifyCentral-category-icon-finance.e8d9def.png"},function(t,e,n){t.exports=n.p+"956bc4c30329680c2c7dd53ffb9fee42.svg"},function(t,e,n){t.exports=n.p+"4cd041164aa9dfae19b1aa1de54193ba.svg"},function(t,e,n){"use strict";var o={data:function(){return{isLightBox:!1}}},r=(n(935),n(38)),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex",attrs:{id:"SimpleLightBox"}},[e("div",{staticClass:"d-flex defaultBox",on:{click:function(e){t.isLightBox=!t.isLightBox}}},[t._t("default")],2),t._v(" "),t.isLightBox?e("div",{staticClass:"lightBox"},[e("div",{staticClass:"lightBoxMask"}),t._v(" "),e("div",{staticClass:"lightBoxContent"},[e("div",{staticClass:"lightBoxClose pointer",on:{click:function(e){t.isLightBox=!t.isLightBox}}},[e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[e("path",{attrs:{d:"m9.107 8 4.666-4.667A.767.767 0 0 0 14 2.78a.774.774 0 0 0-.227-.553.793.793 0 0 0-1.106 0L8 6.893 3.333 2.227a.793.793 0 0 0-1.106 0A.774.774 0 0 0 2 2.78a.767.767 0 0 0 .227.553L6.893 8l-4.666 4.667A.767.767 0 0 0 2 13.22a.774.774 0 0 0 .227.553c.308.3.798.3 1.106 0L8 9.107l4.667 4.666c.146.148.345.23.553.227a.774.774 0 0 0 .78-.78.767.767 0 0 0-.227-.553L9.107 8z",fill:"#FFF","fill-rule":"evenodd"}})])]),t._v(" "),t._t("openLightBox")],2)]):t._e()])}),[],!1,null,"6cdf9b65",null);e.a=component.exports},function(t,e,n){"use strict";var o={data:function(){return{isOpen:!1}},methods:{hide:function(){this.isOpen=!1}}},r=n(38),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.hide,expression:"hide"}],class:["moreTools",{open:t.isOpen}],on:{click:function(e){t.isOpen=!t.isOpen}}},[e("img",{attrs:{src:n(627),alt:""}}),t._v(" "),e("div",{staticClass:"moreToolsList"},[t._t("default")],2)])}),[],!1,null,null,null);e.a=component.exports},function(t,e,n){t.exports={}},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA/CAMAAACLtlvuAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAzUExURUdwTP+SAP+TAP+YAP+SAP+TAP+SAP+SAP+SAP+lAP+SAP+SAP+TAP+WAP+ZAP+SAP+RAHLJodgAAAAQdFJOUwCmXhfdNpH2wwV16kkmDoO5SAmHAAABQElEQVRIx+2WwZKEIAxEBYIJgpr//9pdZ3YHFMTEPe3U9MHbK8t0us0wvJ3cCpHSPTZF3jTdQMPIP9K/e6ZflqNTshY5y6jQxXAp0rAedizMCnbCHWsWhbm0Q9nqzb0DZ3NfwllvbjHroDc3a9SbWyhpzS11uZ8Td0Qqc4/qxdJBn2X057DhKyGQsU3PFmSRcGxMzrFUsV7WgGK6UQyjHK73bXlO24CEPtoW/DYOO3gJDI32oC16qwBeG0l+PunSrk45uNhnqVcNIfVHfVEMHdviVbBDOPWLBL+dGfWxzFpvN9npV3sZDH+Ag3ix5HCUdf/JtK0eRsDTNLVUhAOnMDijOWxy/4MvvRNdF766CSaFW1Ql18qvIl8nNz3GJvrPmyq5waN4v239ef67Y1BxGB2iCnfO0Fe/GeF58tFH/15fs51DaEO7+j0AAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAC1SURBVHgBvVJbDcMwDIyGwBAKoRAKpQw2BhuEMSiEjUEgZAwGIWPg2epZsvpQ45+edEoi+c7nJCmdBWa+Cl/CSdhFtCoeeUbBmqMG2USy3mBCrWKNXkEVf5V7xQPidth/LLKLr0b9lvjOa2i3wdXQXmeCYFJ3dCktc14W558jgW2Qbg8XvboRxsMRXIFdIuEi384ou33fGsw+kSWyZ6wpAiQp2Mc+0kKU7YVSFBhFDZ6h7kf4A6WVNzDHnRy5AAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACUSURBVHgB3VLBDYAgDCzGARzBEXQEJ9LRdAJXYAMdwQ2wZ0rSKELE+PGSC4XcHbSB6Es453rmQLlg8wzGNAW9xF8C9LRlcAuz9iLUcjae9cabjo0xHdcNl9hvwkpysHassVp/aQECCMWAsFqbgy1EQvwrgmagpBvIU1vcfmeOBkjISgnogCb1bbWWaXXARM9gMzxh7NMnVAO6aT2GAAAAAElFTkSuQmCC"},function(t,e,n){var map={"./104.png":993,"./104HrBanner-M.png":994,"./104HrBanner.png":995,"./104HrImg-M.png":762,"./104HrImg.png":763,"./104HrLogo.png":764,"./104bravoHeadshot.png":765,"./104hrHeadshot.png":766,"./104senior-banner.png":767,"./104senior-img.png":768,"./104senior-logo.png":769,"./104seniorHeadshot.png":770,"./2004002002-01@2x.png":680,"./2004002002-02@2x.png":681,"./2004002002-03@2x.png":682,"./2004002002-04@2x.png":683,"./2004002002-05@2x.png":684,"./2004002002-06@2x.png":685,"./2004002002-07@2x.png":686,"./CMSHeadshot.png":596,"./Close.png":996,"./ContentChallengeImg.png":636,"./GoogleBanner-M.png":997,"./GoogleBanner.png":998,"./GoogleImg-M.png":771,"./GoogleImg.png":772,"./GoogleLogo.png":773,"./Group 1160.png":774,"./Group 1162.png":775,"./Group.png":999,"./Hyperlink.png":1e3,"./ITIBanner-M.png":1001,"./ITIBanner.png":1002,"./ITIHeadshot.png":776,"./ITIImg-a.png":777,"./ITILogo.png":778,"./Lulu_45.png":687,"./Lulu_49 1.png":383,"./Lulu_50.png":649,"./Manner1.png":648,"./TOCBanner-M.png":1003,"./TOCBanner.png":1004,"./TOCHeadshot.png":779,"./TOCImg-a-M.png":780,"./TOCImg-a.png":781,"./TOCLogo.png":782,"./a2hs_android_intro.png":1005,"./a2hs_ios_intro.png":1006,"./abilityBgM.png":936,"./abilityBk-a.png":937,"./abilityBk-b.png":938,"./abilityBk-c.png":939,"./abilityImg.png":940,"./acadBanner-M.png":1007,"./acadBanner.png":1008,"./acadImg-M.png":783,"./acadImg.png":784,"./acadLogo.png":785,"./achievementBronze.png":577,"./achievementGold.png":579,"./achievementSilver.png":578,"./ads-click-black-24-dp.png":1009,"./ads-click-black-24-dp/ads-click-black-24-dp.png":1010,"./ads-click-black-24-dp/ads-click-black-24-dp@2x.png":1011,"./ads-click-black-24-dp/ads-click-black-24-dp@3x.png":1012,"./arrow-block.png":1013,"./article.png":1014,"./b-1@2x.png":1015,"./b-2@2x.png":1016,"./b-3@2x.png":1017,"./base-lock-black.png":1018,"./base-lock.png":1019,"./base-setting.png":1020,"./bg-10min.png":1021,"./bg-blue-intro.png":1022,"./bg-deepblue-intro.png":1023,"./bg-green-intro.png":1024,"./bg-lightgreen-intro.png":1025,"./bg-visual.png":1026,"./bingo-bg.png":1027,"./bookSample.png":1028,"./books-book-open.png":1029,"./build-city-copy.png":1030,"./build-school.png":1031,"./bunny-04/bunny-04.png":1032,"./bunny-04/bunny-04@2x.png":1033,"./bunny-04/bunny-04@3x.png":1034,"./button-icon.png":688,"./cace-twHeadshot.png":786,"./calendar.png":1035,"./card-default-img.png":729,"./career-certificate.png":637,"./career-course.png":597,"./career-other.png":689,"./career-read.png":690,"./cartNoLogin.png":734,"./caution.png":1036,"./ccornerHeadshot.png":787,"./cdri-bg.png":1037,"./cdri-logo-old.png":1038,"./cdri-logo.png":788,"./cdriHeadshot.png":789,"./certificate-1.png":941,"./certificate.png":1039,"./certification-104.png":1040,"./certifyCentral-bk-1.png":756,"./certifyCentral-bk-10.png":757,"./certifyCentral-bk-11.png":742,"./certifyCentral-bk-12.png":759,"./certifyCentral-bk-13.png":744,"./certifyCentral-bk-14.png":750,"./certifyCentral-bk-15.png":754,"./certifyCentral-bk-16.png":745,"./certifyCentral-bk-17.png":751,"./certifyCentral-bk-18.png":755,"./certifyCentral-bk-2.png":741,"./certifyCentral-bk-3.png":758,"./certifyCentral-bk-4.png":743,"./certifyCentral-bk-5.png":746,"./certifyCentral-bk-6.png":747,"./certifyCentral-bk-7.png":749,"./certifyCentral-bk-8.png":753,"./certifyCentral-bk-9.png":760,"./certifyCentral-category-icon-.png":659,"./certifyCentral-category-icon-administration.png":660,"./certifyCentral-category-icon-construction.png":661,"./certifyCentral-category-icon-design.png":662,"./certifyCentral-category-icon-education.png":663,"./certifyCentral-category-icon-finance.png":626,"./certifyCentral-category-icon-healthcare.png":664,"./certifyCentral-category-icon-hospitality.png":665,"./certifyCentral-category-icon-hots.png":666,"./certifyCentral-category-icon-human-resources.png":667,"./certifyCentral-category-icon-information.png":668,"./certifyCentral-category-icon-language.png":669,"./certifyCentral-category-icon-management.png":670,"./certifyCentral-category-icon-manufacturing.png":671,"./certifyCentral-category-icon-mechanical-electrical.png":672,"./certifyCentral-category-icon-planning.png":673,"./certifyCentral-category-icon-transportation.png":674,"./certifyCentral-img-1.png":737,"./certifyCentral-img-2.png":739,"./certifyCentral-img-3.png":738,"./certifyCentral-img-4.png":740,"./certifyCentral-img-5.png":748,"./certifyCentral-img-6.png":752,"./certifyMascot-1.png":735,"./certifyMascot-2.png":736,"./certifyOrgAvatar-1.png":1041,"./chrma-img.png":691,"./chrmaBanner-M.png":1042,"./chrmaBanner.png":1043,"./chrmaHeadshot.png":790,"./chrmaImg-M.png":791,"./chrmaImg.png":792,"./chrmaLogo.png":793,"./cjcatRecommendEmpty.png":942,"./classroom-manager.png":943,"./classroom.png":1044,"./cleanIcon.png":1045,"./close-White.png":1046,"./clothes-handbag-copy.png":1047,"./coachDetailBanner.png":1048,"./coachListBanner.png":1049,"./coachListTitle.png":1050,"./colasjapanHeadshot.png":794,"./collect-none-login-m.png":1051,"./collect-none-login.png":1052,"./collect-none-m.png":795,"./collect-none.png":796,"./collectDefaultImg.png":638,"./combined-shape.png":1053,"./communicate-topic.png":1054,"./company.png":1055,"./contentSoftImg.png":639,"./control-radio-enable-selected.png":1056,"./control-radio-enable-unselected.png":1057,"./copy-og.png":1058,"./copy.png":1059,"./coreCornerHeadshot.png":797,"./couponListheader.png":944,"./course-nabi-1.png":1060,"./course-nabi-2.png":1061,"./course-nabi-3.png":1062,"./course3rdGroup.png":1063,"./courseError.png":377,"./courseExplore/Bunny_04.png":692,"./courseExplore/Frame.png":798,"./courseExplore/Group 14.png":693,"./courseExplore/Path.png":1064,"./courseExplore/Property 1=admin.png":799,"./courseExplore/Property 1=code.png":800,"./courseExplore/Property 1=design.png":801,"./courseExplore/Property 1=gov.png":802,"./courseExplore/Property 1=grow.png":803,"./courseExplore/Property 1=invs.png":804,"./courseExplore/Property 1=lang.png":805,"./courseExplore/Property 1=life.png":806,"./courseExplore/Property 1=lisence.png":807,"./courseExplore/Property 1=mk.png":808,"./courseExplore/Property 1=pm.png":809,"./courseExplore/Property 1=sale.png":810,"./courseExplore/Rectangle 1779.png":811,"./courseExplore/dot (1).png":812,"./courseExplore/dot (2).png":813,"./courseExplore/dot (3).png":814,"./courseExplore/dot.png":815,"./courseExplore/lulu_07.png":816,"./courseGroup.png":1065,"./create-img-a.png":817,"./create-img-b.png":818,"./create-img-c.png":819,"./cupoy-bg.png":1066,"./cupoy-front.png":1067,"./cupoy-logo.png":820,"./cupoyHeadshot.png":821,"./deepmind-bg-m.png":1068,"./deepmind-bg.png":1069,"./deepmind-logo.png":822,"./deepmindHeadshot.png":823,"./degree-hat.png":824,"./delete.png":1070,"./deleteUserAvatar.png":567,"./discount-org.png":1071,"./discount.png":1072,"./discountImg.png":945,"./discountSuccess.png":1073,"./draw-black-24-dp.png":1074,"./draw-black-24-dp/draw-black-24-dp.png":1075,"./draw-black-24-dp/draw-black-24-dp@2x.png":1076,"./draw-black-24-dp/draw-black-24-dp@3x.png":1077,"./edit-headshot-img.png":946,"./edit-write-copy-3.png":1078,"./edit.png":1079,"./empty-3.png":580,"./every-user-gray.png":1080,"./every-user.png":1081,"./exam-entrance-img.png":1082,"./exam-entrance-img@2x.png":617,"./feature-img-1@2x.png":1083,"./feature-img-2@2x.png":1084,"./feature-img-3@2x.png":1085,"./feature-img-4@2x.png":1086,"./feature-img-5@2x.png":1087,"./feature-img-6@2x.png":1088,"./feedMaskIcon.png":1089,"./feedMaskImg-Right.png":825,"./feedMaskImg-left.png":826,"./feedMask_1260.png":827,"./feedMask_1440.png":828,"./feedStart-img1-M.png":694,"./feedStart-img1.png":695,"./feedSubscribeModalImgA.png":829,"./feedSubscribeModalImgB.png":830,"./feedSubscribeModalImgC.png":831,"./follow-icon.png":1090,"./gift.png":1091,"./google-ads-img.png":696,"./google-analytics-img.png":1092,"./google-analytics-img@3x.png":650,"./group-3.png":651,"./guide-1.png":1093,"./guide-2.png":1094,"./guideEvent-arrow.png":1095,"./guideEvent-background.png":1096,"./guideEvent-worker-B.png":1097,"./guideEvent-worker-MING-YANG.png":262,"./guideEvent-worker-S.png":200,"./guideEvent-worker-administration.png":204,"./guideEvent-worker-designer.png":202,"./guideEvent-worker-hr.png":140,"./guideEvent-worker-kkday.png":165,"./guideEvent-worker-programmer.png":201,"./hahow-bg.png":1098,"./hahowHeadshot.png":832,"./hardware-speaker-one.png":1099,"./head-bg.png":1100,"./help-header-pc.png":1101,"./hitHeadshot.png":833,"./homePage-Img.png":1102,"./homePage-ImgMB.png":1103,"./homePageBg.png":1104,"./homePageBgMB.png":1105,"./hot-testing.png":382,"./hr-intro-img-1.png":697,"./hr-intro-img-2.png":698,"./hr104Headshot.png":834,"./ic_sorting -orange.png":1106,"./ic_sorting.png":1107,"./icon-16x16.png":1108,"./icon-24x24.png":1109,"./icon-about-active.png":1110,"./icon-about.png":1111,"./icon-account.png":1112,"./icon-action-add-border/icon-action-add-border.png":1113,"./icon-action-add-border/icon-action-add-border@2x.png":1114,"./icon-action-add-border/icon-action-add-border@3x.png":1115,"./icon-action-clear-border.png":1116,"./icon-action-delete-border/icon-action-delete-border.png":1117,"./icon-action-delete-border/icon-action-delete-border@2x.png":1118,"./icon-action-delete-border/icon-action-delete-border@3x.png":1119,"./icon-action-favor-border-smaller.png":1120,"./icon-action-favor-border-smaller/icon-action-favor-border-smaller.png":1121,"./icon-action-favor-border-smaller/icon-action-favor-border-smaller@2x.png":1122,"./icon-action-favor-border-smaller/icon-action-favor-border-smaller@3x.png":1123,"./icon-action-favor-border.png":380,"./icon-action-more.png":1124,"./icon-arrow-button-right-gray.png":1125,"./icon-arrow-button-right-og.png":1126,"./icon-arrow-button-right.png":1127,"./icon-arrow-word-down/icon-arrow-word-down.png":1128,"./icon-arrow-word-down/icon-arrow-word-down@2x.png":1129,"./icon-arrow-word-down/icon-arrow-word-down@3x.png":1130,"./icon-arrow-word-left.png":1131,"./icon-arrow-word-right.png":1132,"./icon-arrow-word-right/icon-arrow-word-right.png":1133,"./icon-arrow-word-right/icon-arrow-word-right@2x.png":1134,"./icon-arrow-word-right/icon-arrow-word-right@3x.png":1135,"./icon-avatar-photo.png":1136,"./icon-badge-0.png":561,"./icon-badge-1.png":1137,"./icon-badge-2.png":1138,"./icon-badge-3.png":1139,"./icon-black-bar-message-active.png":1140,"./icon-black-bar-message.png":1141,"./icon-black-bar-visitedcompany.png":1142,"./icon-black-bar-visitedcompany/icon-black-bar-visitedcompany.png":1143,"./icon-black-bar-visitedcompany/icon-black-bar-visitedcompany@2x.png":1144,"./icon-black-bar-visitedcompany/icon-black-bar-visitedcompany@3x.png":1145,"./icon-buy.png":1146,"./icon-close.png":1147,"./icon-degree-hat.png":379,"./icon-download.png":634,"./icon-edit-photo.png":384,"./icon-followed-orange.png":1148,"./icon-followed-white.png":1149,"./icon-followed-white/icon-followed.png":1150,"./icon-followed-white/icon-followed@2x.png":1151,"./icon-followed-white/icon-followed@3x.png":1152,"./icon-followed.png":1153,"./icon-followed/icon-followed.png":1154,"./icon-followed/icon-followed@2x.png":1155,"./icon-followed/icon-followed@3x.png":1156,"./icon-left.png":1157,"./icon-list-icon-pin/icon-list-icon-pin.png":1158,"./icon-list-icon-pin/icon-list-icon-pin@2x.png":1159,"./icon-list-icon-pin/icon-list-icon-pin@3x.png":632,"./icon-mark-filled.png":730,"./icon-mark-unfill.png":731,"./icon-money.png":1160,"./icon-my-104-company/icon-my-104-company.png":1161,"./icon-my-104-company/icon-my-104-company@2x.png":1162,"./icon-my-104-company/icon-my-104-company@3x.png":1163,"./icon-post-action-clap.png":1164,"./icon-post-action-reply.png":1165,"./icon-post-action-reply/icon-post-action-reply.png":1166,"./icon-post-action-reply/icon-post-action-reply@2x.png":1167,"./icon-post-action-reply/icon-post-action-reply@3x.png":1168,"./icon-resume-edit-active.png":1169,"./icon-resume-edit.png":1170,"./icon-resume-skill.png":1171,"./icon-resume-skill/icon-resume-skill.png":1172,"./icon-resume-skill/icon-resume-skill@2x.png":1173,"./icon-resume-skill/icon-resume-skill@3x.png":1174,"./icon-save-bk.png":1175,"./icon-search-black.png":1176,"./icon-search-gray.png":1177,"./icon-share-black.png":1178,"./icon-share-gray.png":1179,"./icon-share-orange.png":1180,"./icon-share.png":633,"./icon-sign-ins-gray.png":947,"./icon-sign-ins.png":1181,"./icon-sign-ins/icon-sign-ins.png":1182,"./icon-sign-ins/icon-sign-ins@2x.png":1183,"./icon-sign-ins/icon-sign-ins@3x.png":1184,"./icon-spinner.png":1185,"./icon-test-off.png":1186,"./icon-test-on.png":1187,"./icon-time-gray.png":948,"./icon-time.png":1188,"./icon-triangle-orange.png":1189,"./icon-triangle.png":1190,"./icon-vector.png":835,"./iconPostTools/icon-black-bar-message-gray/icon-black-bar-message.png":1191,"./iconPostTools/icon-black-bar-message-gray/icon-black-bar-message@2x.png":1192,"./iconPostTools/icon-black-bar-message-gray/icon-black-bar-message@3x.png":1193,"./iconPostTools/icon-black-bar-message-orange/icon-black-bar-message.png":1194,"./iconPostTools/icon-black-bar-message-orange/icon-black-bar-message@2x.png":1195,"./iconPostTools/icon-black-bar-message-orange/icon-black-bar-message@3x.png":1196,"./iconPostTools/icon-resume-edit-gray/icon-resume-edit.png":1197,"./iconPostTools/icon-resume-edit-gray/icon-resume-edit@2x.png":1198,"./iconPostTools/icon-resume-edit-gray/icon-resume-edit@3x.png":1199,"./iconPostTools/icon-resume-edit-orange/icon-resume-edit.png":1200,"./iconPostTools/icon-resume-edit-orange/icon-resume-edit@2x.png":1201,"./iconPostTools/icon-resume-edit-orange/icon-resume-edit@3x.png":1202,"./icon_cjcat.png":1203,"./icon_createRoom-orange.png":1204,"./icon_createRoom.png":1205,"./icon_createroom-black.png":381,"./icon_finish-room.png":836,"./icon_gain-certified.png":837,"./icon_go-top-gray.png":1206,"./icon_go-top-mb.png":1207,"./icon_go-top-orange.png":1208,"./icon_read-book.png":838,"./image 6.png":1209,"./img-005/img-005.png":1210,"./img-005/img-005@2x.png":1211,"./img-005/img-005@3x.png":1212,"./img-AnonymousAvatar.png":560,"./img-DefaultAvatar.png":376,"./img-GiverDefaultAvatar.png":584,"./img-NFImodal-dec-bird.png":1213,"./img-NFImodal-dec-deer.png":1214,"./img-ResourceDefaultAvatar.png":601,"./img-deepmind-material.png":1215,"./img-empty.png":1216,"./img-empty/img-empty.png":1217,"./img-empty/img-empty@2x.png":1218,"./img-empty/img-empty@3x.png":1219,"./img-hardskill.png":203,"./img-hr-chart.png":699,"./img-job-c/img-job-c.png":1220,"./img-job-c/img-job-c@2x.png":1221,"./img-job-c/img-job-c@3x.png":1222,"./img-logo-chrma.png":839,"./img-map-intro-1.png":387,"./img-map-intro-2.png":388,"./img-map-intro-3.png":260,"./img-mascot.png":1223,"./img-newFunctionIntro01-m.png":1224,"./img-newFunctionIntro01.png":1225,"./img-newFunctionIntro02-m.png":1226,"./img-newFunctionIntro02.png":1227,"./img-pic-empty.png":700,"./img-pic-searchEmpty.png":652,"./img-process.png":1228,"./img-remove@2x.png":606,"./img-softskill.png":261,"./img-test/img-test.png":1229,"./img-test/img-test@2x.png":1230,"./img-test/img-test@3x.png":1231,"./img-twida-material.png":1232,"./img-visual-pattern.png":1233,"./img-worker-JING-JHIH.png":1234,"./img-worker-MING-YANG.png":1235,"./img-worker-administration.png":1236,"./img-worker-dann.png":1237,"./img-worker-salesperson.png":1238,"./img-worker-weber.png":1239,"./img-worker-yuki.png":1240,"./img-worker.png":1241,"./ittrainingBanner-M.png":1242,"./ittrainingBanner.png":1243,"./ittrainingImg-M.png":840,"./ittrainingImg.png":841,"./ittrainingLogo.png":842,"./jlpt-result-bg-2.png":843,"./jlpt-result-bg.png":844,"./jlpt/jlpt-audio.png":845,"./jlpt/jlpt-reading.png":846,"./jlpt/n1/jlpt-audio.png":847,"./jlpt/n1/jlpt-reading.png":848,"./jlpt/n2/jlpt-audio.png":849,"./jlpt/n2/jlpt-reading.png":850,"./jlpt/n2/n2-31.png":851,"./jlpt/n2/n2-34.png":852,"./jlpt/n2/n2-35.png":853,"./jlpt/n2/n2-36.png":854,"./jlpt/n2/n2-37.png":855,"./jlpt/n2/n2-38.png":856,"./jlpt/n2/n2-40.png":857,"./jlpt/n3/jlpt-audio.png":858,"./jlpt/n3/jlpt-reading.png":859,"./jlpt/n4/jlpt-audio.png":860,"./jlpt/n4/jlpt-reading.png":861,"./jlpt/n5/jlpt-audio.png":862,"./jlpt/n5/jlpt-reading.png":863,"./job-a.png":1244,"./job-a@2x.png":1245,"./job-a@3x.png":1246,"./job-b.png":1247,"./job-b@2x.png":1248,"./job-b@3x.png":1249,"./job-c.png":1250,"./job-c@2x.png":1251,"./job-c@3x.png":1252,"./job-d.png":1253,"./job-d@2x.png":1254,"./job-d@3x.png":1255,"./job-e.png":1256,"./job-e@2x.png":1257,"./job-e@3x.png":1258,"./job-f.png":1259,"./job-f@2x.png":864,"./job-f@3x.png":1260,"./job-img.png":1261,"./lccnet/banner-bg.png":1262,"./lccnet/banner-bgM.png":1263,"./lccnet/lccnet-banner-img-right.png":865,"./lccnet/lccnet-logo.png":866,"./lccnetHeadshot.png":867,"./level-1 copy.png":1264,"./level-1.png":1265,"./level-2.png":1266,"./level-3.png":1267,"./level-high.png":1268,"./level-low.png":1269,"./level-mid.png":1270,"./level-no.png":1271,"./like.png":868,"./line/banner-bg.png":1272,"./line/banner-bgM.png":1273,"./line/line-banner-img-center.png":869,"./line/line-banner-img-right.png":870,"./line/line-logo.png":871,"./lineHeadshot.png":872,"./local.png":1274,"./logo-ccorner.png":873,"./logo-talent-booster-v-2.png":874,"./logo.png":875,"./lulu-42@2x.png":653,"./lulu-44.png":876,"./macOS-img.png":701,"./manner-1.png":949,"./mastertalksHeadshot.png":877,"./microsoft-img.png":878,"./mobileSound-img.png":702,"./modal-head-bg.png":1275,"./more-104hr@2x.png":1276,"./more-cdri@2x.png":1277,"./more-core-corner@2x.png":1278,"./more-cupoy@2x.png":1279,"./more-deepmind@2x.png":1280,"./more-talent-booster@2x.png":1281,"./more-toeic@2x.png":1282,"./more-tqc@2x.png":1283,"./more-twida@2x.png":1284,"./msg-bg.png":1285,"./mynai-career-empty.png":703,"./nabi-app-icon.png":1286,"./nabi-bingo.png":1287,"./nabi-default.png":1288,"./nabi-msg.png":732,"./nabi-post-success.png":583,"./nabi-quest.png":1289,"./nabi-saved.png":571,"./nabi-skill-01.png":1290,"./nabi-success.png":1291,"./nabi-wrong.png":1292,"./noResult.png":609,"./nosee.png":1293,"./notebook-and-pen.png":879,"./ogDefault.png":1294,"./omia/banner-bg.png":1295,"./omia/banner-bgM.png":1296,"./omia/omia-banner-img-center.png":880,"./omia/omia-banner-img-left.png":881,"./omia/omia-banner-img-right.png":882,"./omia/omia-logo.png":883,"./omia/stars.png":884,"./omiaHeadshot.png":885,"./orgDefault.png":761,"./orgPage-img-1.png":886,"./orgProviderEmpty.png":887,"./others-certificate.png":1297,"./others-earth-copy-2-black.png":1298,"./others-earth-copy-2.png":1299,"./others-local.png":1300,"./pattern@2x.png":1301,"./pdf_bg.png":1302,"./peoples-user-business.png":1303,"./playVideo-disabled.png":1304,"./playVideo-hover.png":1305,"./playVideo-normal.png":1306,"./postSinglePageMask/pattern-1.png":640,"./postSinglePageMask/pattern-2.png":603,"./postSinglePageMask/pattern.png":641,"./power-bi-img.png":888,"./ppaBanner-M.png":1307,"./ppaBanner.png":1308,"./ppaImg-M.png":889,"./ppaImg.png":890,"./ppaLogo.png":891,"./protect.png":1309,"./purchase-done-bk.png":733,"./purchase-success.png":1310,"./quizJP/flower.png":704,"./quizJP/words.png":892,"./refresh-og.png":1311,"./refresh.png":1312,"./remove-og.png":1313,"./remove.png":1314,"./resourcePageBk-1.png":950,"./resourcePageBk-2.png":951,"./sce-banner-img-center.png":893,"./sce-banner-img-left.png":894,"./sce-banner-img-right.png":895,"./sce-banner-imgM.png":896,"./sce-logo.png":897,"./sceHeadshot.png":898,"./share-White.png":1315,"./share-org.png":1316,"./shopee/banner-bg.png":1317,"./shopee/banner-bgM.png":1318,"./shopee/banner-bgT.png":1319,"./shopee/shopee-banner-img-right.png":899,"./shopee/shopee-logo.png":900,"./shopeeHeadshot.png":901,"./shopping-cart-og.png":386,"./shopping-cart.png":385,"./star-White.png":1320,"./star-active.png":1321,"./star-org.png":902,"./star.png":1322,"./subscribe_img_1.png":903,"./subscribe_img_2.png":904,"./subscribe_img_3.png":905,"./supervisor-account-black-24-dp.png":1323,"./supervisor-account-black-24-dp/supervisor-account-black-24-dp.png":1324,"./supervisor-account-black-24-dp/supervisor-account-black-24-dp@2x.png":1325,"./supervisor-account-black-24-dp/supervisor-account-black-24-dp@3x.png":1326,"./syncResume.png":906,"./taiseBanner-M.png":1327,"./taiseBanner.png":1328,"./taiseImg-M.png":907,"./taiseImg.png":908,"./taiseLogo.png":909,"./tbooster-bg.png":1329,"./tboosterHeadshot.png":910,"./terminal-black-24-dp.png":1330,"./terminal-black-24-dp/terminal-black-24-dp.png":1331,"./terminal-black-24-dp/terminal-black-24-dp@2x.png":1332,"./terminal-black-24-dp/terminal-black-24-dp@3x.png":1333,"./testResult-lulu.png":705,"./testcardBk-1.png":952,"./testcardBk-2.png":953,"./tibame-banner.png":1334,"./tibame-bannerM.png":1335,"./tibameHeadshot.png":911,"./tibameMain.png":1336,"./time-1.png":1337,"./time-calendar-dot.png":1338,"./time.png":1339,"./tips.png":1340,"./toeic-bg.png":1341,"./toeic-img.png":912,"./toeic-logo-old.png":1342,"./toeic-logo.png":913,"./toeic-result-bg.png":654,"./toeicHeadshot.png":914,"./toeicPic/audio-default.png":915,"./toeicPic/part2_example.png":916,"./toeicPic/reading-default.png":917,"./toeicPic/toeic-audio.png":918,"./toeicPic/toeic-reading.png":919,"./topic.png":954,"./tqc-bg.png":1343,"./tqc-logo.png":920,"./tqcHeadshot.png":921,"./tri/banner-bg.png":1344,"./tri/banner-bgM.png":1345,"./tri/tri-banner-img-right.png":922,"./tri/tri-logo.png":923,"./triHeadshot.png":924,"./tutorabc/banner-bg.png":1346,"./tutorabc/banner-bgM.png":1347,"./tutorabc/tutorabc-banner-img-right.png":925,"./tutorabc/tutorabc-logo.png":926,"./tutorabcHeadshot.png":927,"./twida-bg.png":1348,"./twida-logo.png":928,"./twidaHeadshot.png":929,"./userJobAnalysis-Bg.png":1349,"./userJobAnalysis-img.png":706,"./videoDefault.png":1350,"./view-white.png":1351,"./view.png":1352,"./window-img.png":707,"./window-setting-img.png":708,"./word_up _hover.png":1353,"./word_up.png":1354,"./xschoolHeadshot.png":930};function o(t){var e=r(t);return n(e)}function r(t){if(!n.o(map,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return map[t]}o.keys=function(){return Object.keys(map)},o.resolve=r,t.exports=o,o.id=635},function(t,e,n){t.exports=n.p+"img/ContentChallengeImg.40cd2a5.png"},function(t,e,n){t.exports=n.p+"img/career-certificate.850c5ef.png"},function(t,e,n){t.exports=n.p+"img/collectDefaultImg.0496aab.png"},function(t,e,n){t.exports=n.p+"img/contentSoftImg.ff149c1.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAOCAYAAAAmL5yKAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAENSURBVHgBlVI7TwJBEP5mbzFhS2lpPXOdLbRY+WhMtNXaTv0dtP4MHxj9CVY2xBASKKHkWkh43DB7G94Hd/cVu7Oz881+OzNATnDz85RbjYfFWSEHuPVeg6ZnMSvc/vatT2ci/jUMDN+D6WzpjKbXstYpldz9KWM8exSrtHM5wpNOlTyZXolpEgOKnq/3Si7CEmtg7EfEZicBt99KiOglUXICNhLw/0cVrG7FMlnI0pHBMoH09i5V8joIQwouOzqWPPOkyigjDxhNu7lBUnSMXKAQynw5anAToqDrsTMTF0Mcea8UnIfuuFAUV1/b6aocfNmSTy76q3xbcDUpVEHkyz9dNyjqQXm/tmjb8XOYa1XXuIBsPQAAAABJRU5ErkJggg=="},function(t,e,n){t.exports=n.p+"img/pattern.9e9f197.png"},function(t,e,n){t.exports=n.p+"8aec12659f9910d71316346294d7b451.svg"},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){"use strict";n(26),n(72),n(30),n(40),n(96),n(8),n(50),n(51),n(163),n(139),n(66),n(83);var o={components:{LeaveAlert:n(727).a},props:{content:{type:String,default:""},isOpenUrl:{type:Boolean,default:function(){return!0}}},data:function(){return{outSideUrl:""}},computed:{urlify:function(){var text=this.content,t=/(https?:\/\/[^\s]+)/g;return text.split(/\r?\n/).map((function(e){return e.replace(t,(function(t){return"<link>".concat(t,"<link>")})).split("<link>").map((function(e,n){return e.match(t)?{id:e+n,type:"url",value:e}:{id:e+n,type:"str",value:e}}))}))}},methods:{event:function(t){if(this.isOpenUrl){this.$emit("linkClick",{url:t});var e=new URL(t).hostname;this.outSideUrl=t,e.includes("104.com.tw")?this.toOutSideUrl():this.alertLeave()}},alertLeave:function(){this.$refs.LeaveAlert.openModal()},toOutSideUrl:function(){window.open(this.outSideUrl,"_blank")}}},r=(n(1371),n(38)),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("div",[t._l(t.urlify,(function(n,o){return e("div",{key:o},[t._l(n,(function(n){return e("span",{key:n.id,staticClass:"d-inline-block"},["url"===n.type?e("a",{staticClass:"link",style:{userSelect:t.isOpenUrl?"default":"none"},attrs:{rel:"noopener noreferrer ugc"},on:{click:function(e){return t.event(n.value)}}},[t._v(t._s(n.value)+"\n            ")]):e("span",[t._v(t._s(n.value))])])})),t._v(" "),o===t.urlify.length-1?t._t("after"):t._e()],2)})),t._v(" "),e("LeaveAlert",{ref:"LeaveAlert",attrs:{title:"連接到外部網站",msg:"您即將離開104人力銀行暨一零四集團相關網域，提醒您！確定離開後，請小心謹慎使用您的個人資料！",confirm:"我知道了"},on:{event:t.alertLeave,"click-confirm":t.toOutSideUrl}})],2)}),[],!1,null,"7f44ecea",null);e.a=component.exports},function(t,e,n){"use strict";n(34);var o={data:function(){return{activityKey:"",id:"",content:""}},methods:{closeModal:function(){this.$refs.modal.hide()},openModal:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",content=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";this.$refs.modal&&(this.activityKey=t,this.id=e,this.content=content,this.$refs.modal.show())},deleteConfirm:function(){this.$emit("apiDelete",this.activityKey,this.id)},DeleteActivity:function(t){this.$emit("apiDeleteActivity",t)}}},r=o,c=n(38),component=Object(c.a)(r,(function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{id:"bv-modal-toLogin",centered:"","dialog-class":"alertDialog"},scopedSlots:t._u([{key:"modal-header",fn:function(n){var o=n.close;return[e("h5",[t._v("確定要刪除以下內容嗎")]),t._v(" "),e("b-icon",{staticClass:"btn-close pointer p18",attrs:{icon:"x"},on:{click:function(t){return t.preventDefault(),o.apply(null,arguments)}}})]}},{key:"default",fn:function(n){var o=n.close;return[e("div",{staticClass:"alertDialog__content"},[e("p",{staticClass:"mb-0"},[t._v(t._s(t.content.slice(0,110)))]),t._v(" "),e("div",{staticClass:"btnGroup"},[e("button",{staticClass:"btn btn-outline-primary",on:{click:function(t){return t.preventDefault(),o.apply(null,arguments)}}},[t._v("取消")]),t._v(" "),e("button",{staticClass:"btn btn-secondary",on:{click:function(e){return e.preventDefault(),t.deleteConfirm.apply(null,arguments)}}},[t._v("確定")])])])]}}])})}),[],!1,null,null,null);e.a=component.exports},,function(t,e,n){t.exports=n.p+"img/Manner1.aae621a.png"},function(t,e,n){t.exports=n.p+"img/Lulu_50.32f8a6c.png"},function(t,e,n){t.exports=n.p+"img/google-analytics-img@3x.f7a75ea.png"},function(t,e,n){t.exports=n.p+"img/group-3.a377baf.png"},function(t,e,n){t.exports=n.p+"img/img-pic-searchEmpty.8622020.png"},function(t,e,n){t.exports=n.p+"img/lulu-42@2x.85df892.png"},function(t,e,n){t.exports=n.p+"img/toeic-result-bg.fe1c2c7.png"},function(t,e,n){t.exports=n.p+"318c314e27523d57d5ee7a8996e2f7c9.svg"},function(t,e,n){"use strict";var o={props:{value:{type:Object,default:function(){}},optionList:{type:Array,default:function(){return[{id:0,value:"教室一"},{id:1,value:"教室2"},{id:2,value:"教室3"},{id:3,value:"教室4"},{id:4,value:"教室5"}]}},placeholder:{type:String,default:function(){return""}},disable:{type:Boolean,default:function(){return!1}}},data:function(){return{selected:!1}},methods:{openOption:function(){this.disable||(this.selected=!0)},select:function(option){this.$emit("input",option),this.selected=!1}}},r=(n(728),n(38)),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:function(){t.selected=!1},expression:"\n        () => {\n            selected = false\n        }\n    "}],staticClass:"selectBox",on:{click:t.openOption}},[e("div",{staticClass:"select",class:{selected:t.selected}},[t.value?e("span",{staticClass:"value"},[t._v(t._s(t.value.value))]):e("span",{staticClass:"placeholder"},[t._v(t._s(t.placeholder))]),t._v(" "),e("span",{staticClass:"icon"})]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.selected,expression:"selected"}],staticClass:"optionListBox"},[e("div",{staticClass:"optionList"},t._l(t.optionList,(function(option){return e("span",{key:option.id,staticClass:"option",class:{selected:t.value?option.id===t.value.id:!!t.value},on:{click:function(e){return e.stopPropagation(),t.select(option)}}},[t._v(t._s(option.value))])})),0),t._v(" "),e("div",{staticClass:"space"})])])}),[],!1,null,"25de5bc7",null);e.a=component.exports},function(t,e,n){"use strict";var o={props:{from:{type:String,default:""}},data:function(){return{content:"",blackType:"spam",activityKey:"",id:""}},methods:{reset:function(){this.content="",this.blackType="spam",this.activityKey="",this.id=""},openModal:function(t,e){this.$refs.modal&&(this.activityKey=t,this.id=e,this.$refs.modal.show())},closeModal:function(){this.$refs.modal.hide(),this.reset()},apiReportBlack:function(){var t=this.content,e=this.blackType,n=this.from;""!==e&&("comment"===n&&this.$emit("apiReport",this.activityKey,this.id,e,t),"activity"===n&&this.$emit("apiReport",e,t))}}},r=n(38),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("client-only",[e("ValidationObserver",{ref:"observer"},[e("b-modal",{ref:"modal",attrs:{id:"bv-modal-reportDialog",centered:"",scrollable:"","dialog-class":"postDialog"},scopedSlots:t._u([{key:"modal-header",fn:function(n){var o=n.close;return[e("h5",{staticClass:"header-text"},[t._v("我要檢舉這篇文章")]),t._v(" "),e("i",{staticClass:"btn-close pointer",on:{click:function(t){return t.preventDefault(),o.apply(null,arguments)}}})]}},{key:"default",fn:function(n){var o=n.close;return[e("div",{staticClass:"postDialog__content"},[e("form",{attrs:{action:""}},[e("label",{staticClass:"mb-4",attrs:{for:""}},[e("b",[t._v("檢舉原因"),e("span",{staticClass:"text-danger"},[t._v("*")])])]),t._v(" "),e("div",{staticClass:"reportCheckbox"},[e("label",{staticClass:"custom-checkbox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.blackType,expression:"blackType"}],attrs:{type:"radio",value:"spam",name:"blackType"},domProps:{checked:t._q(t.blackType,"spam")},on:{change:function(e){t.blackType="spam"}}}),t._v(" "),e("span",{staticClass:"checkbox"}),t._v(" "),e("span",[t._v("垃圾內容")])]),t._v(" "),e("label",{staticClass:"custom-checkbox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.blackType,expression:"blackType"}],attrs:{type:"radio",value:"violent_dangerous",name:"blackType"},domProps:{checked:t._q(t.blackType,"violent_dangerous")},on:{change:function(e){t.blackType="violent_dangerous"}}}),t._v(" "),e("span",{staticClass:"checkbox"}),t._v(" "),e("span",[t._v("暴力或具危險")])]),t._v(" "),"activity"===t.from?e("label",{staticClass:"custom-checkbox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.blackType,expression:"blackType"}],attrs:{type:"radio",value:"unclear_question",name:"blackType"},domProps:{checked:t._q(t.blackType,"unclear_question")},on:{change:function(e){t.blackType="unclear_question"}}}),t._v(" "),e("span",{staticClass:"checkbox"}),t._v(" "),e("span",[t._v("主題不明")])]):t._e(),t._v(" "),"comment"===t.from?e("label",{staticClass:"custom-checkbox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.blackType,expression:"blackType"}],attrs:{type:"radio",value:"unclear_question",name:"blackType"},domProps:{checked:t._q(t.blackType,"unclear_question")},on:{change:function(e){t.blackType="unclear_question"}}}),t._v(" "),e("span",{staticClass:"checkbox"}),t._v(" "),e("span",[t._v("內容不明")])]):t._e(),t._v(" "),e("label",{staticClass:"custom-checkbox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.blackType,expression:"blackType"}],attrs:{type:"radio",value:"yellow_label",name:"blackType"},domProps:{checked:t._q(t.blackType,"yellow_label")},on:{change:function(e){t.blackType="yellow_label"}}}),t._v(" "),e("span",{staticClass:"checkbox"}),t._v(" "),e("span",[t._v("煽情露骨")])]),t._v(" "),e("label",{staticClass:"custom-checkbox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.blackType,expression:"blackType"}],attrs:{type:"radio",value:"hatred_harassment_bullying",name:"blackType"},domProps:{checked:t._q(t.blackType,"hatred_harassment_bullying")},on:{change:function(e){t.blackType="hatred_harassment_bullying"}}}),t._v(" "),e("span",{staticClass:"checkbox"}),t._v(" "),e("span",[t._v("仇恨、騷擾、霸凌")])]),t._v(" "),e("label",{staticClass:"custom-checkbox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.blackType,expression:"blackType"}],attrs:{type:"radio",value:"other",name:"blackType"},domProps:{checked:t._q(t.blackType,"other")},on:{change:function(e){t.blackType="other"}}}),t._v(" "),e("span",{staticClass:"checkbox"}),t._v(" "),e("span",[t._v("其他")])])]),t._v(" "),e("div",{staticClass:"is-invalid"},[""===t.blackType?e("div",{staticStyle:{"font-size":"12px","line-height":"1.5",color:"#ea475b"}},[t._v("\n                                請選擇檢舉原因\n                            ")]):t._e()]),t._v(" "),e("label",{attrs:{for:""}},[e("b",[t._v("檢舉說明"),e("span",{staticClass:"text-danger"},[t._v("*")])])]),t._v(" "),e("ValidationProvider",{staticClass:"d-block w-100",attrs:{rules:"required|commentContentLen:1,1000|sensitiveWord"},scopedSlots:t._u([{key:"default",fn:function(n){var o=n.failed,r=n.errors;return[e("div",{class:["postArea",{"is-invalid":o}]},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.content,expression:"content"}],attrs:{rows:"5",name:"檢舉內容",maxlength:"1000",placeholder:"請說明欲檢舉的具體事證..."},domProps:{value:t.content},on:{input:function(e){e.target.composing||(t.content=e.target.value)}}}),t._v(" "),e("p",[t._v(t._s(t.content.length)+"/1000")]),t._v(" "),o?e("div",{staticClass:"invalid-txt"},[t._v(t._s(r[0]))]):t._e()])]}}],null,!0)}),t._v(" "),e("div",{staticClass:"btnGroup"},[e("button",{staticClass:"btn btn-outline-primary",on:{click:function(t){return t.preventDefault(),o.apply(null,arguments)}}},[t._v("\n                                取消\n                            ")]),t._v(" "),e("button",{staticClass:"btn btn-secondary",attrs:{disabled:0===t.content.length},on:{click:function(e){return e.preventDefault(),t.apiReportBlack.apply(null,arguments)}}},[t._v("\n                                送出\n                            ")])])],1)])]}}])})],1)],1)}),[],!1,null,null,null);e.a=component.exports},function(t,e,n){"use strict";n(37),n(14),n(13),n(11),n(15),n(10),n(16);var o=n(4),r=n(3),c=(n(27),n(87),n(8),n(36)),l=n(572),d=n(12);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function m(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var A=n(39)("src/client/components/modals/CkoRoomList.vue").error,h={components:{ConfirmAlert:l.a},props:{pid:{type:String,default:""},headshot:{type:String,default:""},name:{type:String,default:""},jobTitle:{type:String,default:""}},computed:m(m(m(m({},Object(c.c)(["isLogin"])),Object(c.c)({userPid:"pid"})),Object(c.e)("updatelist",["roomUpdate"])),{},{isCko:function(){return this.createRoomList.find((function(t){return 1===t.cko_type}))||this.residentRoomList.find((function(t){return 1===t.cko_type}))},showUnOfficeRoomFocus:function(){return this.userPid!==this.pid}}),data:function(){return{createRoomList:[],residentRoomList:[],isShowLogin:!1}},watch:{roomUpdate:function(){this.roomUpdateProcess()}},methods:m(m(m(m({},Object(c.d)({setRunLogin:"setRunLogin"})),Object(c.d)("updatelist",["addRoomUpdate"])),Object(c.b)("updatelist",["getRoomUpdate"])),{},{fetchCkoRoomList:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){var o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e.$api.user.getCkoRoomList(t);case 3:o=n.sent,e.createRoomList=o.data.create_room_list||[],e.residentRoomList=o.data.resident_room_list||[],n.next=11;break;case 8:n.prev=8,n.t0=n.catch(0),A("ckoRoom",n.t0);case 11:case"end":return n.stop()}}),n,null,[[0,8]])})))()},clickToRoom:function(t){this.$router.push("/room/"+t)},openModal:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.fetchCkoRoomList(t.pid);case 2:t.$refs.modal.show();case 3:case"end":return e.stop()}}),e)})))()},closeModal:function(){this.createRoomList=[],this.residentRoomList=[],this.$refs.modal.hide()},onHidden:function(t){this.resovle&&(this.resovle(this.value),this.resovle=void 0)},focusClick:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){var o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.prev=0,e.isLogin){n.next=4;break}return e.isShowLogin=!0,n.abrupt("return");case 4:if(!t||!t.room_id){n.next=18;break}if(!t.is_favorite){n.next=12;break}return n.next=8,e.$api.cls.cancelRoomFavorite({roomId:t.room_id});case 8:e.addRoomUpdate({room_id:t.room_id,is_favorite:!1}),e.$toast.show("已取消關注囉！"),n.next=18;break;case 12:return n.next=14,e.$api.cls.setRoomFavorite({room_id:t.room_id});case 14:o=n.sent,e.addRoomUpdate({room_id:t.room_id,is_favorite:!0}),e.$toast.show('已關注到<a href="/mynabi/classroom" class="text-white" style="text-decoration: underline">我的教室</a>！'),o.isFirst&&e.$refs.focus.openModal();case 18:n.next=22;break;case 20:n.prev=20,n.t0=n.catch(0);case 22:case"end":return n.stop()}}),n,null,[[0,20]])})))()},roomUpdateProcess:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var i,n,o,r,c,l,f,m;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=t.createRoomList.length-1;case 1:if(!(i>-1)){e.next=15;break}if(!(n=t.createRoomList[i])){e.next=9;break}return e.next=6,t.getRoomUpdate(n.room_id);case 6:e.t0=e.sent,e.next=10;break;case 9:e.t0=void 0;case 10:(o=e.t0)&&(r=t.$deepUpdate(n,o),d.default.set(t.createRoomList,i,r));case 12:i--,e.next=1;break;case 15:c=t.residentRoomList.length-1;case 16:if(!(c>-1)){e.next=30;break}if(!(l=t.residentRoomList[c])){e.next=24;break}return e.next=21,t.getRoomUpdate(l.room_id);case 21:e.t1=e.sent,e.next=25;break;case 24:e.t1=void 0;case 25:(f=e.t1)&&(m=t.$deepUpdate(l,f),d.default.set(t.residentRoomList,c,m));case 27:c--,e.next=16;break;case 30:case"end":return e.stop()}}),e)})))()},clickConfirmModal:function(data){"toLogin"===data.action&&this.setRunLogin(!0),this.clickCloseModal()},clickCloseModal:function(){this.isShowLogin=!1},handleRoomImgError:function(t){var img=this.$getDefaultImgByHash(t);return'this.src="'.concat(img,'"')}})},v=(n(1372),n(38)),component=Object(v.a)(h,(function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"",scrollable:"","hide-footer":"","dialog-class":"modal-720","content-class":"max-h-720","header-class":"pb-3","body-class":"t4 mt-1 px-0","no-enforce-focus":""},on:{hidden:t.onHidden},scopedSlots:t._u([{key:"modal-header",fn:function(o){var r=o.close;return[e("div",{staticClass:"h3"}),t._v(" "),e("div",{staticClass:"d-flex"},[e("div",[t.headshot?e("b-img",{staticClass:"mr-3",attrs:{src:t.headshot,width:"70",height:"70",rounded:"circle"}}):e("b-img",{staticClass:"mr-3",attrs:{src:n(560),width:"70",height:"70",rounded:"circle"}})],1),t._v(" "),e("div",[e("strong",{staticClass:"d-block mb-1 p12 text-org font-weight-normal"},[t._v("\n                    "+t._s(t.isCko?"知識長":"副知識長"))]),t._v(" "),t.name?e("p",{staticClass:"mb-0 p18 text-29"},[t._v(t._s(t.name))]):t._e(),t._v(" "),t.jobTitle?e("p",{staticClass:"mb-0 p14 text-29"},[t._v(t._s(t.jobTitle))]):t._e()])]),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button"},on:{click:r}})]}}])},[t._v(" "),t.residentRoomList.length>0?e("div",{staticClass:"padding-60 h3 mb-6"},[t._v("目前駐站教室")]):t._e(),t._v(" "),t._l(t.residentRoomList,(function(n,o){return e("div",{key:"resident_".concat(o),staticClass:"d-flex align-items-center padding-60 mb-5"},[e("router-link",{attrs:{to:"/room/".concat(n.room_id)}},[e("img",{staticClass:"roomImg",attrs:{src:n.photo_small_file_url,alt:"",onerror:t.handleRoomImgError(n.room_title)}})]),t._v(" "),e("div",[e("div",{staticClass:"px-3 font-weight-bold p14 text-29 overflowMuiltLine",style:{cursor:n.room_id?"pointer":"none"},on:{click:function(e){return t.clickToRoom(n.room_id)}}},[t._v("\n                "+t._s(n.room_title)+"\n            ")])]),t._v(" "),e("div",{staticClass:"d-flex ml-auto"},[e("div",{staticClass:"focus-btn dark light mr-4",class:{done:n.is_favorite},staticStyle:{width:"80px"},on:{click:function(e){return e.stopPropagation(),t.focusClick(n)}}},[t._v("\n                "+t._s(n.is_favorite?"已關注":"關注")+"\n            ")]),t._v(" "),e("div",{staticClass:"focus-btn dark light mr-4",staticStyle:{width:"80px"},on:{click:function(e){return t.clickToRoom(n.room_id)}}},[t._v("\n                前往\n            ")])])],1)})),t._v(" "),t.createRoomList.length>0?e("div",{staticClass:"padding-60 h3 mb-6 mt-4"},[t._v("創建的教室")]):t._e(),t._v(" "),t._l(t.createRoomList,(function(n,o){return e("div",{key:"create_".concat(o),staticClass:"d-flex align-items-center padding-60 mb-5"},[e("img",{staticClass:"roomImg",attrs:{src:n.photo_small_file_url,alt:"",onerror:t.handleRoomImgError(n.room_title)}}),t._v(" "),e("div",[e("div",{staticClass:"px-3 font-weight-bold p14 text-29 overflowMuiltLine"},[t._v("\n                "+t._s(n.room_title)+"\n            ")])]),t._v(" "),e("div",{staticClass:"d-flex ml-auto"},[t.showUnOfficeRoomFocus?e("div",{staticClass:"focus-btn dark light mr-4",class:{done:n.is_favorite},staticStyle:{width:"80px"},on:{click:function(e){return e.stopPropagation(),t.focusClick(n)}}},[t._v("\n                "+t._s(n.is_favorite?"已關注":"關注")+"\n            ")]):t._e(),t._v(" "),e("div",{staticClass:"focus-btn dark light mr-4",staticStyle:{width:"80px"},on:{click:function(e){return t.clickToRoom(n.room_id)}}},[t._v("\n                前往\n            ")])])])})),t._v(" "),e("ConfirmAlert",{attrs:{"is-show":t.isShowLogin,title:"訊息",msg:"登入後才能關注教室哦"},on:{"click-confirm":t.clickConfirmModal,"click-close":t.clickCloseModal}})],2)}),[],!1,null,"22eac45e",null);e.a=component.exports},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABPSURBVHgB7cABDQAAAMKg909tDjcoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAODVAOF4AAGCAmLhAAAAAElFTkSuQmCC"},function(t,e,n){t.exports=n.p+"img/certifyCentral-category-icon-administration.984afb7.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-category-icon-construction.9009e64.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-category-icon-design.3ba6887.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-category-icon-education.1e8b63a.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-category-icon-healthcare.af735f6.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-category-icon-hospitality.eaf59ba.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-category-icon-hots.f60d720.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-category-icon-human-resources.669b4c2.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-category-icon-information.a68b0e1.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-category-icon-language.deb8584.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-category-icon-management.a3cb7c7.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-category-icon-manufacturing.80d08d6.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-category-icon-mechanical-electrical.0092d37.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-category-icon-planning.c47289c.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-category-icon-transportation.7a35465.png"},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports=n.p+"img/2004002002-01@2x.ee79035.png"},function(t,e,n){t.exports=n.p+"img/2004002002-02@2x.a502988.png"},function(t,e,n){t.exports=n.p+"img/2004002002-03@2x.72fa67b.png"},function(t,e,n){t.exports=n.p+"img/2004002002-04@2x.6b1068d.png"},function(t,e,n){t.exports=n.p+"img/2004002002-05@2x.4b95b26.png"},function(t,e,n){t.exports=n.p+"img/2004002002-06@2x.48cfadd.png"},function(t,e,n){t.exports=n.p+"img/2004002002-07@2x.b93e332.png"},function(t,e,n){t.exports=n.p+"img/Lulu_45.c713061.png"},function(t,e,n){t.exports=n.p+"img/button-icon.db62dae.png"},function(t,e,n){t.exports=n.p+"img/career-other.e5ab404.png"},function(t,e,n){t.exports=n.p+"img/career-read.c144624.png"},function(t,e,n){t.exports=n.p+"img/chrma-img.3d19160.png"},function(t,e,n){t.exports=n.p+"img/Bunny_04.1df17d8.png"},function(t,e,n){t.exports=n.p+"img/Group 14.69e4498.png"},function(t,e,n){t.exports=n.p+"img/feedStart-img1-M.84423b9.png"},function(t,e,n){t.exports=n.p+"img/feedStart-img1.175cc20.png"},function(t,e,n){t.exports=n.p+"img/google-ads-img.8e228e2.png"},function(t,e,n){t.exports=n.p+"img/hr-intro-img-1.260f539.png"},function(t,e,n){t.exports=n.p+"img/hr-intro-img-2.1aabbd7.png"},function(t,e,n){t.exports=n.p+"img/img-hr-chart.f05ae8e.png"},function(t,e,n){t.exports=n.p+"img/img-pic-empty.969afc2.png"},function(t,e,n){t.exports=n.p+"img/macOS-img.194ecb6.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAACgBAMAAAB54XoeAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAbUExURUdwTAB51wB62QB52AB51wB/5gB82gB51wB41ilWqEYAAAAIdFJOUwDGP5Z8CyHqUrxxmAAAAbRJREFUaN7t2jtvwjAUBeA0OJkRUtuMLJU6ZgFlZKnksY+hK1IXRrpUWVMo+GfXcRqRRILexgc1as8dbfiEHyS+1g0CBoPxd+Pl2nwbr3O592REMZN6USIDi3shODLCSIXgSgruhGAmBTdCsDOF22XdEevOJArBvP21xaFHtXv2QrAzsOWhJ+50DQQ8PuSe4PFF6QmeCIInQODHCBIkSJAgQYIECRL8JfAODZoJElRl8wQIatecwkBlXBrdumXwArVtiW2mfwkClWsJ89ZP9AF11fLQmkUPUNUtiXmHgLpueW7eW/QHVZUnXtlZNGYKAHUF7qfllc7YE2xksuatvHTaAUE7fxeNVfEH7fypxvUUAEztqhRIcBzEjespALgOooGD8CHDFwW9bdzG3qL/eh9Dezic5fEFf8DiXwHwlxT+NQp/0eOPIl+HpcWAj3PwA+c5jsTMUwgSJEiQIEGCBP8vyEoMPLi5ecyQYJl7hzkQdEntLRB0Se0ICLp7gRAIuiQ0GjLoOeRcuijSUrdEum2kxXiZdGNLywVX0r+etKARXnIZoItC4WWrssLa4geFtQwGoxOfDc+mt+BUhFcAAAAASUVORK5CYII="},function(t,e,n){t.exports=n.p+"img/mynai-career-empty.7737d2b.png"},function(t,e,n){t.exports=n.p+"img/flower.15a00a0.png"},function(t,e,n){t.exports=n.p+"img/testResult-lulu.a9a7a83.png"},function(t,e,n){t.exports=n.p+"img/userJobAnalysis-img.55ff49d.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAACgBAMAAAB54XoeAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAeUExURQF41v///9nt9+r1+CmK1aXP6BN+0pHG6FSi2Vqk3MqTYa4AAAEXSURBVGje7Zq9CsIwFEY7iWtaSve2g2vQIu46+BZZGjoL4jN0ddG+rdpBSoUrldAfey6FlPRySL7LdwshnnIcHkCAAAH2CvRjMRIVyAlxG5jahXk+xtRjI8xrzuYqs80p+x7rV2ML3QJuPDFyFckJH8D0GzCTE5adgaFrYOZ6y1HPK3Su4QiqjIbT07AYvZedazjDfoiG/FOmqeEMG2w09eaAhn/RYKkyGuIUqoyG89XQONZw23GFq70YBxXKCcc2MFiLoVWQyBmDn3DqwY9Md2VZCXFVofS5ut84quKvR8dGQzSk21BlNMQpVBmn4BSqjFPQEKfgFDTEKT9uObuIcVK+nHDWHc8PgxFcCtWugVysBQhwysAHaw8fKoySVN0AAAAASUVORK5CYII="},function(t,e,n){t.exports=n.p+"img/window-setting-img.e0a6d0a.png"},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports=n.p+"007509edc4c589f4d737ae27d2c68c7c.svg"},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){"use strict";n(8);var o=n(39)("src/client/components/modals/Alert/LeaveAlert.vue").debug,r={props:{id:{type:String,default:"ConfirmAlertModal"},isShow:{type:Boolean,default:!1},title:{type:String,required:!0},msg:{type:String,required:!1,default:void 0},confirm:{type:String,required:!1,default:"確認"},abort:{type:String,required:!1,default:"取消"}},data:function(){return{showModal:!1}},watch:{isShow:function(t){o(t,this.showModal),!this.showModal&&t&&(this.showModal=!0),o(this.showModal)}},methods:{openModal:function(){this.value=!1;var t=this;return this.$refs.modal&&this.$refs.modal.show(),new Promise((function(e){t.resovle=e}))},hideModal:function(){this.$refs.modal&&this.$refs.modal.hide()},onHidden:function(t){this.resovle&&(this.resovle(this.value),this.resovle=void 0)},onClose:function(){this.showModal=!1,this.$emit("click-close"),o("close")},onConfirm:function(){this.showModal=!1,this.$emit("click-confirm",{action:"toLogin"}),o("close")}}},c=n(38),component=Object(c.a)(r,(function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{id:t.id,centered:"",scrollable:"","hide-footer":"","dialog-class":"modal-480","body-class":"t4 line-h-143"},on:{hidden:t.onClose,close:t.onClose},scopedSlots:t._u([{key:"modal-header",fn:function(){return[e("h4",{staticClass:"modal-title text-center h2"},[t._v(t._s(t.title))]),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button"},on:{click:t.onClose}})]},proxy:!0},{key:"default",fn:function(){return[t.msg?t._e():t._t("default"),t._v(" "),e("h4",[t._v(t._s(t.msg))]),t._v(" "),e("div",{staticClass:"text-center my-8 d-flex justify-content-end"},[e("button",{staticClass:"btn btn-sm btn-outline-secondary h4",attrs:{type:"button"},on:{click:t.onConfirm}},[t._v("\n                "+t._s(t.confirm)+"\n            ")])])]},proxy:!0}],null,!0),model:{value:t.showModal,callback:function(e){t.showModal=e},expression:"showModal"}})}),[],!1,null,null,null);e.a=component.exports},function(t,e,n){"use strict";n(604)},function(t,e,n){t.exports=n.p+"img/card-default-img.5406f87.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMBAMAAACkW0HUAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAeUExURf+SAEdwTP+SAP+SAP+UAP+UAP+VAP+SAP+RAP+RAOB0X3IAAAAJdFJOU8AA9a8+XzDegqC22LIAAAAlSURBVAjXYxDRnDlzkiOD8EwgMGQQAFGM5FCqQUBKYnqiWGUjAMvcHG14cAIhAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACshmLzAAACzklEQVRYCe2XPWgTYRjHc0kbjSUIRpCCiuAgxKG0VexQBRGKFccScBIUoYJkyyCk+XQIZJEIQtBF0b1gsYOL+AHWj4oOTl3EElI01CHB1CQXf1fyHpfc+9qrJhbUwPF8P///Pe97711crn/9p6kGkEgkthNL6Lo+hTyoyvuJv0bsg9vtvo28ST9dltsnc5LcB/BjYsdkcYe+fvKG6HND07Rh9IuyOrfMSdFl/L8D3ta22WxeSKVSx9ucLUM6AWKnRDIjTAaDwXQoFGoInxOZy+W2lUqle4AbS+jipiYRTztrpRMgaa9IhMCDzYIbteFweI3Rz4s+ENkjdKtUETBzYN40jR4oGxLoAWZby7+bAMu3Zrnd7xbdVKUTYPMoDyiz0oHi9/tnSXvOtULLO7IS6WPIju3KxotEIhVAx2XAwiedgAh2Q3IvGierEkcZ6AZ4JpPZGY/H37IXljkJR2U9e0qgWq0ap98Q1yAkLv1xAgDuEKAshfFysv16OgEbmsTxn8CWT0B6EEmWyubK5/P9xWJxghPuKzt8gWe9bkty4PilCQA2VigUlhqNxly9Xn8GgRf4DjjAs6VsmgBAVwB8wmO139JtFPsNsTMWnyPV8RJks9mBSqVyC/Bzls6rLMEA4F6uXVxzkLhGHCH/CrbUrquOJpBOpw+Vy+WXVnCAX3u93mGPx3OCTp9ajTVyZiAyD4HdnWAy2wmBqVqt9oqmQdGA78R8IBAYj0ajH2Ox2AL2CLFHIk7uBEQWkUeFTyU3JECjqxT7Ww2+AXaeu5s2PjpFU+wv+E8zFWP84lW+DwLTIkclpQRotNJZgG8JkDHA7nbGDBu/nkwmZ8g5i7namUO9WKa2kJQATa5TYH5Coc/6fL4jgLxvq5YY5DykfoSaRUv4M3vlvsU2VeWnF+/vw4z/JM3esc62PxRmB4UCES8kJlmGQVKMp2NZkbq17h/QCgd23gr/ZgAAAABJRU5ErkJggg=="},function(t,e,n){t.exports=n.p+"img/nabi-msg.f8ae8a3.png"},function(t,e,n){t.exports=n.p+"img/purchase-done-bk.20c2a78.png"},function(t,e,n){t.exports=n.p+"img/cartNoLogin.0bd8913.png"},function(t,e,n){t.exports=n.p+"img/certifyMascot-1.b9f55c7.png"},function(t,e,n){t.exports=n.p+"img/certifyMascot-2.a4fa993.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-img-1.e8dd94b.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-img-3.75a4fcc.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-img-2.95f70f8.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-img-4.af90d0e.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-bk-2.2feac4a.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-bk-11.6b62ce7.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-bk-4.5a3a004.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-bk-13.ca153b9.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-bk-16.c6fd513.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-bk-5.ed6e153.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-bk-6.d3afde4.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-img-5.5ae3d00.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-bk-7.d63249f.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-bk-14.bae2468.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-bk-17.cf86b9f.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-img-6.3bafbf2.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-bk-8.cee6255.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-bk-15.9afd511.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-bk-18.07ecb28.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-bk-1.618402c.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-bk-10.13b1fed.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-bk-3.abbce88.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-bk-12.9e17731.png"},function(t,e,n){t.exports=n.p+"img/certifyCentral-bk-9.d7c6230.png"},function(t,e,n){t.exports=n.p+"img/orgDefault.2538aeb.png"},function(t,e,n){t.exports=n.p+"img/104HrImg-M.2f795bd.png"},function(t,e,n){t.exports=n.p+"img/104HrImg.ccf7341.png"},function(t,e,n){t.exports=n.p+"img/104HrLogo.85cbac7.png"},function(t,e,n){t.exports=n.p+"img/104bravoHeadshot.dd4f651.png"},function(t,e,n){t.exports=n.p+"img/104hrHeadshot.a62650f.png"},function(t,e,n){t.exports=n.p+"img/104senior-banner.439f26c.png"},function(t,e,n){t.exports=n.p+"img/104senior-img.86027fd.png"},function(t,e,n){t.exports=n.p+"img/104senior-logo.913f8e3.png"},function(t,e,n){t.exports=n.p+"img/104seniorHeadshot.3b6f366.png"},function(t,e,n){t.exports=n.p+"img/GoogleImg-M.f182b3c.png"},function(t,e,n){t.exports=n.p+"img/GoogleImg.6d03450.png"},function(t,e,n){t.exports=n.p+"img/GoogleLogo.deb7aff.png"},function(t,e,n){t.exports=n.p+"img/Group 1160.96999d0.png"},function(t,e,n){t.exports=n.p+"img/Group 1162.1b52462.png"},function(t,e,n){t.exports=n.p+"img/ITIHeadshot.c55343d.png"},function(t,e,n){t.exports=n.p+"img/ITIImg-a.80259d4.png"},function(t,e,n){t.exports=n.p+"img/ITILogo.800f07e.png"},function(t,e,n){t.exports=n.p+"img/TOCHeadshot.6727ee9.png"},function(t,e,n){t.exports=n.p+"img/TOCImg-a-M.1921d3d.png"},function(t,e,n){t.exports=n.p+"img/TOCImg-a.a019459.png"},function(t,e,n){t.exports=n.p+"img/TOCLogo.096740d.png"},function(t,e,n){t.exports=n.p+"img/acadImg-M.598b201.png"},function(t,e,n){t.exports=n.p+"img/acadImg.4c49d59.png"},function(t,e,n){t.exports=n.p+"img/acadLogo.dc1c602.png"},function(t,e,n){t.exports=n.p+"img/cace-twHeadshot.4e28823.png"},function(t,e,n){t.exports=n.p+"img/ccornerHeadshot.3f1b64d.png"},function(t,e,n){t.exports=n.p+"img/cdri-logo.37bff39.png"},function(t,e,n){t.exports=n.p+"img/cdriHeadshot.2596698.png"},function(t,e,n){t.exports=n.p+"img/chrmaHeadshot.77295ea.png"},function(t,e,n){t.exports=n.p+"img/chrmaImg-M.8fa0b5c.png"},function(t,e,n){t.exports=n.p+"img/chrmaImg.7c349e6.png"},function(t,e,n){t.exports=n.p+"img/chrmaLogo.2babd60.png"},function(t,e,n){t.exports=n.p+"img/colasjapanHeadshot.ba8b5ca.png"},function(t,e,n){t.exports=n.p+"img/collect-none-m.c89f4a0.png"},function(t,e,n){t.exports=n.p+"img/collect-none.1304e7e.png"},function(t,e,n){t.exports=n.p+"img/coreCornerHeadshot.3f1b64d.png"},function(t,e,n){t.exports=n.p+"img/Frame.5cb5be9.png"},function(t,e,n){t.exports=n.p+"img/Property 1=admin.eb28138.png"},function(t,e,n){t.exports=n.p+"img/Property 1=code.f47b99d.png"},function(t,e,n){t.exports=n.p+"img/Property 1=design.dd81bbf.png"},function(t,e,n){t.exports=n.p+"img/Property 1=gov.1a0e20f.png"},function(t,e,n){t.exports=n.p+"img/Property 1=grow.6b2fec5.png"},function(t,e,n){t.exports=n.p+"img/Property 1=invs.b686c73.png"},function(t,e,n){t.exports=n.p+"img/Property 1=lang.a39f6f9.png"},function(t,e,n){t.exports=n.p+"img/Property 1=life.55f36b5.png"},function(t,e,n){t.exports=n.p+"img/Property 1=lisence.65baf51.png"},function(t,e,n){t.exports=n.p+"img/Property 1=mk.3e8d02f.png"},function(t,e,n){t.exports=n.p+"img/Property 1=pm.731197a.png"},function(t,e,n){t.exports=n.p+"img/Property 1=sale.6776555.png"},function(t,e,n){t.exports=n.p+"img/Rectangle 1779.42e8beb.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABZCAYAAADb0cHTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGtSURBVHgB7dpNSutQGIfxc+69C7hLcAfagWLBgTtSV2LdiUtwoi1OqjtwIxrjJ4g2vCYE3tDfMyiUf87TQaAt4anlnaPl+vixKXu1lv/lb7m8OZjdlQHwjeOrLy/z2/vz8tScfj1SF8vD3bPSA77xfHW+WrdDPf/5aHO2PJwtym8+jG9U3592PNl8vGvrc4ZvqK+9YWVn8wWdW58zXRtfwPdywx46Luja+pzp2vgCvvaGNReb966tzxm+ob63f4mr9eL7d2dz0f5gnpYe8I3nqx9v96/Xe/9qOX6darlbzWdXZQB8uXwAAAAAAADAQD6fJWomNB18mg4+TUd4y+HTdMS3FD5NR3xL4dN0hLccPk3HxHyaji3xAQAAAAAAAAPRdGg6+Mb0aTom5tN0hLccPk1HfEvh03TEtxQ+TUd4y+HTdEzMp+nYEh8AAAAAAAAwEE2HpoNvTJ+mY2I+TUd4y+HTdMS3FD5NR3xL4dN0hLccPk3HxHyaji3xAQAAAAAAAAPRdGg6+Mb0aTom5tN0hLccPk1HfEvh03TEtxQ+TUd4y+HTdEzMp+mYmO8ZBd5rvg5gGvQAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAYCAYAAABwZEQ3AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAB+SURBVHgB7ZSxCYAwEEX/BbQQBUdyBF3AGVzFDQQHcAVHEsHGwtOkTkCEmOa/IpDkXXPFEzzoXCxQtBBZUWaddNsGD7E9o3PVugf3qw32c/APxvcM9Krxhh88I/0xQWV0N7uuK598s6k8QsgXxB4sMAvMAhOSABY45LHAIe8GqfIMD7SNW3AAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABZCAYAAADb0cHTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGcSURBVHgB7drRTcJgFEfx+zGBIziCI7iR+oYOIL4BmziCIzCCm2AFo5FIc23T5Db8zgsh/36HB5LSkNPii/0ybqPFTezjKhbx2p5jFyPgm8bXDuNjrLvh/teJFpu2iocYAN90vtaN9924/vNk6y5YxSb+92F8E/oW3Xh3/nTPNuQM32jfonu5jvP0bUPO9G18Cd/nF/bec0HfNuRM38aX8C26++L27Ny3DTnDN9p3fEpcHn4YT++d2/Zy8qSShG86X/u+6OnwzH97fBO7bnyLEfDV8gEAAAAAAAAj+fkvUTOh6eDTdFy8T9OR3Yr4NB35rYRP05HfSvg0HdmtiE/TMTOfpuNCfAAAAAAAAMBINB2aDr4pfZqOmfk0HdmtiE/Tkd9K+DQd+a2ET9OR3Yr4NB0z82k6LsQHAAAAAAAAjETToengm9Kn6ZiZT9OR3Yr4NB35rYRP05HfSvg0HdmtiE/TMTOfpuNCfAAAAAAAAMBINB2aDr4pfZqOmfk0HdmtiE/Tkd9K+DQd+a2ET9OR3Yr4NB0z82k6Zub7AK/JnPcaqDbcAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAABECAYAAABJRz1pAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFESURBVHgB7doxTgJBGIbhfyaaqAW1d7DxBF7HM3kdT2DjHWxt1EREZ7YxRJAsVLP/81SGcV+aTVjCV6L5foir+IjbOItVfMV5bOIlLuO53MdbHEFvnF6ZDtdxNx1sXRWfcRGPc99Ub6xebYc3fw670l7rd81cekP1aju8/ufyVcylN1Sv3wDrvcdlx51z+A31BurVqPG69x/6w8JcekP1ansQeNp5l5T2WntSjLn0huqV/vf0pPjeHhZq+7zoB5t217QLT/raobfYHgAAAAAAMI7fH4Ns5GwCt6+yucvQswlM3rMJTN6zCUzeswlM3rMJTN6zCdQDAAAAAAAWzCbQJtBGLnPPJjB5zyYwec8mMHnPJjB5zyYwec8mUA8AAAAAAFgwm0CbQBu5zD2bwOQ9m8DkPZvA5D2bwOQ9m8DkPZvA5L0fqSsiwbHzJr0AAAAASUVORK5CYII="},function(t,e,n){t.exports=n.p+"img/lulu_07.bf823a7.png"},function(t,e,n){t.exports=n.p+"img/create-img-a.b6c5c67.png"},function(t,e,n){t.exports=n.p+"img/create-img-b.bf492e7.png"},function(t,e,n){t.exports=n.p+"img/create-img-c.51a55b5.png"},function(t,e,n){t.exports=n.p+"img/cupoy-logo.a74ab5c.png"},function(t,e,n){t.exports=n.p+"img/cupoyHeadshot.ddbd26a.png"},function(t,e,n){t.exports=n.p+"img/deepmind-logo.309770b.png"},function(t,e,n){t.exports=n.p+"img/deepmindHeadshot.392c0ba.png"},function(t,e,n){t.exports=n.p+"img/degree-hat.cdf8b04.png"},function(t,e,n){t.exports=n.p+"img/feedMaskImg-Right.3b15c10.png"},function(t,e,n){t.exports=n.p+"img/feedMaskImg-left.5654b14.png"},function(t,e,n){t.exports=n.p+"img/feedMask_1260.9d6112a.png"},function(t,e,n){t.exports=n.p+"img/feedMask_1440.c3e11ba.png"},function(t,e,n){t.exports=n.p+"img/feedSubscribeModalImgA.86eaa28.png"},function(t,e,n){t.exports=n.p+"img/feedSubscribeModalImgB.c106ec5.png"},function(t,e,n){t.exports=n.p+"img/feedSubscribeModalImgC.420576e.png"},function(t,e,n){t.exports=n.p+"img/hahowHeadshot.2428e4b.png"},function(t,e,n){t.exports=n.p+"img/hitHeadshot.da4d225.png"},function(t,e,n){t.exports=n.p+"img/hr104Headshot.2c88157.png"},function(t,e,n){t.exports=n.p+"img/icon-vector.769b5c6.png"},function(t,e,n){t.exports=n.p+"img/icon_finish-room.57159b2.png"},function(t,e,n){t.exports=n.p+"img/icon_gain-certified.58ed827.png"},function(t,e,n){t.exports=n.p+"img/icon_read-book.75a2906.png"},function(t,e,n){t.exports=n.p+"img/img-logo-chrma.aedc3a9.png"},function(t,e,n){t.exports=n.p+"img/ittrainingImg-M.06eef83.png"},function(t,e,n){t.exports=n.p+"img/ittrainingImg.d1a61a4.png"},function(t,e,n){t.exports=n.p+"img/ittrainingLogo.693b604.png"},function(t,e,n){t.exports=n.p+"img/jlpt-result-bg-2.246e4a1.png"},function(t,e,n){t.exports=n.p+"img/jlpt-result-bg.a2d03c3.png"},function(t,e,n){t.exports=n.p+"img/jlpt-audio.8b5fef3.png"},function(t,e,n){t.exports=n.p+"img/jlpt-reading.bd3ad03.png"},function(t,e,n){t.exports=n.p+"img/jlpt-audio.8b5fef3.png"},function(t,e,n){t.exports=n.p+"img/jlpt-reading.bd3ad03.png"},function(t,e,n){t.exports=n.p+"img/jlpt-audio.8b5fef3.png"},function(t,e,n){t.exports=n.p+"img/jlpt-reading.bd3ad03.png"},function(t,e,n){t.exports=n.p+"img/n2-31.7deffff.png"},function(t,e,n){t.exports=n.p+"img/n2-34.2ef5086.png"},function(t,e,n){t.exports=n.p+"img/n2-35.7fec253.png"},function(t,e,n){t.exports=n.p+"img/n2-36.594b774.png"},function(t,e,n){t.exports=n.p+"img/n2-37.7ac6a1a.png"},function(t,e,n){t.exports=n.p+"img/n2-38.6ba2f9e.png"},function(t,e,n){t.exports=n.p+"img/n2-40.eb72fa2.png"},function(t,e,n){t.exports=n.p+"img/jlpt-audio.8b5fef3.png"},function(t,e,n){t.exports=n.p+"img/jlpt-reading.bd3ad03.png"},function(t,e,n){t.exports=n.p+"img/jlpt-audio.8b5fef3.png"},function(t,e,n){t.exports=n.p+"img/jlpt-reading.bd3ad03.png"},function(t,e,n){t.exports=n.p+"img/jlpt-audio.8b5fef3.png"},function(t,e,n){t.exports=n.p+"img/jlpt-reading.bd3ad03.png"},function(t,e,n){t.exports=n.p+"img/job-f@2x.4ec8981.png"},function(t,e,n){t.exports=n.p+"img/lccnet-banner-img-right.960e068.png"},function(t,e,n){t.exports=n.p+"img/lccnet-logo.e128779.png"},function(t,e,n){t.exports=n.p+"img/lccnetHeadshot.c1643a2.png"},function(t,e,n){t.exports=n.p+"img/like.5b1501e.png"},function(t,e,n){t.exports=n.p+"img/line-banner-img-center.81cbf17.png"},function(t,e,n){t.exports=n.p+"img/line-banner-img-right.d55971b.png"},function(t,e,n){t.exports=n.p+"img/line-logo.a5e2195.png"},function(t,e,n){t.exports=n.p+"img/lineHeadshot.95471bf.png"},function(t,e,n){t.exports=n.p+"img/logo-ccorner.e517ef2.png"},function(t,e,n){t.exports=n.p+"img/logo-talent-booster-v-2.24d8f0e.png"},function(t,e,n){t.exports=n.p+"img/logo.e2481dd.png"},function(t,e,n){t.exports=n.p+"img/lulu-44.41d68b8.png"},function(t,e,n){t.exports=n.p+"img/mastertalksHeadshot.a0cab6c.png"},function(t,e,n){t.exports=n.p+"img/microsoft-img.7ca3bbb.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIGSURBVHgB7ZzLUcMwFEVvDAVQQkqghKQSJg0wQwVABQy/NaYS6ICUAB2EPYmQnDDYiuUrY2fGMvesoo9l6VgfL/wCCCGEEKky8TPMPWYwOLM/pxguK6xxPbnA0i/o0P/aNiuCzCNO8YU3pMIGczug159kL/332swqhWtcIiWOipnySx/999rMvOITpMXUS/fR/2k5kUE0chxRZ2V3qmVtibFrfv+phet3of5eMbTtfwUuyDY+Oce8tv07vNibzGLrd6H2XjG07b+HlhhBgggxe1Da2H2mWEqBMnb5+AW5Tfgve9cOLTGCBBEkiPAf9qADvyimjl4UD4sEESSIIEEECSJIEEGCCBJEkCCCBBEkiCBBBAkiSBBBgggSRJAgggQRJIggQQQJIkgQQYIIEkSQIIIEESSIIEEECSJIEEGCCBJEkCCCBBHGL8hgZm69uDKX/WDzIr6fHpcgg49ASV6WVMhZIw+08VlOjusjzo0ddLY/W3Y4SS6iEEE52zauyslRzaAi1nSDRUOVnMhZ+EG9fAa1DQZpqt+FiMAThx1gbm7gHv0T2rCVk/vZMUusbTBIp+CRPmgtKSAHGPEpVgy4ebltaZDjqAoKnwLDxDtxfKgkIseReRc0Vh4c3olTR1BShJziej/Drt1TexS6AP0hx9C/29PoufwPCYzSuFZtrxVCCCHS5BtwZZzazdBE/QAAAABJRU5ErkJggg=="},function(t,e,n){t.exports=n.p+"img/omia-banner-img-center.904be6f.png"},function(t,e,n){t.exports=n.p+"img/omia-banner-img-left.981132e.png"},function(t,e,n){t.exports=n.p+"img/omia-banner-img-right.326b2ec.png"},function(t,e,n){t.exports=n.p+"img/omia-logo.ff159e2.png"},function(t,e,n){t.exports=n.p+"img/stars.a4bc408.png"},function(t,e,n){t.exports=n.p+"img/omiaHeadshot.a7495d4.png"},function(t,e,n){t.exports=n.p+"img/orgPage-img-1.6e11f7d.png"},function(t,e,n){t.exports=n.p+"img/orgProviderEmpty.1856556.png"},function(t,e,n){t.exports=n.p+"img/power-bi-img.8b87808.png"},function(t,e,n){t.exports=n.p+"img/ppaImg-M.401f6aa.png"},function(t,e,n){t.exports=n.p+"img/ppaImg.859b07f.png"},function(t,e,n){t.exports=n.p+"img/ppaLogo.b4ac243.png"},function(t,e,n){t.exports=n.p+"img/words.94140b2.png"},function(t,e,n){t.exports=n.p+"img/sce-banner-img-center.72fe398.png"},function(t,e,n){t.exports=n.p+"img/sce-banner-img-left.0f966d9.png"},function(t,e,n){t.exports=n.p+"img/sce-banner-img-right.b3a5fa9.png"},function(t,e,n){t.exports=n.p+"img/sce-banner-imgM.a62c06c.png"},function(t,e,n){t.exports=n.p+"img/sce-logo.1ba12ac.png"},function(t,e,n){t.exports=n.p+"img/sceHeadshot.88f62ea.png"},function(t,e,n){t.exports=n.p+"img/shopee-banner-img-right.5cef22e.png"},function(t,e,n){t.exports=n.p+"img/shopee-logo.3f55707.png"},function(t,e,n){t.exports=n.p+"img/shopeeHeadshot.2c1a180.png"},function(t,e,n){t.exports=n.p+"img/star-org.279f8b7.png"},function(t,e,n){t.exports=n.p+"img/subscribe_img_1.9c6a470.png"},function(t,e,n){t.exports=n.p+"img/subscribe_img_2.2b8a956.png"},function(t,e,n){t.exports=n.p+"img/subscribe_img_3.1d99d0d.png"},function(t,e,n){t.exports=n.p+"img/syncResume.8b1c19a.png"},function(t,e,n){t.exports=n.p+"img/taiseImg-M.b6976b1.png"},function(t,e,n){t.exports=n.p+"img/taiseImg.3ea2a6f.png"},function(t,e,n){t.exports=n.p+"img/taiseLogo.f3e59fb.png"},function(t,e,n){t.exports=n.p+"img/tboosterHeadshot.3416135.png"},function(t,e,n){t.exports=n.p+"img/tibameHeadshot.c462d3e.png"},function(t,e,n){t.exports=n.p+"img/toeic-img.26960f5.png"},function(t,e,n){t.exports=n.p+"img/toeic-logo.4304f42.png"},function(t,e,n){t.exports=n.p+"img/toeicHeadshot.49e0336.png"},function(t,e,n){t.exports=n.p+"img/audio-default.8b5fef3.png"},function(t,e,n){t.exports=n.p+"img/part2_example.405dcb6.png"},function(t,e,n){t.exports=n.p+"img/reading-default.bd3ad03.png"},function(t,e,n){t.exports=n.p+"img/toeic-audio.8b5fef3.png"},function(t,e,n){t.exports=n.p+"img/toeic-reading.bd3ad03.png"},function(t,e,n){t.exports=n.p+"img/tqc-logo.ef2f41a.png"},function(t,e,n){t.exports=n.p+"img/tqcHeadshot.378ed13.png"},function(t,e,n){t.exports=n.p+"img/tri-banner-img-right.4dcc2a3.png"},function(t,e,n){t.exports=n.p+"img/tri-logo.f084e5a.png"},function(t,e,n){t.exports=n.p+"img/triHeadshot.bb76fea.png"},function(t,e,n){t.exports=n.p+"img/tutorabc-banner-img-right.4da34a0.png"},function(t,e,n){t.exports=n.p+"img/tutorabc-logo.80d1498.png"},function(t,e,n){t.exports=n.p+"img/tutorabcHeadshot.5074752.png"},function(t,e,n){t.exports=n.p+"img/twida-logo.ae47aa4.png"},function(t,e,n){t.exports=n.p+"img/twidaHeadshot.fc8ae2f.png"},function(t,e,n){t.exports=n.p+"img/xschoolHeadshot.0231c41.png"},function(t,e,n){t.exports=n.p+"3ff6196571c47c1c71790d8b30665346.svg"},function(t,e,n){t.exports=n.p+"48659166d7843c9a2898d84123c927b2.svg"},function(t,e,n){var o=n(618),r=n(971),c=n(973),l=Math.max,d=Math.min;t.exports=function(t,e,n){var f,m,A,h,v,y,C=0,w=!1,x=!1,k=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function _(time){var e=f,n=m;return f=m=void 0,C=time,h=t.apply(n,e)}function O(time){var t=time-y;return void 0===y||t>=e||t<0||x&&time-C>=A}function I(){var time=r();if(O(time))return B(time);v=setTimeout(I,function(time){var t=e-(time-y);return x?d(t,A-(time-C)):t}(time))}function B(time){return v=void 0,k&&f?_(time):(f=m=void 0,h)}function S(){var time=r(),t=O(time);if(f=arguments,m=this,y=time,t){if(void 0===v)return function(time){return C=time,v=setTimeout(I,e),w?_(time):h}(y);if(x)return clearTimeout(v),v=setTimeout(I,e),_(y)}return void 0===v&&(v=setTimeout(I,e)),h}return e=c(e)||0,o(n)&&(w=!!n.leading,A=(x="maxWait"in n)?l(c(n.maxWait)||0,e):A,k="trailing"in n?!!n.trailing:k),S.cancel=function(){void 0!==v&&clearTimeout(v),C=0,f=y=m=v=void 0},S.flush=function(){return void 0===v?h:B(r())},S}},function(t,e,n){"use strict";n(37);var o={props:{introData:{type:Object,default:function(){return{hasIntro:!1,meta:{giver:"",headShot:"",bgColor:"bg-deepBlue",slogan:"",name:"",jobTitle:"",url:""}}}}}},r=n(38),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return t.introData.hasIntro?e("router-link",{staticClass:"d-block mb-4",attrs:{to:"/intro/".concat(t.introData.meta.url)}},[e("div",{class:["contentIntro","bigClassBlock",t.introData.meta.headShotClass,t.introData.meta.bgColor]},[e("div",[e("div",{staticClass:"contentIntro--slogan"},[t._v(t._s(t.introData.meta.slogan))]),t._v(" "),e("div",{staticClass:"contentIntro--name"},[t._v(t._s(t.introData.meta.name))]),t._v(" "),e("div",{staticClass:"contentIntro--jobTitle"},[t._v(t._s(t.introData.meta.jobTitle))])])])]):t._e()}),[],!1,null,null,null);e.a=component.exports},function(t,e,n){"use strict";n(616)},function(t,e,n){t.exports=n.p+"img/abilityBgM.ad76310.png"},function(t,e,n){t.exports=n.p+"img/abilityBk-a.2e7e1cc.png"},function(t,e,n){t.exports=n.p+"img/abilityBk-b.30a8ffc.png"},function(t,e,n){t.exports=n.p+"img/abilityBk-c.45c8197.png"},function(t,e,n){t.exports=n.p+"img/abilityImg.fab5893.png"},function(t,e,n){t.exports=n.p+"img/certificate-1.8b83b88.png"},function(t,e,n){t.exports=n.p+"img/cjcatRecommendEmpty.2320e3d.png"},function(t,e,n){t.exports=n.p+"img/classroom-manager.4f9e863.png"},function(t,e,n){t.exports=n.p+"img/couponListheader.0de91ea.png"},function(t,e,n){t.exports=n.p+"img/discountImg.f942ff1.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAoCAMAAAAYCC6ZAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA2UExURUdwTCsrKzIyMra2tpOTk/n5+SsrKyoqKiwsLC4uLiwsLFBQUOvr69HR0XBwcOLi4qCgoP///66RBTkAAAARdFJOUwBhDb2p+HaANB5KjOnSmeCxO1F+zgAAAZBJREFUWMO9ltmOhSAQRBtZLpuA//+zw3VBnRFp0KEeDJqYk+ouGgAG2VkDRIlPV4kvE3RfqJ6hqi9UzVAgPZlkYfa1uhrtanUz2tVqMlptNdCk0Gq01qqdDrKtRuv2qptOctV7dNMgekDFcIKCxP3GRu/tGWq9Hxnubwm/hMoSnTKitSnCF9hMWZn64iITzHaID84Fv7+zyuTiE5ygfN2egeOhGi5F0FD3J8msvqHItrJDbKi19BAt1tBQHHWF8ric2+njgqOgeWYMk8BAx7SKqBEDFQpupJBQmuqMgt4yC5Nph4ZlFXBQCQXdVZilg8XMreQmHTmstbZFKtuj6iLMutOnB8y7DG+Er8OPmR+8BL3L7YlKSsPBr6PW+NJwIEhmfiLus5fTiDWUl2avhgpdN/Z0ynBePGVw7SyVeMydbOPD0t6apZZfyNIXbDbc1p51ExXj8s1kgHapJixR8Ez1bh+5TFhZcSkW8g3kUmVkprSCV6VKfoV8mZjAmQaTfwLuLVZSa0Kib0GI1lLVN/EHZ31qaXDSpoMAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAwUExURUdwTH9/f4KCgn9/f4iIiH9/f39/f39/f39/f4GBgX9/f39/f4GBgYKCgn9/f35+fhjs/acAAAAPdFJOUwDzEZEG3qZzZCm6VzwZzbBuAw8AAAH6SURBVDjLhVQ9SKNBEB01GkMUBQ/xsEgEBbVQD0Svi3J4wmEhYh/FSiy0sLIxmk6Ei5Y2wiFcmTTaHRe8a+UqCzt7OSR+mmgMGednd78vSnCafbuzO/Pe7OwCWJtLT6x8/guvrfEshmSFtana9cgyGuvO1Oz/hM664gHHjiw9JGXo8de/8PznIcDVHqMxFyhLu3cVD9Kpsg02QGw27a5ZYvdfYYgO/PDjDiMWFTUhesw+kp78xfMEVtXxHXGDhugtRVwlEMaSpo6hR0N7VrjmCP7J2UgnNFyqvJKf7BgLRC/E4rhceV5rZ8LrsovOVc9Dp4iLkr8kKRblHDNovMVnmrQhxiGKmBKOnsb11JGCFvYCJPEDO5qxrESXYFpgyJSuQVVnsRP+4SPICbmg38p3Gyuk+4nh0Y3QTOrsmDgk8M7XRCqXeBylgwkK524+hoWMpvJI37xzHKDIYHLFoIPLknKOQCgqS6+iDgoVSN6HhbyiUXIYugERQvfRClRZ9w5VTEkk97bjkaXKmSIq2w3TaKwzailSQfYNaOW7NxdVYzNy2+t+A1y43EXXDGwjmLMN9dFvH9GhrL7prZmGE8c1aI9qDNOiAF+1ImE0mm1TA/SLzoR9Om+fQXmqzsNZeO+p+Y9zaIvR+PvPuf4HUPfLCHwy8Tf/z6tv6QXqtHJ7x3HuTwAAAABJRU5ErkJggg=="},function(t,e,n){t.exports=n.p+"img/icon-time-gray.b3bc00c.png"},function(t,e,n){t.exports=n.p+"img/manner-1.5ef4725.png"},function(t,e,n){t.exports=n.p+"img/resourcePageBk-1.e80afc3.png"},function(t,e,n){t.exports=n.p+"img/resourcePageBk-2.19e2afc.png"},function(t,e,n){t.exports=n.p+"img/testcardBk-1.1a7c2a6.png"},function(t,e,n){t.exports=n.p+"img/testcardBk-2.327c5c1.png"},function(t,e,n){t.exports=n.p+"img/topic.3db053c.png"},function(t,e,n){t.exports=n.p+"e5316c764f44820b833594a08ebd4c74.svg"},function(t,e,n){t.exports=n.p+"368449094f88c7c8920612ae9f335ddc.svg"},function(t,e,n){t.exports=n.p+"1b45ffce985ebba77b9dfd9188253bb6.svg"},function(t,e,n){t.exports=n.p+"55980df3d7e297dc9fcee2e7019f46d7.svg"},function(t,e,n){t.exports=n.p+"cc27174b5ba837ac57d73868d0090365.svg"},function(t,e,n){t.exports=n.p+"c39ede41a06012f0ef423d50cc1538f0.svg"},function(t,e,n){t.exports=n.p+"f7da6c4f81c02fcbe09912ce0fbf8675.svg"},function(t,e,n){t.exports=n.p+"97cb72cb442270fb63012f04c41a6072.svg"},function(t,e,n){t.exports=n.p+"41218f57be0d39b05c92a748a28069fc.svg"},function(t,e,n){t.exports=n.p+"12c377db5a07ceff0416c0461f23786e.svg"},function(t,e,n){t.exports=n.p+"57ceb5f704f069d151331e86237cab6c.svg"},function(t,e,n){t.exports=n.p+"a4528c502fe5d28b4bd5e6b31fe786be.svg"},function(t,e,n){t.exports=n.p+"c639e17f5cc0025fd7eb55f715414fe9.svg"},function(t,e,n){t.exports=n.p+"b2fbf3af7335a21671e8affed2fd27b7.svg"},function(t,e,n){t.exports=n.p+"1ada65b7fb8579f0122d7f181298eeff.svg"},function(t,e,n){t.exports=n.p+"c1c5021d89c0945a10ff31da9538cb07.svg"},function(t,e,n){var o=n(619);t.exports=function(){return o.Date.now()}},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(81))},function(t,e,n){var o=n(974),r=n(618),c=n(976),l=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,f=/^0o[0-7]+$/i,m=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(c(t))return NaN;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=o(t);var n=d.test(t);return n||f.test(t)?m(t.slice(2),n?2:8):l.test(t)?NaN:+t}},function(t,e,n){var o=n(975),r=/^\s+/;t.exports=function(t){return t?t.slice(0,o(t)+1).replace(r,""):t}},function(t,e){var n=/\s/;t.exports=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e}},function(t,e,n){var o=n(977),r=n(980);t.exports=function(t){return"symbol"==typeof t||r(t)&&"[object Symbol]"==o(t)}},function(t,e,n){var o=n(620),r=n(978),c=n(979),l=o?o.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":l&&l in Object(t)?r(t):c(t)}},function(t,e,n){var o=n(620),r=Object.prototype,c=r.hasOwnProperty,l=r.toString,d=o?o.toStringTag:void 0;t.exports=function(t){var e=c.call(t,d),n=t[d];try{t[d]=void 0;var o=!0}catch(t){}var r=l.call(t);return o&&(e?t[d]=n:delete t[d]),r}},function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,n){t.exports={}},,function(t,e,n){"use strict";n(14),n(13),n(11),n(8),n(15),n(10),n(16);var o=n(3);function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){Object(o.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var l=[function(){var t=this._self._c;return t("div",{staticClass:"mb-3"},[t("img",{staticStyle:{"object-fit":"contain","max-height":"168px"},attrs:{width:"100%",height:"100%",src:n(636),alt:""}})])}],d=n(4),f=n(23),m=(n(27),n(110),n(105),n(26),n(65),n(21),n(34),n(36)),A=n(591),h=(n(50),n(51),n(621));function v(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?v(Object(n),!0).forEach((function(e){Object(o.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var C=n(39)("src/client/components/modals/ExamListForCjcat.vue"),w=C.debug,x=C.error,k={components:{LevelToolTipList:h.a,ChannelViewLogger:function(){return Promise.resolve().then(n.bind(null,564))}},props:{skillRecords:{type:Array,default:function(){return[]}},hotSkillRecords:{type:Array,default:function(){return[]}}},data:function(){return{showModal:!1,runFetch:!1,isLoading:!1,normalSkills:[],hotSkills:[]}},computed:y(y(y({},Object(m.e)("test",["testEvent","testUpdate"])),Object(m.c)(["isLogin"])),{},{hasExamsSkill:function(){var t=this;return this.normalSkills.filter((function(e){return t.hasExams(e.capabilityId)}))},notExamsSkill:function(){var t=this;return this.normalSkills.filter((function(e){return!t.hasExams(e.capabilityId)}))}}),watch:{testEvent:function(t){t&&"testList"===t.action&&(this.showModal=!0,this.setTestEvent({}))},testUpdate:function(t){if(this.normalSkills.length>0&&t&&t.capabilityId&&t.record){var e=this.normalSkills.findIndex((function(e){return e.capabilityId===t.capabilityId}));if(e>=0){var n=y(y({},this.normalSkills[e]),t.record);this.normalSkills.splice(e,1,n)}}if(this.hotSkills.length>0&&t&&t.capabilityId&&t.record){var o=this.hotSkills.findIndex((function(e){return e.capabilityId===t.capabilityId}));if(o>=0){var r=y(y({},this.hotSkills[o]),t.record);this.hotSkills.splice(o,1,r)}}},skillRecords:{deep:!0,handler:function(t){this.normalSkills=this.skillRecords.slice()}},hotSkillRecords:{deep:!0,handler:function(t){this.hotSkills=this.hotSkillRecords.slice()}}},methods:y(y(y(y(y({},Object(m.d)(["setRunLogin"])),Object(m.d)("test",["setTestEvent","setTestUpdate"])),Object(m.b)("test",["getTest"])),Object(m.b)("user",["updateSkillFavorite"])),{},{hasExams:function(t){return!!(this.normalSkills&&this.normalSkills.length>0&&this.normalSkills.findIndex((function(e){return e.capabilityId===t&&("1"===e.hasTest||!0===e.hasTest)}))>=0)},isMaxLevel:function(t){return"3"===t},canTest:function(t){return""===t||new Date(Number(t))<Date.now()},neverTest:function(t){return""===t},toReadableDate:function(t){var e=new Date(Number(t));return"".concat(e.getFullYear(),"/").concat(e.getMonth()+1,"/").concat(e.getDate()," ").concat(("0"+e.getHours()).slice(-2),":").concat(("0"+e.getMinutes()).slice(-2))},getToolTips:function(t){for(var e=[],n=Number(t),o=1;o<=3;o++){var r=o<=n,title=n>=3?"高級":"2"===this.testLevel?"中級":"1"===this.testLevel?"初級":"0"===this.testLevel?"未達初級":"未做測驗",c="test-level-".concat(r?"green":"gray");e.push({title:title,class:c})}return e},startToTest:function(t){try{if(!this.isLogin)return void(window.location.href="/oidc/login?next=".concat(encodeURIComponent(this.$route.fullPath)));this.$elog({track:["clickQuiz"],ext:{skillId:t}}),this.$viewLog.sendBlockViewlog({key:t,type:1,action:2}),this.setTestEvent({action:"test",capabilityId:t})}catch(t){x("component error",t)}finally{this.showModal=!1}},fetchAllTest:function(){var t=this;return Object(d.a)(regeneratorRuntime.mark((function e(){var i,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.isLoading=!0,e.prev=1,!(t.normalSkills.length>0)){e.next=11;break}i=0;case 4:if(!(i<t.normalSkills.length)){e.next=11;break}if("1"!==t.normalSkills[i].hasTest){e.next=8;break}return e.next=8,t.getTestingData(t.normalSkills[i].capabilityId);case 8:i++,e.next=4;break;case 11:if(!(t.hotSkills.length>0)){e.next=20;break}n=0;case 13:if(!(n<t.hotSkills.length)){e.next=20;break}if("1"!==t.hotSkills[n].hasTest){e.next=17;break}return e.next=17,t.getTestingData(t.hotSkills[n].capabilityId);case 17:n++,e.next=13;break;case 20:e.next=25;break;case 22:e.prev=22,e.t0=e.catch(1),x("component error",e.t0);case 25:t.isLoading=!1,t.runFetch=!1;case 27:case"end":return e.stop()}}),e,null,[[1,22]])})))()},getTestingData:function(t){var e=this;return Object(d.a)(regeneratorRuntime.mark((function n(){var o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.prev=0,t){n.next=4;break}return w("no capbilityId"),n.abrupt("return");case 4:return n.next=6,e.getTest({capabilityId:t});case 6:o=n.sent,e.setTestUpdate(o),n.next=13;break;case 10:n.prev=10,n.t0=n.catch(0),x("component error",n.t0);case 13:case"end":return n.stop()}}),n,null,[[0,10]])})))()},clickToFavorite:function(t,e){if(this.isLogin){var data={type:1===this.skillRecords.length?"capabilityInfo":"hard",item:{capabilityId:t,isFavorite:e}};this.$emit("handleFocusEvent",data)}else this.setRunLogin(!0)},onHidden:function(){this.normalSkills=[],this.hotSkills=[],w("clear examList")},toAbility:function(t){var path="/room/ability_"+t;this.$router.push(path)},openModal:function(){this.value=!1;var t=this;return this.$refs.modal&&this.$refs.modal.show(),new Promise((function(e){t.resovle=e}))},onModalShow:function(){var t=this;return Object(d.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.normalSkills=t.skillRecords.slice(),t.hotSkills=t.hotSkillRecords.slice(0,5),e.next=4,t.fetchAllTest();case 4:case"end":return e.stop()}}),e)})))()}})},_=(n(1380),n(38)),O=Object(_.a)(k,(function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{"dialog-class":"modal-dialog-centered modal-dialog-scrollable modal-720","body-class":"px-0","content-class":"max-h-720","hide-footer":"","hide-header":""},on:{hidden:t.onHidden,show:t.onModalShow}},[e("div",{staticClass:"position-relative"},[t.hasExamsSkill.length>0?e("h4",{staticClass:"modal-title p16 pt-6 pb-2 pr-4 pl-4"},[t._v("\n            技能測驗"),e("br"),t._v(" "),e("span",{staticClass:"p14 text-7e"},[t._v("測驗不代表履歷是否具備，請自行填入履歷表中")])]):t._e(),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3 position-absolute",staticStyle:{top:"10px",right:"16px"},attrs:{type:"button","data-dismiss":"modal"},on:{click:function(){t.$refs.modal.hide()}}})]),t._v(" "),t._l(t.hasExamsSkill,(function(o){return e("div",{key:o.capabilityId},[e("ChannelViewLogger",{attrs:{"block-key":o.capabilityId,"enable-block":!t.isMaxLevel(o.testLevel),"block-type":1,"block-action":1}},[e("div",{staticClass:"test-box d-flex justify-content-between align-items-center"},[e("div",{staticClass:"test-result"},[e("div",{staticClass:"h3 pointer",on:{click:function(e){return t.toAbility(o.capabilityId)}}},[t._v("\n                        "+t._s(o.capability)+"\n                    ")]),t._v(" "),e("div",{staticClass:"mt-1"},[e("span",{staticClass:"t4 text-7e mr-1",staticStyle:{"vertical-align":"middle"}},[t._v("測驗結果")]),t._v(" "),e("LevelToolTipList",{attrs:{"level-type":o.testLevel}})],1)]),t._v(" "),t.isLoading?e("div",{staticStyle:{width:"20px",height:"20px"}},[e("img",{staticClass:"loader-icon w-100 m-0",attrs:{src:n(375)}})]):t.isMaxLevel(o.testLevel)?e("button",{staticClass:"btn btn-sm btn-outline-light disabled"},[t._v("\n                    已達高級\n                ")]):t.neverTest(o.nextTestDate)?e("button",{staticClass:"btn btn-sm btn-secondary",on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.startToTest(o.capabilityId)}}},[t._v("\n                    立即測驗\n                ")]):t.canTest(o.nextTestDate)?e("button",{staticClass:"btn btn-sm btn-secondary",on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.startToTest(o.capabilityId)}}},[t._v("\n                    再試一次\n                ")]):e("div",{staticClass:"t5 text-7e text-center",staticStyle:{"word-break":"break-all",cursor:"default"}},[t._v("\n                    可再次測驗"),e("br"),t._v("\n                    "+t._s(t.toReadableDate(o.nextTestDate))+"\n                ")])])]),t._v(" "),e("hr",{staticClass:"mt-0 mb-0 mr-4 ml-4",staticStyle:{background:"#eee"}})],1)})),t._v(" "),t.notExamsSkill.length>0?e("div",[e("div",{staticClass:"pt-6 pb-2 pr-4 pl-4"},[e("h4",{staticClass:"modal-title p16"},[t._v("尚未有測驗，先關注技能：")])]),t._v(" "),t._l(t.notExamsSkill,(function(n){return e("div",{key:n.capabilityId},[e("div",{staticClass:"test-box d-flex justify-content-between align-items-center"},[e("div",{staticClass:"test-result"},[e("div",{staticClass:"h3 pointer",on:{click:function(e){return t.toAbility(n.capabilityId)}}},[t._v("\n                        "+t._s(n.capability)+"\n                    ")])]),t._v(" "),e("div",{class:["focus-btn dark",{done:"1"===n.isFavorite}],staticStyle:{width:"98px"},on:{click:function(e){return t.clickToFavorite(n.capabilityId,n.isFavorite)}}},[t._v("\n                    "+t._s("0"===n.isFavorite?"關注":"已關注")+"\n                ")])]),t._v(" "),e("hr",{staticClass:"mt-0 mb-0 mr-4 ml-4",staticStyle:{background:"#eee"}})])}))],2):t._e(),t._v(" "),t.normalSkills.length<=1||0===t.normalSkills.length?e("div",[e("div",{staticClass:"pt-6 pb-2 pr-4 pl-4"},[t.hotSkills.length>0?e("h4",{staticClass:"modal-title p16"},[t._v("熱門測驗：")]):t._e()]),t._v(" "),t._l(t.hotSkills,(function(o){return e("div",{key:o.capabilityId},[e("ChannelViewLogger",{attrs:{"block-key":o.capabilityId,"enable-block":!t.isMaxLevel(o.testLevel),"block-type":1,"block-action":1}},[e("div",{staticClass:"test-box d-flex justify-content-between align-items-center"},[e("div",{staticClass:"test-result"},[e("div",{staticClass:"h3 pointer",on:{click:function(e){return t.toAbility(o.capabilityId)}}},[t._v("\n                            "+t._s(o.capability)+"\n                        ")]),t._v(" "),e("div",{staticClass:"mt-1"},[e("span",{staticClass:"t4 text-7e mr-1",staticStyle:{"vertical-align":"middle"}},[t._v("測驗結果")]),t._v(" "),e("LevelToolTipList",{attrs:{"level-type":o.testLevel}})],1)]),t._v(" "),t.isLoading?e("div",{staticStyle:{width:"20px",height:"20px"}},[e("img",{staticClass:"loader-icon w-100 m-0",attrs:{src:n(375)}})]):t.isMaxLevel(o.testLevel)?e("button",{staticClass:"btn btn-sm btn-outline-light disabled"},[t._v("\n                        已達高級\n                    ")]):t.neverTest(o.nextTestDate)?e("button",{staticClass:"btn btn-sm btn-secondary",on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.startToTest(o.capabilityId)}}},[t._v("\n                        立即測驗\n                    ")]):t.canTest(o.nextTestDate)?e("button",{staticClass:"btn btn-sm btn-secondary",on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.startToTest(o.capabilityId)}}},[t._v("\n                        再試一次\n                    ")]):e("div",{staticClass:"t5 text-7e text-center",staticStyle:{"word-break":"break-all",cursor:"default"}},[t._v("\n                        可再次測驗"),e("br"),t._v("\n                        "+t._s(t.toReadableDate(o.nextTestDate))+"\n                    ")])])]),t._v(" "),e("hr",{staticClass:"mt-0 mb-0 mr-4 ml-4",staticStyle:{background:"#eee"}})],1)}))],2):t._e()],2)}),[],!1,null,"02299f6b",null).exports;function I(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function B(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?I(Object(n),!0).forEach((function(e){Object(o.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var S={components:{HardSkillExamModalFlow:A.a,ExamListModal:O},props:{capabilityInfo:{type:Object,require:!0,default:function(){return{}}},jobcatInfo:{type:Object,require:!0,default:function(){}},gtmAttr:{type:Object,default:function(){return{}}}},computed:B(B(B({},Object(m.c)(["isLogin"])),Object(m.e)("test",["testUpdate"])),{},{capabilityInfoData:function(){return this.capabilityInfo&&this.capabilityInfo.isInitial&&this.capabilityInfo.data},singleExam:function(){if(this.capabilityInfoData){var t=[B(B({},this.capabilityInfoData.testMeta),{},{capability:this.capabilityInfoData.capability,capabilityId:this.capabilityInfoData.capabilityId,hasTest:this.capabilityInfoData.hasTest,isFavorite:this.capabilityInfoData.isFavorite})];return"{}"!==JSON.stringify(t[0])?t:[]}return[]},muiltipleExam:function(){var t=this,e=this.jobcatInfo&&this.jobcatInfo.isInitial&&this.jobcatInfo.data.hardSkills;if(!e)return[];if(e=Object(f.a)(e),this.singleExam.length>0){var n=e.findIndex((function(e){return e.capabilityId===t.capabilityInfoData.capabilityId}));n>-1&&(e.splice(n,1),e.splice(0,0,this.singleExam[0]))}return e&&e.length>0?e:[]}}),data:function(){return{skillList:[],defaultHotList:[]}},mounted:function(){var t=this;return Object(d.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$api.test.getTopTestAPI();case 3:t.defaultHotList=e.sent,e.next=9;break;case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return",e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})))()},methods:B(B(B({},Object(m.d)("test",["setTestEvent"])),Object(m.b)("test",["getTest"])),{},{enableExamMenuModal:function(){this.isLogin?(this.setTestEvent({action:"testList"}),this.$refs.examListModal.openModal()):window.location.href="/oidc/login?next=".concat(encodeURIComponent(this.$route.fullPath))},toReadableDate:function(t){var e=new Date(Number(t));return"".concat(e.getFullYear(),"/").concat(e.getMonth()+1,"/").concat(e.getDate()," ").concat(("0"+e.getHours()).slice(-2),":").concat(("0"+e.getMinutes()).slice(-2))}})},j=Object(_.a)(S,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"bigClassBlock"},[e("div",{staticClass:"d-flex flex-column"},[e("div",{staticClass:"h4 mb-2"},[t._v("不知如何開始學習嗎？ 先進行技能挑戰吧～")]),t._v(" "),t._m(0),t._v(" "),e("div",t._b({class:["btn","btn-outline-primary","btn-block","btn-sm",{"pointer-event-stop":t.capabilityInfo.isLoading&&!t.capabilityInfo.isInitial||t.jobcatInfo.isLoading&&!t.jobcatInfo.isInitial}],on:{click:function(e){return t.enableExamMenuModal()}}},"div",c({},t.gtmAttr),!1),[e("span",[t._v("我要挑戰")])])]),t._v(" "),e("HardSkillExamModalFlow"),t._v(" "),e("ExamListModal",{ref:"examListModal",attrs:{"skill-records":t.muiltipleExam,"hot-skill-records":t.defaultHotList},on:{handleFocusEvent:function(data){t.$emit("handleFocusEvent",data)}}})],1)}),l,!1,null,null,null);e.a=j.exports},function(t,e,n){"use strict";var o=n(3),r=(n(65),n(30),n(8),n(14),n(13),n(11),n(15),n(10),n(16),n(62)),c=n(63),l=n(1369),d=n.n(l),f="CATEGORY_PICKER",m=function(){function t(){Object(r.a)(this,t),this.loader=d.a}return Object(c.a)(t,[{key:"loadSources",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(this.loader.isDefined(e)){var o=!0;return this.loader.ready(e,{error:function(){o=!1}}),Promise.resolve(o)}return this.loader(t,e,{numRetries:n,returnPromise:!0}).then((function(){return!0})).catch((function(){return!1}))}},{key:"loadCategoryPicker",value:function(){return this.loadSources(["".concat("https://cdn.104.com.tw","/category-tool/css/category-picker-2.0.0.css"),"".concat("https://cdn.104.com.tw","/category-tool/js/category-picker-2.0.0.js")],f,1)}}]),t}(),A=new m;function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}var v={props:{type:{type:String,required:!0},theme:{type:String,required:!1,default:void 0},title:{type:String,required:!1,default:void 0},maxSelectedNumber:{type:Number,required:!1,default:1},selectedItems:{type:Array,required:!1,default:function(){return[]}},backdropClose:{type:Boolean,required:!1,default:!1},searchable:{type:Boolean,required:!1,default:!1},unselectableList:{type:String,required:!1,default:void 0},blacklist:{type:String,required:!1,default:void 0},recommendation:{type:Boolean,required:!1,default:!0}},computed:{themeText:function(){var t="normal-theme";return"b"===this.theme&&(t="vip-theme"),"c"===this.theme&&(t="customer-theme"),t},selectedItemsObj:function(){return this.selectedItems.map((function(t){return{no:t}}))}},mounted:function(){A.loadCategoryPicker()},methods:{openModal:function(){var t=this;return window.categoryPicker?(window.categoryPicker.open({onError:this.onError.bind(this),onSubmit:this.onSubmit.bind(this),onClose:this.onClose.bind(this),dataSource:this.type,backdropClose:this.backdropClose,theme:this.themeText,title:this.title,searchable:this.searchable,maxSelectedNumber:this.maxSelectedNumber,selectedItems:this.selectedItemsObj,unselectableList:this.unselectableList,blacklist:this.blacklist,recommendation:this.recommendation}),new Promise((function(e,n){t.resovle=e,t.reject=n}))):Promise.resolve()},onSubmit:function(t){var e=t.selectedItems;this.resovle&&(this.resovle(e),this.resovle=void 0)},onClose:function(){this.resovle&&(this.resovle(void 0),this.resovle=void 0)},onError:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this.reject(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(Object(n),!0).forEach((function(e){Object(o.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e))}}},y=v,C=(n(1370),n(38)),component=Object(C.a)(y,(function(){return(0,this._self._c)("fragment")}),[],!1,null,null,null);e.a=component.exports},function(t,e,n){"use strict";var o=[function(){var t=this._self._c;return t("div",{staticClass:"mb-3"},[t("img",{staticStyle:{"object-fit":"contain","max-height":"168px"},attrs:{width:"100%",height:"100%",src:n(639),alt:""}})])}],r=(n(14),n(13),n(11),n(15),n(10),n(16),n(3)),c=(n(30),n(8),n(35),n(36));function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var f={components:{LoginAlert:n(568).a},props:{softInfo:{type:Object,require:!0,default:function(){}}},data:function(){return{isLoading:!1}},computed:d(d({},Object(c.c)(["isLogin"])),{},{softSkills:function(){return this.softInfo&&this.softInfo.data&&this.softInfo.data.softSkills}}),methods:{toGiver:function(){var t=this;if(this.isLogin){var e=this.softSkills.map((function(t){return t.dmsName}));this.$nextTick((function(){window.open("https://giver.104.com.tw"+"/questionList?ask=1&externalTag=".concat(t.$encodeBase58(e.toString()),"&from=nabi&utm_source=nabi&utm_medium=ask"))}))}else this.$refs.LoginAlert.openModal()}}},m=n(38),component=Object(m.a)(f,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"bigClassBlock"},[e("div",{staticClass:"d-flex flex-column"},[e("div",{staticClass:"h4"},[t._v("性格不適合怎麼辦")]),t._v(" "),e("div",{staticClass:"p14 text-7e mb-2"},[t._v("職場前輩幫你提點方向！")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"btn btn-outline-primary btn-block btn-sm",class:{"pointer-event-stop":t.isLoading},on:{click:t.toGiver}},[t._v("\n            前往發問\n        ")])]),t._v(" "),e("LoginAlert",{ref:"LoginAlert",attrs:{message:"我要提問"}})],1)}),o,!1,null,null,null);e.a=component.exports},function(t,e,n){"use strict";var o={props:{useBootsrap:{type:Boolean,default:!1},placement:{type:String,default:"top"}},data:function(){var t=this;return{showTopTenSkillHint:!1,target:function(){return t.$refs.target}}}},r=(n(1358),n(38)),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("span",{ref:"target",staticClass:"icon"},[t.useBootsrap?e("b-tooltip",{attrs:{target:t.target,triggers:"hover","custom-class":"font-weight-bold",placement:t.placement}},[t._t("default",(function(){return[t._v("tip content ")]}))],2):e("span",{staticClass:"hint"},[t._t("default",(function(){return[t._v("tip content ")]}))],2)],1)}),[],!1,null,"10459891",null);e.a=component.exports},function(t,e,n){"use strict";n(198),n(65);var o={components:{PictureSource:n(988).a},props:{photo_small_file_url:{type:String,default:""},photo_file_url:{type:String,default:""},room_title:{type:String,default:""},room_id:{type:Number,default:0},room_type:{type:Number,default:0},is_favorite:{type:Boolean,default:!1},addIcon:{type:Boolean,default:!1},showSortNumber:{type:Boolean,default:!1},sortNumber:{type:Number,default:0},link:{type:String,default:""},radiusStyle:{type:Boolean,default:!1}},computed:{showImage:function(){return this.photo_small_file_url||this.photo_file_url}}},r=n(38),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("div",{class:["skillListItem",{"border-radius":t.radiusStyle}],on:{click:function(e){return e.stopPropagation(),t.$emit("clickItem",{room_id:t.room_id,room_type:t.room_type})}}},[t.link?e("a",{staticClass:"d-none",attrs:{href:t.link}}):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[t.showImage?e("PictureSource",{staticClass:"mr-2 rounded",staticStyle:{"min-width":"36px",width:"36px",height:"36px",overflow:"hidden"},attrs:{"webp-img-url":t.$extensionTransToWebp(t.showImage),"normal-img-url":t.showImage,"error-img-url":t.$getDefaultImgByHash(t.room_title)}}):t._e(),t._v(" "),e("div",[t.showSortNumber?e("div",{staticClass:"text-a9 p12"},[t._v("TOP "+t._s(t.sortNumber))]):t._e(),t._v(" "),e("div",{staticClass:"font-weight-bold p14 overflowMuiltLine"},[t._v(t._s(t.room_title))])])],1),t._v(" "),t.addIcon?e("div",{staticClass:"skillListItem--focusBtn d-flex",attrs:{"data-gtm-btn":"關注"},on:{click:function(e){return e.stopPropagation(),t.$emit("toggleFocus",{room_id:t.room_id,is_favorite:t.is_favorite,room_type:t.room_type})}}},[e("b-icon",{staticClass:"p20",class:t.is_favorite?"text-7e":"text-org",attrs:{icon:t.is_favorite?"check2":"plus"}})],1):t._e()])}),[],!1,null,null,null);e.a=component.exports},function(t,e,n){"use strict";var o={props:{webpImgUrl:{type:String,default:""},normalImgUrl:{type:String,default:""},errorImgUrl:{type:String,default:""}},data:function(){return{errorStatus:!1}}},r=(n(1356),n(38)),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return t.errorStatus?e("img",{attrs:{src:t.errorImgUrl,alt:"圖片載入失敗"}}):e("picture",[e("source",{attrs:{srcset:t.webpImgUrl,type:"image/webp"}}),t._v(" "),e("img",{attrs:{src:t.normalImgUrl,alt:""},on:{error:function(e){t.errorStatus=!0}}})])}),[],!1,null,"808db65a",null);e.a=component.exports},,,,,function(t,e,n){t.exports=n.p+"img/104.885bda2.png"},function(t,e,n){t.exports=n.p+"img/104HrBanner-M.1566db7.png"},function(t,e,n){t.exports=n.p+"img/104HrBanner.c0865fb.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAANsSURBVHgB5ZuNddowEMfPnYBs4ExAmaDOBE02gAlKJ0g7QdiAbJB2ArsT1EyAN4BMcLmzZJ7x84dk62Tx8nvvAIOR9Pfp+yMCIRBxQW8JWUy2JPtKttDXdQptZ7IDWUaWR1F0htBhkWTPZClOJyXbksUQGpSoBN2I7BOfwNx4ENrkSPYIvqFIY89Cm+zRV1aniH6QnXB+jmRrkAJVhfSC4fFioyMyuQlVE5OCalpCJCd7oqasGLpxUDCqssJiYwibguxhSHSv4BsSW1GQrfo6LV+gnze4HbFMTJbqIthKp2BdGYRaZvvgND9b/YPErk2qx9PpVJovLOPbtmmLWsTGYFBuz+cz7Pf78vNms4HFYgGSjIiPy/GqWYm1ZWnODjEYRM7v9c9SjIyPn8i++eWVh1H1U9/AMPKr0OmJS3jaQXzcVGXVRdPDVr0Wk4RNwVGYVxXYRTCq4Vc88OfeJ+tSdF9YlrkpwdrQsu5h46pcWrRDsRUXbWUZ1jXzESwRSJhImJo77oFVHh41qHbtaUGxTNkuV4K/w0hciRYWy3zjlwhVv/MEE5mSYA9iK+7Yw076y2M97VEsk7DgBBxhK9qzWCZmwUtwiKnoGcQySy7DPFBIwDFDgqp72n4THIzkLJjb3xgEsG2ahMUyBQtGEMRUtAexJUNTPJMxEeJLLCMuODTEBZtkaYmhZRcsuAAhXHUtHVKwYJEYhpol6fF0B6XgAzjGpFPhYxKhhXcWnINDTHtQvmZOGuROy7Btd3EG0dnnGx7qhacMJjA1wZ48ndWneP7BSFx5x4Pov/xSTeKNytY3Nol3z8supYfHZGuphAl5OqvWmOpdy99giHQlIyD6oq25tjQ4GeCxRnUVV0Heva8umoMHYy9PSIDvMH/WL64E61W2DCwTITmenRjfK2n6U/+ia0H8P6j11U6q7MYEuiBegMGunhJUu1hdb0GYjGV8a7CB/rDD22XXpSvqEcx5JuTdd13w5vJV14+dUzy6M/IAgjMiAhRkT3039M5p3ZjoAgwqqcFJPB0Ai84hXDhtK6Ma2QYMsyLbgSSodukdcX64fdqCD1AdAXjF+UhxjtMuFOkj+vV2ip/kdEsahNAmqLL6Ft0d1PqFPXufx2B05mEMOqHcS0tA7TLg6xjaj+Jxe89Ny0FfZ1JH8T4ApLGa09ja0VYAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXcAAADIAQMAAAAp5TOpAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAADUExURfj5+oS7XkQAAAAgSURBVGje7cExAQAAAMKg9U9tB2+gAAAAAAAAAAAAeAwlgAABrh2jAwAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABXgAAAFUAQMAAACk5MYqAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAADUExURfj5+oS7XkQAAABQSURBVHja7cEBAQAAAIIg/69uSEABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbwbpwAAB01BFUAAAAABJRU5ErkJggg=="},function(t,e,n){t.exports=n.p+"img/Group.1387238.png"},function(t,e,n){t.exports=n.p+"img/Hyperlink.59d0363.png"},function(t,e,n){t.exports=n.p+"img/ITIBanner-M.f8a2743.png"},function(t,e,n){t.exports=n.p+"img/ITIBanner.1a182cb.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAX0AAADIAgMAAAB5Z9mwAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAJUExURWXP/8rx/5fg/zQlwloAAABcSURBVHja7c0BDQAwCAOwScPE/VzPVV4FCQmtgeb0qggEAoFAIBAIBAKBQCAQCAQCgUAgEAgEAoFAIBAIBAKBQCAQCAQCgUAgEAgEAoFAIBAItgSv1w0AAADAIB9lFICdwAfkrAAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABaAAAAFUAQMAAADoIgmXAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAGUExURWXP/8rx//SDcjoAAAC9SURBVHja7c4xDQAACAOw+TcNJnZA0ipo5qFIS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLN9MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFcsgUHNgON/cb4AAAAASUVORK5CYII="},function(t,e,n){t.exports=n.p+"img/a2hs_android_intro.b184c22.png"},function(t,e,n){t.exports=n.p+"img/a2hs_ios_intro.46ac70b.png"},function(t,e,n){t.exports=n.p+"img/acadBanner-M.d30fa6d.png"},function(t,e,n){t.exports=n.p+"img/acadBanner.6ddc3d2.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA5UExURUdwTDnJ0TnJ0TvK0jnJ0UDP2TrJ0TnJ0TrJ0U3X4jnJ0T7M1jvK0zrJ0TrK0jnJ0T3L1DnK0jnI0Bai2RQAAAASdFJOUwCt30rAD3L6mwfwFzyGZ8wmWUD0LogAAAK5SURBVFjD7VjZkuMgDIy5D2Ow//9jd2YBRxgJyNQ+bQ0PqZrANFKrdZDX63f9Z8tyZSJzWjsWjeL2ZyheCX01SwvlP4bZtwdKwdr2z2DERS6xDuW3a7i2RQe5uybL8RUcpSEliidprUxcQdK0mkfcvO81bcAtN29bzUQL/mbZBdlvy3BDiSFRtuJoQ5zzpnooRjZVv9ggxDur3g14Lkfi0GwfyzGSca47IuVpBHOOCXPKLiCaUIF3T5M5zDYt+JMCh1te9BwtmSexUmeLdxtKYuG53GIDpulQrS+MY0HJ9+uyJYm0rfLZs9OCNKgQJCOVZ1E2NO0EQ5W+2x5mvpMt8cCuVoglNB1LXkMOKj/seMf8ZFX08Iz2qBadhG5eW5Nuspap7I50qCoFZEg0V3cZFOFfD7pt9ixLjpMiKTad4Jhuc7f5MhvEsDLCwBXN5S1F+YDMBw5MtQdkeENIMuC7MxuEJyQDlyikmkRgpRlVG7jJIfXNRQlQRJWIEO9QJcT0rAnZgaJYx5atkFl7zWbm13agVG3Pn5n5CRCUxxZ2tNIjQGPXvtLKbafEnHQP18Zk73WqScgIFSbhh/v2bouMcHIkSNvnWI4S5uQoRU6wfcJZi3ByKWllP74RTs7KCNoKUCebwha75q6IVtA7OSm1iWwqIX1W/BmGwkJ6rbcj30APbEEbpI+PLr0/eA50dSBato4PcV90IcaHiHsq9Z24J0jdWBPhv5zXMlI/aJ1/Z+uNEDc9ayOjnz+MiJYQt/rZMFo23RLSaDwu4g7HCtJwYK9VdAlp9IT4Frdmd9+e2UQ/avZb58ca4/0zC1Tu9FpHQh5+t7hZM5XMkPqn6C3u8EKQ+Prj+BZ3evVI5oPnuivijt3MNcN5/oCQrVehn96mOO1PGhkhpW4OXMKZruMf4Xwx+ftD1CfrD0AbcWJeqAmFAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA5UExURUdwTDnJ0j3I1DnJ0TrJ0TnJ0TrJ0zrJ0Wfn/znJ0TnJ0TrK0kDV1T3N1jrJ0TrK0TnJ0TrJ0TnI0M6SYg8AAAASdFJOUwBoKaN7wFPZA/eKQQ0XcVnos7nidVEAAADWSURBVCjPnVLXDsMwCMQrGG/z/x9bPJImrdSHIkXCHHesAPxr/jBIhObwz/iBvA2Pe3qQQNEp6SIJ4U0KTGq/vCIOlw5TBFCOWlcAkXireWQF2a0SLoNi9JsgjuNWc67IbiQuiuEiWS0NPw92YTMBZC2EunQrd9CM0ydO8uVdMFpITBfQJtBDnGWtu6T6lJI5m6npHGMVR6HE2TG5ou/tYvW+rXVZ/RwwClnMwMdKupVmh9nvJSZic0fOtQM4BPvgrENZKBIaSHye1oEe/dj3RT4s/vo7XiXDDFJaAD8zAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA8UExURUdwTDrK0T7M0znJ0TrJ0TnJ0TrI0TrJ0UXV1TnJ0TzL0zzL0znJ0TvK0jnJ0TnI0EPM2TnJ0TrJ0TnI0ILqUJ0AAAATdFJOUwBpGaRy+vJ+CtYnPedStsAPjeOqZMvPAAABvklEQVRIx91W2XbEIAgd466JZvn/f21AbdCoPX3rKS+ZGJYLF3A+n38pTvBolbKRC/ez9qLtRcTqZaputLoaUdqM9bf16si6jfR1UpCBeWeM8yzIdKL7cHjyx/bnbGcpJu/BQn3ZIjYao/ABntW/P/i1i2rDIqYaLiwAD4HlVyx0k7kBNysqLFyW+kieTvCjeQGSiGermFDo2MsW1KLKCWtZYMWfWpoAGHNLDSGAB3ZeBTwipiFsdoWRJKtKip4hsCX9CWp75kL6pnbAwQ6mT++K+y1AAFlA0y8SQoT7h6hIZu/AIGtWZBXd8X7zLzff5YDg/n7GKmdHnpRRxpXNaT7BoTaGPBsbCG6gXlODcNSNeMOWU0jH7ZFv1Wz0ky5V9an9Yndz0LKehuBMjXK8pqQiTtMJLE1bgWtbYyNt8UgNrmq+zN0uawur3bC9T1wFcaTdGyCWM8vqrrsz6IjynFkW8aa/WQLK5MyGFtWaEcH6RPbEorPIkGw7tOisSkjHiZFFZxlznAExR1XWfU5Mk/rq6YUSE9nuM7WgVxZULNqnO285ppcikq1JP3f1n2tXItmOTMDxu9tbHH/2j8UXIdMzFr8bw94AAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA5UExURUdwTDnJ0TnJ0TvK0jnJ0UDP2TrJ0TnJ0TrJ0U3X4jnJ0T7M1jvK0zrJ0TrK0jnJ0T3L1DnK0jnI0Bai2RQAAAASdFJOUwCt30rAD3L6mwfwFzyGZ8wmWUD0LogAAAK5SURBVFjD7VjZkuMgDIy5D2Ow//9jd2YBRxgJyNQ+bQ0PqZrANFKrdZDX63f9Z8tyZSJzWjsWjeL2ZyheCX01SwvlP4bZtwdKwdr2z2DERS6xDuW3a7i2RQe5uybL8RUcpSEliidprUxcQdK0mkfcvO81bcAtN29bzUQL/mbZBdlvy3BDiSFRtuJoQ5zzpnooRjZVv9ggxDur3g14Lkfi0GwfyzGSca47IuVpBHOOCXPKLiCaUIF3T5M5zDYt+JMCh1te9BwtmSexUmeLdxtKYuG53GIDpulQrS+MY0HJ9+uyJYm0rfLZs9OCNKgQJCOVZ1E2NO0EQ5W+2x5mvpMt8cCuVoglNB1LXkMOKj/seMf8ZFX08Iz2qBadhG5eW5Nuspap7I50qCoFZEg0V3cZFOFfD7pt9ixLjpMiKTad4Jhuc7f5MhvEsDLCwBXN5S1F+YDMBw5MtQdkeENIMuC7MxuEJyQDlyikmkRgpRlVG7jJIfXNRQlQRJWIEO9QJcT0rAnZgaJYx5atkFl7zWbm13agVG3Pn5n5CRCUxxZ2tNIjQGPXvtLKbafEnHQP18Zk73WqScgIFSbhh/v2bouMcHIkSNvnWI4S5uQoRU6wfcJZi3ByKWllP74RTs7KCNoKUCebwha75q6IVtA7OSm1iWwqIX1W/BmGwkJ6rbcj30APbEEbpI+PLr0/eA50dSBato4PcV90IcaHiHsq9Z24J0jdWBPhv5zXMlI/aJ1/Z+uNEDc9ayOjnz+MiJYQt/rZMFo23RLSaDwu4g7HCtJwYK9VdAlp9IT4Frdmd9+e2UQ/avZb58ca4/0zC1Tu9FpHQh5+t7hZM5XMkPqn6C3u8EKQ+Prj+BZ3evVI5oPnuivijt3MNcN5/oCQrVehn96mOO1PGhkhpW4OXMKZruMf4Xwx+ftD1CfrD0AbcWJeqAmFAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALASURBVHgB7Zq7bhpBFIbPkggC1UbiknJLLs2mcwlvELp0xl261KliP0HyBoEnsFKmMqniLpuCS7npkACJVIQC8H8ssNZjQJ7duWDJn4TYPSvQ/+/MDmfOgegZu7wgy5TL5dNisdjN5/Mf8JpNJpM/Mp9PkUUqlcpHx3Ha6/XaxamH468kiTUDuPOf8SYKnpEkVgyweNztczGOkbggSRwyzAHxZ8PhsE2SGDWwSzzOZ6vVqgnxXYrBSzLEPvF4NSA+oJgYGYFqtfoNU6QVjW3F93q92OJvv4c0s0s8CBHjOx9SQrQZ8DzPzeVyX3SKZ7QYYPHZbPYKh75wSal4RrkBk+IZpQaw0nA6cEmGxDPKDGzE8533hEsBxDd1iGeUGDgkfj6fN8IwlM5xHktiAzbFM4mSuQPiOybEM7FH4JD4wWDQIkPE2pHVajUf4n/h8I1wyah4RnoKsXisKlebXdQdMHRhWjwjnY0i9eV1/oH4fr9/ThaQHgGIdYUQ5/NtsoS0geVyKW77XH6Y+aEmC0g/xNPp9BrlD2h26pEwm3iH+HeURbQvnVFirUIQ2T0WE7ELW8diIlFljk0UCoXXODyJhI2aUJLMocLWxtupEA6RTrw96lxoy+YHrCOEPd7Y8AaHNKJ0Q4OR4NyoLoS1ZqVKS4uZTKaJ+S+WSXyMxCVpQqmBIAhm6XS6scNEncsrpAEtVQnf993FYvGbhFSbS+nImc5IIVoaHKPR6D8vo7yc0v3Ezy+VSu54PP5BitDWoeHfgF0mkIafoCNDMPGTFKC1xbTPBKirMqG9R6bbhJEmn04TxrqUWxOpVKqF01eRS4lMGG2zsgmI5RXoPQkmkBT+w/VrksR4j4zZVxjgUjxKkB2Z77LSpeSuDPfFxPiT6hNzU487k0JYOuGz+lcDzPkAD/Zf3HkulPEU+sQxeuYJcQOV/WgXUVLkUgAAAABJRU5ErkJggg=="},function(t,e,n){t.exports=n.p+"img/article.dad816a.png"},function(t,e,n){t.exports=n.p+"img/b-1@2x.67c4bb6.png"},function(t,e,n){t.exports=n.p+"img/b-2@2x.41dd786.png"},function(t,e,n){t.exports=n.p+"img/b-3@2x.9615ac3.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4BAMAAADLSivhAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAnUExURUdwTCkpKSkpKSoqKiwsLDQ0NCkpKSkpKSoqKikpKSoqKikpKSkpKWTe33gAAAAMdFJOUwDA7FgpDqbQkbx6swTaRzIAAAHsSURBVFjDY2DADZyXZU7LMmEgB3hNOgMGmktI12t5Bg4mk6rX/AwSKCZNr/sZFFBCil6uM2hgAfF6WXPQNR8LIN3R6kUwlgixell0wOoPNQOtY7WAchyI1OwEVn4CqpylB8xVIdLHNWBfwq1iAYfAceJ8zQZWi+RMFrBpCURpXgNSuhVZJBokcoqo4AJ7GFUM7G1igowdpLABVYwDJFZAhGYboLrT6IJ7gIKHidAMCp1SdMFwUBgS1suM1XvggDAgqJkTFMeYwqC4nkBQsw/21AQSPkJULDdgCnMQFdNzsMcoyNMnCWoGZqJDpIij23ACm0QPEWmMGVdqsCEirkCl11FsEjFElGSg/HgAmwQPEbkSpFkBmwQTEZo5cWUfdiKSGCNQjQBJEqOaRzWPah50moO7BUFACKhGURALQEjsMMUo+HTOEA0OoRWErHPOkABOBmAUXSSACZiNGOIBSpXHqkOa5kMB6M0BUoABWu17SJBIoINWg3MD+arEtmuDgIo3kJj2cCoe1TyqeWA0myWTr5kbNQeQptkGa1OSSM05WBv9RGqWOXPm4KjmUc2jmgeNZoryM0UlCUVlGEWl52hdNap5MGimqNVLUXubopY+RX0Mino3lPWrKOrRUdSXhPdiiQCYvdhRMAqGGwAAZMA0SCuixasAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAhUExURUdwTICAgH9/f39/f35+foKCgoCAgH9/f4CAgICAgH5+foz3izsAAAAKdFJOUwCAWGzLJo7rpxZXLYMgAAAAxUlEQVQ4y2NgoACwKhsFYBOfVrVq1fJMTHFmoDhQxgBDomvV8raMqlUr0MU5Vi1RYGBg8lrVgCZhtSoBRLGtWowqzlm1DMLIWj4BRYJtlQOEwQLRCQfsqxQgDKZVBSgSUcthrKqlKBJacGd2LUJ11DIYKwvVWVILMVkDLBEsKOi1RBAKQCxTWChgAEj4RGFKQILFCm4M3LjF2NyBEKGFBJMCDgmtRTgk0BmDQwKnc3F6kIahizNqcSYGnMkHlOBQgSlZRQ4ADxyE0bzjRJcAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA/UExURUdwTCkpKSkpKSkpKSoqKisrKykpKSwsLDMzMykpKZWVlSkpKS0tLTY2NioqKioqKioqKiwsLCoqKikpKSkpKQWRNZQAAAAUdFJOUwBX+pl3P9MqFeoBriEMTZFcNGLGv1IGRgAAAhNJREFUWMPtmMuCgyAMRSkPCQ/RWv7/W0dRFBShM82ii8nKVjiGEG+ChNRNis0k+cS08bsZ/QFI+MTEB6BHCnp8DWgUYvwDqHfyBJp/yxNIur7FeSrveQvEvVfPNmcnaWFSkBF657RIK2cl2WH7EUHz5MFGTp0UOTPJMhqvgRCI15RZHq/vSQdnnnFk9HLLFG7cklYOHbskdzrmQmC0Y9nfI70l6X7lOAJxiuI2HWF59LgD4lZSKQtcGDPOVytJ8cuofkXNHEJCjnpXEgy/D4KXpwOUlg8D9S/YH+aL4sIPkpZwtyMg9cHh5TEJqWF1TiS9mgqmX3VOJDVVVbY4xC6bSptrgzDMVlxmy5OGdoyGZRxrOKTeCbaquzQUlg4TM4ZNUAjmretaXbIeoghQlqHC+6R0rfhkDolED5S4uHQpUFo8FgtakS5c0LSK0HSeDQoTponDsaSedgkeNn+6TQ6ybUhUxeT5tVq6pyEZ6CICPafFm95nGZwWZndOu027nudUdYViLsqdwpTFPkR3KvcXGWiUs2VbHJzfk6G/JDMsM8YL6NprmDz2XRrWPGXqIJ2D9LsgtKWhBRtj+9ES8uYVIb9+RfBeWjQZwRY2NKnFE3+CVY7QCiRaycZqIrDaGqxGC631Q2tG0dpjrIYd8QiBd6jBO2bhHfzwjqJ4h2O84/qXf4lA+8iC9tkH7UPUv32n/QAVbWf7uV5TGwAAAABJRU5ErkJggg=="},function(t,e,n){t.exports=n.p+"img/bg-10min.780ea26.png"},function(t,e,n){t.exports=n.p+"img/bg-blue-intro.bacaa50.png"},function(t,e,n){t.exports=n.p+"img/bg-deepblue-intro.bc0400a.png"},function(t,e,n){t.exports=n.p+"img/bg-green-intro.e6b426f.png"},function(t,e,n){t.exports=n.p+"img/bg-lightgreen-intro.384537f.png"},function(t,e,n){t.exports=n.p+"img/bg-visual.82180a9.png"},function(t,e,n){t.exports=n.p+"img/bingo-bg.d7813ca.png"},function(t,e,n){t.exports=n.p+"img/bookSample.4d1b170.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABIBAMAAACnw650AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAqUExURUdwTCoqKisrKygoKCkpKSsrKyoqKikpKS8vLykpKSkpKSkpKRwbHiIiIzsA5X4AAAALdFJOUwCAPfvpDGShHbzJzMuntgAAAWtJREFUSMftlj9Lw0AYh6+BKOiiLipdIigOHdtBvHaxIEqX4OqiIIJ0UddOopNOgri4CC6Cixq1apIpY96bdMub72KuyeWPJrkPYH7bPTzcm+PgfiGkSpCF6Sj7SwJt7Qo2E4JxM45xrXOiHtBmzA5HUgNBxKfrnOwZfozY80iqQyrmPSHnZpo8/ZVYS1O6mCc50fhmMMVZOW0Hc8U3tWPJvQxPMtvrALS6AF8vRyGZtxJpKjq5coPgWMA+tAjUciQyRsFFMHZImUT66AF7I+VSzbYzy1xJ7VnwrUskUhe4TGpgdBFl0gWyd6k0ieyxkiqpkiqpWIprY3OOSydXVJBEYr6IYQyQDWknBpjbCBSZkdMI/TTiL3TGgfApPks2D3Z3uZLM972NsAbuUoWHXGI0Iava7w5Vl00umcd6adUumsHENUkfK4HkabLWHiAMpdWefewLso3sVSplL7ggE7Z3K5XUh0/9f/1g/QCjIBKzLeJJFgAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABIBAMAAACnw650AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAbUExURUdwTKurq6ysrKurq62traurq6qqqqysrKmpqVS/kT0AAAAIdFJOUwBAb4Alwpdc4rI25QAAANpJREFUSMdjYBhA4CiIAkSwqbHoQAPNmGpYOzBAAGGDsBnVgQWgq2Hp6EhEdbhYR4cDmiLGjg4BQiJDXRFHR0cDjBx+igZjiDMbGxvAyOEX4kT5bhBFC7D4EkcSwuo7aKmDVxGs+MKryIIYRR1EKIIUX6IdHQV4FEE4TB0dCniCYMAVYUkqmIpw+I5FkAhFGR3NBBWJdHS0UkcRmnU4fIfq8MEYLTRUxALKcUFKSqpgEhkARQoFIbVwRgde0AbNBfiBA7GKiLIO6HAgKFJSUgeTyEAdJOPAMMwBAPJAUX6DeiojAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABIBAMAAACnw650AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAkUExURUdwTKurq6qqqqysrKqqqqqqqqqqqrCwsK2traurq7a2tqmpqS3JZLAAAAALdFJOUwBAw3Nd7bQaK5wJDjxFFgAAAYFJREFUSMftlrFLw0AUxi9YaMjUOulowMG6KBFUXILSgqNttk5CoYJLQSiODqKomzoILsGps5KivH/Od5e7mORy77I4SP2G9nj87t53l6+XMvY3dHlvRbwuwMgGvQFqDQfulRkacgjOGDv4MjIOpBqtAhiXWsJePQm2CGiL3dSB2GEdyOvZoD1+mLNrGsKtxWKbNAQndSA8zBqQOEwj1AA4VYc5IR5LSx7mnJEQW+ZQxwLF2HFgTgp6Cvn37JbIHOYysuVyys2MaaYhcpmEFNM8RwK5+YQ2BGPeMaINRRKlDPFGomlIGArztMlQoa/RkDahylC5dUGvxSqfo/3Mm+X1pxWhczSnXT2+euydRYIuHn3fT0t3vtBLCuFoYzefawF5cpjE2Q0rn9XDzzWqrt78+FNAm9rswqrv4jUB0C/6yPtbB4hLu3BUo1LlH1oAaLstdQzwFAT7AM+qIl/8WdAMSlgN6INDrgXqqOuL0CAWkNvOdBRI7ajKStWfp9znb+gbylfDpwutu5MAAAAASUVORK5CYII="},function(t,e,n){t.exports=n.p+"img/bunny-04.14c32a5.png"},function(t,e,n){t.exports=n.p+"img/bunny-04@2x.a60efce.png"},function(t,e,n){t.exports=n.p+"img/bunny-04@3x.bbaca51.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMySURBVHgB7Zy/b9NAFMe/jqqy0YaBiSGIiS60EhsD6Z+AmDqR8A9QBqQWCZGoErBV+QcgWyckJkbSEYmBVkiFrUEwgcSviTLUvLNdkcRnvzPcGfv0PpJl93z3XH/v3rucnRdAEIS6Et7FstrgCNf2FQ04ItzENo7xWm3Rcc3snxDAAVGvqn9+kgZWggfYgwVc258264JjLBqVVdX+BM5czBeMXSzcQJt2V6nFMkKmtwI6H84Ez4CGf4hvsMHf2g/ofIh9OhoGjzCG0aUYSJgW7Z7Q1oZfDGnrc0LlChQFwxAjdsTUlzEFmWt5wT1ToGTkjGhrwWdit1vJGklzOU3vQydObHCPuWg1Y1B8P62pktg7VAhZ1V9KQzJ6Dmdqqot3g4d4BoYkoI9milepl3ZhgX+xT207dC/bmrChbZ81zXfSlnHbRJyqQyIMadfVnGrr6usFCnBppmScGPaCqKODlDtq13R6gdLDbwzfSMfRBV01+STN4EaghmY2aViawcqwP2XWAckHr8FE0cDmStu1/UmcuRgF9XX1CCJ6DKGOa2b/hDk4xFWvlmVfIUGaQQRiEIEYRCAGsyBNTxFpkTeCT8RPRlnMBIqXHm34hIE4CnExBhGIwczFTp0Gzi7BKz4fAD9/sNXMBFLirO3AK3bWgA8v2WriYgwiEIMIxCACMdh/3PGVZodf/OyAeZoZm4YzowubhtgV6NUW8O6xef2LN4HL98q3WQB7LqZ6uciNKN5S/S8H5dosiMQgBnsCKd9Xw7sIqv6ZpXJtFsRuDFK+f+G63YDqwmYB7M9iTQdrtub/WwdKDGIQgRhEIAYRiEEEYpC1GIOsxRhkLcYgMYhB1mIMshZjkLUYg8QgBhGIwUwgg1e0vpIl0Pupv9R77COPRPr+UffaeV9XNUug3VTJ8zvwhhdbulLtN2b16VA9LOIIh6mcjYVzwJVb8b6OfCJPePM03k+jknXO65pkZxxuYp0EcpawXzG6WdlM+TmrG1GjG/CbQd439XNnMWrYoV0f/jLg0hiM8uaTFM0efBhNf3Ju+yYpnIV/uyP53Yx6pomrlKl5Csg9N6lTgiAIglAtfgOvVBZOOhoi2wAAAABJRU5ErkJggg=="},function(t,e,n){t.exports=n.p+"img/caution.940dd14.png"},function(t,e,n){t.exports=n.p+"img/cdri-bg.d91f1ed.png"},function(t,e,n){t.exports=n.p+"img/cdri-logo-old.6205afb.png"},function(t,e,n){t.exports=n.p+"img/certificate.cca88f9.png"},function(t,e,n){t.exports=n.p+"img/certification-104.f576522.png"},function(t,e,n){t.exports=n.p+"img/certifyOrgAvatar-1.b271d95.png"},function(t,e,n){t.exports=n.p+"img/chrmaBanner-M.545182f.png"},function(t,e,n){t.exports=n.p+"img/chrmaBanner.5875fa2.png"},function(t,e,n){t.exports=n.p+"img/classroom.01b13cf.png"},function(t,e,n){t.exports=n.p+"img/cleanIcon.993b31a.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAEKSURBVHgB7ZnhDYJADEYbJ3AUNsZNGOFGYJR6CCSHQaHQftdL+hJ+6vceoCZCFARB4BJm7vKReKbPx5NATFv5GJbtyaEjKflFI29JiIhFPn1vkxTexzTih/wHklJcQkjEP/lMT1IO3lA1wmwLEWG+YTnAqKtsMcTAW1R9EC6vOVxNXkOguvwdETfyV4TcyUvE3MoLIvzKrxxE+JZfEUT4k185EaEu/6BgpulbiFv+EHPLX6Pc8g+ZRMxdxBUhNxF3RKpHaAhUi9AchkdYDMIiLIfMIxBnyWyDgfepyRbPzwTM5U9GDCQFKV9sqv69npDyxe5exEhSePuIaUDIF9tTxKs4cR0FQRC45A1x2i1W5OXEqAAAAABJRU5ErkJggg=="},function(t,e,n){t.exports=n.p+"img/clothes-handbag-copy.549986c.png"},function(t,e,n){t.exports=n.p+"img/coachDetailBanner.7fd9c64.png"},function(t,e,n){t.exports=n.p+"img/coachListBanner.64e8668.png"},function(t,e,n){t.exports=n.p+"img/coachListTitle.56bacff.png"},function(t,e,n){t.exports=n.p+"img/collect-none-login-m.a8f06b5.png"},function(t,e,n){t.exports=n.p+"img/collect-none-login.7949d0a.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8BAMAAADI0sRBAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAtUExURUdwTISEhIGBgX9/f4CAgH5+fn9/f35+fn9/f4CAgH9/f4GBgX9/f39/f35+ftlL8n4AAAAOdFJOUwASQPie7cWueFKHJttsgz3l6QAAAq1JREFUOMuFVc9rE0EUno01NW6V2FLBS9C9eFBCCxbBQygKKh5C1S4oilTQi2gJiOQiwUM9iBhSRfAkghdZrBS8hwrBY6gePHgIxs2PGuP3N/hm58fOZjc6h2Rm3s573/vme28YC8f02t3LC5/PH2FJw/pWQDD8e9m4NXUfepw8HLOuwhi9EbtV4bu3njjOq7N81on6f0lbJ9bF/NAZWlwyrXto44o+YD2m5bZhLgKnDHfWW3IfLg8C/U3Tm01QbuoVoX4UhUrRemo+AVwdTfQFsCinVQw3R812E3/ELANci7P4ERDczAK1uJkOXZRZ7SRdUVXklgJKSeZJ4T0NXwGzPOLG3pDgClihvzwG6kCab8zijVh9wE/6rUgINOr4wVgrOBRA7pPDQsjYayzxQyXFnJ9l+/iPBrvCGZbO6eA2xQvvpsKJvKFZqNDXM/glFu9dt4AF1wVc93pNxJoj4G0m0zfGPN/KEfSqBJqJmNsizx2iVFycFZHqorjoDgGVqko5R9FznOPoOM4xmVmPNcPrSnP+dgVcyXhDykNLfjdPoi6hBmi7rBCac/gtmVNmn8xaSHnKU2cizYbzFrYkc6FzA1qQYzOsDw5tVVyY9d3zmrjjecAF7ynTiUlapkxSulmmaJFQ6hFOa0yRmufZ8JyNIcXHr2RGVIN9rvwQ3XL5AYbl8mklnjny0NfKHUjmDDmEYprifnIilhaTpRvBfn4ZAXOGFMnFJyXjNo+3pcyBkGl3oJyXeGFqWYsymFTB7Xf0n9rQFS6KyA77QFIJEq1L/yhgAptk1uXfCgWQ1DyKSbHD1tMcbWqRxmUBsfZttL0M/Om128vjmuYEfP5KjGu5SkZjGnZOaWT5S1K75+bG1yL/oPHseeyx2IvGugCT/NQc0GDHP1T/e+aSH8m/p5f2M4m5oRgAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8BAMAAADI0sRBAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAwUExURUdwTKurq6qqqqurq6qqqqqqqrOzs6qqqq2traurq6qqqqqqqqmpqa2traurq6mpqZ6SVSIAAAAPdFJOUwBz+EPtrQzHGZ1ShtspNkPmEUAAAAKqSURBVDjLlVU7i1NBFB4feeyaLIKKryIWawpFshC1UrPqVRQEFzGdkLButYWJYKEoZAtBu0RFLCwSLcTKNbZX0EpJFdk/sAv+ANlrsjEa/Zxz55ncG8FTJHPmu3Me35xzhjEj1/feOzP9+dFxFibx3Rn44t1cCqJbrkDLwZkAWoElvRE8XqDdO/tOfX3xjFbdYftHyeQrsV4kN2dtdBPfOF1UWnQnV7cbNFoHDhctV++AvtEfjDqjUG7rw5UhW9JbTx2fAA6NJvoSqMllCoMvo3CyjXXJCHAkyOIKILi5DzSC8CRwwV8UlJlhSaErbc+FwRFhPQZP5Rx3+SrZlEoGZf6Xwy91IEYbC3grtA/47rs+r+BVbDC2jI9Mhtz1bWjGljFLh+YUc9wr/ymaYMtkTRqP0sEY+jrYAhF5WbNQ51/P46dQ3jtOBtOOAzjOpYbwleaBbyhqLUnTVomH7vsTJFryQ+S5zh3U9KUbqYmL7rOKymsqewy9bPYE+tnsSZlZj7XNdUWIv80+V9LfgOehS34rJVEVfkW0HZbBmlKr+C2Zk+7g2XAOB5jORMKW8RRdRkGXoG/cCs3PsW1uiEKTiUX3u24bd10XeO7uYToxSUvCJqWzxBQtMpTVIU4bTJGaE3ku2KgnuoKuZF6UcfJp/ho6+fxVDPL5J6p40txCV3Pal8zp6ihbxZQgOyViziqmuG7eEv5I5qxS5CY+KcrtMqZoye031QYJquAVQ5pog4hqoniTBzHV1ANENFHSzIGwFuS0zv6jgXmwYbBuf6sAwoZHPaz9zehpjw61ocHFaVsLoGbsTcK7sevWxXFDcwIevRL2yI1aI1eV0ZiBXVU1cu61HPeP7XFPcGtHnT5oNd8EHottaPFjycK4p+ah6BgL78787zMX/kj+BRcZGokC1vUwAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFSSURBVHgBjZPpcYMwEIVB8D90EDoIVGCoIHEFDhUkboCjA7eQDpIKwBWEDkIHUQEc+TYjZoARY2tmZ8XTvreHhOvsrLIso2maCizanrmu22AVMZ27Qw7HcfwmqEPgyyJwAg+UUrFvE4D8TpDG0qqqtCXBBfcjccqxrwDrCNQ7FWoqkAQP/lwywBvbUMjSN+YURVHPJL4/KfljK+qbfmvUJGtremwtiS/EveLjJagMGECKsePS6D/FZ+LJnhIXkTBZCUjZklGuRCYvgxmG4QX/awZa53nOcdnIN2fhqoWVmlJnGR6m+74/bjDrWt0C2RKIIRZBfDLDexZsT2BVAa08mmHKfibtkm0CZ8/z5mtqDJb5vq+dO1uoZYjGaoP9vzjnngroO8O1S4K5vvaWQChXBVH2CWUf5GdZYuztAgSK+gE7zaA8Y5ZeYmZ1zKgz+yuJrn+lCsn0NeIR5AAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA8UExURUdwTP+SAP+VAP+ZAP+TAP+TAP+WAP+SAP+SAP+RAP+RAP+RAP+RAP+bAP+RAP////+oNv/48f/pzP/TmsTmaVkAAAAOdFJOUwBxFRlHPwjF9KKzed8XGdRq8gAAATlJREFUWMPtmOGugyAMRqciLeoq4Pu/691Nbm6iAyn4JVuWnd/kBGoLrbfblw/DmtnRwg8WcrOxbZa+I5YdTF1frRknSTKNdRqSLKRXDU5OcYPOY1gKsNF4OlHQlb+4ExWukAs9iRI6zQSr9jxMZ3tyUoG7GGdFxI1UksmCgWtFPFwP0EmYRmkgVXfUIiLQhlJbmtpE01NtSCP9tVzMZ2U21H6LIcTNK8NtM8no4/pHzKjYaqrDh/Wf4DV1Mhc9WdOsKI+47oiKMknG2q8HfDnaS2rJdhRtqVXLTsSKk2XOxmVROIrCq0UtR4MFG/b5YQkJKxFY0cKuEdjFhrtqYZc/7DnCPZCwJxvXRMDaGlyjBWv9cM0orj3GNeywEQI31ODGLODghxtFccMxcFz/5Y75gQD8pfHlffkBWgqbHBaMUdwAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA8UExURUdwTH9/f4GBgYGBgYODg39/f35+foCAgH5+fn9/f4KCgv///35+fvPz85+fn+Dg4MzMzJKSkrW1taurq9zEmHcAAAALdFJOUwCTP0cTdOmmxfslyT3DiwAAAXNJREFUWMPtmOtuwyAMhatwl8cl5P3fdSatpo2GBNCpVE09P5vyCR87YOd2++ifSQplrNbOaW2NEnKSoqz7+iNn1ThrMRXlwTLLGMbe1605Re+JvI8pr/ffbD9Kmn1FSIz4LZ/C/sB0Bih0+fdWUR6srTzTooejijkhUkOx7Mqpa04Ja21idlQxy1zZU1wOnk7ly6bsuVGFk+lSuZCu4krUoXQenerl3ElNx4XriusnOteoAsn1E6hb7LiWLYNW3w/ya8OmhaOONKDIC5bjzAcaUjisgeENtbbEDm00qO3AJcmp96MgzyUgn2sx0LDCc1Xa7pqu6tsCIjuKTXAx0oS4KEVtUZ4B5dokM2XRbpKpvY4zoFi7rae83t3WrwFx9mlKnP/XgN7PI1j6YQUJe0VgLy3sGIEdbLijFnb4w64j3AUJu7JxTQSsrcE1WrDWD9eM4tpjXMOOGyFgQw1wzMINfrhRFDccA8d14AcE4CeNj95X3zU4fK0V8j5FAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFiSURBVHgB7ZnBEYIwEEU/joVoB5ZgB9qBWIEe1Qb0qBWAJdiBJdiBVmJcGA8hICFC2DCz7xIJwySfTX7GDyAIrYjwB+qADd5Y0s85+iDCAwqX6IS0fMsRtUNCTQweUhKx1jtGcIAmH4Nv8hmx2mOrdzgJoHptwI3CQr8cwwWFmdEzpZK+4BGq+oSap9Y11++7VcDA9+SbjNFKQAgMXkDlHmjq87Q+FbqgxudtjComldDkz+jrkMoHzc0h+Z4xThQEhOjzNooVCNDnbYyNh4PzeRu1LhSCz9uQc4AbEcCNCOBGBHAjArgRAdyIAG5EgG++f3h+4pbM9URt2pElGBrDW0IUv+iXQxNwNbOjIJdQBXdaOrfomOdVBYIUQG+58YcXsVFuagXYPLgL2o5h7oE7isnYkwboF8PnbZjZ6A3cGD5vo7Tb6Y2n1KzAQ+bzscsDlXaVx+xZUl0Oe33x0+cFwTMf1u1YfFGARd8AAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGhSURBVHgB7ZnLcYMwEIYXkiJyxB1QAaSDpASnAueYC+8G7AqMO4g7CJxydAchJaQByGrGnhGyE1khaGFmvwsjZO36F9JqtAvAMINw4A/EcbxyHOex67p7sMMBfW2KoijVDmMBSZJs0dgSCMBJK7Mse5Lf3YABURQt8ZECHX4QBF91Xb+fXrgGg8UMrIAY13Uf5PYtmOErxhZpmjYwImjfa9v249RW953RF7hgvIGR0fkYJGAKzF7AxT1wbZzH33XwP/wY53WcfQER5/GxtnhICXycsO3RtxE9ASLOUx1SAuEb/8OzyZiegCnGeR3qHphcnNfhaow3MDJDffA5QA0LoIYFUMMCqGEB1LAAalgANSxgbMSF57d+08ycFeRsB97Wen147T3I7dktIRSwkdtzE7DDJVXKLya5hFRw1t9wKe0x8bVW+yYpIM/zqwsvHEap0eWFPBiZoT56e0BsFjkzJjJmGJNhTHRxXoerGNsDMWqc19GrUorqXxiGC1BypBbZYRk1NRlwVmatquoVS5mfmNj1sHkHFjguXVHgeAGGscs3atyZGjj8Z1wAAAAASUVORK5CYII="},function(t,e,n){t.exports=n.p+"img/course-nabi-1.0339cef.png"},function(t,e,n){t.exports=n.p+"img/course-nabi-2.c6b7f44.png"},function(t,e,n){t.exports=n.p+"img/course-nabi-3.1df4f40.png"},function(t,e,n){t.exports=n.p+"img/course3rdGroup.8c62479.png"},function(t,e,n){t.exports=n.p+"img/Path.3b5cc3b.png"},function(t,e,n){t.exports=n.p+"img/courseGroup.73b8d0c.png"},function(t,e,n){t.exports=n.p+"img/cupoy-bg.2ccbf7e.png"},function(t,e,n){t.exports=n.p+"img/cupoy-front.3d4523d.png"},function(t,e,n){t.exports=n.p+"img/deepmind-bg-m.d8df9c2.png"},function(t,e,n){t.exports=n.p+"img/deepmind-bg.656d9d1.png"},function(t,e,n){t.exports=n.p+"img/delete.874b670.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAANASURBVHgB7VnLcdswEH3UZCY6uoMwHcgVhKogTgWWK7B9S3IxdUlys1yB5ArsVEC6gqQDMxXERyUHIwtyRZHgAvqQssWYb4YjAVgAb8n9EQQ6dOjQanjFhvqMAR5xgH1GDw/eF/xcNHMF1CdcQuEMbYCHifcV59lf5Hf+B9qEHg71k+iljX03GwnMuYeW45V1xCMbU0tneVZ4ZOKKfFSAXQEi731DjD2A+mgfsyuw2QYXdJeO0ifWx7kX4kGUC8lu/5AsENAVLyJJHdT2AQq/OvSGRH5AvyMiGKVETbmMfJSGapWaxBkpHqImmnDid6WWJmcoUSA/MOYOUBNNmNAdXUelnqUSw7Qtk9e4RU3UfgJkxxP6GVcGWAkH+TEFiRlqopE8QERC2JSwkw/RAFwKTMnJfKwJqxJVbESeOUxt45kPUIVHqdmEnhjRAkPaMIF9gwBZWFwg4bkSEp4Tcnu2Ym1fc3Csx8WcjhLztJiTBGPaZChu0EwROLQlTFLg3sIpoTlv9Z/UhDjxaJLXgnDAd7mKR4r79XEsdVJ+0ZHNF4bGlCwPF408jPKjHBHZGFWb05vEwmJixt0Qd2KvwvtKH9VnHPVyVJyYQ1tsdAeQ0E8Xu8b2iGkNORd4legVm+Q1bInsF9YAm96IrxxscpEhPtyoOFSVciSRxGwKvCm1PLepcBA4KMgfEAETfiks9+ndNtzIBH2ps2JCFFlOYZqM5b1AEydSEZH/Tc37/FK4EcSnJRmaQ456IxV+DNM3ApI/tirAZC4oslTsjO7od0iYp5VogG2hKNLMrQcJM0F+RhxLCbZXIKPjeSgslJDz2IquJt6lxTXYX2JhaAQsq91UAXY6XxBOADmJIZs9W+UfTmRzJw6JE8jO6+NvxtdVTieAu4zQxxqkvE4qgTGkQ+Cp0TeGSeY1bl2OrPfWpQykcoJPJVwKnLjIFzeBYa/8RE0F4m3esVkJ/SQiabz1xyqdAs+N3SjQp8RXjE7Z/wQ7wE4U4MiiHS9OL4UP6wSEbdDIwZYETn61Tx1WwXU2OnAd6T0psrNREa6z0UvsC5R96D+JQr1GXg2fFsw5e6nPPppdoT24Wnzoa/1Xyg4dXjr+AfqDGm+rbtTaAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJ/SURBVHgB7ZmBdaMwDEBFXwfIBscI7QRHN+hNcL0J2psgdIKkEyQjdAN6E5ANYINmA51EnHucIwmInTto+e/5BWxJloxsHAMwMzMzaZL2DSLe0M8Cxs0+SZLdSS05v8LpsDr6nTjneeRLmBa3/CSu3M3Y00ai8fkKJs610faTyg7GAaf4SmqwAthRjr3BCKA5qrZFSSHqYEmlpLKhsjDkFnhY7cr2ShLDgUxYqrKeuk+eXikF4ZwvPdm8Zx+qfzGewFfvnvO1aAfhrgvX5ssGESOAX0LdnyAM55lXCOQaAqGJvnZOLr2mJojWtc8z6W4hkOAAGHIkdyuFFIQEO59DLJRJUlFJB9rJsZt8oM3U+SJO4uMT2Au6KRzy+I5GqzY6yOgna1XVTleidjq5u9922E7hkIYpWLjJVikjVhh6NxhOZtivFJ1KjJbKdkgnVL/GcDaK7XtFntNU33xS48OATvrkfBcPiu2NIPsEfSDBwlOsFDlOvS2eT4HKaOLpW7uAvghOVTAADNiatGxUnr6YBdp74It3vwe7s9SrkkY19eT4v61p19fvJUWdPAqjp82BBZ6m2xAK1FNISs3vluPszFLp6F7RibEK5YrtTJHfoPSCxSFrbtwA1ob9QtGpsP3kUI+WBVOjA36RveP5vHfY17YRTLPPsjZzNRVzG8HHGmToFv7eSjBs/NGre3Y227xaE5n7Jvt3IG8nOp9ABmfyL+1N/lhlDuB/c6kA+ECsPTn5uoYLcJEA3Mryg8qbK9+s1SyEKP+JJchhPnEIPnXowgqAX1IwEtTzIyuAeEd/F+TDrEJD9uVjofG5CcB9NHuB6fBy/ND3cb5Szsx8Un4DUeRN1XWQlnsAAAAASUVORK5CYII="},function(t,e,n){t.exports=n.p+"img/discountSuccess.1fd8495.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAzUExURUdwTDnJ0TrL0kjS2zrJ0zrK0jrK0jnJ0TrK0jnJ0TnJ0T7N1TrJ0TnJ0TnJ0TrJ0TnI0Egr/fQAAAAQdFJOUwDuMApOR2P6QvbiHIKyzJj72PMSAAAB1UlEQVRYw+2X15aDIBCG6R30/Z923RiUMpQYz9m9cO4S4XPqjyD02GP/2KhYgtHahIXRLzB20etheLFXOQKvmWFxjePWytwVDlsBq32yTKh++jwE0kWerB/HvIOkZ4RSwryEglMxi77jFP9dYEj8ScxrR8g4Z1F7JBHMkjwme+VgTp+UWwWiJkvfLMnWoZG8z/zcqGgg2QVJTGAMXP6chAfBUWeql1qQpLq5cbgeEa4FRBK9+ZdJW4uDc25KSaw9t2mnBJJwQFJLZ1TaKOF4Hdd5IAepVX+RRBU4KjkVCduRjEhPEMApSLpRMxsd1pnEppyM1OIc+pgrdc5JSKbZQ+G1sHgeOTo2l4ykdlPvKwnIkews1XDAAFDCOYsuR6R3aLzBQdM+uVKvCs7WZ3Ho+wcnxfm2inMkXg3Eg2Xb1FXOPiK3cLZ0hns49bnzcK5ylL2HwyRm93BmJGCSs0p+D2dTCfplvaiTE1oyVfe3LHW/aQoOg/tnP7bMGDTqQ7r/Owb1/Xl7JM0sKJan4sznqMuxU1U7QRCHEi5CPHG7kaH6AqGgz8GxELQ55c1pMGttDsr8wSNhanNSkBzfLNucMzS8kLEYddK5JXu7MXv3mdo+9thf2Q+x50mgbPnzgAAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAtUExURUdwTEja3DnJ0TrL0jnJ0TrJ0TrJ0TrK0jnJ0TnJ0TvN1TzN1EPP2zvK0znI0NByr00AAAAOdFJOUwAHtyzgbupbyu8fJhFKIHeNDgAAAKJJREFUGNNjYCAW3JipC2ezv3v3roCBoVQAzHE9FefAIPSuByoJ5Cx59wIsxVDxLkCa2+9dAIh95V06o6bBFpBGoAGuAkLvJnM7gSRYnjIw6iW9NFgI5Qg9M9SbDbHnKaNeMnOeIsTgBULPDMweQQxmgEgwQjgQiZANYA5Eoq8BzHkH1rFuAoQDMupsnwKE8+6RANO7JxugHEUGphkxRAcGAwB3WTdysTB5+QAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA2UExURUdwTDnJ0TrK0jnJ0T7L1DnJ0TvN1jnJ0Ubw8DnJ0TnJ0TrK0jvM0jrJ0UPP2TnI0TnJ0jnI0DETMOMAAAARdFJOUwD5WewbuR/eBKmURCyBDdJpP94jCgAAAS1JREFUSMftlUmigyAMQBlEEBnvf9lSjREx8OtfdNUs8T3IoMjYL56EEUuUXC/iQ17IDBE/Unyuwv/NT7wW8ooPgtVSOUIoFPcuBOffqsJ1/fY5kWSSEfZZCyEvPG1g1AJW1jdMuqRk0XCdWcSmaDQUgYekq7bO1tSGvO/uYXQybbzOqjb0rVbYPdsJ+HwxbNtWqM3ODPna0OHey5KMh+X5OO4w9NQcoLZJH7vsPD8N3/JM1r3c+WWKp8FGAvCGjYwtpb3xyJdXSVL9OYsWDW+WbQATmVN6yJczHvJNvd/lXfcioHmxLz3gy+ID3nGcUBO9eufY+T67/XHk97kLZD9HAsnrQUotH5xYukVXVzHweC3Qbb3x7OTNUMD8QVAr/WLceLNqLpV3v5/5P+IFTYsjpVT9Z3kAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAzUExURUdwTDnJ0TrL0kjS2zrJ0zrK0jrK0jnJ0TrK0jnJ0TnJ0T7N1TrJ0TnJ0TnJ0TrJ0TnI0Egr/fQAAAAQdFJOUwDuMApOR2P6QvbiHIKyzJj72PMSAAAB1UlEQVRYw+2X15aDIBCG6R30/Z923RiUMpQYz9m9cO4S4XPqjyD02GP/2KhYgtHahIXRLzB20etheLFXOQKvmWFxjePWytwVDlsBq32yTKh++jwE0kWerB/HvIOkZ4RSwryEglMxi77jFP9dYEj8ScxrR8g4Z1F7JBHMkjwme+VgTp+UWwWiJkvfLMnWoZG8z/zcqGgg2QVJTGAMXP6chAfBUWeql1qQpLq5cbgeEa4FRBK9+ZdJW4uDc25KSaw9t2mnBJJwQFJLZ1TaKOF4Hdd5IAepVX+RRBU4KjkVCduRjEhPEMApSLpRMxsd1pnEppyM1OIc+pgrdc5JSKbZQ+G1sHgeOTo2l4ykdlPvKwnIkews1XDAAFDCOYsuR6R3aLzBQdM+uVKvCs7WZ3Ho+wcnxfm2inMkXg3Eg2Xb1FXOPiK3cLZ0hns49bnzcK5ylL2HwyRm93BmJGCSs0p+D2dTCfplvaiTE1oyVfe3LHW/aQoOg/tnP7bMGDTqQ7r/Owb1/Xl7JM0sKJan4sznqMuxU1U7QRCHEi5CPHG7kaH6AqGgz8GxELQ55c1pMGttDsr8wSNhanNSkBzfLNucMzS8kLEYddK5JXu7MXv3mdo+9thf2Q+x50mgbPnzgAAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAhUExURUdwTKqqqqqqqqmpqaysrKqqqrGxsaqqqqqqqqqqqqmpqUZaZS8AAAAKdFJOUwD24NUwThcbVYdmc9ZbAAAAuklEQVQ4y93TsQ2DMBAF0CuMxABUXgApVSrqKBMEJmCEzMECkegI3U3J+WxLie+7IlXcgPg83T8kiM4f96oE43aDzxvPHQbMkDT+PUEycu8ugAh40h0QAVLYEgUEyBKAkvkbMD/0Zk3Xjx26+MJeTohjFx7KSjq25X0uK2lTALQpAtp0RSAQCIR4DGSHDYL8VQxoKxPwDn8KqAZcDTi+QpADA3JgQAosSIEFMQBAAj0D4cCC8DNA8LtzAE0Qc7E1XqT8AAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD0AAAA8CAYAAADVPrJMAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHzSURBVHgB7dpNTsJAFMDxN8gBXBhkyVFwQ4IrjDVxCTfQEwgn8AiyNEEDO0UWxht4hC4NbLhAO/JIxgDCdGY6074h898Q2ukkv1D6lQKEQqFQKORFDDyrHs2aKaRNzli8GLWGYJBX6Fo0fVh99P8WMDacj1o90Mwb9D+wyADuBfogWKQJJ4/OBIs04KTRZ9H7XQXYo/IGivAKEK5a5RPGIFbegPNu7ebjKWsYafTPcztmJ+mFLvw8mkn3DnLo2vW0s/ndBM4h7crWk0KvD1oMxru7qC58NW4pW08GvXWU3vPf1IHzNLmXrSeB3ntaMoRzlvbmr5cTkFT6KcvkwqN++9bgSeWTc2hsLkfwYtQeQkalovNceOzCVcHr6aCklMEiCXx11zVQBa+nghLSBov2wBud8Wk8uVpqTQMFZwwWGd5Obk0BBZYbLMoJL+yUZQ0MeMWVfEGOCvmlrYI1jtKHco6mBsacoimCMWdoqmDMCZoyGLOOpg7GrKJ9AGPW0L6AMSton8BYbrRvYCwX2kcwZoz2FYwZoX0GY9po38GYFvoYwJgy+ljAmBL6mMCY6pOTPliIAhgr7HERFTBWCJoSGHOOpgbGnKIpgjFnaKpgzAmaMhizjqYOxqyifQBjVcVxg8wRPPlevMjfAAiFQqFQKKTVLwcWUTpzIyIhAAAAAElFTkSuQmCC"},function(t,e,n){t.exports=n.p+"img/every-user-gray.52587d1.png"},function(t,e,n){t.exports=n.p+"img/every-user.7a4500c.png"},function(t,e,n){t.exports=n.p+"img/exam-entrance-img.4d79cd1.png"},function(t,e,n){t.exports=n.p+"img/feature-img-1@2x.63e8780.png"},function(t,e,n){t.exports=n.p+"img/feature-img-2@2x.48ecdf8.png"},function(t,e,n){t.exports=n.p+"img/feature-img-3@2x.d103e2a.png"},function(t,e,n){t.exports=n.p+"img/feature-img-4@2x.736a457.png"},function(t,e,n){t.exports=n.p+"img/feature-img-5@2x.1d11d8d.png"},function(t,e,n){t.exports=n.p+"img/feature-img-6@2x.5777f97.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAYCAYAAAD6S912AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJpSURBVHgBxZU7aBRRFIbPuTM7md1x3VkNPhDMWqWxUMTGd2xURA1oESRFCp+dQdNYraBgISgWNoJiKSJBJWq3UcEgGzBCFLSJhcqCZnc2szvvucc7KwhidvcKQk4zt/jnm/8/5947AEtRNH1lLZVGTBktkxFFod0fpXMbZbRSQECGMdekHKoyIqZpm1ngx1JaGRH69gBFtF9G2xXoTp0rxMQPEsXba+ODXWN3Bao9xiiyFIplNpNdNdZNj9DR3ZmCyvU54hzIrgJGoSfWW3oGH3yAf3XovrmwQUuvKRGPAYkDIgOKfR149JSeDRWkgUSA4evz+zSmTnGnXgBOQH4gYBEkawj9Pq/y5aV7Z9swtItMxSKD3ZX1oZE7wljqGMXBjoRMoZ/saoBAPGO/FRvcJpDXANANAMeapcC/qWQy5dSpmXcCRug+HzkpxAMM2QFMLzcxEaLSiskdS7jzRFwEWvjxC+4uCBfCqSuggQekpJJ21GLGJxQj/+KPoTiPh46r5urT4v1doGrA7XnAOBSObDGQCHi1AujUW2CFKUlPJyNFu6zb6VdYfB/8jvzXQO4fHmZZ8yqqqXXk1oFETPBd0VwHoGEB85wq5swT6tnZ8UV7uCj07p4C5nsnRf/6MBYfr1eBBQ3AZv1zqGb3psc+zrUdSrsKHh7aGtW+lxigwQLhTkya21a/fvHrp3bvdDwp2tEnZTRWXAOxFynpZRBe6gTrCkxK17UbjKEl7q+m1rvyNvyP8m5tuh7e2/lIRit1fYnDM8E9/62MVgro+TRN+rJ5Ga0UMD86Y/Eo/CajlfuniMKsWZbR/QTlEhmi8WgRfQAAAABJRU5ErkJggg=="},function(t,e,n){t.exports=n.p+"img/follow-icon.f19ffcf.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIHSURBVHgB7dvLUcJQGMXxE8cCXLq1ALUGC3HUBlQqACuQaAHi2IAlWIKPAnTpkgYE7w04kgf3RMgXYnJ+G52QyeM/IXLDFRARQxGMTG/RxwSX872MonP0UCHr7f8wCTS9wTWm84P/3ZM/iTNUwG3/zm3/NLP4KrrAABXbgoX8wSfLkhNbd9PFcbwLGLAJtMyakQJxzFgFipe+smIkGmeCexiwu0nHGLkfJ1i+59L3pDJxop7NlWUWyKsi0ibjeKaBvHUibTqOZx7IWyVSE+IANQXy/hKpKXFmh1WjMpFmKzYjjldrII9GCqk5jpcLtDDG2UG3jIvGdKlAhWOo7kmN6dKfpGv+GN9QqTFddqjRtbdVkVSDeger/5ACEdul1jp+Rys97NFVdAURCkQoEKFAhAIR5f6Klbjbt5WuIEKBiGygMSTVIBsoRtdlvl/LPzCLMcTsiV/3HphNELsnloPFhcFHri6WX7mfe+HAPVM7rPCr8M+34uW7+6jMi3tzvA6LXglOetBNmlAgQoEIBSIUiFAgQoEIBSIUiFAgQoEIBSIUiFAgQoEIBSIUiFAgQoEIBSIUiFAgQoEIBSIUiFAgQoEIBSIUiCg3RzHLz5IoninROrqCCAUiwoGiDsxZJOcYDvSV/ANumyON3Tk+hlYIBop6yby9I/frM9omwpM/N3eOHxCRTfkGb5WgKxgPNREAAAAASUVORK5CYII="},function(t,e,n){t.exports=n.p+"img/google-analytics-img.9bf35d6.png"},function(t,e,n){t.exports=n.p+"img/guide-1.1e06046.png"},function(t,e,n){t.exports=n.p+"img/guide-2.b19bdd9.png"},function(t,e,n){t.exports=n.p+"img/guideEvent-arrow.d5ca889.png"},function(t,e,n){t.exports=n.p+"img/guideEvent-background.bb45118.png"},function(t,e,n){t.exports=n.p+"img/guideEvent-worker-B.81b2946.png"},function(t,e,n){t.exports=n.p+"img/hahow-bg.7331d57.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABIBAMAAACnw650AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAeUExURUdwTH5+foCAgH9/f39/f4aGhoGBgX9/f39/f35+fitg1TUAAAAJdFJOUwDAQeejDSx7YeI7+o0AAAEGSURBVEjH7ZWxDoIwEIZPE3AV4yCbA6+ghlUSEjcm48hA4gMYB0cHHoBATO5tpVWkDVx7MTrBPzXky3GX9v8PYNT/dWQwAW5tiHNBrCzM9ICIhZk5h2iDnDuiDXIjQZSRCTr5sko+MUCB/NMuBRoSk9fa10cSkpNjeYUeKPPekpNXa+iBnBAVrRLog6YKUsbNVxoqctChzFumDdS0NAcdEp1sGujVq9+B3Lr6wwaxKmk9kZA63TChmbit2ALd5MtIzJA0BaY/qMTqaUB3R1lKe+OUOTW3UDZvfWcIjLaSKXo+PSkj+HSIdeJwYYRYwcqMaF7Y89YGbwExVxlvKfLWK3NRj/pCTyzJ9c24c9BPAAAAAElFTkSuQmCC"},function(t,e,n){t.exports=n.p+"img/head-bg.6b84f58.png"},function(t,e,n){t.exports=n.p+"img/help-header-pc.f8e45d2.png"},function(t,e,n){t.exports=n.p+"img/homePage-Img.a578dd9.png"},function(t,e,n){t.exports=n.p+"img/homePage-ImgMB.3d4fd8b.png"},function(t,e,n){t.exports=n.p+"img/homePageBg.24e3694.png"},function(t,e,n){t.exports=n.p+"img/homePageBgMB.140388a.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADmSURBVHgBzVLLEYIwFNwwHLhJCZRgKVoJelNPcFFvYgWOJViBlkAJlIA3vRA3ITCEz+TgQXcmIW+Zl92X94BfQ3QDucMcFUpxRNFyCUK8yI+j8K2wwon7k2vRcm9crNjGzR8hZ1YkseZ+Hk0PkPtwwJRTTP338CWcDviwMd9m+AYBliJB6XYg7U5pCJTsTKgdGIWQtaYDZSaLAzKGGSZLqBUSuekkb9nOCiseUzig7TFZKcTamqytqWS6SvqDRO7RvcAzpFK79pP1qR6ke7P0tPYdtNaVE4HC1N1wET+RkSvFHjn+Ch+uLkZ4ZJtZjwAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADeSURBVHgBzVLREYIwDG29/ssIjMAoOAm4ABQYQJzAcwQn0BEYoSPgAtQXrnix2OuHH/LucukLTfMSIsS/ITnRWmdwI7xhsQQuC+QbxZm19gR74piz2AWWBx64qZUkKfceP8LOgQcGJSJw7ZjQ9534EVEFVVUVaGE1A8QOUDdGFWCA8kt4hCWzAqpApG3bxq9MyV3X9aB9qICiS4BGwjtY1zX9zhLxRkQgXTWqUHBpQANV2l8k8Ad/YJ4BLpZwVz+ZDrRI0zTdF3Pb+qmA9d0jwbi+l4opXOoorfkgNoUXWEBoe+jpZecAAAAASUVORK5CYII="},function(t,e,n){t.exports=n.p+"img/icon-16x16.1a1f512.png"},function(t,e,n){t.exports=n.p+"img/icon-24x24.b817deb.png"},function(t,e,n){t.exports=n.p+"img/icon-about-active.96fbbc4.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAtUExURUdwTH9/f35+fn9/f35+fn9/f4CAgIKCgn5+foGBgYWFhYCAgH9/f4CAgH5+filXoB4AAAAOdFJOUwDj+IXrdGMhwT0Pna9QxDZ2yQAAAWJJREFUOMvdk71KA0EUhW+hGd0obGdlUBALRRGCnViJYBMCVjaSR1h7Ea0Ei0XBOiiICIr4BGJltYVE0wayJhgxnGfwzmR3dmZ28QG8zQ7nm70/Z2aIdEyerFFhtDC4KtLHAcwUgWcGvfO8fgcZizldVIDXVSBX/xL4oQtg6NQv8eY6iRA4tcEmsMKfB6AbmLoWkg26sk7BKeN6Boyiqok0po02ZdtnKdg3B+NB55P6ZdsKtmZHLbzQNo/NjBtycQDH7hbwKY+nBixbgHvEC9GNNNW0TnCP6BM1JfBN26QwJLouBPyH2IgqI3Bb3UtAFDWSASW459yzCsTZ5P7IC9WFC1QtOYAL2IkFnjlwgQC26RB4cgE79EYUYs4FZXR51cGXCybUwR3h+7+CKQUe86DEEvF/fs72d3kZvV3H9iXrJvbSZRPxVhY1DFIwBjv6+n044Fin/bB040V77WoW6wH9Gb8btEnTqpNRvwAAAABJRU5ErkJggg=="},function(t,e,n){t.exports=n.p+"img/icon-account.d122f5f.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOBAMAAADtZjDiAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAPUExURf+SAEdwTP+SAP+ZAP+SAIh6f5kAAAAFdFJOU5QAFRTUUxAnYgAAACVJREFUCNdjEIQABiA2gtJ4sRADgwsDgyGDMJhWZCBCjzKUBgEAYFgGP/5yGpQAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcBAMAAACAI8KnAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAASUExURf+VAEdwTP+TAP+XAP+RAP+RAHAA4yEAAAAFdFJOUysAUhv9cXinQQAAAD5JREFUGNNjEEQBDMRwhRRRuCbBKFzWADpwDRgYGFSDgAQziCsUCgMhiiCuK5yviKmYfo4EAVNnfEFHXLADAM1/IxEKO8N2AAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqBAMAAAA37dRoAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAVUExURUdwTP+RAP+SAP+SAP+XAP+WAP+RAPnXoz0AAAAGdFJOUwDCqvEgGgNFgXQAAAA+SURBVCjPY2AYGMCiFIBFlClNAYsoY5rAyBZlVRQEAeE0QzAt5AANLFSggEeUBc2EgNHwJTb1sSo5DFAeAQBRXxz16CxWoQAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAwUExURUdwTKqqqqqqqqurq6qqqqqqqqurq6qqqq2traqqqqqqqrCwsMXFxaqqqqqqqqmpqUtgGh8AAAAPdFJOUwDxgEo0zY61JlzhEQRspc40e90AAAG5SURBVDjLhZRPLwNBGManKNXWv4iDEOsocSjxATg4uKmDC4d12sSpbsRBK5E4SZ0cXOoiji2JsxUfgG+AkyNtLa0/fbwzO52Z7TbxJJtM319n532fed9l7H9drZ1Pt4v3WkD5uA1IgVRpswFC4S1xYOIZOAuBeXilhI2qGYudOI5jo+E4WXi03Mz58WQKLaq4AnQgpEkB8mFQE6CA8lBAFuoCZDAeTPAWH7Lk98WAlqUBhfAZ/qsuw2DMdMmUdGy2NT4ss4jCmzNkIy1BDzwzWxtbctWPLxMU8SRX3SiTYxfkaWyXXLKwIQG56NJ9pPlpVZZseshYH1Ci+t8YG6CaE8CDvu6cBjF98Z3AggZdwIwEYqmA+Ju8c75ZAfFiX+I4BUQqUjxBBSh5VSsvSQFRrmGCAqZB3DYFTEuzZIcCUXwq8Eq9rEAcDQUyGNQgIpvHb6AfDe6N6XnENz00GhH8sht6mipQs15zs/uwTq1cN4aG7meJrw5c8aOpPD/PVZnUjPkr59R4WcYckm+jckPyVF85+V4ERlaFVugrUNKttG82qDm4d5aOBz8bhxrsBMfr6GVbaG9KBv4AM32nlGX8ZbwAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAASUExURX9/f4KCgkdwTH5+fn9/f35+foHbFNYAAAAFdFJOU/E3ANqdL6p9KAAAAF1JREFUGNNjUEICDHg4KoYQlrATkKMcIARiK7IaATmKrIwgjgBQjAFCQYQYoDRYhAGiAqKWAayXESwBsUcgAGIIA8RYiPGYHGRlKAYgG41iKbJzUByK4gUUzxEVIAAv6iRlLrdblAAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAVUExURUdwTH5+fomJiYCAgH5+foKCgn5+fp61RwAAAAAGdFJOUwDFDaPyK+wxIaEAAACZSURBVDjLzZPBCYAwDEXFEQQ96w7iAoJ3RxAl+4+g2FB/Ne9uT/lpnrbpT1X9da1zr7IeW486a3RjsM2jxTZB6s4ODydTZDDbn/BBLiCXaVxWiSiKVBWAyBIQ/QJy4g3kzAfw1BdwJAASEgAJiYAbiYCERABv0Kfw53RcvCC1BJtIbceHoqdFM5B90HBoUTQ1jgEODo7a/9YJP3VM51blTOsAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABIBAMAAACnw650AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAASUExURUdwTICAgICAgH5+fn9/f35+fh315J0AAAAFdFJOUwB6Tczz/VBjPgAAAOdJREFUSMftlcENgzAMRYF2AC7cK3WBquoAlTpBDt5/lYIaICE/5knliG/5Th5WiL+b5oyD4/65Kbl7PZOFWVCbBrP18MXM+nJPO8qPZXU1iRpB9s5IJWoCJaTOFGoCJTX91r0ABU+QB0tFnCslVcFWUwUU4iBvJVclaCtrUK5XQHmiBkozVVCaqoPWnANakx5ozrqgGeWDIsoHRdQOaEEFt0tbAIqo0Py/CX2OFI6ugFwm+i3kB6OnQh4der6kEVBLkeZEbU4MA1kPMTFkh8RYkUUTs0djAw0gPMp2hyIar2hQn3FMfAHgA5dp9fVfGgAAAABJRU5ErkJggg=="},function(t,e,n){t.exports=n.p+"img/icon-action-favor-border-smaller.9ffa83d.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAtUExURUdwTH9/f4KCgoGBgX9/f39/f39/f35+fo6Ojn9/f39/f5KSkn5+foCAgH5+ftdCsZUAAAAPdFJOUwDrKEF6zqBjCY2LB60OVd3EV20AAABOSURBVAjXY2DABpgUoIyLslCGWwqY4lYXUizaAGQoxhgwHxUCMQwYGJhBDBAB4gDVMjBAVJcxMKSDGUuexnmBGRODTSXBjGYGBgtsNgMA6moLOtQiCDwAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAtUExURUdwTH9/f4GBgYODg4GBgX5+fn9/f39/f4CAgH9/f35+foCAgH5+foCAgH5+fleBJkUAAAAOdFJOUwDbIA43x7GXT/jphmJu/XjV+AAAALlJREFUKM9jYKAhsN6MJpD3DJXP8mqdA4oA2+t9CSgCfpMtn6AaUcCOZAiTb+ErA+Z14lcUoPy4d+9EGBgc3717ChHhfhV+A0T7lq7bABF4agBRyhwHEWCWC4YImD6EyihClDDHCcFskSsAUewPFWD2aj4CkXqTEA5/ASL7EnALMIL94ScAF+B8zHws18BuAlxAT+DUu3drGB/BBfoE38UcfSf4Ai6g+U6CgaHxHcJalhoQedyBZlEIAJwbNhScV3onAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAnUExURUdwTIaGhn9/f4CAgH9/f39/f39/f39/f39/f4GBgYKCgoCAgH5+ftw5JhYAAAAMdFJOUwAK44V09LNl0j0ampiXLEYAAAE8SURBVDjLY2AYfsBJBbs4+5kzBVglRM+cCcQq4XOo5wg2cUad4zWHBLBaoSCE1RKmMw4sZxSwSADNYYw5jikuHgO02eZoIaqoZHFGzBlFBgaJM0fbzCcixMXOAMGhBQwMXDogViJcwgYkbghiCYNkDsMldE4kV0J9wDjdrOcQQuIwsoU2h5CMMkCIMyMZxYbEBqpKQARTzhkHGJvlzDEBZPfCw9UHybVgLRMgLE4UDSAvJ8Csa0QJE84zARAGK0wrDMScgtBrjqIFbsxBCC2DJsEFiyKmMwvQ7IBbjmoHy5kNDFzeWxYwcCO8CgbcZwq4TM+cCV7ADlSBDDjOTHQFxVGI5JkGFAnWM05nzrR4nDmjAvMQPO2cOaPJwDADSKGmIOYzZ9QZBBgEi84gRw0oFI2awWHHaKE8zPI2APpPbLmd3S/GAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAkUExURUdwTIGBgX9/f4iIiH9/f39/f4CAgIODg35+foCAgICAgH5+fpqVZ6EAAAALdFJOUwAq6wbIh2EYsJJIhP0ofAAAAIJJREFUOMtjYBgFQx4UGkAZjAJQBrM4iEzavaMAzDXV3hQMZrB371ZjYODcvXu3IliZ9+7dW8CahYBCExhWA8ktIC4rkLE7AMQCqti9i6EbxAcZzgRiKICsAjF2MGiDqAQgXxrE2AhksIEYm3BLYBplCDEKp+U4nYvTg7iDZBQMbQAAlLlZ16uTxSsAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAH0SURBVHgB7ZmxbcJAFIaf7QzACC5TZgKwu5RsENggA4BswwCsQDZIJoBQpUvKlIzgdKkg70cgOQ6Y8M7vzhL+JCT7XPB/ujvfuzNRS8t145GQ8Xg88Dwv9H1/nqbpmhwhEkiSZLbdbh/3tzlLxCzxQQ7wSUAhPOhsNpsFC9yRA0QCPHTyUpMzCanA8EizEwnxJEZQHkoL/nVKj6zOCbEAaIKEkQBwLSGaA0UQkOdEfGJiv2dZ9kCKGPfAgYqeoCAIBrx2PJECtQkAlgj3EmH5mZZErQLAtkTtAsCmhIoAsCWhJgBsSASkyHK5zOM4fuHLPv9+vZ1Yqt/tdr9Wq9UbGaAqAKokeO247/V69MqQEHUBUCXBRCYSVgTAOQnpcDIuJS4BW8992bEuP+O2hARYFTjAE/hP25Fa6l/Y7oEQmx6+DMvPWEr0SlVdB4pUhWeyyWSSkgArAlrhgbrAmWEznE6nczJAvZTQDA9Uiznt8ECtnLYRHqhsaGyFB7WuA9gX2wwPahM4FR4rrFZ4cEM1UAhfLpdz1D4cXu1sqJaDrarw2gdbxkeLLsPv/ouENCE8EE3i0WjUb0J4IBLgQ9sZNSD8LgtdCAdE8LDYhh2Wi/Dg4j0x722/oyjCV5hb3BfCf5IDjD6z8uEUeuPZ5WfWlpZr5wcyP25AS+4RYQAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAG+SURBVHgB7ZnRUYNAEIZ/HAuwhJRgC+nADkw6iG/qi+TF+BZLwA7SQUrQEijBCjx3gWSQKMje3S4Z+GYuyZAZ+D+4heMOmJgYNwmEuHss6GtGLUtekMMIkYB7wBYOq2oPn9TmyTM+YMAFJBzCl7+vqO3dI65hgEyAz3odQwmZALA82WIkIS9iDkqBi+A/96haE2IBZggSXgKMtYS0Bo4UASnor4X9hXe65d4iIt5X4MCfV6I8yiLZ4A0RCCbA0NN5Rl97lE/o5pGiSAQVYLQlggswmhJRBBgtiWgCjIaE9220jWqYPaeWn/zpkNEtdgVPogowHRJbukpP8CBqF6rT2p2AlETXEKAmwHTUxB3VxCt6Er0L1WntTpB1JVWBVlxjLPVPVAU66kB0Sx1KEa+pe6UQoCIQKzwTXaAj/JLCZ/DAbigRIDxjM5gLFJ7RH04HDM/ovtAEDs8EfQ5Uk1pq4ZlgAseX+mb4crYiSnjmEgHonBvaxJsbOvuJrfFOLQ5lcldUxPQuezOE8IysiOldlj7NwzO9r4BLi+CzxuYcRutkvQWStDjTu9qmnJrZIp/fMmtSLCvtLJdZJybGzjdIwsfpqTWgLAAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABIBAMAAACnw650AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAhUExURUdwTISEhH9/f35+foGBgX9/f39/f39/f4GBgYCAgH5+fr9YA1MAAAAKdFJOUwAT88ct4GepRolPSn8VAAAA0ElEQVRIx+3VIQvCUBQF4CeKzjYQu8EgS25JlobgDxBMSyaDyWwaRpPZtomK91f6rt2dE8ZF0ZsPH9uFc59zvzFBMsOho1RrGEpFbjCUC0F5CVNzHxJEBRFDHYypjlIP6gdPhlTOUAtjqqXUHVFDpXaNUAOKSr+XajNrf3VwhO+CSMn0ZkrUpsoApN89AdBWoaI+020UGjNQZgT1FVoB6Owz18+DwvpMT6ElgPbmUAwqqdAlJBoZEztCkD6vEHIRAekCIOSvErw2fjaF+8+7eQIBtKvDfVNuxwAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAEKADAAQAAAABAAAAEAAAAAA0VXHyAAABCElEQVQ4EWNgGAWMoCBoaGgwAlJRQkJC1Xl5eT/xBcukSZPY375928LIyLgUqO8CE1Sx2L9//4qAEuuAgmy4DADJgdT8//+/GGiAOEgd2ACgxA4mJqYMoIQn0KBVM2fOZEU3BCQGkgOpAamtr6/fCVLDDFN44MCBs46Ojq+BCoq+fPmiCWSvB4r9A8kDLWD5/PnzciAzCKg5B8ifAdMHDgMYB0TX1dXlA6kJQIXLtbS0YkFi165dWwy0PRLILGhqapoIEoMBDANAEkBDioFUD9CQxSA+UDPIoBKg5l4QHxnAvYAsePDgweNAL/wEaiwCekkfaFBlY2NjN7IaothAl6SDMFGKR7AiAKTtdDpFBwjyAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACshmLzAAACW0lEQVRYCe2UP2hTURTGm4igYESCCIqKdHLr4CCC9JEqiA6dFHToUFCEFlKNi1NIAtkkOFRBOnUS1ElRi1LNq4OIkw62e7cSbEIG/ybx9yX3kpukMYmFDvZdOO+eP9/5vpOTlwwNBSfYQLCB7b6BkLuAXC63u1wuj0YikaVEIvHNrW3WT6VSu+A4HY1G38Xj8R+WL2wd3cVi8XmlUlkolUpfaDjq1jbji6tWqy1Xq9XXhULhmcvVMgCFQyoCPoa9pfGwC/4XXxziEqf6Q6HQEZenZYBwOHwDwE8BaBhm4jfZbPag2zCIr15xiEt94sZuuhwt74AKTDxO0xPcnYppWME88muK+z3gDyDsY8dNzy8+4EXyT12Olg2oIADAy4j+ViwCbJH8fsX9HGHVY8XFJU5xt/d3bMACksnkJfyH2A6T+wTJGCRfLWajm3pUa6c2YuoV7iuZTObxRviODViQaZggFoHOCMSvENjXCDufqgkjrKmqd6KbuDBdB1CRRm1gkhVWFXNOILCA0N5G2Hwqp5owypqeScPRBLZ5dr1t6Wbo+/5nz/NWyYxj+sr0sxqNxWKP8vl8/ReD+B7EX1I7henUsKuIz9ejvzy6vgPtPbwT18g9wGyPzztxQTjEX3B58jkSv474XD3q8bBkPWCNMp90CrF7DnjR+GdsjqGmwd23ca+751fgErDyj6x+na/gvMnrD0ZWP4jPID5r437ugQYQIUN8YIgyQ5xzBRC/hfhdN9ePP/AAImWI97yY33HPGpHb6XT6jvG37uJFOynbOsVAKdhAsIH/cQN/AKHd9aDG71yJAAAAAElFTkSuQmCC"},function(t,e,n){t.exports=n.p+"img/icon-arrow-word-down@3x.068e341.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAYUExURUdwTH9/f39/f39/f39/f4CAgICAgH5+fqCPxf0AAAAHdFJOUwCvZ3SYMUbYg9+qAAAAMElEQVQI12NgQAGpUJqpBMpQF4AKFEIFzKECzDABdQd0BlwKrhhJCGYgwgq4pSAAAHy7BVD8E4DgAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAbUExURUdwTH9/f35+fn9/f4CAgICAgICAgIGBgX5+fhJ2Ft4AAAAIdFJOUwCuZXCXMTxG6OpPVAAAAC1JREFUCNdjYECAcBjDQwHKYGyCCUkYwISaMYRYmtCVw6TgiuECTehWhDOgAACbTAW2ixW9IAAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAARBAMAAAAmgTH3AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAnUExURUdwTP9+AP95AP96AP94AP94AP94AP95AP95AP95AP95AP95AP95AKc9FQMAAAANdFJOUwAX+EHU2fI5g8XQY49eFtGIAAAAMklEQVQI12NgwAI6BaAMo4VQBrMKTMjMEcpgT4UJlQVCGdw6aCJwNTBdcHPgJsPtQgMAFHEG8r8CsMgAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAiBAMAAADMnMbMAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAtUExURUdwTP95AP+BAP9/AP95AP95AP95AP95AP94AP95AP95AP95AP94AP99AP94ADd7snAAAAAOdFJOUwD7DBlV10hszGDCvN4xv0bBTQAAAGhJREFUKM9jYKAS0A5DE8h7mIAqoPNOBFWA+dxDB1QRUwwlcZhKJNGU9D2cgCqi8e4lqgBT37sCVBGtd8/RlKxDV6L97i1+AQwt6IZiWKuB5nYMp6N7DsP76AGEEYQ678QIRANGRFEIAFyAKcFqiVP/AAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAzBAMAAAAjuJYaAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAqUExURUdwTP+RAP95AP94AP+FAP95AP9+AP95AP95AP95AP95AP96AP95AP94ACHC0HgAAAANdFJOUwAEsqIJxBHTi3btXTqjCZ9vAAAAr0lEQVQ4y83UMQrCQBCF4Q0JqMEiaGMjKNgGkgMIXsBOrD2FhZUXCHiBgGdKEKt3F9f+/cV22Xb4yOzOm4Qw4bN8PH1hprGyha3U2kIuDZYUtbS3ZEUki+RgyTqSkyVHIrGxjyUhkostzJF00hXJLY0spK8nvXRPJzu6/jtJ4DeoKwR0c3yrDgayoXnQBHOICaaEcpVReCm7/7S30JJfqbPU2AGVGmlrX7TQ1ZT+Lj8zAV/dkrmDgAAAAABJRU5ErkJggg=="},function(t,e,n){t.exports=n.p+"img/icon-avatar-photo.292838a.png"},function(t,e,n){t.exports=n.p+"img/icon-badge-1.736c736.png"},function(t,e,n){t.exports=n.p+"img/icon-badge-2.8009713.png"},function(t,e,n){t.exports=n.p+"img/icon-badge-3.b41b9c1.png"},function(t,e,n){t.exports=n.p+"img/icon-black-bar-message-active.d8933a2.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAtUExURUdwTH5+foWFhX5+fn9/f4CAgH5+foODg39/f39/f39/f39/f4CAgH9/f35+frSfuAoAAAAOdFJOUwC/DtRlTvUdrOaLnTR3n7Il5wAAAYtJREFUOMtjYCAbMIXcauxe66OALhxl9w4MEu+git98BwdTkMWXvXuHVeYwWOCloWUemGEOE2cB8a2CQFpLdgKZzwKgEuuA7OUwVdVAmVyoBiDzEsJckAxES9y7dzbITgx7924BiGbPe/cQxVvsdhAd3O/eGaH6VksETJ1797IAayD1vXuCPfDy3hlglWB9984BqwTQbgWsEpzvHmKPIL53r7BL6GFzFEuaA9AbTzEl6t49xy4R9+4NUPIJdgm2dy8wJfyARjG+e4bpj3XvHjHwQkMfBcgBgwkYHW+whF8DSNtjBazhp/kOJI0CGMHhB5R+jeHah9DUcwHVinkQaznevXuLbpIAWIEcmpa+d88OgBnK71CCpRDOZbJ79xgpyOe9e7cBHjSIWFS1Q7iSNQ8Y9Ow7M40FOzqEQflgAVwD0BVuiJyTChXXBuaZgkKE+GtowuQBGjonOg8u/uIAVAPIDJDwy9UdgsbGhlsKECEJAU1oAcYLFZ+KHik8EHFbzPgNFBQU7HJnoBwAAJmXAxc8A0lNAAAAAElFTkSuQmCC"},function(t,e,n){t.exports=n.p+"img/icon-black-bar-visitedcompany.ad7ba8c.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAzUExURUdwTICAgH9/f39/f39/f39/f35+fn5+foGBgYWFhX5+fn5+foiIiIGBgYKCgoGBgYCAgIZJxiIAAAARdFJOUwCHcJem+8LwPQ+12wY1G0VMLWYnGwAAAHhJREFUGNONTkkOwyAMnOCdLfn/a+sQWvVSqSMZexbAwA9EfJMsoj0khjnADLiNRzmMTSSPY19xqR7hVfzhM52z1jOTcwmsGEIkA8o375KeApo5W4lWUFpEtltPFJvRzFpA96u1zX5dvX827SxcCr9/XZtQVXL8hxenUAMh55DsSQAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAwUExURUdwTIKCgoKCgn9/f35+foCAgH9/f39/f35+foKCgn5+foCAgH9/f4aGhoCAgH5+frKfrzQAAAAPdFJOUwAgNGHJi+l79hCySdgHozY9B2EAAAEbSURBVCjPY2AgG3BvQBOQ/4jE0QVi/U9A4hKEz/5lAkSA078ALMD835OB0f6zAMOU/wYQJfFfVPP///8W5P8VagbrfygIgApw5v9/rDnJ7v+3CVCBKf8XgigpoFkQsP4rA+/26gtAsxigtgQw6Pz/fwhoFsSWaV8YGPu/5f8QYPDPhNj6iYHrxwbu/gUM+hB78x8wcHxnYKhvYOD7BrYUqFP+NwPD/o8M7D8gKgIYbnxmYLDvZWD5AxZ438jA8k2AMd+Bwf4zWED/FwPT/64V/xUYzjuABfiAhlj8/9/MwBCjABbgPf+ZgbFquQAixNT+14IoRrgAU/63wgsM4ucL4CIi////OfH/P0KAwQQUPKuRY0G4NHgjA9UAALUmakJyLMU+AAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAqUExURUdwTIaGhn5+fn5+foGBgYCAgH5+fn9/f4CAgICAgH9/f4KCgn9/f35+fh/Di60AAAANdFJOUwAO8Lc3istnoFHcIXoJmiokAAABmklEQVQ4y81TMUvDUBB+wYS26hBUcOjkICoS0FEwUKeiIAQ3h/4CCVTp4lAQF0ERilYEwc3BJdB2chEKLi4uiY2l+v0X717T19do996QXO57d/fd9y5CTIi9XI0BrrtjAD9OR3IFHTBrCnA7OlCKFODAGwIWQgV8gFKMohNWbErAjwIswFv0QRYfsz/sXkLkQFrooqPRsqCZpxMOgNVKM188B3p6fApYsdkxToANXQx07b5nkDuMzwJleu3W6ZEB2grYxxedPQCWKa+KT601MdljRk/MsGerSqTFjBwkbJAyqtYc1plYeHjnMKVXLCmpPO5DaIvrW0qsIJTa0TXkpJpOcmGGZO5KsZ1IudRWpvpSiiDWAAPyGOzEVaWIX4MZtJk4JWdV8yrOmOSaEDf4Zn4DutNMMgtsv4GP+FI4uT0sgtG/WjshkKwPDzzPwCZ9PRwpoCUnuQW20psoa4t888/WVhEXkmkLIwBtSVdGcm40mvJI23FRL77TtowCpj/YqlSGyAT9eK+c7m9ecvy59s8PtXB/uiMm3H4ByhXV1XF+ifQAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIVSURBVHgB7ZjtbcIwEIYvIf9LJ6hHoBN1hi4AKRMwAp2oHcGdoOE/kJ4rIYXzG2JsExuRR6qQ3Tt8Z/s+MNHExGNTkCfL5fKNPzb8N6cw9Gw2q1er1Sd5UJI/NYUbb1CHw2FDnoQ4oCge3hsR4kAWVBSJ9Xp9VTxxDLUUgbs/gcmB1Ny9A1bgRSxQsYEFD51ATfkZb4AFDzmgKF+sjUUOaMoXLScGC1lZlq91XX/LeVmIQgsZ0ud1F8fj8es0LoqikTLWCbCQFlMp40GuPexA27Y/3TEHjiJAdzeA04O46O/3+7mwbSdlvOsAL/puFjaG8DF/0JW46PP/5mL8K2VQDGihpICMuZ9b/tiSJy76cm15OwzoCsl7lk0MANvgFToT4l14onR4BXEjxs+UCN68l+6YWwktZSwHqqpqLn1JbgxWYj6BZDHAaysxpaWMSxpN5oBMo+QSA5zetJhKeQJna7NtTlnI6jlYUdHI8JqDu2+ADqB8mwB/B4CwovFR3UFfvwTbaSPMp7DoTFlxkPXbqOz6uCNFRtZ0w7dR0AVrpOx6hSxDQYrzBv1QIbsP2iFdJweQsad2mALpa6ddaoABxgB7a/r07pdZ7URoO+2AImETEsr2YUt2wRzo7mkUdH2KxideHQBN1c0BTaR7DABhFes9P4CgSpwc0GT+U/YINz25OQmX0nV5QSlKng/F99lmYuJR+ANXCdVVa4ijNAAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHwSURBVHgB7ZnhccMgDIVlT9AROoJHaEfIBskI3SAbdISkE3SEdASP0BE6gV2JM70csQDDU5offHc+GwLSezljAyZqNBqN/6TTfjgej8M8zyc+hq7rzny8cd0P3QHO88R5P/l44eLY9/2B68a1tr0WZJomCTDINZ/3XL5IYDJGckiuRbwwcPmkte8jsZ6D8mBtwouXXGFurY9qgG+Zr5VqMxMR8aLlrPWLGdjxsXbfwU0kxI8y/rS+6iD2gflevPixECCD67V2YGeIj+aIGvAJrEzUinftKDMR2gRCvGtLmSBNoMS79rQBhAmkeNeHNlJjAi3e9aMCSkxYiHd9qZAtJqzEu/5UQY4JubAS72JQJSkTy9lEvItDABImbpOCxLtYBCLXBFK8i0dAUibQ4oWewLD4ot9Kgd5C2tMmADKL9cAGcaZ4D8wE5DEae87L2XI9Uf0iS72k5NpyUVQ1lch9w1qsJ/5yUQElcxsrE0XT6dK5jYWJzQua2okZ2sSmJSVqVok0kb2oR0+JUSaytlWs5vMIE8mNLcvFiM9RYyK2vW4u/jpXqQl1NsrB3ukO4gWJJTG1vVj5VqD1jRnYh3UW4j0xE1ffCm6I7U6PYdlKvEczweVvrU/MwMEHkm8F1uI93gRffixV8sftqNFoNB6SX0YMZEQ3lmUXAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAHqADAAQAAAABAAAAHgAAAADKQTcFAAACPUlEQVRIDe2VTUhVQRTH/+epmWEguRB08wQJMcidGzeB+FG0UFdiIBSoSGpi4aJau9KFXykpuIsQSxeSoAgtdNPOjbZIcRPUJlyIYH5M/5l7n8zovfq050K4A5d7Zuac8zvzn7lzgahFCkQKXFABNYh6Ppt83tqhMbuTalsNoIY5P0KhkE+7nf/KwGoI5RB8IjDDAGOYunKweof7OMIcobcMTDCPG3hpg8XupMJWIyjCAZaZK8/kE6wgE1XSil07f0rBlDefK10hIO5DV3EbD+Qptm2otlO2x2oCdyjtAnPGdWLu7w9koToIqqcdMCvu4bFfV8N4rCeTbZQ3m0LOE3zPj/nJI1UpzfgdlsMBU6ZuBhfzPU14RViQPc5CM7mns4wr88f/cLVV0oYt2++k7YKBGeOgmOwIs0yaSHYyznObQhqND3y8IgU7hD6UTqwFBliDLljQxbklM68oH/CF8BLL3zV/4T1XWm8GBXvcuFpCv7lOwT0HzKA9pKOWVXvBCrlMvKBG/QNj5WBBfZx75kMP+W6Udr9oyy/MdMDaSZ5TrhgeEZ6QqwD7WFTj/ndJH0JfE+pdCEILaGHRn3V8si30O+YqC/DXXARxk0xgvkmW1cD9Hz0GCF4R2n/cT9IIBev4gFvoO9d3l1OeUoJeQt8kyXLczgRrT8paSthXmjm6b7UxeYE2q38h81ywzmb+NPpWSlz6+lfXiSciFP2S7dThCsojHeb+reOB2+D8JG6i6X+gQYxoLFLg+ivwD4Vaj3JnEsWpAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAMAAAAM7l6QAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABCUExURUdwTP////////////////////////////////////////////////////////////////////////////////////VtkI8AAAAVdFJOUwBoN472FUYlCeCe0bntAqzGVFV8d7kA5Z4AAACESURBVCjP5ZJJFoQgDERFjAmDONb9r2p003Q38QLyXlafpKoIXfeuU1wYH7ADvE1XYGKTjgOG3qS9UluZJ2CrbXKsRnEA3Nd9X0mR0uPHyscopUYkjRluLgsQ/+3syklpBubSsOuBJGUGsjTjRGC5SowlaKdOIOs1Lt1A9h4kJ37Njz0BtJoFyLbOnFsAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAKBAMAAACUK2mNAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAhUExURUdwTP///////////////////////////////////////48EzvsAAAALdFJOUwCIB5Zlqrx3eqcQDgXEgwAAACVJREFUCNdjYEAF7GBSmIGBhYFjAgMDs4CbApAfmgQSVVyAqhYAP1cCqMMlf2cAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAUCAMAAAC3SZ14AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABFUExURUdwTP///////////////////////////////////////////////////////////////////////////////////////1fUNLcAAAAWdFJOUwC2NMQU9q0EoQyN0HrbGyg/Uuxr6+PeTbESAAAAWUlEQVQY07WQNxKAMAwEbWw5J9L9/6kMGUSNGt1ssbqREL+N7T7EQDPk4BgJkHYL/iQJ6siD2feI6N+CHvlSW4mwkrncVq+QGk31eUlHELGSJVPjtXX950EL5i0CtSVSDpMAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAeCAMAAADqx5XUAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABFUExURUdwTP///////////////////////////////////////////////////////////////////////////////////////1fUNLcAAAAWdFJOUwB9KMzuBLr43wqqQJE0axRNXB+KnJJKNKVDAAAAhElEQVQoz92SCw7CIBBEKVCgfNuq7/5HlRpTReEC3YSw5DGZ2YAQV63FqHmIQPbRXJEfyDyYpY8eoAZoAlfOU45f13JF+8faYs7EG2jZevs3XC06NeMouL+6YLGhtS8V3uqeNHb9zVYcTEJq2P6D7wesK/emOjSHtlvJQhy9S3Dxgr/tCQZYBcXN9EozAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAHqADAAQAAAABAAAAHgAAAADKQTcFAAACUklEQVRIDe2Vv2tTURTHmzxNQCIUM0jaJYKIKOjmogSDtLTFQYqDuOlgECWIvwYD+UXi1C4Z2uIfICVo6xANpBRCaRe3DhEHBxeHDhGHIkhI4ude3oH3nnlNUpNF8+Bxzr33nO/nnpP7bsbGRs+oA/9aB4xhF5ROp+cjkcj7aDR6vFqtbgnPK84wLNCZVqu1ivYp7EMrY2jgbDZ7ud1uvwV2VAG9Xm9x6GAqvdBsNkuAj5mwcigUemIFH7EOBuEDPU1bK2iNm3o7VHszFos1rPoe6+BvfaATVLnDGza1doFeZf6HU3tgYMRPUKk6tecVxOPxfPH5fFcSicSeE6rGtlaT/Jzd3iHpGX6pU0KnOWID5JVZ01DsNzSm3KBKw3aq2fFjBM5i32QymWsqoNtTKBT8xL8j75KKBfid9k6zma8H5drAJK2bwVqMZC3mJlAsFo16vf6adb1J8vd5Z8n75JYj8zZwMBh8xMKmWqSCAJV8QOScBDttrVZ7Rdy8Of+LSm8Q/9EZ12lsA8fjcZ3MriU5CLyCWNiZzNwC0LvmfBPo7VQqpTftjO00toFVAIL7fr9/Dri0axLARj6fPykCxLxgQ3IhtIHeY25N1nuxrp9TLpebbDQa20DDppD+JvFvAV22iD/lely0jHtyXcEqmyrULbSNq6ulC5/xz7AZ3SnGLzn9CRXb73MgWIlRzUXu3SowuQI1A+gK0Pv9AiX+j99YFsQmk8ldwzCuA/opc/irvA9kfBjbtWIRpe3TtH2Jg7TFPw13vv3Sl7iRHXXg/+3AbxEX4s1WymjTAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAqUExURUdwTKqqqaurqa6urqysqaqqqKqqqKqqqba2tqqqqampqaqqqaysrLOzs+NEAOEAAAAOdFJOUwD8XwVIk8ysDui+gDEUJLIpRQAAADxJREFUGNNjYKA9uITE5shE4ljNQbCZCx2grCQGBnYRmHCgA0OgAoxjLsIthNCwMHADQruZKLIlCjT3EwA4wwbNFObzxgAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAkUExURUdwTKqqqbGxsa2traqqqaysqqqqqaurqaqqqqqqqKqqqampqFciIvYAAAALdFJOUwDsCyHaPZd6WLTLNQxLGQAAAIhJREFUOMtjYBgFgwFwuOOQiN6IXZx19zbsEoa7J2EVZ5bepYBVwmT3IqziTN5bDFBFShrAlNZuYTSl0lvBGmZvRNPAkL0xAEhy7hZFN1wTbEb27gAMW1cDDWHbvQPTPSq7nRmqdzdg8Zn3Lo3d27GHhffuAqyhJ40r+KJ3T8AR4G4Ko8l0wAEAA+Ufe3iqoeIAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABIBAMAAACnw650AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAhUExURUdwTKqqqaqqqa+vr6qqqaqqqaqqqaysrKysqqqqqampqLx6tLwAAAAKdFJOUwDUmgt27lcfOLhfFjfvAAAAzElEQVRIx+2TIQ+CUBSFGTq0E3QkswmjzWTwD+hIBpMJg12DxeRms+HEyfcrfUOgCDtM6zvpbnzc3XfPuY5jZWX1r7y1Zjq3u4ZcUg2NSSTThZeEFiAH9+AhG21hppg+6AWcYKSYXkRW/+U4rMo9XOuhID2UjQKSsB6KWBbVBPxGH9K4sJYkboDM/4O8mFL1/M5GOYlpeWh8+O7zJhdWcjvC2nzPJiNP6Zi09gxzmRGTIrS1ZmidETM1lxY3koUtrs1vcdyb0LGysvpdb1KGReE4eQbLAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgBAMAAAAQtmoLAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAYUExURUdwTCsrKxwcHxwbHhwcHh0bHx0bHxwbHiSvNbMAAAAHdFJOUwAFt+WHhIwZdIGkAAAA9UlEQVRYw+2XMQ7CMBAEYyWCNvACqGgpeABSPhCJJ/CBCAp/n3SgeFkzwk0kbz9aO967yzVN1XoVhpjo0hugi0KjAVoFnA2wLQKMELCXnoEJfdYKVIADYVApNMBcjEcEzMX46CEgLPyRhIW79ElZuM+6VxYOkBb24ZSFBZSFj4aw8ICwyIQvtcgAqUUu3olFDkgssgW0tPgEdlILizcQ7vGrnr0ANtHoIIDWAVMJoKNHCjd46R9f7q+HKxINGj4cb1pAuERpE8BthjYy3CppM8btHg8UPLLwUMRjFw/2+r9UAQrglSbVteRahhe/jh4JL69V69ML76NZY2+f/5MAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAVCAMAAABxCz6aAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA5UExURUdwTP+RAP+TAP+SAP+dAP+SAP+SAP+SAP+WAP+SAP+RAP+RAP+TAP+SAP+UAP+SAP+RAP+RAP+RAAty0loAAAASdFJOUwDRMLoKR/PrGnjLaJDEJqaVXXdmDpwAAABxSURBVBjTtZA5FoAwCAWzk8X13/+wJhojWNg5RYp58IEo9YWZtXm7BEBLFW11wQvnqTpQZMpNuLCsNeMmDbnhgdZ4zw1cmx65JGbLiJhHIVsr9oTMt1L0Ht/o3VlIDazOB4hLS9jbT5EVpe58F+3UTxz4+AgENGzsRAAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAqCAMAAAD26OlUAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA2UExURUdwTP+XAP+SAP+SAP+SAP+SAP+SAP+fAP+TAP+SAP+SAP+SAP+RAP+VAP+SAP+TAP+SAP+RAME72A8AAAARdFJOUwAVuF3qyHMJNPbRo9wikkOCYy6g7wAAANhJREFUOMvtlMsSgyAMRQUTkZeY///ZaqdqLCR00emqZ6UzZ4BcEobhB0wJFtfXjKUN2/UK0JNJ19xCL4LqZTw8KJo3+sOzRts20olWy5yIIdcyee6Rn7XwOMFp4XGW1rbUYqzLoDaAa77HRzK37iiKSIFHv5ecvGAiW9MARScegCea95/Y9uo7cqmhpdYNzfUxY3sk3oP3o9QZKJehico03A8J8sx226JaETp74xleDvuHOIrrFZ5Bbcayv8JzVgtoJbx6dbv8KA8tj2R7X8yHD2Aww5/v8gDvHx+jTjsTgwAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAM8SURBVHgB7VjtceIwEF0TCuA6UDogFRxUEFJBSAVJ/ocPQwEkFQQqSDrAHYQOziWkAeDe4+SbQ6xkcTBz8Y3fjEdC8pN2Je3qYZEaNWrUqFGjwkiKyng8bqNoSTXwCXtXrOwcGI1Gs+12+yAVQpIkz2maPiZc+c1m8yEVRKPRuGpIdY6NhlZDKo6m1oh4eLy4uNgFCY5XD8W980qK7cvkjMA8HRQjp3mBeeasrNfrNs79zOWpDtB4xEaGx+DntdvPQdGXyxnBrAInXAe+43lAH7MOnTzgMYg76FjKvoFdFCvb3t4jJMkc0X8nfkNa4N3jvQ52sm05HGuBhclCjiMbvoHTc5pXsOcGpdHsVGMAg9zazNR2+2BMKn7juRg/WMUYHfmVIFqsg/dKA56enno+Pt55xPPpNDNLLjHGtcbxOdBHYZSu1LeCNMyuUCirGazaGx3VOjk2xtAWyPjuqWOyUDqZTMaiT0zDZhIJGEknVEen0+kz55JIlDrALWVW8hlPoJ/BZ1we4wXVhUJhnHhvfjtXlBNBB2DAO54ruyoh9BxeTh6DHcb0sTuXytm+9+0CQSfIE30BSh1gnv8GA27K0iXPM3ag5TiwFyus450Xh0pOW8Jj58UCiGdHVAd4STH3SgR4wSjNmTLmPJJ7ADriuzhPlhJY7ZY2YUybxj0WJzuAo3GwU9rZ1to07rFQHcDWGokEjMgVfi+mDTfzATcAdbdULcRbczgcjmBcigw0lwCazWbmahTwR1ZL5fzNe0LROUQmARSyBNU+SqO9o2ohBwygOxrkewEaZmmlwx6vyDxwiEaYvYnLNRXtehVdEezg1UIOdiIKk936XoAxmiGG8tdKYKNwvBcVdv/WLqqREkQHMc7wPKRheFtLPIKaCsVcIqE6gNXJtPZzaJiQLAlpKqoCrd3nQGqv/9zpKtUw2vVvdVHGMxuSJR5NlVtbXiTWAYJbDFL3WA1TXP94Ek7MB/FDWdINJQILV1PR8W5IzgRj4G81zJ/82L+ePPuupuLcZfyYNPplEZtGvzTowMl65F+i+Db6UXxBqAqYnZAYLn9/nR4MBn00GqkAKCAhBN9j/7PUqFGjRo3/Fz8BGQfMX6F93UMAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAFKADAAQAAAABAAAAFAAAAACy3fD9AAAClUlEQVQ4EYWUO4gTURSGd16QjcWwvsDX6oqNRBRstlRr8VEINhaChSCYIoWixWRIQhazmMoH2IiFFoKg7mKxoKyKbCGoLAbBB+oqKovGR+HmPX5nnIl3ohkP3Jz//uec/577mGgD/7F8Pr+x1WplPM/bommarabDLcBVDMO44DjOXYlpakIvdl13b6fTuQpvUfgDL6NrCA4yWRIQJ3O53FhfQcQSiH1CyNN1fV82m73dVVIAeZsQvga1gdyUrsR64VYI2eK5fmJSgOBTBB2GTgPb+gqy2pAUkPhZfJyxgy8Sxw+ZYaK0zgp7EFrH0MBrgth+YinBiHuEXlN4g0uohLWq9wUJHkLgPAGLGilUc0aJjYaExJi71BzmEi6GfOh1Vh9m1TMQ86y8y7Ks9fiRfw2J8UR2kyvHcJba1aFQ6OUgd7BqAgGHhEnmm8GLwG9YKAW2BVMw3G63V3FBE+AsQ57MdkbEyNdXBMwchcspus5wy+XyIH6SR31K4ix6mXFJMF3OicdW/nZ/fntvWbZykM7GM5nMAviAaZp5SWfhI/BHBcdZRJAOOxS+oOC9FIFfMfxu6O4t1Evh4ywiyHc7whk+oKCA+FLwTKPROC0C4GmGfIaxZpLU/fxs2/5QrVZP0NUM/Dcqj3FeTwIF4b/HqhEkR+8+unQ6XYe7yfOYpcMWsQm2+lhE4KY4z/uC4yyy5UKhsJbOKvV6fRzBxeBnFMsbHWg2mw/ZvjyZWItsOZlMzlNY4jan6cio1WryXAxRoNsSC3yNVSNoypZJ9POCp3JcJsVicZlPBj90XFLn/XD3zwHRK3wFcoa+sW3/OOhwJ/y7kBdPbkKdq1gE77DFWfxfSfDP1WQF/wR/ZNwLuEfk3gJP/QI3GjVZ7os+xgAAAABJRU5ErkJggg=="},function(t,e,n){t.exports=n.p+"img/icon-my-104-company@2x.b423b3e.png"},function(t,e,n){t.exports=n.p+"img/icon-my-104-company@3x.18b1ce4.png"},function(t,e,n){t.exports=n.p+"img/icon-post-action-clap.9ace803.png"},function(t,e,n){t.exports=n.p+"img/icon-post-action-reply.3c09d58.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAQBAMAAAACH4lsAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAwUExURUdwTIyMjIODg4GBgX5+fn9/f39/f39/f39/f4GBgX9/f4CAgH5+fn9/f4CAgIGBgXNEs6wAAAAQdFJOUwAHEzXLvGeo4yhUm/KCjER10JJ4AAAAYklEQVQI12NgwAoYrVYZQhhv3Mt9HoJYrEUMDEylIFYqmJsAJOJBLP4AINHEbehozXQAyPLkFJggyewAZL0FyXI/ABLKIFaGAsg8B7G0K54gLlNz6+77YDuYTiyA2WuE7hAAedMSTFAm+sMAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAgBAMAAACFobf6AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAqUExURUdwTH9/f4SEhH5+fn9/f39/f4GBgYCAgIGBgX9/f39/f35+fn9/f35+fotdlVoAAAANdFJOUwBRGu6o2SqXOn/HtmpRsdMcAAAA30lEQVQoz2NgoC1gnO7i4lIpgBDgtL0LApcnwQTYYm/NERQUPLn2cgNUpPkWhMWx1gIiwGTrAJViv6wAplluww3cC5HLvQQXUb4GpuYWwEXYb0KUItzBcQtMxSYwdDcwlDNw7GBgugoRUWCoLWC6q8B+nYHpMlhkbQODpgKDIAPTJAY2iJraA3BzeK6AKdkAuAjXRTDFegMuImsACYpNcC/bHkALJuErMNZyCCV9F+ZloJ1sW0NDbe/aMCBEDoPCcKUCwjdad93S0hSQwv2yrSGqFWx3ryig2SoiQHH8AgCa4zxuuQHLnwAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAwBAMAAABOG1+3AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAqUExURUdwTH9/f39/f39/f4GBgYGBgX5+fn9/f4CAgIaGhn9/f4ODg35+fn5+fmFTfYQAAAANdFJOUwDroMJAL9ZqVA59HrCohbusAAABX0lEQVQ4y92UMUvDQBTHD21NShwkiogSqEshQ0AJOAgFRXETiqM4+AUCndwCaUFco+IoiIibkMlNED+BabSV4P+7+FJ6l7sz3cU3hHf87v3zf+8uYeyfx/GWA4rl7Y5OzsAj7arkAGUMd2RiAPZ5XGQ3fQe5jJ6wGottDppyUZaUq2u57BCvsoaH8m1BFstoFqc8NbGm2G04I57O4U5tJRzy7AWxii7BRxJ+a6OZETLeSEOmcNz+oMc9afQjxo6ooI4N7v2z6HqBWaAkIAmLFiqqg8qdvEC8sfYX9dIisUcS23MZqwlBL9dsGMJGmGloHl3Rsnbot0jEOJsq8oRMDe8KGTvlu5TjYs/CIG1TxmsFaTLlRu5KehTrkUhPgEjWKCbT2Ke4aAFLctF4Mr3JFR0kOrqaELujn53pYNH3/beHX8fqehjEVX4NbCKNWDUC3Oou68DKtG+yZ8d/9XfxAyqgkdS6fO7iAAAAAElFTkSuQmCC"},function(t,e,n){t.exports=n.p+"img/icon-resume-edit-active.a9ad494.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAnUExURUdwTIiIiH9/f39/f39/f4CAgH9/f4GBgYGBgX5+fn9/f4SEhH5+fvNAu98AAAAMdFJOUwAH5tX7l4Q7MLRfIF1JJKwAAAE8SURBVDjLpdQ9S8NQFAbgk0Ei7RIsLo6Kk1m6OXRSMB0yWKhbh5S66dY/4ODgKAXBIUN+gEPBzbG5IIH3R3lu0o/ccxKpeJZ7uW/y3A9uQrRPdWdnD43BGMaMGsYPwLXKdPBoA1Ms5fhhjHzBSSSDHjDy7jnJlLQKqJsCQyV9c9MJUUjJ9G37CRPINV0/2VeApZCAG372RAQ9uwlclmTgSvmElzrljjO5HyPyQyB/qRZXlxI6ZuwKuBUSy/PyGAMhceONOdCSfWDQKNU7jrQ9MCXZjiNN2qXhRor+J2EPKfmT5AvpqE36aJFo0CJRvN6UlDwgcxe3CxLnwGpU0iQRhdUcUtoEHXX9ebmvRF+pkmzgz/jaSIlSnIf2ol2QCqp6u9vWdL0xVcXu8xZVTvesx/Pq17I4lfX+y5/oBy7Q7oAgQV/HAAAAAElFTkSuQmCC"},function(t,e,n){t.exports=n.p+"img/icon-resume-skill.bd9d284.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAFKADAAQAAAABAAAAFAAAAACy3fD9AAACaUlEQVQ4EY2UP2hTURTG3z9frFClVgelSEEECU5SECwOVhAVFx2cHOzo4iL+65C/lIhgJhEEwalLqE4uggoiUhDSxaEKUuvmYMWki9G+PH/nec9tXpqaXDg5937nO9/73r33xXW2GOVy+VAURVfb7faU67oH4zgmuZ+IN7Q8KBQKy71a3W4QYkBzkbhFzZc6Ij9Yx0xHZc2IPM87A/flv+XGr7cxdZxarebTN0fMgK/TdD8Mw7FisThaKpX2ZDKZ/eC3ecACtdXOXp2nHOZyOXF1l4ZvxAkcfFZir0w9BN9B/ql16xBwN2CeaPm+f7GfmBF4zB4vVyqVkU2CAJeJIZw9wumCEvpkcTbSarUuKM86BDguIIJPtThAfmY4p5VrBTmIfQb8775po2S25qtkXlu2KxmdgmsG225y38Q9zQiJt9qmZCsI+EVAnnZMiwPk5FXpXVKuFcT+vIAUZzhhiyuxO7NFLg+/ZPDnWreNFN8CRhCPkK8pYavMZZcrNklE2Wz2hfK6L/ZvCsl+4PQecQe3bSVLrlarQ81m8zoGSiyl/w9fkVzwZAQ60YyIiK7j9Cb5PIJzYEus5Ts+0Gg0ppmPgf1i7TFPmdokCOk75EmID4mzxCxYalCfJ25Qe0dhb2exl6CDqxVI58jjvNpJmieINeYf+FOog38UkXxetjE9egoqxQg/YS0x0EgJ4iKmKzl5xA7j6BTYFNhRo7bIa77G5Svj0jM99mGpDeUV6jRIs3w1w8qiSQ7KoWZPE6zJeidwnVOeUK69hwJwua9AfE9ELOVPdJYQl7skZC6Y1IgQbDEIgmnmdvwFeGrus/1mgZkAAAAASUVORK5CYII="},function(t,e,n){t.exports=n.p+"img/icon-resume-skill@2x.e9e29cd.png"},function(t,e,n){t.exports=n.p+"img/icon-resume-skill@3x.bd9d284.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAGKADAAQAAAABAAAAGAAAAADiNXWtAAACL0lEQVRIDbVVTUtiURjO63UotGUkZlRQTYzLUUFI8B8E0Qe0TFq16Be0aX7DtHQTBDHQYhbDLGYhTCCo26gkiLglBAVFfmFX7XmcDnjOvXjNnBde7vv5vOc95z33DA39Z3L1ih+NRuPNZjPFeE3TNrPZ7N9ecnsqEIvFRkzTvGq1WuMEdblcd7quz2QymapTEc0pgP5Go5EU4NQp00bZiRw7SCQSeqlUugTQlAJ27fP5ZtPptKnYJdWxg0qlsmEDTpCpN58EqCpdO4hEIpNIyGBLJtRE6jiLW3xiuVzOsPO3Y4QjHo+P1Wq1r9DnwZ/BCwBexPcTuBvVUegEAefgC3DB6/XmsXX3TGp3EA6HNxH0HYDDNH6UgFUD1nY+n0+JM/g2KHAujlgoske5XQDKI5UB0xPxRAc7kOsDLEAsYv4rgCn443a716C/0PhBeiEWMYkjjSnGchm2I+yh3k8RbDUv3TrAj0W+Wwj8FovFs0AgwNle6rS/Q97C5Bx2xksdCAc6MdBFUOi9fLH6G6ycF1MicciSEUo/Z2E7JJYC+LkNY/Xqj01dgEVHzjRzVYelQLlcXkCQxa4m2ujaW67ksgBhL79IEe9Q7HIt44hncc4OE8nP4B/0YTtWwaNqnF2upQO8tw+diQA1wfsej2cW73CSTJk2+jpj1Vz6pHtAQygUOq1Wq9wmPwB+glcwfgeGYZTpJ1HGnfkVDAaPoPKd5nvx2+/37xYKhX4mEOl90it8Vsa3XnF6WwAAAABJRU5ErkJggg=="},function(t,e,n){t.exports=n.p+"img/icon-search-black.5f78f96.png"},function(t,e,n){t.exports=n.p+"img/icon-search-gray.9888651.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE2SURBVHgBpZKNUYNAEIX5sQDsACswdgAVOFZgrAAtAORoQNJB7MAOgh2kAymBBgC/Nx4MhszkZnIzO3ccu9++3VvPu3L5ro7GmGwYhoRj5/u+Kcuy1f2NS3Ce59u+72sCj+M4briKsVT/AhdAEATPBDeoeOD8BiRBQeRUgqSTvdSZQAMow3R/tyoBaoJzHIZhI5mSjd0rO9/K+OH99SCdYmbAO4smlaKzT9JbOQNubIII65ZJ5xKKohhx3mM7AAeuWgDpacCqPxPZfneTAYqsbM8FoCBDk17J/qNAzrGU6AkXPVoB/73CoolfggCo2R9VDopaPZ8t7Qnf4wpwbuG4BaTuR3YGMiyqqup2LuECYM/2rSnkrGncCTaV4zTKZG6kgpc+sG8srHNSYFXUQF7s5+dykK5ev1qqoTLSzKlgAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALlSURBVHgB7VndcdpAED5+CiAdyB0oDYBTQZwKDBUQvwOShpe8YVUAVGB3YIYGohJIBaEAfvLtzDED0t7p5POd4hl9Mxpxv9rd+1a7WoRo0MAKLfEfII7jHm6hbGZo703X1qrAdDodttvtx/P5fJ8bytCXzufzVdketShAFoeAC1xD3bxWq/WMK9GdSFfUAAgelQkv5/3Ejeg1Us3pCM8g2uD2q8KSsN/v/9lutxk32BaeAUqMmb4NfOEHrm9orvPj5CfK/YRHEPdPp9Pf6z4Iv0qS5IYiURS95R0bSnzhfMH3CYT5DihQsPjxeExN1hK8U4hBL9/R7XaN44A3BeSr83u+H30FnwDNhswWrBN78YHJZPIADi/wM+DGyQ+ISofDodfpdMZ5/mMsg5985dY6jQOwegBhlkykvQHFBLqgJP0ujEOBVLXWiQKSLmNQ4RKIbJBiv5VqsJICJkkX+u4h+FIo6ALQGrIo7TUWeqxxKrFugpEPmCRdJnShgIVrhLk7auNO1CHOh8y8tc7yRgpUSLpepeA9xfgO1xP2e1U9R7hIpxERFzKhskGC03uuIlQVKBUg2sBqS/HejXN0cYWuRgA26ZKvtL0MNlyStYfFn0z4+xFgT8Ay6bpzbfWb5yn6bZKuQHhElVzIKulyBZUChcSpQtLlVSnlW4jjd1nSlZuX+PAFJYU4zlNAg9Xf4Kgvuoh7mSe/f51CG8hms9lK8K/KKtjR9y5OIxMOUJpKwJKxKEm6KJXALYTlA80cJa2cV+ZMky6cWIz2o0aRnYwnCTW8V+YM0+lAnpqOeqQICfkgdMIZVOacfVLioUSpFx2tTMBlADfjwjEk/SIbRbB2pKKT86oE+QesyFbcLvhMlbkQ/vH7uu+zVeYK+VRTmRN+YZMk1leZu8Z7ksTaKnMcSNC8gDaVOe//0Gw2m2wwGNwJhVMySGF95T86tTgxLE2lmtRg6sdU5lzBeWXOF2zS6QYNLPEPP8PizE/Wp7kAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE5SURBVHgBrVLLUcNADH1aOMDNdAAVEDrYVMBQAVBB4AQ37AsELiQdhA7owKaDdEBK4Mgl3jzJm38m2ZlEMxrt2iu99yQBe5qkPgxP6MDBI+CP10K6GOn346TkZ9wx9FBjSMgWz+f0tv5zSLNbeiXvuGKRR559yJElSTDqQG5QYxSMHUvs4mJNAqn6SK+yGEhbcGn3mogOn9aDo4b+UgEmvxjSook1qk20yt6QtuTWxIUn8wKBYUCUPqmWPI9wyuSVhFVz08pNFT6u6WKe4T9+31UgohRMemD8ZaEs9qKMI8QS0CYJUYa3xBN8G3rTxGuT07i36HAjr9wJpIxRGQR2XyXpDugYeZY3nM0kbDNOYMDwwyJD+bBt7KvEqZykVSZMpSzIpmRsWbE4naRVJt0ew328ful4cSibAMrFYk6+pOwtAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAwUExURUdwTH9/f4KCgn9/f4iIiH9/f39/f39/f39/f4GBgX9/f39/f4GBgYKCgn9/f35+fhjs/acAAAAPdFJOUwDzEZEG3qZzZCm6VzwZzbBuAw8AAAH6SURBVDjLhVQ9SKNBEB01GkMUBQ/xsEgEBbVQD0Svi3J4wmEhYh/FSiy0sLIxmk6Ei5Y2wiFcmTTaHRe8a+UqCzt7OSR+mmgMGednd78vSnCafbuzO/Pe7OwCWJtLT6x8/guvrfEshmSFtana9cgyGuvO1Oz/hM664gHHjiw9JGXo8de/8PznIcDVHqMxFyhLu3cVD9Kpsg02QGw27a5ZYvdfYYgO/PDjDiMWFTUhesw+kp78xfMEVtXxHXGDhugtRVwlEMaSpo6hR0N7VrjmCP7J2UgnNFyqvJKf7BgLRC/E4rhceV5rZ8LrsovOVc9Dp4iLkr8kKRblHDNovMVnmrQhxiGKmBKOnsb11JGCFvYCJPEDO5qxrESXYFpgyJSuQVVnsRP+4SPICbmg38p3Gyuk+4nh0Y3QTOrsmDgk8M7XRCqXeBylgwkK524+hoWMpvJI37xzHKDIYHLFoIPLknKOQCgqS6+iDgoVSN6HhbyiUXIYugERQvfRClRZ9w5VTEkk97bjkaXKmSIq2w3TaKwzailSQfYNaOW7NxdVYzNy2+t+A1y43EXXDGwjmLMN9dFvH9GhrL7prZmGE8c1aI9qDNOiAF+1ImE0mm1TA/SLzoR9Om+fQXmqzsNZeO+p+Y9zaIvR+PvPuf4HUPfLCHwy8Tf/z6tv6QXqtHJ7x3HuTwAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAwUExURUdwTH9/f35+foGBgX5+foGBgX5+foCAgH9/f39/f39/f4aGhoCAgICAgH5+fn5+fk5hbaAAAAAPdFJOUwByzSu6FdiJ9KqYCk6nZYAhsdcAAAB8SURBVAjXY2BgCHRLEWUAAsZ+zUk/BICM9coMDEa/gALfGZ6ob6hlYIhQ4Prk78BwmkHewL6A8TP3RwYnBrMA9s8MKQy5QPXnJzC4MWQyMDC3bGCYBpRiYPzKwKACVMzAeoCB+SNQO8PmAgamVpCBzAUM9QIIKxCWQp0BAMwDIZ3sbloxAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAtUExURUdwTH9/f39/f4GBgX5+fn9/f4GBgX5+fn9/f4CAgIeHh4CAgICAgH9/f35+fouYnPEAAAAOdFJOUwC1hhnIW0Tyf50OMG7c7IFF6wAAAS1JREFUKM9tUj1Lw1AUPRqrNhURnOoQuriGOunoqCChKHQMRRA3F0clCApugrNQ9A9INjdRnJz7C1LSxgo9v8F7b5KCxjO8xzv369x7H6BwD++bm4+YoeZRkHTK92JAQ9orCJ/c657ckMP8/cTsWu+diBtGeFzPLVuc6DWvns5nUxL4qRJnbMG9Jacxag9KBAkwp0UuCg08B/o8OI7U/70txis4/AJeGKPBXTyzjRWuAXW+weU3wlRT9PQQ6cEIvng39iX8VUJwN0R/VDQUSTWEE3jjnDjlQEUlJeFEWZwTRUjdHDREkwqWNKUlDa0hrGZ2SVkVpj1fWiYRptJnWBbJ1pzYPvTcNrUqCAtTG15aDEiI1IY3LkcI98jG3/oz5OT/NVQWVV1lZdm/vsMPVmaTvIYMM8cAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAwUExURUdwTH9/f4KCgn9/f4iIiH9/f39/f39/f39/f4GBgX9/f39/f4GBgYKCgn9/f35+fhjs/acAAAAPdFJOUwDzEZEG3qZzZCm6VzwZzbBuAw8AAAH6SURBVDjLhVQ9SKNBEB01GkMUBQ/xsEgEBbVQD0Svi3J4wmEhYh/FSiy0sLIxmk6Ei5Y2wiFcmTTaHRe8a+UqCzt7OSR+mmgMGednd78vSnCafbuzO/Pe7OwCWJtLT6x8/guvrfEshmSFtana9cgyGuvO1Oz/hM664gHHjiw9JGXo8de/8PznIcDVHqMxFyhLu3cVD9Kpsg02QGw27a5ZYvdfYYgO/PDjDiMWFTUhesw+kp78xfMEVtXxHXGDhugtRVwlEMaSpo6hR0N7VrjmCP7J2UgnNFyqvJKf7BgLRC/E4rhceV5rZ8LrsovOVc9Dp4iLkr8kKRblHDNovMVnmrQhxiGKmBKOnsb11JGCFvYCJPEDO5qxrESXYFpgyJSuQVVnsRP+4SPICbmg38p3Gyuk+4nh0Y3QTOrsmDgk8M7XRCqXeBylgwkK524+hoWMpvJI37xzHKDIYHLFoIPLknKOQCgqS6+iDgoVSN6HhbyiUXIYugERQvfRClRZ9w5VTEkk97bjkaXKmSIq2w3TaKwzailSQfYNaOW7NxdVYzNy2+t+A1y43EXXDGwjmLMN9dFvH9GhrL7prZmGE8c1aI9qDNOiAF+1ImE0mm1TA/SLzoR9Om+fQXmqzsNZeO+p+Y9zaIvR+PvPuf4HUPfLCHwy8Tf/z6tv6QXqtHJ7x3HuTwAAAABJRU5ErkJggg=="},function(t,e,n){t.exports=n.p+"img/icon-spinner.b0d0cee.png"},function(t,e,n){t.exports=n.p+"img/icon-test-off.11af2a7.png"},function(t,e,n){t.exports=n.p+"img/icon-test-on.80d6079.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA8UExURUdwTP97AP95AP99AP95AP95AP95AP95AP+IAP95AP94AP9+AP96AP94AP94AP95AP94AP94AP95AP94AG2Yyd8AAAATdFJOUwAzcRKXTrb8B+nOIkLdxIaqZvIWQiXWAAAC6UlEQVRo3u2a63KEIAyFQVAuiuj6/u/a2QW7lyAcL0ynM8vPrvBBcgIhlLFv+7bY+raRo3VGKePsKJu2v3LweTILaWaaL4GIxi6bzTbi5PBDp5ZsU91wYvh2XIA2tgeH53YBm+VHbC/fjKPuyuG90Fr0/K6o91/lbl+0r7pxftCfH+jBu1dN7bOTli9d5aYBuHyZhtQ7hP+0vmmy/XTzRFg4LPhvJzMXp6Xn9WtlQF8Pt32ue8rhBsVEu37uYPHx6G6lAFcP6/jTDuWJaV10cQ082kc1+2TdxHndCsvuo8fU7vBfLWuyWtI27y3tjfE6rw2bE54sWNLff/UF78nMMqOrNu3zUIspWWmzu4gO2PZvGGHb09ENIm+giR0FsClrJB66O3EcIELEqbRWbe5HDLBO0mY8LNkZwGrmlJ/HvINAQBTKmFBxQM/sHIDNYRwaSV1YgD4L0GEJHVmaKoQACojBoETyz4UFQIC4hCapUcnOA6KQPpTaB9fwKwA8jNUnfO/YFYCwJX7oMWwi/hqAT2xpZkO8hwAhpAx1gdLXALQiTmi34vsQIO46LYkCeRVAkkiQSBjjADrfMX+W7gVQi1sozGAAJ7HsErF3AtCTsA1hIEBAUc2CBALYMX7XlT7UIawOAGLiVCJQAGoiv0AEaiLUybqDCNTJqExBApUpGmgggQYaulWABLpVoJsdSKDzRbdrkEAtjh44GCFx4KBHJkZIHJnooY8RUoc+mLZghFTaAiZeECGZeIGpI0RIpo5g8osQNpJfLH1PEzySvmMXkDTBIRcQ7AqVJjjoCgVdAtMED10CoWtsovzinAevschFvJwRZS7iSCmhmK9kSwlAMaTU8sUQoJwDJb0ZobRHC3ZgQapcUkMKokqeKAoiBWOr/7KsWb8wW7+0fKo4Dlq2dnn/8APFYuAl135iqf9IxKo/c7H6D3Ws+lPjw051H0sfMVH3uffhi7oP1iEsqj65r5Ca/zTwbf+8/QB/ioFdLSk8BQAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAMBAMAAACtsOGuAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAVUExURf94AEdwTP+AAP95AP95AP95AP95ACZdNogAAAAHdFJOU/4ACtVfKqDkQvybAAAAKUlEQVQI12NIEhQUZGAOBBIMLCCCIQlEMAcCCQYWGAHmJkGVgBWDtAEAdn4D+dNzxtMAAAAASUVORK5CYII="},function(t,e,n){t.exports=n.p+"img/icon-triangle.7166bf1.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAzUExURUdwTH9/f4CAgH9/f39/f4GBgYGBgX5+foKCgoiIiH5+fn9/f39/f39/f35+fn9/f35+fta1fdEAAAAQdFJOUwDtn450JzvXFAj3Y8KBr1AMhTDSAAAAmklEQVQY02VRSRbFIAgTRXE29z9tUf9g2yzEFyBgNOaLlMwdwUkGSFz4Ub5iMkIaqt/cyKASV7YIaBX7jPaXa7AzVPAp72ePh5gX2r1wwyI8GN3rRQYd9WofcDqI4r0bZR71fHWirEWpoh9s39tH2XHdO2SppZkcrjGzJchyJFZI6NjIbil5NUy9lFIK8/gsEpSB8MP2FOPzIy6UFgYkwI6vbAAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAwUExURUdwTIODg39/f39/f39/f39/f4KCgoCAgICAgH9/f4aGhn9/f4GBgX5+fn5+fn5+fm0fWtEAAAAPdFJOUwAU333sYB9KmPgJtDTB0niYUTcAAAFkSURBVCjPY2DACxYKoIsst9X8/9Nv8wFkser5/8Hgyx6EWN1/OICLrgDx9HbsfQKiGyBibO////coBLFSW/7//wuxL+n//6cLIPJcJv//K4IZ7///WAAziav//2cQzfH/ZwHCTtb530HU+f9fkV13IgBE3v9vgOE7nv+fFmAIMqPqhgC+/x8xBeX/X8AUPA/zGByICzDUo1vO6O/IEP8/AFWQFWgzhkrm/98Z8tEt4gAKsvz/hirIDRRg/v8bVZDl/wQGxvloNtWDzLP/PwdFcD9IEe//LwkoAfQTGCFs/v/VkASF/v8AUSf/f0Io5br/3xFEs8+HRBYYZP+H2lsPiSywH/0huhkYFoHCOQ0U3+L7YamB8f5/L4ag//+nKKkAUwhU0yGgMdKwtPSpABrT/z8L+0PFvlhB3AA0Zh6Q+2LvOyW9G1WwkAKDyWghBQJ/D6AmBqBxPy8fQIs8trQ0AQYiAADoyMbi8cdKoAAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8BAMAAADI0sRBAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAqUExURUdwTH5+fn5+foGBgX5+foKCgoGBgYODg39/f39/f35+foiIiICAgH5+fgSySzUAAAANdFJOUwCz8zXMIksRX3rkB5Sz7H+DAAACDUlEQVQ4y2NgoB4oDQ6txiW3eaLTXSBYImmNRZJ5ou5dGJAMQJdlk72LBC4moMn63kUBV1DkWdFkgfqRzW+CiDnKzJwj6AVhayBk94AFPNMhvIhTYO4BmCw3yOhL0xHKY0CeuLgBymMEcm51I7sFLC8A5ZwFssVRfVIIFLoKYXKiOgSu5TKEFQu02ABdmkP3rjeEBQwvNcxANlwI8Tkz0OwG3JHIcvfuHTxxnHv3rjoeaaAbJ+CRXnv30gbcskCXXcSjGRgoN/BIAwP8OgNefy3AJQd0E9Pduw44ZLsuFjDwImIO09ECDLVI6QLD0bcZ9uLUzQOSxm030E8KIJer45ReADICR7BwgcxlA2YJ7NK1IFdx6+JKDbbgqARGqCqumAbmtCJcUQaM6QJIOsYWMGxQbb7Y3c4CFQ66C7YEHfRCAwRoCpaEzqoLS4NzsWWTLXfBLoOE/V1lNFluWYSLgMxLCZhZFBaTG4Hs1ahJYS0wyxdgMQkM2M8i28cNzMPXkGVn3UV2LetacJqoFJQ5OaMjLWMOuPBcDFcdBQ4YjrUoBR+8YGPTBQUvO0qxefc03GZgsNxdztCFIusMNzoEVG6Ft6DIejAgG333IrhQvQQts68cRvhiLlzLpQbuUuO0tDRTpPzOjijlXbHEOitcVgNbiuKG+XZlAdYUZwWWXDgZRy7mDjY2No1moAUAAFt4hosAn9rdAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABLUExURUdwTP97AP94AP95AP+GAP95AP95AP9/AP96AP95AP94AP94AP95AP+KAP95AP96AP96AP95AP94AP95AP95AP94AP94AP95AP94AKs3KbcAAAAYdFJOUwAl9qgJY3cUPO6bw5AF0m+DUNgv37GLul5qhQkAAACoSURBVBjTZVFHEsMgEKMXg7EpTvT/l4aSeAzRRYyQlh1ByA9iJzOMDwyw4WVuiTpUJRVb6U2HFhmK1P1WJthuzgynuFMneCMH9RyfWyYjkD+o2TiwwSxK3YuvYq5PnWs84kUorJ7TkIR4OPHQhGXVtDtcjy44tkY6DO7nC6lP268qRn+qQ20WqTeiHYrhGGC+z6e1sNplkVIeR/wuYpohKDEvK7ReP+ID21AI9n3APokAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABFUExURUdwTP95AP+KAP95AP95AP95AP94AP95AP+BAP99AP94AP99AP96AP94AP96AP95AP95AP96AP94AP98AP95AP95AP94AESYIVoAAAAWdFJOUwDYBZX4uOHsDhjCIUR3UV2FN6grzmhz30lxAAABV0lEQVQ4y61UWbKEIAwE2XdFh/sf9REcLEVFa+rlD9J0kk4CQr/boOQTRNpRc5pSogIzNw03MMsAszMRpwuYX9KFsRY6kOriC4tRY1HP5JCAWekE8VsdJsQVzHalKQ43ODTZS1egWG0XyznG11MycvUYQRB/LcUnK1FdE7wKd9pOZHPpjBtfdAwIuXwBHDPw82YGcAaqFziVcfoN4QwSPpH5HNLuFb3BiSQUCs+1hKKzfVbRJegOFMP6QGi4RQgmZO4CWUaYVfA+ZR5CCjXRh3J8ZQJKOvUjF6IBxkeYXkeoqoLmAbrpt8S71k30sBqH9SzhNpelN0OpWDP+Pl22PJQ1JG0mpTRjKrH0LJ1wJZOM8GXDqeCc179iH2cGPuh7PH0+2Da7m18qJ1qYcLtfQa40FK++JTK94Bwaa+KHdgs3o+PQbWU13Zs3+82M6nF++NwNmET/ZH9q4yGjUDwQ8gAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA/UExURUdwTP94AP97AP96AP95AP97AP95AP94AP+IAP94AP95AP95AP+DAP94AP95AP95AP95AP95AP9+AP96AP94AFkKKNAAAAAUdFJOUwD7MD3kIlbyB7mslw7UhsZldxdJm5qX4wAAAfhJREFUSMfNVseWhCAQHAQkI8H//9YdCaOOoMAedvvke1p2qA71ev1Dkw5PGDvaCaNQM0XWaAAt3MLGX0yWZdzBADP4EerZWjXmb6Hzst6aqsPxAzR4rwQ/H1MFinGhrRacLeiIJqZUYbEDF+3lKSQjDj8QV+wnZKJdMScB8hf8mzeeXiBTZdSJnBc/v8gxc3lHhss8nqpmb4pxMh0/nI75xHTI9Nx/gRJFLwkD39S9DJ24hjGWeWj2lgp9LRYdEzcEjjTZsY0ROo/QIexUappWs78odSQZyDGwCvPQDYs1CqOydEINAmzjdqReoTXYe7WPtFcYLkBfdMRz7Cs6lnNgiORqkz6qWGYohmD6O1ptu2HNT+3381MnSrpdw30O41IjuJOpNWwtF12zzpTTOKTFq1ux/uQsnRrTtfPyEGPSsXsTPXtn+HQeYQM2ebLXe/OMTuf01JKiEU1ZqT68CZ3vJCv/Et3tYJgEAnKVgOp7VGZxUDincYGvNb6kzbqkkJpTh/GSlm9qSFtj5s2sXj6SBF2xGB2inlFdiS3Xi+jJXkbH61CgrwXVKSglH9xOdd2IsDQ3GlLNd7qRKbDrRHCOV4mS3jElJ5uqom+pD6H38+whLveOBKXcGpcSLrttvJXqC4p0xwWYDtQgZmHf5aF4iobHVM0f2A/qCEaOHDsVPgAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAzUExURUdwTIaGhoGBgX9/f39/f35+foKCgoCAgH9/f39/f4CAgICAgH9/f4CAgH9/f35+fn5+frUnzogAAAAQdFJOUwAINNf9thuK71RgQH6WaM0RgmYMAAAAiUlEQVQY04WQWQ7EMAhDCdnIWt//tEPSUUWqkcY/USyeQSZ6xH06eqkEQOrpJQl5BMRjOCJrgkc3XgUuJmqIB3whdJfXvIWnwAdJBva6IEWgWpjXm21ivJPYwnPD5Px/eB/cLMw/YCr3lmFhNceCYeD1HVqloNh6GCLQOspXbV+k5R7absmHuqMPZXoGmghUMa8AAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAqUExURUdwTIWFhX5+fn9/f4GBgX9/f39/f39/f35+fouLi39/f4GBgX9/f35+fkHsIPcAAAANdFJOUwAWrcMl+HNg8QXnQpKk+e9TAAABDElEQVQoz2NgwA9klgZtQBdjWXv37iUHNEGvu0AQNgFV0PZuMFCtCYoY292rDtNi795CMcDj7jUGBqe7dw1QdYO4FXevoOi+2w6mriMJugKtVmRgYEcRtAUK3ihgYL57G1n3jc1AtwvU3l2ArPs6Z+rdu229dxNQ7Z4CMuIyim6go4FuvxuCohtEOd9F0s0JcTnQblTdAiA6924Lhm6W3rsFyLoVSNMdSzXdDNh0c8N1NyIEebDpZrp7EURNvnuJAVnwJoZuqEpU3UAzr2DoBgoCI5DFFkU30EO3OfcAk1YBquAdVWCM3UFJbux3wSBICQrUJiAEEeAAxDGoABwSVahit8C5gVMQBQBDBwAeF7186lBe6wAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8BAMAAADI0sRBAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAqUExURUdwTICAgH9/f35+foiIiH5+foGBgYKCgn5+fn5+fn9/f4GBgX9/f35+fmuFE1QAAAANdFJOUwChjNcI9zwW6MBZKnQPkCyWAAABeklEQVQ4y+2Vv0vDQBTHrzX4s0LdXAQLglAoOIhboDi4CeriIIWiiDgUgpMUBIeCi0IHNxFcBBehi7urg0OrAS1+/xffy10bSN6LZPcRSOiHfN7d93I9Y/JVu1INdHrWAHZVPueD6lrD54jqTsH3FocrIi3B1UdTwi8ETk6Z/yjuK2OemD/Ibvp5aonu+6K7z/dJmt4gRT3rptoEvkT3Xn00iEBwAxvR4zuQnJrnx4nUgJ6cCSfi3aTlnAnzQd0UgO9ka3J3jmz7FjAU3E2vxnyV3GtiJpwIQrp66XF3bCLSkhThphq1x23abWOO2kvudfvI7VU3rSeNu5vAx/ESFjLd5jm3u/Xvzuk22e4teiPDPZPtnrbfoOI228Cy7jYXY0xtwkB4uzx2D1O7fn6ERTcPrau7Yyy6zYTbjrMNyc1Oxoe+6GZ8adqLvPEENyd58Ga3bVnGrvrS/2wRcrkzQ8NuGiUNf9rjRcM7tvmjgl/d6VRZkKr695n4C0rZuKSz3iuUAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA/UExURUdwTP95AP95AP95AP95AP9+AP95AP94AP95AP95AP96AP+FAP+HAP95AP95AP94AP94AP94AP94AP95AP94AN6Yy6sAAAAUdFJOUwBk/TW2G9aJVfBABgmW+3nK6REqagI8ugAAAIpJREFUGNN10OsOgyAMBeBCkQJy0e28/7NOdDHtzM4fwkm/hkB05z3ci36SOpCd7ZbspXmEqssAIeKIoToHRCYqCAZv6LLKnNfYZUSfF4XjeowHwGnM8xS9MVyb+ImpRoP7X1w05hsn9RHXYNP4KNvEUHheG7FkjefOfQewpW/K+SIPm7NNYjIqfQAGbQeOqqN1oAAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA5UExURUdwTP94AP95AP95AP94AP94AP94AP96AP94AP98AP+LAP95AP94AP97AP94AP95AP95AP96AP94AOJW6NIAAAASdFJOUwC/bmOq8bQW9yEFyngs6FiSR47wM+sAAAEDSURBVDjLrZTrEsMQEIUpQtx5/4dtRSSS2tWZ9PxinNlvHWMJeSIZvVI8TX3O503LivvW3Zezshoz0mKh1W2Qoq/ic0RbVZwedK7l/LWtlq1RDEz3dRCfjYPB2Ydux2BwAcpaEjTSlowIbZsgsEimFWWlDRDMWjLCihbAXabd2JnWAgXBNeC9aFajvJ3q71iLjsDaXN+BQmB7go8nn4O7J38ElqMA5mD2A9j8BRzmYDIAD39AuoItBCbxQnIgmJTfJqEA7kYNBHAR7yoi4Nqjm4N7o6MIuLaViE6xDqaAjqW47F8/R3h+sdxJ8S8dUzLkieJt4IDijR086vPn5NMS09biG5RCIA2131brAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA5UExURUdwTP95AP99AP95AP+IAP96AP95AP95AP94AP94AP94AP97AP95AP95AP99AP95AP95AP96AP94AOzC2JoAAAASdFJOUwCIE5QIOueh2PbHK1y2HW55SvzuQ+YAAAF6SURBVEjH7ZfbjoQgDIaFIgfBUXj/h11HQAWJ0zpushf7X0wyxqYfPehv1/2muGPAHL8VCia8ZYAebnXIMhMx9iXDQYMlBQ+hFBP42DnU0j36wLFW2nM/buETCVquZXbb6R0F2uee5aq/8NBqu9CntgEROikml/hKF92JdXshoavuTOuVT+0SQ3M02PrfksYjJxexXxw3HlXyWLABBS15r4/JPWpK9vEQsCWHtGIDChqK0VhGK/5el0vE22WqsWBF8ebrxKyY6SL5An290fY8wXtyHLQuM+TkVOi4kKhK9+21U/eh83jgoPu/BT39Q7eg2YPQDgUNz0OPqNfTN9D+C+iEdw+6k8dHHg26E625TNDjR6vWokZCNzM7tIGpHMTbvxkc9CJzunHEuxdZ99MRfJOugj0eOlkfneecaYLlSieUqzVXu9PFmb248sbOhc2FjhBcSWENLgSSjOLnhx9exz5M1OAgTnaAAF6sgaEFl29byxRe4B/42vsBQI1H/RxtfG4AAAAASUVORK5CYII="},function(t,e,n){t.exports=n.p+"img/icon_cjcat.b5089cb.png"},function(t,e,n){t.exports=n.p+"img/icon_createRoom-orange.689bb55.png"},function(t,e,n){t.exports=n.p+"img/icon_createRoom.2095b28.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHvSURBVHgBtVXLccIwEJUFwzAMB6cCSAd0kKSChBNwAlcAqQCoADownPhdSAUhFUAHcQk+MRz45D2PlXFAFmZi3oxG8kp+q13txxIGuK5rF4vF9ul0esYoQ8QhLMvyMW2Ox+MH5MtGo+HFcVg64WQyKWcyGZfEIgGgcHQ4HPo6RfJcMJ/P2yBfJyUncLYlpVxPp9OOUcFiseji8BDDFrfDhiUDckSFvy7izUkuUgB43uv1esAVWECfY+qZfsKDjrfb7QPmR3yOTWdhSTfkFNlAi5Q9k1tIjgdshZ+MoNZsNuO6GfOLzSDB/GJRExR8JyT/AygZGZQIWixhzlsScuaEkqt1rVbjXqy78vl8B5eXr9fIaWWhUFiqPayHyscmJXDTEx+5otuMkuMSn1iW1B6sLlGmlORyuY6Og9mfjXtcJg32NiDiY5HIOzsSKEZ4V/f7vdYLPJON2eAtBxjiCsq4BLM+9oDU3CxN+IwiT9wJ4N5IVMEvcSewnEvEair1Rwf2ClmtVn2YshIpA+Qj9ocgiuAmJ+wBpjJtq7gPu1ss2PHgnn6wVkLGPUNTpICLck1QoLT+B+RQ5MRFJtESZGj31q6m3BIl1yogVAOCoqZIRr7iO+qavrEWUBHLeVhxKxGrPCYoc2i32w0dx/HjOH4AZbsM8WoMEkUAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAADbN2wMAAACgUlEQVRoBe2aPUvDQBjHTRuRikUHcXMWips6uXbTwalfoIODk0NB6tDaQavgUlwU/AJ1cRTs4iCC4NpB6CLiWFtfShGb+o94cHdNatN7klY5IdxbvPv97tI+T1BjhPspFovhcrm8Y1lWHN0mNzQMVSsUCt0CZCubzb4xIAES8EnAb7PBYSvBtgSJF3ClGVuIVeyy3W7P8u1hrMuMgoBhGKe4HocR/IfpORwOF3g+g2/Y9UKhMFatVudwVKPy2IDbViQSuU+lUu8D5tDL6x3QO6B34D/tQEccoJKz40mtVptH+K9nMpkKAmSbam5+HnIBJFozgD7CImu4WDCsIzDuxmKxw0Qi0eIBVOukArlcbrnVap0jX5l2AbuGyCokay7jnrvJBH7gLwA/8QvFHSTiVBIkAh7gmRuZhLJAH/CkEkI6zWbutXSDxzfOgTSHnUFeSX0L+LCX8ChNSf2emn0LuMFj9TTS3l2J4jMaja6gr0MCn5lLFYm+BLrBY2xPgv9u2nm8kwQEFlUkPAv0A8+E/JDwJKAC75dEzwIU8H5I9CRACU8t8auAH/CUEl0F/ISnknAVCAKeQsJRIEh4VYkOgUHAq0gIAgjp88jnnVLiNMQcIyxbnKrsIdiN82sJAgjpm7jkfD4weAbWTQIJ4Dq7zy4FAbSf+EHUA4dn67tJYFz4k4AggDR4H9cJbrrBW1MyqMeGQcslJ3EGrg9cJXAd8/cpv9Dwk7F6Pp+fbDQa/HtvHZuhlPezueVSOAF58C+0tcCgT0mfgD4BxR3Qj5DiBir/uj4B5S1UnECfgNMGNpvNV/TXubEHrk5a9eUE8GJk4X8aksge7fS8YprmBik1N9kXmn3GCZprqw0AAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAG6SURBVHgBtVXBVQIxEP3J4+ARK3DtwA7UCtAKgArEk+iF5aQ36UDsACoAKsAOoASOnFh/hizLskl2fS7/vXmbt0n+z0wmMwoBJDGa2OKJwztaZI0T2EDhBztMoTFRH1j7OJSTuC9EX5a4Csa0oUtIF8hfeOIEyz+QG3R41GXyit7pRM4DnnzAT4z/IaYnw4KAnFxhhDqg8Kze91wSIhvzuGTbNy5wye+1jMMYWE407I+Yqs0QOd3u2PGG1iGBQdu5OhEukyT3yiqtUI08z9OX7Gl7d9JjzVx+QAVyeRMpsR3bOX+4tuhp3kKrlNx4ucXkaOMojXGJyK1mvG5cMzlyYEa7Opo241kqwlD0PAJRw3e58mgSloP9ZUW09elmEXnDIz1q+QV8SPCJckS8w2VogXacrD4obM4rwBAbgQXOBYWpZgbUU39cSDDRKpanP0f9GJv+kGZRV3pAqB5x7pD3OHzd2Hc8KdlSTaUT6ayGezYZ8ZW1KLhWZ93t0NFs/Q6LVMMw7QXCezorL3jHzhYu30WYsOg8uVNA1mYNqI1qmNO6rqavQrtEyJRzU3FNUcy8WltbmDS3mejEL/jfiv4E9S2ZAAAAAElFTkSuQmCC"},function(t,e,n){t.exports=n.p+"img/image 6.1f80fd5.png"},function(t,e,n){t.exports=n.p+"img/img-005.cb16cda.png"},function(t,e,n){t.exports=n.p+"img/img-005@2x.ade406d.png"},function(t,e,n){t.exports=n.p+"img/img-005@3x.ba88494.png"},function(t,e,n){t.exports=n.p+"img/img-NFImodal-dec-bird.054bada.png"},function(t,e,n){t.exports=n.p+"img/img-NFImodal-dec-deer.793a704.png"},function(t,e,n){t.exports=n.p+"img/img-deepmind-material.62caaf7.png"},function(t,e,n){t.exports=n.p+"img/img-empty.086f41a.png"},function(t,e,n){t.exports=n.p+"img/img-empty.10bb207.png"},function(t,e,n){t.exports=n.p+"img/img-empty@2x.934622e.png"},function(t,e,n){t.exports=n.p+"img/img-empty@3x.d181114.png"},function(t,e,n){t.exports=n.p+"img/img-job-c.e5c254f.png"},function(t,e,n){t.exports=n.p+"img/img-job-c@2x.da57fc0.png"},function(t,e,n){t.exports=n.p+"img/img-job-c@3x.81623f5.png"},function(t,e,n){t.exports=n.p+"img/img-mascot.f488dd6.png"},function(t,e,n){t.exports=n.p+"img/img-newFunctionIntro01-m.bd7a915.png"},function(t,e,n){t.exports=n.p+"img/img-newFunctionIntro01.c9a666a.png"},function(t,e,n){t.exports=n.p+"img/img-newFunctionIntro02-m.4876479.png"},function(t,e,n){t.exports=n.p+"img/img-newFunctionIntro02.aecd8b6.png"},function(t,e,n){t.exports=n.p+"img/img-process.d92dda4.png"},function(t,e,n){t.exports=n.p+"img/img-test.acd65f4.png"},function(t,e,n){t.exports=n.p+"img/img-test@2x.7fbf943.png"},function(t,e,n){t.exports=n.p+"img/img-test@3x.231b411.png"},function(t,e,n){t.exports=n.p+"img/img-twida-material.736da7b.png"},function(t,e,n){t.exports=n.p+"img/img-visual-pattern.37b3615.png"},function(t,e,n){t.exports=n.p+"img/img-worker-JING-JHIH.93eaa5a.png"},function(t,e,n){t.exports=n.p+"img/img-worker-MING-YANG.387abd9.png"},function(t,e,n){t.exports=n.p+"img/img-worker-administration.4e14960.png"},function(t,e,n){t.exports=n.p+"img/img-worker-dann.54675c4.png"},function(t,e,n){t.exports=n.p+"img/img-worker-salesperson.b171f59.png"},function(t,e,n){t.exports=n.p+"img/img-worker-weber.3b687b4.png"},function(t,e,n){t.exports=n.p+"img/img-worker-yuki.729d387.png"},function(t,e,n){t.exports=n.p+"img/img-worker.2eca4fb.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXcAAADIAgMAAABuRUl5AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAMUExURfD4/7za/qHO9s/m/dhcRloAAAJySURBVHja7dixThtBEAZgzElWhIjp/QSIB3BhRYkf4QqGbVaija7aB0Dy60T7FH4Dehp6Kro0RAciIeHOu9zM+B+lmb+g4/NqZjznvaMjj8fj8Xg8Ho/H4/F4PB6Px+PxeDwej8fj8XiEObXlP9ny57b8d1O9+WHKL2z5E1v+wpbPpvzMlp/b8mtb/sGUb7Ipv7Dll7Z8Z8of51e+759sFs4rTy8JO5OxfOMpmIzlX56iwUZ4x9MjfBkP+GuL2vzj0cefj/iAn5v3PPb4szzmocOz3uNph27skG/RjR3ywOZ2BZ42wAdJgY/YqRzzAX34IU8JMzZdhcdUZ5UrPCFnvsAjqnNX5wHV+ZrrPCH7WuATsjT7fMRNTYk/sDqf8wSfcIUv8RFX+BJPSL3AJ1Rby3xEtbXMax+5Zx2PT5ihqfEB1NYKr6rOKrP5iGlrjZcfv1z4Gn+j/MnH5KVXrVppKrzw+NXS1HhZ9VdZykuuQk0W85LhXCp42v7559Pbl1v7TtXXj3gK/Zfbb/3ow9jbYJIffdjjx5eoA/nqzW4J4svD2mQUH0TrQMwXh7XD8YXn2CID+SBsrJDfO/5EY6U8VW7HKD4VXgkB+SCrjZQfHn8O54NkbuT8YDVkPB+Hb3HRPA3f4sL5xB9LDR8FpVfwJCi9hk/80mv4yJ56FU/jN1pgfsNcOEq+ZXdWxQd2Z1X8772zNOMTt7M6vmV+Z5X8JXdwdDxxB0fJbzgPQj3fTv64PIiPrGWv5gNzLpU8MedSy28aUz7NTPn22JS/nJvy4cSUp7Utf2fLd87Xk53/X/yV884b870qtP35q9/eT/15egaCOikfIgBotgAAAABJRU5ErkJggg=="},function(t,e,n){t.exports=n.p+"img/ittrainingBanner.545b71b.png"},function(t,e,n){t.exports=n.p+"img/job-a.a979eb0.png"},function(t,e,n){t.exports=n.p+"img/job-a@2x.c7c702b.png"},function(t,e,n){t.exports=n.p+"img/job-a@3x.eaffaf7.png"},function(t,e,n){t.exports=n.p+"img/job-b.8e9638d.png"},function(t,e,n){t.exports=n.p+"img/job-b@2x.23bbe20.png"},function(t,e,n){t.exports=n.p+"img/job-b@3x.a14254b.png"},function(t,e,n){t.exports=n.p+"img/job-c.119517b.png"},function(t,e,n){t.exports=n.p+"img/job-c@2x.6b993d3.png"},function(t,e,n){t.exports=n.p+"img/job-c@3x.e43bc45.png"},function(t,e,n){t.exports=n.p+"img/job-d.da8ff10.png"},function(t,e,n){t.exports=n.p+"img/job-d@2x.dade207.png"},function(t,e,n){t.exports=n.p+"img/job-d@3x.62aa268.png"},function(t,e,n){t.exports=n.p+"img/job-e.b6469cb.png"},function(t,e,n){t.exports=n.p+"img/job-e@2x.84d35a3.png"},function(t,e,n){t.exports=n.p+"img/job-e@3x.1826e86.png"},function(t,e,n){t.exports=n.p+"img/job-f.cc086d2.png"},function(t,e,n){t.exports=n.p+"img/job-f@3x.40e2bf0.png"},function(t,e,n){t.exports=n.p+"img/job-img.e8d1187.png"},function(t,e,n){t.exports=n.p+"img/banner-bg.f580a57.png"},function(t,e,n){t.exports=n.p+"img/banner-bgM.3539bbf.png"},function(t,e,n){t.exports=n.p+"img/level-1 copy.4aa2c10.png"},function(t,e,n){t.exports=n.p+"img/level-1.7684ea2.png"},function(t,e,n){t.exports=n.p+"img/level-2.633bc02.png"},function(t,e,n){t.exports=n.p+"img/level-3.903f9f8.png"},function(t,e,n){t.exports=n.p+"img/level-high.e81a39f.png"},function(t,e,n){t.exports=n.p+"img/level-low.600d696.png"},function(t,e,n){t.exports=n.p+"img/level-mid.46377b6.png"},function(t,e,n){t.exports=n.p+"img/level-no.2472efa.png"},function(t,e,n){t.exports=n.p+"img/banner-bg.fd81a46.png"},function(t,e,n){t.exports=n.p+"img/banner-bgM.fda5c5d.png"},function(t,e,n){t.exports=n.p+"img/local.bbda00d.png"},function(t,e,n){t.exports=n.p+"img/modal-head-bg.e2ccc38.png"},function(t,e,n){t.exports=n.p+"img/more-104hr@2x.424a8d4.png"},function(t,e,n){t.exports=n.p+"img/more-cdri@2x.56aba0c.png"},function(t,e,n){t.exports=n.p+"img/more-core-corner@2x.c8bdd27.png"},function(t,e,n){t.exports=n.p+"img/more-cupoy@2x.a3011e6.png"},function(t,e,n){t.exports=n.p+"img/more-deepmind@2x.04346b5.png"},function(t,e,n){t.exports=n.p+"img/more-talent-booster@2x.f69da37.png"},function(t,e,n){t.exports=n.p+"img/more-toeic@2x.2c642e2.png"},function(t,e,n){t.exports=n.p+"img/more-tqc@2x.72d1b47.png"},function(t,e,n){t.exports=n.p+"img/more-twida@2x.d3429cb.png"},function(t,e,n){t.exports=n.p+"img/msg-bg.fb10f77.png"},function(t,e,n){t.exports=n.p+"img/nabi-app-icon.b70d094.png"},function(t,e,n){t.exports=n.p+"img/nabi-bingo.5de818b.png"},function(t,e,n){t.exports=n.p+"img/nabi-default.5d27e48.png"},function(t,e,n){t.exports=n.p+"img/nabi-quest.55c7c89.png"},function(t,e,n){t.exports=n.p+"img/nabi-skill-01.39fc894.png"},function(t,e,n){t.exports=n.p+"img/nabi-success.c3c2654.png"},function(t,e,n){t.exports=n.p+"img/nabi-wrong.d9cab91.png"},function(t,e,n){t.exports=n.p+"img/nosee.d761b06.png"},function(t,e,n){t.exports=n.p+"img/ogDefault.b91122f.png"},function(t,e,n){t.exports=n.p+"img/banner-bg.5ad24f7.png"},function(t,e,n){t.exports=n.p+"img/banner-bgM.c93d8ec.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABIBAMAAACnw650AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAwUExURUdwTCkpKSkpKSkpKS8vLygoKCoqKikpKSkpKTAwMCkpKSoqKiIiIygoKRwbHh4dIIKbVbMAAAAMdFJOUwCQ938c6WDI4Ai6PH6YM8MAAAH4SURBVEjH3Za9SgNBEMcvxhguIhiJvbZKQBDshKRREARTi2BnIYKF2NmnMJDWQhCxFax8gFQWtxc5v6LsJi+wmbxAPJ3duxzh9m5zRcCPKULY/bE7Mzsz/zOM/24HRRZrzqnHbDFLY+xGQrc2aIx/CGaKgtbIPkLZNuiug+4xQhM2Zxqz+QJCMzZ/jI/c3/3jkDmvRl+ph6A0VfPYmA1BmYgH5DsJoH4YSkVcR8LXGUkc/5XPsrGKtlbytu5XD6Ogaa+tlsXGpIi0UlKhbEekr/eGC+YcbUKfLNYVaEJmvNfAhU2vfciJ5iSz5r0Qb9VjfNo1jBzihOFp5Co+uiMbyFL+mgJ/jc9TDfhbyZg8s6EVC01T+MTXN1IdIHdxUKoN0uOLGnRn46Bsu/cq/xy5YgqojSAKKGPzZwlt2zyyMkUp4vx4l9ClHBVqjYui1p0kIbGq8ym4bhCdGRFd4HiiPCXKeLK3y1HLJQ61WEQVBGbu+b35Utd0Sw3LiTHqtnQtRaGHRecCGYKUOT5QCDI0xxVFCKAhRVC0BYP/gq8mkCFtUVSKeo77kKdSit7hNrY59a/z9S6snFTG5Z0XKGfYAkgnyWOFytXCaKhoOaMhnE8jIT/V44D6rDkCOoe+ky824UEHrVtOwSgXrScdlK4W8LdcXfmpr7Bv5YqEWuCZRmgAAAAASUVORK5CYII="},function(t,e,n){t.exports=n.p+"img/others-earth-copy-2-black.afb6ef9.png"},function(t,e,n){t.exports=n.p+"img/others-earth-copy-2.8a8ed67.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAAA/CAMAAABjNu7FAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAzUExURUdwTKqqqqqqqqqqqqqqqqqqqqysrKqqqqqqqrS0tKqqqq6urqurq6ysrKqqqqqqqqmpqdBZfwcAAAAQdFJOUwDp3bupbDT1lQjOE0YhWYKCQNnxAAAC4ElEQVRYw51X26KEIAhc73jv/7/2tGoFpeYen3azEIYBxs9nuKKSwjHDnYRgP7+vCHxDy8j0o5Uot8fi6QcDFszWWy4su+COb9gOQwZx/t/ymoXQXOBZH498ku2hXEEk9SM/0HHvNnQ9Tj3f1DUe8YoDKxh0cbNyCY9yEo+D3VxszJOrCo30cL/4wWdw2BLGJPtWFKAmJoqjgBCEb40I5S+svmgbP3fi2o/ipNh1LszdCATwgFl+Usp/n7qhiXJCpAQ5bZCXhpEwdICttc4liEY27OookojjyBcGFRPWTraGQk4ZjDNa0nsQhKTSTVie0FeapLekUiB6uRk1PTJ3cezrBkd4shmxLPrtSa4Mes0seKFwfqvzbMELjEWiJclR/DMsNPrMk5JUGFw2yQjJuEC0rkTVHfY8lkBR6tZBow9AGp6a9oOMd4HOEBMRs8yw6URcT1YQCwF7J8ctR2BWW+QH16T1hZcZch2hmyMsW5I1Pmu//HaGT0olfe/w6XWUMT9vrnw+R8QUrUqQl/leynrkqXXbpN3QWmNx3Fv5+1wuoXA/sr4tyJQaSkcDVNUAn4UVti6kFUqxJtpUT89UC84viq38tFFHG4vLkq9qEeR0tTBRDSM9c7qtaLWOlldChJsfrUBryTJ96VInn+ZSoYOhbX9/sPPUi5uFVimZAJMOva3vmG6g23yON/Z9984T/dmfCHkV0c6+t8NaMcXDBQY0Z4E9FQoO+5zVtinsDkCHGDdPORFzs59Or4TuXwlo4yR7qrLNtlY21F/BMfDTG8PuvFktv8HQULXjcv8vE6qBIcfhvlRBZU48hucmfzRiFb/6ykEUp5ZL2Ybj9tYguGjoIL2iYrUSp6p1kd53GkcFqBB7/c3rlKVDothk9Fpy9wvlfgGQEgByzgDye21+vHGrh/3ewLZfFr5hYIzc2udMTpC3gUb7/HpHaiVxMagMe/icM2M2wxjnTkDeZUI3X39cuEpbGsBtygAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAsoAAADIBAMAAAAD79pRAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAYUExURf/u3//bu//jy0dwTP/v4P/u3//w4v///8nv8FgAAAAIdFJOU8304QB1pSMFVvyaYQAAAsZJREFUeNrt3TFu20AQBdDlwnFN7gm0ewUGSGvAQNL6CClyg/j+CElJFgO4CjSEGL5XyGRl+XswO0MLcBrHX2+JOF++j2Ma3wUR7MeYvqnk8Gr+nb5KIdxr+imEcM/pRQjhnpK2vEFjFgEAAAAADym3kxDCQx6GIubwlEutUo5WaylFDOEpTzmLITrlopY3qeWHTLn2y9F8LoT5dZhPj26nBZGnUu4f8H0Nc57d0F9TvlwOO025PuaMsaSclwKuq8udpjwV80MOcnl5V+3TSwAAOPzm//lW4pFLxIY9RzsMS8p73rDV8pHl9NmGnWzYAAA7meTybXzLJjlbiQ0btQwAAP+wYS+7tE8jbrb7/Q+frH3slHsbduiG3S9Zzy/d+XKu5c6GDQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA7FfuZRCvNhmE64p/LxjfL4qUN+gXEylsUMpqOT7kYY+nX97Xux2mmE/7S7nt6z1PXXmPg1xXdxVzbmWHpZxaM+RvkHJqzuwNUt5ba95pyrmKOT7l6UiRQ3zKWvMmKWvN0fPn+YvWvEEta83b1HJoyq2uNrY2HO43mk/nrEN/8DpMTp/dHCnl4JC7OdRuuIRcri8HSzmX0JDzuXLPyeZz2LU/Wso5eIwbLokOZe7Jp0vy5VgptxJ8GJWPmp70t5sD9eaubbiQrL/XoUbHvEXIcxWX9c3RVqBNKnkorV17xdSRWz1czBtYpovLpHE+C7OY7z8u36bm66RcPQS8d784XdNuU6/42AA9OLmr03rRXt1oGnefZNrGY80hO/NkXdG6csS4PK3x1/OuW99wx+NvGZVrn24znKYcMi7P+faXFwNzgL+eFpVbq5ZzTH+uq8d/zd9zAQAAAIAdexNBuC/pRQjhntJPIYR7Tl+FEO41fdOYw9vy7zS+iyHYjzGN4y/VHFrJ38fxD4xeNIW5YdokAAAAAElFTkSuQmCC"},function(t,e,n){t.exports=n.p+"img/pdf_bg.93d4830.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA5UExURUdwTCoqKjExMSkpKSgoKCoqKisrKygoKDg4OCkpKSkpKSoqKikpKSkpKSwsLBwbHigoKCMjJB8eIKStdcAAAAAPdFJOUwCIFfXocT39CcOfUNmtJZWsugEAAALlSURBVFjD5VfZcusgDA2r2Jwi/v9jLwjs2BinseuZzvTy0DQEDtLR/nj8t0szG4QIlumfoBglI0TMK39IZa7ieBkxfbWVwaS/hsMiLDBlJYjsCs4Usd5PiKkiYpyuyEM4CJEW1G/nZfKEk7Wx6mnMU9mqJ8aTPBkJhBMWq+tASCDP2U7FVHAsf21xW5BSVKeAZFEMAl/v8VCkRHnKn4tAGHW/i0WkMz7Oyttg+21L22cMZ+OQDWIu2hNAgXR49ttP0jicABJYKNoZ2hSSUPwG0G2q3Ub2bea/zSHfhEiUvxO0t6WR2xJbn2rhcqq9L/nfV466ApmuF8j7SvZ9TcQfXkYrZ6UAENI6pS+SzZUV2aWzW2ej0T/CKn7eWhPkDqR4EeXpSJ6Ut6Zz1tO2oZS8kdqfhmU/h+JTa4dqfH01sdp3iNOHCnoxwxQBWhKIi4gZSnwUKwpqrBYUMbGqVIpsEjNWAvg+TRpXRcgwwnlT60m5yx7GO9GgMLpvfCEn5pbPBKOjoQLlQkDPMDH/bt8SZSjBF9kdb7UVZ85r3eUO2hH7TibXDkm9VJMiDZWhmRYt2yH3rghhJ3atrdu629TH48Lk24EXkRyotlLdBd4ZBOHAC7iAXmRPEFISnO8pADEmfILUkziRUs7Rx9QbJcE0bhyo3svVK0ZUUapgYvUCp0qMw4aCeEXQj14zYWbA9bPEJ9gDgTqbLio1FXeeMhKJzuKWvoXkRvrWNNgRtzb0thvTi9mbG+htV7d1inVDtOFz0wAOmr5GnBq2h1uvD6/QqKESHnsGO7oHdln6vyylGQ1GfqBEo6PbtIunN0+2o8d1lxYHJtBzcM7BrAeG7khyg71XNjiI9kqcG7T6fpyfAMb5xw8GATkePkyYm7ZEpI9GEzkYh/ZZ4SnnnC2f+7wzGJYO5qqZ8D3RR1NXUW08P6ta+9XRoNHdYoB4MPa40o24gyFqd8swKdlBfSk/HVSvN7f+0PoHEPdH4lj5vwMAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAzUExURUdwTP////////////////////////z8/P///////////////////////////+7u7vX19UakGIYAAAAOdFJOUwClxTbpSwP+1BJaimNkXmcWkQAAAotJREFUaN7FWtHCqyAILlOxXOn7P+3Z1Jb71xIVOlztYvIFH6Cgw4CSeVrsKIyUAFIaMdplmgcqmZU124kYqwhA5lVsFyLWPgw1wlYQGFWrdr1kngHw3rskz5+QIZtFt6h/vNXDoTqXJ8ob4lENMZm3dnchbwwz1VE77updSbxPfx0r6FYyrvEOJQlCYtnWtkp9BmFRTMwC4fsfXAiEmyZZ+/m5EbLItQIctycSVxaIWNr17wjLpf4293y6aSn5p1l/QvjtpalX/45wzrSeZbf+hCBPo1ULAv0JQehf+dutPyHYE4I74vMkWr+IDgSQ6I8IXzSE+uyIJFTvPxFKREBGw0esakPnoN1JJo+kB6kByYTHHwMI9UeEzISFkuGD56PqkRuQTPjIMefoTVBZDnhqAH/kwgwMBgQAiOm80uZAngsxUgXCQ1D/CS8TRPAQhuKWRHytmVMMAebPtRCQ4shiVqKO2ic+stgsOxoRX5trKApc3jP5OhImVJB+tmUVJEyh0FUCYCEgFDwUx+67uUSzPLYBYBbFciRaAcpsx1w2qEr3own3xVVmkB0AJYjX+agT4BoiAEAnwBWDL3wCALgGYHdRJ0CZ5J4wLSRQLKftiYYq8qK9VACyVLAXu7Zy7fHlumXDQe5pccNh3zLZN/2qY8vWcmxhP3ixHx3ZD7+cx/eVsQFxRwMSyhFwGDDe1QSyt7H8jTj7KCFEKvkwZL1znMM+kOIfqZEOBU9ns5p7rBk3Hs7BrOYeLScaOIfjOoz3gW28f8MFBf8VC/8l0e6lrV2/+t8XdYPmvmp8hmvPZalGIezXvVClXqqGC2uP5Lbywpr/yv2GRwP8zx5ueLhxx9OTGx7PdD//+QcGLZ8RoHFs9AAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABUUExURUdwTP/////////////////////////+/f////////////////////////////////////+RAP+fIv/u1//IgP+5Xf+qOv+YEf/dsP/Slv/Xo//37e1OdtAAAAAQdFJOUwDFNloPA+z7S9KK3WOpIJ15/ajTAAADFElEQVRo3r1a68KzIAjubMdtOtPa7v8+v6nV1/a2xAPjd0HxwAOCSQKSIsvbIW26ipCqa9KhzbMiiSVF3Ta3A2naOoKRok/J7auQtA+zUQ8n2hcbQ+2rvcx3nrlPfBSMSUolY2Lk033nq7z0Ud93m/J5fCn+FDnOm5GudzaRrV9/54x+FcZXG03m9PXFdXnvIahFxGN59OoAd10Z/GZGAcJmEwkVFO2yXb4epF6bWP6iBSFxSY3vBXUQYbBILwB0tXsIp47CtZ8qK9Y1cf/8/U8QCxC51j9J6iFy0hbyU/3ak5x6Ctev5zb/jNRbxnMvZUo/CdD/sqBVfEH6UgV+//YP1WG0lmkE/YuFtPyWv5wGi0a6PQBYxyeNIDpa6z/8qQC4yxgGpMq46pNbFT8TQaOIUKF0/YjQSADsYHiL1VLVrzuNJspJzT6SemVSxDMglL5+9wOqvj9oRFEVqCvfOI6wmAYYeWM9hcBMo8qsUHjLMRbXANtn2xAbgRWFYelvSdwQ+h9IpNhi1JYDjHnlgonUFJDET4cuaZfO6eYh29u6z5POMGsf1RCW0NX8yaWrj1QctZAkWBrcJ3dMhXbJshFo4PWv8Jo6mlwr1GsSbMCh65Pq6UJXAjtRvx3LJgEHIdNEN7kZeL0AitlJE14LKmV/DpeQswnXKA+gZujg+GqP2VHTUQoioqMTsjVmhc7lBkTVx4fw52jN5SbpAgxY0kIZ6JIKkgb0+yjhJC1UIlSJojoaYOAsBlUsRDAwnRsIddEJ0MZFYSCfMrgBOSRMLclmwtQ/0ax0YRLNlyoARdpQhSfZQSjbkJ0XXcOKjqFrj4IDLZum4LiXTGhVXkqmY9F/Ohd9x7bFoTNa2xZ44+XY262NF7R1vM1u3enWOgKb38m7+cVv39EPIOhHKPxDIPoxFv8gjj5KQB+G4I9z0AdS+CO1BH0oWCKPNZfCgzmYLbFHy/jDcfzxPv6CAn/Fgr8kCl9z2feN2Is6/FUj/rJU8RLuuldxK/LCOimRV+6/uDSAf+3hBxc3fnH15AeXZ4Kv//wDWuzdAp1WS30AAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABRUExURUdwTP////////////////////////39/f///////////////////////////////35+fv///+zs7I+Pj7+/v5ubm8zMzIaGhtfX17Kysqenp1YmFyUAAAAQdFJOUwA2itNLD8X9Xu6p0N/bnSA6g6N5AAAC8klEQVRo3s1aV7aDIBCNFUsKERB1/wt9oZgeGcp43vwmcpneOBxAVGVN3tXFsSWkPRZ1lzdZdUhFVZn31y/U52UCkKqpyfUnkbqJwyi7jdMtRlcGH98Uj2OGic+CMUmpZEzMfBoe0EUTdvxpPWAYl9vB7ySXcVj/cfKHyFa9DpzRn8T4itFnfqo92+9GQR0kRiurs4e6y9YIfmQUQMxCtGBt5/b2oOMNhPkiBx1/qY3sBfUgYXTRXwDa1eIhnHoS13JqM5j4/a7/zIRLEY2+xyRpAMlJ877pEo2WJKeBxPXnGwiluj+ZaTDN+oByU79koRG0kA1NX+LPXxG+W6u2/5lG0qxOqX/6L6fRxH/4dKntkyYgba0fiq6UAgaZAkAqj2vfY6uKz0TQJCSUos9vFppIAU9qeLVVlb8GmoyUkPqPECHSAYj3kKHy+0gTkspAp1cGCEsJwMgLC0VqBgwLxbOPpWXAsrB6W5eeAcNCZ52YpDWhhyGR6q5ilw8wFuQLzT1Mc+e/JxbgzvVdQq6vdZ3nFwrZKqMSEiVMKcmlr4xKm2hGEMDtIrOnHeU2zi1AAC+IxUS8SvEuwQA3CGhZIJVyK50J3IH6pS2bBFwJmfaCyQ/gCrTZSXtCDkplH70lpHngWssdqBj60r66bXbW4agGBaKvHTIHhKNa5wIWBuCyWaZzwjEYwGmzCuB4UAWXDAbYbIakKsAOyhtoOADZskH1eyzAphdpgGgRzQ4RxSl50xuMkosIAIezGTONcDRXuDCOFhwq3AHPhIqwYAcK2SbYhYRrAhs1mHAdkHCgOc0kHP+UCc3KNmWiJ32vssWrMlrLFvTCC146+lWn99IRVPySiOIXv3xHb0DQWygzaMFsAtHbWPxGHH2UgD8MQR/n4A+k0Edq+ENB9LEm/mAWf7SMPxxHH+/jLyjwVyz4SyL8NRf+om5dNZKgVWN9+Q/L0h3WvY+FNUFaWOOv3Hd4NLDDs4cdHm7s8PRkh8cz0c9//gARcMoXSWGo7gAAAABJRU5ErkJggg=="},function(t,e,n){t.exports=n.p+"img/ppaBanner-M.7831158.png"},function(t,e,n){t.exports=n.p+"img/ppaBanner.abeea3f.png"},function(t,e,n){t.exports=n.p+"img/protect.0b10479.png"},function(t,e,n){t.exports=n.p+"img/purchase-success.097860e.png"},function(t,e,n){t.exports=n.p+"img/refresh-og.c69ca9f.png"},function(t,e,n){t.exports=n.p+"img/refresh.37c96d8.png"},function(t,e,n){t.exports=n.p+"img/remove-og.2425df3.png"},function(t,e,n){t.exports=n.p+"img/remove.ea41b1f.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHbSURBVHgB7ZnxcYMgFMafnSAjOIIjZIO6Qd2gIyQbtJ1AO0FGcIRkA0ZoN/gKB3949iEoCnjxd/cuFyDhIR/63ZPo4CCIgjIAwEl+VObroyiKX9oDMvFGRo//3FUf5Yq64jJauPkwu5MXJjFfWsoJI5u5NJQL0Poe08uoZZxldFw/5QC09p0SAX+w2bPwQnGpmLZvpu3L87fRF8DBXVnv50C0BRgJvDJd70zbG9P2oFSYAypgpzUHuLbo/04pkBOXloTm0lBMoO82Fxk/COeT1sIkdjZxsoxRfWIiIbWoq0oMbjqsYSXgYbrgJxfVX47+1/ZgaygU+JuuG6blImTUjnkmd3bpAuaYLhtXpHCUWGa6hvQYyCXFApaYLoWSUkMpQZjpKikiNisRYrpKisgcLxRkuqJikVDPjGuZcRXlgEXfLaZN13BcSSlB+G1UIIO7UYdwBFLJCvos+JiuG6YNnKKFRVbYykoMJvAyXdC2QWB6Ny6j/+2ZcdtU5uBnp5UrdUlPQO+ai3SVOTlxBbesfEhbmYOWiUAYDaUEbln12EllrmKS21VljkviuStzUUGYSczjRQeWmcQ0lTkO7P0FhwLzTOJ6lbm1gL9JXKcytxVYoTJ3vOg+eHb+AIh2R2pRPUGwAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALBSURBVHgB7ViBVdswEP12GCDdwN0g3SCdoDBBwgDFZAJgghA6AM4EZYN2g3qEbNAMQOyeLi6J8UmWIyTDe/7vBV6sk3x3+if9HDBggBMivAOUS4xxhgl/eUYeLbC1ndtrAOUD5vRvhhLTV0M5ebaKrpC1rdFLAJzxEZbk+NxoGOEeO9yZdiRGHxjhptV5hRLXHKgBwXeAaVPisdOkCJc6OoXfgRJp41mE3yhwQZ+v9G0tzJrplgu6A8z9GH9R9yCj7F7W7B7wq1HYBT5JtRB2B/4flcfYCRmnE0iYPRGe9VTEdYyFZ9b3QLAAmD4lvjUGRkJNlCLnc+FZmBoof+CcOKyOwwSyFxl9FJXGXOTCxRal+CJNPYNHUNYTyvAjOT81G/LROteOF2JNMLwEUGmblF58TY6N4QJynk6fTDfcKQAb0UV0mdJLVdYTzTJbzmjMgaXGFxZMq1uTiVUN2IiuF7qUBrqoC2tHt+oCG153SevGHMREsFubMn8wNTluL7qeKsd1dNlQNhfk0JP2PYcg3k5OU+aXLKhcUOCO/t53caoLtAGcJLrqK9fo4gv6ItaJrh0faVvi7hyyyNpWdMkQAOIOOIquz76zfgxZSriJrgQB0UULOYkuX5ADeBaEk73oChqU6RRq8rtddB3s9j/GN/AMfQD7W/L0Y1RdXhEFceX3NDJfZCt++QxuULfwBe1GDg9olxIxi6m0ZRUlJdTJlRhstLTy3pmzFV1kd0t2ascSzVIbGs+i7ywvwnfmbEQXq9L9rpmop+ojJ8fPYfautTPn7SclBTKhQH7C9WITFEB92DMq+t3AJZA+O3NcH/qOW2X0cTpzilZ/UPfgQ3Xmmnpq6MyFhJtI7K8zd4wTRWI/nTkRivPxKwcdOnPBa6CSHWvrCS2duX6KuOBWzcrC7m06c77gvTMXCi6duQEDHPEPUEonexnIGxEAAAAASUVORK5CYII="},function(t,e,n){t.exports=n.p+"img/banner-bg.54eb930.png"},function(t,e,n){t.exports=n.p+"img/banner-bgM.3ce3c78.png"},function(t,e,n){t.exports=n.p+"img/banner-bgT.8e6a9d4.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALtSURBVHgB1ZqLcdswDIahXAfwBlUniDtBvEE9gkbIBvEGSSeQN2g2UDewOwHVCeIN/hJH6ioxfECU1LDfHU+yRYIAAVIgbaINALDXpdPlDQa+r+l/wCo/KO5yoNLRSiqEUVQyWsEGaRoqlcToD3RUIoHRb2EmsMuBSiOgaM3KFu+FlJLFeyGlYNFesGGSVK5YL8BMVJfGU688LwRGX0Xqd8V4wSqvJKM/auNballGTZlU0oq2k70uO10edDna+zF9VVVfEnLYQ7Xn0VmXX7pcuWg5NxJQOcJ3VvjeXj+P7ncCeV91x9dYBRsykthnA3pbBsP4u/fG2XDosIyGhECWM8VoMYQdwrEsRSFjIsKsSgr5KHDEwL8MpuB8v9PlESbssoHxRoc8XiqEJxXT0zQO+cox2NMGaF2GRWKYd/f0d+HwcSOPVReYXdWikV0T1gUm5DpX2TsyozqGLf4mXcb+BVYXXroPzqMrW3cKxNcTFQLrEtDxNLjnUqoREeUv40pFGhFTHu4cLc2IWcpTYUZkKU9TI1RAwCNtTER5BWnWinh6saeNgH9/MU95R5jyCNtsFwV/SjFf+ZHAkBGrewGB3R2WHgrDv5ddfS7AJIYuR1oDvD9tbmlltMyz08ebpN0dyfiIvEjUp9SAj8hMRX0mDYB5cbjCftP6uHvpHQQpvcQDe0Fna9CTrO8JuQb0tD6+QakpgcSA2v0idXSSQ2CbuooH7p3PyXMfXZ4xfQFyEtYifXrRO59rWornHfBKYcU7pOE6dUCG+y5Y9qMgTGbqcnLq1Mg7mmldQ+Df3uYv4fCnEceRcU8I/yYs5XkwBP4Tu+g8+JSwwdf4BrO54XwoNjo/yZwlMQ8UnpAs56hlftfX14AOeYtGwKUKcXjCHjyyGkFb3/MT5YJ5h7AcSo1QppohNykz1tkO6Rjn5+ypWZPNtlEC2TUtAf48feAFC1YJmBXsHJG/zr4D0zWeR+XH4pGZyh8MGf895yBp+wdJQoPC6WKlGQAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALHSURBVHgB1ZpPdtMwEMY/5fEeXcIJUE9Ae4I6J4AblNyA7oANzqrsCidoOAFwguYGtCdAN4Bl6CLq6E9a16mliT2t7d97fs6zZWs+jSzNSFF4BOwnHGCNMyg6W7ygS0s6ZuoLDIRREMYbb3ERDa8zJRFLCDKBNGv8aDDecQ5hRAXYD3hHJ50oomMZMaQ98JlR5hiCiAlgtP6GgsoWEELSA7u0LMdTLEQExBYtdnhEzAtSHmjToiJe6DwPUEtqOv1BOzrPCxIe6NKSnb3QyQMdW39DJy+09kA0/gLdOY/vagXbA76Su+DsiH6/TYQMbVjQO6/onZfYw6Uq8Y/z0D0BtiSDrsnQNRkaJqVX3mj3W9ZYjmVOgPGHJWGKhFm6VhPnBUQXukCrwDhY0DF34bmq9GWNcWHIG4fuI3ZDmcb40FihdAIKjBWFYydAY6zQwOIEGIwVGpmcgO8YKxa/JvQlf/Vj7Nggm2kYLSd+UniO6ahEOFudzajMxH4W/u+XQw4wZKLxm9l4O5QYsoia8eFSDS9ihd8Y3vBqEEJvU724FU5HdVMMa3g1eMB4R2M4PaAYyaDBeEcyHxiACIOE8Y5kRhYfnKEvFE5yK9qsjMx+xN8+Ehp1ipe5Yryc2PLSO1GYdfIEqCdu/R3qzArw84LtQQDV6evOkPfAqsdZmVF3XoDqNazQuQJ5AbbXiUzAA8Br9IfOFRh6F8o2XlJAbyPQHTo3EqU9sBpAXnCd7kbPUjfjYm5blnRcxfcctU6SwjptY7qbFtCm+4RF2JP6mn/cxWyzCqhTN3MfsQGXsJo8owDs8KENC7q2oGMfIbo14JMsmxawh5/RsGbC/TnlqvvOSGSoCJnnjIvvXqaLZKBQ+j11ibOG299IZMndjNh6d0iYSjTtMbt84JTWrRLw8oGwp+v6b3HbKjafbHC5FaLwpvL3nDln7+wGaAjTPMPsxPgAAAAASUVORK5CYII="},function(t,e,n){t.exports=n.p+"img/star.4f95bc9.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABIBAMAAACnw650AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAtUExURUdwTDnJ0TnJ0T7N1TnJ0UfV1jvK0jnJ0Wvk/zvK0jrJ0jnJ0TzJ1DrJ0TnI0BbEfbYAAAAOdFJOUwDisBnIClj2A0Vnky58p8T8GwAAAXRJREFUSMdjYBgFo4BkEKZYLpRKQA2X3Lt3dQ8X4FXDqvcOBB4F4FPU8g4CPPAp2gdV9BqPGp53MHAAtyImoLSbcQqQVMCtKBzsZpDrS3ErmvfuXTGQMn/37iVuResg9gBtfQWkOJLEhTIwFd17924DkOJ+9+4tUI0J0G1PDPCbxCwH8qYwfjdBAvZJA17f5UFCLAFvOEGiETPEUEJcDsISwBt3dRBmAd5UgNMk5PSEy02QlPkOkjLnQRRNwJvGWSDhhD+54wpxVIAj7tDAJHGhGYTUcNA8k7PO3SJYLuidgM8Rs/0gYQPxEvO0tcsmY6SBjdCYUwUrWQQOJ6HFKGo4oZH17hGI1wbjvVNDSpvMcFFRkBo5eNJ6J4ZQNREuCHQ2s987JOAMtwySxoRuHo4A8g4iq3n3EFYymINdA3UlK4pB7965IiVcWVhs8qKqAWVVMEA49DEDAyOaoodQRQiRFwwMfGiK3mEoejBoFI2CUUAEAAAAD+k5Gf0dQAAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAwUExURUdwTDnJ0TrJ0T3M1D7P3DnJ0DrJ0VH09DnI0DnK0TrK0zrJ0TrJ0DnJ0jrK0jnI0GuTYmMAAAAPdFJOUwC19CcSmt0DYnRLx+aMYEkzdKsAAABwSURBVBjTY2CgAnA9EwJns+///7sAxuH6Zpy/AMbh/Mtwf4KhogFCRv6/AEKP/n8FhGkwGTBwVHTAtNNPTGkCg8UMsGm1+v8/MrT9//+tAciJ//jYgfU/EHwFcvT////OBOJ8AnKA1Ad+EOc/5V4GANCgNhInTM9pAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAwUExURUdwTDnJ0TrJ0kbW2jnJ0TrJ0TvJ0znK0jrJ0T3M1jnJ0TnJ0D3M0zrJ0znJ0TnI0Bj1KQ4AAAAPdFJOUwD2dQvh6z+FzxmdvC9Is5q9OTQAAADhSURBVDjLY2AY6cC8UaIYmzib////XxKwSOT/B4JvmOLM/iCJLwYYEuz/P2pOkv9fgCHB8f8TA4P+/wYMCcb/PxkY5v8XYGDIc3mGVYIJaJUCNqPy0RwHt/w9UOIfNueC6C/YPBgPpL5iC5L9QInf2ALxPlDiL7bARHcuAtwO3UthBB5aESjahClsuwTkjcVAVvoWQe8yhFPA/gaGBM9SEON/1AGIOOd+MDeSgXn9fwj4BYlKEyDTS2cyA4PFfxhoBkus//9xDZhRD5f4Dub7QzgGMAY8gKEcOAPCIUtihAIAW+riqdAgv3oAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABIBAMAAACnw650AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAtUExURUdwTDnJ0TnJ0T7N1TnJ0UfV1jvK0jnJ0Wvk/zvK0jrJ0jnJ0TzJ1DrJ0TnI0BbEfbYAAAAOdFJOUwDisBnIClj2A0Vnky58p8T8GwAAAXRJREFUSMdjYBgFo4BkEKZYLpRKQA2X3Lt3dQ8X4FXDqvcOBB4F4FPU8g4CPPAp2gdV9BqPGp53MHAAtyImoLSbcQqQVMCtKBzsZpDrS3ErmvfuXTGQMn/37iVuResg9gBtfQWkOJLEhTIwFd17924DkOJ+9+4tUI0J0G1PDPCbxCwH8qYwfjdBAvZJA17f5UFCLAFvOEGiETPEUEJcDsISwBt3dRBmAd5UgNMk5PSEy02QlPkOkjLnQRRNwJvGWSDhhD+54wpxVIAj7tDAJHGhGYTUcNA8k7PO3SJYLuidgM8Rs/0gYQPxEvO0tcsmY6SBjdCYUwUrWQQOJ6HFKGo4oZH17hGI1wbjvVNDSpvMcFFRkBo5eNJ6J4ZQNREuCHQ2s987JOAMtwySxoRuHo4A8g4iq3n3EFYymINdA3UlK4pB7965IiVcWVhs8qKqAWVVMEA49DEDAyOaoodQRQiRFwwMfGiK3mEoejBoFI2CUUAEAAAAD+k5Gf0dQAAAAABJRU5ErkJggg=="},function(t,e,n){t.exports=n.p+"img/taiseBanner-M.d810efd.png"},function(t,e,n){t.exports=n.p+"img/taiseBanner.c8eb17c.png"},function(t,e,n){t.exports=n.p+"img/tbooster-bg.52dc024.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABIBAMAAACnw650AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAbUExURUdwTEDP1zrI0DnK0UvO1znJ0TnJ0TzL0jnI0A9ugBIAAAAIdFJOUwAf4XIKvcgiDANUiwAAAMJJREFUSMft1T0OgkAQBeDdILEl3ICOktLeC2jHEag5gkYyxyYms8Y4s29fowmRV395LPsbwp5Np5okk2VIJo6SzaNRVAvIRdEJobuiCaFFkcD8C8qt6hdRvBJovjVFdOylK6JZxFZ9oueu6kqoEqfKDNyrMsirMujgVNkZd6oscqqctbNVDjoziPkcNXBmCqjJZJblVfR+TrJbBaE2jQihmLYvQqHVX4MoHSmIfnjMy1cPdUVTlz31bFAPEPWU7dlmVnJxu1DPDYsCAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAbUExURUdwTEDP1znJ0TnJ0TrI0DvL0jvY2DnJ0TnI0MPeA0EAAAAIdFJOUwAg48TgSQ2oMIju6gAAAERJREFUGNNjYCAHBHVAgSqQowHjNAE5HXCAwYFphnCEBZA4FY5InOQWAQSHzcIRBwdFGdAAkC1woxEcJEtRHIriBdIBAL+tMFfx5mdzAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAYUExURUdwTDrJ0TnJ0DzM00DK0zrJ0TnJ0TnI0M++33YAAAAHdFJOUwCA7DYbpqU9InO6AAAAhElEQVQ4y2NgGDaAJagcDag6gCWcyjGAClgiHFOiFCyhjilRBJYoxwKoL4HuM6IkBHFIMJYLYJcQLy/ELmFUjqwFSYJZHVkLsuUoWpAlULSg+ANZC1ESOI3CZTlO50I0wIIcI0iwSEACEYsEJNixSZAUgzgTHJYkWoY/UWNmAzWH4ZPJAajJqkPmBLSEAAAAAElFTkSuQmCC"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABIBAMAAACnw650AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAbUExURUdwTEDP1zrI0DnK0UvO1znJ0TnJ0TzL0jnI0A9ugBIAAAAIdFJOUwAf4XIKvcgiDANUiwAAAMJJREFUSMft1T0OgkAQBeDdILEl3ICOktLeC2jHEag5gkYyxyYms8Y4s29fowmRV395LPsbwp5Np5okk2VIJo6SzaNRVAvIRdEJobuiCaFFkcD8C8qt6hdRvBJovjVFdOylK6JZxFZ9oueu6kqoEqfKDNyrMsirMujgVNkZd6oscqqctbNVDjoziPkcNXBmCqjJZJblVfR+TrJbBaE2jQihmLYvQqHVX4MoHSmIfnjMy1cPdUVTlz31bFAPEPWU7dlmVnJxu1DPDYsCAAAAAElFTkSuQmCC"},function(t,e,n){t.exports=n.p+"img/tibame-banner.e20cd92.png"},function(t,e,n){t.exports=n.p+"img/tibame-bannerM.d526046.png"},function(t,e,n){t.exports=n.p+"img/tibameMain.9283dd5.png"},function(t,e,n){t.exports=n.p+"img/time-1.d2cd1ae.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABIBAMAAACnw650AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAeUExURUdwTKurq62traysrKqqqqqqqri4uKqqqq6urqmpqT1hI6gAAAAJdFJOUwBAJ26WwQnsSHe3JWoAAAD2SURBVEjH3ZbBCsIwDIbrHMOjDh+gghdvPoIKIrtbz7uILyCCtz2DCCNv69qFYQ/p/okMZy4j5KNN/qZrlOrfFjPRUkaSAwXsmjvoTEE7OSgLQ08H3cNQaZmIaCsnPifSFTQimsqFc3Sw0ISokCGOjonWMsRRFAorzlDYLBS3QRt0JRSCEv+eTr8KRVW9ur7y6ZvrQ1l9D2M+CHZ9KHLiarWyn0fjfgC1bMddLCTO0aFf86UxZldVtTfmqBvXhxL7UyxzdbE63RrXhyTFu68E5TRcxYV+8iGhM7srDkHQdljif/reQU8+NDxgYwg00ECjETRk9WkvnVLlXHEZh4YAAAAASUVORK5CYII="},function(t,e,n){t.exports=n.p+"img/time.51c45ac.png"},function(t,e,n){t.exports=n.p+"img/tips.e76e991.png"},function(t,e,n){t.exports=n.p+"img/toeic-bg.f95c3c8.png"},function(t,e,n){t.exports=n.p+"img/toeic-logo-old.a72bcde.png"},function(t,e,n){t.exports=n.p+"img/tqc-bg.a902648.png"},function(t,e,n){t.exports=n.p+"img/banner-bg.23f3ccd.png"},function(t,e,n){t.exports=n.p+"img/banner-bgM.afacde9.png"},function(t,e,n){t.exports=n.p+"img/banner-bg.12fbdea.png"},function(t,e,n){t.exports=n.p+"img/banner-bgM.b715751.png"},function(t,e,n){t.exports=n.p+"img/twida-bg.d0df6e8.png"},function(t,e,n){t.exports=n.p+"img/userJobAnalysis-Bg.ad42f5a.png"},function(t,e,n){t.exports=n.p+"img/videoDefault.183f1b7.png"},function(t,e,n){t.exports=n.p+"img/view-white.2737ff9.png"},function(t,e,n){t.exports=n.p+"img/view.4956e4f.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHfSURBVHgB7ZnxUcIwFMa/4AKM0BFcgQHgcAJhABUmECaowgI4gRwO4Ag6AiN0ARvfk3D2elDtS1/SO/r7r+1d8/2al1ySAh0dl42BkOHKToxF0sux2c7NHpEQCYxWNoXFzF1mJDEgiU9EoAcJv+GZft7D+zi114iASIC6LSvdiiYhE8gxbYuEeBBzUEuBLQUvPQo6JsQCTBskvASY2BKyWagAB6QxMTgzJj5unu0tFPHugSMVPYErYPL6YF6gQGMCDEkkTiIpP9OSaFSACS3RuAATUkJFgAkloSbAhJDwnkar4GW2m2L35WdfwIaW5DN4oirAVEnQfiIdre0jPFAtoSJV5USfcbG7M0sICCbAVElYg/nbvXlCTdRLqMgf5SQqpaACR+yJeyfWUv8iqACXEG96cKqEcoim1KCD+Fx45Fju5mYBAUEEtMIz6gJV4WnDM6WBvYEH6ksJzfCM6mJOOzyjtpwOEZ5R2dCECs80vqUMGf7nvWgI3tTzKQRK4c3heEUlvHu/Py48f/l+6eWZUT4bauRgK1Z4146c2OFdWzLaEJ4RDeLh2o7bEJ6R/h9I0YLwTG0BKh0OnhTv8Q4rRnimtgCFzIzB9ngdM7xrXwb1xASHMtrG/M3a0XHpfANMYBnnl79STgAAAABJRU5ErkJggg=="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIMSURBVHgB7Zk/UsJAFMa/jdinUZmx4Qh6hBT+65wRHDvxBnoC9QR4BOwcpaBTtOAIegQbZxCa9Eqe+9CMTIQ4bPJ2MwO/jmQg34/3XtgNwIIF842CISu1x7oiqnilqNm72XuFI4wEVqqdhn7j6c/LcFmp4O1u+wUO8GDAWHjG/yDqrtceN+AAIwGtECYOOJMwEyA6KYpEliHeUISutvETp6zOhLEAUwSJTAKMawnDIf5loAOSQjBlJp7Lh51jCJK5AjEplYDnod673bmGAJkrEMOV8ErDTaXwmjwXRWhKVSK3CsSUj+4rNPS6RKgkz0lUIncBxqaEiABjS0JMgLEhkdsQT4KX2WopCqYN9lr14RQZERVg0iQIqrFafTpHBkRbaJy0dtLf40W/tXUJA6wJMGkSCnT23tq9woyIt9A4/7STUStZFYihCce0VAgDrApwC0W6hTChhXRbGd1SrQ7xtPCay35r5wIGWBGQCs+IC6S2jYpOBnd7TWRAfCkhGZ4RXcxJh2fEltM2wjMiGxpb4ZlcBWyHZ3L7IeNNffS59Pw3vAqlwo8+HTkw/YkEh0cwEHw2JPhgSz786CrIgOvwoyvBkCKEZ4yGePWgs1+E8IzZXchDowjhv6PMiL/f9ZO3St5huQjPzCwQtoMQymvHrzk8bxNdhB9dH4aUa/d1IuWrErVd/s26YMG88wVVMU7IjS9JAgAAAABJRU5ErkJggg=="},function(t,e,n){"use strict";n(14),n(13),n(11),n(15),n(10),n(16);var o=n(4),r=n(31),c=n(3),l=(n(27),n(37),n(65),n(34),n(8),n(647)),d=n(36);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function m(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){Object(c.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var A={components:{VClamp:l.a},props:{abilityList:{type:Array,default:function(){return[]}}},data:function(){return{resovle:void 0,value:!1,post:void 0,isVisible:!1}},computed:m(m({},Object(d.e)("wall",["postRelativeSkill"])),{},{postData:function(){if(this.isVisible)return this.post},achievementScoreImg:function(){var t=this.postData.sender_info,e=void 0===t?{}:t,o=(null===e?{}:e).info,r=void 0===o?{}:o,c=(null===r?{}:r).achievement_score,l=void 0===c?0:c;return n(null===l||l<400?561:l<1600?577:l<6400?578:l>=6400?579:561)},roomData:function(){var t=(this.postData||{}).room_list,e=void 0===t?[]:t;if(null!==e&&e.length>0){var n=e[0],o=n.photo_small_file_url,r=void 0===o?"":o,c=n.room_title,l=void 0===c?"":c,d=n.is_favorite,f=void 0!==d&&d,m=n.room_id;return{roomImg:r,roomTitle:l,isFavorite:f,roomId:void 0===m?0:m}}return{roomImg:"",roomTitle:"",isFavorite:!1,roomId:0}},avatarImg:function(){var t=this.postData.sender_info,e=void 0===t?{}:t;if(null===e)return"";var n=e.headshot,o=void 0===n?"":n;return null===o?"":o},avatarType:function(){var t=this.postData.room_list,e=void 0===t?[]:t;return null!==e&&e.length>0},senderName:function(){var t=this.postData.sender_info,e=void 0===t?{}:t;if(null===e)return"";var n=e.name;return void 0===n?"":n},authorInfo:function(){var t=this.postData.sender_info,e=(void 0===t?{}:t).valid,n=void 0===e||e;return this.avatarType?{mainName:this.roomData.roomTitle,isShowRoomInfo:!0,mainNameIsPointer:!0,avatarIsPointer:n}:{mainName:this.senderName,isShowRoomInfo:!1,mainNameIsPointer:n,avatarIsPointer:n}},senderIsCko:function(){var t=this.postData.sender_is_cko,e=void 0===t?0:t;return e},jobTitle:function(){var t=this.postData.sender_info,e=void 0===t?{}:t;if(null===e)return"";var n=e.info,o=void 0===n?{}:n;if(null===o)return"";var r=o.jobTitle,c=void 0===r?"":r;return c},date:function(){var t=this.postData.create_date,e=void 0===t?"":t,n=new Date(e),o=Number(new Date(e)/1e3),r=new Date,c=parseInt((new Date).getTime()/1e3),l=c-o,d=n.getFullYear(),f=n.getMonth()>8?n.getMonth()+1:"0"+(n.getMonth()+1),dd=n.getDate()>9?n.getDate():"0"+n.getDate(),m=("0"+n.getHours()).slice(-2),A=("0"+n.getMinutes()).slice(-2);if(l<60)return"剛剛";if(l<3600)return Math.floor(l/60)+"分鐘前";if(l<86400)return Math.floor(l/60/60)+"小時前";var h=new Date(c-86400),v=new Date(c-172800);return h.getFullYear()===d&&h.getMonth()+1===f&&h.getDate()===dd?"昨天 23:00":v.getFullYear()===d&&v.getMonth()+1===f&&v.getDate()===dd?"前天 10:00":r.getFullYear()===d?f+"/"+dd+" "+m+":"+A:d+"/"+f+"/"+dd},title:function(){var t=this.postData.title,title=void 0===t?"":t;return title},content:function(){var t=this.postData.content,content=void 0===t?"":t;return content},isShowActiveServicesIcon:function(){var t=this.postData.sender_info,e=void 0===t?{}:t;if(null===e)return!1;var n=e.info,o=void 0===n?{}:n;if(null===o)return!1;var r=o.activeServices,c=void 0===r?[]:r;return!!Array.isArray(c)&&c.length>0},imageInfo:function(){var t=this.postData,e=t.image,image=void 0===e?null:e,n=t.files,o=void 0===n?null:n;if(null!==image&&image)return{url:image,isShow:!0};if(null!==o&&Array.isArray(o)&&o.length>0){var c=Object(r.a)(o,1)[0],l=c.file_type;if("PIC"===(void 0===l?"":l)){var d=c.file_url;return{url:void 0===d?"":d,isShow:!0}}}return{url:"",isShow:!1}},privacy:function(){var t=(this.postData||{}).privacy,e=void 0===t?"public":t;return e}}),methods:m(m({},Object(d.b)("user",["updateSkillFavorite"])),{},{openModal:function(data){data&&(this.post=data),this.value=!1;var t=this;return this.$refs.modal&&this.$refs.modal.show(),new Promise((function(e){t.resovle=e}))},hideModal:function(){this.$refs.modal&&this.$refs.modal.hide()},onHidden:function(t){var e=this;this.resovle&&(this.resovle(this.value),this.resovle=void 0,this.post=void 0),this.$nextTick((function(){e.isVisible=!1}))},onModalShow:function(){var t=this;this.$nextTick((function(){t.isVisible=!0}))},onFocusClick:function(t,e){var n=this;return Object(o.a)(regeneratorRuntime.mark((function o(){var r,c;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return c={capabilityId:e,favoriteState:r=t?"0":"1"},o.prev=3,o.next=6,n.updateSkillFavorite(c);case 6:return o.next=8,n.triggerFavoriteVideoMsg(r);case 8:o.next=13;break;case 10:return o.prev=10,o.t0=o.catch(3),o.abrupt("return",o.t0);case 13:case"end":return o.stop()}}),o,null,[[3,10]])})))()},triggerFavoriteVideoMsg:function(t){"0"===t&&this.$toast.show("已取消關注囉！"),"1"===t&&this.$toast.show('已關注到<a href="/mynabi/classroom" class="text-white" style="text-decoration: underline">我的教室</a>！')},handleRoomImgError:function(t){var img=this.$getDefaultImgByHash(t);return'this.src="'.concat(img,'"')},handleAvatarImgError:function(){return'this.src="'.concat(n(560),'"')},toPost:function(){var t=this.postData.key,e=void 0===t?"":t;this.$router.push("/posts/".concat(e))}})},h=(n(1388),n(1389),n(38)),component=Object(h.a)(A,(function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"",scrollable:"","hide-footer":"","dialog-class":"modal-720","body-class":"t4 line-h-143"},on:{hidden:t.onHidden,shown:t.onModalShow},scopedSlots:t._u([{key:"modal-header",fn:function(n){var o=n.close;return[e("div",{staticClass:"h3"}),t._v(" "),e("h4",{staticClass:"modal-title text-center h2"},[t._v("貼文成功")]),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button"},on:{click:o}})]}},{key:"default",fn:function(){return[e("div",{staticClass:"d-flex justify-content-center mb-5"},[e("img",{attrs:{width:"248",height:"108",src:n(583)}})]),t._v(" "),t.postData?e("div",{on:{click:t.toPost}},[e("div",{staticClass:"postBlock"},[e("div",{staticClass:"postHeader"},[t.avatarType?e("div",{staticClass:"avatarBox"},[e("a",[e("img",{attrs:{src:t.roomData.roomImg,alt:"",onerror:t.handleRoomImgError(t.roomData.roomTitle)}})]),t._v(" "),e("div",{staticClass:"avatar"},[e("img",{attrs:{src:t.avatarImg,alt:"",onerror:t.handleAvatarImgError()}})])]):e("div",{staticClass:"avatarBox noRoom"},[e("div",{staticClass:"avatar"},[e("img",{attrs:{src:t.avatarImg,alt:"",onerror:t.handleAvatarImgError()}})]),t._v(" "),e("img",{directives:[{name:"show",rawName:"v-show",value:t.isShowActiveServicesIcon,expression:"isShowActiveServicesIcon"}],attrs:{src:t.achievementScoreImg,alt:""}})]),t._v(" "),e("div",{staticClass:"authorInfo"},[e("div",{staticClass:"mainInfo"},[e("span",{staticClass:"mainName"},[t._v(t._s(t.authorInfo.mainName))])]),t._v(" "),e("div",{staticClass:"subInfo"},[e("span",{directives:[{name:"show",rawName:"v-show",value:t.authorInfo.isShowRoomInfo,expression:"authorInfo.isShowRoomInfo"}],staticClass:"subName"},[t._v(t._s(t.senderName))]),e("span",{directives:[{name:"show",rawName:"v-show",value:0!==t.senderIsCko,expression:"senderIsCko !== 0"}],staticClass:"senderIsCko"},[t._v(t._s(1===t.senderIsCko?"知識長":"副知識長"))]),t._v(" "),e("span",{staticClass:"jobTitle"},[t._v(t._s(t.authorInfo.isShowRoomInfo?"・":"")+t._s(t.jobTitle?"".concat(t.jobTitle,"・"):"")+t._s(t.date))])])])]),t._v(" "),e("div",[e("div",{staticClass:"postContent pointer"},[e("div",{staticClass:"contentFlexBox"},[e("div",{staticClass:"title"},[e("span",[e("VClamp",{attrs:{"max-lines":2}},[t._v("\n                                        "+t._s(t.title)+"\n                                    ")])],1)]),t._v(" "),e("div",{staticClass:"content"},[e("span",[e("VClamp",{attrs:{"max-lines":4}},[t._v(t._s(t.content))])],1)])]),t._v(" "),t.imageInfo.isShow?e("div",{staticClass:"contentImg"},[e("img",{attrs:{src:t.imageInfo.url,alt:"",onerror:t.handleRoomImgError(t.imageInfo.url)}})]):t._e(),t._v(" "),e("div",{staticClass:"content"},[e("span",[e("VClamp",{attrs:{"max-lines":2}},[t._v("\n                                    "+t._s(t.content)+"\n                                ")])],1)])])])])]):t._e(),t._v(" "),0!==t.postRelativeSkill.length&&"public"===t.privacy?e("div",{staticClass:"text-center mb-6 p16"},[e("div",{staticClass:"mb-3"},[t._v("您的文章將會在以下主題教室出現")]),t._v(" "),e("div",{staticClass:"text-7e"},[t._v("關注後即可看到相關動態及討論")])]):t._e(),t._v(" "),"public"===t.privacy?e("div",{staticClass:"skill-focus"},t._l(t.postRelativeSkill,(function(n){return e("div",{key:n.ability_id,staticClass:"skill-focus-list pb-3 pt-3 d-flex justify-content-between align-items-center"},[e("router-link",{staticClass:"h2 mr-2 text-29",attrs:{to:"/ability/".concat(n.ability_id)}},[t._v(t._s(n.ability))]),t._v(" "),e("div",{staticClass:"focus-btn dark",class:{done:n.is_favorite},on:{click:function(e){return t.onFocusClick(n.is_favorite,n.ability_id)}}},[t._v("\n                    "+t._s(n.is_favorite?"已關注":"關注")+"\n                ")])],1)})),0):t._e(),t._v(" "),e("div",{staticClass:"text-center my-8"},[e("div",{staticClass:"px-6 btn btn-lg btn-secondary h4",on:{click:t.hideModal}},[t._v("我知道了")])])]},proxy:!0}])})}),[],!1,null,"b523ed22",null);e.a=component.exports},function(t,e,n){"use strict";n(631)},function(t,e,n){"use strict";n(643)},function(t,e,n){"use strict";n(644)},,function(t,e,n){"use strict";n(14),n(13),n(15),n(10),n(16);var o=n(4),r=n(3),c=(n(27),n(11),n(8),n(30),n(36)),l=n(572),d=(n(66),n(65),n(34),n(258)),f=n(39)("src/client/components/page/Testing/TestingItemSm.vue"),m=f.debug,A=f.error,h={props:{capability:{type:String,default:""},capabilityId:{type:String,default:""},hasTest:{type:String,default:"0"},testLevel:{type:String,default:"-1"},testDate:{type:String,default:""},nextTestDate:{type:String,default:""}},data:function(){return{id:d.a.v4()}},computed:{level1Style:function(){return["1","2","3"].includes(this.testLevel)?"test-level-green":"test-level-gray"},level2Style:function(){return["2","3"].includes(this.testLevel)?"test-level-green":"test-level-gray"},level3Style:function(){return["3"].includes(this.testLevel)?"test-level-green":"test-level-gray"},levelText:function(){return"3"===this.testLevel?"高級":"2"===this.testLevel?"中級":"1"===this.testLevel?"初級":"0"===this.testLevel?"未達初級":"未做測驗"},isTest:function(){return!(!["0","1","2"].includes(this.testLevel)||!this.compareDate(this.nextTestDate,0))},isTestWaitDate:function(){return!(!["0","1","2"].includes(this.testLevel)||this.compareDate(this.nextTestDate,0))}},methods:{compareDate:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now();return!(!t||isNaN(t))&&n-t>1e3*e},dateToString:function(t){var e="";try{m(t);var n=new Date(Number(t));e=n.getFullYear()+"/"+("0"+(n.getMonth()+1)).slice(-2)+"/"+("0"+n.getDate()).slice(-2)+" "+("0"+n.getHours()).slice(-2)+":"+("0"+n.getMinutes()).slice(-2)}catch(t){A("component error",t)}return e}}},v=h,y=(n(1378),n(38)),C=Object(y.a)(v,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"test-box d-flex justify-content-between align-items-center",attrs:{id:t.id}},[e("div",{staticClass:"test-result mr-2"},[e("div",{staticClass:"p14 font-weight-bold"},[t._v("\n            "+t._s(t.capability)+"\n        ")]),t._v(" "),e("div",{staticClass:"mt-1"},[e("a",{class:t.level1Style,attrs:{id:t.id+"_tooltip1",href:"#",title:"初級"}}),t._v(" "),e("b-tooltip",{attrs:{target:t.id+"_tooltip1",triggers:"hover"}},[t._v("\n                "+t._s(t.levelText)+"\n            ")]),t._v(" "),e("a",{class:t.level2Style,attrs:{id:t.id+"_tooltip2",href:"#",title:"中級"}}),t._v(" "),e("b-tooltip",{attrs:{target:t.id+"_tooltip2",triggers:"hover"}},[t._v("\n                "+t._s(t.levelText)+"\n            ")]),t._v(" "),e("a",{class:t.level3Style,attrs:{id:t.id+"_tooltip3",href:"#",title:"高級"}}),t._v(" "),e("b-tooltip",{attrs:{target:t.id+"_tooltip3",triggers:"hover"}},[t._v("\n                "+t._s(t.levelText)+"\n            ")])],1)]),t._v(" "),"0"===t.hasTest?e("button",{staticClass:"btn btn-sm btn-outline-light disabled"},[t._v("\n        沒有考卷\n    ")]):"-1"===t.testLevel?e("button",{staticClass:"btn btn-sm btn-outline-primary",attrs:{"data-gtm-learn":"點擊測驗"},on:{click:function(e){return t.$emit("testClick")}}},[t._v("\n        測驗\n    ")]):"3"===t.testLevel?e("button",{staticClass:"btn btn-sm btn-outline-light disabled"},[t._v("\n        已達高級\n    ")]):t._e(),t._v(" "),t.isTest?e("button",{staticClass:"btn btn-sm btn-outline-primary",attrs:{"data-gtm-learn":"點擊測驗"},on:{click:function(e){return t.$emit("testClick")}}},[t._v("\n        測驗\n    ")]):t._e(),t._v(" "),t.isTestWaitDate?e("div",{staticClass:"t5 text-7e text-left",staticStyle:{"word-break":"break-all",cursor:"default"}},[t._v("\n        可再次測驗"),e("br"),t._v("\n        "+t._s(t.dateToString(t.nextTestDate))+"\n    ")]):t._e()])}),[],!1,null,"2946f56a",null).exports,w=n(591);function x(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function k(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?x(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var _=n(39)("src/client/components/page/Content/PostItem/ContentExam.vue"),O=_.debug,I=_.error,B={components:{TestingItemSm:C,HardSkillExamModalFlow:w.a,ConfirmAlert:l.a},data:function(){return{isLoading:!0,isShowLogin:!1,testResult:{isIntial:!1,isLoading:!1,result:void 0}}},computed:k(k(k(k({},Object(c.e)("user",{hotTestList:function(t){return t.defaultTesting?t.defaultTesting:[]},jobcatList:function(t){return t.myTesting?t.myTesting:[]}})),Object(c.c)({isLogin:"isLogin"})),Object(c.e)("test",["testUpdate"])),{},{testingFilterList:function(){try{return this.jobcatList.length>0?this.jobcatList.map((function(t){if(t&&t.testingList&&t.testingList.length>0)return t.testingList.filter((function(t){return"3"!==t.testLevel}))})).filter((function(t){return t.length>0})):[]}catch(t){return[]}},testingHotFilterList:function(){try{return this.hotTestList.length>0?this.hotTestList.map((function(t){if(t&&t.testingList&&t.testingList.length>0)return t.testingList.filter((function(t){return"3"!==t.testLevel}))})).filter((function(t){return t.length>0})):[]}catch(t){return[]}}}),watch:{isLoading:function(t){this.$emit("loadingChange",t)},testUpdate:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.isLoading=!0,e.next=4,t.handleFetchJobcatTesting();case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),I("component error",e.t0);case 9:return e.prev=9,t.isLoading=!1,e.finish(9);case 12:return e.prev=12,t.isLoading=!0,e.next=16,t.handleFetchDefaultHotTest();case 16:e.next=21;break;case 18:e.prev=18,e.t1=e.catch(12),I("component error",e.t1);case 21:return e.prev=21,t.isLoading=!1,e.finish(21);case 24:case"end":return e.stop()}}),e,null,[[0,6,9,12],[12,18,21,24]])})))()}},mounted:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.handleFetchDefaultHotTest();case 2:if(t.isLogin){e.next=4;break}return e.abrupt("return");case 4:return e.next=6,t.handleFetchJobcatTesting();case 6:return e.next=8,t.handleFetchToeicResult();case 8:case"end":return e.stop()}}),e)})))()},methods:k(k(k(k({},Object(c.d)({setRunLogin:"setRunLogin"})),Object(c.b)("user",["fetchMyTestingByJobcat","fetchDefaultTest"])),Object(c.d)("test",["setTestEvent"])),{},{handleDoTesting:function(data){this.isLogin?(this.$elog({track:["clickQuiz"],ext:{skillId:data.capabilityId}}),this.setTestEvent({action:"test",capabilityId:data.capabilityId})):this.isShowLogin=!0},handleFetchJobcatTesting:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.isLoading=!0,e.next=4,t.fetchMyTestingByJobcat();case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),I("component error",e.t0);case 9:return e.prev=9,t.isLoading=!1,e.finish(9);case 12:case"end":return e.stop()}}),e,null,[[0,6,9,12]])})))()},handleFetchDefaultHotTest:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.isLoading=!0,e.next=4,t.fetchDefaultTest();case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),I("component error",e.t0);case 9:return e.prev=9,t.isLoading=!1,e.finish(9);case 12:case"end":return e.stop()}}),e,null,[[0,6,9,12]])})))()},clickConfirmModal:function(data){O("comfirm login"),"toLogin"===data.action&&this.setRunLogin(!0),this.clickCloseModal()},clickCloseModal:function(){O("closelogin"),this.isShowLogin=!1,this.isShowView=!1},handleFetchToeicResult:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.testResult.isLoading=!0,e.next=4,t.$api.nabi.getToeicTestResult();case 4:if((n=e.sent).result){e.next=7;break}return e.abrupt("return");case 7:t.testResult.result=n.result,t.testResult.isIntial=!0,e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",e.t0);case 14:return e.prev=14,t.testResult.isLoading=!1,e.finish(14);case 17:case"end":return e.stop()}}),e,null,[[0,11,14,17]])})))()}})},S=Object(y.a)(B,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"ContentExam bigClassBlock"},[t.isLogin?e("div",[t.testingFilterList.length>0?e("div",[e("h3",[t._v("曾做過的測驗")]),t._v(" "),t._l(t.testingFilterList,(function(n,o){return e("div",{key:o},t._l(n,(function(n,o){return e("div",{directives:[{name:"show",rawName:"v-show",value:o<3,expression:"indexs < 3"}],key:n.capabilityId},[e("TestingItemSm",t._b({attrs:{id:n.capabilityId},on:{testClick:function(e){return t.handleDoTesting({capabilityId:n.capabilityId,capability:n.capability})}}},"TestingItemSm",n,!1))],1)})),0)})),t._v(" "),t.isLoading?e("div",{staticClass:"d-flex m-auto loading"},[e("img",{staticClass:"loader-icon w-100 m-0",attrs:{src:n(375)}})]):t._e()],2):e("div",[e("h3",[t._v("熱門測驗")]),t._v(" "),t.testResult.result?t._e():e("div",{staticClass:"test-box d-flex justify-content-between align-items-center",attrs:{id:"toeic"}},[e("div",{staticClass:"test-result mr-2"},[e("div",{staticClass:"p14 font-weight-bold"},[t._v("TOEIC分級測驗")]),t._v(" "),e("div",{staticClass:"mt-1"},[e("a",{staticClass:"test-level-gray",attrs:{id:"toeic_tooltip1",href:"#",title:"初級"}}),t._v(" "),e("b-tooltip",{attrs:{target:"toeic_tooltip1",triggers:"hover"}},[t._v(" 初級 ")]),t._v(" "),e("a",{staticClass:"test-level-gray",attrs:{id:"toeic_tooltip2",href:"#",title:"中級"}}),t._v(" "),e("b-tooltip",{attrs:{target:"toeic_tooltip2",triggers:"hover"}},[t._v(" 中級 ")]),t._v(" "),e("a",{staticClass:"test-level-gray",attrs:{id:"id_tooltip3'",href:"#",title:"高級"}}),t._v(" "),e("b-tooltip",{attrs:{target:"toeic_tooltip3",triggers:"hover"}},[t._v(" 高級 ")])],1)]),t._v(" "),e("a",{staticClass:"btn btn-sm btn-outline-primary",staticStyle:{"min-width":"60px"},attrs:{"data-gtm-learn":"點擊測驗",href:"/assess/toeic"}},[t._v("\n                    測驗\n                ")])]),t._v(" "),t._l(t.testingHotFilterList,(function(n,o){return e("div",{key:o},t._l(n,(function(n,o){return e("div",{directives:[{name:"show",rawName:"v-show",value:o<3,expression:"indexs < 3"}],key:n.capabilityId},[e("TestingItemSm",t._b({attrs:{id:n.capabilityId},on:{testClick:function(e){return t.handleDoTesting({capabilityId:n.capabilityId,capability:n.capability})}}},"TestingItemSm",n,!1))],1)})),0)})),t._v(" "),t.isLoading?e("div",{staticClass:"d-flex m-auto loading"},[e("img",{staticClass:"loader-icon w-100 m-0",attrs:{src:n(375)}})]):t._e()],2),t._v(" "),e("router-link",{attrs:{to:"/mynabi/testing"}},[e("h3",{staticClass:"text-center text-7e mt-4"},[t._v("\n                更多測驗 "),e("b-icon",{attrs:{icon:"chevron-right"}})],1)])],1):e("div",[e("h3",[t._v("熱門測驗")]),t._v(" "),t.testResult.result?t._e():e("div",{staticClass:"test-box d-flex justify-content-between align-items-center",attrs:{id:"toeic"}},[e("div",{staticClass:"test-result mr-2"},[e("div",{staticClass:"p14 font-weight-bold"},[t._v("TOEIC分級測驗")]),t._v(" "),e("div",{staticClass:"mt-1"},[e("a",{staticClass:"test-level-gray",attrs:{id:"toeic_tooltip1",href:"#",title:"初級"}}),t._v(" "),e("b-tooltip",{attrs:{target:"toeic_tooltip1",triggers:"hover"}},[t._v(" 初級 ")]),t._v(" "),e("a",{staticClass:"test-level-gray",attrs:{id:"toeic_tooltip2",href:"#",title:"中級"}}),t._v(" "),e("b-tooltip",{attrs:{target:"toeic_tooltip2",triggers:"hover"}},[t._v(" 中級 ")]),t._v(" "),e("a",{staticClass:"test-level-gray",attrs:{id:"id_tooltip3'",href:"#",title:"高級"}}),t._v(" "),e("b-tooltip",{attrs:{target:"toeic_tooltip3",triggers:"hover"}},[t._v(" 高級 ")])],1)]),t._v(" "),e("a",{staticClass:"btn btn-sm btn-outline-primary",staticStyle:{"min-width":"60px"},attrs:{"data-gtm-learn":"點擊測驗",href:"/assess/toeic"}},[t._v("\n                測驗\n            ")])]),t._v(" "),t._l(t.hotTestList,(function(n){return e("div",{key:n.jobcat},[n.testingList&&n.testingList.length>0?e("div",t._l(n.testingList,(function(n,o){return e("div",{directives:[{name:"show",rawName:"v-show",value:o<3,expression:"index < 3"}],key:n.capabilityId},[e("TestingItemSm",t._b({attrs:{id:n.capabilityId},on:{testClick:function(e){return t.handleDoTesting({capabilityId:n.capabilityId,capability:n.capability})}}},"TestingItemSm",n,!1))],1)})),0):t._e()])})),t._v(" "),t.isLoading?e("div",{staticClass:"d-flex m-auto loading"},[e("img",{staticClass:"loader-icon w-100 m-0",attrs:{src:n(375)}})]):t._e(),t._v(" "),e("router-link",{attrs:{to:"/mynabi/testing"}},[e("h3",{staticClass:"text-center text-7e mt-4"},[t._v("\n                更多測驗 "),e("b-icon",{attrs:{icon:"chevron-right"}})],1)])],2),t._v(" "),e("HardSkillExamModalFlow"),t._v(" "),e("ConfirmAlert",{attrs:{"is-show":t.isShowLogin,title:"訊息",msg:"登入後才能使用我的測驗功能"},on:{"click-confirm":t.clickConfirmModal,"click-close":t.clickCloseModal}}),t._v(" "),e("HardSkillExamModalFlow")],1)}),[],!1,null,null,null);e.a=S.exports},function(t,e,n){"use strict";var o={},r=(n(1357),n(38)),component=Object(r.a)(o,(function(){this._self._c;return this._m(0)}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"termsContent"},[e("h2",{staticClass:"termsTitle mb-5"},[t._v("104學習精靈服務條款")]),t._v(" "),e("p",[t._v("親愛的朋友您好：")]),t._v(" "),e("p",[t._v("\n        歡迎您成為104學習精靈用戶，104學習精靈為「104\n        資訊科技集團」提供之服務之一，當您選擇加入「104\n        資訊科技集團」平台成為會員時，即視為您已閱讀、瞭解並同意接受「104\n        資訊科技集團」平台會員規約之全部內容。104學習精靈服務條款為「104資訊科技集團」網站會員規約之補充條款，並保有依服務內容調整與解釋條款的權利。\n    ")]),t._v(" "),e("ul",{staticClass:"list-style-decimal"},[e("li",[e("b",[t._v("服務內容")]),e("br"),e("br"),t._v("\n            1.1 學習精靈新增貼文、創建教室及回應貼文規範:\n            "),e("ul",{staticClass:"list-style-disc"},[e("li",[t._v("\n                    本服務允許您可針對工具/技能/證照，以文字/圖片/影片形式發表新增貼文，與會員們分享。\n                ")]),t._v(" "),e("li",[t._v("\n                    新增貼文規範："),e("br"),t._v("\n                    新增貼文標題最多30個字，內容最多2,000個字；貼文之內容不能涉及商業行為(廣告、商品販售行為等)、個資行為(會員名單募集、報名等)等違反公序良俗，違反上開約定，經本網站管理者發現，本網站有權逕將您的貼文進行下架。\n                ")]),t._v(" "),e("li",[t._v("\n                    創建教室規範："),e("br"),t._v("\n                    會員登入後點選「創建教室」，依據規範完成「教室名稱」、「教室簡介」、「教室標籤」，且須新增至少一篇貼文以上(含一篇)，即可創建屬於您的教室；確認教室名稱與內容符合學習資源，且未違反本會員規約後；將可於學習精靈的「所有教室」中顯示出來。\n                ")]),t._v(" "),e("li",[t._v("\n                    您所發表的內容必須符合「104資訊科技集團」網站會員規約之規範。104學習精靈管理者，將會線上審核所有公開貼文之內容，若您的貼文涉違反法令、公序良俗、侵害任何第三人權利或「104資訊科技集團」網站會員規約等相關規範，經本網站管理者發現或他人檢舉，本網站有權視情況移除您的貼文內容，若針對你的貼文移除有任何疑慮可與104客服進行聯繫。\n                ")]),t._v(" "),e("li",[t._v("\n                    若您貼文之內容重複違反規約或違反之情節重大，本網站將暫停您的使用權限，可能導致您不得再使用104人力銀行網站及相關子網的各項服務。\n                ")]),t._v(" "),e("li",[t._v("\n                    您於動態新增貼文時，您同意並了解，您所貼文之內容，除所有人都能看見您的公開資訊，並同意授權104學習精靈得在任何媒體或行銷中使用，或推薦、展示，請確保您所發表的內容都是合法、無侵害他人權益且是您願意公開的資訊，若您貼文後您要刪除貼文，可以自行刪除貼文，一旦刪除貼文就無法復原原貼文。\n                ")]),t._v(" "),e("li",[t._v("\n                    會員們針對新增貼文可以留言與貼文者互動，留言者必須採取具名方式，以建立公信力。若不放心以真實姓名回答，您可以使用暱稱留言。\n                ")]),t._v(" "),e("li",[t._v("\n                    新增貼文、創建教室與留言，您的暱稱與貼文必須符合以下規範:\n                    "),e("ul",{staticClass:"list-style-lower-roman"},[e("li",[t._v("不能以與他人已註冊商標或商品服務之表徵等相關名稱作為暱稱。")]),t._v(" "),e("li",[t._v("\n                            貼文內容不能有敏感/不雅字詞，為維持學習精靈版面秩序，您的貼文無法送出進行分享。\n                        ")]),t._v(" "),e("li",[t._v("\n                            不能以不雅、影射、謾罵、毀謗、冒用他人、留下個資等違反善良風俗或違法之文字作為暱稱。\n                        ")]),t._v(" "),e("li",[t._v("不能於學習精靈有廣告(販售商品或提供販售服務)。")]),t._v(" "),e("li",[t._v("\n                            不能以疑似學習精靈官方之文字用作為暱稱，例如學習精靈小編、站長、管理員或版主等字眼。\n                        ")]),t._v(" "),e("li",[t._v("\n                            不能以疑似匿名的文字作為暱稱，例如欄位填寫匿(暱)名、路人甲、沒有名字或工讀生、小幫手、打雜工、OOO、無等字眼。\n                        ")]),t._v(" "),e("li",[t._v("\n                            學習精靈對於您的暱稱，是否構成違反上述條款之約定，保有最終解釋與判斷的權利。\n                        ")]),t._v(" "),e("li",[t._v("\n                            違反以上相關規定時，本服務將會透過站內訊息通知您且暫時下架，若有相關問題可聯繫客服。\n                        ")])])])]),t._v("\n            1.2動態河道的學習內容"),e("br"),t._v(" "),e("ul",{staticClass:"list-style-disc"},[e("li",[t._v("\n                    貼文：會員可以自由地在上面分享學習資源，分享的內容可以包含文章、影片、網站連結、附件檔案...等等。\n                ")]),t._v(" "),e("li",[t._v("文章：搜集104職場力的文章，並且利用網路爬蟲搜集網路上與學習相關的文章。")]),t._v(" "),e("li",[t._v("\n                    影片：積極與課程製作廠商，搜集相關的課程資源，也同時利用網路爬蟲搜集網路上與學習相關的影片。\n                ")]),t._v(" "),e("li",[t._v("問答：搜集104職涯診所的問題，期望可以給予用戶更全面的學習資源。")]),t._v(" "),e("li",[t._v("\n                    以上學習內容，若有發現非學習資源，您可利用線上【檢舉】功能進行檢舉，協助我們持續推送更有價值的內容。\n                ")])]),t._v("\n            1.3黑名單規範"),e("br"),e("br"),t._v("\n            當發生以下各項情況時，本網站有權向您提出警告，並將您列為黑名單，停止您的帳號權限。"),e("br"),t._v("\n            以下情況一次即設定為黑名單"),e("br"),t._v(" "),e("ul",{staticClass:"list-style-disc"},[e("li",[t._v("侵犯本網站、其他產品或其他會員之著作權、商標權等各項權利之行為。")]),t._v(" "),e("li",[t._v("毀謗、人身攻擊、詐欺、偽造文書、廣告行銷﹙包含直效行銷﹚等之行為。")]),t._v(" "),e("li",[t._v("眾結群體相互抵制之行為。")]),t._v(" "),e("li",[t._v("盜用或冒用其他會員帳號之行為。")]),t._v(" "),e("li",[t._v("張貼任何違反法律或涉及情色之文字、圖片或檔案。")]),t._v(" "),e("li",[t._v("刊登任何第三方廣告，無論該行為是有償或無償。")]),t._v(" "),e("li",[t._v("違反公序良俗或槍藥彈炮管制等違法行為。")])]),t._v("\n            以下情況出現三次以上(包含第三次) 即設定為黑名單"),e("br"),t._v(" "),e("ul",{staticClass:"list-style-disc"},[e("li",[t._v("使用之暱稱違反暱稱規範，並經本網站管理員勸導溝通無改善者。")]),t._v(" "),e("li",[t._v("與學習無關的貼文，並經其他會員或本網站管理員檢舉者。")])]),t._v("\n            學習精靈對於您的行為是否構成違反上述條款之約定，保有最終解釋與判斷的權利。"),e("br"),e("br"),t._v("\n            1.4購買課程"),e("br"),t._v(" "),e("ul",{staticClass:"list-style-disc"},[e("li",[t._v("\n                    於本平台成功完成付款購買課程，並確立訂單成立，本平台將透過購買填寫之信箱，以郵件方式通知「訂單成立」，並「提供課程兌換序號與兌換連結」，至購買課程之出版廠商兌換並上課。\n                ")]),t._v(" "),e("li",[t._v("\n                    從本平台前往課程出版廠商購買課程，付款程序皆於出版課程之廠商完成，則完全參照其規則兌換課程上課。\n                ")]),t._v(" "),e("li",[t._v("\n                    大量購課、企業教育訓練接洽，可將您的需求郵件至nabiservice@104.com.tw，或於週一至週五AM9:00~PM7:00，撥打客服專線(02)2912-6104轉分機2，轉知需求，我們將盡快為您服務。\n                ")]),t._v(" "),e("li",[t._v("\n                    使用折扣碼\n                    "),e("ul",{staticClass:"list-style-lower-roman"},[e("li",[t._v("\n                            請在付款前確認要輸入使用折扣碼之相關資訊(例：折扣碼序號、折抵金額、折抵課程、使用期限等)，付款後將不得要求更換使用其它折扣碼。若欲取消訂單重新下單依退款申請規定辦理。\n                        ")]),t._v(" "),e("li",[t._v("折扣碼一經使用，本平台不進行退回。")])])]),t._v(" "),e("li",[t._v("\n                    發票開立\n                    "),e("ul",{staticClass:"list-style-lower-roman"},[e("li",[t._v("發票將於付款成功後10個工作天內開立")]),t._v(" "),e("li",[t._v("\n                            於本平台進行付款前，可勾選發票種類，發票類型包含二聯式發票、三聯式發票。\n                        ")]),t._v(" "),e("li",[t._v("\n                            為響應政府政策，不主動提供紙本發票，委由金財通系統寄發電子發票開立通知信至學員購買課程時填寫之Email，發票自動存入會員載具，若未收到請告知。\n                        ")]),t._v(" "),e("li",[t._v("\n                            若您的發票沒有填寫統一編號，並需要辦理退款時，由本平台代為處理發票相關作業\n                            (如作廢電子發票或開立電子發票折讓單)，以加速退款作業時程。\n                        ")])])]),t._v(" "),e("li",[t._v("\n                    課程退款\n                    "),e("ul",{staticClass:"list-style-lower-roman"},[e("li",[t._v("\n                            若您於本平台成功完成付款購買課程，有退款需求，自課程購買日起7天內，且未進行課程兌換，可申請全額退費。\n                        ")]),t._v(" "),e("li",[t._v("\n                            若需申請退款，請使用信件主旨：「課程中心退款申請」，並於信件內容寫明購買人姓名、訂單編號、欲退款之課程名稱，郵件至nabiservice@104.com.tw，本平台將於5個工作天內盡快為您處理。\n                        ")]),t._v(" "),e("li",[t._v("\n                            確認提出退款申請時間為課程購買日起7天內，且未進行課程兌換，本平台將與欲申請退款課程之出版廠商，提出會員資料與學習紀錄查詢，確認您課程的觀看紀錄，並同步確認出版廠商訂定之退款事項，是否全數符合。申請退款的同時，即代表您同意本平台與退款課程之出版廠商，提出查詢會員資料與學習紀錄。\n                        ")]),t._v(" "),e("li",[t._v("\n                            若您單一訂單中購買兩堂(含)以上課程，不需要整張訂單退款(只退其中幾堂課)，退款金額為欲退款課程售價加總後，扣除此張訂單所使用之折扣碼(若折扣碼為整張訂單之折數折扣，則退款金額為欲退款課程售價加總後乘以折數折扣)，若計算後退款金額低於(含)0元，本平台將不執行退款。\n                        ")]),t._v(" "),e("li",[t._v("\n                            課程退費採原信用卡退刷方式，退費所需之工作天依各金融機構實際作業時間為準。\n                        ")]),t._v(" "),e("li",[t._v("\n                            上述退款方式僅限於本平台成功完成付款購買之課程，若付款與訂單成立之任一程序不在本平台完成，退款方式需依照課程出版之廠商所訂定之規則，提出申請，並由課程出版廠商協助處理，本平台不介入。\n                        ")])])])]),t._v("\n            1.5學習記錄"),e("br"),t._v(" "),e("ul",{staticClass:"list-style-disc"},[e("li",[t._v("\n                    您同意於本平台成功完成付款購買課程，並於完成課程或取得課程學習證書後，由出版廠商將您的學習紀錄，包括但不限於完課證明或證書回傳儲存於您於本平台的學習紀錄內，該學習紀錄並會與104人力銀行網站之履歷表進行資料串接。\n                ")]),t._v(" "),e("li",[t._v("您於本平台的學習紀錄，僅供您自行查閱使用，不會對外揭露。")]),t._v(" "),e("li",[t._v("\n                    您於本平台成功完成付款購買課程後，即可於本平台自行設定是否將您的學習紀錄同步至104人力銀行網站之履歷表（系統預設值為勾選同意），公開予簽約徵才廠商瀏覽，如您勾選同意，本平台將於您完成課程或取得課程學習證書的學習記錄後，自動同步更新至您所指定的履歷表中。\n                ")])])]),t._v(" "),e("li",[e("b",[t._v("選擇與義務")]),e("br"),e("br"),t._v("\n            2.1 服務守則\n            "),e("ul",{staticClass:"list-style-disc"},[e("li",[t._v("\n                    您在104學習精靈內的行為言論，除需遵守「104資訊科技集團」網站會員規約之規範，亦須遵守104學習精靈之各項服務條款。\n                ")]),t._v(" "),e("li",[t._v("\n                    如您在104學習精靈內發現其他會員有違反前項規定之情事，請透過檢舉機制通知本網站處理。\n                ")]),t._v(" "),e("li",[t._v("\n                    若您所產生的任何內容遭檢舉經確認違反規定時，104學習精靈有權進行刪除、取消散佈、取消發表或停權等處分。\n                ")])]),t._v("\n            2.2 停用服務\n            "),e("ul",{staticClass:"list-style-disc"},[e("li",[t._v("\n                    當您選擇停用 104 學習精靈服務，帳號會連動將「104 履歷診療室」、「104\n                    職涯診所」、「104 Be A Giver」、「104 職場力」及「104\n                    活動吧」等服務一併移除，但不會影響您在「104\n                    資訊科技集團」的會員帳號與使用其他服務。\n                ")]),t._v(" "),e("li",[t._v("\n                    服務停用後，若您想要使用同一個 104 會員帳號，重新開啟 104\n                    學習精靈的服務，請提交"),e("a",{attrs:{href:"https://104.surveycake.com/s/Nw7rx",target:"_blank"}},[t._v("停用帳號表單")]),t._v("，或與我們聯繫（nabiservice@104.com.tw）。\n                ")]),t._v(" "),e("li",[t._v("\n                    在您停用服務後，我們無法控制其他會員複製到104學習精靈以外的資料，或者第三方服務（例如搜尋引擎結果）更新快取之前，仍然可能會繼續顯示您的相關資訊。\n                ")])]),t._v("\n            2.3 刪除帳號\n            "),e("ul",{staticClass:"list-style-disc"},[e("li",[t._v("\n                    若您想要刪除學習精靈的帳號，透過學習精靈的「申請刪除帳號」表單，僅會刪除 104\n                    學習精靈的帳號與資料，並不會影響您於「104 資訊科技集團」的帳號或會員權益。\n                ")]),t._v(" "),e("li",[t._v("\n                    如果您確定不再使用 104 學習精靈之各項服務，請提交"),e("a",{attrs:{href:"https://104.surveycake.com/s/Nw7rx",target:"_blank"}},[t._v("刪除帳號表單")]),t._v("以協助您處理（nabiservice@104.com.tw）。\n                ")]),t._v(" "),e("li",[t._v("\n                    注意事項：在您提交刪除帳號的申請後，將會由 104\n                    專員與您聯繫，協助您完成帳號刪除的流程。在特殊情況下，104\n                    學習精靈保有拒絕刪除帳號的權利。\n                ")])])]),t._v(" "),e("li",[e("b",[t._v("智慧財產權")]),e("br"),e("br"),t._v("\n            3.1 服務守則\n            "),e("ul",{staticClass:"list-style-disc"},[e("li",[t._v("\n                    本平台上所有內容，包含文字、圖形/圖片、影片、講師人像、附檔等，其著作權、專利權、商標及其他智慧財產權，均屬於本網站或授權本網站使用之正當權利人所有，任何人於未經本網站或正當權利人合法授權前，不得擅自以任何形式複製、改作、編輯、散布、公開傳播或其他非法使用，否則本網站或授權本網站使用之正當權利人將依法追訴並請求相關之損害賠償責任。\n                ")]),t._v(" "),e("li",[t._v("\n                    任何您因使用本服務所提供之分享內容，一經您上載傳送至本網站時，即視為您已同意無償授權予本網站及104相關企業集團，不受任何條件限制進行散布、公開展示、公開播送、公開傳輸等相關行為，並得將分享內容收錄於資料庫中，或再授權其他人為前述利用之權利。\n                ")])])]),t._v(" "),e("li",[e("b",[t._v("隱私權保護政策")]),e("br"),e("br"),t._v("\n            本網站之隱私權保護政策準用104人力銀行隱私權保護政策辦理，本人明瞭該隱私權保護政策亦構成本會員服務條款之一部份。\n        ")])])])}],!1,null,"1d2a694c",null);e.a=component.exports},,function(t,e,n){t.exports={}},function(t,e,n){"use strict";n(21),n(34),n(110),n(15),n(16),n(71);var o=n(4),r=n(23),c=n(31),l=n(3),d=(n(27),n(65),n(30),n(14),n(11),n(8),n(42),n(10),n(87),n(66),n(83),n(50),n(51),n(61),n(105),n(37),n(26),n(40),n(84),n(35),n(96),n(69),n(54),n(13),n(68),n(1408),n(1409),n(1410),n(1411),n(1412),n(1413),n(1414),n(1415),n(1416),n(1417),n(1418),n(1419),n(1420),n(1421),n(1422),n(1423),n(1424),n(113)),f=n.n(d),m=n(36),A=n(120),h=n(1394),v=n(1355),y=n(1395),C=n(629),w=n(1367),x=n(1396),k=n(984),_=n(39)("src/client/components/modals/SearchJobcatModal.vue").debug,O={components:{CategoryMenu:k.a,DropUpSearchBar:x.a},data:function(){return{selectJobcatObj:{},resovle:void 0,drowdownList:[],errMsg:!1}},methods:{openModal:function(){var t=this;return this.$refs.modal&&this.$refs.modal.show(),new Promise((function(e){t.resovle=e}))},hideModal:function(){this.$refs.modal&&(this.errMsg=!1,this.$refs.modal.hide())},onOkClick:function(){this.resovle&&(this.resovle(this.selectJobcatObj),this.resovle=void 0),this.hideModal()},searchInputChange:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){var o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e.$api.ncc.searchJob(t);case 3:o=n.sent,e.drowdownList=Object(r.a)(o),n.next=11;break;case 7:n.prev=7,n.t0=n.catch(0),_(n.t0),e.drowdownList=[];case 11:case"end":return n.stop()}}),n,null,[[0,7]])})))()},clickSearchAction:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){var o,r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e.$api.ncc.searchJob(t);case 3:o=n.sent,(r=o.filter((function(e){return e.desc===t}))).length>0?(e.selectJobcatObj={id:r[0].id,desc:r[0].desc},e.errMsg=!1,e.onOkClick()):e.errMsg=!0,n.next=13;break;case 8:n.prev=8,n.t0=n.catch(0),_(n.t0),e.selectJobcatObj={},e.errMsg=!0;case 13:case"end":return n.stop()}}),n,null,[[0,8]])})))()},onOpenJobcatMenuClick:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$refs.cm_jobcat_menu.openModal();case 2:(n=e.sent)&&n.length>0&&(o=n[0],t.selectJobcatObj={id:o.no,desc:o.des},t.onOkClick());case 4:case"end":return e.stop()}}),e)})))()}}},I=n(38),B=Object(I.a)(O,(function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-footer":"","dialog-class":"modal-720","body-class":"h-100"},scopedSlots:t._u([{key:"modal-header",fn:function(n){var o=n.close;return[e("div",{staticClass:"h3"}),t._v(" "),e("h4",{staticClass:"modal-title text-center h2"},[t._v("請搜尋你想要分享的職類")]),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button"},on:{click:o}})]}},{key:"default",fn:function(){return[e("div",{staticClass:"d-flex flex-column justify-content-between h-100"},[e("div",{staticClass:"mb-6"},[e("div",{staticClass:"d-flex justify-content-end mb-2"},[e("b",{staticClass:"text-blue pointer",on:{click:t.onOpenJobcatMenuClick}},[t._v("用職務類別選")]),t._v(" "),e("CategoryMenu",{ref:"cm_jobcat_menu",attrs:{type:"JobCat",theme:"c","unselectable-list":"20[0-9]{2}0[0-9]{2}000",searchable:!0}})],1),t._v(" "),e("DropUpSearchBar",{ref:"searchBar",attrs:{"bg-color":"grey","drowdown-list":t.drowdownList,"drowdown-key-name":"desc","placeholder-text":"輸入職業名稱或關鍵字"},on:{clickSearchAction:t.clickSearchAction,searchInputChange:t.searchInputChange}}),t._v(" "),e("b-form-invalid-feedback",{staticClass:"CreateForm--invalid",attrs:{state:!t.errMsg}},[t._v("\n                    請輸入其他職位名稱或關鍵字\n                ")])],1),t._v(" "),e("div",{staticClass:"d-flex justify-content-center mb-6"},[e("div",{staticClass:"btn btn-lg btn-outline-primary mr-4",on:{click:t.hideModal}},[t._v("取消")]),t._v(" "),e("div",{class:["btn","btn-lg","btn-secondary"],on:{click:function(){t.$refs.searchBar.clickSearchAction()}}},[t._v("\n                    確定\n                ")])])])]},proxy:!0}])})}),[],!1,null,null,null).exports,S=n(39)("src/client/components/page/BigClassroom/RecommendTags.vue").debug,j={components:{SearchJobcatModal:B},props:{tags:{type:Array,default:function(){return[]}}},methods:{openSearchJobcatModal:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$refs.searchJobcatModal.openModal();case 3:n=e.sent,t.$emit("changeJobcat",n),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),S(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})))()}}},D=Object(I.a)(j,(function(){var t=this,e=t._self._c;return e("div",[t._t("title",null,{openSearchJobcatModal:t.openSearchJobcatModal}),t._v(" "),e("div",{staticClass:"mt-4"},[t.tags.length>0?e("ul",{staticClass:"tag"},t._l(t.tags,(function(n,o){return e("li",{key:o,class:["mb-2",{"tag-blueLake":!n.disabled,"tag-disabled":n.disabled}],on:{click:function(){t.$emit("insertTag",n)}}},[e("span",[t._v(t._s(n.tag_name))])])})),0):e("b",{staticClass:"text-7e"},[t._v("樣本數不足，無法分析")])]),t._v(" "),e("SearchJobcatModal",{ref:"searchJobcatModal"})],2)}),[],!1,null,null,null).exports,R=n(986),M=n(656),U=n(1440),T=(n(1449),n(1450),n(625)),E=n(47),L=n(933),P=n.n(L);function F(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return N(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,r=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw r}}}}function N(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function Q(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function H(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Q(Object(n),!0).forEach((function(e){Object(l.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var G=n(39)("src/client/components/modals/PostDialog.vue"),V=G.debug,J=G.error,K=/^((https?|ftp):\/\/)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00A1-\uFFFF0-9]-*)*[a-z\u00A1-\uFFFF0-9]+)(?:\.(?:[a-z\u00A1-\uFFFF0-9]-*)*[a-z\u00A1-\uFFFF0-9]+)*(?:\.(?:[a-z\u00A1-\uFFFF]{2,})))(?::\d{2,5})?(?:\/\S*)?$/,Y=function(){},z=function(){},X=function(){},W={components:{MessageBox:A.a,TermContentModal:h.a,SimpleLightBox:C.a,PostSuccessModal:v.a,PostNoticeModal:y.a,DropUpTags:w.a,RecommendTags:D,DatePicker:U.default,ToolTips:R.a,Select:M.a},props:{data:{type:Object,default:void 0},skill:{type:String,default:""},unOfficeroomSkill:{type:Array,default:function(){return[]}},roomTitle:{type:String,default:""},isSinglePage:{type:Boolean,default:!1},roomId:{type:String,default:void 0},isOffice:{type:Boolean,default:!0},privacyState:{type:Number,default:function(){}},roomManagers:{type:Array,default:function(){return[]}}},data:function(){return{msgTitle:"",msgContent:"",confirmText:"",alertNoCancel:!0,linkQuerying:!1,linkData:void 0,drowdownList:[],title:"",content:"",tags:[],attachs:[],image:"",isLightBox:!1,isLoading:!1,DOMAIN_NABI:"https://nabi.104.com.tw",shareRoomList:[],userClassroomList:[],shareRoomSelected:{selected:null,checked:!1,disabled:!1,optionList:[]},imageError:!1,limitTagsCount:30,privacy:"",schedulePost:{checked:!1,time:"",warn:!1,disabled:!1,display:!0},jobCatData:{data:{},initial:!1},nabiJobCookie:null,recommendNabiTags:{suggestionKey:"",contentTag:[],jobcatTag:[],jobcat:0,jobTitle:"",initial:!1},isCko:!1}},computed:H(H({},Object(m.c)(["pid"])),{},{recommendJobTagsFilter:function(){var t=this,e=this.recommendNabiTags.jobcatTag;return(void 0===e?[]:e).map((function(e){return{tag_name:e,disabled:t.tags.findIndex((function(t){return t===e}))>-1}}))},jobCat:function(){var t,e=this.jobCatData.data,data=void 0===e?{}:e,n=data.present,o=void 0===n?{}:n,r=data.expect,l=void 0===r?{}:r,d=data.expect2,f=void 0===d?{}:d,m=data.recommend,A=void 0===m?{}:m,h=data.appoint,v=void 0===h?{}:h,y=data.customs,C=void 0===y?[]:y,w=C.length>0?C[0]:void 0;if(this.nabiJobCookie){var x=this.nabiJobCookie.split("_"),k=Object(c.a)(x,2);t={indcatName:"",jobcat:k[0],pr:"-1",jobTitle:"",indcat:k[1]}}else t=0!==Object.keys(o).length?o:0!==Object.keys(l).length?l:0!==Object.keys(f).length?f:0!==Object.keys(A).length?A:0!==Object.keys(v).length?v:w||{indcatName:"",jobcat:"",pr:"-1",jobTitle:"",indcat:""};return t},defaultTags:function(){var t=this,e=this.isOffice&&this.skill?[{tag_name:this.skill,disabled:this.tags.findIndex((function(e){return e===t.skill}))>-1}]:!this.isOffice&&this.unOfficeroomSkill.length>0?this.unOfficeroomSkill.map((function(s){return{tag_name:s.tag_name,disabled:t.tags.findIndex((function(t){return t===s.tag_name}))>-1}})).slice(0,6):[],n=this.recommendNabiTags.contentTag,o=(void 0===n?[]:n).filter((function(t){return-1===e.findIndex((function(e){return e.tag_name===t}))})).map((function(e){return{tag_name:e,disabled:t.tags.findIndex((function(t){return t===e}))>-1}}));return[].concat(Object(r.a)(e),Object(r.a)(o))},randomImgae:function(){var t=String(this.$stringHash(this.linkData.url));return t=t.substr(t.length-1,1)},isEdit:function(){return!!this.data},tagsCheck:function(){return this.formatTag.map((function(t){return t.tag_name})).join("")},formatTag:function(){var t=this,e=[];return this.tags.length>0&&this.tags.forEach((function(n){n&&n===t.skill&&t.isOffice?e.push({tag_name:n,default:!0}):e.push({tag_name:n,default:!1})})),e},hasMediaContent:function(){return(this.attachs||[]).find((function(t){return"LINK"!==t.file_type}))},contentRules:function(){return this.hasMediaContent?"sensitiveWord":"required|postContentLen:60,5000|sensitiveWord"},showShareToRoom:function(){if(this.isEdit){var t=this.data.extra,e=void 0===t?{}:t,n=(e||{}).nabi_room_list,o=void 0===n?[]:n;if(e&&o&&0!==o.length)return!1}else if(!this.isOffice&&this.roomId)return!1;return this.userClassroomList.length>0}}),methods:H(H(H(H({},Object(m.d)(["setRunLogin"])),Object(m.b)("document",["getSignature","getFileUrl","getFileDetail","htmlConvert"])),Object(m.b)("wall",["addActivity","updateActivity"])),{},{setPrivacy:function(t){this.privacy=t},scheduleCheckboxChange:function(t){var e=t.target,n=(void 0===e?{}:e).checked;if(void 0!==n&&n){var o=(new Date).getTime()+36e5,r=new Date(o);this.schedulePost.time=r}else this.schedulePost.time=""},disabledBeforeToday:function(t){var e=new Date;return e.setHours(0,0,0,0),t<e||t>new Date(e.getTime()+2592e6)},notBeforeHalfHoursClock:function(t){var e=new Date;return t<new Date(e.getTime()+18e5)},alert:function(content,title,t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e.msgTitle=title||"訊息",e.msgContent=content||"發生錯誤",e.confirmText=t||"確認",n.next=5,e.$refs.alert.openModal();case 5:case"end":return n.stop()}}),n)})))()},onModalShow:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,r,c,l,d,f,m,A,h;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.isEdit?(t.title=t.data.title,t.content=t.data.content,t.tags=(t.data.tags||[]).slice(),t.image=t.data.image,t.attachs=t.data.files?t.data.files.filter((function(t){return!["LINK"].includes(t.file_type)})).map((function(t){var e="";return["VIDEO"].includes(t.file_type)?e="snapshot":"PIC"===t.file_type&&t.file_title.toLowerCase().includes(".gif")?e="":["FILE","PIC"].includes(t.file_type)&&(e="w680"),{convertStatus:"success",title:t.file_title,conten:t.file_content,file_type:t.file_type,file_id:t.file_id,showUrl:t.file_url,insert_date:t.insert_date,ogTag:e}})):[],(n=t.data.files?t.data.files.find((function(t){return["LINK"].includes(t.file_type)})):void 0)&&(V("foundLink",n),t.linkData={file_id:n.file_id,file_type:"LINK",showUrl:n.file_url,url:n.file_link,title:n.file_title,content:n.file_content}),r=t.data,c=r.schedule_date,l=void 0===c?"":c,d=r.privacy,f=void 0===d?"":d,l&&null!==l&&(m=new Date(l),t.schedulePost={checked:!0,time:m,warn:!1,disabled:!0,display:!0}),t.schedulePost.disabled=!0,t.privacy=f):((A=t.$getLocalStorage("editingContent"))&&!t.isEdit&&(t.title=A.title||"",t.content=A.content||"",t.getLinkData()),t.isOffice&&t.skill&&(t.tags=[t.skill]),t.privacy=2===t.privacyState?"protected":"public"),e.next=3,Promise.all([t.fetchUserClassroom(),t.getRecommendJobcat(),Object(o.a)(regeneratorRuntime.mark((function e(){var n,o,r,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$api.user.getCkoRoomList(t.pid);case 2:n=e.sent,o=n.data,r=(void 0===o?{}:o).resident_room_list,c=void 0===r?[]:r,t.isCko=c.length>0;case 7:case"end":return e.stop()}}),e)})))()]);case 3:t.isEdit||(void 0===t.privacyState||t.isOffice?t.isCko||(t.schedulePost={disabled:!0,checked:!1,time:"",warn:!1,display:!1}):-1===t.roomManagers.findIndex((function(e){return String(e.pid)===String(t.pid)}))&&(t.schedulePost={disabled:!0,checked:!1,time:"",warn:!1,display:!1})),h=t.$nuxt.context.req,t.nabiJobCookie=t.$getCookie("choicedJobcat",h)||"",t.getRecommendNabiTags({}),Y=t.$watch("title",(function(e){t.getRecommendNabiTags({title:e})})),z=t.$watch("content",(function(e){t.getRecommendNabiTags({content:e})})),X=t.$watch("recommendNabiTags.jobcat",(function(e){t.getRecommendNabiTags({jobcat:e})}));case 10:case"end":return e.stop()}}),e)})))()},insertTag:function(t){!t.tag_name.trim()||this.tags.includes(t.tag_name)||this.tags.length>=this.limitTagsCount||(this.tags=[].concat(Object(r.a)(this.tags),[t.tag_name]))},removeTag:function(t){this.tags.forEach((function(e,n,o){e===t.tag_name&&o.splice(n,1)})),this.tags=Object(r.a)(this.tags)},searchTag:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){var o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t){n.next=2;break}return n.abrupt("return");case 2:return n.prev=2,e.fetchLoading=!0,n.next=6,e.$api.nabi.getCapabilityByKey(t);case 6:o=n.sent,e.drowdownList=o.map((function(t){return{room_title:t.name,room_id:t.id}})),n.next=14;break;case 10:n.prev=10,n.t0=n.catch(2),V(n.t0),e.drowdownList=[];case 14:return n.prev=14,e.fetchLoading=!1,n.finish(14);case 17:case"end":return n.stop()}}),n,null,[[2,10,14,17]])})))()},tagOutClick:function(){this.searchTagResult=[]},tagSearchReplace:function(text){var t=this.searchingText.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),e=new RegExp("(".concat(t,")"),"i"),n=text.match(e);return n&&n.length>0?text.replace(n[0],"<b>".concat(n[0],"</b>")):text},upload:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.attachs.length>3)){e.next=4;break}return e.next=3,t.alert("只能上傳四個檔案喔！");case 3:return e.abrupt("return");case 4:t.$refs.upload.click();case 5:case"end":return e.stop()}}),e)})))()},onFileChange:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){var c;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!t.target.files||0!==t.target.files.length){n.next=2;break}return n.abrupt("return");case 2:if(c=t.target.files,!(e.attachs.length+c.length>4)){n.next=7;break}return n.next=6,e.alert("只能上傳四個檔案喔！");case 6:return n.abrupt("return");case 7:Array.from(c,function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(n){var o,c,l,d,f,m,A;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=n.size/1048576,t.prev=1,!(o>500)){t.next=4;break}throw new Error("檔案太大囉，請選擇小於500MB的檔案");case 4:if(n.name.substring(n.name.lastIndexOf(".")).includes(".")){t.next=7;break}throw new Error("不支援的檔案類型");case 7:return c={convertStatus:"uploading",title:n.name,failCnt:0,file:n,type:"PIC",showUrl:""},t.next=10,e.getDocSignatureAndStrategy(n);case 10:return l=t.sent,d=l.signature,f=l.type,m=l.ogTag,A=l.finishQuery,e.attachs=[].concat(Object(r.a)(e.attachs),[c]),e.$set(c,"file_id",d.fileId),e.$set(c,"file_type",f),e.$set(c,"ogTag",m),e.$set(c,"finishQuery",A),t.next=22,e.uploadProcess(H(H({},d),{},{file:n}));case 22:return t.next=24,e.getImageUrl(c);case 24:t.next=32;break;case 26:return t.prev=26,t.t0=t.catch(1),J("upload failed",t.t0),t.next=31,e.alert(t.t0.message);case 31:e.stopProcess(c);case 32:case"end":return t.stop()}}),t,null,[[1,26]])})));return function(e){return t.apply(this,arguments)}}());case 8:case"end":return n.stop()}}),n)})))()},getDocSignatureAndStrategy:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){var o,r,c,l,d,f,m;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(o=t.name.substring(t.name.lastIndexOf(".")),d=[],/\.(jpg|jpeg|png|gif)$/i.test(o)&&(c="PIC",r={multiAction:[{method:"resize",param:{basis:"9",width:"680"},tag:"w680"}]},/\.(gif)$/i.test(o)?(d.push({queryTag:"",finish:function(data,t){data.showUrl=t[0].url[0]}}),l=""):(d.push({queryTag:"w680",finish:function(data,t){data.showUrl=t[0].url[0]}}),l="w680")),/\.(quicktime|mp4|avi|mov|mpeg|wmv)$/i.test(o)&&(c="VIDEO",r={multiAction:[{method:"videoSnap",param:{sec:"1"},tag:"snapshot"}]},d.push({queryTag:"snapshot",finish:function(data,t){data.showUrl=t[0].url[0]}}),l="snapshot"),/\.(m4a|wav|mp3)$/i.test(o)&&(c="AUDIO",r={multiAction:[{method:"audioConvert"}]}),/\.(pdf|doc|docx|ppt|pptx|xls|xlsx)$/i.test(o)&&(r={multiAction:[{method:"docConvert",param:{width:"680",basis:"9",page:"0"},tag:"w680"},{method:"docConvert",param:{width:"1080",basis:"9"},tag:"w1080"}]},c="FILE",d.push({queryTag:"w680",finish:function(data,t){data.showUrl=t[0].url[0]}}),l="w680"),r){n.next=8;break}throw new Error("不支援的檔案類型");case 8:return f={contentDisposition:t.name,title:t.name,description:"nabi",contentType:t.type,extra:r},n.prev=9,n.next=12,e.getSignature(f);case 12:return m=n.sent,n.abrupt("return",{signature:m,type:c,finishQuery:d,ogTag:l});case 16:throw n.prev=16,n.t0=n.catch(9),new Error("上傳檔案失敗");case 19:case"end":return n.stop()}}),n,null,[[9,16]])})))()},uploadProcess:function(data){return Object(o.a)(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(e=new FormData).append("key",data.objectKey),e.append("content-type",data.file.type),e.append("acl",data.acl),e.append("X-Amz-Credential",data.xAmzCredential),e.append("X-Amz-Algorithm",data.xAmzAlgorithm),e.append("X-Amz-Date",data.xAmzDate),e.append("policy",data.policyDocument),e.append("X-Amz-Signature",data.signature),e.append("file",data.file),t.next=12,f.a.post("https://".concat(data.uploadDomain),e);case 12:case"end":return t.stop()}}),t)})))()},stopProcess:function(t){t&&(this.attachs.convertStatus="stopped",t.interval&&clearInterval(t.interval))},getImageUrl:function(t){var e=this,n=this;t.interval=setInterval(Object(o.a)(regeneratorRuntime.mark((function o(){var r,c,l,d,f,m,A,h,v;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,n.getFileDetail(t.file_id);case 3:if(r=o.sent,e.$set(t,"convertStatus",r.convertStatus),e.$set(t,"filename",r.filename),e.$set(t,"originalType",r.originalType),e.$set(t,"title",r.title),e.$set(t,"content",r.content),"success"!==r.convertStatus){o.next=34;break}c=r.insertDate,t.insert_date=c,clearInterval(t.interval),l=F(t.finishQuery),o.prev=14,l.s();case 16:if((d=l.n()).done){o.next=24;break}return f=d.value,m=f.queryTag,A=f.page,h=f.finish,o.next=20,n.getFileUrl({fileId:t.file_id,fileTag:m,page:A});case 20:v=o.sent,"function"==typeof h&&h(t,v);case 22:o.next=16;break;case 24:o.next=29;break;case 26:o.prev=26,o.t0=o.catch(14),l.e(o.t0);case 29:return o.prev=29,l.f(),o.finish(29);case 32:o.next=40;break;case 34:if(!["failed","error","stopped"].includes(r.convertStatus)){o.next=40;break}return clearInterval(t.interval),n.stopProcess(t),o.next=39,e.alert("抱歉～此為不支援的檔案類型。","訊息","確定");case 39:n.removeFile(t);case 40:o.next=47;break;case 42:o.prev=42,o.t1=o.catch(0),J("getImageUrl fail",o.t1),t.failCnt++,t.failCnt>6&&(n.alert("上傳失敗！"),n.removeFile(t));case 47:case"end":return o.stop()}}),o,null,[[0,42],[14,26,29,32]])}))),2e3)},removeFile:function(t){this.stopProcess(t),this.attachs.splice(this.attachs.findIndex((function(e){return e===t})),1)},onPaste:function(){try{var t=(event.clipboardData||window.clipboardData).getData("text");this.getLinkData(t)}catch(t){}},cancelGetLinkData:function(){this.linkQuerying=!1,this.linkData=void 0,this.imageError=!1},getLinkData:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){var o,r,c,l,i,d,f;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(V("getLinkData"),!e.linkQuerying){n.next=3;break}return n.abrupt("return");case 3:if(!e.linkData){n.next=5;break}return n.abrupt("return");case 5:e.linkQuerying=!0,n.prev=6;try{r=decodeURIComponent(t)}catch(e){r=t}if(r&&K.test(r))o=r;else if(c=/(https?:\/\/[^\s]+)/g,(l=e.content.match(c))&&l.length>0)for(i=0;i<l.length;i++){try{r=decodeURIComponent(l[i])}catch(t){r=l[i]}K.test(r)&&(o=r)}if(o){n.next=11;break}return n.abrupt("return");case 11:return e.linkData={url:o},n.next=14,e.htmlConvert({url:o});case 14:d=n.sent,e.linkQuerying&&"failed"!==d.convertStatus?(d.linkInfo.imgUrls&&d.linkInfo.imgUrls.length>0&&(f=d.linkInfo.imgUrls[0].url),e.linkData=H(H(H({},d),d.linkInfo),{},{file_id:d.fileId,content:d.linkInfo.description,showUrl:f})):e.linkData=void 0,n.next=22;break;case 18:n.prev=18,n.t0=n.catch(6),J("getLinkData error",n.t0),e.linkData=void 0;case 22:return n.prev=22,e.linkQuerying=!1,n.finish(22);case 25:case"end":return n.stop()}}),n,null,[[6,18,22,25]])})))()},onSendClick:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o,l,d,f,m,A,h,v,y,C,w,x,k,_,O,I,B,S,j,D,R,M,U,L,P,N,Q,H,G,V,K,Y,z,X,W,Z,$;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.isLoading=!0,e.next=4,t.$refs.observer.validate();case 4:if(e.sent){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,Object(E.f)(t.$refs.postContent.value,"urlMalicious");case 9:if((n=e.sent).valid){e.next=13;break}return t.$refs.postContent.applyResult(n),e.abrupt("return");case 13:if(!t.linkQuerying){e.next=16;break}return t.alert("處理中，請稍後"),e.abrupt("return");case 16:o=F(t.attachs),e.prev=17,o.s();case 19:if((l=o.n()).done){e.next=26;break}if("success"===l.value.convertStatus){e.next=24;break}return t.alert("檔案上傳中，請稍候"),e.abrupt("return");case 24:e.next=19;break;case 26:e.next=31;break;case 28:e.prev=28,e.t0=e.catch(17),o.e(e.t0);case 31:return e.prev=31,o.f(),e.finish(31);case 34:d=[],f=[],m=[],A=F(t.attachs.entries());try{for(A.s();!(h=A.n()).done;)v=Object(c.a)(h.value,2),y=v[0],C=v[1],["PIC","VIDEO","AUDIO"].includes(C.file_type)&&(f.push("".concat(C.file_id,":").concat(C.ogTag)),m.push(y)),["FILE"].includes(C.file_type)&&(f.push("".concat(C.file_id,":").concat(C.ogTag)),m.push(y))}catch(t){A.e(t)}finally{A.f()}if(!(f.length>0)){e.next=45;break}return e.next=42,t.$api.heybar.getHeybarEncryptUrls(f);case 42:w=e.sent,x=F(m.entries());try{for(x.s();!(k=x.n()).done;)_=Object(c.a)(k.value,2),O=_[0],I=_[1],t.attachs[I].ogUrl=w[O]}catch(t){x.e(t)}finally{x.f()}case 45:B=F(t.attachs);try{for(B.s();!(S=B.n()).done;)j=S.value,d.push({file_id:j.file_id,file_type:j.file_type,img_url:j.ogUrl,title:j.title,content:j.content,insert_date:j.insert_date})}catch(t){B.e(t)}finally{B.f()}t.linkData&&d.push({file_id:t.linkData.file_id,file_type:"LINK"}),D="",R=F(t.attachs);try{for(R.s();!(M=R.n()).done;)U=M.value,["PIC","VIDEO","FILE"].includes(U.file_type)&&(D=U.ogUrl)}catch(t){R.e(t)}finally{R.f()}if(!D&&t.linkData&&(D=t.linkData.showUrl),L=[],P=t.shareRoomSelected,N=P.selected,Q=void 0===N?{}:N,H=P.checked,void 0!==H&&H&&(L=[String(Q.id)]),!t.isOffice&&t.roomId&&(L=[t.roomId].concat(Object(r.a)(L))),t.data&&t.data.extra&&t.data.extra.nabi_room_list&&(G=t.data.extra.nabi_room_list.map((function(t){return String(t.room_id)})),L=[].concat(Object(r.a)(G),Object(r.a)(L))),L=Object(r.a)(new Set(L)),V=t.schedulePost,K=V.checked,Y=void 0!==K&&K,z=V.time,X=void 0===z?null:z,!t.isEdit){e.next=66;break}return e.next=62,t.updateActivity({params:{post_id:t.data.key,title:t.title,content:t.content,tags:t.tags,attachs:d,image:D,room_ids:L.length>0?L:void 0,is_set_schedule:Y,schedule_date:Y?T.DateTime.fromJSDate(X).toFormat("yyyy-LL-dd HH:mm:ss"):void 0,suggestion_key:t.recommendNabiTags.suggestionKey||"",jobcat:t.recommendNabiTags.jobcat,privacy:t.privacy},isSinglePage:t.isSinglePage});case 62:W=e.sent,t.$emit("update-post",W),e.next=71;break;case 66:return e.next=68,t.addActivity({params:{title:t.title,content:t.content,tags:t.tags,attachs:d,image:D,room_ids:L.length>0?L:void 0,is_set_schedule:Y,schedule_date:Y?T.DateTime.fromJSDate(X).toFormat("yyyy-LL-dd HH:mm:ss"):void 0,suggestion_key:t.recommendNabiTags.suggestionKey||"",jobcat:t.recommendNabiTags.jobcat,privacy:t.privacy},isSinglePage:t.isSinglePage});case 68:Z=e.sent,Y?(t.$emit("addUserScheduleActivity"),t.$toast.show("已排程貼文")):(t.$emit("addUserNewActivity",Z),t.openPostSuccessModal(Z)),t.$removeLocalStorage("editingContent");case 71:t.$refs.modal.hide(),e.next=103;break;case 74:if(e.prev=74,e.t1=e.catch(0),!e.t1.response||400!==e.t1.response.status){e.next=81;break}return e.next=79,t.alert("精靈感謝您於短時間內進行多次發文，基於安全與平台考量，請您喝杯茶後，稍後再繼續您無私地分享~","短時間內多次發文","我知道了");case 79:e.next=103;break;case 81:if(!e.t1.response||401!==e.t1.response.status){e.next=85;break}J("component error",e.t1),e.next=103;break;case 85:if(!e.t1.response||409!==e.t1.response.status){e.next=101;break}return t.msgTitle="您的貼文已發佈完成，如需修改請前往貼文進行修改",t.msgContent="編輯失敗",t.confirmText="前往貼文",t.alertNoCancel=!1,e.next=92,t.$refs.alert.openModal();case 92:$=e.sent,t.msgTitle="",t.msgContent="",t.confirmText="",t.alertNoCancel=!0,$&&t.$router.push("/posts/".concat(t.data.key)),t.$refs.modal.hide(),e.next=103;break;case 101:return e.next=103,t.alert("送出失敗");case 103:return e.prev=103,t.isLoading=!1,e.finish(103);case 106:case"end":return e.stop()}}),e,null,[[0,74,103,106],[17,28,31,34]])})))()},onHidden:function(){Y(),z(),X(),this.msgContent="",this.msgTitle="",this.searchingText=[],this.searchTagResult=[],this.tagInput="",this.linkQuerying=!1,this.linkData=void 0,this.imageError=!1,this.title="",this.content="",this.tagInput="",this.image="",this.tags=[],this.attachs=[],this.shareRoomList=[],this.userClassroomList=[],this.shareRoomSelected={selected:null,checked:!1,disabled:!1,optionList:[]},this.schedulePost={checked:!1,time:"",warn:!1,disabled:!1,display:!0},this.jobCatData={data:{},initial:!1},this.nabiJobCookie=null,this.recommendNabiTags={suggestionKey:"",contentTag:[],jobcatTag:[],jobcat:0,jobTitle:"",initial:!1},this.isCko=!1,this.$emit("hidden")},openModal:function(){this.$refs.modal&&this.$refs.modal.show()},openTermContentModal:function(){this.$refs.TermContentModal.openModal()},openPostSuccessModal:function(data){this.$refs.PostSuccessModal.openModal(data)},openPostNoticeModal:function(){this.$refs.PostNoticeModal.openModal()},fetchUserClassroom:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$api.user.getUserClassroom({size:20,start:1});case 3:if(n=e.sent,o=n.result.filter((function(t){var e=t.privacy_state;return 2!==(void 0===e?1:e)})).map((function(t){return{room_id:t.room_id,room_title:t.room_title,disabled:!1}})),t.userClassroomList=o.map((function(t){return{room_id:t.room_id,room_title:t.room_title}})),t.isOffice||!t.roomId){e.next=8;break}return e.abrupt("return");case 8:if(0!==t.userClassroomList.length){e.next=10;break}return e.abrupt("return");case 10:t.shareRoomSelected.optionList=Object(r.a)(t.userClassroomList).map((function(t){return{id:t.room_id,value:t.room_title}})),t.shareRoomSelected.selected={id:t.shareRoomSelected.optionList[0].id,value:t.shareRoomSelected.optionList[0].value},e.next=18;break;case 14:e.prev=14,e.t0=e.catch(0),t.$refs.modal.hide(),J("component error",e.t0);case 18:case"end":return e.stop()}}),e,null,[[0,14]])})))()},imageSrc:function(image){return image?this.imageError?this.$getDefaultImgByHash(image):image:"".concat(this.DOMAIN_NABI,"/static/img/posts/p1.png")},recordTemp:function(){this.isEdit||this.$setLocalStorage("editingContent",{title:this.title,content:this.content})},getRecommendJobcat:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$api.nabi.getRecommendJobcat();case 2:t.jobCatData.data=e.sent,t.jobCatData.initial=!0;case 4:case"end":return e.stop()}}),e)})))()},getRecommendNabiTags:P()(function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(e){var title,content,n,r,l,d,f,data,m,A,h,v,y=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return title=e.title,content=e.content,n=e.jobcat,t.prev=1,r=this.recommendNabiTags.jobcat,l=Number(n)||Number(r)||Number(this.jobCat.jobcat)||2004001005,t.next=6,Promise.all([Object(o.a)(regeneratorRuntime.mark((function t(){var e,n,data;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,y.$api.an9.getRecommendNabiTags({title:title||y.title,content:content||y.content,jobcat:l});case 2:return e=t.sent,n=e.data,data=void 0===n?{}:n,t.abrupt("return",data);case 6:case"end":return t.stop()}}),t)})))(),Object(o.a)(regeneratorRuntime.mark((function t(){var e,n,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,y.$api.nabi.getFunNoDesc([String(l)]);case 2:return e=t.sent,n=Object(c.a)(e,1),o=n[0].funDescript,t.abrupt("return",o);case 6:case"end":return t.stop()}}),t)})))()]);case 6:d=t.sent,f=Object(c.a)(d,2),data=f[0],m=f[1],A=data.suggestion_key,h=data.contentTag,v=data.jobcatTag,this.recommendNabiTags.suggestionKey=A,this.recommendNabiTags.contentTag=h,this.recommendNabiTags.jobcatTag=v,this.recommendNabiTags.jobcat=l,this.recommendNabiTags.jobTitle=m,this.recommendNabiTags.initial=!0,t.next=22;break;case 19:t.prev=19,t.t0=t.catch(1),this.recommendNabiTags.initial=!0;case 22:case"end":return t.stop()}}),t,this,[[1,19]])})));return function(e){return t.apply(this,arguments)}}(),1e3),changeJobcat:function(data){var t=data.id;this.recommendNabiTags.jobcat=t}})},Z=W,$=(n(1401),Object(I.a)(Z,(function(){var t=this,e=t._self._c;return e("div",[e("client-only",[e("b-modal",{ref:"modal",attrs:{id:"bv-modal-postDialog",centered:"",scrollable:"","dialog-class":"postDialog","no-close-on-backdrop":"","no-close-on-esc":""},on:{hidden:t.onHidden,show:t.onModalShow},nativeOn:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.onSendClick.apply(null,arguments))}},scopedSlots:t._u([{key:"modal-header",fn:function(n){var o=n.close;return[e("h5",{staticClass:"header-text"},[t._v(t._s(t.data?"修改貼文":"新增貼文"))]),t._v(" "),e("b-icon",{staticClass:"btn-close pointer",attrs:{icon:"x"},on:{click:function(t){return t.preventDefault(),o.apply(null,arguments)}}}),t._v(" "),e("MessageBox",{ref:"alert",attrs:{title:t.msgTitle,msg:t.msgContent,"no-cancel":t.alertNoCancel,"confirm-text":t.confirmText}}),t._v(" "),e("MessageBox",{ref:"alertLogin",attrs:{title:"系統提示",msg:"系統偵測到您已登出，如需操作相關內容，請重新進行登入。","cancel-text":"了解","confirm-text":"登入"}})]}},{key:"default",fn:function(o){var r=o.close;return[e("ValidationObserver",{ref:"observer",attrs:{slim:""}},[e("div",{staticClass:"postDialog__content"},[e("form",{staticClass:"main-form",attrs:{action:""}},[e("ValidationProvider",{attrs:{rules:"required|postTitleLen:10,60|sensitiveWord"},scopedSlots:t._u([{key:"default",fn:function(n){var o=n.failed,r=n.errors;return[e("div",{staticClass:"form-group position-relative",class:{"is-invalid":o}},[e("label",{staticClass:"d-flex justify-content-between"},[e("b",[t._v("貼文內容"),e("span",{staticClass:"text-danger"},[t._v("*")])]),t._v(" "),e("a",{staticClass:"text-blue",attrs:{href:"javascript:void(0);"},on:{click:t.openTermContentModal}},[t._v("會員規約")])]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.title,expression:"title"}],staticClass:"form-control w-100",attrs:{type:"text",placeholder:"【標題】一句話說明想分享的學習內容",name:"標題",maxlength:"60"},domProps:{value:t.title},on:{input:[function(e){e.target.composing||(t.title=e.target.value)},t.recordTemp],keydown:function(t){13===t.keyCode&&t.preventDefault()}}}),t._v(" "),e("h5",{staticClass:"title-alert position-absolute mb-0 text-7e"},[e("span",{staticClass:"pr-2"},[t._v("必填")]),t._v(t._s(t.title.length)+"/60\n                                    ")]),t._v(" "),o?e("div",{staticClass:"invalid-txt"},[t._v("\n                                        "+t._s(r[0])+"\n                                    ")]):t._e()])]}}],null,!0)}),t._v(" "),e("div",{staticClass:"flex-grow-1"},[e("ValidationProvider",{ref:"postContent",attrs:{rules:t.contentRules,name:"內文"},scopedSlots:t._u([{key:"default",fn:function(n){var o=n.failed,r=n.errors;return[e("div",{staticClass:"postArea",class:{"is-invalid":o}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.content,expression:"content"}],attrs:{id:"postTextArea",rows:"5",placeholder:"【內容】貼上想分享學習資源，例如：網路文章、學習影片、自己的學習心得...等等，也可以上傳圖片、影片、教學檔案哦!",maxlength:"5000",lazy:""},domProps:{value:t.content},on:{paste:t.onPaste,change:t.getLinkData,input:[function(e){e.target.composing||(t.content=e.target.value)},t.recordTemp],keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:t.getLinkData.apply(null,arguments)}}}),t._v(" "),e("p",[t.hasMediaContent?t._e():e("span",{staticClass:"pr-2"},[t._v("必填")]),t._v(t._s(t.content.length)+"/5000\n                                        ")]),t._v(" "),o?e("div",{staticClass:"invalid-txt"},[t._v("\n                                            "+t._s(r[0])+"\n                                        ")]):t._e()])]}}],null,!0)})],1),t._v(" "),e("div",[e("div",{staticClass:"imgBlock imgBlock__attach"},[t.linkData&&0===t.attachs.length?e("div",{staticClass:"imgBox iconClose"},[e("div",{staticClass:"closeIcon",on:{click:t.cancelGetLinkData}}),t._v(" "),e("div",{staticClass:"imgLink"},[e("div",{class:["imgLink-img",{contain:!t.linkQuerying}]},[t.linkQuerying?e("div",{staticClass:"w-100 h-100 d-flex align-items-center justify-content-center"},[e("img",{staticClass:"loader-icon w-100 m-0",attrs:{src:n(375)}})]):t.linkData.showUrl?e("img",{attrs:{width:"100%",src:t.imageSrc(t.linkData.showUrl)},on:{error:function(e){t.imageError=!0}}}):e("img",{attrs:{src:"".concat(t.DOMAIN_NABI,"/static/img/posts/p").concat(t.randomImgae,".png")}})]),t._v(" "),e("div",{staticClass:"imgLink-info"},[e("div",{staticClass:"imgLink-label"},[t._v("\n                                                    "+t._s(t.linkData.title)+"\n                                                ")]),t._v(" "),e("div",{staticClass:"imgLink-label"},[t._v("\n                                                    "+t._s(t.linkData.content)+"\n                                                ")])])])]):t._e(),t._v(" "),t._l(t.attachs,(function(o,r){return e("div",{key:r,staticClass:"imgBox iconClose"},[e("div",{staticClass:"closeIcon",on:{click:function(e){return t.removeFile(o)}}}),t._v(" "),"VIDEO"===o.file_type?e("div",{staticClass:"imgLink h-100"},[e("div",{class:["imgLink-img",{"contain iconPlay":"success"===o.convertStatus}]},["success"!==o.convertStatus?e("div",{staticClass:"w-100 h-100 d-flex align-items-center justify-content-center"},[e("img",{staticClass:"loader-icon w-100 m-0",attrs:{src:n(375)}})]):o.showUrl?e("img",{attrs:{src:o.showUrl}}):e("img",{attrs:{src:n(612)}})]),t._v(" "),e("div",{staticClass:"imgLink-info"},[e("div",{staticClass:"imgLink-label"},[t._v("\n                                                    "+t._s(o.title)+"\n                                                ")])])]):"PIC"===o.file_type?e("div",{staticClass:"imgLink h-100"},[e("div",{class:["imgLink-img",{contain:"success"===o.convertStatus}]},["success"!==o.convertStatus?e("div",{staticClass:"w-100 h-100 d-flex align-items-center justify-content-center"},[e("img",{staticClass:"loader-icon w-100 m-0",attrs:{src:n(375)}})]):o.showUrl?e("SimpleLightBox",{scopedSlots:t._u([{key:"default",fn:function(){return[e("img",{attrs:{src:o.showUrl}})]},proxy:!0},{key:"openLightBox",fn:function(){return[e("img",{attrs:{src:o.showUrl}})]},proxy:!0}],null,!0)}):e("img",{attrs:{src:n(612)}})],1),t._v(" "),e("div",{staticClass:"imgLink-info"},[e("div",{staticClass:"imgLink-label"},[t._v("\n                                                    "+t._s(o.title)+"\n                                                ")])])]):"AUDIO"===o.file_type?e("div",{staticClass:"imgLink h-100"},[e("div",{class:["imgLink-img"]},["success"!==o.convertStatus?e("div",{staticClass:"w-100 h-100 d-flex align-items-center justify-content-center"},[e("img",{staticClass:"loader-icon w-100 m-0",attrs:{src:n(375)}})]):e("img",{style:{background:"linear-gradient(to left, #3d3d3d, #aaa)",objectFit:"contain"},attrs:{src:n(651)}})]),t._v(" "),e("div",{staticClass:"imgLink-info"},[e("div",{staticClass:"imgLink-label"},[t._v("\n                                                    "+t._s(o.title)+"\n                                                ")])])]):"FILE"===o.file_type?e("div",{staticClass:"imgLink h-100"},[e("div",{class:["imgLink-img",{contain:"success"===o.convertStatus}]},["success"!==o.convertStatus?e("div",{staticClass:"w-100 h-100 d-flex align-items-center justify-content-center"},[e("img",{staticClass:"loader-icon w-100 m-0",attrs:{src:n(375)}})]):o.showUrl?e("img",{attrs:{src:o.showUrl}}):e("img",{attrs:{src:n(612)}})]),t._v(" "),e("div",{staticClass:"imgLink-info"},[e("div",{staticClass:"imgLink-label"},[t._v("\n                                                    "+t._s(o.title)+"\n                                                ")])])]):t._e()])}))],2)]),t._v(" "),e("div",{staticClass:"imgBox hasAttach"},[e("input",{ref:"upload",staticClass:"d-none",attrs:{type:"file",accept:"image/*,video/*,audio/*,.pdf,.doc,.docx,.ppt,.pptx,.xls ,.xlsx",multiple:""},on:{change:t.onFileChange,click:function(t){t.target.value=""}}}),t._v(" "),e("div",{staticClass:"imgLink"},[e("div",{staticClass:"attachBox"},[e("div",{on:{click:t.upload}},[e("span",[t._v("檔案類型：圖片、檔案、影片、音檔")]),t._v(" "),e("span",[e("img",{attrs:{src:n(642),alt:""}})])]),t._v(" "),e("div",{staticClass:"p14 text-blue ml-3",on:{click:t.openPostNoticeModal}},[t._v("\n                                            說明\n                                        ")])])])]),t._v(" "),e("ValidationProvider",{attrs:{rules:t.isOffice?"required|postTagsLen:1,30|sensitiveWord":"sensitiveWord"},scopedSlots:t._u([{key:"default",fn:function(n){var o=n.failed,r=n.errors;return[e("div",{staticClass:"dropupArea mb-6"},[e("div",{staticClass:"form-group",class:{"is-invalid":o}},[e("label",{attrs:{for:""}},[e("b",[t._v("主題標籤")])]),t._v(" "),e("input",{attrs:{name:"主題標籤",type:"hidden"},domProps:{value:t.tagsCheck}}),t._v(" "),e("div",[e("DropUpTags",{attrs:{failed:o,tags:t.formatTag,"drowdown-list":t.drowdownList,"limit-tags":t.limitTagsCount,"label-txt":"請點選相關類別","placeholder-text":"按下Enter新增標籤，設定越多，教室就會被越多人看到喔","is-enter-add-new-tag":!0},on:{clickTagRemoveEvent:t.removeTag,tagInputChange:t.searchTag,actionAddTag:t.insertTag}})],1),t._v(" "),o?e("div",{staticClass:"invalid-txt"},[t._v("\n                                            "+t._s(r[0])+"\n                                        ")]):t._e()])])]}}],null,!0)}),t._v(" "),e("div",{staticClass:"mb-6"},[e("RecommendTags",{ref:"recommendTags",attrs:{tags:t.defaultTags},on:{insertTag:t.insertTag},scopedSlots:t._u([{key:"title",fn:function(){return[e("b",{staticClass:"line-height-133"},[t._v("推薦標籤：")])]},proxy:!0}],null,!0)})],1),t._v(" "),e("div",{staticClass:"mb-6"},[e("RecommendTags",{ref:"recommendTags",attrs:{tags:t.recommendJobTagsFilter},on:{insertTag:t.insertTag,changeJobcat:t.changeJobcat},scopedSlots:t._u([{key:"title",fn:function(n){var o=n.openSearchJobcatModal;return[e("span",{staticClass:"line-height-133 recommendTagsTitle"},[t._v("企業所需"),e("b",[t._v("「"+t._s(t.recommendNabiTags.jobTitle)+"」")]),t._v("Top 10技能"),e("span",{staticClass:"text-blue pointer p14 changeJob",on:{click:o}},[t._v("\n                                                換個職業\n                                            ")])])]}}],null,!0)})],1),t._v(" "),t.showShareToRoom?e("div",[e("b",[t._v("分享到教室")]),t._v(" "),e("div",{staticClass:"mt-3 d-flex align-items-center"},[e("label",{staticClass:"custom-checkbox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.shareRoomSelected.checked,expression:"shareRoomSelected.checked"}],staticClass:"mb-0",attrs:{id:"skillItem",type:"checkbox",disabled:t.shareRoomSelected.disabled},domProps:{checked:Array.isArray(t.shareRoomSelected.checked)?t._i(t.shareRoomSelected.checked,null)>-1:t.shareRoomSelected.checked},on:{change:function(e){var n=t.shareRoomSelected.checked,o=e.target,r=!!o.checked;if(Array.isArray(n)){var c=t._i(n,null);o.checked?c<0&&t.$set(t.shareRoomSelected,"checked",n.concat([null])):c>-1&&t.$set(t.shareRoomSelected,"checked",n.slice(0,c).concat(n.slice(c+1)))}else t.$set(t.shareRoomSelected,"checked",r)}}}),t._v(" "),e("span",{staticClass:"checkbox mr-2"})]),t._v(" "),e("Select",{attrs:{"option-list":t.shareRoomSelected.optionList},model:{value:t.shareRoomSelected.selected,callback:function(e){t.$set(t.shareRoomSelected,"selected",e)},expression:"shareRoomSelected.selected"}})],1)]):t._e(),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.schedulePost.display,expression:"schedulePost.display"}],staticClass:"schedulePost"},[e("b",[t._v("排程發佈")]),t._v(" "),e("div",{staticClass:"schedule"},[e("div",{staticClass:"checkboxBlock"},[e("ValidationProvider",{attrs:{vid:"scheduleCheckbox",name:"scheduleCheckbox"}},[e("label",{staticClass:"custom-checkbox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.schedulePost.checked,expression:"schedulePost.checked"}],attrs:{type:"checkbox",disabled:t.schedulePost.disabled},domProps:{checked:Array.isArray(t.schedulePost.checked)?t._i(t.schedulePost.checked,null)>-1:t.schedulePost.checked},on:{change:[function(e){var n=t.schedulePost.checked,o=e.target,r=!!o.checked;if(Array.isArray(n)){var c=t._i(n,null);o.checked?c<0&&t.$set(t.schedulePost,"checked",n.concat([null])):c>-1&&t.$set(t.schedulePost,"checked",n.slice(0,c).concat(n.slice(c+1)))}else t.$set(t.schedulePost,"checked",r)},t.scheduleCheckboxChange]}}),t._v(" "),e("span",{staticClass:"checkbox"}),t._v(" "),e("span",{staticClass:"postTimeText"},[t._v("發布時間")])])])],1),t._v(" "),e("ValidationProvider",{attrs:{vid:"scheduleTime",name:"scheduleTime",rules:"schedule:@scheduleCheckbox"},scopedSlots:t._u([{key:"default",fn:function(n){var o=n.failed,r=n.errors;return[e("div",{staticClass:"setTime",class:{warn:o}},[e("date-picker",{attrs:{placeholder:"時間",type:"datetime",format:"YYYY/MM/DD HH:mm","value-type":"date","time-title-format":"YYYY/MM/DD","show-week-number":!0,disabled:!t.schedulePost.checked,"input-attr":{ref:"scheduleTime"},"disabled-date":t.disabledBeforeToday,"disabled-time":t.notBeforeHalfHoursClock},model:{value:t.schedulePost.time,callback:function(e){t.$set(t.schedulePost,"time",e)},expression:"schedulePost.time"}})],1),t._v(" "),o?e("div",{staticClass:"warn"},[t._v("\n                                            "+t._s(r[0])+"\n                                        ")]):t._e()]}}],null,!0)})],1)]),t._v(" "),t.isOffice?t._e():e("div",{staticClass:"postPrivacy"},[e("div",{staticClass:"titleBlock"},[e("span",{staticClass:"title"},[t._v("誰能看到這則貼文")]),t._v(" "),t.roomManagers.findIndex((function(e){return String(e.pid)===String(t.pid)}))>-1&&2===t.privacyState?e("span",{staticClass:"description"},[t._v(t._s("protected"===t.privacy?"本貼文僅限教室中的共學成員觀看。":"任何人都可以觀看此貼文"))]):e("ToolTips",[t._v(t._s(1===t.privacyState?"任何人都可以觀看此貼文":"本貼文僅限共學成員觀看"))])],1),t._v(" "),t.roomManagers.findIndex((function(e){return String(e.pid)===String(t.pid)}))>-1&&2===t.privacyState?e("div",{staticClass:"privacySetting"},[e("span",{staticClass:"type",class:{active:"protected"===t.privacy},on:{click:function(e){return t.setPrivacy("protected")}}},[t._v("共學限定")]),t._v(" "),e("span",{staticClass:"type",class:{active:"public"===t.privacy},on:{click:function(e){return t.setPrivacy("public")}}},[t._v("全站公開")])]):t._e()]),t._v(" "),e("div",{staticClass:"btnGroup"},[e("button",{staticClass:"btn btn-outline-primary",on:{click:function(t){return t.preventDefault(),r.apply(null,arguments)}}},[t._v("\n                                    取消\n                                ")]),t._v(" "),e("button",{staticClass:"btn btn-secondary",attrs:{"data-gtm-btn":"發文-發佈",disabled:t.isLoading},on:{click:function(e){return e.preventDefault(),t.onSendClick.apply(null,arguments)}}},[t._v("\n                                    發佈\n                                ")])])],1)])])]}}])}),t._v(" "),e("TermContentModal",{ref:"TermContentModal"}),t._v(" "),e("PostSuccessModal",{ref:"PostSuccessModal"}),t._v(" "),e("PostNoticeModal",{ref:"PostNoticeModal"})],1)],1)}),[],!1,null,"2ae7aef2",null));e.a=$.exports},function(t,e,n){"use strict";n(14),n(13),n(11),n(15),n(10),n(16);var o=n(4),r=n(3),c=(n(27),n(21),n(66),n(83),n(8),n(50),n(51),n(163),n(139),{props:{list:{type:Array,default:function(){return[]}},setting:{type:Object,default:function(){return{}}},thumbnailArrange:{type:String,default:"horizon"},slideDirection:{type:Boolean,default:!0}},data:function(){return{revealIns:null,activeIndex:0,windowWidth:window.innerWidth}},computed:{isVerticalSlide:function(){return!!this.revealIns&&this.revealIns.isVerticalSlide()},isPC:function(){return this.windowWidth>1024}},beforeDestroy:function(){this.revealIns.off("slidechanged"),this.revealIns.destroy()},mounted:function(){this.init()},methods:{init:function(){var t=this;this.revealIns=this.$reveal(null,this.setting),this.revealIns.initialize({width:"100%",height:"100%",margin:0}),this.revealIns.on("slidechanged",(function(e){(t.isVerticalSlide?t.activeIndex=e.indexv:t.activeIndex=e.indexh,t.thumbnailArrange)&&document.querySelectorAll(".carouselList")[t.activeIndex].scrollIntoView({behavior:"smooth",block:"nearest"})})),window.addEventListener("resize",(function(e){t.windowWidth=window.innerWidth}))},goSlide:function(t){this.revealIns.slide(t,t)}}}),l=(n(1373),n(38)),d=Object(l.a)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"viewerWrap h-100"},[e("div",{staticClass:"d-flex h-100"},["verticle"===t.thumbnailArrange&&t.isPC?e("div",{staticClass:"overview-carousel-vertical"},t._l(t.list,(function(img,n){return e("div",{key:n,staticClass:"carouselList"},[e("div",{staticClass:"carouselList__item",on:{click:function(e){return t.goSlide(n)}}},[e("img",{staticClass:"img",class:{"img-opacity":t.activeIndex!==n},attrs:{src:img}}),t._v(" "),e("div",{staticStyle:{"text-align":"center"}},[t._v("第"+t._s(n+1)+"頁")])])])})),0):t._e(),t._v(" "),e("div",{staticClass:"reveal deck"},[e("div",{staticClass:"slides"},[t.slideDirection?t._l(t.list,(function(img,t){return e("section",{key:t,staticClass:"h-100"},[e("img",{attrs:{"data-src":img}})])})):[e("section",t._l(t.list,(function(img,t){return e("section",{key:t},[e("img",{attrs:{"data-src":img}})])})),0)]],2)])]),t._v(" "),"horizon"===t.thumbnailArrange&&t.isPC?e("div",{staticClass:"overview-carousel-horizon"},t._l(t.list,(function(img,n){return e("div",{key:n,staticClass:"carouselList"},[e("div",{staticClass:"carouselList__item",on:{click:function(e){return t.goSlide(n)}}},[e("img",{staticClass:"img",class:{"img-opacity":t.activeIndex!==n},attrs:{src:img}}),t._v(" "),e("div",{staticStyle:{"text-align":"center"}},[t._v("第"+t._s(n+1)+"頁")])])])})),0):t._e()])}),[],!1,null,"853b2b82",null).exports,f=n(36);function m(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function A(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?m(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var h={components:{DocumentViewer:d},data:function(){return{imgUrls:[],fileId:"",dataKey:"",checkLogin:!1,pastExamGtm:!1,downloadName:""}},computed:A({},Object(f.c)(["isLogin","pid"])),methods:A(A({},Object(f.b)("document",["getFileUrl"])),{},{open:function(t){var e=t.fileId,n=t.pagesUrl,o=t.dataKey,r=t.checkLogin,c=t.pastExamGtm,l=t.downloadName;this.imgUrls=n,this.fileId=e,this.dataKey=o,this.checkLogin=r,this.pastExamGtm=c,this.downloadName=l||"",this.$refs.modal.show()},hidden:function(){this.$emit("hiddenDoc"),this.$refs.modal.hide()},share:function(){var t=this,e="";e=this.dataKey?"".concat("https://nabi.104.com.tw","/posts/").concat(this.dataKey,"?utm_source=104nabi&utm_medium=share"):"".concat("https://nabi.104.com.tw").concat(this.$route.path),navigator.clipboard.writeText(e).then((function(){t.$toast.show("您已複製連結！")}),(function(){}))},download:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o,link;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.checkLogin||t.isLogin){e.next=3;break}return t.$emit("login-download",{file_id:t.fileId}),e.abrupt("return");case 3:if(t.fileId){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,t.getFileUrl({fileId:t.fileId,target:""});case 7:if(n=e.sent,o=n[0].url[0],!n[0].url[0].includes(".pdf")){e.next=13;break}return e.next=12,t.getPDFDownloadUrl(n[0].url[0]);case 12:o=e.sent;case 13:(link=document.createElement("a")).href=o,t.downloadName?link.setAttribute("download",t.downloadName):link.setAttribute("download","download"),link.click(),link.remove();case 18:case"end":return e.stop()}}),e)})))()},getPDFDownloadUrl:function(t){return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(t).then((function(t){return t.blob()})).then((function(t){return URL.createObjectURL(new Blob([t],{type:"application/pdf"}))}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))()}})},v=Object(l.a)(h,(function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{"hide-header":"","hide-footer":"","dialog-class":"modal-dialog docView"}},[e("i",{staticClass:"jb_icon_delete position-absolute pointer text-white",staticStyle:{top:"12px",right:"12px","z-index":"1"},on:{click:t.hidden}}),t._v(" "),e("div",{staticClass:"d-flex flex-column h-100"},[e("div",{staticClass:"docView__header d-flex justify-content-center py-3"},[e("div",{staticClass:"d-flex align-items-center mx-4 text-white pointer",attrs:{"data-gtm-test":t.pastExamGtm?"分享考古題":void 0},on:{click:t.share}},[e("img",{attrs:{width:"16",src:n(633)}}),t._v(" "),e("span",{staticClass:"pl-3"},[t._v("分享")])]),t._v(" "),e("div",{staticClass:"d-flex align-items-center mx-4 text-white pointer",attrs:{"data-gtm-test":t.pastExamGtm?"下載考古題":void 0},on:{click:t.download}},[e("img",{attrs:{width:"16",src:n(634)}}),t._v(" "),e("span",{staticClass:"pl-3"},[t._v("下載")])])]),t._v(" "),e("DocumentViewer",{attrs:{list:t.imgUrls,setting:{progress:!1,controlsLayout:"edges",slideNumber:"c/t",overview:!1},"thumbnail-arrange":""}})],1)])}),[],!1,null,null,null);e.a=v.exports},function(t,e,n){"use strict";n(14),n(13),n(11),n(8),n(15),n(10),n(16);var o=n(3);function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){Object(o.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}n(35),n(37),n(69),n(68),n(71);var l=n(23),d=n(4),f=(n(74),n(26),n(40),n(105),n(21),n(30),n(65),n(50),n(51),n(87),n(34),n(110),n(27),n(36)),m=n(987),A=n(593),h=n(568),v=n(12);function y(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return C(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return C(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,r=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw r}}}}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function w(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function x(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?w(Object(n),!0).forEach((function(e){Object(o.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var k=n(39)("src/client/components/page/Content/PostItem/ContentInterestSkill.vue").debug,_={components:{SkillListItem:m.a,FocusSkillModal:A.a,LoginAlert:h.a},props:{gtmAttr:{type:Object,default:function(){return{}}}},computed:x(x({},Object(f.c)(["isLogin"])),Object(f.e)("updatelist",["roomUpdate"])),watch:{roomUpdate:function(){var t=this;return Object(d.a)(regeneratorRuntime.mark((function e(){var i,n,o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,t.interestSkills.isInitial){e.next=3;break}return e.abrupt("return");case 3:i=0;case 4:if(!(i<t.interestSkills.data.length)){e.next=13;break}return n=t.interestSkills.data[i],e.next=8,t.getRoomUpdate(n.room_id);case 8:(o=e.sent)&&(r=t.$deepUpdate(n,o),t.interestSkills.data[i]=r,v.default.set(t.interestSkills.data,i,r));case 10:i++,e.next=4;break;case 13:e.next=17;break;case 15:e.prev=15,e.t0=e.catch(0);case 17:case"end":return e.stop()}}),e,null,[[0,15]])})))()}},mounted:function(){var t=this.$nuxt.context.params.roomId,e=t&&t.startsWith("ability_");this.isOffice=e,this.fetchInterestSkills(t&&t.replace("ability_",""))},data:function(){return{interestSkills:{data:[],isLoading:!1,isInitial:!1,error:void 0,lastFetchTime:new Date},isOffice:!1}},methods:x(x(x(x({},Object(f.d)("updatelist",["addRoomUpdate"])),Object(f.b)("updatelist",["getRoomUpdate"])),Object(f.d)(["setRunLogin"])),{},{fetchInterestSkills:function(t){var e=this;return Object(d.a)(regeneratorRuntime.mark((function n(){var o,r,c,d,f,m,A,h;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!e.interestSkills.isLoading){n.next=2;break}return n.abrupt("return");case 2:if(n.prev=2,e.interestSkills.isLoading=!0,o=[],e.isOffice){n.next=11;break}return n.next=8,e.$api.cls.getClassroom({roomId:t});case 8:r=n.sent,c=r.data.official_room_list.filter((function(t){return!t.is_favorite})),o.splice.apply(o,[0,0].concat(Object(l.a)(c)));case 11:if(!(o.length<5)){n.next=32;break}return n.next=14,e.$api.nabi.getTopSkill(!0);case 14:d=n.sent,f=d.map((function(t){return{room_id:Number(t.capabilityId),room_type:1,room_title:t.capability,photo_file_url:t.classroomImage,photo_small_file_url:t.classroomImageSmall,is_favorite:"true"===t.interactive.isFavorite,favorite_count:t.interactive.favoriteCount,description:""}})),m=y(f),n.prev=17,h=regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=A.value,o.find((function(t){return t.room_id===e.room_id}))||o.push(e);case 2:case"end":return t.stop()}}),t)})),m.s();case 20:if((A=m.n()).done){n.next=24;break}return n.delegateYield(h(),"t0",22);case 22:n.next=20;break;case 24:n.next=29;break;case 26:n.prev=26,n.t1=n.catch(17),m.e(n.t1);case 29:return n.prev=29,m.f(),n.finish(29);case 32:e.interestSkills.data=o.slice(0,5),n.next=39;break;case 35:return n.prev=35,n.t2=n.catch(2),e.interestSkills.error={err:n.t2,errorTime:new Date},n.abrupt("return",[]);case 39:return n.prev=39,e.interestSkills.isLoading=!1,e.interestSkills.isInitial=!0,n.finish(39);case 43:case"end":return n.stop()}}),n,null,[[2,35,39,43],[17,26,29,32]])})))()},linkToClass:function(data){var t="";1===data.room_type&&(t="/room/ability_".concat(data.room_id)),2===data.room_type&&(t="/room/".concat(data.room_id)),this.$router.push(t)},toggleFocus:function(data){var t=this;return Object(d.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.isLogin){e.next=3;break}return t.$refs.LoginAlert.openModal(),e.abrupt("return");case 3:if(!(t.interestSkills.data.findIndex((function(t){return t.room_id===data.room_id}))>-1)){e.next=35;break}if(e.prev=5,!data.is_favorite){e.next=17;break}if(2!==data.room_type){e.next=10;break}return e.next=10,t.$api.cls.cancelRoomFavorite({roomId:data.room_id});case 10:if(1!==data.room_type){e.next=13;break}return e.next=13,t.$api.user.updateSkillFavorite({capabilityId:String(data.room_id),favoriteState:"0"});case 13:t.addRoomUpdate({room_id:data.room_id,is_favorite:!1}),t.$toast.show("已取消關注囉！"),e.next=27;break;case 17:if(2!==data.room_type){e.next=21;break}return e.next=20,t.$api.cls.setRoomFavorite({room_id:data.room_id});case 20:n=e.sent;case 21:if(1!==data.room_type){e.next=25;break}return e.next=24,t.$api.user.updateSkillFavorite({capabilityId:String(data.room_id),favoriteState:"1"});case 24:n=e.sent;case 25:t.addRoomUpdate({room_id:data.room_id,is_favorite:!0}),t.$toast.show('已關注到<a href="/mynabi/classroom" class="text-white" style="text-decoration: underline">我的教室</a>！');case 27:if(!n.isFirst&&!n.is_first){e.next=30;break}return e.next=30,t.$refs.focus.openModal();case 30:e.next=35;break;case 32:e.prev=32,e.t0=e.catch(5),k(e.t0);case 35:case"end":return e.stop()}}),e,null,[[5,32]])})))()}})},O=n(38),component=Object(O.a)(_,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"bigClassBlock p-0"},[e("div",{staticClass:"p-3 h3"},[t._v("你可能感興趣的教室")]),t._v(" "),e("div",t._l(t.interestSkills.data,(function(n,o){return e("SkillListItem",t._b({key:o,attrs:{"add-icon":!0,link:"/room/".concat(1===n.room_type?"ability_"+n.room_id:n.room_id)},on:{clickItem:t.linkToClass,toggleFocus:t.toggleFocus}},"SkillListItem",c(c({},n),t.gtmAttr),!1))})),1),t._v(" "),e("FocusSkillModal",{ref:"focus"}),t._v(" "),e("LoginAlert",{ref:"LoginAlert",attrs:{message:"互動功能"}})],1)}),[],!1,null,null,null);e.a=component.exports},function(t,e,n){"use strict";n(65),n(26),n(40),n(84),n(35),n(96);var o={props:{fetchLoading:{type:Boolean,default:!1},tags:{type:Array,default:function(){return[]}},drowdownList:{type:Array,default:function(){return[]}},limitTags:{type:Number,default:10},labelTxt:{type:String,default:""},placeholderText:{type:String,default:""},isEnterAddNewTag:{type:Boolean,default:!1},failed:{type:Boolean,default:!1}},data:function(){return{tagInput:"",isDropdownOpen:!1,isInitial:!0}},watch:{tagInput:function(t,e){t!==e&&""!==t&&(this.tags.length>=this.limitTags&&(this.tagInput="",this.isDropdownOpen=!1),this.isInitial=!1,this.$emit("tagInputChange",this.tagInput),this.isDropdownOpen=!0)}},methods:{tagSearchReplace:function(text){if(text&&this.tagInput){var t=this.tagInput.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),e=new RegExp("(".concat(t,")"),"i"),n=text.match(e);return n&&n.length>0?text.replace(n[0],"<b>".concat(n[0],"</b>")):text}},clickTagRemoveEvent:function(t){this.$emit("clickTagRemoveEvent",t)},tagOutClick:function(){this.isDropdownOpen=!1},actionAddTag:function(t,e){t.preventDefault(),""===this.tagInput||this.tags.length>=this.limitTags||(this.$emit("actionAddTag",{tag_name:e.room_title,ability_id:e.room_id?e.room_id:null}),this.isDropdownOpen=!1,this.tagInput="",document.getElementById("tags-basic").focus())}}},r=(n(1391),n(38)),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"dropUpTags"},[e("div",{class:["form-group","mb-0",{"is-invalid":t.failed}]},[e("div",{staticClass:"b-form-tags form-control h-auto grey tagStyle"},[e("div",{staticClass:"grey"},[e("ul",{staticClass:"d-flex flex-wrap"},[t._l(t.tags,(function(n,o){return e("li",{key:"".concat(n.ability_id?n.ability_id+String(o):o),staticClass:"badge b-form-tag d-inline-flex align-items-center mw-100 badge-pill mb-1 mt-1",class:{"badge-grey":n.default,"badge-skyBlue":!n.default}},[e("span",{staticClass:"b-form-tag-content flex-grow-1 text-truncate"},[t._v("\n                                "+t._s(n.tag_name)+"\n                            ")]),t._v(" "),n.default?t._e():e("button",{staticClass:"close b-form-tag-remove",attrs:{type:"button"},on:{click:function(e){return t.clickTagRemoveEvent(n)}}},[t._v("\n                                ×\n                            ")])])})),t._v(" "),e("li",{class:{"w-100":0===t.tags.length}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.tagInput,expression:"tagInput"}],class:["b-form-tags-input","flex-grow-1","pt-1","m-0","bg-transparent","border-0",{"w-100":0===t.tags.length}],staticStyle:{outline:"0px"},attrs:{id:"tags-basic",placeholder:0===t.tags.length?t.placeholderText:"",maxlength:"20",autocomplete:"off",lazy:""},domProps:{value:t.tagInput},on:{keydown:function(e){13===e.keyCode&&t.isEnterAddNewTag&&t.actionAddTag(e,{room_title:t.tagInput})},input:function(e){e.target.composing||(t.tagInput=e.target.value)}}})])],2)])]),t._v(" "),t.isDropdownOpen&&t.tagInput&&t.drowdownList.length>0?e("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.tagOutClick,expression:"tagOutClick"}],staticClass:"dropupWrap"},[t.labelTxt?e("div",{staticClass:"dropup-item text-7e labelTxt"},[t._v("\n                    "+t._s(t.labelTxt)+"\n                ")]):t._e(),t._v(" "),t._l(t.drowdownList,(function(n,o){return e("div",{key:o,staticClass:"dropup-item",domProps:{innerHTML:t._s(t.tagSearchReplace(n.room_title))},on:{click:function(e){return t.actionAddTag(e,n)}}})})),t._v(" "),t.fetchLoading?e("div",{staticClass:"d-flex m-auto loading"},[e("img",{staticClass:"loader-icon w-100 m-0",attrs:{src:n(375)}})]):t._e()],2):t._e()])])])}),[],!1,null,"3240bc81",null);e.a=component.exports},function(t,e,n){"use strict";var o=n(4),r=(n(27),n(39)("src/client/components/page/Content/PostItem/ContentFeedback.vue").error),c={props:{data:{type:Object,default:function(){return{}}}},data:function(){return{reason:[{id:1,text:"內容與主題無關",value:"1"},{id:2,text:"不吸引我",value:"2"},{id:3,text:"影片內容有誤",value:"3"},{id:4,text:"資訊過舊",value:"4"},{id:5,text:"其他",value:"99"}],isFinish:!1}},methods:{ResourceFeedback:function(t){var e=arguments,n=this;return Object(o.a)(regeneratorRuntime.mark((function o(){var c;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return c=e.length>1&&void 0!==e[1]?e[1]:"",o.prev=1,o.next=4,n.$api.nabi.addResourceFeedback({resourceId:n.data.resourceId?n.data.resourceId:n.data.uid,feedbackType:c,state:t});case 4:o.next=9;break;case 6:o.prev=6,o.t0=o.catch(1),r("component error",o.t0);case 9:return o.prev=9,"0"===t&&(n.removeFeedback(),n.isFinish=!1),"1"===t&&(n.isFinish=!0,n.$toast.show("已收到您的回饋")),o.finish(9);case 13:case"end":return o.stop()}}),o,null,[[1,6,9,13]])})))()},removeFeedback:function(){this.$emit("social-event",{eventType:"remove-feedback",key:this.data.key})}}},l=c,d=n(38),component=Object(d.a)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"avatar flex-column"},[e("div",{staticClass:"d-flex justify-content-between"},[e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"mr-2"},[e("img",{attrs:{width:"28",height:"28",src:n(1377)("./icon-".concat(t.isFinish?"feedback":"hide",".svg")),alt:""}})]),t._v(" "),e("div",[e("div",{staticClass:"d-flex flex-wrap"},[e("b",{staticClass:"mr-3"},[t._v(t._s(t.isFinish?"謝謝回饋～學習精靈感謝你！":"內容已隱藏"))]),t._v(" "),e("span",[t._v(t._s(t.isFinish?"":"告訴學習精靈你的想法"))])])])]),t._v(" "),t.isFinish?t._e():e("div",{staticClass:"btn btn-sm btn-outline-gray-dark",on:{click:function(e){return t.ResourceFeedback("0")}}},[t._v("\n            復原\n        ")])]),t._v(" "),e("div",{staticStyle:{"margin-left":"36px"}},[t._l(t.reason,(function(n){return e("div",{directives:[{name:"show",rawName:"v-show",value:!t.isFinish,expression:"!isFinish"}],key:n.id,staticClass:"btn btn-sm btn-outline-gray-dark mr-3 mt-3",on:{click:function(e){return t.ResourceFeedback("1",n.value)}}},[t._v("\n            "+t._s(n.text)+"\n        ")])})),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.isFinish,expression:"isFinish"}]},[e("span",{staticClass:"p16"},[t._v("我們也會根據你的回饋改善我們的內容。")])])],2)])}),[],!1,null,null,null);e.a=component.exports},function(t,e,n){var o,r,c;r=[],void 0===(c="function"==typeof(o=function(){var t=function(){},e={},n={},o={};function r(t,e){t=t.push?t:[t];var r,c,l,d=[],i=t.length,f=i;for(r=function(t,n){n.length&&d.push(t),--f||e(d)};i--;)c=t[i],(l=n[c])?r(c,l):(o[c]=o[c]||[]).push(r)}function c(t,e){if(t){var q=o[t];if(n[t]=e,q)for(;q.length;)q[0](t,e),q.splice(0,1)}}function l(e,n){e.call&&(e={success:e}),n.length?(e.error||t)(n):(e.success||t)(e)}function d(path,e,n,o){var r,c,l,f=document,m=n.async,A=(n.numRetries||0)+1,h=n.before||t,v=path.replace(/[\?|#].*$/,""),y=path.replace(/^(css|img|module|nomodule)!/,"");if(o=o||0,/(^css!|\.css$)/.test(v))(l=f.createElement("link")).rel="stylesheet",l.href=y,(r="hideFocus"in l)&&l.relList&&(r=0,l.rel="preload",l.as="style");else if(/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(v))(l=f.createElement("img")).src=y;else if((l=f.createElement("script")).src=y,l.async=void 0===m||m,c="noModule"in l,/^module!/.test(v)){if(!c)return e(path,"l");l.type="module"}else if(/^nomodule!/.test(v)&&c)return e(path,"l");l.onload=l.onerror=l.onbeforeload=function(t){var c=t.type[0];if(r)try{l.sheet.cssText.length||(c="e")}catch(t){18!=t.code&&(c="e")}if("e"==c){if((o+=1)<A)return d(path,e,n,o)}else if("preload"==l.rel&&"style"==l.as)return l.rel="stylesheet";e(path,c,t.defaultPrevented)},!1!==h(path,l)&&f.head.appendChild(l)}function f(t,e,n){var o,i,r=(t=t.push?t:[t]).length,c=r,l=[];for(o=function(path,t,n){if("e"==t&&l.push(path),"b"==t){if(!n)return;l.push(path)}--r||e(l)},i=0;i<c;i++)d(t[i],o,n)}function m(t,n,o){var r,d;if(n&&n.trim&&(r=n),d=(r?o:n)||{},r){if(r in e)throw"LoadJS";e[r]=!0}function m(e,n){f(t,(function(t){l(d,t),e&&l({success:e,error:n},t),c(r,t)}),d)}if(d.returnPromise)return new Promise(m);m()}return m.ready=function(t,e){return r(t,(function(t){l(e,t)})),m},m.done=function(t){c(t,[])},m.reset=function(){e={},n={},o={}},m.isDefined=function(t){return t in e},m})?o.apply(e,r):o)||(t.exports=c)},function(t,e,n){"use strict";n(675)},function(t,e,n){"use strict";n(676)},function(t,e,n){"use strict";n(677)},function(t,e,n){"use strict";n(678)},function(t,e,n){"use strict";n(679)},function(t,e,n){"use strict";n(709)},function(t,e,n){"use strict";n(710)},function(t,e,n){var map={"./icon-action-apply-border.svg":955,"./icon-action-favor-border.svg":956,"./icon-action-more.svg":627,"./icon-add.svg":931,"./icon-arrow-top.svg":594,"./icon-arrow-word-right.svg":711,"./icon-attach.svg":642,"./icon-avatar-photo.svg":957,"./icon-clap.svg":585,"./icon-close.svg":598,"./icon-delete-border.svg":958,"./icon-delete-white.svg":959,"./icon-feedback.svg":960,"./icon-follower.svg":932,"./icon-hide.svg":961,"./icon-loader.svg":375,"./icon-menu.svg":962,"./icon-message-green.svg":963,"./icon-message.svg":964,"./icon-mv-play.svg":965,"./icon-no-interested.svg":628,"./icon-play.svg":607,"./icon-progress-loader.svg":655,"./icon-pwa.svg":966,"./icon-recommend-click.svg":967,"./icon-recommend-normal.svg":968,"./icon-resume-edit.svg":608,"./icon-share-facebook.svg":586,"./icon-share-line.svg":587,"./icon-share-link.svg":588,"./icon-share-twitter.svg":969,"./icon-word-down.svg":970};function o(t){var e=r(t);return n(e)}function r(t){if(!n.o(map,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return map[t]}o.keys=function(){return Object.keys(map)},o.resolve=r,t.exports=o,o.id=1377},function(t,e,n){"use strict";n(712)},function(t,e,n){"use strict";n(713)},function(t,e,n){"use strict";n(714)},function(t,e,n){"use strict";n(715)},function(t,e,n){"use strict";n(716)},function(t,e,n){"use strict";n(717)},function(t,e,n){"use strict";n(718)},function(t,e,n){"use strict";n(719)},function(t,e,n){"use strict";n(720)},function(t,e,n){"use strict";n(721)},function(t,e,n){"use strict";n(722)},function(t,e,n){"use strict";n(723)},function(t,e,n){"use strict";n(724)},function(t,e,n){"use strict";n(725)},function(t,e,n){"use strict";n(726)},function(t,e,n){"use strict";n(37),n(66),n(83);var o=n(4),r=n(31),c=(n(27),n(65),n(14),n(13),n(11),n(8),n(15),n(10),n(16),n(3)),l=(n(61),n(21),[function(){var t=this._self._c;return t("div",{staticClass:"topIcon"},[t("img",{attrs:{src:n(632),alt:""}})])}]),d=n(23),f=(n(34),n(30),n(80),n(26),n(96),n(74),n(40),n(50),n(51),n(163),n(139),n(645)),m=n(630),A=n(657),h=n(646),v=n(727),y=n(629),C=n(658),w=n(593),x=n(572),k=n(1365),_=n(599),O=n(647),I=n(53),B=n(36);function S(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function j(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?S(Object(n),!0).forEach((function(e){Object(c.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var D=n(39)("src/client/components/page/Content/PostItem/ContentPost.vue").error,R=/^https?:\/\/(?:www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_+.~#?&/=]*)$/,M=/^https:\/\/podcasts.apple.com\//,U={components:{MoreTools:m.a,ReportDialog:A.a,DeleteAlert:h.a,ParseUrl:f.a,LeaveAlert:v.a,SimpleLightBox:y.a,CkoRoomList:C.a,ConfirmAlert:x.a,FocusSkillModal:w.a,VClamp:O.a,SimpleDocViewModal:k.a},props:{data:{type:Object,default:function(){return{}}},isSinglePage:{type:Boolean,default:!1},showToRoom:{type:Object,default:function(){return{}}},capability:{type:Object,default:function(){}},isMask:{type:Boolean,default:function(){return!1}}},data:function(){return{picUrl:"",videoUrl:"",fileUrl:"",isLightBox:!1,playerConfig:{autoplay:!1,start:0},lineNum:0,lineFlag:!1,fileFlag:!1,outSideUrl:"",DOMAIN_NABI:"https://nabi.104.com.tw",imageError:!1,isShowLogin:!1,tagFold:!1,errorAvatar:'this.src="/img/avatar-default.png"'}},computed:j(j({},Object(B.c)(["isLogin","pid"])),{},{isProtectActivity:function(){var t=this.data.privacy;return"protected"===(void 0===t?"public":t)},achievementScoreImg:function(){var t=this.data.sender_info,e=void 0===t?{}:t,o=(null===e?{}:e).info,r=void 0===o?{}:o,c=(null===r?{}:r).achievement_score,l=void 0===c?0:c;return n(null===l||l<400?561:l<1600?577:l<6400?578:l>=6400?579:561)},TOP:function(){return _.i},setTopKey:function(){var t=(this.showToRoom||{}).setTopKey,e=void 0===t?"":t;return e},showTopTool:function(){var t=this.showToRoom,e=t.top_activitys,n=void 0===e?[]:e,o=t.creator_pid,r=void 0===o?0:o,c=this.data.sortType;return String(r)===this.pid&&2===this.roomType&&(n.length>0&&c===this.TOP||0===n.length)},date:function(){var t=new Date(this.data.create_date),e=Number(new Date(this.data.create_date)/1e3),n=new Date,o=parseInt((new Date).getTime()/1e3),r=o-e,c=t.getFullYear(),l=t.getMonth()>8?t.getMonth()+1:"0"+(t.getMonth()+1),dd=t.getDate()>9?t.getDate():"0"+t.getDate(),d=("0"+t.getHours()).slice(-2),f=("0"+t.getMinutes()).slice(-2);if(r<60)return"剛剛";if(r<3600)return Math.floor(r/60)+"分鐘前";if(r<86400)return Math.floor(r/60/60)+"小時前";var m=new Date(o-86400),A=new Date(o-172800);return m.getFullYear()===c&&m.getMonth()+1===l&&m.getDate()===dd?"昨天 23:00":A.getFullYear()===c&&A.getMonth()+1===l&&A.getDate()===dd?"前天 10:00":n.getFullYear()===c?l+"/"+dd+" "+d+":"+f:c+"/"+l+"/"+dd},randomImgae:function(){if(this.data&&this.data.files){var t=this.data.files.filter((function(t){return"LINK"===t.file_type})),e="";t.length>0&&(e=t[0].file_link);var n=String(this.$stringHash(e));return n=n.substr(n.length-1,1)}return 0},filesFilter:function(){return this.data.files&&this.data.files.length>0?this.data.files.length>1?this.data.files.filter((function(t){return"LINK"!==t.file_type})):Object(d.a)(this.data.files):[]},classroomTags:function(){var t=[],e=[];try{var n=this.data.ability_list.map((function(t){return t.ability}));if(t=(t=this.data.tags.filter((function(t){return!n.includes(t)}))).map((function(t){return{tag_name:t,tag_url:"",tag_type:"0"}})),e=this.data.ability_list.map((function(data){var t=data.type;return{tag_name:data.ability,tag_url:3===t?"/ability/".concat(data.ability_id):"/room/ability_".concat(data.ability_id),tag_type:"1"}})).concat(t),this.showToRoom&&this.showToRoom.tags){var o=this.showToRoom.tags.map((function(t){return t.tag_name})),r=e.sort((function(a,b){return o.indexOf(a.tag_name)-o.indexOf(b.tag_name)})),c=r.filter((function(t){return o.includes(t.tag_name)})),l=r.filter((function(t){return!o.includes(t.tag_name)}));e=c.concat(l)}return e}catch(t){return{}}},titleRoom:function(){try{return 2!==this.showToRoom.room_type&&Array.isArray(this.data.room_list)&&this.data.room_list.length>0?this.data.room_list[0]:void 0}catch(t){return}},roomType:function(){var t=(this.showToRoom||{}).room_type,e=void 0===t?1:t;return e},profileIsVaild:function(){var t=(this.data||{}).sender_info,e=(void 0===t?{}:t).valid;return void 0===e||e},isEdit:function(){var t=this.data,e=t.room_list,n=void 0===e?[]:e,o=t.privacy,c=void 0===o?"public":o,l=Object(r.a)(n,1)[0],d=this.data.sender;if(l){var f=l.privacy_state,m=l.role_type;if("protected"===c&&m>3)return!1;if("public"===c&&2===f&&m>2)return!1}return d===this.pid&&!0},isDelete:function(){var t=this.data,e=t.room_list,n=void 0===e?[]:e,o=t.privacy,c=void 0===o?"public":o,l=Object(r.a)(n,1)[0],d=this.data.sender;if(l){var f=l.privacy_state,m=l.role_type;if("protected"===c&&m>3)return!1;if("public"===c&&2===f&&m>2)return!1;if(d!==this.pid&&m>1)return!1}else if(d!==this.pid)return!1;return!0},showMoreTool:function(){if(this.isLogin){if(this.isEdit)return!0;if(this.isDelete)return!0;if(this.data.sender!==this.pid)return!0;if(this.showTopTool)return!0}return!1}}),watch:{setTopKey:function(t){var e=this.data.sortType;t&&"top"===(void 0===e?"":e)&&this.$scrollTo(this.$refs.post,1e3)},data:function(t){var e=this;t&&(this.lineFlag=!1,this.fileFlag=!1,this.$nextTick((function(){e.overRowHidden(),e.tagHidden()})))}},mounted:function(){this.overRowHidden(),this.tagHidden()},beforeDestroy:function(){this.$root.$off("unOfficeClassroom")},methods:j(j(j(j(j(j({},Object(B.d)({setRunLogin:"setRunLogin"})),Object(B.b)("document",["getSignature","getFileUrl","getFileDetail","htmlConvert"])),Object(B.b)("wall",["reportActivityBlack","deleteActivity"])),Object(B.b)("user",["getUserName"])),Object(B.d)("updatelist",["addRoomUpdate"])),{},{isPodcast:function(t){return!!t&&(R.test(t)&&M.test(t)&&!!Object(I.c)("i",t))},isFb:function(t){return!!t&&(R.test(t)&&!!t.match(/^https:\/\/www\.facebook.com\/watch\/?\?v=\d+/)&&this.getUid(t))},isYt:function(t){return!!t&&((t.startsWith("https://www.youtube.com/watch")||t.startsWith("https://youtu.be/")||t.startsWith("https://www.youtube.com/shorts/"))&&this.getUid(t))},getUid:function(t){try{return t.startsWith("https://youtu.be/")?t.replace("https://youtu.be/",""):t.startsWith("https://www.youtube.com/shorts/")?t.replace("https://www.youtube.com/shorts/",""):M.test(t)?t.replace(M,""):t.split("v=")[1].split("&")[0]}catch(t){return""}},getFile:function(t){var e=arguments,n=this;return Object(o.a)(regeneratorRuntime.mark((function o(){var r,c,l,d;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return r=e.length>1&&void 0!==e[1]?e[1]:"",o.prev=1,n.videoUrl="",n.picUrl="",c={fileId:t,page:"0",target:"PIC"===r?"origin":""},o.next=7,n.getFileUrl(c);case 7:l=o.sent,d=l[0].url[0],"VIDEO"===r&&(n.videoUrl=d),"PIC"===r&&(n.picUrl=d),n.addEventLog("1033"),o.next=17;break;case 14:o.prev=14,o.t0=o.catch(1),console.log(o.t0);case 17:case"end":return o.stop()}}),o,null,[[1,14]])})))()},getDoc:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){var o,r,c;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t.file_id){n.next=2;break}return n.abrupt("return");case 2:return n.next=4,e.getFileDetail(t.file_id);case 4:if(!(r=n.sent).tagInfo.w1080||"success"!==r.tagInfo.w1080){n.next=12;break}return n.next=8,e.getFileUrl({fileId:t.file_id,page:"-1",fileTag:"w1080"});case 8:c=n.sent,o=c[0].url,n.next=13;break;case 12:o=[t.file_url];case 13:e.$refs.SimpleDocViewModal.open({fileId:t.file_id,pagesUrl:o,dataKey:e.data.key}),e.addEventLog("1033");case 15:case"end":return n.stop()}}),n)})))()},openReportDialogModal:function(){var t=arguments,e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){var o,r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.length>0&&void 0!==t[0]?t[0]:"",r=t.length>1&&void 0!==t[1]?t[1]:"",n.prev=2,n.next=5,e.getUserName();case 5:e.$refs.ReportDialog.openModal(o,r),n.next=11;break;case 8:n.prev=8,n.t0=n.catch(2),D("component error",n.t0);case 11:case"end":return n.stop()}}),n,null,[[2,8]])})))()},openDeleteCommentAlertModal:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";this.$refs.DeleteAlert.openModal(t,e,this.data.content)},openCkoRoomListModal:function(){this.$refs.ckoRoomList.openModal()},apiDeleteActivity:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.deleteActivity({activity_key:t.data.key,pid:t.pid});case 3:t.$emit("deleteItem",t.data),t.$refs.DeleteAlert.closeModal(),t.$toast.show("刪除成功！"),e.next=12;break;case 8:return e.prev=8,e.t0=e.catch(0),t.$toast.show("刪除失敗！"),e.abrupt("return",e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,8]])})))()},apiReportActivityBlack:function(){var t=arguments,e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){var o,r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.length>0&&void 0!==t[0]?t[0]:"",r=t.length>1&&void 0!==t[1]?t[1]:"",n.prev=2,n.next=5,e.reportActivityBlack({activity_type:e.data.type,activity_key:e.data.key,black_type:o,comment:r,source:"ability=".concat(e.capability.capabilityId?e.capability.capabilityId:e.$route.query.content)});case 5:e.$refs.ReportDialog.closeModal(),e.$toast.show("檢舉成功！"),n.next=13;break;case 9:return n.prev=9,n.t0=n.catch(2),e.$toast.show("發生錯誤！"),n.abrupt("return",n.t0);case 13:case"end":return n.stop()}}),n,null,[[2,9]])})))()},modifyClick:function(){this.$emit("post-modify",this.data)},overRowHidden:function(){if(this.isSinglePage)this.lineFlag=!1,this.fileFlag=!1;else{var t=this.$refs.txtArea;t&&(this.lineNum=t.offsetHeight/40,this.filesFilter.length>0?this.fileFlag=this.lineNum>2:0===this.filesFilter.length?this.lineFlag=this.lineNum>7:(this.fileFlag=!1,this.lineFlag=!1))}},tagHidden:function(){this.$refs.singlePageTagRef.offsetHeight/30>1&&(this.tagFold=!0)},closeFold:function(){this.tagFold=!1},onShowMore:function(){this.addEventLog("1031"),this.$router.push("/posts/".concat(this.data.key))},openNewLink:function(t){this.addEventLog("1032");var e=new URL(t).hostname;this.outSideUrl=t,e.includes("104.com.tw")?this.toOutSideUrl():this.alertLeave()},alertLeave:function(){this.$refs.LeaveAlert.openModal()},toOutSideUrl:function(){window.open(this.outSideUrl,"_blank")},tagClick:function(t){var e=this;this.data.ability_list.forEach((function(n){n.ability===t&&e.$router.push("/room/ability_".concat(n.ability_id))}))},toProfile:function(t){this.profileIsVaild&&t&&window.open("".concat("https://beagiver.104.com.tw","/profile/").concat(this.$encodeBase58(t),"?pageTag=help&serviceTag=nabi&utm_source=104&utm_medium=nabi_timeline"),"_blank")},imageSrc:function(image){return image?this.imageError?this.$getDefaultImgByHash(image):image:"".concat(this.DOMAIN_NABI,"/static/img/posts/p1.png")},focusClick:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,t.isLogin){e.next=4;break}return t.isShowLogin=!0,e.abrupt("return");case 4:if(!t.titleRoom){e.next=18;break}if(!t.titleRoom.is_favorite){e.next=12;break}return e.next=8,t.$api.cls.cancelRoomFavorite({roomId:t.titleRoom.room_id});case 8:t.addRoomUpdate({room_id:t.titleRoom.room_id,is_favorite:!1}),t.$toast.show("已取消關注囉！"),e.next=18;break;case 12:return e.next=14,t.$api.cls.setRoomFavorite({room_id:t.titleRoom.room_id});case 14:n=e.sent,t.addRoomUpdate({room_id:t.titleRoom.room_id,is_favorite:!0}),t.$toast.show('已關注到<a href="/mynabi/classroom" class="text-white" style="text-decoration: underline">我的教室</a>！'),n.isFirst&&t.$refs.focus.openModal();case 18:e.next=22;break;case 20:e.prev=20,e.t0=e.catch(0);case 22:case"end":return e.stop()}}),e,null,[[0,20]])})))()},clickConfirmModal:function(data){"toLogin"===data.action&&this.setRunLogin(!0),this.clickCloseModal()},clickCloseModal:function(){this.isShowLogin=!1},setTopActivity:function(){var t=(this.showToRoom||{}).room_id;this.$emit("toggle-room-top-activity",{roomId:t,data:this.data})},addEventLog:function(t){var e=this.isLogin?"pid":"actor_id",n=this.isLogin?this.pid:this.$cookies.get("actor_id");this.$api.user.addEventLog({event:t,eventType:"1",createUser:this.pid||"0",fields:[{name:e,value:n},{name:"post_id",value:this.data.key}]})}})},T=U,E=(n(1374),n(38)),component=Object(E.a)(T,(function(){var t=this,e=t._self._c;return e("div",[e("div",{ref:"post",staticClass:"avatar"},[t.titleRoom?[e("div",{staticClass:"avatar-room mr-3",style:{cursor:t.data.sender?"pointer":"none"}},[e("router-link",{attrs:{to:"/room/".concat(t.titleRoom.room_id)}},[e("img",{staticClass:"photoRoom",attrs:{src:t.titleRoom.photo_small_file_url,alt:""}})]),t._v(" "),e("div",{style:{cursor:"default"}},[t.data.sender_info.headshot||!t.profileIsVaild?e("img",{staticClass:"photoUsr",attrs:{src:t.profileIsVaild?t.data.sender_info.headshot:n(567),alt:"",onerror:t.errorAvatar}}):e("img",{staticClass:"photoUsr",attrs:{src:n(560),alt:""}})])],1),t._v(" "),e("div",{staticClass:"avatar-content"},[e("div",{staticClass:"avatar-info avatar-info__p16 pr-2"},[e("router-link",{staticClass:"cursorPointer roomLinK",attrs:{to:"/room/".concat(t.titleRoom.room_id)}},[t._v("\n                        "+t._s("".concat(t.titleRoom.room_title))+"\n                    ")]),t._v(" "),!t.$isMyRoom(t.titleRoom?t.titleRoom.room_id:void 0)&&t.titleRoom.showFocus?e("div",{staticClass:"favLink avatar-info__p14 pl-3 ml-1 d-inline-block",attrs:{"data-gtm-btn":"關注"},on:{click:t.focusClick}},[t._v("\n                        "+t._s(!0===t.titleRoom.is_favorite?"已關注":"關注")+"\n                    ")]):t._e()],1),t._v(" "),e("span",{staticClass:"avatar-info__p14 avatarName",style:{cursor:"default"}},[e("VClamp",{attrs:{"max-lines":2,tag:"span"},scopedSlots:t._u([{key:"after",fn:function(){return[t.data.sender_is_cko>0&&t.profileIsVaild?e("strong",{staticClass:"avatar-cko ml-1",on:{click:t.openCkoRoomListModal}},[t._v(t._s(1===t.data.sender_is_cko?"知識長":"副知識長"))]):t._e(),t._v(" "),e("div",{staticClass:"avatar-txt",style:{display:"inline-block"}},[t.data.sender_info.info&&t.data.sender_info.info.jobTitle&&t.profileIsVaild?e("p",[t._v("\n                                    "+t._s(t.data.sender_info.info.jobTitle)+"\n                                ")]):t._e(),t._v(" "),e("p",[t._v(t._s(t.date))])])]},proxy:!0}],null,!1,1833496141)},[t._v("\n                        "+t._s(t.profileIsVaild?"".concat(t.data.sender_info.name):"未知使用者")+"\n                        ")])],1)])]:[e("div",{staticClass:"avatar-badge mr-2",style:{cursor:t.data.sender&&t.profileIsVaild?"pointer":"default"},on:{click:function(e){t.profileIsVaild&&t.toProfile(t.data.sender)}}},[e("img",{directives:[{name:"show",rawName:"v-show",value:t.data.sender_info.info&&Array.isArray(t.data.sender_info.info.activeServices)&&t.data.sender_info.info.activeServices.length>0,expression:"\n                        data.sender_info.info &&\n                        Array.isArray(data.sender_info.info.activeServices) &&\n                        data.sender_info.info.activeServices.length > 0\n                    "}],attrs:{src:t.achievementScoreImg,alt:""}}),t._v(" "),t.data.sender_info.headshot||!t.profileIsVaild?e("img",{attrs:{src:t.profileIsVaild?t.data.sender_info.headshot:n(567),alt:"",onerror:t.errorAvatar}}):e("img",{attrs:{src:n(560),alt:""}})]),t._v(" "),e("div",{staticClass:"avatar-content"},[e("span",{staticClass:"avatar-info__p14 avatarName noRoomSender",style:{cursor:t.data.sender&&t.profileIsVaild?"pointer":"default"},on:{click:function(e){t.profileIsVaild&&t.toProfile(t.data.sender)}}},[e("VClamp",{attrs:{"max-lines":1,tag:"span"},scopedSlots:t._u([{key:"after",fn:function(){return[t.data.sender_is_cko>0&&t.profileIsVaild?e("strong",{staticClass:"avatar-cko ml-1",staticStyle:{float:"none"},on:{click:t.openCkoRoomListModal}},[t._v(t._s(1===t.data.sender_is_cko?"知識長":"副知識長"))]):t._e()]},proxy:!0}])},[t._v("\n                        "+t._s(t.profileIsVaild?"".concat(t.data.sender_info.name):"未知使用者")+"\n                        ")])],1),t._v(" "),e("div",{staticClass:"avatar-txt"},[t.data.sender_info.info&&t.data.sender_info.info.jobTitle&&t.profileIsVaild?e("p",[t._v("\n                        "+t._s(t.data.sender_info.info.jobTitle)+"\n                    ")]):t._e(),t._v(" "),e("p",[t._v(t._s(t.date))])])])],t._v(" "),e("div",{staticClass:"postTagBlock",class:{isSinglePage:t.isSinglePage}},[t.isProtectActivity?e("div",{staticClass:"protectedIcon"},[e("span",[t._v("共學限定")])]):e("div",{staticClass:"fillTop"}),t._v(" "),this.data.sortType===t.TOP?[t._m(0)]:t._e(),t._v(" "),t.showMoreTool?e("MoreTools",[t.isEdit?e("div",{staticClass:"toolItem",on:{click:t.modifyClick}},[t._v("修改")]):t._e(),t._v(" "),t.isDelete?e("div",{staticClass:"toolItem",on:{click:function(e){return t.openDeleteCommentAlertModal()}}},[t._v("\n                    刪除\n                ")]):t._e(),t._v(" "),t.showTopTool?e("div",{staticClass:"toolItem",on:{click:t.setTopActivity}},[t._v("\n                    "+t._s(this.data.sortType===t.TOP?"取消置頂":"設為置頂")+"\n                ")]):t._e(),t._v(" "),this.data.sender!==this.pid?e("div",{staticClass:"toolItem",on:{click:t.openReportDialogModal}},[t._v("\n                    檢舉\n                ")]):t._e()]):t._e(),t._v(" "),e("span",{staticClass:"fillMerge"})],2)],2),t._v(" "),e("div",{staticClass:"txtArea"},[t.isSinglePage?e("h1",{staticClass:"d-block cursorPoint txtArae-label pb-2"},[t._v("\n            "+t._s(t.data.title)+"\n        ")]):e("router-link",{staticClass:"cursorPoint txtArae-label mb-2 overflow-ellipsis-2",attrs:{"data-gtm-content":"文章",to:t.isSinglePage?t.$route.fullPath:"/posts/".concat(t.data.key)}},[t._v("\n            "+t._s(t.data.title)+"\n        ")]),t._v(" "),e("div",{ref:"txtArea",class:["txtArae-txt",{hiddenRow:t.lineFlag},{addFile:t.fileFlag}]},[t.data.content?e("ParseUrl",{attrs:{content:t.data.content.trim(),"is-open-url":!t.isMask},on:{linkClick:function(e){return t.addEventLog("1032")}}}):t._e(),t._v(" "),e("ul",{directives:[{name:"show",rawName:"v-show",value:!t.lineFlag&&!t.fileFlag&&!t.isSinglePage,expression:"!lineFlag && !fileFlag && !isSinglePage"}],staticClass:"tag mt-4 mb-4"},t._l(t.classroomTags,(function(n,o){return e("li",{key:o,class:{"tag-blueLake":"1"===n.tag_type,"tag-gray none-pointer":"0"===n.tag_type},attrs:{"data-gtm-content":"貼文-點擊河道Tag"}},[e("router-link",{attrs:{to:n.tag_url}},[t._v(t._s(n.tag_name.trim()))])],1)})),0)],1),t._v(" "),0===t.filesFilter.length&&t.lineFlag||t.filesFilter.length>0&&t.fileFlag?e("b",{staticClass:"d-block text-7e p14 pointer",on:{click:function(e){return e.stopPropagation(),t.onShowMore.apply(null,arguments)}}},[t._v("\n            看更多\n        ")]):t._e()],1),t._v(" "),e("div",{staticClass:"imgBlock"},[t.filesFilter.length>0?e("div",{staticClass:"fileColumn"},t._l(t.filesFilter,(function(o){return e("div",{key:o.file_id,class:["imgBox","equal",{"equal-1":1===t.filesFilter.length,"equal-2":2===t.filesFilter.length,"equal-3":3===t.filesFilter.length,"equal-4":4===t.filesFilter.length}]},["PIC"===o.file_type?e("div",{staticClass:"imgLink flex-row",on:{click:function(e){!t.isSinglePage&&t.addEventLog("1033")}}},[t.isSinglePage?e("div",{staticClass:"imgLink-img contain"},[e("SimpleLightBox",{attrs:{"data-gtm-content":"貼文-點擊圖片"},scopedSlots:t._u([{key:"default",fn:function(){return[e("img",{attrs:{alt:t.data.title,src:o.file_url},on:{click:function(e){return t.getFile(o.file_id,o.file_type)}}})]},proxy:!0},{key:"openLightBox",fn:function(){return[e("img",{attrs:{src:t.picUrl}})]},proxy:!0}],null,!0)})],1):e("router-link",{staticClass:"imgLink-img contain",attrs:{"data-gtm-content":"貼文-點擊圖片",to:"/posts/".concat(t.data.key)}},[e("img",{attrs:{src:o.file_url,alt:t.data.title}})])],1):"VIDEO"===o.file_type?e("div",{staticClass:"imgLink"},[1===t.filesFilter.length?e("div",[t.videoUrl?t._e():e("div",{staticClass:"imgLink",attrs:{"data-gtm-content":"貼文-點擊影片"}},[e("div",{staticClass:"imgLink-img"},[e("img",{attrs:{alt:t.data.title,src:o.file_url}})])]),t._v(" "),t.videoUrl?t._e():e("div",{staticClass:"position-absolute videoPlayIcon pointer",on:{click:function(e){return t.getFile(o.file_id,o.file_type)}}},[e("img",{attrs:{width:"50px",height:"50px",src:n(600),alt:""}})]),t._v(" "),t.videoUrl?e("video",{staticClass:"videoItme",attrs:{controls:"",src:t.videoUrl,autoplay:""}}):t._e()]):e("div",[e("SimpleLightBox",{scopedSlots:t._u([{key:"default",fn:function(){return[e("div",{staticClass:"pointer",attrs:{"data-gtm-content":"貼文-點擊影片"},on:{click:function(e){return t.getFile(o.file_id,o.file_type)}}},[e("div",{staticClass:"imgLink"},[e("div",{staticClass:"imgLink-img"},[e("img",{attrs:{src:o.file_url,alt:t.data.title}})])]),t._v(" "),e("div",{staticClass:"position-absolute videoPlayIcon"},[e("img",{attrs:{width:"50px",height:"50px",src:n(600),alt:""}})])])]},proxy:!0},{key:"openLightBox",fn:function(){return[t.videoUrl?e("video",{staticClass:"videoItme",attrs:{controls:"",src:t.videoUrl,autoplay:""}}):t._e()]},proxy:!0}],null,!0)})],1)]):"FILE"===o.file_type?e("div",{staticClass:"imgLink",attrs:{"data-gtm-content":"貼文-點擊檔案"},on:{click:function(e){return t.getDoc(o)}}},[e("div",{staticClass:"imgLink-img"},[e("img",{attrs:{src:o.file_url,alt:t.data.title}})]),t._v(" "),e("div",{staticClass:"imgLink-info"},[e("div",{staticClass:"imgLink-label"},[t._v(t._s(o.file_title))])])]):"AUDIO"===o.file_type?e("div",{staticClass:"imgLink audio",on:{click:function(e){return t.addEventLog("1033")}}},[e("a",{attrs:{href:o.file_url,target:"_blank","data-gtm-content":"貼文-點擊錄音"}},[e("div",{staticClass:"imgLink-img iconPlay"},[e("img",{attrs:{alt:t.data.title}})])])]):"LINK"===o.file_type?e("div",{staticClass:"imgLink link"},[t.isYt(o.file_link)?e("div",{attrs:{"data-gtm-content":"貼文-點擊影片"}},[e("youtube",{ref:"youtube",refInFor:!0,attrs:{width:"800",height:"450","video-id":t.getUid(o.file_link),"fit-parent":!0,"player-vars":t.playerConfig},on:{playing:function(e){return t.addEventLog("1032")}}})],1):t.isFb(o.file_link)?e("div",{staticClass:"fbLink",attrs:{"data-gtm-content":"貼文-點擊影片"}},[e("iframe",{attrs:{src:"https://www.facebook.com/plugins/video.php?href=https%3A%2F%2Fwww.facebook.com%2Ffacebook%2Fvideos%2F".concat(t.getUid(o.file_link),"%2F&width=800&show_text=false&height=450&appId"),scrolling:"no",frameborder:"0",allowfullscreen:"true",allow:"autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"}})]):t.isPodcast(o.file_link)?e("div",{attrs:{"data-gtm-content":"貼文-點擊影片"}},[e("iframe",{attrs:{allow:"autoplay *; encrypted-media *; fullscreen *; clipboard-write",width:"100%",height:"100%",scrolling:"no",frameborder:"0",sandbox:"allow-forms allow-popups allow-same-origin allow-scripts allow-storage-access-by-user-activation allow-top-navigation-by-user-activation",src:"https://embed.podcasts.apple.com/".concat(t.getUid(o.file_link))}})]):e("a",{staticClass:"imgLink",attrs:{"data-gtm-content":"貼文-點擊UGC_URL"},on:{click:function(e){return t.openNewLink(o.file_link)}}},[e("div",{staticClass:"imgLink-img"},[o.file_url?e("img",{attrs:{src:t.imageSrc(o.file_url),alt:t.data.title},on:{error:function(e){t.imageError=!0}}}):e("img",{attrs:{alt:t.data.title,src:"".concat(t.DOMAIN_NABI,"/static/img/posts/p").concat(t.randomImgae,".png")}})]),t._v(" "),e("div",{staticClass:"imgLink-info"},[e("div",{staticClass:"imgLink-path"},[t._v(t._s(t.$parseDomain(o.file_link)))]),t._v(" "),e("div",{staticClass:"imgLink-label"},[t._v("\n                                "+t._s(o.file_title)+"\n                            ")])])])]):t._e()])})),0):t._e()]),t._v(" "),e("div",{ref:"singlePageTagRef",staticClass:"singlePageTag"},[e("ul",{directives:[{name:"show",rawName:"v-show",value:!t.lineFlag&&!t.fileFlag&&t.isSinglePage,expression:"!lineFlag && !fileFlag && isSinglePage"}],staticClass:"tag mt-4 mb-4",class:{fold:t.tagFold}},[t._l(t.classroomTags,(function(n,o){return e("li",{key:o,class:{"tag-blueLake":"1"===n.tag_type,"tag-gray none-pointer":"0"===n.tag_type},attrs:{"data-gtm-content":"貼文-點擊河道Tag"}},[e("router-link",{attrs:{to:n.tag_url}},[t._v(t._s(n.tag_name.trim()))])],1)})),t._v(" "),e("span",{staticClass:"more pointer",on:{click:t.closeFold}})],2)]),t._v(" "),e("SimpleDocViewModal",{ref:"SimpleDocViewModal"}),t._v(" "),e("DeleteAlert",{ref:"DeleteAlert",on:{apiDelete:t.apiDeleteActivity}}),t._v(" "),e("ReportDialog",{ref:"ReportDialog",attrs:{from:"activity"},on:{apiReport:t.apiReportActivityBlack}}),t._v(" "),e("LeaveAlert",{ref:"LeaveAlert",attrs:{title:"連接到外部網站",msg:"您即將離開104人力銀行暨一零四集團相關網域，提醒您！確定離開後，請小心謹慎使用您的個人資料！",confirm:"我知道了"},on:{event:t.alertLeave,"click-confirm":t.toOutSideUrl}}),t._v(" "),e("CkoRoomList",{ref:"ckoRoomList",attrs:{pid:String(t.data.sender),name:t.data.sender_info.name,"job-title":t.data.sender_info.info?t.data.sender_info.info.jobTitle:"",headshot:t.data.sender_info.headshot}}),t._v(" "),e("FocusSkillModal",{ref:"focus"}),t._v(" "),e("ConfirmAlert",{attrs:{"is-show":t.isShowLogin,title:"訊息",msg:"登入後才能關注教室哦"},on:{"click-confirm":t.clickConfirmModal,"click-close":t.clickCloseModal}})],1)}),l,!1,null,"3880dce0",null),L=component.exports,P={props:{data:{type:Object,default:function(){return{}}}},computed:{date:function(){if(this.data.create_date){var t=new Date(this.data.create_date),e=(t.getMonth()>8?t.getMonth()+1:"0"+(t.getMonth()+1))+"/"+(t.getDate()>9?t.getDate():"0"+t.getDate()),n=("0"+t.getHours()).slice(-2)+":"+("0"+t.getMinutes()).slice(-2);return"".concat(e," ").concat(n)}return""},headshot:function(){var t="img-DefaultAvatar";this.data.providerDef.provider&&(t="".concat(this.data.providerDef.provider,"Headshot"));try{return n(635)("./".concat(t,".png"))}catch(t){return n(376)}}}},F=Object(E.a)(P,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"avatar align-items-center"},[e("div",{staticClass:"avatar-img"},[e("img",{attrs:{src:t.headshot,alt:""}})]),t._v(" "),e("div",{staticClass:"avatar-content"},[e("div",{staticClass:"avatar-info avatar-info__arrow avatar-info__p16"},[e("span",[t._v(" "+t._s(t.data.providerDef.name))]),t._v(" "),t.data.providerDef.pathName?e("span"):t._e(),t._v(" "),t.data.providerDef.pathName&&"false"===t.data.providerDef.hasJobcatPage?e("router-link",{staticClass:"cursorPointer outLink",attrs:{to:"/course/".concat(t.data.providerDef.pathName)}},[t._v("\n                    精選線上課程\n                ")]):t.data.providerDef.pathName&&"true"===t.data.providerDef.hasJobcatPage?e("router-link",{staticClass:"cursorPointer outLink",attrs:{to:"/course/".concat(t.data.providerDef.pathName).concat(t.$route.params.jobcat?"/"+t.$route.params.jobcat:"")}},[t._v("\n                    精選線上課程\n                ")]):t._e()],1),t._v(" "),e("p",{staticClass:"avatar-txt"},[t._v(t._s(t.date))])])]),t._v(" "),e("div",{staticClass:"imgBlock",attrs:{"data-gtm-adcourse":"".concat(t.data.providerDef.provider,"_").concat(t.data.title)},on:{click:function(e){return t.$router.push("/film/".concat(t.data.key))}}},[e("div",{staticClass:"imgBox"},[e("div",{staticClass:"imgLink"},[e("div",{staticClass:"imgLink-img"},[e("img",{attrs:{src:t.data.image}})]),t._v(" "),e("div",{staticClass:"imgLink-info"},[e("div",{staticClass:"imgLink-path"},[t._v("\n                        "+t._s(t.$parseDomain(t.data.courseUrl))+"\n                    ")]),t._v(" "),e("div",{staticClass:"imgLink-label"},[t._v("\n                        "+t._s(t.data.content)+"\n                    ")])])])])])])}),[],!1,null,null,null).exports,N=n(990),Q=n.n(N),H=(n(991),n(992),n(614)),G=n(564);function V(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function J(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?V(Object(n),!0).forEach((function(e){Object(c.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var K={components:{VueSlickCarousel:Q.a,Content3rdCard:H.a,ChannelViewLogger:G.default},props:{data:{type:Object,default:function(){return{}}},channelInfo:{type:Object,default:function(){}}},data:function(){return{settings:{dots:!1,slidesToShow:3,slidesToScroll:1,infinite:!1,centerMode:!1,variableWidth:!1,responsive:[{breakpoint:1365,settings:{slidesToShow:2,arrows:!0,centerMode:!1,variableWidth:!1,infinite:!1}}]},postFavoriteLoaing:!1}},computed:J(J({},Object(B.c)(["isLogin"])),{},{date:function(){if(this.data.create_date){var t=new Date(this.data.create_date),e=(t.getMonth()>8?t.getMonth()+1:"0"+(t.getMonth()+1))+"/"+(t.getDate()>9?t.getDate():"0"+t.getDate()),n=("0"+t.getHours()).slice(-2)+":"+("0"+t.getMinutes()).slice(-2);return"".concat(e," ").concat(n)}return""},headshot:function(){var t,e="img-DefaultAvatar";null!==(t=this.data.providerDef)&&void 0!==t&&t.provider&&(e="".concat(this.data.providerDef.provider,"Headshot"));try{return n(635)("./".concat(e,".png"))}catch(t){return n(376)}},sort3rd:function(){try{return Object(d.a)(this.data.data).map((function(t){var e=t.social_do,n=void 0===e?{}:e;if(void 0!==t.is_favorite)return J({},t);var o=n.favorite;return J(J({},t),{},{is_favorite:o})}))}catch(t){return[]}},gtmAttr:function(){var path=this.$route.path;return path.startsWith("/cjcat")?"職業教室":path.startsWith("/room")?"技能教室":""}}),methods:J(J({},Object(B.b)("user",["updateFavorite"])),{},{getDataInfo:function(t){var e={};return this.$isDefined(t,"conditions.nabi_room_ids")&&(e.room_ids=t.conditions.nabi_room_ids),this.$isDefined(t,"tags")&&(e.tags=t.tags),Object.keys(e).length>0?e:void 0},moreclick:function(){this.$emit("content3rdGroup-click")},clickFavorite:function(t,e){var n=this;return Object(o.a)(regeneratorRuntime.mark((function o(){var r,c,l,d;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(r=t.resourceId,c=t.favoriteState,n.isLogin){o.next=6;break}return o.next=4,new Promise((function(t){n.$emit("login-alert",{msg:"需先登入才能使用「我的學習」功能喔～",customMsg:!0},t)}));case 4:return e(),o.abrupt("return");case 6:if(d={resourceId:r,favoriteState:l=c?"1":"0"},"1"===String(d.favoriteState)&&n.$elog({track:["saveVideo"],ext:{videoId:d.resourceId}}),o.prev=9,n.postFavoriteLoaing){o.next=17;break}return n.postFavoriteLoaing=!0,o.next=14,n.updateFavorite(d);case 14:"1"===l&&n.$toast.show('已收藏至<a href="/mynabi/saving" class="text-white" style="text-decoration: underline">我的收藏</a>！'),"0"===l&&n.$toast.show("已移除收藏囉！"),n.postFavoriteLoaing=!1;case 17:o.next=25;break;case 19:return o.prev=19,o.t0=o.catch(9),"1"===l&&n.$toast.show("收藏失敗！"),"0"===l&&n.$toast.show("移除收藏失敗！"),n.postFavoriteLoaing=!1,o.abrupt("return",o.t0);case 25:n.$emit("social-event",{eventType:c?"course3rdGroup-add-favorite":"course3rdGroup-cancel-favorite",resourceId:r,favoriteState:c}),e();case 27:case"end":return o.stop()}}),o,null,[[9,19]])})))()},parseUrl:function(t){var e,n,o=t||{},r=o.resource_id,c=o.provider,l=void 0===c?{}:c,d=o.key,f=o.providerDef;return r?(n=r,e=null==l?void 0:l.path_name):(n=d,e=null==f?void 0:f.pathName),"/course/".concat(e,"/").concat(n)}})},Y=(n(1375),Object(E.a)(K,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"pb-4 pt-4 content3rdGroup"},[e("div",{staticClass:"p18 font-weight-bold mb-2 title px-4"},[t._v("\n        104學習精靈精選課程\n        "),t.sort3rd.length>2?e("div",{staticClass:"more_course",on:{click:t.moreclick}},[e("span",[t._v("看更多課程")])]):t._e()]),t._v(" "),e("div",{staticClass:"p16 mb-6 px-4"},[t._v("想提升職場競爭力？專業技能課程看起來👇")]),t._v(" "),1===t.sort3rd.length?e("div",{staticClass:"singleItem"},[t._l(t.sort3rd,(function(n,o){return e("ChannelViewLogger",{key:o,staticClass:"content3rdCard",attrs:{"enable-visit":!0,"resource-id":n.key||n.uid||n.resource_id,"channel-info":t.channelInfo,"data-info":t.getDataInfo(n),index:o}},[e("a",{staticClass:"h-100 d-block linkWidth",attrs:{href:"".concat(t.parseUrl(n))},on:{click:function(e){e.preventDefault(),t.$router.push("".concat(t.parseUrl(n)))}}},[e("Content3rdCard",{attrs:{data:n,"data-gtm-adcourse":"".concat(t.gtmAttr,"_").concat(n.providerDef&&n.providerDef.provider?n.providerDef.provider:"","_").concat(n.title)},on:{"click-favorite":t.clickFavorite}})],1)])})),t._v(" "),e("div",{staticClass:"img"})],2):[e("client-only",[e("VueSlickCarousel",t._b({scopedSlots:t._u([{key:"prevArrow",fn:function(){return[e("div",{staticClass:"content3rdCardCarousel--arrow content3rdCardCarousel--arrow-left"},[e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[e("path",{attrs:{d:"M11.467 14.273a.753.753 0 0 0 0-1.06L6.14 8l5.333-5.213a.75.75 0 0 0-1.046-1.074l-5.88 5.754a.74.74 0 0 0 0 1.066l5.86 5.754a.747.747 0 0 0 1.06-.014z",fill:"#7E7E7E","fill-rule":"nonzero"}})])])]},proxy:!0},{key:"nextArrow",fn:function(){return[e("div",{staticClass:"content3rdCardCarousel--arrow content3rdCardCarousel--arrow-right"},[e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[e("path",{attrs:{d:"M4.533 1.727a.753.753 0 0 0 0 1.06L9.867 8l-5.334 5.213a.75.75 0 0 0 1.047 1.074l5.86-5.754a.74.74 0 0 0 0-1.066L5.593 1.713a.747.747 0 0 0-1.06.014z",fill:"#7E7E7E","fill-rule":"nonzero"}})])])]},proxy:!0}])},"VueSlickCarousel",t.settings,!1),t._l(t.sort3rd,(function(n,o){return e("ChannelViewLogger",{key:o,staticClass:"h-100",attrs:{"enable-visit":!0,"resource-id":n.key||n.uid||n.resource_id,"channel-info":t.channelInfo,"data-info":t.getDataInfo(n),index:o}},[e("div",{staticClass:"h-100"},[e("div",{staticClass:"pl-2 pr-2 h-100"},[e("a",{staticClass:"h-100 d-block linkWidth",attrs:{href:"".concat(t.parseUrl(n))},on:{click:function(e){e.preventDefault(),t.$router.push("".concat(t.parseUrl(n)))}}},[e("Content3rdCard",{attrs:{data:n,"data-gtm-adcourse":"".concat(t.gtmAttr,"_").concat(n.providerDef&&n.providerDef.provider?n.providerDef.provider:"","_").concat(n.title)},on:{"click-favorite":t.clickFavorite}})],1)])])])})),1)],1)],t._v(" "),e("div",{staticClass:"courseCardGroup"},t._l(t.sort3rd,(function(n,o){return e("ChannelViewLogger",{key:o,staticClass:"content3rdCard",attrs:{"enable-visit":!0,"resource-id":n.key||n.uid||n.resource_id,"channel-info":t.channelInfo,"data-info":t.getDataInfo(n),index:o}},[e("a",{staticClass:"h-100 d-block linkWidth",attrs:{href:"".concat(t.parseUrl(n))},on:{click:function(e){e.preventDefault(),t.$router.push("".concat(t.parseUrl(n)))}}},[e("Content3rdCard",{attrs:{data:n,"data-gtm-adcourse":"".concat(t.gtmAttr,"_").concat(n.providerDef&&n.providerDef.provider?n.providerDef.provider:"","_").concat(n.title)},on:{"click-favorite":t.clickFavorite}})],1)])})),1)],2)}),[],!1,null,"0ecd4e26",null).exports),z=(n(198),[function(){var t=this._self._c;return t("div",{staticClass:"avatar-img"},[t("img",{attrs:{src:n(584),alt:""}})])}]),X={props:{data:{type:Object,default:function(){return{}}},isSinglePage:{type:Boolean,default:!1},channelInfo:{type:Object,require:!0,default:function(){}},dataInfo:{type:Object,require:!0,default:function(){}},index:{type:Number,default:function(){return 0}}},data:function(){return{}},computed:{date:function(){if(this.data.create_date){var t=new Date(this.data.create_date),e=(t.getMonth()>8?t.getMonth()+1:"0"+(t.getMonth()+1))+"/"+(t.getDate()>9?t.getDate():"0"+t.getDate()),n=("0"+t.getHours()).slice(-2)+":"+("0"+t.getMinutes()).slice(-2);return"".concat(e," ").concat(n)}return""}},methods:{event:function(t){var e="";e=t?"".concat("https://giver.104.com.tw","/question/").concat(t.replace("giver_question_",""),"?utm_source=nabi&utm_medium=feed"):"".concat("https://giver.104.com.tw"),this.$viewLog.sendChannelViewlog({activityKey:this.data.key,activityType:this.data.type,action:2,order:this.index},this.channelInfo,this.dataInfo),window.open(e,"_blank")}}},W=Object(E.a)(X,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"avatar"},[t._m(0),t._v(" "),e("div",{staticClass:"avatar-content"},[e("div",{staticClass:"avatar-info avatar-info__p16"},[e("span",{on:{click:function(e){return t.event(t.data.key)}}},[t._v("職涯診所")])]),t._v(" "),e("p",{staticClass:"avatar-txt"},[t._v(t._s(t.date))])])]),t._v(" "),e("div",{staticClass:"imgBlock"},[e("div",{staticClass:"imgBox",attrs:{"data-gtm-content":"職涯診所-點擊"},on:{click:function(e){return t.event(t.data.key)}}},[e("div",{staticClass:"imgLink"},[e("div",{staticClass:"imgLink-img"},[e("img",{attrs:{src:t.$getDefaultImgByHash(t.data.title)}})]),t._v(" "),e("div",{staticClass:"imgLink-info"},[e("div",{staticClass:"imgLink-path"},[t._v("\n                        "+t._s(t.$parseDomain(t.data.link))+"\n                    ")]),t._v(" "),e("div",{staticClass:"imgLink-label"},[t._v("\n                        "+t._s(t.data.title)+"\n                    ")])])])])])])}),z,!1,null,"573ff1e8",null).exports;function Z(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function $(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(n),!0).forEach((function(e){Object(c.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var tt={props:{data:{type:Object,default:function(){return{}}},isSinglePage:{type:Boolean,default:!1}},data:function(){return{lineNum:0,lineFlag:!1}},computed:$($({},Object(B.c)(["pid"])),{},{isSender:function(){return this.$isDefined(this,"data.sender")&&this.pid===this.data.sender},date:function(){if(this.data.create_date){var t=new Date(this.data.create_date),e=(t.getMonth()>8?t.getMonth()+1:"0"+(t.getMonth()+1))+"/"+(t.getDate()>9?t.getDate():"0"+t.getDate()),n=("0"+t.getHours()).slice(-2)+":"+("0"+t.getMinutes()).slice(-2);return"".concat(e," ").concat(n)}return""},profileIsVaild:function(){var t=(this.data||{}).sender_info,e=(void 0===t?{}:t).valid;return void 0===e||e}}),mounted:function(){this.overRowHidden()},methods:{event:function(t){var e="";e=t?"".concat("https://giver.104.com.tw","/question/").concat(t.replace("giver_question_",""),"?utm_source=nabi&utm_medium=feed"):"".concat("https://giver.104.com.tw"),window.open(e,"_blank")},overRowHidden:function(){if(this.isSinglePage)this.lineFlag=!1;else{var t=this.$refs.txtArea;t&&(this.lineNum=t.offsetHeight/40,this.lineNum>3?this.lineFlag=!0:this.lineFlag=!1)}},toProfile:function(t){t&&window.open("".concat("https://beagiver.104.com.tw","/profile/").concat(this.$encodeBase58(t),"?pageTag=help&serviceTag=nabi&utm_source=104&utm_medium=nabi_timeline"),"_blank")}}},et=Object(E.a)(tt,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"avatar"},[e("div",{staticClass:"avatar-img"},[e("div",{style:{cursor:!t.data.anonymous&&t.profileIsVaild?"pointer":""},on:{click:function(e){t.profileIsVaild&&t.toProfile(t.data.sender)}}},[t.isSender&&t.data.sender_info.headshot||!t.profileIsVaild?e("img",{attrs:{src:t.profileIsVaild?t.data.sender_info.headshot:n(567),alt:""}}):t.isSender?e("img",{attrs:{src:n(560),alt:""}}):e("img",{attrs:{src:n(584),alt:""}})])]),t._v(" "),e("div",{staticClass:"avatar-content"},[e("div",{staticClass:"avatar-info avatar-info__arrow avatar-info__p16"},[t.isSender?[e("span",{style:{cursor:t.data.anonymous?"":"pointer"},on:{click:function(e){!t.data.anonymous&&t.profileIsVaild&&t.toProfile(t.data.sender)}}},[t._v(t._s(t.data.anonymous?"匿名":t.profileIsVaild?t.data.sender_info.name:"未知使用者"))]),t._v(" "),e("span",{staticClass:"pointer",attrs:{"data-gtm-content":"職涯診所-點擊"},on:{click:function(e){return t.event(t.data.key)}}},[t._v("職涯診所")])]:e("span",{staticClass:"pointer",attrs:{"data-gtm-content":"職涯診所-點擊"},on:{click:function(e){return t.event(t.data.key)}}},[t._v("職涯診所")])],2),t._v(" "),t.data.anonymous?e("p",{staticClass:"avatar-txt"},[t._v("\n                "+t._s(t.date)+"\n            ")]):e("div",{staticClass:"avatar-txt"},[t.data&&t.data.sender_info&&t.data.sender_info.info&&t.data.sender_info.info.companyName&&t.profileIsVaild?e("p",[t._v("\n                    "+t._s(t.data.sender_info.info.companyName)+"\n                ")]):t._e(),t._v(" "),t.data&&t.data.sender_info&&t.data.sender_info.info&&t.data.sender_info.info.jobTitle&&t.profileIsVaild?e("p",[t._v("\n                    "+t._s(t.data.sender_info.info.jobTitle)+"\n                ")]):t._e(),t._v(" "),t.data&&t.data.sender_info&&t.data.sender_info.info&&t.data.sender_info.info.age&&t.profileIsVaild?e("p",[t._v("\n                    "+t._s(t.data.sender_info.info.age)+"\n                ")]):t._e(),t._v(" "),e("p",[t._v(t._s(t.date))])])])]),t._v(" "),t.isSender?[e("div",{staticClass:"txtArea"},[e("p",{staticClass:"txtArae-label"},[e("a",{staticClass:"pointer",attrs:{"data-gtm-content":"職涯診所-點擊"},on:{click:function(e){return e.stopPropagation(),t.event(t.data.key)}}},[t._v(t._s(t.data.title)+"\n                ")])]),t._v(" "),e("pre",{ref:"txtArea",class:["txtArae-txt",{hiddenRow:t.lineFlag}]},[t._v("            "+t._s(t.data.content)+"\n        ")]),t._v(" "),t.lineFlag?e("b",{staticClass:"pointer text-7e",on:{click:function(e){e.stopPropagation(),t.lineFlag=!1}}},[t._v("\n                看更多\n            ")]):t._e()]),t._v(" "),e("ul",{staticClass:"tag mb-4"},t._l(t.data.tags,(function(n,o){return e("li",{key:o,staticClass:"tag-gray"},[t._v(t._s(n))])})),0)]:[e("div",{staticClass:"imgBlock"},[e("div",{staticClass:"imgBox",attrs:{"data-gtm-content":"職涯診所-點擊"},on:{click:function(e){return t.event(t.data.key)}}},[e("div",{staticClass:"imgLink"},[e("div",{staticClass:"imgLink-img"},[e("img",{attrs:{src:t.$getDefaultImgByHash(t.data.title)}})]),t._v(" "),e("div",{staticClass:"imgLink-info"},[e("div",{staticClass:"imgLink-path"},[t._v("\n                            "+t._s(t.$parseDomain(t.data.link))+"\n                        ")]),t._v(" "),e("div",{staticClass:"imgLink-label"},[t._v("\n                            "+t._s(t.data.title)+"\n                        ")])])])])])]],2)}),[],!1,null,"1c737510",null).exports;function nt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function it(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?nt(Object(n),!0).forEach((function(e){Object(c.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var at={props:{data:{type:Object,default:function(){return{}}},isSinglePage:{type:Boolean,default:!1}},computed:it(it({},Object(B.c)(["isLogin","pid"])),{},{date:function(){if(this.data.create_date){var t=new Date(this.data.create_date),e=(t.getMonth()>8?t.getMonth()+1:"0"+(t.getMonth()+1))+"/"+(t.getDate()>9?t.getDate():"0"+t.getDate()),n=("0"+t.getHours()).slice(-2)+":"+("0"+t.getMinutes()).slice(-2);return"".concat(e," ").concat(n)}return""},imageSrc:function(){return this.data.image?this.imageError?this.$getDefaultImgByHash(this.data.title):this.data.image:this.$getDefaultImgByHash(this.data.title)},profileIsVaild:function(){var t=(this.data||{}).sender_info,e=(void 0===t?{}:t).valid;return void 0===e||e}}),data:function(){return{imageError:!1}}},ot=Object(E.a)(at,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"avatar"},[e("div",{staticClass:"avatar-img"},[t.data.sender_info.headshot||!t.profileIsVaild?e("img",{attrs:{src:t.profileIsVaild?t.data.sender_info.headshot:n(567),alt:""}}):e("img",{attrs:{src:n(596),alt:""}})]),t._v(" "),e("div",{staticClass:"avatar-content"},[e("div",{staticClass:"avatar-info avatar-info__p16"},[e("span",[t._v(t._s(t.profileIsVaild?t.data.sender_info.name:"未知使用者"))])]),t._v(" "),e("p",{staticClass:"avatar-txt"},[t._v(t._s(t.date))])])]),t._v(" "),e("div",{staticClass:"imgBlock"},[e("div",{staticClass:"imgBox",attrs:{"data-gtm-content":"職場力-點擊"},on:{click:function(e){t.$router.push("/104article/".concat(t.data.key.replace("cms_article_","")))}}},[e("div",{staticClass:"imgLink"},[e("div",{staticClass:"imgLink-img"},[e("img",{attrs:{src:t.imageSrc},on:{error:function(e){t.imageError=!0}}})]),t._v(" "),e("div",{staticClass:"imgLink-info"},[e("div",{staticClass:"imgLink-label"},[t._v("\n                        "+t._s(t.data.title)+"\n                    ")])])])])])])}),[],!1,null,null,null).exports;function st(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function ct(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?st(Object(n),!0).forEach((function(e){Object(c.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):st(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var lt={props:{data:{type:Object,default:function(){return{}}},isSinglePage:{type:Boolean,default:!1}},computed:ct(ct({},Object(B.c)(["isLogin","pid"])),{},{date:function(){if(this.data.create_date){var t=new Date(this.data.create_date),e=(t.getMonth()>8?t.getMonth()+1:"0"+(t.getMonth()+1))+"/"+(t.getDate()>9?t.getDate():"0"+t.getDate()),n=("0"+t.getHours()).slice(-2)+":"+("0"+t.getMinutes()).slice(-2);return"".concat(e," ").concat(n)}return""},profileIsVaild:function(){var t=(this.data||{}).sender_info,e=(void 0===t?{}:t).valid;return void 0===e||e}})},ut=Object(E.a)(lt,(function(){var t=this,e=t._self._c;return t.data?e("div",[e("div",{staticClass:"avatar"},[e("div",{staticClass:"avatar-img"},[t.data.sender_info.headshot||!t.profileIsVaild?e("img",{attrs:{src:t.profileIsVaild?t.data.sender_info.headshot:n(567),alt:""}}):e("img",{attrs:{src:n(596),alt:""}})]),t._v(" "),e("div",{staticClass:"avatar-content"},[e("div",{staticClass:"avatar-info avatar-info__p16"},[e("span",[t._v(t._s(t.profileIsVaild?t.data.sender_info.name:"未知使用者"))])]),t._v(" "),e("p",{staticClass:"avatar-txt"},[t._v(t._s(t.date))])])]),t._v(" "),e("p",{staticClass:"txtArae-label",staticStyle:{"font-size":"32px","line-height":"45px"}},[t._v("\n        "+t._s(t.data.detail&&t.data.detail.title?t.data.detail.title:"")+"\n    ")]),t._v(" "),t.data.image?e("div",{staticClass:"imgBox"},[e("div",{staticClass:"imgLink"},[e("div",{staticClass:"imgLink-img"},[e("img",{attrs:{src:t.data.image},on:{error:function(e){t.data.image=""}}})])])]):t._e(),t._v(" "),e("div",{staticClass:"txtArea"},[e("div",{staticClass:"detailContent"},[e("p",{staticClass:"txtArae-txt",domProps:{innerHTML:t._s(t.data.detail&&t.data.detail.content?t.data.detail.content:"")}})])])]):t._e()}),[],!1,null,null,null).exports,pt=[function(){var t=this._self._c;return t("div",{staticClass:"avatar-img"},[t("img",{attrs:{src:n(601),alt:""}})])},function(){var t=this._self._c;return t("div",{staticClass:"avatar-info avatar-info__arrow avatar-info__p16"},[t("span",[this._v("學習精靈")])])}];function gt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function ft(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?gt(Object(n),!0).forEach((function(e){Object(c.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):gt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var mt=n(39)("src/client/components/page/Content/PostItem/ContentResourceArticle.vue").error,At={components:{},props:{data:{type:Object,default:function(){return{}}},channelInfo:{type:Object,require:!0,default:function(){}},dataInfo:{type:Object,require:!0,default:function(){}},index:{type:Number,default:function(){return 0}}},data:function(){return{imageError:!1}},computed:ft(ft({},Object(B.c)(["isLogin"])),{},{date:function(){if(this.data.create_date){var t=new Date(this.data.create_date),e=(t.getMonth()>8?t.getMonth()+1:"0"+(t.getMonth()+1))+"/"+(t.getDate()>9?t.getDate():"0"+t.getDate()),n=("0"+t.getHours()).slice(-2)+":"+("0"+t.getMinutes()).slice(-2);return"".concat(e," ").concat(n)}return""}}),methods:{addResourceFeedback:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=t.$route.query.content,o=t.data.resourceId?t.data.resourceId:t.data.uid,r="sreport"!==n&&n?{resourceId:o,capabilityId:n,state:"1"}:{resourceId:t.data.resourceId?t.data.resourceId:t.data.uid,state:"1"},e.next=6,t.$api.nabi.addResourceFeedback(r);case 6:t.$emit("social-event",{eventType:"add-feedback",key:t.data.key}),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),mt("component error",e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})))()},handleEvent:function(){this.$viewLog.sendChannelViewlog({resourceId:this.data.resourceId?this.data.resourceId:this.data.uid,action:2,order:this.index},this.channelInfo,this.dataInfo)}}},ht=Object(E.a)(At,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"avatar"},[t._m(0),t._v(" "),e("div",{staticClass:"avatar-content"},[t._m(1),t._v(" "),t.data.create_date?e("p",{staticClass:"avatar-txt"},[t._v(t._s(t.date))]):t._e()]),t._v(" "),t.isLogin?e("div",{staticClass:"pointer",on:{click:t.addResourceFeedback}},[e("img",{attrs:{width:"16",height:"16",src:n(598),alt:""}})]):t._e()]),t._v(" "),e("a",{attrs:{"data-gtm-content":"臺雲-文章點擊",href:t.data.link,target:"_blank",rel:"noopener noreferrer"},on:{click:t.handleEvent}},[e("div",{staticClass:"imgBlock"},[e("div",{staticClass:"imgBox"},[e("div",{staticClass:"imgLink"},[e("div",{staticClass:"imgLink-img"},[t.data.image&&!t.imageError?e("img",{attrs:{src:t.data.image},on:{error:function(e){t.imageError=!0}}}):e("img",{attrs:{src:t.$getDefaultImgByHash(t.data.title),alt:""}})]),t._v(" "),e("div",{staticClass:"imgLink-info"},[e("div",{staticClass:"imgLink-path"},[t._v("\n                            "+t._s(t.$parseDomain(t.data.link))+"\n                        ")]),t._v(" "),e("div",{staticClass:"imgLink-label"},[t._v("\n                            "+t._s(t.data.title)+"\n                        ")])])])])])])])}),pt,!1,null,null,null).exports,vt=[function(){var t=this._self._c;return t("div",{staticClass:"avatar-img"},[t("img",{attrs:{src:n(601),alt:""}})])},function(){var t=this._self._c;return t("div",{staticClass:"avatar-info avatar-info__arrow avatar-info__p16"},[t("span",[this._v("學習精靈")])])},function(){var t=this._self._c;return t("div",{staticClass:"position-absolute videoPlayIcon"},[t("img",{attrs:{width:"50px",height:"50px",src:n(600),alt:""}})])}];function bt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function yt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?bt(Object(n),!0).forEach((function(e){Object(c.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):bt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ct=n(39)("src/client/components/page/Content/PostItem/ContentResourceVideo.vue").error,wt={props:{data:{type:Object,default:function(){return{}}}},computed:yt(yt({},Object(B.c)(["isLogin"])),{},{date:function(){if(this.data.create_date){var t=new Date(this.data.create_date),e=(t.getMonth()>8?t.getMonth()+1:"0"+(t.getMonth()+1))+"/"+(t.getDate()>9?t.getDate():"0"+t.getDate()),n=("0"+t.getHours()).slice(-2)+":"+("0"+t.getMinutes()).slice(-2);return"".concat(e," ").concat(n)}return""}}),methods:{addResourceFeedback:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=t.$route.query.content,o=t.data.resourceId?t.data.resourceId:t.data.uid,r="sreport"!==n&&n?{resourceId:o,capabilityId:n,state:"1"}:{resourceId:t.data.resourceId?t.data.resourceId:t.data.uid,state:"1"},e.next=6,t.$api.nabi.addResourceFeedback(r);case 6:t.$emit("social-event",{eventType:"add-feedback",key:t.data.key}),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),Ct("component error",e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})))()}}},xt=Object(E.a)(wt,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"avatar"},[t._m(0),t._v(" "),e("div",{staticClass:"avatar-content"},[t._m(1),t._v(" "),e("p",{staticClass:"avatar-txt"},[t._v(t._s(t.date))])]),t._v(" "),t.isLogin?e("div",{staticClass:"pointer",on:{click:t.addResourceFeedback}},[e("img",{attrs:{width:"16",height:"16",src:n(598),alt:""}})]):t._e()]),t._v(" "),e("div",{staticClass:"imgBlock",attrs:{"data-gtm-content":"臺雲-影片點擊"},on:{click:function(e){return t.$router.push("/film/".concat(t.data.key))}}},[e("div",{staticClass:"imgBox position-relative"},[t._m(2),t._v(" "),e("div",{staticClass:"imgLink"},[e("div",{staticClass:"imgLink-img"},[t.data.image?e("img",{attrs:{src:t.data.image}}):e("img",{attrs:{src:t.$getDefaultImgByHash(t.data.title)}})]),t._v(" "),e("div",{staticClass:"imgLink-info"},[e("div",{staticClass:"imgLink-path"},[t._v("\n                        "+t._s(t.$parseDomain(t.data.link))+"\n                    ")]),t._v(" "),e("div",{staticClass:"imgLink-label"},[t._v("\n                        "+t._s(t.data.title)+"\n                    ")])])])])])])}),vt,!1,null,null,null).exports,kt={components:{ChannelViewLogger:function(){return Promise.resolve().then(n.bind(null,564))}},props:{data:{type:Object,default:function(){}}},data:function(){return{showDetail:!0}},computed:{DOMAIN_NABI:function(){return"https://nabi.104.com.tw"}}},_t=Object(E.a)(kt,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"whitePanel__top border-0"},[e("div",{staticClass:"mb-0 position-relative"},[e("div",{staticClass:"skill-title my-padding py-3 d-flex justify-content-between align-items-center"},[e("div",{staticClass:"h2"},[t._v("推薦證照")]),t._v(" "),e("div",{class:["iconArrow",{iconRotate:!t.showDetail}],on:{click:function(e){t.showDetail=!t.showDetail}}},[e("img",{attrs:{src:n(594),alt:""}})])])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showDetail,expression:"showDetail"}],staticClass:"my-padding py-5 white-bg"},t._l(t.data.data,(function(n,o){return e("span",{key:n.capabilityId,staticClass:"h3",attrs:{"data-gtm-content":"cert"}},[e("ChannelViewLogger",{attrs:{"block-key":n.capabilityId,"enable-block":!0,"block-type":5,"block-action":1}},[e("router-link",{staticClass:"text-blue",attrs:{to:"/ability/".concat(n.capabilityId)}},[t._v(t._s(n.capability))]),t._v(" "),o!==t.data.data.length-1?e("span",[t._v("、")]):t._e()],1)],1)})),0)])}),[],!1,null,null,null).exports,Ot=(n(35),{components:{ChannelViewLogger:function(){return Promise.resolve().then(n.bind(null,564))}},props:{data:{type:Object,default:function(){}}},data:function(){return{showDetail:!0}},methods:{toJob:function(t){this.$router.push("/job/"+Number(t).toString(36)+"?action=browser")}}}),It=(n(1376),Object(E.a)(Ot,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"whitePanel__top border-0"},[e("div",{staticClass:"mb-0 position-relative"},[e("div",{staticClass:"skill-title my-padding py-3 d-flex justify-content-between align-items-center"},[e("div",{staticClass:"h2"},[t._v("工作機會")]),t._v(" "),e("div",{class:["iconArrow",{iconRotate:!t.showDetail}],on:{click:function(e){t.showDetail=!t.showDetail}}},[e("img",{attrs:{src:n(594),alt:""}})])])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showDetail,expression:"showDetail"}],staticClass:"white-bg"},t._l(t.data.data,(function(n){return e("div",{key:n.jobno,staticClass:"my-padding py-5 row justify-content-between jobRelativeBox",attrs:{"data-gtm-content":"job"}},[e("ChannelViewLogger",{staticClass:"w-100",attrs:{"block-key":n.jobno,"enable-block":!0,"block-type":2,"block-action":1}},[e("div",{staticClass:"row col-12 flex-row-reverse flex-md-row"},[e("div",{staticClass:"col-12 pr-0"},[e("h2",{staticClass:"overflow-ellipsis text-blue mb-3 jobTitle mw-100",on:{click:function(e){return t.toJob(n.jobno)}}},[t._v("\n                            "+t._s(n.jobName)+"\n                        ")]),t._v(" "),e("div",{staticClass:"d-flex p-14 mb-3"},[e("span",{staticClass:"job-info-item overflow-ellipsis jobCompany"},[t._v(t._s(n.custName))])]),t._v(" "),e("p",{staticClass:"p-14 mb-3"},[e("span",{staticClass:"job-info-item"},[t._v(t._s(n.jobAddrNoDesc))]),t._v(" "),e("span",{staticClass:"job-info-item"},[t._v(t._s(n.periodDesc))]),t._v(" "),e("span",{staticClass:"job-info-item"},[t._v(t._s(n.optionEdu))])]),t._v(" "),e("div",{staticClass:"d-flex"},[e("b-badge",{staticClass:"text-7e badge-f3 font-weight-normal",attrs:{pill:""}},[t._v(t._s(n.salaryDesc))])],1)])])])],1)})),0)])}),[],!1,null,"bc7e772c",null).exports),Bt=n(1368),St=n(1360),jt=n(1366),Dt=n(983),Rt=n(934),Mt=n(985),Ut=n(576);function Tt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function Et(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Tt(Object(n),!0).forEach((function(e){Object(c.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Tt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Lt={components:{ContentPost:L,Content3rd:F,Content3rdGroup:Y,ContentClinic:W,ContentClinicForProfile:et,ContentCMS:ot,ContentResourceArticle:ht,ContentResourceVideo:xt,ContentCMSDetail:ut,ContentCertRelative:_t,ContentJobRelative:It,ContentFeedback:Bt.a,ContentExam:St.a,ContentInterestSkill:jt.a,ContentChallenge:Dt.a,ContentIntro:Rt.a,ContentSoft:Mt.a,ChannelViewLogger:G.default},mixins:[Ut.b],props:{data:{type:Object,default:function(){return{}}},isSinglePage:{type:Boolean,default:!1},showToRoom:{type:Object,default:function(){}},viewType:{type:String,default:""},channelInfo:{type:Object,default:function(){}},capability:{type:Object,default:function(){}},isMask:{type:Boolean,default:function(){return!1}},index:{type:Number,default:function(){return 0}}},computed:Et(Et({},Object(B.e)(["postsViewLog"])),{},{dataInfo:function(){var t={};return this.$isDefined(this.data,"conditions.nabi_room_ids")&&(t.room_ids=this.data.conditions.nabi_room_ids),this.$isDefined(this.data,"tags")&&(t.tags=this.data.tags),Object.keys(t).length>0?t:void 0}}),mounted:function(){this.viewLogOption.includes(this.activityType)&&this.isSinglePage&&(this.$viewLog.sendViewlog({activityKey:this.data.key,activityType:this.data.type,channelTypeOption:this.postsViewLog.channelTypeOption,recommendType:this.postsViewLog.recommend_type},this.channelInfo,void 0,this.dataInfo),this.setPostsViewLog({recommend_type:null,channelTypeOption:null,channelInfoOption:null}))},methods:Et({},Object(B.b)(["setPostsViewLog"]))},Pt=Object(E.a)(Lt,(function(){var t=this,e=t._self._c;return e("ChannelViewLogger",{attrs:{enable:t.chanelViewLogOption.includes(t.activityType)&&!t.isSinglePage,"enable-visit":t.chanelViewVisitOption.includes(t.activityType)&&!t.isSinglePage,"resource-id":t.data.key||t.data.uid,"activity-key":t.data.key,"activity-type":t.data.type,"channel-info":t.channelInfo,"data-info":t.dataInfo,action:1,index:t.index}},[e(t.activityType,{tag:"component",attrs:{data:t.data,"is-single-page":t.isSinglePage,"show-to-room":t.showToRoom,capability:t.capability,"is-mask":t.isMask,"channel-info":t.channelInfo,"data-info":t.dataInfo,index:t.index},on:{"post-modify":function(e){t.$emit("post-modify",e)},deleteItem:function(e){t.$emit("deleteItem",e)},"social-event":function(e){t.$emit("social-event",e)},"toggle-room-top-activity":function(e){t.$emit("toggle-room-top-activity",e)},"content3rdGroup-click":function(e){return t.$emit("content3rdGroup-click")},"login-alert":function(data,e){t.$emit("login-alert",data,e)}}})],1)}),[],!1,null,null,null).exports,Ft=n(568);function Nt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function Qt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Nt(Object(n),!0).forEach((function(e){Object(c.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Nt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ht=n(39)("src/client/components/page/Content/PostItem/PostInteractionTools.vue").debug,Gt={components:{LoginAlert:Ft.a},mixins:[Ut.b],props:{data:{type:Object,default:function(){}},capability:{type:Object,default:function(){return{}}}},data:function(){return{isLoading:!1,isShare:!1}},computed:Qt(Qt(Qt({},Object(B.e)(["isMobile"])),Object(B.c)(["isLogin","pid"])),{},{link:function(){var t=this.activityType;return"ContentPost"===t?"".concat("https://nabi.104.com.tw","/posts/").concat(this.data.key,"?utm_source=104nabi&utm_medium=share"):"ContentCMS"===t?"".concat("https://nabi.104.com.tw","/104article/").concat(this.data.key.replace("cms_article_",""),"?utm_source=104nabi&utm_medium=share"):"Content3rd"===t||"ContentResourceVideo"===t?"".concat("https://nabi.104.com.tw","/film/").concat(this.data.key,"?utm_source=104nabi&utm_medium=share\n"):""},socailView:function(){var t=0;return/^\d+$/.test(String(this.data.social_count.view_log))&&(t+=parseInt(this.data.social_count.view_log)),/^\d+$/.test(String(this.data.social_count.channel_view))&&(t+=parseInt(this.data.social_count.channel_view)),t}}),methods:Qt(Qt(Qt({},Object(B.b)("wall",["addActivityFavorite","deleteActivityFavorite","addActivityHandClap","deleteActivityHandClap"])),Object(B.b)("user",["updateFavorite","addEventLog"])),{},{shareToSocialMedia:function(t){var e=this.activityType,n="";"ContentPost"===e&&(n="".concat("https://nabi.104.com.tw","/posts/").concat(this.data.key)),"Content3rd"!==e&&"ContentResourceVideo"!==e||(n="".concat("https://nabi.104.com.tw","/film/").concat(this.data.key)),"ContentCMS"===e&&(n="".concat("https://nabi.104.com.tw","/104article/").concat(this.data.key.replace("cms_article_",""))),n="".concat(n,"?utm_source=104nabi&utm_medium=share");var o=this.isLogin?this.pid:"0",r=this.isLogin?"pid":"actor_id",c=this.isLogin?this.pid:this.$cookies.get("actor_id");"FB"===t?(window.open("http://www.facebook.com/share.php?u=".concat(encodeURIComponent(n),"&hashtag=").concat(encodeURIComponent("#104學習精靈")),"_blank","toolbar=yes,scrollbars=yes,resizable=yes,left=500,width=800,height=600"),"ContentPost"===e&&this.isLogin&&this.$api.nabi.sendNotify("Nabi_N016",this.data.key),"ContentPost"===e&&this.apiAddEventLog("1003","1",o,[{name:r,value:c},{name:"post_id",value:this.data.key}]),"ContentCMS"===e&&this.apiAddEventLog("1007","1",o,[{name:r,value:c},{name:"post_id",value:this.data.key}])):"LINE"===t&&(window.open("https://social-plugins.line.me/lineit/share?url=".concat(encodeURIComponent(n),"&text=").concat(encodeURIComponent("#104學習精靈")),"_blank","toolbar=yes,scrollbars=yes,resizable=yes,left=500,width=800,height=600"),"ContentPost"===e&&this.apiAddEventLog("1004","1",o,[{name:r,value:c},{name:"post_id",value:this.data.key}]),"ContentCMS"===e&&this.apiAddEventLog("1008","1",o,[{name:r,value:c},{name:"post_id",value:this.data.key}]))},shareToSocialMediaForMobile:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.activityType,o="","ContentPost"===n&&(o="".concat("https://nabi.104.com.tw","/posts/").concat(t.data.key)),"Content3rd"!==n&&"ContentResourceVideo"!==n||(o="".concat("https://nabi.104.com.tw","/film/").concat(t.data.key)),"ContentCMS"===n&&(o="".concat("https://nabi.104.com.tw","/104article/").concat(t.data.key.replace("cms_article_",""))),o="".concat(o,"?utm_source=104nabi&utm_medium=share"),!t.isMobile){e.next=20;break}if(r={title:"#104學習精靈",text:"",url:o},!navigator.canShare){e.next=19;break}return e.prev=9,e.next=12,navigator.share(r);case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(9),Ht("Itme:click share",e.t0);case 17:e.next=20;break;case 19:t.isShare=!t.isShare;case 20:case"end":return e.stop()}}),e,null,[[9,14]])})))()},openInvite:function(){this.isMobile?this.shareToSocialMediaForMobile():this.isShare=!this.isShare},clap:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.isLogin){e.next=3;break}return t.$refs.LoginAlert.openModal(),e.abrupt("return");case 3:if(!t.data.social_do.handclap||t.isLoading){e.next=20;break}return t.isLoading=!0,e.prev=5,e.next=8,t.deleteActivityHandClap({activity_type:t.data.type,activity_key:t.data.key});case 8:t.$toast.show("已取消拍手囉！"),t.$emit("social-event",{eventType:"cancel-clap",key:t.data.key}),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(5),t.$toast.show("取消拍手失敗！");case 15:return e.prev=15,t.isLoading=!1,e.finish(15);case 18:e.next=35;break;case 20:if(t.data.social_do.handclap||t.isLoading){e.next=35;break}return t.isLoading=!0,e.prev=22,e.next=25,t.addActivityHandClap({activity_type:t.data.type,activity_key:t.data.key});case 25:t.$toast.show("已送出拍手囉！"),t.$emit("social-event",{eventType:"add-clap",key:t.data.key}),e.next=32;break;case 29:e.prev=29,e.t1=e.catch(22),t.$toast.show("送出拍手失敗！");case 32:return e.prev=32,t.isLoading=!1,e.finish(32);case 35:case"end":return e.stop()}}),e,null,[[5,12,15,18],[22,29,32,35]])})))()},Favorite:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.isLogin){e.next=3;break}return t.$refs.LoginAlert.openModal(),e.abrupt("return");case 3:if("ContentPost"!==t.activityType&&"ContentCMS"!==t.activityType&&"ContentClinic"!==t.activityType){e.next=38;break}if(!t.data.social_do.favorite||t.isLoading){e.next=21;break}return t.isLoading=!0,e.prev=6,e.next=9,t.deleteActivityFavorite({activity_type:t.data.type,activity_key:t.data.key});case 9:t.$toast.show("已移除收藏囉！"),t.$emit("social-event",{eventType:"cancel-favorite",key:t.data.key}),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(6),t.$toast.show("移除收藏失敗！");case 16:return e.prev=16,t.isLoading=!1,e.finish(16);case 19:e.next=36;break;case 21:if(t.data.social_do.favorite||t.isLoading){e.next=36;break}return t.isLoading=!0,e.prev=23,e.next=26,t.addActivityFavorite({activity_type:t.data.type,activity_key:t.data.key});case 26:t.$toast.show('已收藏至<a href="/mynabi/saving" class="text-white" style="text-decoration: underline">我的收藏</a>！'),t.$emit("social-event",{eventType:"add-favorite",key:t.data.key}),e.next=33;break;case 30:e.prev=30,e.t1=e.catch(23),t.$toast.show("收藏失敗！");case 33:return e.prev=33,t.isLoading=!1,e.finish(33);case 36:e.next=57;break;case 38:if("Content3rd"!==t.activityType&&"ContentResourceVideo"!==t.activityType&&"ContentResourceArticle"!==t.activityType){e.next=57;break}if(n=t.data.key,o=t.data.social_do.favorite?"0":"1",Ht("Itme:click favorite",n,o),r={resourceId:n,favoriteState:o},"1"===String(r.favoriteState)&&t.$elog({track:["saveVideo"],ext:{videoId:r.resourceId}}),e.prev=44,t.isLoading){e.next=52;break}return t.isLoading=!0,e.next=49,t.updateFavorite(r);case 49:"1"===o&&(t.$toast.show('已收藏至<a href="/mynabi/saving" class="text-white" style="text-decoration: underline">我的收藏</a>！'),t.$emit("social-event",{eventType:"add-favorite",key:t.data.key})),"0"===o&&(t.$toast.show("已移除收藏囉！"),t.$emit("social-event",{eventType:"cancel-favorite",key:t.data.key})),t.isLoading=!1;case 52:e.next=57;break;case 54:return e.prev=54,e.t2=e.catch(44),e.abrupt("return",e.t2);case 57:case"end":return e.stop()}}),e,null,[[6,13,16,19],[23,30,33,36],[44,54]])})))()},copyLink:function(){var t=this.$refs.copyLink,e=this.activityType,n=this.isLogin?this.pid:"0",o=this.isLogin?"pid":"actor_id",r=this.isLogin?this.pid:this.$cookies.get("actor_id");t.select(),t.setSelectionRange(0,99999),document.execCommand("copy"),"ContentPost"===e&&this.apiAddEventLog("1006","1",n,[{name:o,value:r},{name:"post_id",value:this.data.key}]),"ContentCMS"===e&&this.apiAddEventLog("1010","1",n,[{name:o,value:r},{name:"post_id",value:this.data.key}]),this.$toast.show("您已複製連結！")},toggleComment:function(){this.isLogin?this.$emit("toggle-comment"):this.$refs.LoginAlert.openModal()},hide:function(){this.isShare=!1},apiAddEventLog:function(t,e,n,r){var c=this;return Object(o.a)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,c.$api.user.addEventLog({event:t,eventType:e,createUser:n,fields:r});case 2:case"end":return o.stop()}}),o)})))()}})},Vt=(n(1381),Object(E.a)(Gt,(function(){var t=this,e=t._self._c;return t.data?e("div",[t.data.social_count?e("div",{staticClass:"countArea"},[t.clapCountOption.includes(t.activityType)?e("span",{staticClass:"clap",style:{cursor:t.data.social_count.handclap>0?"pointer":"defaut"},on:{click:function(e){t.data.social_count.handclap>0&&t.$emit("openClapModal",{key:t.data.key})}}},[t._v(t._s(t.data.social_count.handclap||0))]):t._e(),t._v(" "),t.commentCountOption.includes(t.activityType)?e("span",{staticClass:"comment"},[t._v("\n            "+t._s(t.data.social_count.comment||0)+"\n        ")]):t._e(),t._v(" "),t.viewCountOption.includes(t.activityType)?e("span",{staticClass:"views"},[t._v(t._s(t.socailView||0))]):t._e(),t._v(" "),t.favorCountOption.includes(t.activityType)?e("span",{staticClass:"favoriteCount"},[t._v(t._s(t.data.social_count.favorite||0))]):t._e()]):t._e(),t._v(" "),t.clapOption.includes(t.activityType)||t.commentOption.includes(t.activityType)||t.shareOption.includes(t.activityType)||t.favorOption.includes(t.activityType)?e("div",{staticClass:"feedbackArea"},[t.clapOption.includes(t.activityType)?e("div",{staticClass:"feedback-item feedback-item__4btn",on:{click:t.clap}},[e("div",{staticClass:"iconBG clap",class:{active:t.data.social_do.handclap}},[t._v("拍手")])]):t._e(),t._v(" "),t.commentOption.includes(t.activityType)?e("div",{staticClass:"feedback-item feedback-item__4btn",on:{click:t.toggleComment}},[e("div",{staticClass:"iconBG comment"},[t._v("留言")])]):t._e(),t._v(" "),t.shareOption.includes(t.activityType)?e("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.hide,expression:"hide"}],class:["feedback-item","feedback-item__4btn",{open:t.isShare}],on:{click:t.openInvite}},[e("div",{staticClass:"iconBG share",class:{active:t.isShare}},[t._v("分享")]),t._v(" "),e("div",{staticClass:"sharePop"},[e("div",{staticClass:"shareTo"},[e("div",{staticClass:"shareTo-label"},[t._v("分享到：")]),t._v(" "),e("div",{staticClass:"shareTo-list"},[e("div",{staticClass:"shareTo-item",on:{click:function(e){return t.shareToSocialMedia("LINE")}}},[e("img",{attrs:{src:n(587),alt:""}}),t._v(" "),e("p",[t._v("Line")])]),t._v(" "),e("div",{staticClass:"shareTo-item",on:{click:function(e){return t.shareToSocialMedia("FB")}}},[e("img",{attrs:{src:n(586),alt:""}}),t._v(" "),e("p",[t._v("Facebook")])]),t._v(" "),e("div",{staticClass:"shareTo-item",on:{click:t.copyLink}},[e("img",{attrs:{src:n(588),alt:""}}),t._v(" "),e("p",[t._v("複製連結")])])]),t._v(" "),e("div",{staticClass:"shareTo-close"},[t._v("取消")])])])]):t._e(),t._v(" "),t.favorOption.includes(t.activityType)?e("div",{staticClass:"feedback-item feedback-item__4btn",on:{click:t.Favorite}},[e("div",{staticClass:"iconBG favor",class:{active:t.data.social_do.favorite,"pointer-event-stop":t.isLoading}},[t._v("\n                收藏\n            ")])]):t._e()]):t._e(),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.link,expression:"link"}],ref:"copyLink",staticClass:"copylink",attrs:{type:"text"},domProps:{value:t.link},on:{input:function(e){e.target.composing||(t.link=e.target.value)}}}),t._v(" "),e("LoginAlert",{ref:"LoginAlert",attrs:{message:"互動功能"}})],1):t._e()}),[],!1,null,"94d38398",null).exports),Jt=(n(110),n(87),n(47)),Kt={data:function(){return{content:"",activityKey:"",commentId:""}},methods:{closeModal:function(){this.$refs.modal.hide()},openModal:function(t,e,content){this.$refs.modal&&(this.activityKey=t,this.commentId=e,this.content=content,this.$refs.modal.show())},apiUpdateComment:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$refs.observer.validate();case 2:if(e.sent){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,Object(Jt.f)(t.$refs.postContent.value,"urlMalicious");case 7:if((n=e.sent).valid){e.next=11;break}return t.$refs.postContent.applyResult(n),e.abrupt("return");case 11:t.$emit("apiUpdateComment",t.activityKey,t.commentId,t.content);case 12:case"end":return e.stop()}}),e)})))()}}},Yt=Object(E.a)(Kt,(function(){var t=this,e=t._self._c;return e("ValidationObserver",{ref:"observer"},[e("b-modal",{ref:"modal",attrs:{id:"bv-modal-modifyDialog",centered:"",scrollable:"","dialog-class":"postDialog"},scopedSlots:t._u([{key:"modal-header",fn:function(n){var o=n.close;return[e("h5",{staticClass:"header-text"},[t._v("修改留言")]),t._v(" "),e("i",{staticClass:"btn-close pointer",on:{click:function(t){return t.preventDefault(),o.apply(null,arguments)}}})]}},{key:"default",fn:function(n){var o=n.close;return[e("div",{staticClass:"postDialog__content"},[e("form",{attrs:{action:""}},[e("ValidationProvider",{ref:"postContent",staticClass:"d-block w-100",attrs:{rules:"required|commentContentLen:1,1000|sensitiveWord"},scopedSlots:t._u([{key:"default",fn:function(n){var o=n.failed,r=n.errors;return[e("div",{class:["postArea",{"is-invalid":o}]},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.content,expression:"content"}],attrs:{rows:"5",name:"修改內容",placeholder:"分享你對「提案與簡報技巧」的新知或想法",maxlength:"1000"},domProps:{value:t.content},on:{input:function(e){e.target.composing||(t.content=e.target.value)}}}),t._v(" "),e("p",[t._v(t._s(t.content.length)+"/1000")]),t._v(" "),e("div",{staticClass:"invalid-txt"},[t._v(t._s(r[0]))])])]}}],null,!0)}),t._v(" "),e("div",{staticClass:"btnGroup"},[e("button",{staticClass:"btn btn-outline-primary",on:{click:function(t){return t.preventDefault(),o.apply(null,arguments)}}},[t._v("\n                            取消\n                        ")]),t._v(" "),e("button",{staticClass:"btn btn-secondary",attrs:{disabled:0===t.content.length},on:{click:function(e){return e.preventDefault(),t.apiUpdateComment.apply(null,arguments)}}},[t._v("\n                            修改\n                        ")])])],1)])]}}])})],1)}),[],!1,null,null,null),qt=Yt.exports;function zt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function Xt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?zt(Object(n),!0).forEach((function(e){Object(c.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):zt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Wt=n(39)("src/client/components/page/Content/PostCommentItem/SubMsgItem.vue").error,Zt={components:{MoreTools:m.a,ReportDialog:A.a,ModifyCommentDialog:qt,DeleteAlert:h.a,LoginAlert:Ft.a,ParseUrl:f.a,CkoRoomList:C.a},props:{item:{type:Object,default:function(){return{}}},postType:{type:String,default:"nabi_post"},commentCount:{type:Number,default:0},capability:{type:Object,default:function(){return{}}},isSinglePage:{type:Boolean,default:!1}},data:function(){return{isLoading:null,editContent:"",lineFlag:!1,lineNum:0,errorAvatar:'this.src="/img/avatar-default.png"'}},watch:{editContent:function(t,e){this.overRowHidden()}},mounted:function(){this.overRowHidden(),this.getCkoList()},computed:Xt(Xt(Xt({},Object(B.c)(["pid","isLogin"])),Object(B.c)("cko",["ckoListData"])),{},{achievementScoreImg:function(){var t=this.item.user,e=void 0===t?{}:t,o=(null===e?{}:e).achievement_score,r=void 0===o?0:o;return n(null===r||r<400?561:r<1600?577:r<6400?578:r>=6400?579:561)},ckoType:function(){var t=this;try{var e=this.ckoListData.find((function(e){return e.pid===t.item.pid}));return e?e.cko_type:0}catch(t){return Wt("ckoType",t),!1}},profileIsVaild:function(){var t=(this.item||{}).user,e=(void 0===t?{}:t).valid;return void 0===e||e}}),methods:Xt(Xt(Xt({},Object(B.b)("wall",["addCommentHandClap","deleteCommentHandClap","deleteComment","updateComment","reportCommentBlack"])),Object(B.b)("cko",["getCkoList"])),{},{date:function(time){var t=new Date(time),e=(t.getMonth()>8?t.getMonth()+1:"0"+(t.getMonth()+1))+"/"+(t.getDate()>9?t.getDate():"0"+t.getDate()),n=("0"+t.getHours()).slice(-2)+":"+("0"+t.getMinutes()).slice(-2);return"".concat(e," ").concat(n)},openModifyCommentDialogModal:function(t,e,content){this.$refs.ModifyCommentDialog.openModal(t,e,content)},openDeleteCommentAlertModal:function(t,e,content){this.$refs.DeleteAlert.openModal(t,e,this.editContent?this.editContent:content)},openReportDialogModal:function(t,e){this.$refs.ReportDialog.openModal(t,e)},apiClap:function(t,e){var n=this;return Object(o.a)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(n.isLogin){o.next=3;break}return n.$refs.LoginAlert.openModal(),o.abrupt("return");case 3:if(!n.item.social_do.handclap||n.isLoading){o.next=18;break}return n.isLoading=!0,o.prev=5,o.next=8,n.deleteCommentHandClap({activity_type:n.postType,activity_key:t,comment_id:e});case 8:n.$emit("social-event",{eventType:"cancel-comment-clap",key:t,commentId:e}),n.$toast.show("你已收回拍手囉！"),o.next=15;break;case 12:o.prev=12,o.t0=o.catch(5),n.$toast.show("收回拍手失敗！");case 15:n.isLoading=!1,o.next=31;break;case 18:if(n.item.social_do.handclap||n.isLoading){o.next=31;break}return n.isLoading=!0,o.prev=20,o.next=23,n.addCommentHandClap({activity_type:n.postType,activity_key:t,comment_id:e});case 23:n.$emit("social-event",{eventType:"add-comment-clap",key:t,commentId:e}),n.$toast.show("你已送出拍手囉！"),o.next=30;break;case 27:o.prev=27,o.t1=o.catch(20),n.$toast.show("送出拍手失敗！");case 30:n.isLoading=!1;case 31:case"end":return o.stop()}}),o,null,[[5,12],[20,27]])})))()},apiDeleteComment:function(t,e){var n=this;return Object(o.a)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,n.deleteComment({activity_type:n.postType,activity_key:t,comment_id:e});case 3:n.editContent="",n.$emit("social-event",{eventType:"delete-comment",key:t,commentId:e}),n.$refs.DeleteAlert.closeModal(),n.$toast.show("已經刪除留言囉！"),o.next=13;break;case 9:return o.prev=9,o.t0=o.catch(0),n.$toast.show("刪除留言失敗！"),o.abrupt("return",o.t0);case 13:case"end":return o.stop()}}),o,null,[[0,9]])})))()},apiUpdateComment:function(t,e,content){var n=this;return Object(o.a)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,n.updateComment({content:content,activity_type:n.postType,activity_key:t,comment_id:e});case 3:n.editContent=content,n.$refs.ModifyCommentDialog.closeModal(),n.$toast.show("已成功修改留言！"),o.next=11;break;case 8:o.prev=8,o.t0=o.catch(0),n.$toast.show("修改留言失敗！");case 11:case"end":return o.stop()}}),o,null,[[0,8]])})))()},apiReportCommentBlack:function(){var t=arguments,e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){var o,r,c,l;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.length>0&&void 0!==t[0]?t[0]:"",r=t.length>1&&void 0!==t[1]?t[1]:"",c=t.length>2&&void 0!==t[2]?t[2]:"",l=t.length>3&&void 0!==t[3]?t[3]:"",n.prev=4,n.next=7,e.reportCommentBlack({activity_type:e.postType,activity_key:o,comment_id:r,black_type:c,comment:l,source:"ability=".concat(e.capability.capabilityId?e.capability.capabilityId:e.$route.query.content)});case 7:e.$toast.show("檢舉成功！"),e.$refs.ReportDialog.closeModal(),n.next=15;break;case 11:return n.prev=11,n.t0=n.catch(4),e.$toast.show("發生錯誤！"),n.abrupt("return",n.t0);case 15:case"end":return n.stop()}}),n,null,[[4,11]])})))()},overRowHidden:function(){this.isSinglePage?this.lineFlag=!1:(this.lineNum=this.$refs.txtArea.offsetHeight/40,this.lineNum>3?this.lineFlag=!0:this.lineFlag=!1)},loginAlert:function(){this.isLogin||this.$refs.LoginAlert.openModal()},openCkoRoomListModal:function(){this.$refs.ckoRoomList.openModal()}})},$t=Zt,te={components:{SubMsgItem:Object(E.a)($t,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"subMsg-item"},[e("div",{staticClass:"avatar"},[e("div",{staticClass:"avatar-img avatar-badge mr-2"},[e("img",{directives:[{name:"show",rawName:"v-show",value:t.item.user&&Array.isArray(t.item.user.active_services)&&t.item.user.active_services.length>0,expression:"\n                    item.user &&\n                    Array.isArray(item.user.active_services) &&\n                    item.user.active_services.length > 0\n                "}],attrs:{src:t.achievementScoreImg,alt:""}}),t._v(" "),t.item&&t.item.user&&t.item.user.headshot_url||!t.profileIsVaild?e("img",{attrs:{src:t.profileIsVaild?t.item.user.headshot_url:n(567),alt:"",onerror:t.errorAvatar}}):e("img",{attrs:{src:n(560),alt:""}})]),t._v(" "),e("div",{staticClass:"avatar-content"},[e("div",{staticClass:"avatar-info avatar-info__p14 noRoomSender",staticStyle:{float:"left"}},[t._v("\n                "+t._s(t.profileIsVaild?t.item.user.nickname:"未知使用者")+"\n            ")]),t._v(" "),t.ckoType>0&&t.profileIsVaild?e("strong",{staticClass:"d-inline-block avatar-cko ml-1 mt-1",on:{click:t.openCkoRoomListModal}},[t._v("\n                "+t._s(1===t.ckoType?"知識長":"副知識長"))]):t._e(),t._v(" "),e("div",{staticClass:"avatar-txt",staticStyle:{clear:"both"}},[t.item.user&&t.item.user.job_name&&t.profileIsVaild?e("p",[t._v("\n                    "+t._s(t.item.user.job_name)+"\n                ")]):t._e(),t._v(" "),e("p",[t._v(t._s(t.date(t.item.create_date)))])])]),t._v(" "),t.isLogin?e("MoreTools",{staticStyle:{"min-width":"24px"}},[t.item.pid==t.pid?e("div",{staticClass:"toolItem",on:{click:function(e){return t.openModifyCommentDialogModal(t.item.activity_key,t.item.id,t.editContent?t.editContent:t.item.content)}}},[t._v("\n                修改\n            ")]):t._e(),t._v(" "),t.item.pid===Number(t.pid)?e("div",{staticClass:"toolItem",on:{click:function(e){return t.openDeleteCommentAlertModal(t.item.activity_key,t.item.id,t.editContent?t.editContent:t.item.content)}}},[t._v("\n                刪除\n            ")]):t._e(),t._v(" "),t.item.pid!==Number(t.pid)?e("div",{staticClass:"toolItem",on:{click:function(e){return t.openReportDialogModal(t.item.activity_key,t.item.id)}}},[t._v("\n                檢舉\n            ")]):t._e()]):t._e()],1),t._v(" "),e("div",{staticClass:"txtArea"},[e("p",{ref:"txtArea",class:["txtArae-txt",{hiddenRow:t.lineFlag}]},[e("ParseUrl",{attrs:{content:t.editContent?t.editContent:t.item.content}})],1),t._v(" "),t.lineFlag?e("b",{staticClass:"d-block pointer text-7e",on:{click:function(e){e.stopPropagation(),t.lineFlag=!1}}},[t._v("\n            看更多\n        ")]):t._e()]),t._v(" "),e("div",{staticClass:"feedbackArea border-0"},[e("div",{staticClass:"feedback-item",on:{click:function(e){return t.apiClap(t.item.activity_key,t.item.id)}}},[e("div",{class:["iconBG","clap",{active:t.item.social_do.handclap}]},[t._v("\n                拍手\n            ")])]),t._v(" "),t.item.social_do.handclap&&t.item.social_count.handclap>1?e("div",{staticClass:"feedback-item feedback-item__count"},[e("img",{attrs:{src:n(585),alt:""}}),t._v(" 你和"+t._s(t.item.social_count.handclap-1)+"人\n        ")]):t.item.social_do.handclap&&1===t.item.social_count.handclap?e("div",{staticClass:"feedback-item feedback-item__count"},[e("img",{attrs:{src:n(585),alt:""}}),t._v(" 1人\n        ")]):!t.item.social_do.handclap&&t.item.social_count.handclap>0?e("div",{staticClass:"feedback-item feedback-item__count"},[e("img",{attrs:{src:n(585),alt:""}}),t._v(" "+t._s(t.item.social_count.handclap)+"人\n        ")]):t._e()]),t._v(" "),e("ModifyCommentDialog",{ref:"ModifyCommentDialog",on:{apiUpdateComment:t.apiUpdateComment}}),t._v(" "),e("DeleteAlert",{ref:"DeleteAlert",on:{apiDelete:t.apiDeleteComment}}),t._v(" "),e("ReportDialog",{ref:"ReportDialog",attrs:{from:"comment"},on:{apiReport:t.apiReportCommentBlack}}),t._v(" "),e("LoginAlert",{ref:"LoginAlert",attrs:{message:"互動功能"}}),t._v(" "),e("CkoRoomList",{ref:"ckoRoomList",attrs:{pid:String(t.item.user.pid),name:t.item.user.nickname,"job-title":t.item.user.job_name,headshot:t.item.user.headshot_url}})],1)}),[],!1,null,"9294a4fe",null).exports},props:{data:{type:Object,default:function(){return{}}},postType:{type:String,default:"nabi_post"},capability:{type:Object,default:function(){return{}}},isSinglePage:{type:Boolean,default:!1},limit:{type:Number,default:1}},data:function(){return{}},methods:{linkToPath:function(t,e){var n="";"nabi_post"===e?n="/posts/".concat(t).concat(this.capability.capabilityId?"?content=".concat(this.capability.capabilityId):""):"cms_article"===e&&(n="/104article/".concat(t.replace("cms_article_","")).concat(this.capability.capabilityId?"?content=".concat(this.capability.capabilityId):"")),n&&this.$router.push(n)}}},ee=Object(E.a)(te,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"w-100 commentContainer"},[t.isSinglePage?t.isSinglePage?e("div",t._l(t.data.list,(function(n,o){return e("div",{key:"".concat(n.id,"-").concat(o),staticClass:"subMsg commentItem"},[e("SubMsgItem",{attrs:{item:n,"post-type":t.postType,"comment-count":t.data.count,"is-single-page":t.isSinglePage,capability:t.capability},on:{"social-event":function(e){t.$emit("social-event",e)}}})],1)})),0):t._e():e("div",[e("div",{staticClass:"subMsg commentItem"},[t._l(t.data.list,(function(n,o){return e("SubMsgItem",{directives:[{name:"show",rawName:"v-show",value:o<t.limit,expression:"index < limit"}],key:"".concat(n.id,"-").concat(o),ref:"subMsgItem",refInFor:!0,attrs:{item:n,"post-type":t.postType,"is-single-page":t.isSinglePage,"comment-count":t.data.count,capability:t.capability},on:{"social-event":function(e){t.$emit("social-event",e)}}})})),t._v(" "),t.data.count>1&&!1===t.isSinglePage&&t.data.count-t.limit>0?e("div",{staticClass:"subMsg seeMore"},[e("div",{staticClass:"seeMsg d-block",on:{click:function(e){return t.linkToPath(t.data.list[0].activity_key,t.postType)}}},[e("span",[t._v("看其他"+t._s(t.data.count-t.limit)+"則留言")])])]):t._e()],2)])])}),[],!1,null,null,null).exports;function ne(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function ie(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ne(Object(n),!0).forEach((function(e){Object(c.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ae=n(39)("src/client/components/page/Content/PostCommentItem/PostCommentContainer.vue").error,oe={components:{PostCommentItemNormal:ee},mixins:[Ut.b],props:{data:{type:Object,default:function(){return{}}},isSinglePage:{type:Boolean,default:!1},capability:{type:Object,default:function(){return{}}}},data:function(){return{commentData:{count:0,has_next:!1,list:[]},isLoading:!1,limit:1}},mounted:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.commentOption.includes(t.activityType)||!t.isSinglePage){e.next=5;break}return e.next=3,t.apiGetAllCommentList();case 3:e.next=6;break;case 5:t.setFirstComment();case 6:case"end":return e.stop()}}),e)})))()},computed:ie(ie({},Object(B.c)(["pid"])),{},{isSender:function(){return this.$isDefined(this,"data.sender")&&this.pid===this.data.sender}}),methods:ie(ie({},Object(B.b)("wall",["getAllCommentList"])),{},{setFirstComment:function(){var t,e;null!==(t=this.data)&&void 0!==t&&t.first_comment&&this.commentData.list.push(this.data.first_comment),this.commentData.count=null===(e=this.data.social_count)||void 0===e?void 0:e.comment},apiGetAllCommentList:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.isLoading){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,t.isLoading=!0,e.next=6,t.getAllCommentList({size:1,start:1,activity_key:t.data.key});case 6:n=e.sent,t.commentData.list=n.list,t.commentData.count=n.count,e.next=14;break;case 11:e.prev=11,e.t0=e.catch(2),ae("apiGetAllCommentList error",e.t0);case 14:return e.prev=14,t.isLoading=!1,e.finish(14);case 17:case"end":return e.stop()}}),e,null,[[2,11,14,17]])})))()},event:function(t){var e=this.$route.path.startsWith("/profile"),n="".concat("https://giver.104.com.tw","/question/").concat(t.replace("giver_question_",""),"?utm_source=nabi&utm_medium=").concat(e?"profile":"feed");window.open(n,"_blank")},socailEventHandler:function(t){var e=this.commentData.list.findIndex((function(e){return t.commentId===e.id}));switch(t.eventType){case"add-comment-clap":e>-1&&(this.commentData.list[e].social_count.handclap+=1,this.commentData.list[e].social_do.handclap=!0);break;case"cancel-comment-clap":e>-1&&(this.commentData.list[e].social_count.handclap-=1,this.commentData.list[e].social_do.handclap=!1);break;case"add-comment":e>-1&&(this.commentData.list[e].social_count.comment+=1,this.apiGetAllCommentList());break;case"delete-comment":e>-1&&(this.commentData.list[e].social_count.comment-=1,this.setDisplayLimit(),this.apiGetAllCommentList())}this.$emit("social-event",t)},setDisplayLimit:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.limit=t}})},re=oe,se=(n(1382),Object(E.a)(re,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"w-100 position-relative"},[t.isLoading?e("div",{staticClass:"d-flex m-auto iconWrap"},[e("img",{staticClass:"loader-icon w-100 m-0",attrs:{src:n(375)}})]):t._e(),t._v(" "),t.commentArea.includes(t.activityType)&&t.data.social_count&&t.data.social_count.comment&&t.data.social_count.comment>0&&"ContentClinic"!==t.activityType?e("PostCommentItemNormal",{attrs:{"is-single-page":t.isSinglePage,data:t.commentData,"post-type":t.data.type,capability:t.capability,limit:t.limit},on:{"social-event":t.socailEventHandler}}):"ContentClinic"===t.activityType&&t.isSender?e("div",{staticClass:"subMsg",staticStyle:{"margin-bottom":"20px"}},[e("div",{staticClass:"seeMsg d-block",staticStyle:{"border-top":"0px"},on:{click:function(e){return t.event(t.data.key)}}},[e("span",[t._v("查看詳細問答")])])]):t._e()],1)}),[],!1,null,"21770136",null).exports);function ce(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function le(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ce(Object(n),!0).forEach((function(e){Object(c.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ue={components:{LoginAlert:Ft.a},mixins:[Ut.b],props:{isComment:{type:Boolean,default:!1},data:{type:Object,default:function(){return{}}}},data:function(){return{commentContent:"",isLoading:!1}},watch:{isComment:function(t,e){t?this.$refs.textArea.focus():this.$refs.textArea.blur()}},computed:le(le(le({},Object(B.c)(["isLogin"])),Object(B.e)("auth",{user:function(t){return t.user}})),{},{isAvatar:function(){return this.user&&this.user.photo_image_link?this.user.photo_image_link:""}}),methods:le(le({},Object(B.b)("wall",["addComment"])),{},{loginAlert:function(){this.isLogin||this.$refs.LoginAlert.openModal()},apiAddComment:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.isLogin){e.next=3;break}return t.$refs.LoginAlert.openModal(),e.abrupt("return");case 3:return e.prev=3,e.next=6,t.$refs.observer.validate();case 6:if(e.sent){e.next=9;break}return e.abrupt("return");case 9:return e.next=11,Object(Jt.f)(t.$refs.postContent.value,"urlMalicious");case 11:if((n=e.sent).valid){e.next=15;break}return t.$refs.postContent.applyResult(n),e.abrupt("return");case 15:return t.isLoading=!0,e.next=18,t.addComment({activity_type:t.data.type,activity_key:t.data.key,content:t.commentContent});case 18:(o=e.sent).comment_id?(t.commentContent="",t.$toast.show("已留言成功囉！"),t.$emit("toggle-comment",!1),t.$emit("social-event",{eventType:"add-comment",key:t.data.key,commentId:o.comment_id})):t.$toast.show("留言失敗！"),t.isLoading=!1,e.next=28;break;case 23:return e.prev=23,e.t0=e.catch(3),t.$toast.show("留言失敗！"),t.isLoading=!1,e.abrupt("return",e.t0);case 28:case"end":return e.stop()}}),e,null,[[3,23]])})))()}})},de=Object(E.a)(ue,(function(){var t=this,e=t._self._c;return e("div",[e("client-only",[e("ValidationObserver",{ref:"observer"},[t.commentOption.includes(t.activityType)?e("div",{staticClass:"avatar"},[e("div",{staticClass:"avatar-img"},[t.isAvatar?e("img",{attrs:{src:t.isAvatar,alt:""}}):e("img",{attrs:{src:n(376),alt:""}})]),t._v(" "),e("ValidationProvider",{ref:"postContent",staticClass:"d-block w-100",attrs:{rules:"required|commentContentLen:1,1000|sensitiveWord"},scopedSlots:t._u([{key:"default",fn:function(n){var o=n.failed,r=n.errors;return[e("div",{class:["avatar-textarea",{open:t.isComment}]},[e("div",{class:["form-group",{"is-invalid":o}],on:{click:t.loginAlert}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.commentContent,expression:"commentContent"}],ref:"textArea",staticClass:"form-control",attrs:{type:"text",name:"留言內容",maxlength:"1000",placeholder:"寫下你的想法..."},domProps:{value:t.commentContent},on:{focus:function(e){return t.$emit("toggle-comment",!0)},input:function(e){e.target.composing||(t.commentContent=e.target.value)}}}),t._v(" "),e("p",[t._v(t._s(t.commentContent.length)+"/1000")]),t._v(" "),o&&t.isComment?e("span",{staticClass:"invalid-txt"},[t._v(t._s(r[0]))]):t._e()]),t._v(" "),e("button",{staticClass:"btn btn-secondary ml-auto",attrs:{disabled:(0===t.commentContent.length||t.isLoading)&&t.isLogin},on:{click:t.apiAddComment}},[t._v("\n                            "+t._s(t.isLogin?"留言":"登入")+"\n                        ")])])]}}],null,!1,2485492569)}),t._v(" "),e("LoginAlert",{ref:"LoginAlert",attrs:{message:"新增留言"}})],1):t._e()])],1)],1)}),[],!1,null,null,null).exports,pe={props:{title:{type:String,required:!0},itemKey:{type:String,required:!0},noCancel:{type:Boolean,default:!1}},data:function(){return{resovle:void 0,value:!1,defaultAvatarImg:'this.src="'+n(560)+'"',data:{result:[]},initial:!1,isLoading:!1}},methods:{openModal:function(){this.value=!1;var t=this;return this.$refs.modal&&this.$refs.modal.show(),new Promise((function(e){t.resovle=e}))},hideModal:function(){this.$refs.modal&&this.$refs.modal.hide()},onModalShow:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.isLoading=!0,e.next=3,t.$api.wall.getClapUsers({size:20,start:1,activity_key:t.itemKey});case 3:n=e.sent,t.data=n,t.initial=!0,t.isLoading=!1;case 7:case"end":return e.stop()}}),e)})))()},onHidden:function(t){this.resovle&&(this.resovle(this.value),this.resovle=void 0),this.data={},this.initial=!1,this.isLoading=!0},onCancelClick:function(){this.value=!1,this.hideModal()},onOkClick:function(){this.value=!0,this.hideModal()},onlastItemShow:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){var o,r,c,l,f,m,A;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(o=e.data,r=o.has_next,c=void 0!==r&&r,l=o.next,f=void 0===l?1:l,!e.initial||e.$refs.modal.isClosing||e.isLoading||!t||!c){n.next=10;break}return e.isLoading=!0,n.next=5,e.$api.wall.getClapUsers({size:10,start:f,activity_key:e.itemKey});case 5:A=n.sent,e.data.next=A.next,e.data.has_next=A.has_next,(m=e.data.result).push.apply(m,Object(d.a)(A.result)),e.isLoading=!1;case 10:case"end":return n.stop()}}),n)})))()}}},ge=(n(1383),n(1384),Object(E.a)(pe,(function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"",scrollable:"","hide-footer":"","no-close-on-backdrop":t.noCancel,"no-close-on-esc":t.noCancel,"dialog-class":"modal-clapUser","body-class":"t4 line-h-143"},on:{hidden:t.onHidden,show:t.onModalShow},scopedSlots:t._u([{key:"modal-header",fn:function(n){var o=n.close;return[e("h4",{staticClass:"modal-title w-100 text-center title"},[t._v(t._s("".concat(t.title)))]),t._v(" "),t.noCancel?t._e():e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button"},on:{click:o}})]}},{key:"default",fn:function(){return[e("div",{staticClass:"contentBox"},[e("div",{staticClass:"content"},t._l(t.data.result,(function(n,o){return e("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:o===t.data.result.length-1&&{callback:t.onlastItemShow,intersection:{threshold:.3}},expression:"\n                        index === data.result.length - 1\n                            ? {\n                                  callback: onlastItemShow,\n                                  intersection: {\n                                      threshold: 0.3,\n                                  },\n                              }\n                            : false\n                    "}],key:"".concat(n.pid,"-").concat(o),staticClass:"user"},[e("div",{staticClass:"headshot"},[e("img",{staticClass:"avatar",attrs:{src:n.headshot_url?n.headshot_url:"",alt:"",onerror:t.defaultAvatarImg}})]),t._v(" "),e("div",{staticClass:"info"},[e("div",{staticClass:"infoBox"},[e("span",{staticClass:"name"},[t._v(t._s("".concat(n.nickname)))]),t._v(" "),e("span",{staticClass:"jobTitle"},[t._v(t._s(n.job_name))])])])])})),0),t._v(" "),t.isLoading?e("div",{staticClass:"loading"},[e("img",{staticClass:"loader-icon w-100 m-0",attrs:{src:n(375)}})]):t._e()])]},proxy:!0}])})}),[],!1,null,"5cd9300d",null).exports),fe=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"bk"},[e("img",{staticClass:"bkPattern_1",attrs:{src:n(641),alt:""}}),t._v(" "),e("img",{staticClass:"bkPattern_2",attrs:{src:n(603),alt:""}}),t._v(" "),e("img",{staticClass:"bkPattern_3",attrs:{src:n(603),alt:""}}),t._v(" "),e("img",{staticClass:"bkPattern_4",attrs:{src:n(640),alt:""}})])}],me={components:{Button:n(255).default},props:{isSinglePage:{type:Boolean,default:!1},roomData:{type:Object,default:function(){return{}}}}},Ae=(n(1385),{components:{PostMainContainer:Pt,PostInteractionTools:Vt,PostCommentContainer:se,PostNewCommentButton:de,ClapUsers:ge,PostMask:Object(E.a)(me,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"maskBlock"},[t._m(0),t._v(" "),e("span",{staticClass:"content"},[t._v(t._s(t.isSinglePage?"免費加共學，解鎖這篇內容":"本篇內容為共學限定，免費加入教室解鎖完整文章吧！"))]),t._v(" "),e("Button",{class:"".concat(t.isSinglePage?t.roomData.is_apply?"bkOrange_fontOrange":"bkOrange_fontWhite":"bkTransparent_fontOrange"),attrs:{"data-gtm-class":t.roomData&&t.roomData.is_apply?void 0:"加入共學",msg:t.roomData&&t.roomData.is_apply?"審核中":"加入共學"},on:{click:function(e){return t.$emit("toggleRoomState")}}})],1)}),fe,!1,null,"711b6b28",null).exports},mixins:[Ut.b],props:{data:{type:Object,default:function(){return{social_count:{comment:0}}}},capability:{type:Object,default:function(){return{}}},contentKey:{type:String,default:""},isSinglePage:{type:Boolean,default:!1},showToRoom:{type:Object,default:function(){}},viewType:{type:String,default:""},channelInfo:{type:Object,default:function(){}},roomData:{type:Object,default:function(){}},index:{type:Number,default:function(){return 0}}},data:function(){return{isComment:!1,clapItemKey:""}},computed:{HIT:function(){return _.d},CHEF:function(){return _.c},isMask:function(){var t=this.data,e=t.privacy,n=void 0===e?"public":e,o=t.room_list,c=void 0===o?[]:o,l=Object(r.a)(c,1)[0],d=(void 0===l?{}:l).role_type;return"protected"===n&&(void 0===d?5:d)>3},observeParams:function(){return!("ContentPost"!==this.activityType||!this.isSinglePage)&&{callback:this.sendReadLog,throttle:1e3,once:!0,intersection:{threshold:1}}},dataInfo:function(){var t={};return this.$isDefined(this.data,"conditions.nabi_room_ids")&&(t.room_ids=this.data.conditions.nabi_room_ids),this.$isDefined(this.data,"tags")&&(t.tags=this.data.tags),Object.keys(t).length>0?t:void 0}},methods:{sendReadLog:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.prev=0,!t){n.next=4;break}return n.next=4,e.$viewLog.sendViewlog({activityKey:e.data.key,activityType:e.data.type,channelTypeOption:void 0,recommendType:void 0,isReadAll:!0},e.channelInfo,void 0,e.dataInfo);case 4:n.next=8;break;case 6:n.prev=6,n.t0=n.catch(0);case 8:case"end":return n.stop()}}),n,null,[[0,6]])})))()},toggleComment:function(t){this.isComment=void 0!==t?t:!this.isComment},socailEventHandler:function(t){if("add-comment"===t.eventType)this.$refs.PostCommentContainer.setDisplayLimit(2),this.$refs.PostCommentContainer.apiGetAllCommentList();this.$emit("social-event",t)},openClapModal:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.key,e.clapItemKey=r,n.next=4,e.$nextTick(Object(o.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$refs.clapUsers.openModal();case 2:case"end":return t.stop()}}),t)}))));case 4:case"end":return n.stop()}}),n)})))()}}}),he=(n(1386),Object(E.a)(Ae,(function(){var t=this,e=t._self._c;return e("div",{ref:"PostItem",staticClass:"whitePanel"},["Content3rd"===t.activityType?e("div",{staticClass:"whitePanel__top"},[e("h3",{staticClass:"whitePanel__titleSm my-block"},[t._v("104學習精靈x"+t._s(t.data.providerDef.name))])]):t.data&&t.data.sortType===t.CHEF?e("div",{staticClass:"whitePanel__top"},[e("h3",{staticClass:"whitePanel__titleSm my-block"},[t._v("推薦給你")])]):t.data&&t.data.sortType===t.HIT?e("div",{staticClass:"whitePanel__top"},[e("h3",{staticClass:"whitePanel__titleSm my-block"},[t._v("熱門精選")])]):t._e(),t._v(" "),e("div",{class:["whitePanel__content",{"my-block":t.myBlockStyleOption.includes(t.activityType),"my-block-singlePage":t.isSinglePage,"bg-f3":t.greyBackgroundColorOption.includes(t.activityType)},{isMask:t.isMask}]},[e("PostMainContainer",{attrs:{data:t.data,capability:t.capability,"is-single-page":t.isSinglePage,"view-type":t.viewType,"show-to-room":t.showToRoom,"channel-info":t.channelInfo,"is-mask":t.isMask,index:t.index},on:{"post-modify":function(e){t.$emit("post-modify",e)},"social-event":function(e){t.$emit("social-event",e)},deleteItem:function(e){t.$emit("deleteItem",e)},"toggle-room-top-activity":function(e){t.$emit("toggle-room-top-activity",e)},"content3rdGroup-click":function(e){return t.$emit("content3rdGroup-click")},"login-alert":function(data,e){t.$emit("login-alert",data,e)}}}),t._v(" "),t.isMask?t._e():e("PostInteractionTools",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:t.observeParams,expression:"observeParams"}],attrs:{data:t.data,capability:t.capability},on:{"social-event":function(e){t.$emit("social-event",e)},"toggle-comment":t.toggleComment,openClapModal:t.openClapModal}}),t._v(" "),t.isMask?t._e():e("PostCommentContainer",{ref:"PostCommentContainer",attrs:{capability:t.capability,"is-single-page":t.isSinglePage,data:t.data},on:{"social-event":t.socailEventHandler}}),t._v(" "),t.isMask?t._e():e("PostNewCommentButton",{attrs:{"is-comment":t.isComment,data:t.data},on:{"toggle-comment":t.toggleComment,"social-event":t.socailEventHandler}}),t._v(" "),t.isMask&&t.roomData?e("PostMask",{staticClass:"maskBlock",attrs:{"is-single-page":t.isSinglePage,"room-data":t.roomData},on:{toggleRoomState:function(e){return t.$emit("toggleRoomState")}}}):t._e()],1),t._v(" "),e("ClapUsers",{ref:"clapUsers",attrs:{"item-key":t.clapItemKey,title:"全部"}})],1)}),[],!1,null,"831ef6f2",null));e.a=he.exports},function(t,e,n){"use strict";n(8);var o={components:{TermContent:n(1361).a},data:function(){return{resovle:void 0}},methods:{openModal:function(){var t=this;return this.$refs.modal&&this.$refs.modal.show(),new Promise((function(e){t.resovle=e}))},hideModal:function(){this.$refs.modal&&this.$refs.modal.hide()},onHidden:function(t){this.resovle&&(this.resovle(this.value),this.resovle=void 0)},onOkClick:function(){this.hideModal()}}},r=(n(1387),n(38)),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"",scrollable:"","hide-footer":"","hide-header":"","dialog-class":"modal-720","body-class":""},on:{hidden:t.onHidden}},[e("div",{staticClass:"container position-relative"},[e("div",{staticClass:"closeTermModal",on:{click:t.onOkClick}},[e("div",{staticClass:"close jb_icon_delete h2"})]),t._v(" "),e("TermContent")],1)])}),[],!1,null,"8895c85c",null);e.a=component.exports},function(t,e,n){"use strict";n(8);var o={data:function(){return{resovle:void 0,value:!1}},methods:{openModal:function(){this.value=!1;var t=this;return this.$refs.modal&&this.$refs.modal.show(),new Promise((function(e){t.resovle=e}))},hideModal:function(){this.$refs.modal&&this.$refs.modal.hide()},onHidden:function(t){this.resovle&&(this.resovle(this.value),this.resovle=void 0)}}},r=(n(1390),n(38)),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"",scrollable:"","hide-footer":"","hide-header":"","dialog-class":"modal-720 max-h-100","body-class":"t4 line-h-143 modal-header-bg-style"},on:{hidden:t.onHidden},scopedSlots:t._u([{key:"default",fn:function(){return[e("h4",{staticClass:"modal-title text-center h2 pt-5 pb-5"},[t._v("上傳檔案注意事項")]),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button"},on:{click:t.hideModal}}),t._v(" "),e("div",{staticClass:"d-flex justify-content-center mb-5"},[e("img",{attrs:{width:"248",height:"108",src:n(583)}})]),t._v(" "),e("div",{staticClass:"text-center mb-6 p16"},[e("div",{staticClass:"text-7e"},[t._v("上傳前，請先確認一下您的檔案")])]),t._v(" "),e("div",{staticClass:"p16"},[e("div",{staticClass:"d-flex notice-list"},[e("div",[t._v("圖片")]),t._v(" "),e("div",[t._v("建議您上傳寬邊至少640px以上的圖片")])]),t._v(" "),e("div",{staticClass:"d-flex notice-list"},[e("div",[t._v("檔案")]),t._v(" "),e("div",[t._v("我們支援pptx, docx, xlsx及PDF，檔案建議勿超過30M")])]),t._v(" "),e("div",{staticClass:"d-flex notice-list"},[e("div",[t._v("影片與音檔")]),t._v(" "),e("div",[t._v("\n                    我們支援手機錄影格式、Mp4等格式，但勿超過500M，如影片長度過長，請上傳至youtube進行分享\n                ")])])]),t._v(" "),e("div",{staticClass:"text-center my-8"},[e("div",{staticClass:"px-6 btn btn-lg btn-secondary h4",on:{click:t.hideModal}},[t._v("我知道了")])])]},proxy:!0}])})}),[],!1,null,null,null);e.a=component.exports},function(t,e,n){"use strict";n(26),n(40),n(84),n(35),n(96);var o={props:{bgColor:{type:String,default:""},drowdownList:{type:Array,require:!0,default:function(){return[]}},labelTxt:{type:String,default:""},placeholderText:{type:String,default:""},drowdownKeyName:{type:String,default:"",require:!0}},data:function(){return{searchInput:"",isDropdownOpen:!1,isDropdownClick:!1}},watch:{searchInput:function(t,e){""===t||t===e||this.isDropdownClick?this.isDropdownOpen=!1:(this.$emit("searchInputChange",t),this.isDropdownOpen=!0),this.isDropdownClick=!1}},methods:{tagSearchReplace:function(text){if(text&&this.searchInput){var t=this.searchInput.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),e=new RegExp("(".concat(t,")"),"i"),n=text.match(e);return n&&n.length>0?text.replace(n[0],"<b>".concat(n[0],"</b>")):text}},clickDropdownItemEvent:function(t){this.$emit("clickDropdownItemEvent",t),this.searchInput=t[this.drowdownKeyName],this.isDropdownOpen=!1,this.isDropdownClick=!0,this.$refs.searchInput.focus()},clickSearchAction:function(){this.$emit("clickSearchAction",this.searchInput),this.isDropdownOpen=!1},outSideClick:function(){this.isDropdownOpen=!1}}},r=n(38),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("client-only",[e("ValidationProvider",{scopedSlots:t._u([{key:"default",fn:function(n){var o=n.failed,r=n.errors;return[e("div",{staticClass:"dropUpSearchBar"},[e("div",{staticClass:"form-group mb-0",class:{"is-invalid":o}},[e("div",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.searchInput,expression:"searchInput"}],ref:"searchInput",class:["dropUpSearchBar--input",t.bgColor],attrs:{placeholder:t.placeholderText,autocomplete:"off",lazy:""},domProps:{value:t.searchInput},on:{input:function(e){e.target.composing||(t.searchInput=e.target.value)}}})]),t._v(" "),e("b-icon",{staticClass:"dropUpSearchBar--searchIcon pointer",attrs:{icon:"search"},on:{click:t.clickSearchAction}}),t._v(" "),o?e("div",{staticClass:"invalid-txt"},[t._v("\n                    "+t._s(r[0])+"\n                ")]):t._e(),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.isDropdownOpen&&t.drowdownList.length>0,expression:"isDropdownOpen && drowdownList.length > 0"},{name:"click-outside",rawName:"v-click-outside",value:t.outSideClick,expression:"outSideClick"}],staticClass:"dropupWrap"},[t.labelTxt?e("div",{staticClass:"dropup-item text-7e labelTxt"},[t._v("\n                        "+t._s(t.labelTxt)+"\n                    ")]):t._e(),t._v(" "),t._l(t.drowdownList,(function(n,o){return e("div",{key:o,staticClass:"dropup-item",domProps:{innerHTML:t._s(t.tagSearchReplace(n[t.drowdownKeyName]))},on:{click:function(e){return t.clickDropdownItemEvent(n)}}})}))],2)],1)])]}}])})],1)}),[],!1,null,null,null);e.a=component.exports},function(t,e,n){"use strict";n(65),n(14),n(13),n(11),n(15),n(10),n(16);var o=n(3),r=(n(34),n(8),n(21),n(36)),c=n(258);function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){Object(o.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var f=n(39)("src/client/components/page/Learning/VideoListItem.vue").debug,m={props:{id:{type:String,default:c.a.v4()},provider:{type:String,default:""},resourceId:{type:String,default:""},uid:{type:String,default:""},images:{type:String,default:""},videoLength:{type:String,default:""},watchedTime:{type:String,default:""},title:{type:String,default:""},v7:{type:String,default:""},viewCount:{type:String,default:""},postTime:{type:String,default:""},showInteractive:{type:Boolean,default:!0},interactive:{type:Object,default:function(){return{isFavorite:"false",favoriteCount:"0"}}},tags:{type:Array,default:function(){return[]}},visits:{type:String,default:"0"},adcourse:{type:String,default:void 0},thcource:{type:String,default:void 0},mccource:{type:String,default:void 0},isShowFeedback:{type:Boolean,default:!1},showVideoLength:{type:Boolean,default:!0},showPlayIcon:{type:Boolean,default:!0}},computed:d(d({},Object(r.c)(["isLogin"])),{},{isRemoved:function(){return Array.isArray(this.tags)&&this.tags.length>0&&"已下架"===this.tags[0].tag},limitTwoTag:function(){return this.tags.slice(0,2)}}),data:function(){return{isLoading:!1}},methods:{clickFavorite:function(t,e){var n=this;f("Itme:click favorite",t,e),this.isLoading=!0,new Promise((function(o){return n.$emit("click-favorite",{resourceId:t,favoriteState:e},o)})).then((function(){n.isLoading=!1}))},clickToView:function(){this.$emit("click-open-video",{resourceId:this.resourceId?this.resourceId:this.uid}),f("view",{resourceId:this.resourceId?this.resourceId:this.uid})},convertDate:function(t){var e=isNaN(parseInt(t,10))?"":new Date(parseInt(t,10));return""!==e?"".concat(e.getFullYear(),"年").concat(e.getMonth()+1,"月").concat(e.getDate(),"日"):""},convertViewProgress:function(t,e){var n=0;try{if(t&&e&&!isNaN(e)){for(var o=t.split(":"),r=0,i=0;i<o.length;i++){if(isNaN(o[i])){r=0;break}r+=Math.pow(60,o.length-i-1)*Number(o[i])}(n=Math.floor(Number(e)/r*100))>100&&(n=100)}}catch(t){f(t)}return n},emitVideoFeedBack:function(){this.$emit("click-feedback",this.resourceId?this.resourceId:this.uid)}}},A=(n(1392),n(38)),component=Object(A.a)(m,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"card flex-fill"},[e("div",{staticClass:"mv-play-box",attrs:{"data-gtm-adcourse":t.adcourse},on:{click:t.clickToView}},[e("img",{directives:[{name:"show",rawName:"v-show",value:t.showPlayIcon,expression:"showPlayIcon"}],staticClass:"mv-play",attrs:{src:n(607),alt:""}}),t._v(" "),t.isRemoved?e("img",{staticClass:"card-img-top",attrs:{src:n(606),alt:""}}):t.images?e("img",{staticClass:"card-img-top",attrs:{src:t.images,alt:""}}):e("img",{staticClass:"card-img-top",attrs:{src:t.$getDefaultImgByHash(t.title),alt:""}}),t._v(" "),"taiwin"===t.provider?e("div",{staticClass:"progress"},[e("div",{staticClass:"progress-bar",style:{width:t.convertViewProgress(t.videoLength,t.watchedTime)+"%"}},[t._v("\n                >\n            ")])]):t._e()]),t._v(" "),t.showVideoLength&&t.videoLength?e("div",{staticClass:"mv-time"},[t._v(t._s(t.videoLength))]):t._e(),t._v(" "),e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"h3 ellipsis"},[t._v(t._s(t.title))]),t._v(" "),t.showInteractive?[e("div",{staticClass:"mb-3 mt-1 text-7e"},[""!==t.visits?e("span",{staticClass:"badge t4 p-0"},[t._v("\n                    觀看"+t._s(Number(t.visits)>=1e4?"".concat(Math.floor(Number(t.visits)/1e4),"萬"):t.visits)+"次・")]):t._e(),t._v(" "),t.interactive.favoriteCount?e("span",{staticClass:"badge t4 p-0"},[t._v("\n                    收藏"+t._s(t.interactive.favoriteCount)+"次・")]):t._e(),t._v(" "),e("span",{staticClass:"badge t4 p-0"},[t._v(t._s(t.convertDate(t.postTime)))])]),t._v(" "),e("div",{staticClass:"mv-favor"},[t.tags&&t.tags.length>0?t._l(t.limitTwoTag,(function(n,o){return e("span",{key:o,staticClass:"badge badge-gray badge-pill t4 mr-1 mb-2"},[t._v(t._s(n.tag))])})):t._e(),t._v(" "),e("div",{staticClass:"interactIcons"},[t.isShowFeedback?[t.isLogin?e("span",{staticClass:"more-drop"},[e("b-dropdown",{attrs:{variant:"link",size:"sm","toggle-class":"text-decoration-none","no-caret":"",right:""}},[e("template",{slot:"button-content"},[e("i",{staticClass:"jb_icon_more"})]),t._v(" "),e("b-dropdown-item",{on:{click:t.emitVideoFeedBack}},[t._v("不感興趣")])],2)],1):t._e()]:t._e(),t._v(" "),t.interactive&&"true"===t.interactive.isFavorite?e("span",{class:["jb_icon_favor_filled","text-secondary",{"pointer-event-stop":t.isLoading}],attrs:{"data-gtm-contect":"點擊收藏"},on:{click:function(e){return e.stopPropagation(),t.clickFavorite(t.resourceId?t.resourceId:t.uid,0)}}}):t.interactive&&"false"===t.interactive.isFavorite?e("span",{class:["jb_icon_favor_line","text-7e",{"pointer-event-stop":t.isLoading}],attrs:{"data-gtm-contect":"點擊收藏"},on:{click:function(e){return e.stopPropagation(),t.clickFavorite(t.resourceId?t.resourceId:t.uid,1)}}}):t._e()],2)],2)]:t._e()],2)])}),[],!1,null,"710c8a95",null);e.a=component.exports},,function(t,e,n){"use strict";var o={data:function(){return{isOpen:!1}},methods:{hide:function(){this.isOpen=!1}}},r=n(38),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.hide,expression:"hide"}],class:["moreTools",{open:t.isOpen}],on:{click:function(e){t.isOpen=!t.isOpen}}},[e("svg",{staticClass:"filter-icon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20"}},[e("path",{attrs:{d:"M8 14c1.306 0 2.418.835 2.83 2H19a1 1 0 0 1 0 2h-8.171a3.001 3.001 0 0 1-5.658 0H1a1 1 0 0 1 0-2h4.17A3.001 3.001 0 0 1 8 14zm0 2a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm6-9c1.306 0 2.418.835 2.83 2H19a1 1 0 0 1 0 2h-2.171a3.001 3.001 0 0 1-5.658 0H1a1 1 0 0 1 0-2h10.17A3.001 3.001 0 0 1 14 7zm0 2a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM5 0c1.306 0 2.418.835 2.83 2H19a1 1 0 0 1 0 2H7.829a3.001 3.001 0 0 1-5.658 0H1a1 1 0 1 1 0-2h1.17A3.001 3.001 0 0 1 5 0zm0 2a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:t.isOpen?"#ff9000":"#7E7E7E","fill-rule":"evenodd"}})]),t._v(" "),e("div",{staticClass:"moreToolsList"},[t._t("default")],2)])}),[],!1,null,null,null);e.a=component.exports},,function(t,e,n){"use strict";n(981)},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},,,,function(t,e,n){"use strict";n(14),n(13),n(11),n(15),n(10),n(16);var o=n(4),r=n(3),c=(n(27),n(8),n(50),n(51),n(110),n(105),n(34),n(65),n(21),n(36)),l=n(621);function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var m=n(39)("src/client/components/modals/ExamList.vue"),A=m.debug,h=m.error,v={components:{LevelToolTipList:l.a,ChannelViewLogger:function(){return Promise.resolve().then(n.bind(null,564))}},props:{skillRecords:{type:Array,default:function(){return[]}}},data:function(){return{showModal:!1,skills:[],runFetch:!1,isLoading:!1}},computed:f(f({},Object(c.e)("test",["testEvent","testUpdate"])),Object(c.c)(["isLogin"])),watch:{testEvent:function(t){t&&"testList"===t.action&&(this.showModal=!0,this.setTestEvent({}))},testUpdate:function(t){if(this.skills.length>0&&t&&t.capabilityId&&t.record){var e=this.skills.findIndex((function(e){return e.capabilityId===t.capabilityId}));if(e>=0){var n=f(f({},this.skills[e]),t.record);this.skills.splice(e,1,n)}}},showModal:function(t){t&&!this.runFetch&&(this.skills=this.skillRecords.slice(),this.fetchAllTest())}},methods:f(f(f({},Object(c.d)("test",["setTestEvent","setTestUpdate"])),Object(c.b)("test",["getTest"])),{},{hasExams:function(t){return!!(this.skills&&this.skills.length>0&&this.skills.findIndex((function(e){return e.capabilityId===t&&("1"===e.hasTest||!0===e.hasTest)}))>=0)},isMaxLevel:function(t){return"3"===t},canTest:function(t){return""===t||new Date(Number(t))<Date.now()},neverTest:function(t){return""===t},toReadableDate:function(t){var e=new Date(Number(t));return"".concat(e.getFullYear(),"/").concat(e.getMonth()+1,"/").concat(e.getDate()," ").concat(("0"+e.getHours()).slice(-2),":").concat(("0"+e.getMinutes()).slice(-2))},getToolTips:function(t){for(var e=[],n=Number(t),o=1;o<=3;o++){var r=o<=n,title=n>=3?"高級":"2"===this.testLevel?"中級":"1"===this.testLevel?"初級":"0"===this.testLevel?"未達初級":"未做測驗",c="test-level-".concat(r?"green":"gray");e.push({title:title,class:c})}return e},startToTest:function(t){try{if(!this.isLogin)return void(window.location.href="/oidc/login?next=".concat(encodeURIComponent(this.$route.fullPath)));this.$elog({track:["clickQuiz"],ext:{skillId:t}}),this.$viewLog.sendBlockViewlog({key:t,type:1,action:2}),this.setTestEvent({action:"test",capabilityId:t})}catch(t){h("component error",t)}finally{this.showModal=!1}},fetchAllTest:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.isLoading=!0,e.prev=1,!(t.skills.length>0)){e.next=11;break}i=0;case 4:if(!(i<t.skills.length)){e.next=11;break}if("1"!==t.skills[i].hasTest){e.next=8;break}return e.next=8,t.getTestingData(t.skills[i].capabilityId);case 8:i++,e.next=4;break;case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(1),h("component error",e.t0);case 16:t.isLoading=!1,t.runFetch=!1;case 18:case"end":return e.stop()}}),e,null,[[1,13]])})))()},getTestingData:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){var o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.prev=0,t){n.next=4;break}return A("no capbilityId"),n.abrupt("return");case 4:return n.next=6,e.getTest({capabilityId:t});case 6:o=n.sent,e.setTestUpdate(o),n.next=13;break;case 10:n.prev=10,n.t0=n.catch(0),h("component error",n.t0);case 13:case"end":return n.stop()}}),n,null,[[0,10]])})))()},onHidden:function(){A("clear examList"),this.skills=[]},openModal:function(){this.value=!1;var t=this;return this.$refs.modal&&this.$refs.modal.show(),new Promise((function(e){t.resovle=e}))}})},y=n(38),component=Object(y.a)(v,(function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{"dialog-class":"modal-dialog-centered modal-dialog-scrollable modal-720","body-class":"px-0","header-class":"pb-0","content-class":"max-h-720","hide-footer":""},on:{hidden:t.onHidden},scopedSlots:t._u([{key:"modal-header",fn:function(){return[e("div",{staticClass:"h3"}),t._v(" "),e("h4",{staticClass:"modal-title text-center h2"},[t._v("技能測驗")]),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button","data-dismiss":"modal"},on:{click:function(e){t.showModal=!1}}})]},proxy:!0}]),model:{value:t.showModal,callback:function(e){t.showModal=e},expression:"showModal"}},[t._v(" "),t._l(t.skills,(function(o){return e("div",{key:o.capabilityId,staticClass:"my-padding"},[e("ChannelViewLogger",{attrs:{"block-key":o.capabilityId,"enable-block":!t.isMaxLevel(o.testLevel)&&t.hasExams(o.capabilityId),"block-type":1,"block-action":1}},[e("div",{staticClass:"test-box d-flex justify-content-between align-items-center"},[e("div",{staticClass:"test-result"},[e("div",{staticClass:"h3"},[t._v("\n                        "+t._s(o.capability)+"\n                    ")]),t._v(" "),e("div",{staticClass:"mt-1"},[e("span",{staticClass:"t4 text-7e mr-1",staticStyle:{"vertical-align":"middle"}},[t._v("測驗結果")]),t._v(" "),e("LevelToolTipList",{attrs:{"level-type":o.testLevel}})],1)]),t._v(" "),t.isLoading?e("div",{staticStyle:{width:"20px",height:"20px"}},[e("img",{staticClass:"loader-icon w-100 m-0",attrs:{src:n(375)}})]):t.isMaxLevel(o.testLevel)?e("button",{staticClass:"btn btn-sm btn-outline-light disabled"},[t._v("\n                    已達高級\n                ")]):t.hasExams(o.capabilityId)?t.neverTest(o.nextTestDate)?e("button",{staticClass:"btn btn-sm btn-secondary",on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.startToTest(o.capabilityId)}}},[t._v("\n                    立即測驗\n                ")]):t.canTest(o.nextTestDate)?e("button",{staticClass:"btn btn-sm btn-secondary",on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.startToTest(o.capabilityId)}}},[t._v("\n                    再試一次\n                ")]):e("div",{staticClass:"t5 text-7e text-center",staticStyle:{"word-break":"break-all",cursor:"default"}},[t._v("\n                    可再次測驗"),e("br"),t._v("\n                    "+t._s(t.toReadableDate(o.nextTestDate))+"\n                ")]):e("button",{staticClass:"btn btn-sm btn-outline-light disabled"},[t._v("\n                    沒有考卷\n                ")])])])],1)}))],2)}),[],!1,null,null,null);e.a=component.exports},,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n(1363)},,,,,,function(t,e,n){"use strict";var o={data:function(){return{membershipUrl:"https://pda.104.com.tw/my104/resume/manage/?action=browser"}},methods:{open:function(){this.$refs.modal.show()},toMembership:function(){window.open("https://104.page.link/eRge"),this.$refs.modal.hide()}}},r=n(38),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"",scrollable:"","hide-footer":"","dialog-class":"modal-480","body-class":"t4 line-h-143"},scopedSlots:t._u([{key:"modal-header",fn:function(n){var o=n.close;return[e("h4",{staticClass:"modal-title text-center h2"},[t._v("小提醒：調整履歷後，分數將於3小時後更新")]),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button"},on:{click:o}})]}},{key:"default",fn:function(){return[t._t("default"),t._v("\n        精靈將會重新分析您的履歷表，再次計算您的符合度分數，建議3小時後，再回來查看更新後的分數。\n        "),e("div",{staticClass:"text-center my-8"},[e("button",{staticClass:"btn btn-sm btn-secondary h4",attrs:{type:"button"},on:{click:t.toMembership}},[t._v("\n                前往履歷\n            ")])])]},proxy:!0}],null,!0)})}),[],!1,null,null,null);e.a=component.exports},,function(t,e,n){"use strict";var o=n(4),r=(n(27),n(39)("src/client/components/modals/FeedBackVideoModal.vue").error),c={props:{resourceId:{type:String,default:""},capabilityId:{type:String,default:""}},data:function(){return{feedbackTypeValue:[{content:"內容與主題無關 ",value:"1"},{content:"不吸引我",value:"2"},{content:"影片內容說明有誤",value:"3"},{content:"資訊過舊",value:"4"},{content:"其他",value:"99"}],feedbackType:"",otherReason:""}},computed:{canSend:function(){return!(this.feedbackType.length<=0)&&!("99"===this.feedbackType&&this.otherReason.length<=0)},otherReasonTip:function(){return"99"===this.feedbackType&&this.otherReason.length<=0?"選擇「其他」時，意見為必填":""}},mounted:function(){},methods:{reset:function(){this.feedbackType="",this.otherReason=""},open:function(){this.$refs.modal.show()},onClose:function(){this.reset()},send:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o,c,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.canSend){e.next=14;break}return e.prev=1,n=t.resourceId,o=t.capabilityId,c=t.feedbackType,l=t.otherReason,e.next=5,t.$api.nabi.addResourceFeedback({resourceId:n,capabilityId:o,feedbackType:c,otherReason:l});case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(1),r("component error",e.t0);case 10:return e.prev=10,t.$toast.show("已收到您的回饋"),t.$refs.modal.hide(),e.finish(10);case 14:case"end":return e.stop()}}),e,null,[[1,7,10,14]])})))()}}},l=(n(1425),n(38)),component=Object(l.a)(c,(function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"modal",attrs:{scrollable:"","dialog-class":"reportModal modal-dialog-centered modal-720","footer-class":"justify-content-center"},on:{hidden:t.onClose},scopedSlots:t._u([{key:"modal-header",fn:function(n){var o=n.close;return[e("div",{staticClass:"h3"}),t._v(" "),e("div",[e("h4",{staticClass:"modal-title text-center h2"},[t._v("我要回饋")])]),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button"},on:{click:o}})]}},{key:"modal-footer",fn:function(n){var o=n.close;return[e("div",{staticClass:"text-center my-4"},[e("button",{staticClass:"btn btn-lg btn-outline-primary h4 mr-5",staticStyle:{width:"154px"},attrs:{type:"button"},on:{click:o}},[t._v("\n                    取消\n                ")]),t._v(" "),e("button",{staticClass:"btn btn-lg btn-secondary h4",staticStyle:{width:"154px"},attrs:{type:"button",disabled:!t.canSend},on:{click:t.send}},[t._v("\n                    送出\n                ")])])]}}])},[t._v(" "),e("div",{staticClass:"reportModalForm"},[e("p",{staticClass:"p14 line-h-143"},[t._v("告訴學習精靈你的想法，我們會根據你的意見改進影片內容")]),t._v(" "),e("div",{staticClass:"reportModalForm__row"},[e("h3",{staticClass:"title"},[t._v("您認為不感興趣的原因"),e("span",{staticStyle:{color:"red"}},[t._v("*")])]),t._v(" "),e("div",{staticClass:"checkboxs"},t._l(t.feedbackTypeValue,(function(n){return e("label",{key:n.value,staticClass:"custom-checkbox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.feedbackType,expression:"feedbackType"}],attrs:{type:"radio"},domProps:{value:n.value,checked:t._q(t.feedbackType,n.value)},on:{change:function(e){t.feedbackType=n.value}}}),t._v(" "),e("span",{staticClass:"checkbox"}),t._v(" "),e("span",[t._v(t._s(n.content))])])})),0)]),t._v(" "),e("div",{staticClass:"reportModalForm__row"},[e("h3",{staticClass:"title"},[t._v("寫下其他意見")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.otherReason,expression:"otherReason"}],staticClass:"custom-inputText",attrs:{placeholder:"請填寫"},domProps:{value:t.otherReason},on:{input:function(e){e.target.composing||(t.otherReason=e.target.value)}}}),t._v(" "),e("p",{staticClass:"t5 text-warning"},[t._v(t._s(t.otherReasonTip))])])])])],1)}),[],!1,null,"7389bf20",null);e.a=component.exports},,,function(t,e,n){t.exports={}},,,,,,,,,,,,,,,function(t,e,n){"use strict";n(1402)},function(t,e,n){"use strict";n(1403)},,,function(t,e,n){"use strict";n(14),n(13),n(11),n(8),n(15),n(10),n(16);var o=n(4),r=n(31),c=n(3),l=(n(21),n(27),n(36)),d=n(39)("src/client/components/modals/FeedBackArticleModal.vue").error,f={props:{resourceId:{type:String,default:""},capabilityId:{type:String,default:""}},data:function(){return{feedbackTypeValue:[{content:"內容與主題無關 ",value:"1"},{content:"不吸引我",value:"2"},{content:"文章內容說明有誤",value:"3"},{content:"資訊過舊",value:"4"},{content:"其他",value:"99"}],feedbackType:"",otherReason:""}},computed:{canSend:function(){return!(this.feedbackType.length<=0)&&!("99"===this.feedbackType&&this.otherReason.length<=0)},otherReasonTip:function(){return"99"===this.feedbackType&&this.otherReason.length<=0?"選擇「其他」時，意見為必填":""}},mounted:function(){},methods:{reset:function(){this.feedbackType="",this.otherReason=""},open:function(){this.$refs.modal.show()},onClose:function(){this.reset()},send:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o,r,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.canSend){e.next=14;break}return e.prev=1,n=t.resourceId,o=t.capabilityId,r=t.feedbackType,c=t.otherReason,e.next=5,t.$api.nabi.addResourceFeedback({resourceId:n,capabilityId:o,feedbackType:r,otherReason:c});case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(1),d("component error",e.t0);case 10:return e.prev=10,t.$toast.show("已收到您的回饋"),t.$refs.modal.hide(),e.finish(10);case 14:case"end":return e.stop()}}),e,null,[[1,7,10,14]])})))()}}},m=(n(1451),n(38)),A=Object(m.a)(f,(function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"modal",attrs:{scrollable:"","dialog-class":"reportModal modal-dialog-centered modal-720","footer-class":"justify-content-center"},on:{hidden:t.onClose},scopedSlots:t._u([{key:"modal-header",fn:function(n){var o=n.close;return[e("div",{staticClass:"h3"}),t._v(" "),e("div",[e("h4",{staticClass:"modal-title text-center h2"},[t._v("我要回饋")])]),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button"},on:{click:o}})]}},{key:"modal-footer",fn:function(n){var o=n.close;return[e("div",{staticClass:"text-center my-4"},[e("button",{staticClass:"btn btn-lg btn-outline-primary h4 mr-5",staticStyle:{width:"154px"},attrs:{type:"button"},on:{click:o}},[t._v("\n                    取消\n                ")]),t._v(" "),e("button",{staticClass:"btn btn-lg btn-secondary h4",staticStyle:{width:"154px"},attrs:{type:"button",disabled:!t.canSend},on:{click:t.send}},[t._v("\n                    送出\n                ")])])]}}])},[t._v(" "),e("div",{staticClass:"reportModalForm"},[e("p",{staticClass:"p14 line-h-143"},[t._v("\n                告訴學習精靈你的想法，我們會根據你的意見改進文章截取來源\n            ")]),t._v(" "),e("div",{staticClass:"reportModalForm__row"},[e("h3",{staticClass:"title"},[t._v("您認為不感興趣的原因"),e("span",{staticStyle:{color:"red"}},[t._v("*")])]),t._v(" "),e("div",{staticClass:"checkboxs"},t._l(t.feedbackTypeValue,(function(n){return e("label",{key:n.value,staticClass:"custom-checkbox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.feedbackType,expression:"feedbackType"}],attrs:{type:"radio"},domProps:{value:n.value,checked:t._q(t.feedbackType,n.value)},on:{change:function(e){t.feedbackType=n.value}}}),t._v(" "),e("span",{staticClass:"checkbox"}),t._v(" "),e("span",[t._v(t._s(n.content))])])})),0)]),t._v(" "),e("div",{staticClass:"reportModalForm__row"},[e("h3",{staticClass:"title"},[t._v("寫下其他意見")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.otherReason,expression:"otherReason"}],staticClass:"custom-inputText",attrs:{placeholder:"請填寫"},domProps:{value:t.otherReason},on:{input:function(e){e.target.composing||(t.otherReason=e.target.value)}}}),t._v(" "),e("p",{staticClass:"t5 text-warning"},[t._v(t._s(t.otherReasonTip))])])])])],1)}),[],!1,null,"3d1e924d",null).exports;function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function v(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(Object(n),!0).forEach((function(e){Object(c.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var y=n(39)("src/client/components/page/Learning/LearnArticle.vue"),C=y.debug,w=y.error,x={components:{FeedBackArticleModal:A},props:{capabilityId:{type:String,default:""}},data:function(){return{isLoading:!1,isBottom:!1,type:"2",defaultMaxLength:10,skillRef:null,articleFeedback:{resourceId:"",capabilityId:""}}},computed:v(v(v(v({},Object(l.e)("learning",{articleInfo:function(t){return t.articleInfo},articleList:function(t){return t.articleInfo&&t.articleInfo.list?t.articleInfo.list:[]},pageFirstRow:function(t){return t.articleInfo&&t.articleInfo.recFrom?parseInt(t.articleInfo.recFrom):1},totalRows:function(t){return t.articleInfo&&t.articleInfo.totalRows?parseInt(t.articleInfo.totalRows):0},pageSize:function(t){return t.articleInfo&&t.articleInfo.requestLength?parseInt(t.articleInfo.requestLength):12},nextPageRow:function(t){return t.articleInfo?parseInt(t.articleInfo.nextFrom):pageFirstRow+pageSize},isLast:function(t){return!(t.articleInfo&&t.articleInfo.nextFrom&&"-1"!==t.articleInfo.nextFrom)}})),Object(l.c)({isLogin:"isLogin"})),Object(l.c)("competitiveness",["currentJob"])),{},{jobcat:function(){var t=(this.currentJob&&this.currentJob.jobcat?this.currentJob.jobcat:"").split("@"),e=Object(r.a)(t,1)[0];return this.$route.params.jobcat||e||void 0}}),watch:{isBottom:function(t,e){t&&!e&&this.articleInfo&&this.articleInfo.totalRows>0&&!this.isLast&&(C(this.articleInfo),this.fetchNextPage())},capabilityId:function(t){var e={capabilityId:t,type:this.type,level:this.level,requestLength:this.defaultMaxLength,jobcat:this.jobcat};this.fetchResource(e)},isLoading:function(t){this.$emit("change-fetch-state",this.isLoading)}},activated:function(){this.$fetch()},methods:v(v({},Object(l.b)("learning",{fetchResource:"fetchResource"})),{},{fetchNextPage:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={capabilityId:t.articleInfo.capabilityId,type:t.type,level:t.level,recFrom:t.nextPageRow,requestLength:t.pageSize,jobcat:t.jobcat},e.prev=1,t.isLoading=!0,e.next=5,t.fetchResource(n);case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(1),w("component error",e.t0);case 10:return e.prev=10,t.isLoading=!1,e.finish(10);case 13:case"end":return e.stop()}}),e,null,[[1,7,10,13]])})))()},convertDate:function(t){var e=isNaN(parseInt(t,10))?"":new Date(parseInt(t,10));return""!==e?"".concat(e.getFullYear(),"年").concat(e.getMonth()+1,"月").concat(e.getDate(),"日"):""},toArticleUrl:function(article){this.$elog({track:["clickArticle"],ext:{articleId:article.resourceId}}),window.open("".concat(article.url,"?action=browser"))},onlastItemShow:function(t,e){C("onlastItemShow!!!!!!!!!!!!!",{isVisible:t,entry:e}),this.isBottom=t},clickNotInterested:function(t){this.articleFeedback.resourceId=t,this.articleFeedback.capabilityId=this.capabilityId,this.$refs.feedBackArticle.open()}}),fetch:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={capabilityId:t.capabilityId,type:t.type,level:t.level,requestLength:t.defaultMaxLength,jobcat:t.jobcat},e.prev=1,t.isLoading=!0,e.next=5,t.fetchResource(n);case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(1),w("component error",e.t0);case 10:return e.prev=10,t.isLoading=!1,e.finish(10);case 13:case"end":return e.stop()}}),e,null,[[1,7,10,13]])})))()}},k=(n(1452),Object(m.a)(x,(function(){var t=this,e=t._self._c;return e("div",{ref:"artRef",staticClass:"skill-box"},[e("div",{staticClass:"skill-box pb-0"},[e("div",{staticClass:"container-fluid"},[t.articleInfo&&t.articleInfo.capability?e("p",{staticClass:"h3"},[t._v("\n                「"+t._s(t.articleInfo.capability)+"」的教學文章\n            ")]):t._e()])]),t._v(" "),t._l(t.articleList,(function(article,n){return e("a",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:n===t.articleList.length-1&&{callback:t.onlastItemShow,intersection:{threshold:.3}},expression:"\n            index === articleList.length - 1\n                ? {\n                      callback: onlastItemShow,\n                      intersection: {\n                          threshold: 0.3,\n                      },\n                  }\n                : false\n        "}],key:article.resourceId?article.resourceId:article.uid,staticClass:"article-box d-block",attrs:{rel:"nofollow",href:article.url,"data-gtm-contect":"文章-"+article.title},on:{click:function(e){return e.preventDefault(),t.toArticleUrl(article)}}},[e("div",{staticClass:"article-content position-relative",attrs:{"data-gtm-contect":"文章-"+article.title}},[e("div",{staticClass:"article-text float-left"},[e("div",{staticClass:"h2 font-weight-bold mb-2 ellipsis text-29"},[t._v("\n                    "+t._s(article.title)+"\n                ")]),t._v(" "),e("div",{staticClass:"t4 text-7e"},[t._v("\n                    "+t._s(article.author?article.author:"網路創作")+"\n                    ・\n                    "+t._s(article.source?article.source:"線上資源")+"\n                ")]),t._v(" "),e("div",{staticClass:"t3 text-7e mt-3 mb-2 d-none d-md-block ellipsis"},[t._v("\n                    "+t._s(article.body)+"\n                ")]),t._v(" "),article.tags&&article.tags.length>0?e("div",{staticClass:"d-none d-md-block"},t._l(article.tags,(function(n){return e("span",{key:n.tag,staticClass:"badge badge-pill badge-gray t4 mr-1"},[t._v(t._s(n.tag))])})),0):t._e()]),t._v(" "),e("div",{staticClass:"article-img float-right"},[article.images?e("img",{staticClass:"img-fluid",attrs:{src:article.images,alt:""}}):e("img",{staticClass:"img-fluid",attrs:{src:t.$getDefaultImgByHash(article.title),alt:""}})]),t._v(" "),e("div",{staticClass:"position-absolute more-drop",staticStyle:{top:"0",right:"0"}},[e("b-dropdown",{attrs:{variant:"link","no-caret":"",right:""}},[e("template",{slot:"button-content"},[e("i",{staticClass:"jb_icon_more text-7e"})]),t._v(" "),e("b-dropdown-item",{on:{click:function(e){return e.stopPropagation(),t.clickNotInterested(article.resourceId?article.resourceId:article.uid)}}},[t._v("不感興趣")])],2)],1)])])})),t._v(" "),t.isLoading?e("div",{staticClass:"d-flex m-auto",staticStyle:{width:"30px",height:"30px"}},[e("img",{staticClass:"loader-icon w-100 m-0",attrs:{src:n(375)}})]):t._e(),t._v(" "),e("FeedBackArticleModal",t._b({ref:"feedBackArticle"},"FeedBackArticleModal",t.articleFeedback,!1))],2)}),[],!1,null,null,null));e.a=k.exports},,function(t,e,n){"use strict";var o=n(3),r=(n(21),n(14),n(13),n(11),n(8),n(15),n(10),n(16),n(4)),c=n(31),l=(n(27),n(36)),d=n(572),f=n(624),m=n(573),A=n(1433),h=n(1397);function v(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?v(Object(n),!0).forEach((function(e){Object(o.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var C=n(39)("src/client/components/page/Learning/LearnVideo.vue"),w=C.debug,x=C.error,k={components:{VideoListItem:h.a,ConfirmAlert:d.a,VideoViewModal:f.a,FavoriteVideoModal:m.a,FeedBackVideoModal:A.a},props:{equal:{type:String,default:"3"},capabilityId:{type:String,default:""},isVideoGraded:{type:String,default:"0"},type:{type:String,default:"1"}},data:function(){return{isLoading:!1,level:1,isBottom:!1,isShowLogin:!1,isShowView:!1,videoView:{id:"",resourceId:"",images:"",videoLength:"",watchedTime:"0",title:"",v7:"",viewCount:"0",postTime:"",interactive:{isFavorite:"false"},tags:[],visits:"0"},videoFeedback:{resourceId:"",capabilityId:""}}},computed:y(y(y(y({},Object(l.c)("content",["thirdPtyVideoList","thirdPtySourceList"])),Object(l.e)("learning",{videoInfo:function(t){return t.videoInfo},videoList:function(t){return t.videoInfo&&t.videoInfo.list?t.videoInfo.list:[]},pageFirstRow:function(t){return t.videoInfo&&t.videoInfo.recFrom?parseInt(t.videoInfo.recFrom):1},totalRows:function(t){return t.videoInfo&&t.videoInfo.totalRows?parseInt(t.videoInfo.totalRows):0},pageSize:function(t){return t.videoInfo&&t.videoInfo.requestLength?parseInt(t.videoInfo.requestLength):12},nextPageRow:function(t){return t.videoInfo?parseInt(t.videoInfo.nextFrom):pageFirstRow+pageSize},isLast:function(t){return t.videoInfo&&t.videoInfo.nextFrom&&"-1"===t.videoInfo.nextFrom}})),{},{jobcat:function(){var t=(this.currentJob&&this.currentJob.jobcat?this.currentJob.jobcat:"").split("@"),e=Object(c.a)(t,1)[0];return this.$route.params.jobcat||e||void 0},capabilityType:function(){return this.$getContentType(this.capabilityId)}},Object(l.c)({isLogin:"isLogin"})),Object(l.c)("competitiveness",["currentJob"])),watch:{isBottom:function(t,e){var n=this;return Object(r.a)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(!t||e){o.next=4;break}if(!(n.videoInfo&&n.videoInfo.totalRows>0)||n.isLast){o.next=4;break}return o.next=4,n.fetchNextPage();case 4:case"end":return o.stop()}}),o)})))()},videoList:function(){this.isLast||0!==this.videoList.length||this.fetchNextPage()},capabilityId:function(t){w("capabilityId change",JSON.stringify({capabilityId:this.capabilityId,type:this.type}));var e={capabilityId:t,type:this.type,requestLength:"12",jobcat:this.jobcat};"1"===this.type&&(e.level=this.level),t?(w("fetchResource 1",this.capabilityId),this.fetchResource(e)):this.clearVideo({})},isLoading:function(t){this.$emit("change-fetch-state",this.isLoading)},type:function(t){w("video type change:",t)}},activated:function(){this.$fetch()},methods:y(y(y(y(y({},Object(l.d)({setRunLogin:"setRunLogin"})),Object(l.d)("learning",{updateVideoProgress:"updateVideoProgress",clearVideo:"setVideoInfo"})),Object(l.b)("learning",["fetchResource"])),Object(l.b)("user",{updateFavorite:"updateFavorite"})),{},{clickNotInterested:function(t){this.videoFeedback.resourceId=t,this.videoFeedback.capabilityId=this.capabilityId,this.$refs.feedBackVideo.open()},clickFavorite:function(t,e){var n=this;return Object(r.a)(regeneratorRuntime.mark((function o(){var r,c,l;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(r=t.resourceId,c=t.favoriteState,w("List:click favorite",r,c),!n.isLogin){o.next=11;break}return"1"===String(c)&&n.$elog({track:["saveVideo"],ext:{videoId:r}}),o.next=6,n.updateFavorite({resourceId:r,favoriteState:c,capabilityId:n.capabilityId});case 6:return l=o.sent,o.next=9,n.triggerFavoriteVideoMsg(l.isFirst,c);case 9:o.next=13;break;case 11:w("show modal"),n.isShowLogin=!0;case 13:e();case 14:case"end":return o.stop()}}),o)})))()},triggerFavoriteVideoMsg:function(t,e){var n=this;return Object(r.a)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(!t){o.next=4;break}return o.next=3,n.$refs.favorite.openModal();case 3:return o.abrupt("return");case 4:"1"===e||1===e?n.$toast.show('已收藏至<a href="/mynabi/saving" class="text-white" style="text-decoration: underline">我的收藏</a>！'):n.$toast.show("已移除收藏囉！");case 5:case"end":return o.stop()}}),o)})))()},fetchNextPage:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.videoInfo.capabilityId===t.capabilityId){e.next=2;break}return e.abrupt("return");case 2:return w("fetchNextPage",JSON.stringify({videoCap:t.videoInfo.capabilityId,capabilityId:t.capabilityId})),n={capabilityId:t.videoInfo.capabilityId,type:t.type,recFrom:t.nextPageRow,requestLength:t.pageSize,jobcat:t.jobcat},"1"===t.type&&(n.level=t.level),e.prev=5,t.isLoading=!0,w("fetchResource 3",t.capabilityId),e.next=10,t.fetchResource(n);case 10:e.next=15;break;case 12:e.prev=12,e.t0=e.catch(5),x("component error",e.t0);case 15:return e.prev=15,t.isLoading=!1,e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[5,12,15,18]])})))()},changeLevel:function(t){var e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){var o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(w("changeLevel",{this_capabilityId:e.capabilityId,videoInfo_capabilityId:e.videoInfo.capabilityId}),e.videoInfo.capabilityId===e.capabilityId){n.next=3;break}return n.abrupt("return");case 3:if(w("changeLevel",JSON.stringify({videoCap:e.videoInfo.capabilityId,capabilityId:e.capabilityId})),t===e.level){n.next=21;break}return e.level=t,o={capabilityId:e.capabilityId,type:e.type,level:e.level,jobcat:e.jobcat},"1"===e.type&&(o.level=e.level),n.prev=8,e.isLoading=!0,w("fetchResource 4",e.capabilityId),n.next=13,e.fetchResource(o);case 13:n.next=18;break;case 15:n.prev=15,n.t0=n.catch(8),x("component error",n.t0);case 18:return n.prev=18,e.isLoading=!1,n.finish(18);case 21:case"end":return n.stop()}}),n,null,[[8,15,18,21]])})))()},clickConfirmModal:function(data){w("comfirm login"),"toLogin"===data.action&&this.setRunLogin(!0),this.clickCloseModal()},clickCloseModal:function(){w("close login"),this.isShowLogin=!1,this.isShowView=!1},clickToOpenVideo:function(data){this.$router.push("/film/".concat(data.resourceId))},closeVideoView:function(data){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(w(data,t.isShowView),!t.isShowView){e.next=5;break}return n=data.resourceId,o=data.watchedTime,e.next=5,t.updateVideoProgress({resourceId:n,watchedTime:o});case 5:t.clickCloseModal();case 6:case"end":return e.stop()}}),e)})))()},getMorePath:function(t){var e=t.toJobcat,n=t.pagePath;return e&&this.jobcat?"".concat(n,"/").concat(this.jobcat,"?tagType=").concat(0===this.capabilityType?"hardSkill":"softSkill"):n},moreClick:function(t){this.$router.push(t)},onlastItemShow:function(t,e){w("onlastItemShow!!!!!!!!!!!!!",{isVisible:t,entry:e}),this.isBottom=t}}),fetch:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.clearVideo({}),t.capabilityId){e.next=3;break}return e.abrupt("return");case 3:return n={capabilityId:t.capabilityId,type:t.type,requestLength:"12",jobcat:t.jobcat},"1"===t.type&&(n.level=t.level),e.prev=5,t.isLoading=!0,w("fetchResource 2",t.capabilityId),e.next=10,t.fetchResource(n);case 10:e.next=15;break;case 12:e.prev=12,e.t0=e.catch(5),w(e.t0,n);case 15:return e.prev=15,t.isLoading=!1,e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[5,12,15,18]])})))()}},_=n(38),component=Object(_.a)(k,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"skill-box"},[t._l(t.thirdPtySourceList,(function(source,n){return[e("div",{key:n,staticClass:"container-fluid mb-4"},[e("p",{staticClass:"h3"},[t._v(t._s(source.title))]),t._v(" "),e("div",{class:["row","row-cols-1","row-cols-md-".concat(t.equal)]},[t._l(source.list,(function(video,n){return e("div",{key:"".concat(video.resourceId?video.resourceId:video.uid,"-").concat(n),staticClass:"col d-flex"},[e("VideoListItem",t._b({attrs:{adcourse:"".concat(video.provider,"_").concat(video.title),"is-show":t.isShowView,"is-show-feedback":!0},on:{"click-favorite":t.clickFavorite,"click-open-video":t.clickToOpenVideo,"click-feedback":t.clickNotInterested}},"VideoListItem",video,!1))],1)})),t._v(" "),source.list.length%3!=0&&source.pagePath?e("div",{staticClass:"col d-flex"},[e("div",{staticClass:"allianceCard flex-fill",on:{click:function(e){t.moreClick(t.getMorePath(source))}}},[e("div",{staticClass:"allianceCard__content"},[e("div",{staticClass:"imgBox",class:Object(o.a)({},source.imgBoxClass,!0)}),t._v(" "),e("div",{staticClass:"text-center"},[e("a",{staticClass:"btn btn-outline-primary btn-xl",attrs:{href:"".concat(t.getMorePath(source))},on:{click:function(t){t.preventDefault()}}},[t._v("看更多課程")])])])])]):t._e()],2)]),t._v(" "),source.list.length%3==0&&source.pagePath?e("div",{key:"row_more_".concat(n),staticClass:"text-center"},[e("a",{staticClass:"btn btn-outline-primary btn-xl",attrs:{href:t.getMorePath(source),target:"_blank"}},[t._v("看更多課程")])]):t._e(),t._v(" "),e("hr",{key:"hr_".concat(n)})]})),t._v(" "),"1"===t.type?e("div",{staticClass:"container-fluid mb-4"},[e("div",{staticClass:"clearfix"},[t.videoInfo&&t.videoInfo.capability?e("p",{staticClass:"h3 float-left"},[t._v("\n                「"+t._s(t.videoInfo.capability)+"」的教學影片\n            ")]):t._e(),t._v(" "),"0"!==t.isVideoGraded?e("div",{staticClass:"float-right"},[e("span",{staticClass:"badge h4 ml-1",class:{"badge-blue-lake2":1===t.level,"badge-blue-lake":1!==t.level},attrs:{"data-gtm-contect":"切換程度"},on:{click:function(e){return t.changeLevel(1)}}},[t._v("初級")]),t._v(" "),e("span",{staticClass:"badge badge-blue-lake h4 ml-1 pointer",class:{"badge-blue-lake2":2===t.level,"badge-blue-lake":2!==t.level},attrs:{"data-gtm-contect":"切換程度"},on:{click:function(e){return t.changeLevel(2)}}},[t._v("中級")]),t._v(" "),e("span",{staticClass:"badge badge-blue-lake h4 ml-1",class:{"badge-blue-lake2":3===t.level,"badge-blue-lake":3!==t.level},attrs:{"data-gtm-contect":"切換程度"},on:{click:function(e){return t.changeLevel(3)}}},[t._v("高級")])]):e("div",{staticClass:"float-right"},[e("span",{staticClass:"badge h4 ml-1 badge-blue-lake2"},[t._v("全部")])])])]):t._e(),t._v(" "),e("div",{staticClass:"container-fluid"},[e("div",{class:["row","row-cols-1","row-cols-md-".concat(t.equal)]},[t._l(t.videoList,(function(video,n){return e("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:n===t.videoList.length-1&&{callback:t.onlastItemShow,intersection:{threshold:.3}},expression:"\n                    index === videoList.length - 1\n                        ? {\n                              callback: onlastItemShow,\n                              intersection: {\n                                  threshold: 0.3,\n                              },\n                          }\n                        : false\n                "}],key:"".concat(video.uid?video.uid:video.resourceId,"-").concat(n),staticClass:"col d-flex"},[e("VideoListItem",t._b({attrs:{"is-show":t.isShowView,"is-show-feedback":!0},on:{"click-favorite":t.clickFavorite,"click-open-video":t.clickToOpenVideo,"click-feedback":t.clickNotInterested}},"VideoListItem",video,!1))],1)})),t._v(" "),t.isLoading?e("div",{staticClass:"d-flex m-auto",staticStyle:{width:"30px",height:"30px"}},[e("img",{staticClass:"loader-icon w-100 m-0",attrs:{src:n(375)}})]):t._e()],2)]),t._v(" "),t.isLast&&0===t.videoList.length?e("div",{staticClass:"col d-flex flex-column d-sm-flex justify-content-center align-items-center"},[e("img",{attrs:{src:n(580)}}),t._v(" "),t._m(0)]):t._e(),t._v(" "),e("ConfirmAlert",{attrs:{"is-show":t.isShowLogin,title:"Hi 我們先登入好嗎？",msg:"需先登入才能使用「我的學習」功能喔～"},on:{"click-confirm":t.clickConfirmModal,"click-close":t.clickCloseModal}}),t._v(" "),e("VideoViewModal",t._b({attrs:{"is-show":t.isShowView,"is-show-feedback":!0},on:{"click-close":t.closeVideoView,"click-comfirm":t.closeVideoView,"click-feedback":t.clickNotInterested}},"VideoViewModal",t.videoView,!1)),t._v(" "),e("FavoriteVideoModal",{ref:"favorite"}),t._v(" "),e("FeedBackVideoModal",t._b({ref:"feedBackVideo"},"FeedBackVideoModal",t.videoFeedback,!1))],2)}),[function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"mt-3 p16 line-h-175 font-weight-bold"},[t._v("\n                哎呀~相關學習內容正在蒐集中"),e("br"),t._v("\n                目前沒有學習資源，敬請期待！\n            ")])])}],!1,null,null,null);e.a=component.exports},,,function(t,e,n){"use strict";n(8);var o={components:{Button:n(255).default},props:{},data:function(){return{value:null,roomData:void 0}},computed:{question:function(){var t=this.roomData.apply_question;return t&&null!==t?t:""},roomTitle:function(){var t=this.roomData.room_title;return t},autoReview:function(){var t=this.roomData.auto_review;return t}},methods:{open:function(t){this.roomData=t;var e=this;return this.$refs.modal.show(),new Promise((function(t){e.resovle=t}))},hideModal:function(){this.$refs.modal&&this.$refs.modal.hide()},onClose:function(){this.resovle&&(this.resovle(null),this.resovle=void 0,this.value=null),this.hideModal()},onConfirm:function(){this.value&&(this.resovle&&(this.resovle(this.value),this.resovle=void 0,this.value=null),this.hideModal())}}},r=(n(1476),n(38)),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-footer":"","dialog-class":"modal-720"},on:{hidden:t.onClose},scopedSlots:t._u([{key:"modal-header",fn:function(n){var o=n.close;return[e("div",{staticClass:"headerBox"},[e("h2",[t._v("『"+t._s(t.roomTitle)+"』")]),t._v(" "),e("h2",[t._v("想先了解一些資訊")])]),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button"},on:{click:o}})]}},{key:"default",fn:function(){return[e("div",[e("div",{staticClass:"py-2 px-4 mb-6 hint",staticStyle:{"background-color":"#ffeedf80","line-height":"28px"}},[t._v("\n                "+t._s(t.autoReview?"請協助回答以下問題，填寫完成即可加入共學。請放心，你的回答只有管理員能閱讀。":"請協助回答以下問題，幫助管理員更迅速地審核申請。請放心，你的回答只有管理員能閱讀。")+"\n            ")]),t._v(" "),e("div",{staticClass:"font-weight-bold mb-2"},[t._v(t._s(t.question))]),t._v(" "),e("div",{staticClass:"mb-2"},[e("b-form-textarea",{staticStyle:{"background-color":"#eeeeee"},attrs:{placeholder:"請輸入您的回答",rows:"4",maxlength:"50","no-resize":""},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}})],1),t._v(" "),e("span",{staticStyle:{color:"#7e7e7e","font-size":"14px"}},[t._v("\n                小提醒：請勿在這裡填寫帳號密碼，及其他敏感個人資訊，以保護您的安全。\n            ")]),t._v(" "),e("div",{staticClass:"mt-6 text-center btns"},[e("Button",{staticClass:"bkTransparent_fontOrange",attrs:{msg:"取消"},on:{click:t.onClose}}),t._v(" "),e("Button",{class:{bkOrange_fontWhite:!!t.value,bkTransparent_fontGray:!t.value},attrs:{msg:"確定送出",disable:!t.value},on:{click:t.onConfirm}})],1)])]},proxy:!0}])})}),[],!1,null,"85ba50d8",null);e.a=component.exports},,,,,,,,,,,,,,,,function(t,e,n){"use strict";n(1436)},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},,function(t,e,n){t.exports={}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n(14),n(13),n(11),n(8),n(15),n(10),n(16);var o=n(3),r=n(36),c=n(605),l=n(4),d=n(23),f=(n(21),n(110),n(30),n(105),n(27),n(1355)),m=n(630),A=n(646),h=n(1364),v=n(120),y=n(647),C=n(625);function w(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function x(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?w(Object(n),!0).forEach((function(e){Object(o.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var k={components:{VClamp:y.a,PostSuccessModal:f.a,MoreTools:m.a,DeleteAlert:A.a,PostDialog:h.a,MessageBox:v.a},props:{roomIds:{type:Array,default:function(){return[]}},tags:{type:Array,default:function(){return[]}}},data:function(){return{postData:{count:1,has_next:!1,limit:1,next:null,offset:1,result:[]},initail:!1,isVisible:!1,isLoading:!1,modifyData:void 0,isBottom:!1,alertMessage:{msgTitle:"",msgContent:"",alertNoCancel:!0,confirmText:""}}},computed:{postList:function(){var t=this.postData.result,e=void 0===t?[]:t;return this.isVisible?Object(d.a)(e):[]}},watch:{isBottom:function(t,e){var n=this;return Object(l.a)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(!t||e){o.next=4;break}if(!1!==n.isLoading){o.next=4;break}return o.next=4,n.fetchPost();case 4:case"end":return o.stop()}}),o)})))()},postList:function(t,e){0===t.length&&0!==e.length&&this.initail&&(this.$emit("scheduleListIsEmpty"),this.$refs.modal.hide())}},methods:x(x({},Object(r.d)("wall",["setPostRelativeSkill"])),{},{onlastItemShow:function(t,e){this.isBottom=t},fetchPost:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n,o,r,c,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.postData,o=n.next,r=n.has_next,c=n.result,r){e.next=3;break}return e.abrupt("return");case 3:return t.isLoading=!0,e.next=6,t.$api.wall.getActivityScheduleList({size:5,start:o,room_ids:t.roomIds,tags:t.tags});case 6:l=e.sent,t.postData=x(x({},l),{},{result:[].concat(Object(d.a)(c),Object(d.a)(l.result))}),t.isLoading=!1;case 9:case"end":return e.stop()}}),e)})))()},updatePost:function(data){var t=data.key,e=void 0===t?"":t,n=this.postData.result,o=void 0===n?[]:n,r=o.findIndex((function(p){return p.key===e}));if(r>-1){var c=o.map((function(p,i){return i===r?data:p}));this.postData.result=c}},openPostDialog:function(data){var t=this;this.modifyData=data,this.$nextTick((function(){t.$refs.PostDialog.openModal()}))},onPostDialogHidden:function(){this.modifyData=void 0},openDeleteModal:function(t,e,content){this.$refs.DeleteAlert.openModal(t,e,content)},apiDeleteActivity:function(t){var e=this;return Object(l.a)(regeneratorRuntime.mark((function n(){var o,r,c;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e.$api.wall.deleteActivity({activity_key:t});case 3:o=e.postData.result,(c=(r=void 0===o?[]:o).findIndex((function(p){return p.key===t})))>-1&&r.splice(c,1),e.$refs.DeleteAlert.closeModal(),e.$toast.show("刪除成功！"),n.next=15;break;case 10:return n.prev=10,n.t0=n.catch(0),console.log(n.t0),e.$toast.show("刪除失敗！"),n.abrupt("return",n.t0);case 15:case"end":return n.stop()}}),n,null,[[0,10]])})))()},postImmediately:function(t){var e=this;return Object(l.a)(regeneratorRuntime.mark((function n(){var o,r,c,l,d,f,m,A,h;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!t){n.next=28;break}return n.prev=1,n.next=4,e.$api.wall.publishActivityScheduleList({activity_key:t});case 4:return o=n.sent,r=e.postData.result,(l=(c=void 0===r?[]:r).findIndex((function(p){return p.key===t})))>-1&&c.splice(l,1),d=o,e.$emit("addUserNewActivity",d),e.setPostRelativeSkill(o.ability_list),n.next=13,e.openPostSuccessModal(d);case 13:n.next=28;break;case 15:if(n.prev=15,n.t0=n.catch(1),!n.t0.response||404!==n.t0.response.status){n.next=28;break}return e.alertMessage.msgTitle="您的排程貼文不存在",e.alertMessage.msgContent="發布失敗",e.alertMessage.confirmText="關閉",n.next=23,e.$refs.alert.openModal();case 23:f=n.sent,e.alertMessage.msgTitle="",e.alertMessage.msgContent="",e.alertMessage.confirmText="",f&&(m=e.postData.result,(h=(A=void 0===m?[]:m).findIndex((function(p){return p.key===t})))>-1&&A.splice(h,1));case 28:case"end":return n.stop()}}),n,null,[[1,15]])})))()},openPostSuccessModal:function(data){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$refs.PostSuccessModal.openModal(data);case 2:case"end":return e.stop()}}),e)})))()},formateDate:function(t){var e=new Date(t);return C.DateTime.fromJSDate(e).toFormat("LL/dd HH:mm")},openModal:function(){this.$refs.modal&&this.$refs.modal.show()},onModalShow:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$api.wall.getActivityScheduleList({size:10,room_ids:t.roomIds,tags:t.tags});case 2:t.postData=e.sent,t.initail=!0,t.$nextTick((function(){t.isVisible=!0}));case 5:case"end":return e.stop()}}),e)})))()},onHidden:function(){var t=this;this.postData={},this.initail=!1,this.isVisible=!1,this.isLoading=!1,this.modifyData=void 0,this.isBottom=!1,this.alertMessage={msgTitle:"",msgContent:"",alertNoCancel:!0,confirmText:""},this.$nextTick((function(){t.isVisible=!1}))}})},_=n(38),component=Object(_.a)(k,(function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"modal",attrs:{id:"bv-modal-postDialog",centered:"",scrollable:"","dialog-class":"schedulePostDialog","header-class":"schedulePostHeader","body-class":"schedulePostBody","no-close-on-backdrop":"","no-close-on-esc":"","hide-footer":""},on:{hidden:t.onHidden,show:t.onModalShow},scopedSlots:t._u([{key:"modal-header",fn:function(n){var o=n.close;return[e("h5",{staticClass:"title"},[t._v("排程中的貼文")]),t._v(" "),e("i",{staticClass:"close pointer",on:{click:function(t){return t.preventDefault(),o.apply(null,arguments)}}})]}},{key:"default",fn:function(o){return Object(c.a)(o),[t.initail?t._l(t.postList,(function(n,o){return e("div",{key:n.key,staticClass:"schedulePost"},[e("MoreTools",[e("div",{staticClass:"toolItem",on:{click:function(e){return t.openPostDialog(n)}}},[t._v("修改")]),t._v(" "),e("div",{staticClass:"toolItem",on:{click:function(e){return t.openDeleteModal(n.key,n.id,n.content)}}},[t._v("\n                            刪除\n                        ")])]),t._v(" "),2===n.publish_state?e("p",[t._v("發布失敗，請重新編輯貼文或點立即發布")]):e("p",[t._v("將於"+t._s(t.formateDate(n.schedule_date))+"發布")]),t._v(" "),e("article",[e("div",{staticClass:"title"},[e("span",[t._v(t._s(n.title))])]),t._v(" "),e("div",{staticClass:"content"},[e("span",[e("VClamp",{attrs:{"max-lines":2}},[t._v("\n                                    "+t._s(n.content)+"\n                                ")])],1)])]),t._v(" "),e("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:o===t.postList.length-1&&function(e,n){return t.onlastItemShow(e,n)},expression:"\n                            index === postList.length - 1\n                                ? (isVisible, entry) => onlastItemShow(isVisible, entry)\n                                : false\n                        "}],staticClass:"toolButtons"},[e("button",{on:{click:function(e){return t.postImmediately(n.key)}}},[t._v("立即發布")])])],1)})):e("div",{staticStyle:{width:"30%",height:"30%",margin:"0 auto"}},[e("img",{staticClass:"loader-icon w-100 m-0",attrs:{src:n(375)}})]),t._v(" "),t.isLoading?e("div",{staticClass:"d-flex m-auto loading"},[e("img",{staticClass:"loader-icon w-100 m-0",attrs:{src:n(375)}})]):t._e()]}}])}),t._v(" "),e("DeleteAlert",{ref:"DeleteAlert",on:{apiDelete:t.apiDeleteActivity}}),t._v(" "),e("PostSuccessModal",{ref:"PostSuccessModal"}),t._v(" "),e("PostDialog",{ref:"PostDialog",attrs:{data:t.modifyData},on:{hidden:t.onPostDialogHidden,"update-post":t.updatePost}}),t._v(" "),e("MessageBox",{ref:"alert",attrs:{title:t.alertMessage.msgTitle,msg:t.alertMessage.msgContent,"no-cancel":t.alertMessage.alertNoCancel,"confirm-text":t.alertMessage.confirmText}})],1)}),[],!1,null,"747ec622",null);function O(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}var I={components:{SchedulePostList:component.exports},props:{roomIds:{type:Array,default:function(){return[]}},tags:{type:Array,default:function(){return[]}}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?O(Object(n),!0).forEach((function(e){Object(o.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(r.c)({isLogin:"isLogin"})),methods:{openSchedulePostList:function(){var t=this.$refs.scheduleListRef;t&&t.openModal()}}},B=I,S=Object(_.a)(B,(function(){var t=this,e=t._self._c;return e("div",[t.isLogin?e("div",{staticClass:"schedulePostBlock",on:{click:t.openSchedulePostList}},[t._m(0)]):t._e(),t._v(" "),e("SchedulePostList",{ref:"scheduleListRef",attrs:{"room-ids":t.roomIds,tags:t.tags},on:{addUserNewActivity:function(data){t.$emit("addUserNewActivity",data)},scheduleListIsEmpty:function(e){return t.$emit("scheduleListIsEmpty")}}})],1)}),[function(){var t=this,e=t._self._c;return e("div",[e("i"),t._v(" "),e("span",[t._v("查看排程中的貼文")])])}],!1,null,null,null);e.a=S.exports},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n(8),n(10),n(26),n(164);var o={props:{value:{type:String,default:function(){return""}},placeholder:{type:String,default:function(){return"在 學習精靈 搜尋課程、貼文、證照、教室、影片"}},attribute:{type:Array,default:function(){return[]}}},computed:{showClean:function(){return!!this.value}},mounted:function(){var t=this;this.attribute.forEach((function(e){var n=e||{},o=n.attribute,r=void 0===o?"":o,c=n.value,l=void 0===c?"":c;t.$refs.search.setAttribute(r,l)}))}},r=(n(1591),n(38)),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"searchBar"},[e("div",{ref:"search",staticClass:"search"},[e("input",{attrs:{type:"text",placeholder:t.placeholder},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.$emit("keyupEnter",e.target.value)}}}),t._v(" "),t.showClean?[e("span",{staticClass:"cleanIcon",on:{click:function(e){return t.$emit("input","")}}}),t._v(" "),e("span",{staticClass:"splite"})]:t._e(),t._v(" "),e("span",{staticClass:"searchIcon",on:{click:function(){t.$emit("searchClick")}}})],2)])}),[],!1,null,"a39f0f04",null);e.a=component.exports},,,,function(t,e,n){"use strict";n(8);var o={props:{},data:function(){return{resovle:void 0,value:!1}},methods:{openModal:function(){this.value=!1;var t=this;return this.$refs.modal&&this.$refs.modal.show(),new Promise((function(e){t.resovle=e}))},hideModal:function(){this.$refs.modal&&this.$refs.modal.hide()},onHidden:function(t){this.resovle&&(this.resovle(this.value),this.resovle=void 0)},onCancelClick:function(){this.value=!1,this.hideModal()},onOkClick:function(){this.value=!0,this.hideModal()},toQna:function(){window.open("/qna")}}},r=(n(1584),n(38)),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"",scrollable:"","hide-footer":"","dialog-class":"modal-720","body-class":"t4 line-h-143"},on:{hidden:t.onHidden},scopedSlots:t._u([{key:"modal-header",fn:function(n){var o=n.close;return[e("div",{staticClass:"titleBlock"},[e("h4",{staticClass:"text-center title"},[t._v("隱私設定說明")]),t._v(" "),e("span",{staticClass:"des"},[t._v("創建共學教室和公開教室分別有哪些差別？")]),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button"},on:{click:o}})])]}},{key:"default",fn:function(){return[e("div",{staticClass:"privacyContainer"},[e("div",{staticClass:"contentFlexBox"},[e("div",{staticClass:"leftBox"},[e("div",{staticClass:"behavior"},[e("span",{staticClass:"title"},[t._v("貼文隱私")]),t._v(" "),e("span",{staticClass:"descript"},[t._v("誰可以看到教室內的貼文？")])]),t._v(" "),e("div",{staticClass:"behavior"},[e("span",{staticClass:"title"},[t._v("發表貼文")]),t._v(" "),e("span",{staticClass:"descript"},[t._v("誰可以在教室中發表貼文？")])]),t._v(" "),e("div",{staticClass:"behavior"},[e("span",{staticClass:"title"},[t._v("刪除貼文")]),t._v(" "),e("span",{staticClass:"descript"},[t._v("誰可以刪除教室中的貼文？")])])]),t._v(" "),e("div",{staticClass:"middleBox"},[e("div",{staticClass:"identity"},[e("span",[t._v("公開教室")])]),t._v(" "),e("div",{staticClass:"rule"},[e("span",[t._v("所有人")])]),t._v(" "),e("div",{staticClass:"rule"},[e("span",[t._v("所有人")])]),t._v(" "),e("div",{staticClass:"rule"},[e("span",[t._v("管理者與發文者本人")])])]),t._v(" "),e("div",{staticClass:"rightBox"},[e("div",{staticClass:"identity"},[e("span",[t._v("共學教室")])]),t._v(" "),e("div",{staticClass:"rule"},[e("span",[t._v("您可以設定教室內貼文是否公開，或是僅限共學成員觀看。")])]),t._v(" "),e("div",{staticClass:"rule"},[e("span",[t._v("僅限管理者與共學成員可於教室中發文。")])]),t._v(" "),e("div",{staticClass:"rule"},[e("span",[t._v("管理者與發文者本人")])])])]),t._v(" "),e("div",{staticClass:"info"},[e("span",[t._v("您（教室創辦人）為最高管理員，可以指定共同管理員並管理成員在教室中能進行的互動。")])]),t._v(" "),e("div",{staticClass:"info"},[e("span",[t._v("如果還想瞭解更多操作方式，可以閱讀我們為您整理的"),e("span",{staticClass:"blue",on:{click:t.toQna}},[t._v("使用說明")]),t._v("，有其他的問題也歡迎隨時與我們聯絡！")])]),t._v(" "),e("div",{staticClass:"tips"},[e("span",[t._v("小提醒：教室創建後，則無法再變更教室隱私設定")])]),t._v(" "),e("button",{on:{click:t.onCancelClick}},[t._v("清楚瞭解")])]),t._v(" "),e("div",{staticClass:"privacyContainerM"},[e("div",{staticClass:"contentFlexBox"},[e("div",{staticClass:"ruleBox"},[e("div",{staticClass:"behavior"},[e("span",{staticClass:"title"},[t._v("貼文隱私")]),t._v(" "),e("span",{staticClass:"descript"},[t._v("誰可以看到教室內的貼文？")])]),t._v(" "),e("div",{staticClass:"ruleList"},[e("div",{staticClass:"rule"},[e("span",{staticClass:"type"},[t._v("公開教室")]),t._v(" "),e("span",{staticClass:"privacy"},[t._v("所有人")])]),t._v(" "),e("div",{staticClass:"rule"},[e("span",{staticClass:"type"},[t._v("共學教室")]),t._v(" "),e("span",{staticClass:"privacy"},[t._v("您可以設定教室內貼文是否公開，或是僅限共學成員觀看。")])])])]),t._v(" "),e("div",{staticClass:"ruleBox"},[e("div",{staticClass:"behavior"},[e("span",{staticClass:"title"},[t._v("發表貼文")]),t._v(" "),e("span",{staticClass:"descript"},[t._v("誰可以在教室中發表貼文？")])]),t._v(" "),e("div",{staticClass:"ruleList"},[e("div",{staticClass:"rule"},[e("span",{staticClass:"type"},[t._v("公開教室")]),t._v(" "),e("span",{staticClass:"privacy"},[t._v("所有人")])]),t._v(" "),e("div",{staticClass:"rule"},[e("span",{staticClass:"type"},[t._v("共學教室")]),t._v(" "),e("span",{staticClass:"privacy"},[t._v("僅限管理者與共學成員可於教室中發文。")])])])]),t._v(" "),e("div",{staticClass:"ruleBox"},[e("div",{staticClass:"behavior"},[e("span",{staticClass:"title"},[t._v("刪除貼文")]),t._v(" "),e("span",{staticClass:"descript"},[t._v("誰可以刪除教室中的貼文？")])]),t._v(" "),e("div",{staticClass:"ruleList"},[e("div",{staticClass:"rule"},[e("span",{staticClass:"type"},[t._v("公開教室")]),t._v(" "),e("span",{staticClass:"privacy"},[t._v("管理者與發文者本人")])]),t._v(" "),e("div",{staticClass:"rule"},[e("span",{staticClass:"type"},[t._v("共學教室")]),t._v(" "),e("span",{staticClass:"privacy"},[t._v("管理者與發文者本人")])])])])]),t._v(" "),e("div",{staticClass:"info"},[e("span",[t._v("您（教室創辦人）為最高管理員，可以指定共同管理員並管理成員在教室中能進行的互動。")])]),t._v(" "),e("div",{staticClass:"info"},[e("span",[t._v("如果還想瞭解更多操作方式，可以閱讀我們為您整理的"),e("span",{staticClass:"blue",on:{click:t.toQna}},[t._v("使用說明")]),t._v("，有其他的問題也歡迎隨時與我們聯絡！")])]),t._v(" "),e("div",{staticClass:"tips"},[e("span",[t._v("小提醒：教室創建後，則無法再變更教室隱私設定")])]),t._v(" "),e("button",{on:{click:t.onCancelClick}},[t._v("清楚瞭解")])])]},proxy:!0}])})}),[],!1,null,"74f26cea",null);e.a=component.exports},,,,,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return d})),n.d(e,"e",(function(){return f}));var o=n(599),r={pages:[[o.a,o.d,o.h,o.g,o.b,o.a,o.g,o.c],[o.a,o.h,o.g,o.a,o.g,o.f,o.c]],default:[o.a,o.h,o.g,o.a,o.g]},c={pages:[[o.a,o.d,o.h,o.g,o.b,o.a,o.g,o.e,o.c],[o.a,o.h,o.g,o.a,o.g,o.f,o.c]],default:[o.a,o.h,o.g,o.a,o.g]},l={pages:[[o.i,o.a,o.a,o.a,o.a,o.a,o.a,o.a]],default:[o.a,o.a,o.a,o.a,o.a,o.a,o.a]},d={pages:[[o.i,o.a,o.a,o.a,o.a,o.a,o.e,o.a]],default:[o.a,o.a,o.a,o.a,o.a,o.a,o.a]},f={pages:[[o.a,o.a,o.a,o.a,o.a,o.a,o.a]],default:[o.a,o.a,o.a,o.a,o.a,o.a,o.a]}},,,,,,,function(t,e,n){"use strict";n(1477)},function(t,e,n){"use strict";n(1478)},,,,,,function(t,e,n){"use strict";n(1480)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n(1664)},function(t,e,n){"use strict";var o=n(28),r=n(55),c=n(94),l=n(141),d=n(208),f=n(264);o({target:"Promise",stat:!0,forced:n(267)},{allSettled:function(t){var e=this,n=l.f(e),o=n.resolve,m=n.reject,A=d((function(){var n=c(e.resolve),l=[],d=0,m=1;f(t,(function(t){var c=d++,f=!1;m++,r(n,e,t).then((function(t){f||(f=!0,l[c]={status:"fulfilled",value:t},--m||o(l))}),(function(t){f||(f=!0,l[c]={status:"rejected",reason:t},--m||o(l))}))})),--m||o(l)}));return A.error&&m(A.value),n.promise}})},,,function(t,e,n){"use strict";var o=n(1668),r=n.n(o);e.default=r.a},function(t,e){},,,,,,,,,,,,,function(t,e,n){"use strict";n(13),n(68),n(14),n(11),n(15),n(16);var o=n(31),r=n(4),c=n(3),l=n(23),d=(n(27),n(30),n(42),n(110),n(21),n(105),n(37),n(8),n(10),n(54),n(26),n(40),n(50),n(51),n(36)),f=n(1367),m=n(120),A=n(1570),h=n(986),v=n(933),y=n.n(v);function C(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?C(Object(n),!0).forEach((function(e){Object(c.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var x=n(39)("src/client/components/page/Create/CreateClassroomForm.vue"),k=x.debug,_=x.error,O={components:{DropUpTags:f.a,MessageBox:m.a,PrivacyDoc:A.a,ToolTips:h.a},props:{isEdit:{type:Boolean,default:!1},roomData:{type:Object,default:function(){return{}}},canDelete:{type:Boolean,default:!0},showCloseRoom:{type:Boolean,default:!0}},data:function(){return{room_title:"",description:"",tags:[],drowdownList:[],failMessage:"",isLoading:!1,fetchLoading:!1,privacy:2,recommendNabiTags:{suggestionKey:"",contentTag:[],jobcatTag:[],initial:!1}}},computed:{tagsCheck:function(){return this.tags.map((function(t){return t.tag_name})).join("")},recommandTagFormat:function(){var t=this,e=this.recommendNabiTags.contentTag;return(void 0===e?[]:e).map((function(e){return{tag_name:e,disabled:t.tags.findIndex((function(t){return t.tag_name===e}))>-1}}))}},watch:{description:function(t){this.getRecommendNabiTags({content:t})}},mounted:function(){var t;this.isEdit&&"{}"!==JSON.stringify(this.roomData)&&(this.room_title=this.roomData.room_title,this.description=this.roomData.description,(t=this.tags).push.apply(t,Object(l.a)(this.roomData.tags)));var e=(this.$route.query||{}).tag,n=void 0===e?"":e;n&&(this.tags=[].concat(Object(l.a)(this.tags),[{tag_name:n}]))},methods:w(w(w({},Object(d.b)("myRoom",["getMyRoom"])),Object(d.d)("myRoom",["resetMyRoomData"])),{},{insertTag:function(t){-1===this.tags.findIndex((function(e){return e.tag_name===t.tag_name}))&&(this.tags=[].concat(Object(l.a)(this.tags),[t]))},removeTag:function(t){var e=this.tags.findIndex((function(e){return e.tag_name===t.tag_name}));this.tags.splice(e,1)},fetchTag:function(t){var e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){var o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e.drowdownList=[],t){n.next=3;break}return n.abrupt("return");case 3:return n.prev=3,e.fetchLoading=!0,n.next=7,e.$api.nabi.getCapabilityByKey(t);case 7:o=n.sent,e.drowdownList=o.map((function(t){return{room_title:t.name,room_id:t.id}})),n.next=15;break;case 11:n.prev=11,n.t0=n.catch(3),k(n.t0),e.drowdownList=[];case 15:return n.prev=15,e.fetchLoading=!1,n.finish(15);case 18:case"end":return n.stop()}}),n,null,[[3,11,15,18]])})))()},openMessageBox:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$refs.MessageBox.openModal();case 2:e.sent&&t.canDelete&&t.deleteRoom();case 4:case"end":return e.stop()}}),e)})))()},createClassroom:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,o,data,r,c,l,d,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,t.isLoading=!0,t.isEdit){e.next=10;break}return n=[],t.tags.forEach((function(t){n.push(t.tag_name)})),e.next=7,t.$api.cls.addClassroom({room_title:t.room_title,description:t.description,tags:n,privacy_state:t.privacy});case 7:o=e.sent,data=o.data,setTimeout((function(){t.$router.push("/room/".concat(data.room_id))}),1e3);case 10:if(!t.isEdit){e.next=18;break}return r=[],t.tags.forEach((function(t){r.push(t.tag_name)})),e.next=15,t.$api.cls.updateClassroom({room_title:t.room_title,description:t.description,tags:r,room_id:t.roomData.room_id,privacy_state:t.privacy});case 15:c=e.sent,c.success&&(t.$emit("updateClassroom",{room_title:t.room_title,description:t.description,tags:t.tags,room_id:t.roomData.room_id,privacy_state:t.privacy}),t.$toast.show("已儲存變更"),t.$emit("hideModal"));case 18:e.next=26;break;case 20:e.prev=20,e.t0=e.catch(0),l=e.t0||{},d=l.response,f=(void 0===d?{}:d).data,401!==(void 0===f?{}:f).code&&(k(e.t0),_("component error",error),t.failMessage="發生錯誤，請稍後再試",t.$refs.alert.openModal());case 26:return e.prev=26,t.isLoading=!1,t.resetMyRoomData(),e.next=31,t.getMyRoom();case 31:return e.finish(26);case 32:case"end":return e.stop()}}),e,null,[[0,20,26,32]])})))()},clickSend:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$refs.observer.validate();case 3:if(e.sent){e.next=6;break}return e.abrupt("return");case 6:t.createClassroom(),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),_("component error",e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})))()},deleteRoom:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,o,r,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$api.cls.deleteClassroom({roomId:t.roomData.room_id});case 3:n=e.sent,n.success&&(t.$emit("hideModal"),setTimeout((function(){t.$router.replace("/classroom")}),600)),e.next=14;break;case 8:e.prev=8,e.t0=e.catch(0),o=e.t0||{},r=o.response,c=(void 0===r?{}:r).data,401!==(void 0===c?{}:c).code&&(k(e.t0),_("component error",error),t.failMessage="發生錯誤，請稍後再試",t.$refs.alert.openModal());case 14:case"end":return e.stop()}}),e,null,[[0,8]])})))()},setPrivacy:function(t){this.privacy=t},openPrivacyDoc:function(){this.$refs.privacyDoc.openModal()},getRecommendNabiTags:y()(function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(e){var content,n,c,data,l,d,f,m=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.title,content=e.content,e.jobcat,t.prev=1,t.next=4,Promise.all([Object(r.a)(regeneratorRuntime.mark((function t(){var e,n,data;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m.$api.an9.getRecommendNabiTags({title:"",content:content,jobcat:0});case 2:return e=t.sent,n=e.data,data=void 0===n?{}:n,t.abrupt("return",data);case 6:case"end":return t.stop()}}),t)})))()]);case 4:n=t.sent,c=Object(o.a)(n,1),data=c[0],l=data.suggestion_key,d=data.contentTag,f=data.jobcatTag,this.recommendNabiTags.suggestionKey=l,this.recommendNabiTags.contentTag=d,this.recommendNabiTags.jobcatTag=f,this.recommendNabiTags.initial=!0,t.next=17;break;case 14:t.prev=14,t.t0=t.catch(1),this.recommendNabiTags.initial=!0;case 17:case"end":return t.stop()}}),t,this,[[1,14]])})));return function(e){return t.apply(this,arguments)}}(),1e3)})},I=O,B=(n(1585),n(38)),component=Object(B.a)(I,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"CreateFormWrap"},[e("h2",[t._v(t._s(t.isEdit?"管理教室":"三步驟創建教室"))]),t._v(" "),e("ValidationObserver",{ref:"observer"},[e("form",{staticClass:"CreateForm",attrs:{action:""}},[e("ValidationProvider",{attrs:{rules:"required|postTitleLen:1,20|sensitiveWord"},scopedSlots:t._u([{key:"default",fn:function(n){var o=n.failed,r=n.errors;return[e("div",{staticClass:"CreateForm--group"},[e("div",{staticClass:"d-flex flex-wrap flex-md-nowrap"},[e("label",{staticClass:"font-weight-bold d-flex"},[t._v("教室名稱"),e("span",[t._v("*")]),e("ToolTips",{staticClass:"tip top"},[t._v("填寫的內容，未來都可以在「管理教室頁面」進行修改。")])],1),t._v(" "),e("div",{class:["CreateFormInput",{"CreateFormInput-invalid":o}]},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.room_title,expression:"room_title"}],staticClass:"CreateFormInput--className",attrs:{placeholder:"為您的教室命名",type:"text",maxlength:"20",name:"教室名稱"},domProps:{value:t.room_title},on:{input:function(e){e.target.composing||(t.room_title=e.target.value)}}}),t._v(" "),e("h5",{staticClass:"font-weight-normal"},[t._v("\n                                必填 "+t._s(t.room_title.length)+" / 20\n                            ")])])]),t._v(" "),e("b-form-invalid-feedback",{staticClass:"CreateForm--invalid",attrs:{state:!o}},[t._v("\n                        "+t._s(r[0])+"\n                    ")])],1)]}}])}),t._v(" "),e("ValidationProvider",{attrs:{rules:"required|postTitleLen:1,300|sensitiveWord"},scopedSlots:t._u([{key:"default",fn:function(n){var o=n.failed,r=n.errors;return[e("div",{staticClass:"CreateForm--group"},[e("div",{staticClass:"d-flex flex-wrap flex-md-nowrap"},[e("label",{staticClass:"font-weight-bold d-flex"},[t._v("教室簡介"),e("span",[t._v("*")]),e("ToolTips",{staticClass:"tip top"},[t._v("填寫的內容，未來都可以在教室內「關於教室欄位」進行修改。")])],1),t._v(" "),e("div",{class:["CreateFormInput fix-classInfo",{"CreateFormInput-invalid":o}]},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.description,expression:"description"}],staticClass:"CreateFormInput--classInfo",attrs:{rows:"5",placeholder:"向其他人簡單介紹你的教室吧！\n\n可以說明想要分享的主題類型、告訴其他人在這裡可以進行什麼樣的互動。",maxlength:"300",name:"教室簡介",lazy:""},domProps:{value:t.description},on:{input:function(e){e.target.composing||(t.description=e.target.value)}}}),t._v(" "),e("h5",{staticClass:"font-weight-normal"},[t._v("\n                                必填 "+t._s(t.description.length)+" / 300\n                            ")])])]),t._v(" "),e("b-form-invalid-feedback",{staticClass:"CreateForm--invalid",attrs:{state:!o}},[t._v("\n                        "+t._s(r[0])+"\n                    ")])],1)]}}])}),t._v(" "),e("ValidationProvider",{attrs:{rules:"required|postTagsLen:1,30|sensitiveWord"},scopedSlots:t._u([{key:"default",fn:function(n){var o=n.failed,r=n.errors;return[e("div",{staticClass:"CreateForm--group"},[e("div",{staticClass:"d-flex flex-wrap flex-md-nowrap"},[e("label",{staticClass:"font-weight-bold d-flex"},[t._v("教室標籤"),e("span",[t._v("*")]),e("ToolTips",{staticClass:"tip top"},[t._v("設定與教室主題相關的標籤，可以幫助您的教室有更好的曝光。")])],1),t._v(" "),e("input",{attrs:{name:"教室標籤",type:"hidden"},domProps:{value:t.tagsCheck}}),t._v(" "),e("div",{staticClass:"CreateFormInput"},[e("div",{class:{"CreateFormInput-invalid":o}},[e("DropUpTags",{attrs:{"fetch-loading":t.fetchLoading,tags:t.tags,"drowdown-list":t.drowdownList,"limit-tags":5,"label-txt":"請點選相關類別","placeholder-text":"輸入最多五個與教室經營主題相關的標籤","is-enter-add-new-tag":!0},on:{clickTagRemoveEvent:t.removeTag,tagInputChange:t.fetchTag,actionAddTag:t.insertTag}})],1)])]),t._v(" "),t.recommandTagFormat.length>0?e("div",{staticClass:"text-7e p14 dropUpTags mt-3 recommandTag"},[e("div",{staticClass:"title"},[t._v("推薦標籤")]),t._v(" "),t._l(t.recommandTagFormat,(function(n,o){return e("li",{key:"recommand-tag-".concat(o),staticClass:"badge b-form-tag d-inline-flex align-items-center mw-100 badge-pill mb-1 mt-1 badge-skyBlue",class:{disabled:n.disabled},on:{click:function(e){return t.insertTag(n)}}},[e("span",{staticClass:"b-form-tag-content flex-grow-1 text-truncate"},[t._v("\n                                "+t._s(n.tag_name)+"\n                            ")])])}))],2):t._e(),t._v(" "),e("b-form-invalid-feedback",{staticClass:"CreateForm--invalid",attrs:{state:!o}},[t._v("\n                        "+t._s(r[0])+"\n                    ")])],1)]}}])}),t._v(" "),t.isEdit?t._e():e("div",{staticClass:"CreateForm--group"},[e("div",{staticClass:"privacySetting"},[e("div",{staticClass:"title"},[e("span",{staticClass:"main"},[t._v("教室隱私設定"),e("span",{},[t._v("*")]),e("ToolTips",{staticClass:"tip"},[t._v("教室創建完成後，目前暫時不能再變更教室類型。")])],1)]),t._v(" "),e("div",{staticClass:"settingList"},[e("div",{staticClass:"setting",class:{active:2===t.privacy},on:{click:function(e){return t.setPrivacy(2)}}},[e("span",{staticClass:"icon"}),t._v(" "),e("div",{staticClass:"content"},[e("span",[t._v("共學教室")]),t._v(" "),e("span",[t._v("能發表全站公開的內容，也可以設定貼文的觀看權限，建立成員限定的討論")])])]),t._v(" "),e("div",{staticClass:"setting",class:{active:1===t.privacy},on:{click:function(e){return t.setPrivacy(1)}}},[e("span",{staticClass:"icon"}),t._v(" "),e("div",{staticClass:"content"},[e("span",[t._v("公開教室")]),t._v(" "),e("span",[t._v("任何人都能看到教室內發布的內容")])])])]),t._v(" "),e("div",{staticClass:"openPrivacyDoc"},[t._v("\n                        深入瞭解"),e("span",{staticClass:"blue",on:{click:t.openPrivacyDoc}},[t._v("隱私權限")]),t._v("相關設定\n                    ")])])]),t._v(" "),t.isEdit&&t.showCloseRoom?e("div",{staticClass:"CreateForm--group text-left"},[e("label",{staticClass:"font-weight-bold"},[t._v("關閉教室")]),t._v(" "),e("a",{attrs:{href:"javascript:void(0);"},on:{click:t.openMessageBox}},[t._v("永久關閉教室")])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-center"},[t.isEdit?e("div",{staticClass:"btn btn-lg btn-outline-primary mr-4",on:{click:function(e){return t.$emit("hideModal")}}},[t._v("\n                    取消\n                ")]):t._e(),t._v(" "),e("button",{class:["btn","btn-lg","btn-secondary",{"pointer-event-stop":t.isLoading}],attrs:{disabled:!this.room_title||!this.description||0===this.tags.length},on:{click:function(e){return e.preventDefault(),t.clickSend()}}},[t._v("\n                    "+t._s(t.isEdit?"儲存":"創建")+"\n                ")])]),t._v(" "),e("MessageBox",{ref:"MessageBox",attrs:{"confirm-text":t.canDelete?"確定":"我知道了","no-cancel":!t.canDelete,"cancel-text":"取消",title:"小提醒"}},[t._v("\n                "+t._s(t.canDelete?"確定要關閉此教室？":"教室中扔有許多寶貴的資源，請先刪除或移轉後再關閉教室。")+"\n            ")])],1)]),t._v(" "),e("MessageBox",{ref:"alert",attrs:{title:"送出失敗",msg:t.failMessage,"no-cancel":!0,"confirm-text":"確認"}}),t._v(" "),e("PrivacyDoc",{ref:"privacyDoc"})],1)}),[],!1,null,"5ed36c31",null);e.a=component.exports},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},function(t,e,n){t.exports={}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n(1980)},function(t,e,n){"use strict";n(1981)},function(t,e,n){"use strict";n(1982)},function(t,e,n){"use strict";n(1983)},function(t,e,n){"use strict";n(1984)},function(t,e,n){"use strict";n(1985)},function(t,e,n){"use strict";n(1986)},function(t,e,n){"use strict";n(1987)},function(t,e,n){"use strict";n(1988)},function(t,e,n){"use strict";n(1989)},function(t,e,n){"use strict";n(1990)},function(t,e,n){"use strict";n(1991)},function(t,e,n){"use strict";n(1992)},function(t,e,n){"use strict";n(1993)},function(t,e,n){t.exports=function(){"use strict";function t(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function e(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?t(Object(source),!0).forEach((function(t){l(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):t(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function c(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function d(t){return f(t)||m(t)||A(t)||v()}function f(t){if(Array.isArray(t))return h(t)}function m(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function A(t,e){if(t){if("string"==typeof t)return h(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(t,e):void 0}}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function v(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var y="undefined"!=typeof window&&void 0!==window.document,C=y?window:{},w=!(!y||!C.document.documentElement)&&"ontouchstart"in C.document.documentElement,x=!!y&&"PointerEvent"in C,k="cropper",_="all",O="crop",I="move",B="zoom",S="e",j="w",D="s",R="n",M="ne",U="nw",T="se",E="sw",L="".concat(k,"-crop"),P="".concat(k,"-disabled"),F="".concat(k,"-hidden"),N="".concat(k,"-hide"),Q="".concat(k,"-invisible"),H="".concat(k,"-modal"),G="".concat(k,"-move"),V="".concat(k,"Action"),J="".concat(k,"Preview"),K="crop",Y="move",z="none",X="crop",W="cropend",Z="cropmove",$="cropstart",tt="dblclick",et=w?"touchstart":"mousedown",nt=w?"touchmove":"mousemove",it=w?"touchend touchcancel":"mouseup",at=x?"pointerdown":et,ot=x?"pointermove":nt,st=x?"pointerup pointercancel":it,ct="ready",lt="resize",ut="wheel",pt="zoom",gt="image/jpeg",ft=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,mt=/^data:/,At=/^data:image\/jpeg;base64,/,ht=/^img|canvas$/i,vt=200,bt=100,yt={viewMode:0,dragMode:K,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:vt,minContainerHeight:bt,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},Ct='<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>',wt=Number.isNaN||C.isNaN;function xt(t){return"number"==typeof t&&!wt(t)}var kt=function(t){return t>0&&t<1/0};function _t(t){return void 0===t}function Ot(t){return"object"===n(t)&&null!==t}var It=Object.prototype.hasOwnProperty;function Bt(t){if(!Ot(t))return!1;try{var e=t.constructor,n=e.prototype;return e&&n&&It.call(n,"isPrototypeOf")}catch(t){return!1}}function St(t){return"function"==typeof t}var jt=Array.prototype.slice;function Dt(t){return Array.from?Array.from(t):jt.call(t)}function Rt(data,t){return data&&St(t)&&(Array.isArray(data)||xt(data.length)?Dt(data).forEach((function(e,n){t.call(data,e,n,data)})):Ot(data)&&Object.keys(data).forEach((function(e){t.call(data,data[e],e,data)}))),data}var Mt=Object.assign||function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];return Ot(t)&&n.length>0&&n.forEach((function(e){Ot(e)&&Object.keys(e).forEach((function(n){t[n]=e[n]}))})),t},Ut=/\.\d*(?:0|9){12}\d*$/;function Tt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return Ut.test(t)?Math.round(t*e)/e:t}var Et=/^width|height|left|top|marginLeft|marginTop$/;function Lt(element,t){var style=element.style;Rt(t,(function(t,e){Et.test(e)&&xt(t)&&(t="".concat(t,"px")),style[e]=t}))}function Pt(element,t){return element.classList?element.classList.contains(t):element.className.indexOf(t)>-1}function Ft(element,t){if(t)if(xt(element.length))Rt(element,(function(e){Ft(e,t)}));else if(element.classList)element.classList.add(t);else{var e=element.className.trim();e?e.indexOf(t)<0&&(element.className="".concat(e," ").concat(t)):element.className=t}}function Nt(element,t){t&&(xt(element.length)?Rt(element,(function(e){Nt(e,t)})):element.classList?element.classList.remove(t):element.className.indexOf(t)>=0&&(element.className=element.className.replace(t,"")))}function Qt(element,t,e){t&&(xt(element.length)?Rt(element,(function(n){Qt(n,t,e)})):e?Ft(element,t):Nt(element,t))}var Ht=/([a-z\d])([A-Z])/g;function Gt(t){return t.replace(Ht,"$1-$2").toLowerCase()}function Vt(element,t){return Ot(element[t])?element[t]:element.dataset?element.dataset[t]:element.getAttribute("data-".concat(Gt(t)))}function Jt(element,t,data){Ot(data)?element[t]=data:element.dataset?element.dataset[t]=data:element.setAttribute("data-".concat(Gt(t)),data)}function Kt(element,t){if(Ot(element[t]))try{delete element[t]}catch(e){element[t]=void 0}else if(element.dataset)try{delete element.dataset[t]}catch(e){element.dataset[t]=void 0}else element.removeAttribute("data-".concat(Gt(t)))}var Yt=/\s\s*/,qt=function(){var t=!1;if(y){var e=!1,n=function(){},o=Object.defineProperty({},"once",{get:function(){return t=!0,e},set:function(t){e=t}});C.addEventListener("test",n,o),C.removeEventListener("test",n,o)}return t}();function zt(element,t,e){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e;t.trim().split(Yt).forEach((function(t){if(!qt){var r=element.listeners;r&&r[t]&&r[t][e]&&(o=r[t][e],delete r[t][e],0===Object.keys(r[t]).length&&delete r[t],0===Object.keys(r).length&&delete element.listeners)}element.removeEventListener(t,o,n)}))}function Xt(element,t,e){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e;t.trim().split(Yt).forEach((function(t){if(n.once&&!qt){var r=element.listeners,c=void 0===r?{}:r;o=function(){delete c[t][e],element.removeEventListener(t,o,n);for(var r=arguments.length,l=new Array(r),d=0;d<r;d++)l[d]=arguments[d];e.apply(element,l)},c[t]||(c[t]={}),c[t][e]&&element.removeEventListener(t,c[t][e],n),c[t][e]=o,element.listeners=c}element.addEventListener(t,o,n)}))}function Wt(element,t,data){var e;return St(Event)&&St(CustomEvent)?e=new CustomEvent(t,{detail:data,bubbles:!0,cancelable:!0}):(e=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!0,data),element.dispatchEvent(e)}function Zt(element){var t=element.getBoundingClientRect();return{left:t.left+(window.pageXOffset-document.documentElement.clientLeft),top:t.top+(window.pageYOffset-document.documentElement.clientTop)}}var $t=C.location,te=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function ee(t){var e=t.match(te);return null!==e&&(e[1]!==$t.protocol||e[2]!==$t.hostname||e[3]!==$t.port)}function ne(t){var e="timestamp=".concat((new Date).getTime());return t+(-1===t.indexOf("?")?"?":"&")+e}function ie(t){var e=t.rotate,n=t.scaleX,o=t.scaleY,r=t.translateX,c=t.translateY,l=[];xt(r)&&0!==r&&l.push("translateX(".concat(r,"px)")),xt(c)&&0!==c&&l.push("translateY(".concat(c,"px)")),xt(e)&&0!==e&&l.push("rotate(".concat(e,"deg)")),xt(n)&&1!==n&&l.push("scaleX(".concat(n,")")),xt(o)&&1!==o&&l.push("scaleY(".concat(o,")"));var d=l.length?l.join(" "):"none";return{WebkitTransform:d,msTransform:d,transform:d}}function ae(t){var n=e({},t),o=0;return Rt(t,(function(t,e){delete n[e],Rt(n,(function(e){var n=Math.abs(t.startX-e.startX),r=Math.abs(t.startY-e.startY),c=Math.abs(t.endX-e.endX),l=Math.abs(t.endY-e.endY),d=Math.sqrt(n*n+r*r),f=(Math.sqrt(c*c+l*l)-d)/d;Math.abs(f)>Math.abs(o)&&(o=f)}))})),o}function oe(t,n){var o=t.pageX,r=t.pageY,c={endX:o,endY:r};return n?c:e({startX:o,startY:r},c)}function re(t){var e=0,n=0,o=0;return Rt(t,(function(t){var r=t.startX,c=t.startY;e+=r,n+=c,o+=1})),{pageX:e/=o,pageY:n/=o}}function se(t){var e=t.aspectRatio,n=t.height,o=t.width,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"contain",c=kt(o),l=kt(n);if(c&&l){var d=n*e;"contain"===r&&d>o||"cover"===r&&d<o?n=o/e:o=n*e}else c?n=o/e:l&&(o=n*e);return{width:o,height:n}}function ce(t){var e=t.width,n=t.height,o=t.degree;if(90==(o=Math.abs(o)%180))return{width:n,height:e};var r=o%90*Math.PI/180,c=Math.sin(r),l=Math.cos(r),d=e*l+n*c,f=e*c+n*l;return o>90?{width:f,height:d}:{width:d,height:f}}function le(image,t,e,n){var o=t.aspectRatio,r=t.naturalWidth,c=t.naturalHeight,l=t.rotate,f=void 0===l?0:l,m=t.scaleX,A=void 0===m?1:m,h=t.scaleY,v=void 0===h?1:h,y=e.aspectRatio,C=e.naturalWidth,w=e.naturalHeight,x=n.fillColor,k=void 0===x?"transparent":x,_=n.imageSmoothingEnabled,O=void 0===_||_,I=n.imageSmoothingQuality,B=void 0===I?"low":I,S=n.maxWidth,j=void 0===S?1/0:S,D=n.maxHeight,R=void 0===D?1/0:D,M=n.minWidth,U=void 0===M?0:M,T=n.minHeight,E=void 0===T?0:T,canvas=document.createElement("canvas"),L=canvas.getContext("2d"),P=se({aspectRatio:y,width:j,height:R}),F=se({aspectRatio:y,width:U,height:E},"cover"),N=Math.min(P.width,Math.max(F.width,C)),Q=Math.min(P.height,Math.max(F.height,w)),H=se({aspectRatio:o,width:j,height:R}),G=se({aspectRatio:o,width:U,height:E},"cover"),V=Math.min(H.width,Math.max(G.width,r)),J=Math.min(H.height,Math.max(G.height,c)),K=[-V/2,-J/2,V,J];return canvas.width=Tt(N),canvas.height=Tt(Q),L.fillStyle=k,L.fillRect(0,0,N,Q),L.save(),L.translate(N/2,Q/2),L.rotate(f*Math.PI/180),L.scale(A,v),L.imageSmoothingEnabled=O,L.imageSmoothingQuality=B,L.drawImage.apply(L,[image].concat(d(K.map((function(param){return Math.floor(Tt(param))}))))),L.restore(),canvas}var ue=String.fromCharCode;function de(t,e,n){var o="";n+=e;for(var i=e;i<n;i+=1)o+=ue(t.getUint8(i));return o}var pe=/^data:.*,/;function ge(t){var e=t.replace(pe,""),n=atob(e),o=new ArrayBuffer(n.length),r=new Uint8Array(o);return Rt(r,(function(t,i){r[i]=n.charCodeAt(i)})),o}function fe(t,e){for(var n=[],o=8192,r=new Uint8Array(t);r.length>0;)n.push(ue.apply(null,Dt(r.subarray(0,o)))),r=r.subarray(o);return"data:".concat(e,";base64,").concat(btoa(n.join("")))}function me(t){var e,n=new DataView(t);try{var o,r,c;if(255===n.getUint8(0)&&216===n.getUint8(1))for(var l=n.byteLength,d=2;d+1<l;){if(255===n.getUint8(d)&&225===n.getUint8(d+1)){r=d;break}d+=1}if(r){var f=r+10;if("Exif"===de(n,r+4,4)){var m=n.getUint16(f);if(((o=18761===m)||19789===m)&&42===n.getUint16(f+2,o)){var A=n.getUint32(f+4,o);A>=8&&(c=f+A)}}}if(c){var h,i,v=n.getUint16(c,o);for(i=0;i<v;i+=1)if(h=c+12*i+2,274===n.getUint16(h,o)){h+=8,e=n.getUint16(h,o),n.setUint16(h,1,o);break}}}catch(t){e=1}return e}function Ae(t){var e=0,n=1,o=1;switch(t){case 2:n=-1;break;case 3:e=-180;break;case 4:o=-1;break;case 5:e=90,o=-1;break;case 6:e=90;break;case 7:e=90,n=-1;break;case 8:e=-90}return{rotate:e,scaleX:n,scaleY:o}}var he={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var element=this.element,t=this.options,e=this.container,n=this.cropper,o=Number(t.minContainerWidth),r=Number(t.minContainerHeight);Ft(n,F),Nt(element,F);var c={width:Math.max(e.offsetWidth,o>=0?o:vt),height:Math.max(e.offsetHeight,r>=0?r:bt)};this.containerData=c,Lt(n,{width:c.width,height:c.height}),Ft(element,F),Nt(n,F)},initCanvas:function(){var t=this.containerData,e=this.imageData,n=this.options.viewMode,o=Math.abs(e.rotate)%180==90,r=o?e.naturalHeight:e.naturalWidth,c=o?e.naturalWidth:e.naturalHeight,l=r/c,d=t.width,f=t.height;t.height*l>t.width?3===n?d=t.height*l:f=t.width/l:3===n?f=t.width/l:d=t.height*l;var m={aspectRatio:l,naturalWidth:r,naturalHeight:c,width:d,height:f};this.canvasData=m,this.limited=1===n||2===n,this.limitCanvas(!0,!0),m.width=Math.min(Math.max(m.width,m.minWidth),m.maxWidth),m.height=Math.min(Math.max(m.height,m.minHeight),m.maxHeight),m.left=(t.width-m.width)/2,m.top=(t.height-m.height)/2,m.oldLeft=m.left,m.oldTop=m.top,this.initialCanvasData=Mt({},m)},limitCanvas:function(t,e){var n=this.options,o=this.containerData,r=this.canvasData,c=this.cropBoxData,l=n.viewMode,d=r.aspectRatio,f=this.cropped&&c;if(t){var m=Number(n.minCanvasWidth)||0,A=Number(n.minCanvasHeight)||0;l>1?(m=Math.max(m,o.width),A=Math.max(A,o.height),3===l&&(A*d>m?m=A*d:A=m/d)):l>0&&(m?m=Math.max(m,f?c.width:0):A?A=Math.max(A,f?c.height:0):f&&(m=c.width,(A=c.height)*d>m?m=A*d:A=m/d));var h=se({aspectRatio:d,width:m,height:A});m=h.width,A=h.height,r.minWidth=m,r.minHeight=A,r.maxWidth=1/0,r.maxHeight=1/0}if(e)if(l>(f?0:1)){var v=o.width-r.width,y=o.height-r.height;r.minLeft=Math.min(0,v),r.minTop=Math.min(0,y),r.maxLeft=Math.max(0,v),r.maxTop=Math.max(0,y),f&&this.limited&&(r.minLeft=Math.min(c.left,c.left+(c.width-r.width)),r.minTop=Math.min(c.top,c.top+(c.height-r.height)),r.maxLeft=c.left,r.maxTop=c.top,2===l&&(r.width>=o.width&&(r.minLeft=Math.min(0,v),r.maxLeft=Math.max(0,v)),r.height>=o.height&&(r.minTop=Math.min(0,y),r.maxTop=Math.max(0,y))))}else r.minLeft=-r.width,r.minTop=-r.height,r.maxLeft=o.width,r.maxTop=o.height},renderCanvas:function(t,e){var n=this.canvasData,o=this.imageData;if(e){var r=ce({width:o.naturalWidth*Math.abs(o.scaleX||1),height:o.naturalHeight*Math.abs(o.scaleY||1),degree:o.rotate||0}),c=r.width,l=r.height,d=n.width*(c/n.naturalWidth),f=n.height*(l/n.naturalHeight);n.left-=(d-n.width)/2,n.top-=(f-n.height)/2,n.width=d,n.height=f,n.aspectRatio=c/l,n.naturalWidth=c,n.naturalHeight=l,this.limitCanvas(!0,!1)}(n.width>n.maxWidth||n.width<n.minWidth)&&(n.left=n.oldLeft),(n.height>n.maxHeight||n.height<n.minHeight)&&(n.top=n.oldTop),n.width=Math.min(Math.max(n.width,n.minWidth),n.maxWidth),n.height=Math.min(Math.max(n.height,n.minHeight),n.maxHeight),this.limitCanvas(!1,!0),n.left=Math.min(Math.max(n.left,n.minLeft),n.maxLeft),n.top=Math.min(Math.max(n.top,n.minTop),n.maxTop),n.oldLeft=n.left,n.oldTop=n.top,Lt(this.canvas,Mt({width:n.width,height:n.height},ie({translateX:n.left,translateY:n.top}))),this.renderImage(t),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(t){var e=this.canvasData,n=this.imageData,o=n.naturalWidth*(e.width/e.naturalWidth),r=n.naturalHeight*(e.height/e.naturalHeight);Mt(n,{width:o,height:r,left:(e.width-o)/2,top:(e.height-r)/2}),Lt(this.image,Mt({width:n.width,height:n.height},ie(Mt({translateX:n.left,translateY:n.top},n)))),t&&this.output()},initCropBox:function(){var t=this.options,e=this.canvasData,n=t.aspectRatio||t.initialAspectRatio,o=Number(t.autoCropArea)||.8,r={width:e.width,height:e.height};n&&(e.height*n>e.width?r.height=r.width/n:r.width=r.height*n),this.cropBoxData=r,this.limitCropBox(!0,!0),r.width=Math.min(Math.max(r.width,r.minWidth),r.maxWidth),r.height=Math.min(Math.max(r.height,r.minHeight),r.maxHeight),r.width=Math.max(r.minWidth,r.width*o),r.height=Math.max(r.minHeight,r.height*o),r.left=e.left+(e.width-r.width)/2,r.top=e.top+(e.height-r.height)/2,r.oldLeft=r.left,r.oldTop=r.top,this.initialCropBoxData=Mt({},r)},limitCropBox:function(t,e){var n=this.options,o=this.containerData,r=this.canvasData,c=this.cropBoxData,l=this.limited,d=n.aspectRatio;if(t){var f=Number(n.minCropBoxWidth)||0,m=Number(n.minCropBoxHeight)||0,A=l?Math.min(o.width,r.width,r.width+r.left,o.width-r.left):o.width,h=l?Math.min(o.height,r.height,r.height+r.top,o.height-r.top):o.height;f=Math.min(f,o.width),m=Math.min(m,o.height),d&&(f&&m?m*d>f?m=f/d:f=m*d:f?m=f/d:m&&(f=m*d),h*d>A?h=A/d:A=h*d),c.minWidth=Math.min(f,A),c.minHeight=Math.min(m,h),c.maxWidth=A,c.maxHeight=h}e&&(l?(c.minLeft=Math.max(0,r.left),c.minTop=Math.max(0,r.top),c.maxLeft=Math.min(o.width,r.left+r.width)-c.width,c.maxTop=Math.min(o.height,r.top+r.height)-c.height):(c.minLeft=0,c.minTop=0,c.maxLeft=o.width-c.width,c.maxTop=o.height-c.height))},renderCropBox:function(){var t=this.options,e=this.containerData,n=this.cropBoxData;(n.width>n.maxWidth||n.width<n.minWidth)&&(n.left=n.oldLeft),(n.height>n.maxHeight||n.height<n.minHeight)&&(n.top=n.oldTop),n.width=Math.min(Math.max(n.width,n.minWidth),n.maxWidth),n.height=Math.min(Math.max(n.height,n.minHeight),n.maxHeight),this.limitCropBox(!1,!0),n.left=Math.min(Math.max(n.left,n.minLeft),n.maxLeft),n.top=Math.min(Math.max(n.top,n.minTop),n.maxTop),n.oldLeft=n.left,n.oldTop=n.top,t.movable&&t.cropBoxMovable&&Jt(this.face,V,n.width>=e.width&&n.height>=e.height?I:_),Lt(this.cropBox,Mt({width:n.width,height:n.height},ie({translateX:n.left,translateY:n.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),Wt(this.element,X,this.getData())}},ve={initPreview:function(){var element=this.element,t=this.crossOrigin,e=this.options.preview,n=t?this.crossOriginUrl:this.url,o=element.alt||"The image to preview",image=document.createElement("img");if(t&&(image.crossOrigin=t),image.src=n,image.alt=o,this.viewBox.appendChild(image),this.viewBoxImage=image,e){var r=e;"string"==typeof e?r=element.ownerDocument.querySelectorAll(e):e.querySelector&&(r=[e]),this.previews=r,Rt(r,(function(e){var img=document.createElement("img");Jt(e,J,{width:e.offsetWidth,height:e.offsetHeight,html:e.innerHTML}),t&&(img.crossOrigin=t),img.src=n,img.alt=o,img.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',e.innerHTML="",e.appendChild(img)}))}},resetPreview:function(){Rt(this.previews,(function(element){var data=Vt(element,J);Lt(element,{width:data.width,height:data.height}),element.innerHTML=data.html,Kt(element,J)}))},preview:function(){var t=this.imageData,e=this.canvasData,n=this.cropBoxData,o=n.width,r=n.height,c=t.width,l=t.height,d=n.left-e.left-t.left,f=n.top-e.top-t.top;this.cropped&&!this.disabled&&(Lt(this.viewBoxImage,Mt({width:c,height:l},ie(Mt({translateX:-d,translateY:-f},t)))),Rt(this.previews,(function(element){var data=Vt(element,J),e=data.width,n=data.height,m=e,A=n,h=1;o&&(A=r*(h=e/o)),r&&A>n&&(m=o*(h=n/r),A=n),Lt(element,{width:m,height:A}),Lt(element.getElementsByTagName("img")[0],Mt({width:c*h,height:l*h},ie(Mt({translateX:-d*h,translateY:-f*h},t))))})))}},be={bind:function(){var element=this.element,t=this.options,e=this.cropper;St(t.cropstart)&&Xt(element,$,t.cropstart),St(t.cropmove)&&Xt(element,Z,t.cropmove),St(t.cropend)&&Xt(element,W,t.cropend),St(t.crop)&&Xt(element,X,t.crop),St(t.zoom)&&Xt(element,pt,t.zoom),Xt(e,at,this.onCropStart=this.cropStart.bind(this)),t.zoomable&&t.zoomOnWheel&&Xt(e,ut,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&Xt(e,tt,this.onDblclick=this.dblclick.bind(this)),Xt(element.ownerDocument,ot,this.onCropMove=this.cropMove.bind(this)),Xt(element.ownerDocument,st,this.onCropEnd=this.cropEnd.bind(this)),t.responsive&&Xt(window,lt,this.onResize=this.resize.bind(this))},unbind:function(){var element=this.element,t=this.options,e=this.cropper;St(t.cropstart)&&zt(element,$,t.cropstart),St(t.cropmove)&&zt(element,Z,t.cropmove),St(t.cropend)&&zt(element,W,t.cropend),St(t.crop)&&zt(element,X,t.crop),St(t.zoom)&&zt(element,pt,t.zoom),zt(e,at,this.onCropStart),t.zoomable&&t.zoomOnWheel&&zt(e,ut,this.onWheel,{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&zt(e,tt,this.onDblclick),zt(element.ownerDocument,ot,this.onCropMove),zt(element.ownerDocument,st,this.onCropEnd),t.responsive&&zt(window,lt,this.onResize)}},ye={resize:function(){if(!this.disabled){var t,e,n=this.options,o=this.container,r=this.containerData,c=o.offsetWidth/r.width,l=o.offsetHeight/r.height,d=Math.abs(c-1)>Math.abs(l-1)?c:l;1!==d&&(n.restore&&(t=this.getCanvasData(),e=this.getCropBoxData()),this.render(),n.restore&&(this.setCanvasData(Rt(t,(function(e,i){t[i]=e*d}))),this.setCropBoxData(Rt(e,(function(t,i){e[i]=t*d})))))}},dblclick:function(){this.disabled||this.options.dragMode===z||this.setDragMode(Pt(this.dragBox,L)?Y:K)},wheel:function(t){var e=this,n=Number(this.options.wheelZoomRatio)||.1,o=1;this.disabled||(t.preventDefault(),this.wheeling||(this.wheeling=!0,setTimeout((function(){e.wheeling=!1}),50),t.deltaY?o=t.deltaY>0?1:-1:t.wheelDelta?o=-t.wheelDelta/120:t.detail&&(o=t.detail>0?1:-1),this.zoom(-o*n,t)))},cropStart:function(t){var e=t.buttons,button=t.button;if(!(this.disabled||("mousedown"===t.type||"pointerdown"===t.type&&"mouse"===t.pointerType)&&(xt(e)&&1!==e||xt(button)&&0!==button||t.ctrlKey))){var n,o=this.options,r=this.pointers;t.changedTouches?Rt(t.changedTouches,(function(t){r[t.identifier]=oe(t)})):r[t.pointerId||0]=oe(t),n=Object.keys(r).length>1&&o.zoomable&&o.zoomOnTouch?B:Vt(t.target,V),ft.test(n)&&!1!==Wt(this.element,$,{originalEvent:t,action:n})&&(t.preventDefault(),this.action=n,this.cropping=!1,n===O&&(this.cropping=!0,Ft(this.dragBox,H)))}},cropMove:function(t){var e=this.action;if(!this.disabled&&e){var n=this.pointers;t.preventDefault(),!1!==Wt(this.element,Z,{originalEvent:t,action:e})&&(t.changedTouches?Rt(t.changedTouches,(function(t){Mt(n[t.identifier]||{},oe(t,!0))})):Mt(n[t.pointerId||0]||{},oe(t,!0)),this.change(t))}},cropEnd:function(t){if(!this.disabled){var e=this.action,n=this.pointers;t.changedTouches?Rt(t.changedTouches,(function(t){delete n[t.identifier]})):delete n[t.pointerId||0],e&&(t.preventDefault(),Object.keys(n).length||(this.action=""),this.cropping&&(this.cropping=!1,Qt(this.dragBox,H,this.cropped&&this.options.modal)),Wt(this.element,W,{originalEvent:t,action:e}))}}},Ce={change:function(t){var e,n=this.options,o=this.canvasData,r=this.containerData,c=this.cropBoxData,l=this.pointers,d=this.action,f=n.aspectRatio,m=c.left,A=c.top,h=c.width,v=c.height,y=m+h,C=A+v,w=0,x=0,k=r.width,L=r.height,P=!0;!f&&t.shiftKey&&(f=h&&v?h/v:1),this.limited&&(w=c.minLeft,x=c.minTop,k=w+Math.min(r.width,o.width,o.left+o.width),L=x+Math.min(r.height,o.height,o.top+o.height));var N=l[Object.keys(l)[0]],Q={x:N.endX-N.startX,y:N.endY-N.startY},H=function(t){switch(t){case S:y+Q.x>k&&(Q.x=k-y);break;case j:m+Q.x<w&&(Q.x=w-m);break;case R:A+Q.y<x&&(Q.y=x-A);break;case D:C+Q.y>L&&(Q.y=L-C)}};switch(d){case _:m+=Q.x,A+=Q.y;break;case S:if(Q.x>=0&&(y>=k||f&&(A<=x||C>=L))){P=!1;break}H(S),(h+=Q.x)<0&&(d=j,m-=h=-h),f&&(v=h/f,A+=(c.height-v)/2);break;case R:if(Q.y<=0&&(A<=x||f&&(m<=w||y>=k))){P=!1;break}H(R),v-=Q.y,A+=Q.y,v<0&&(d=D,A-=v=-v),f&&(h=v*f,m+=(c.width-h)/2);break;case j:if(Q.x<=0&&(m<=w||f&&(A<=x||C>=L))){P=!1;break}H(j),h-=Q.x,m+=Q.x,h<0&&(d=S,m-=h=-h),f&&(v=h/f,A+=(c.height-v)/2);break;case D:if(Q.y>=0&&(C>=L||f&&(m<=w||y>=k))){P=!1;break}H(D),(v+=Q.y)<0&&(d=R,A-=v=-v),f&&(h=v*f,m+=(c.width-h)/2);break;case M:if(f){if(Q.y<=0&&(A<=x||y>=k)){P=!1;break}H(R),v-=Q.y,A+=Q.y,h=v*f}else H(R),H(S),Q.x>=0?y<k?h+=Q.x:Q.y<=0&&A<=x&&(P=!1):h+=Q.x,Q.y<=0?A>x&&(v-=Q.y,A+=Q.y):(v-=Q.y,A+=Q.y);h<0&&v<0?(d=E,A-=v=-v,m-=h=-h):h<0?(d=U,m-=h=-h):v<0&&(d=T,A-=v=-v);break;case U:if(f){if(Q.y<=0&&(A<=x||m<=w)){P=!1;break}H(R),v-=Q.y,A+=Q.y,h=v*f,m+=c.width-h}else H(R),H(j),Q.x<=0?m>w?(h-=Q.x,m+=Q.x):Q.y<=0&&A<=x&&(P=!1):(h-=Q.x,m+=Q.x),Q.y<=0?A>x&&(v-=Q.y,A+=Q.y):(v-=Q.y,A+=Q.y);h<0&&v<0?(d=T,A-=v=-v,m-=h=-h):h<0?(d=M,m-=h=-h):v<0&&(d=E,A-=v=-v);break;case E:if(f){if(Q.x<=0&&(m<=w||C>=L)){P=!1;break}H(j),h-=Q.x,m+=Q.x,v=h/f}else H(D),H(j),Q.x<=0?m>w?(h-=Q.x,m+=Q.x):Q.y>=0&&C>=L&&(P=!1):(h-=Q.x,m+=Q.x),Q.y>=0?C<L&&(v+=Q.y):v+=Q.y;h<0&&v<0?(d=M,A-=v=-v,m-=h=-h):h<0?(d=T,m-=h=-h):v<0&&(d=U,A-=v=-v);break;case T:if(f){if(Q.x>=0&&(y>=k||C>=L)){P=!1;break}H(S),v=(h+=Q.x)/f}else H(D),H(S),Q.x>=0?y<k?h+=Q.x:Q.y>=0&&C>=L&&(P=!1):h+=Q.x,Q.y>=0?C<L&&(v+=Q.y):v+=Q.y;h<0&&v<0?(d=U,A-=v=-v,m-=h=-h):h<0?(d=E,m-=h=-h):v<0&&(d=M,A-=v=-v);break;case I:this.move(Q.x,Q.y),P=!1;break;case B:this.zoom(ae(l),t),P=!1;break;case O:if(!Q.x||!Q.y){P=!1;break}e=Zt(this.cropper),m=N.startX-e.left,A=N.startY-e.top,h=c.minWidth,v=c.minHeight,Q.x>0?d=Q.y>0?T:M:Q.x<0&&(m-=h,d=Q.y>0?E:U),Q.y<0&&(A-=v),this.cropped||(Nt(this.cropBox,F),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0))}P&&(c.width=h,c.height=v,c.left=m,c.top=A,this.action=d,this.renderCropBox()),Rt(l,(function(p){p.startX=p.endX,p.startY=p.endY}))}},we={crop:function(){return!this.ready||this.cropped||this.disabled||(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&Ft(this.dragBox,H),Nt(this.cropBox,F),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=Mt({},this.initialImageData),this.canvasData=Mt({},this.initialCanvasData),this.cropBoxData=Mt({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(Mt(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),Nt(this.dragBox,H),Ft(this.cropBox,F)),this},replace:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!this.disabled&&t&&(this.isImg&&(this.element.src=t),e?(this.url=t,this.image.src=t,this.ready&&(this.viewBoxImage.src=t,Rt(this.previews,(function(element){element.getElementsByTagName("img")[0].src=t})))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(t))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,Nt(this.cropper,P)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,Ft(this.cropper,P)),this},destroy:function(){var element=this.element;return element[k]?(element[k]=void 0,this.isImg&&this.replaced&&(element.src=this.originalUrl),this.uncreate(),this):this},move:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=this.canvasData,o=n.left,r=n.top;return this.moveTo(_t(t)?t:o+Number(t),_t(e)?e:r+Number(e))},moveTo:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=this.canvasData,o=!1;return t=Number(t),e=Number(e),this.ready&&!this.disabled&&this.options.movable&&(xt(t)&&(n.left=t,o=!0),xt(e)&&(n.top=e,o=!0),o&&this.renderCanvas(!0)),this},zoom:function(t,e){var n=this.canvasData;return t=(t=Number(t))<0?1/(1-t):1+t,this.zoomTo(n.width*t/n.naturalWidth,null,e)},zoomTo:function(t,e,n){var o=this.options,r=this.canvasData,c=r.width,l=r.height,d=r.naturalWidth,f=r.naturalHeight;if((t=Number(t))>=0&&this.ready&&!this.disabled&&o.zoomable){var m=d*t,A=f*t;if(!1===Wt(this.element,pt,{ratio:t,oldRatio:c/d,originalEvent:n}))return this;if(n){var h=this.pointers,v=Zt(this.cropper),y=h&&Object.keys(h).length?re(h):{pageX:n.pageX,pageY:n.pageY};r.left-=(m-c)*((y.pageX-v.left-r.left)/c),r.top-=(A-l)*((y.pageY-v.top-r.top)/l)}else Bt(e)&&xt(e.x)&&xt(e.y)?(r.left-=(m-c)*((e.x-r.left)/c),r.top-=(A-l)*((e.y-r.top)/l)):(r.left-=(m-c)/2,r.top-=(A-l)/2);r.width=m,r.height=A,this.renderCanvas(!0)}return this},rotate:function(t){return this.rotateTo((this.imageData.rotate||0)+Number(t))},rotateTo:function(t){return xt(t=Number(t))&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=t%360,this.renderCanvas(!0,!0)),this},scaleX:function(t){var e=this.imageData.scaleY;return this.scale(t,xt(e)?e:1)},scaleY:function(t){var e=this.imageData.scaleX;return this.scale(xt(e)?e:1,t)},scale:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=this.imageData,o=!1;return t=Number(t),e=Number(e),this.ready&&!this.disabled&&this.options.scalable&&(xt(t)&&(n.scaleX=t,o=!0),xt(e)&&(n.scaleY=e,o=!0),o&&this.renderCanvas(!0,!0)),this},getData:function(){var data,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.options,n=this.imageData,o=this.canvasData,r=this.cropBoxData;if(this.ready&&this.cropped){data={x:r.left-o.left,y:r.top-o.top,width:r.width,height:r.height};var c=n.width/n.naturalWidth;if(Rt(data,(function(t,i){data[i]=t/c})),t){var l=Math.round(data.y+data.height),d=Math.round(data.x+data.width);data.x=Math.round(data.x),data.y=Math.round(data.y),data.width=d-data.x,data.height=l-data.y}}else data={x:0,y:0,width:0,height:0};return e.rotatable&&(data.rotate=n.rotate||0),e.scalable&&(data.scaleX=n.scaleX||1,data.scaleY=n.scaleY||1),data},setData:function(data){var t=this.options,e=this.imageData,n=this.canvasData,o={};if(this.ready&&!this.disabled&&Bt(data)){var r=!1;t.rotatable&&xt(data.rotate)&&data.rotate!==e.rotate&&(e.rotate=data.rotate,r=!0),t.scalable&&(xt(data.scaleX)&&data.scaleX!==e.scaleX&&(e.scaleX=data.scaleX,r=!0),xt(data.scaleY)&&data.scaleY!==e.scaleY&&(e.scaleY=data.scaleY,r=!0)),r&&this.renderCanvas(!0,!0);var c=e.width/e.naturalWidth;xt(data.x)&&(o.left=data.x*c+n.left),xt(data.y)&&(o.top=data.y*c+n.top),xt(data.width)&&(o.width=data.width*c),xt(data.height)&&(o.height=data.height*c),this.setCropBoxData(o)}return this},getContainerData:function(){return this.ready?Mt({},this.containerData):{}},getImageData:function(){return this.sized?Mt({},this.imageData):{}},getCanvasData:function(){var t=this.canvasData,data={};return this.ready&&Rt(["left","top","width","height","naturalWidth","naturalHeight"],(function(e){data[e]=t[e]})),data},setCanvasData:function(data){var t=this.canvasData,e=t.aspectRatio;return this.ready&&!this.disabled&&Bt(data)&&(xt(data.left)&&(t.left=data.left),xt(data.top)&&(t.top=data.top),xt(data.width)?(t.width=data.width,t.height=data.width/e):xt(data.height)&&(t.height=data.height,t.width=data.height*e),this.renderCanvas(!0)),this},getCropBoxData:function(){var data,t=this.cropBoxData;return this.ready&&this.cropped&&(data={left:t.left,top:t.top,width:t.width,height:t.height}),data||{}},setCropBoxData:function(data){var t,e,n=this.cropBoxData,o=this.options.aspectRatio;return this.ready&&this.cropped&&!this.disabled&&Bt(data)&&(xt(data.left)&&(n.left=data.left),xt(data.top)&&(n.top=data.top),xt(data.width)&&data.width!==n.width&&(t=!0,n.width=data.width),xt(data.height)&&data.height!==n.height&&(e=!0,n.height=data.height),o&&(t?n.height=n.width/o:e&&(n.width=n.height*o)),this.renderCropBox()),this},getCroppedCanvas:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var e=this.canvasData,source=le(this.image,this.imageData,e,t);if(!this.cropped)return source;var n=this.getData(),o=n.x,r=n.y,c=n.width,l=n.height,f=source.width/Math.floor(e.naturalWidth);1!==f&&(o*=f,r*=f,c*=f,l*=f);var m=c/l,A=se({aspectRatio:m,width:t.maxWidth||1/0,height:t.maxHeight||1/0}),h=se({aspectRatio:m,width:t.minWidth||0,height:t.minHeight||0},"cover"),v=se({aspectRatio:m,width:t.width||(1!==f?source.width:c),height:t.height||(1!==f?source.height:l)}),y=v.width,C=v.height;y=Math.min(A.width,Math.max(h.width,y)),C=Math.min(A.height,Math.max(h.height,C));var canvas=document.createElement("canvas"),w=canvas.getContext("2d");canvas.width=Tt(y),canvas.height=Tt(C),w.fillStyle=t.fillColor||"transparent",w.fillRect(0,0,y,C);var x=t.imageSmoothingEnabled,k=void 0===x||x,_=t.imageSmoothingQuality;w.imageSmoothingEnabled=k,_&&(w.imageSmoothingQuality=_);var O,I,B,S,j,D,R=source.width,M=source.height,U=o,T=r;U<=-c||U>R?(U=0,O=0,B=0,j=0):U<=0?(B=-U,U=0,j=O=Math.min(R,c+U)):U<=R&&(B=0,j=O=Math.min(c,R-U)),O<=0||T<=-l||T>M?(T=0,I=0,S=0,D=0):T<=0?(S=-T,T=0,D=I=Math.min(M,l+T)):T<=M&&(S=0,D=I=Math.min(l,M-T));var E=[U,T,O,I];if(j>0&&D>0){var L=y/c;E.push(B*L,S*L,j*L,D*L)}return w.drawImage.apply(w,[source].concat(d(E.map((function(param){return Math.floor(Tt(param))}))))),canvas},setAspectRatio:function(t){var e=this.options;return this.disabled||_t(t)||(e.aspectRatio=Math.max(0,t)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(t){var e=this.options,n=this.dragBox,o=this.face;if(this.ready&&!this.disabled){var r=t===K,c=e.movable&&t===Y;t=r||c?t:z,e.dragMode=t,Jt(n,V,t),Qt(n,L,r),Qt(n,G,c),e.cropBoxMovable||(Jt(o,V,t),Qt(o,L,r),Qt(o,G,c))}return this}},xe=C.Cropper,ke=function(){function t(element){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(o(this,t),!element||!ht.test(element.tagName))throw new Error("The first argument is required and must be an <img> or <canvas> element.");this.element=element,this.options=Mt({},yt,Bt(e)&&e),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return c(t,[{key:"init",value:function(){var t,element=this.element,e=element.tagName.toLowerCase();if(!element[k]){if(element[k]=this,"img"===e){if(this.isImg=!0,t=element.getAttribute("src")||"",this.originalUrl=t,!t)return;t=element.src}else"canvas"===e&&window.HTMLCanvasElement&&(t=element.toDataURL());this.load(t)}}},{key:"load",value:function(t){var e=this;if(t){this.url=t,this.imageData={};var element=this.element,n=this.options;if(n.rotatable||n.scalable||(n.checkOrientation=!1),n.checkOrientation&&window.ArrayBuffer)if(mt.test(t))At.test(t)?this.read(ge(t)):this.clone();else{var o=new XMLHttpRequest,r=this.clone.bind(this);this.reloading=!0,this.xhr=o,o.onabort=r,o.onerror=r,o.ontimeout=r,o.onprogress=function(){o.getResponseHeader("content-type")!==gt&&o.abort()},o.onload=function(){e.read(o.response)},o.onloadend=function(){e.reloading=!1,e.xhr=null},n.checkCrossOrigin&&ee(t)&&element.crossOrigin&&(t=ne(t)),o.open("GET",t,!0),o.responseType="arraybuffer",o.withCredentials="use-credentials"===element.crossOrigin,o.send()}else this.clone()}}},{key:"read",value:function(t){var e=this.options,n=this.imageData,o=me(t),r=0,c=1,l=1;if(o>1){this.url=fe(t,gt);var d=Ae(o);r=d.rotate,c=d.scaleX,l=d.scaleY}e.rotatable&&(n.rotate=r),e.scalable&&(n.scaleX=c,n.scaleY=l),this.clone()}},{key:"clone",value:function(){var element=this.element,t=this.url,e=element.crossOrigin,n=t;this.options.checkCrossOrigin&&ee(t)&&(e||(e="anonymous"),n=ne(t)),this.crossOrigin=e,this.crossOriginUrl=n;var image=document.createElement("img");e&&(image.crossOrigin=e),image.src=n||t,image.alt=element.alt||"The image to crop",this.image=image,image.onload=this.start.bind(this),image.onerror=this.stop.bind(this),Ft(image,N),element.parentNode.insertBefore(image,element.nextSibling)}},{key:"start",value:function(){var t=this,image=this.image;image.onload=null,image.onerror=null,this.sizing=!0;var e=C.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(C.navigator.userAgent),n=function(e,n){Mt(t.imageData,{naturalWidth:e,naturalHeight:n,aspectRatio:e/n}),t.initialImageData=Mt({},t.imageData),t.sizing=!1,t.sized=!0,t.build()};if(!image.naturalWidth||e){var o=document.createElement("img"),body=document.body||document.documentElement;this.sizingImage=o,o.onload=function(){n(o.width,o.height),e||body.removeChild(o)},o.src=image.src,e||(o.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",body.appendChild(o))}else n(image.naturalWidth,image.naturalHeight)}},{key:"stop",value:function(){var image=this.image;image.onload=null,image.onerror=null,image.parentNode.removeChild(image),this.image=null}},{key:"build",value:function(){if(this.sized&&!this.ready){var element=this.element,t=this.options,image=this.image,e=element.parentNode,template=document.createElement("div");template.innerHTML=Ct;var n=template.querySelector(".".concat(k,"-container")),canvas=n.querySelector(".".concat(k,"-canvas")),o=n.querySelector(".".concat(k,"-drag-box")),r=n.querySelector(".".concat(k,"-crop-box")),c=r.querySelector(".".concat(k,"-face"));this.container=e,this.cropper=n,this.canvas=canvas,this.dragBox=o,this.cropBox=r,this.viewBox=n.querySelector(".".concat(k,"-view-box")),this.face=c,canvas.appendChild(image),Ft(element,F),e.insertBefore(n,element.nextSibling),this.isImg||Nt(image,N),this.initPreview(),this.bind(),t.initialAspectRatio=Math.max(0,t.initialAspectRatio)||NaN,t.aspectRatio=Math.max(0,t.aspectRatio)||NaN,t.viewMode=Math.max(0,Math.min(3,Math.round(t.viewMode)))||0,Ft(r,F),t.guides||Ft(r.getElementsByClassName("".concat(k,"-dashed")),F),t.center||Ft(r.getElementsByClassName("".concat(k,"-center")),F),t.background&&Ft(n,"".concat(k,"-bg")),t.highlight||Ft(c,Q),t.cropBoxMovable&&(Ft(c,G),Jt(c,V,_)),t.cropBoxResizable||(Ft(r.getElementsByClassName("".concat(k,"-line")),F),Ft(r.getElementsByClassName("".concat(k,"-point")),F)),this.render(),this.ready=!0,this.setDragMode(t.dragMode),t.autoCrop&&this.crop(),this.setData(t.data),St(t.ready)&&Xt(element,ct,t.ready,{once:!0}),Wt(element,ct)}}},{key:"unbuild",value:function(){this.ready&&(this.ready=!1,this.unbind(),this.resetPreview(),this.cropper.parentNode.removeChild(this.cropper),Nt(this.element,F))}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=xe,t}},{key:"setDefaults",value:function(t){Mt(yt,Bt(t)&&t)}}]),t}();return Mt(ke.prototype,he,ve,be,ye,Ce,we),ke}()},function(t,e,n){"use strict";n(1994)},function(t,e,n){"use strict";n(1995)},function(t,e,n){"use strict";n(1996)},function(t,e,n){"use strict";n(1997)},function(t,e,n){"use strict";n(1998)},function(t,e,n){"use strict";n(1999)},function(t,e,n){"use strict";n(2e3)},function(t,e,n){"use strict";n(2001)},function(t,e,n){"use strict";n(2002)},function(t,e,n){"use strict";var o=n(2288),r=n(1667),c=n(38),component=Object(c.a)(r.default,o.a,o.b,!1,null,null,null);e.default=component.exports},function(t,e,n){"use strict";n(2003)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return r}));var o=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"bigClassContainer"},[e("div",{staticClass:"whitePanel"},[e("div",{staticClass:"text-center pt-5 pb-5 text-sm-left col d-flex flex-column d-sm-flex flex-sm-row justify-content-center align-items-center",staticStyle:{height:"70vh"}},[e("img",{attrs:{width:"280",src:n(580)}}),t._v(" "),e("div",[e("div",{staticClass:"h1 line-h-143 mb-2"},[t._v("教室已關閉")]),t._v(" "),e("div",{staticClass:"text-7e p14 mb-4"},[t._v("您可以查看其他教室，或進入我的教室進行學習")]),t._v(" "),e("div",{staticClass:"btn btn-outline-primary btn-sm px-5 h4",on:{click:function(e){return t.$router.push("/classroom")}}},[t._v("\n                    查看所有教室\n                ")]),t._v(" "),e("div",{staticClass:"btn btn-outline-primary btn-sm px-5 h4",on:{click:function(e){return t.$router.push("/feed")}}},[t._v("\n                    進入我的教室\n                ")])])])])])},r=[]},,,,function(t,e,n){"use strict";n.r(e);n(26),n(164),n(14),n(15),n(16),n(69),n(71);var o=n(23),r=n(3),c=n(31),l=n(4),d=(n(27),n(74),n(8),n(50),n(51),n(66),n(83),n(40),n(30),n(54),n(35),n(1663),n(105),n(11),n(87),n(21),n(80),n(10),n(42),n(110),n(13),n(68),n(37),n(34),n(36)),f=n(558),m=n(39)("src/client/components/page/Room/AboutClassroom.vue").error,A={props:{roomData:{type:Object,default:function(){}}},fetch:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getRoomCkoList(t.roomData.room_id);case 2:case"end":return e.stop()}}),e)})))()},data:function(){return{ckoList:{}}},methods:{getRoomCkoList:function(t){var e=this;return Object(l.a)(regeneratorRuntime.mark((function n(){var o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e.$api.cls.getRoomCkoList(t);case 3:o=n.sent,e.ckoList=o.data,n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),m("ckoList",n.t0);case 10:case"end":return n.stop()}}),n,null,[[0,7]])})))()},toProfile:function(t){t&&window.open("".concat("https://beagiver.104.com.tw","/profile/").concat(this.$encodeBase58(t.toString()),"?pageTag=help&serviceTag=nabi&utm_source=104&utm_medium=nabi_classroom"),"_blank")}}},h=n(38),v=Object(h.a)(A,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"bigClassBlock mb-6"},[e("div",{staticClass:"mb-2 h3"},[t._v("關於教室")]),t._v(" "),e("div",{staticClass:"d-flex align-items-center mb-4"},[e("img",{staticClass:"mr-2",attrs:{src:n(932),alt:""}}),t._v(" "),e("span",{staticClass:"pr-3 p14 font-weight-bold"},[t._v("關注人數")]),t._v(" "),e("span",{staticClass:"p14"},[t._v(t._s(t.roomData&&t.roomData.favorite_count?t.roomData.favorite_count:0)+" 人")])]),t._v(" "),e("div",{staticClass:"mb-6 p14"},[t._v("\n        104人力銀行從職缺中挑選出常見技能所成立的官方教室，提供大家進行共學互動。\n    ")]),t._v(" "),0===t.ckoList.length?e("div",{staticClass:"mb-6"},[e("div",{staticClass:"p12 text-a9 mb-2"},[t._v("學習主持人")]),t._v(" "),e("div",{staticClass:"d-flex"},[e("div",[e("b-img",{staticClass:"mr-3",attrs:{src:n(943),width:"40",height:"40",rounded:"circle"}})],1),t._v(" "),t._m(0)])]):e("div",{staticClass:"mb-6"},t._l(t.ckoList,(function(o,r){return e("div",{key:r,staticClass:"userList"},[1===o.cko_type?e("p",{staticClass:"p12 text-a9 mb-2"},[t._v("知識長")]):t._e(),t._v(" "),2===o.cko_type?e("p",{staticClass:"p12 mt-6 text-a9 mb-2"},[t._v("副知識長")]):t._e(),t._v(" "),e("div",{staticClass:"d-flex",style:{cursor:o.pid?"pointer":""},on:{click:function(e){return t.toProfile(o.pid)}}},[e("div",[o.headshot?e("img",{staticClass:"mr-3",attrs:{src:o.headshot,width:"40",height:"40"}}):e("img",{staticClass:"mr-3",attrs:{src:n(560),width:"40",height:"40"}})]),t._v(" "),e("div",[e("p",{staticClass:"mb-1 text-29"},[t._v(t._s(o.name))]),t._v(" "),e("p",{staticClass:"p12 text-29 mb-1"},[t._v(t._s(o.info.jobTitle))]),t._v(" "),e("ul",{staticClass:"p-0 mt-2 p12 text-7e"},[e("li",{staticClass:"d-inline-block"},[t._v("回答 "+t._s(o.answer_count))]),t._v(" "),e("li",{staticClass:"d-inline-block"},[t._v("分享 "+t._s(o.post_count))]),t._v(" "),e("li",{staticClass:"d-inline-block"},[t._v("教室 "+t._s(o.room_count))])])])])])})),0),t._v(" "),e("div",[e("div",{staticClass:"p12 text-a9 mb-2"},[t._v("教室標籤")]),t._v(" "),e("div",{staticClass:"d-flex tag flex-wrap"},t._l(t.roomData.tags,(function(n,o){return e("li",{key:o,staticClass:"tag-blueLake mb-1 mr-1"},[e("router-link",{attrs:{to:"/room/ability_".concat(n.ability_id)}},[t._v(t._s(n.tag_name))])],1)})),0)])])}),[function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"p12 mb-1"},[t._v("\n                    持續分享知識，"),e("br"),t._v("\n                    有機會成為官方教室主持人\n                ")])])}],!1,null,null,null).exports;function y(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function C(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?y(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var w=n(39)("src/client/components/page/Room/ClassroomBanner.vue").debug,x={components:{AboutClassroom:v},props:{isOpenAboutClassroom:{type:Boolean,default:!1},isOffice:{type:Boolean,default:!0},roomData:{type:Object,default:function(){}},contentList:{type:Object,require:!0,default:function(){return{}}}},data:function(){return{isEllpsis:!0,isOpenInvite:!1,showMoreBtn:!1,waitBigClassNav:!0}},computed:C(C({},Object(d.e)(["isMobile","isSupportsWebp","bigClassNavIsHandle"])),Object(d.c)(["pid"])),watch:{"roomData.description":{handler:function(t,e){t&&this.initMore()},immediate:!0},bigClassNavIsHandle:function(t){var e=this.contentList.isInitial,n=void 0!==e&&e;if(this.waitBigClassNav&&t&&n){this.waitBigClassNav=!1;var o=this.$refs.focusRef;if(o){var r=o.clientHeight;this.$nextTick((function(){window.scroll({top:r/2+16,behavior:"smooth"})}))}}},"contentList.isInitial":{handler:function(t,e){if(t){var n=t||!1;if(this.bigClassNavIsHandle&&this.waitBigClassNav&&n){this.waitBigClassNav=!1;var o=this.$refs.focusRef;if(o){var r=o.clientHeight;this.$nextTick((function(){window.scroll({top:r/2+16,behavior:"smooth"})}))}}}},immediate:!0}},mounted:function(){this.initMore(),this.waitBigClassNav=!0},methods:{initMore:function(){this.$nextTick((function(){var t=this.$refs.classRoomInfo;t&&(this.showMoreBtn=t.clientWidth<t.scrollWidth)}))},shareToSocialMedia:function(t){var e=this,n="".concat("https://nabi.104.com.tw").concat(this.$route.fullPath,"?utm_source=104nabi&utm_medium=share");"FB"===t?window.open("http://www.facebook.com/share.php?u=".concat(encodeURIComponent(n),"&hashtag=").concat(encodeURIComponent("#104學習精靈")),"_blank","toolbar=yes,scrollbars=yes,resizable=yes,left=500,width=800,height=600"):"LINE"===t?window.open("https://social-plugins.line.me/lineit/share?url=".concat(encodeURIComponent(n),"&text=").concat(encodeURIComponent("#104學習精靈")),"_blank","toolbar=yes,scrollbars=yes,resizable=yes,left=500,width=800,height=600"):"COPY"===t&&navigator.clipboard.writeText(n).then((function(){e.$toast.show("您已複製連結！")}),(function(){}))},shareToSocialMediaForMobile:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.isMobile){e.next=2;break}return e.abrupt("return");case 2:if(n="".concat("https://nabi.104.com.tw").concat(t.$route.fullPath,"?utm_source=104nabi&utm_medium=share"),o={title:"#104學習精靈",text:"",url:n},!navigator.canShare){e.next=15;break}return e.prev=5,e.next=8,navigator.share(o);case 8:e.next=13;break;case 10:e.prev=10,e.t0=e.catch(5),w("Itme:click shareToSocialMedia",e.t0);case 13:e.next=16;break;case 15:t.isOpenInvite=!t.isOpenInvite;case 16:case"end":return e.stop()}}),e,null,[[5,10]])})))()},openInvite:function(){this.isMobile?this.shareToSocialMediaForMobile():this.isOpenInvite=!this.isOpenInvite}}},k=(n(2213),Object(h.a)(x,(function(){var t=this,e=t._self._c;return e("div",{ref:"focusRef",staticClass:"classroomBannerBlock classroomBannerBlock--shadow"},[e("div",{staticClass:"classroomBannerBlock--wrap"},[e("div",{staticClass:"classroomBannerBlock--BN",style:{backgroundImage:"url("+"".concat(t.roomData.photo_file_url&&t.isSupportsWebp?t.$extensionTransToWebp(t.roomData.photo_file_url):t.roomData.photo_file_url&&!t.isSupportsWebp?t.roomData.photo_file_url:t.$getDefaultImgByHash(t.roomData.room_title))+")"}},[e("div",{staticClass:"bigClassContainer pt-0"},[e("div",{staticClass:"classroomBannerBlock--Tool"},[e("div",[t.isOpenAboutClassroom?e("div",{staticClass:"d-flex align-items-center pointer",on:{click:function(e){return t.$emit("toggleAboutClassroom",!t.isOpenAboutClassroom)}}},[e("b-icon",{staticClass:"d-inline-block d-sm-none h1 mr-2",attrs:{icon:"chevron-left"}}),t._v(" "),e("div",{staticClass:"h1 overflowMuiltLine"},[t._v(t._s(t.roomData.room_title))])],1):t._e(),t._v(" "),t.isOpenAboutClassroom?t._e():e("div",{staticClass:"d-flex align-items-center pointer",on:{click:function(e){return t.$emit("toggleAboutClassroom",!t.isOpenAboutClassroom)}}},[e("div",{staticClass:"h1 overflowMuiltLine"},[t._v(t._s(t.roomData.room_title))]),t._v(" "),e("b-icon",{staticClass:"d-inline-block d-sm-none h1 ml-2",attrs:{icon:"chevron-right"}})],1)]),t._v(" "),e("div",{staticClass:"d-flex classroomBannerBlock--btnWrap"},[e("div",{class:["mr-4","btn","btn-sm","focus-btn","dark",{done:!0===t.roomData.is_favorite}],attrs:{"data-gtm-btn":"關注"},on:{click:function(e){return t.$emit("toggleFocus",t.roomData)}}},[t._v("\n                            "+t._s(!0===t.roomData.is_favorite?"已關注":"關注")+"\n                        ")]),t._v(" "),e("div",{class:["btn","btn-sm","invite--btn","d-flex","align-items-center","justify-content-center",{isOpen:t.isOpenInvite}],style:t.isOpenInvite?"background-color:#fff":"",on:{click:function(e){return e.stopPropagation(),t.openInvite.apply(null,arguments)}}},[e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[e("path",{attrs:{d:"M6.6 4.7A2.4 2.4 0 0 1 9 7.1c0 .678-.284 1.287-.735 1.724A4.597 4.597 0 0 1 11.2 13.1a.6.6 0 0 1-1.2 0 3.404 3.404 0 0 0-3.4-3.4 3.404 3.404 0 0 0-3.4 3.4.599.599 0 1 1-1.2 0 4.597 4.597 0 0 1 2.935-4.276A2.39 2.39 0 0 1 4.2 7.1a2.4 2.4 0 0 1 2.4-2.4zm0 1.2a1.201 1.201 0 0 0 0 2.4 1.201 1.201 0 0 0 0-2.4zM12.1 2a.6.6 0 0 1 .6.6V4h1.4a.6.6 0 0 1 0 1.2h-1.4v1.4a.6.6 0 1 1-1.2 0V5.2h-1.4a.6.6 0 1 1 0-1.2h1.4V2.6a.6.6 0 0 1 .6-.6z",fill:"#292929","fill-rule":"evenodd"}})]),t._v(" "),t.isOffice?e("span",{staticClass:"pl-1"},[t._v("邀請朋友")]):t._e(),t._v(" "),e("div",{staticClass:"sharePop"},[e("div",{staticClass:"shareTo"},[e("div",{staticClass:"shareTo-label"},[t._v("邀請朋友")]),t._v(" "),e("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:function(){t.isOpenInvite=!1},expression:"\n                                            () => {\n                                                isOpenInvite = false\n                                            }\n                                        "}],staticClass:"shareTo-list"},[e("div",{staticClass:"shareTo-item",on:{click:function(e){return t.shareToSocialMedia("LINE")}}},[e("img",{attrs:{src:n(587),alt:""}}),t._v(" "),e("p",[t._v("Line")])]),t._v(" "),e("div",{staticClass:"shareTo-item",on:{click:function(e){return t.shareToSocialMedia("FB")}}},[e("img",{attrs:{src:n(586),alt:""}}),t._v(" "),e("p",[t._v("Facebook")])]),t._v(" "),e("div",{staticClass:"shareTo-item",on:{click:function(e){return t.shareToSocialMedia("COPY")}}},[e("img",{attrs:{src:n(588),alt:""}}),t._v(" "),e("p",[t._v("複製連結")])])]),t._v(" "),e("div",{staticClass:"shareTo-close"},[t._v("取消")])])])])])])])])]),t._v(" "),e("div",[e("div",{class:["bigClassContainer","pt-0"," d-sm-block",{"d-none":t.isOpenAboutClassroom}]},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.roomData.description,expression:"roomData.description"}],ref:"classRoomInfoWrap",class:["pt-md-0","classroomBannerBlock--Info","bigClassBlock",{"flex-column":!t.isEllpsis,"align-items-end":!t.isEllpsis}]},[e("div",{ref:"classRoomInfo",class:"classroomBannerBlock--Info".concat(t.isEllpsis?"-ellpsis":""),staticStyle:{"box-shadow":"none"}},[t._v("\n                    "+t._s(t.roomData.description)+"\n                ")]),t._v(" "),e("span",{directives:[{name:"show",rawName:"v-show",value:t.showMoreBtn,expression:"showMoreBtn"}],staticClass:"pl-2 pointer font-weight-bold",on:{click:function(e){t.isEllpsis=!t.isEllpsis}}},[t._v(t._s(t.isEllpsis?"更多":"收合")+"\n                    "),e("b-icon",{attrs:{icon:"chevron-".concat(t.isEllpsis?"down":"up")}})],1)])]),t._v(" "),e("AboutClassroom",{class:["d-none","full-height",{"d-block d-sm-none":t.isOpenAboutClassroom}],attrs:{"room-data":t.roomData}})],1)])}),[],!1,null,"74afc05d",null)),_=k.exports,O={components:{FilterTools:n(1399).a},props:{roomTitle:{type:String,default:""},role:{type:String,default:"viewer"},isOffice:{type:Boolean,default:!0},activityType:{type:String,default:"all"}},data:function(){return{}},methods:{changeType:function(t){this.$emit("changeType",t)}}},I=(n(2214),Object(h.a)(O,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"mb-3 d-flex justify-content-between pl-4 pr-4",attrs:{id:"PostHeader"}},[e("h2",{staticClass:"post-header-title"},[t._v("\n        "+t._s(t.roomTitle)+"\n        "+t._s("owner"===t.role?"學習分享":"學習推薦")+"\n    ")]),t._v(" "),t.isOffice?e("FilterTools",[e("div",{staticClass:"filterTag"},[e("div",{staticClass:"tag-blueLake",class:{active:"all"===t.activityType},on:{click:function(e){return t.changeType("all")}}},[t._v("\n                全部\n            ")]),t._v(" "),e("div",{staticClass:"tag-blueLake",class:{active:"video"===t.activityType},on:{click:function(e){return t.changeType("video")}}},[t._v("\n                影片\n            ")]),t._v(" "),e("div",{staticClass:"tag-blueLake",class:{active:"article"===t.activityType},on:{click:function(e){return t.changeType("article")}}},[t._v("\n                文章\n            ")])])]):t._e()],1)}),[],!1,null,"3f1a2017",null).exports),B=n(1393),S=n(1364),j=n(568);function D(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}var R={props:{needAsk:{type:Boolean,default:!1},creatorInfo:{type:Object,default:function(){}}},data:function(){return{errorAvatar:'this.src="/img/avatar-default.png"'}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?D(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(d.e)("auth",["user"]))},M=R,U=Object(h.a)(M,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"postNewButtonWrap"},[t.needAsk?e("div",{staticClass:"postNewButtonContent"},[e("div",{staticClass:"avatar flex-wrap m-0 p-0 row align-items-center justify-content-between"},[e("div",{staticClass:"d-flex align-items-center mb-3 col-12 flexBoxAvatar",style:{paddingRight:"12px"}},[e("div",{staticClass:"avatar-img headShot"},[e("img",{attrs:{src:t.user&&t.user.photo_image_link?t.user.photo_image_link:n(560),onerror:t.errorAvatar,alt:""}})]),t._v(" "),t._m(0)]),t._v(" "),e("div",{staticClass:"d-flex w-100"},[e("div",{staticClass:"col-6"},[e("div",{staticClass:"postNewButton",attrs:{"data-gtm-btn":"發文-開啟"},on:{click:function(e){return t.$emit("post-new")}}},[t._v("\n                        我要分享\n                    ")])]),t._v(" "),e("div",{staticClass:"col-6",attrs:{"data-gtm-btn":"提問"},on:{click:function(e){return t.$emit("toGiver")}}},[e("div",{staticClass:"postNewButton"},[t._v("我要提問")])])])])]):e("div",{staticClass:"postNewButtonContent pointer",attrs:{"data-gtm-btn":"發文-開啟"},on:{click:function(e){return t.$emit("post-new")}}},[e("div",{staticClass:"avatar flex-wrap m-0 p-0 row align-items-center justify-content-between"},[e("div",{staticClass:"d-flex align-items-center col-12 col-md-9 mb-3 mb-md-0 flexBoxAvatar"},[e("div",{staticClass:"avatar-img headShot"},[e("img",{attrs:{src:t.user&&t.user.photo_image_link?t.user.photo_image_link:n(560),onerror:t.errorAvatar,alt:""}})]),t._v(" "),t._m(1)]),t._v(" "),t._m(2)])])])}),[function(){var t=this._self._c;return t("div",{staticClass:"postNewButton-input"},[t("div",[this._v("Hi~ 歡迎分享學習資源，有學習問題可匿名向Giver發問！")])])},function(){var t=this._self._c;return t("div",{staticClass:"postNewButton-input"},[t("div",[this._v("Hi~ 來分享學習內容，和大家一起成長吧！")])])},function(){var t=this._self._c;return t("div",{staticClass:"d-flex col-12 col-md-3"},[t("div",{staticClass:"col-12 pl-0 pr-0"},[t("div",{staticClass:"postNewButton"},[this._v("我要分享")])])])}],!1,null,null,null).exports,T={props:{roomData:{type:Object,require:!0,default:function(){return{}}},isOffice:{type:Boolean,default:!0},isSearchResult:{type:Boolean,default:!0}},computed:{isProtectClassroom:function(){return!this.isOffice&&2===this.roomData.privacy_state}},methods:{toFeed:function(){this.$router.push("/feed")}}},E=(n(2215),Object(h.a)(T,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"col"},[t.isSearchResult?e("div",{staticClass:"row hardSkillEmpty"},[e("div",{staticClass:"text-center pt-5 pb-5 text-sm-left col d-flex flex-column d-sm-flex flex-sm-row justify-content-center align-items-center"},[e("img",{staticClass:"mr-8",attrs:{width:"280",src:n(609)}}),t._v(" "),e("div",{staticClass:"ml-2"},[e("div",{staticClass:"h2 line-h-143 mb-2"},[t._v("真是抱歉，沒有符合的搜尋內容")]),t._v(" "),e("div",{style:{fontSize:"14px",lineHeight:"1.43",color:"#7e7e7e",marginBottom:"16px"}},[t._v("\n                    你可以搜尋其他關鍵字\n                ")])])])]):e("div",{staticClass:"row hardSkillEmpty"},[e("div",{staticClass:"text-center pt-5 pb-5 text-sm-left col d-flex flex-column d-sm-flex flex-sm-row justify-content-center align-items-center"},[e("img",{staticClass:"emptyImg",attrs:{width:"280",src:n(876)}}),t._v(" "),e("div",[e("div",{staticClass:"h1 line-h-143 mb-1"},[t._v("教室的學習資料還在準備中")]),t._v(" "),e("div",{style:{fontSize:"14px",lineHeight:"1.43",color:"#7e7e7e",marginBottom:"16px"}},[t._v("\n                    請先參考其他教室的資源來學習吧！\n                ")]),t._v(" "),e("div",{staticClass:"btn btn-outline-primary btn-sm px-5 h4",on:{click:t.toFeed}},[t._v("\n                    前往探索\n                ")])])])])])}),[],!1,null,"eca3faca",null).exports),L=n(1457),P=n(1455);function F(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function N(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?F(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Q=n(591),H=n(1407),G=(n(65),n(611)),V=n(1431);function J(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function K(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?J(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Y=n(39)("src/client/components/page/Content/Challenge.vue"),z=Y.debug,X=Y.error,W={components:{UpdateResume:V.a,ChannelViewLogger:function(){return Promise.resolve().then(n.bind(null,564))}},props:{capability:{type:String,default:""},capabilityId:{type:String,default:""},hasTest:{type:String,default:""},testLevel:{type:String,default:""},testDate:{type:String,default:""},nextLevel:{type:String,default:""},nextTestDate:{type:String,default:""},nextLevelPassPerson:{type:String,default:""},nextLevelPassRate:{type:String,default:""},type:{type:String,default:""}},data:function(){return{isLoadingModalFlow:!1,showDetail:!1}},mounted:function(){this.canTest&&"高級"!==this.nowLevelText&&"0"!==this.hasTest?this.showDetail=!0:this.showDetail=!1},computed:K(K(K({},Object(d.e)("test",["testUpdate"])),Object(d.c)(["isLogin"])),{},{passedPeople:function(){return this.nextLevelPassPerson||"0"},passedRate:function(){return this.nextLevelPassRate||"0%"},nextLevelText:function(){return void 0===this.nextLevel?G.a[0]:this.isMaxLevel?G.a[3]:G.a.get(Number(this.nextLevel))},nowLevelText:function(){return G.a.get(Number("-1"===String(this.testLevel)?0:this.testLevel))},canTest:function(){return""===this.nextTestDate||new Date(Number(this.nextTestDate))<Date.now()},isMaxLevel:function(){return"-1"===this.nextLevel},challengeContent:function(){return"cert"===this.type?this.isMaxLevel?"你可以考慮去報名證照考試，也歡迎繼續挑戰其他相關技能！":"線上已有".concat(this.passedPeople,"人通過「").concat(this.nextLevelText,"」考古題，通過率").concat(this.passedRate):this.isMaxLevel?"已達高級！繼續挑戰其他相關技能吧！技能挑戰為自我評估的工具，如果您認同自己擁有此技能，歡迎將技能寫到履歷上哦！":"".concat(this.passedPeople,"  人已通過「").concat(this.nextLevelText,"」測驗，通過率").concat(this.passedRate,"，和學習精靈一起探索知識、增強能力！")},challengeButtonClass:function(){return["challenge-btn","btn","btn-secondary","btn-sm","px-3","font-weight-bold",this.isLoadingModalFlow?"disabled":""]},chanllengeImagePath:function(){return"/img/b-".concat("-1"===this.nextLevel?"3":this.nextLevel,"@2x.png")},nextTestDateText:function(){return this.nextTestDate?this.toReadableDate(this.nextTestDate):""}}),watch:{testUpdate:function(t){z("testInfo",t),this.updateTestMeta({meta:t.record}),this.$emit("updateTestMeta",t)}},created:function(){this.canTest||"高級"!==this.nowLevelText||"0"!==this.hasTest?this.showDetail=!0:this.showDetail=!1},methods:K(K(K({},Object(d.d)("test",["setTestEvent"])),Object(d.d)("content",["updateTestMeta"])),{},{toMembership:function(){window.open("https://pda.104.com.tw/my104/resume/manage/?action=browser")},openUpdateResumeModal:function(){this.$elog({track:["updateResume"],ext:{skillId:this.capabilityId}}),this.$refs.updateResume.open()},clickAndLoad:function(){this.isLoadingModalFlow=!0;try{if(!this.isLogin)return void(window.location.href="/oidc/login?next=".concat(encodeURIComponent(this.$route.fullPath)));this.$elog({track:["clickQuiz"],ext:{skillId:this.capabilityId}}),this.$viewLog.sendBlockViewlog({key:this.capabilityId,type:1,action:2}),this.setTestEvent({action:"test",capabilityId:this.capabilityId})}catch(t){X("component error",t)}finally{this.isLoadingModalFlow=!1}},challengeOtherSkill:function(){this.$emit("challengeOtherSkill")},toReadableDate:function(t){var e=new Date(Number(t));return"".concat(e.getFullYear(),"/").concat(e.getMonth()+1,"/").concat(e.getDate()," ").concat(("0"+e.getHours()).slice(-2),":").concat(("0"+e.getMinutes()).slice(-2))}})},Z=(n(2216),Object(h.a)(W,(function(){var t=this,e=t._self._c;return e("div",{class:["skill-challenge"],staticStyle:{position:"relative"}},[e("div",{staticClass:"skill-title d-flex justify-content-between align-items-center headerBlock"},[e("div",[e("p",{staticClass:"p14 text-7e mb-2"},[t._v("不知如何開始嗎？ 先進行技能挑戰吧～")]),t._v(" "),e("div",{staticClass:"h2"},[t._v("\n                "+t._s("cert"===t.type?"考古題":"技能")+"挑戰："+t._s(t.nextLevelText)+"\n            ")])]),t._v(" "),e("div",{class:["iconArrow",{iconRotate:!t.showDetail}],on:{click:function(e){t.showDetail=!t.showDetail}}},[e("img",{attrs:{src:n(594),alt:""}})])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showDetail,expression:"showDetail"}],staticClass:"container-fluid contentBlock"},[e("ChannelViewLogger",{attrs:{"block-key":t.capabilityId,"enable-block":!t.isMaxLevel,"block-type":1,"block-action":1}},[e("div",{staticClass:"row d-flex"},[e("div",{staticClass:"col-12 col-md align-self-center"},[e("div",{staticClass:"d-flex justify-content-between"},[e("div",[e("div",{staticClass:"challenge-text mb-3 line-h-175"},[e("strong",[t._v(" "+t._s("目前等級：".concat(t.nowLevelText)))])]),t._v(" "),e("div",{staticClass:"challenge-text mb-3 line-h-175",domProps:{textContent:t._s(t.challengeContent)}}),t._v(" "),e("div",[t.isMaxLevel?["cert"!==t.type?e("div",{staticClass:"ml-md-3 challenge-btn btn btn-sm btn-outline-primary",attrs:{"data-gtm-btn":"更新履歷"},domProps:{textContent:t._s("更新履歷")},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.openUpdateResumeModal.apply(null,arguments)}}}):t._e(),t._v(" "),e("div",{class:t.challengeButtonClass,attrs:{"data-gtm-contect":"測驗"},domProps:{textContent:t._s("挑戰其他技能")},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.challengeOtherSkill()}}})]:t.canTest?e("div",{class:t.challengeButtonClass,attrs:{"data-gtm-contect":"測驗"},domProps:{textContent:t._s("我要挑戰")},on:{click:function(e){e.stopPropagation(),e.preventDefault(),!t.isLoadingModalFlow&&t.clickAndLoad()}}}):[e("div",{staticClass:"d-flex align-items-start justify-content-md-start justify-content-center"},[e("div",{staticClass:"text-center mr-4"},[e("div",{staticClass:"challenge-btn btn btn-outline-light btn-sm px-3 font-weight-bold mb-1",staticStyle:{width:"116px",color:"#a9a9a9","border-color":"#a9a9a9"}},[t._v("\n                                                再次測驗\n                                            ")]),t._v(" "),e("div",{staticClass:"mb-2",staticStyle:{color:"#7e7e7e","font-size":"12px"}},[t._v("\n                                                "+t._s(t.nextTestDateText)+"\n                                            ")])]),t._v(" "),e("div",{class:t.challengeButtonClass,attrs:{"data-gtm-contect":"測驗"},domProps:{textContent:t._s("挑戰其他技能")},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.challengeOtherSkill()}}})])]],2)]),t._v(" "),e("img",{staticClass:"nabi-haha d-lg-block d-none",attrs:{src:t.chanllengeImagePath,alt:""}})])])])])],1),t._v(" "),e("UpdateResume",{ref:"updateResume"})],1)}),[],!1,null,"068a629c",null)),$=Z.exports;function tt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function et(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?tt(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var nt={components:{HardSkillExamModalFlow:Q.a,ExamListModal:H.a,Challenge:$},props:{capabilityInfo:{type:Object,default:function(){}}},data:function(){return{hardSkillOrHotSkillList:[]}},watch:{hardSkillList:{immediate:!0,handler:function(t,e){var n=this;return Object(l.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==t.length){e.next=6;break}return e.next=3,n.getTopTestAPI();case 3:n.hardSkillOrHotSkillList=e.sent,e.next=7;break;case 6:n.hardSkillOrHotSkillList=t;case 7:case"end":return e.stop()}}),e)})))()}}},computed:et(et({},Object(d.c)("competitiveness",["hardSkillList"])),{},{capabilityInfoData:function(){return this.capabilityInfo&&this.capabilityInfo.isInitial&&this.capabilityInfo.data}}),methods:et(et(et({},Object(d.d)("test",["setTestEvent"])),Object(d.b)("test",["getTest","getTopTest"])),{},{challengeOtherSkill:function(){this.setTestEvent({action:"testList"})},getTopTestAPI:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.getTopTest();case 3:return n=e.sent,e.abrupt("return",n);case 7:return e.prev=7,e.t0=e.catch(0),errorlog("component error",e.t0),e.abrupt("return",e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,7]])})))()}})},it=(n(2217),Object(h.a)(nt,(function(){var t=this,e=t._self._c;return t.capabilityInfoData&&"1"===t.capabilityInfoData.hasTest?e("div",[e("Challenge",t._b({staticClass:"challengeItem",on:{challengeOtherSkill:t.challengeOtherSkill,updateTestMeta:function(e){t.$emit("updateTestMeta",e)}}},"Challenge",N(N({},t.capabilityInfoData),t.capabilityInfoData.testMeta),!1)),t._v(" "),e("HardSkillExamModalFlow"),t._v(" "),e("ExamListModal",{attrs:{"skill-records":t.hardSkillOrHotSkillList}})],1):t._e()}),[],!1,null,"62d3a544",null).exports),at=n(1510),ot={props:{isOffice:{type:Boolean,default:!0},roomData:{type:Object,require:!0,default:function(){return{}}},isCreator:{type:Boolean,default:!1}},data:function(){return{open:!1,isEdit:!1,editContent:this.roomData.notice||"",isEllipsis:!1}},mounted:function(){var t=this.$refs.content;t&&(this.isEllipsis=t.scrollWidth>t.offsetWidth)},methods:{cancel:function(){var t=this.roomData.notice,e=void 0===t?null:t;this.isEdit=!1,this.editContent=e||""},confirm:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n,o,r,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$refs.observer.validate();case 2:if(e.sent){e.next=5;break}return e.abrupt("return");case 5:return t.isEdit=!1,n=t.roomData,o=n.room_id,r=n.notice,c=void 0===r?null:r,e.prev=7,e.next=10,t.$api.cls.changeClassroomNotice({room_id:o,notice:t.editContent});case 10:t.roomData.notice=t.editContent,e.next=16;break;case 13:e.prev=13,e.t0=e.catch(7),t.editContent=c||"";case 16:case"end":return e.stop()}}),e,null,[[7,13]])})))()}}},st=(n(2218),Object(h.a)(ot,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"noticeBlock",class:{open:t.open,isEdit:t.isEdit,highlight:t.roomData.notice&&!t.isCreator}},[e("span",{staticClass:"icon"}),t._v(" "),e("span",{staticClass:"title"},[t._v("置頂公告")]),t._v(" "),e("span",{ref:"content",staticClass:"content"},[t._v("\n        "+t._s(t.roomData.notice||"點擊右側鉛筆圖示來設定公告！")+"\n    ")]),t._v(" "),t.isCreator?e("div",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],staticClass:"editBlock"},[e("client-only",[e("ValidationObserver",{ref:"observer",attrs:{slim:""}},[e("ValidationProvider",{attrs:{rules:"sensitiveWord",name:"內文"},scopedSlots:t._u([{key:"default",fn:function(n){var o=n.failed,r=n.errors;return[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.editContent,expression:"editContent"}],class:{"is-invalid":o},domProps:{value:t.editContent},on:{input:function(e){e.target.composing||(t.editContent=e.target.value)}}}),t._v(" "),o?e("div",{staticClass:"invalid-txt"},[t._v("\n                        "+t._s(r[0])+"\n                    ")]):t._e()]}}],null,!1,2130290375)})],1)],1)],1):t._e(),t._v(" "),!t.isCreator&&t.isEllipsis?e("span",{staticClass:"toggle",on:{click:function(e){t.open=!t.open}}}):t._e(),t._v(" "),t.isCreator?e("span",{staticClass:"edit",on:{click:function(e){t.isEdit=!t.isEdit}}}):t._e(),t._v(" "),e("div",{staticClass:"btns"},[e("button",{staticClass:"cancel",on:{click:t.cancel}},[t._v("取消")]),t._v(" "),e("button",{staticClass:"confirm",on:{click:t.confirm}},[t._v("確定")])])])}),[],!1,null,"334156f1",null).exports),ct={props:{search:{type:Object,default:function(){}}},methods:{cancelSearch:function(){this.$emit("cancelSearch")}}},lt=(n(2219),Object(h.a)(ct,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"searchResultHeader"},[e("span",{staticClass:"h2"},[t._v("搜尋")]),t._v(" "),e("span",{staticClass:"keyword"},[t._v(t._s(t.search.keyword))]),t._v(" "),e("span",{staticClass:"cancel",on:{click:t.cancelSearch}},[t._v("取消")])])}),[],!1,null,"117cd95a",null).exports),ut={components:{Button:n(255).default},props:{specifyTest:{type:Object,default:function(){return{}}}},data:function(){return{}},computed:{testId:function(){var t=this.specifyTest.testId,e=void 0===t?0:t;return e},isTested:function(){var t=this.specifyTest.result;return!!(void 0===t?null:t)}},methods:{toResult:function(){if(1===this.testId)this.$router.push("/assess/toeic/result");else if(2===this.testId)this.$router.push("/assess/JLPTN5/result");else if(99===this.testId){var t=this.specifyTest.exam.exam_id;this.$router.push("/assess/".concat(t,"/result"))}},toTest:function(){if(1===this.testId)this.$router.push("/assess/toeic");else if(2===this.testId)this.$router.push("/assess/JLPTN5");else if(99===this.testId){var t=this.specifyTest.exam.exam_id;this.$router.push("/assess/".concat(t))}},moreClick:function(){2===this.testId&&this.$router.push("/quiz/jp")}}},pt=(n(2220),Object(h.a)(ut,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"testCard"},[e("div",{staticClass:"bk"},[t.isTested?e("img",{staticClass:"bk2",attrs:{src:n(953),alt:""}}):e("img",{staticClass:"bk1",attrs:{src:n(952),alt:""}})]),t._v(" "),e("div",{staticClass:"infoContainer"},[e("div",{staticClass:"headerContainer"},[e("div",{staticClass:"title"},[t._v("\n                "+t._s(1===t.testId?"線上英文檢測":2===t.testId?"JLPT 日語檢定N5模擬測驗":"".concat(t.specifyTest.exam.name))+"\n            ")]),t._v(" "),e("div",{staticClass:"subTitle"},[t._v("\n                "+t._s(1===t.testId?"模擬多益測驗，免費測試自己的英文能力和專業程度。":2===t.testId?"能大致理解基礎日語。":"".concat(t.specifyTest.exam.info))+"\n            ")])]),t._v(" "),t.isTested?e("div",{staticClass:"hr"}):t._e(),t._v(" "),e("div",{staticClass:"info"},[null!==t.specifyTest.result&&null!==t.specifyTest.score?[e("div",{staticClass:"score"},[e("div",{staticClass:"title"},[t._v("上次分數")]),t._v(" "),e("div",{staticClass:"content"},[t._v(t._s(t.specifyTest.score))])]),t._v(" "),e("div",{staticClass:"hr"})]:t._e(),t._v(" "),null!==t.specifyTest.result?e("div",{staticClass:"result"},[e("div",{staticClass:"title"},[t._v("測驗結果")]),t._v(" "),e("div",{staticClass:"content",on:{click:t.toResult}},[t._v(t._s(t.specifyTest.result))])]):t._e(),t._v(" "),null===t.specifyTest.result?[e("div",{staticClass:"text"},[t._v("\n                    共\n                    "+t._s(null!==t.specifyTest.exam&&null!==t.specifyTest.exam.question_pool_count?t.specifyTest.exam.question_pool_count:"50")+"\n                    題\n                ")]),t._v(" "),e("div",{staticClass:"hr alignSelfEnd"}),t._v(" "),null!==t.specifyTest.exam&&null!==t.specifyTest.exam.had_exam_count?e("div",{staticClass:"text"},[t._v("\n                    "+t._s(t.specifyTest.exam.had_exam_count)+"\n                    人已做過測驗\n                ")]):t._e()]:t._e()],2)]),t._v(" "),e("div",{staticClass:"interact"},[e("Button",{staticClass:"bkOrange_fontWhite"},[e("button",{attrs:{"data-gtm-btn":99===t.testId?"test_click":void 0},on:{click:t.toTest}},[t._v("\n                "+t._s(t.isTested?"重新測驗":"開始測驗")+"\n            ")])]),t._v(" "),2===t.testId?e("div",{staticClass:"moreTest",on:{click:t.moreClick}},[t._v("更多相關測驗")]):t._e()],1)])}),[],!1,null,"4dfd7310",null).exports),gt=n(990),ft=n.n(gt),mt=(n(991),n(992),{components:{VueSlickCarousel:ft.a},props:{featuredExamList:{type:Array,default:function(){return[]}}},data:function(){return{currentIndex:0,settings:{infinite:!0,slidesToShow:1,speed:500,autoplay:!0,arrows:!1,variableWidth:!1,dots:!1,centerPadding:"0px",vertical:!0,adaptiveHeight:!0}}},methods:{toExam:function(t){var e=t.exam_id;this.$router.push("/assess/".concat(e))}}}),At=(n(2221),Object(h.a)(mt,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"featuredList"},[e("client-only",[t.featuredExamList.length?e("VueSlickCarousel",t._b({},"VueSlickCarousel",t.settings,!1),t._l(t.featuredExamList,(function(n){return e("div",{key:n.exam_id},[e("div",{staticClass:"featuredExam",attrs:{"data-gtm-btn":"test_click_featured"},on:{click:function(e){return t.toExam(n)}}},[e("span",{staticClass:"content"},[t._v(t._s(n.marketing_content))]),e("span",{staticClass:"icon"})])])})),0):t._e()],1)],1)}),[],!1,null,"b4f064b0",null).exports);function ht(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function vt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ht(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ht(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var bt={components:{PostClassroomHeader:I,PostItem:B.a,PostDialog:S.a,ClassroomSkillEmpty:E,LoginAlert:j.a,PostClassroomNewButton:U,LearnVideo:L.a,LearnArticle:P.a,ClassroomChallenge:it,SchedulePost:at.a,PostClassroomNotice:st,SearchResultHeader:lt,ClassroomTestCared:pt,FeaturedExam:At},props:{roomData:{type:Object,require:!0,default:function(){return{}}},contentList:{type:Object,require:!0,default:function(){return{}}},capabilityInfo:{type:Object,require:!0,default:function(){return{}}},isOffice:{type:Boolean,default:!0},isScheduleEmpty:{type:Boolean,default:function(){return!0}},roomManagers:{type:Array,default:function(){return[]}},search:{type:Object,default:function(){}},specifyTest:{type:Object,default:function(){}},featuredExamList:{type:Array,default:function(){return[]}}},data:function(){return{isBottom:!1,postData:void 0,isPersonalPage:!1,activityType:"all",alertMsg:""}},computed:vt(vt({},Object(d.c)(["isLogin","pid"])),{},{channelInfo:function(){if(this.contentList.isInitial)return{roomIds:this.contentList.meta.roomIds,tags:this.contentList.meta.tags}},scheduleListParams:function(){var t=this.roomData,e=t.room_id,n=void 0===e?0:e,r=t.tags,c=void 0===r?[]:r,l=t.room_type,d=c.map((function(t){var e=t.tag_name;return void 0===e?"":e}));return{roomIds:1===l?void 0:[n],tags:1===l?Object(o.a)(d):void 0}},isNewPostButtonShow:function(){var t=this.roomData,e=t.role_type,n=void 0===e?5:e,o=t.member_post,r=void 0!==o&&o,c=t.guest_post,l=void 0!==c&&c;return!!this.isOffice||(!this.search||!this.search.keyword)&&(!(3===n&&!r)&&!(n>=4&&!l))},createrInfo:function(){var t=(this.roomData||{}).creator_info;return void 0===t?{}:t},isCreator:function(){var t=this.roomData.creator_pid;return String(this.pid)===String(t)},showClassroomNotice:function(){var t=!(this.isOffice||this.search&&this.search.keyword);return t?this.roomData.notice?t:t&&this.isCreator:t}}),watch:{isBottom:function(t,e){var n=this;return Object(l.a)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(!t||e){o.next=4;break}if(!1!==n.contentList.isLoading){o.next=4;break}return o.next=4,n.$emit("fetchUserActivity");case 4:case"end":return o.stop()}}),o)})))()}},methods:{onlastItemShow:function(t,e){this.isBottom=t},openPostDialog:function(data){var t=this;if(!this.isLogin)return this.alertMsg="新增貼文",void this.$refs.LoginAlert.openModal();this.postData=data,this.$nextTick((function(){t.$refs.PostDialog.openModal()}))},onPostDialogHidden:function(){this.postData=void 0},toGiver:function(){var t=this;if(!this.isLogin)return this.$refs.LoginAlert.openModal(),void(this.alertMsg="我要提問");this.$nextTick((function(){window.open("https://giver.104.com.tw"+"/questionList?ask=1&externalTag=".concat(t.$encodeBase58(t.capabilityInfo.data.capability),"&from=nabi&utm_source=nabi&utm_medium=ask"))}))}}},yt=Object(h.a)(bt,(function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"postArea"}},[t.isNewPostButtonShow?e("PostClassroomNewButton",{staticClass:"postNewButtonWrap",attrs:{"need-ask":t.isOffice,"creator-info":t.createrInfo},on:{"post-new":t.openPostDialog,toGiver:t.toGiver}}):t._e(),t._v(" "),t.isOffice?e("PostClassroomHeader",{staticClass:"postHeader",attrs:{"is-office":t.isOffice,"activity-type":t.activityType,"room-title":t.roomData.room_title||(t.capabilityInfo.data?t.capabilityInfo.data.capability:""),role:String(t.roomData.creator_pid)===String(t.pid)?"owner":"viewer"},on:{changeType:function(e){t.activityType=e}}}):t._e(),t._v(" "),t.showClassroomNotice?e("PostClassroomNotice",{attrs:{"room-data":t.roomData,"is-creator":t.isCreator}}):t._e(),t._v(" "),t.search&&t.search.keyword?e("SearchResultHeader",{attrs:{search:t.search},on:{cancelSearch:function(){t.$emit("cancelSearch")}}}):t._e(),t._v(" "),e("SchedulePost",{directives:[{name:"show",rawName:"v-show",value:!t.isScheduleEmpty,expression:"!isScheduleEmpty"}],attrs:{"room-ids":t.scheduleListParams.roomIds,tags:t.scheduleListParams.tags},on:{addUserNewActivity:function(data){t.$emit("addUserNewActivity",data)},scheduleListIsEmpty:function(e){return t.$emit("scheduleListIsEmpty")}}}),t._v(" "),"video"===t.activityType?e("div",{staticClass:"whitePanel"},[e("LearnVideo",{attrs:{equal:"2","capability-id":t.capabilityInfo.isInitial?t.capabilityInfo.data.capabilityId:"","is-video-graded":t.capabilityInfo.isInitial?t.capabilityInfo.data.isVideoGraded:""}})],1):"article"===t.activityType?e("div",{staticClass:"whitePanel"},[e("LearnArticle",{attrs:{"capability-id":t.capabilityInfo.isInitial?t.capabilityInfo.data.capabilityId:""}})],1):[t.specifyTest?e("ClassroomTestCared",{attrs:{"specify-test":t.specifyTest}}):e("ClassroomChallenge",{attrs:{"capability-info":t.capabilityInfo},on:{updateTestMeta:function(e){t.$emit("updateTestMeta",e)}}}),t._v(" "),(t.specifyTest||t.capabilityInfo&&t.capabilityInfo.isInitial&&t.capabilityInfo.data&&"1"===t.capabilityInfo.data.hasTest)&&t.featuredExamList&&t.featuredExamList.length>0?e("FeaturedExam",{class:{challenge:!t.specifyTest},attrs:{"featured-exam-list":t.featuredExamList}}):t._e(),t._v(" "),e("div",{staticClass:"d-flex flex-column mt-4"},t._l(t.contentList.data,(function(n,o){return e("PostItem",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:o===t.contentList.data.length-1&&{callback:t.onlastItemShow,intersection:{threshold:.3}},expression:"\n                    index === contentList.data.length - 1\n                        ? {\n                              callback: onlastItemShow,\n                              intersection: {\n                                  threshold: 0.3,\n                              },\n                          }\n                        : false\n                "}],key:"".concat(n.key,"-").concat(o,"-").concat(n.sortType),staticClass:"postItem",attrs:{index:o,capability:t.capabilityInfo.data,"show-to-room":t.roomData,data:n,"channel-info":t.channelInfo,"room-data":t.roomData},on:{"post-modify":function(e){return t.openPostDialog(n)},"social-event":function(e){t.$emit("socailEventHandler",e)},deleteItem:function(e){t.$emit("deleteItem",e)},"toggle-room-top-activity":function(e){t.$emit("toggle-room-top-activity",e)},toggleRoomState:function(){t.$emit("toggleRoomState")},"content3rdGroup-click":function(e){return t.$emit("content3rdGroup-click")},"login-alert":function(data,e){t.$emit("login-alert",data,e)}}})})),1),t._v(" "),!t.contentList.isLoading&&t.contentList.isInitial&&0===t.contentList.data.length?e("ClassroomSkillEmpty",{attrs:{"is-office":t.isOffice,"room-data":t.roomData,"is-search-result":!(!t.search||!t.search.keyword)},on:{openPostDialog:t.openPostDialog}}):t._e(),t._v(" "),!t.contentList.isInitial||t.contentList.isLoading?e("div",{staticClass:"d-flex m-auto loading"},[e("img",{staticClass:"loader-icon w-100 m-0",attrs:{src:n(375)}})]):t._e()],t._v(" "),e("PostDialog",{ref:"PostDialog",attrs:{"privacy-state":t.roomData.privacy_state,data:t.postData,"room-managers":t.roomManagers,"is-single-page":!0,"room-id":t.roomData.room_id?String(t.roomData.room_id):void 0,"room-title":t.roomData.room_title||t.capabilityInfo.data&&t.capabilityInfo.data.capability,skill:t.capabilityInfo.data&&t.capabilityInfo.data.capability,"is-office":t.isOffice,"un-officeroom-skill":t.roomData&&t.roomData.tags},on:{hidden:t.onPostDialogHidden,addUserNewActivity:function(data){t.$emit("addUserNewActivity",data)},"update-post":function(data){t.$emit("updateUserActivity",data)},addUserScheduleActivity:function(e){return t.$emit("addUserScheduleActivity")}}}),t._v(" "),e("LoginAlert",{ref:"LoginAlert",attrs:{message:t.alertMsg}})],2)}),[],!1,null,"430a8329",null).exports,Ct={components:{ClassroomBanner:_,AboutClassroom:v,PostClassroomArea:yt,ContentInterestSkill:n(1366).a},props:{isOffice:{type:Boolean,default:!0},roomData:{type:Object,default:function(){}},contentList:{type:Object,require:!0,default:function(){return{}}},capabilityInfo:{type:Object,require:!0,default:function(){return{}}},isScheduleEmpty:{type:Boolean,default:function(){return!0}},specifyTest:{type:Object,default:function(){}},featuredExamList:{type:Array,default:function(){return[]}}},data:function(){return{isOpenAboutClassroom:!1}},created:function(){},methods:{toggleAboutClassroom:function(){this.isOpenAboutClassroom=!this.isOpenAboutClassroom}}},wt=Object(h.a)(Ct,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"bigClass"},[e("div",{staticClass:"bigClassContainer pt-0"},[e("div",{staticClass:"bigClass--top"},[e("ClassroomBanner",{attrs:{"is-open-about-classroom":t.isOpenAboutClassroom,"room-data":t.roomData,"content-list":t.contentList},on:{toggleAboutClassroom:t.toggleAboutClassroom,toggleFocus:function(data){t.$emit("toggleFocus",data)}}})],1),t._v(" "),e("div",{class:["bigClassContainer","pt-0",{"d-sm-block d-none":t.isOpenAboutClassroom}]},[e("div",{staticClass:"bigClass--main"},[e("div",{staticClass:"bigClass--left d-sm-block d-none"},[e("AboutClassroom",{attrs:{"room-data":t.roomData}})],1),t._v(" "),e("div",{staticClass:"bigClass--center"},[e("PostClassroomArea",{attrs:{"content-list":t.contentList,"capability-info":t.capabilityInfo,"is-office":t.isOffice,"room-data":t.roomData,"is-schedule-empty":t.isScheduleEmpty,"specify-test":t.specifyTest,"featured-exam-list":t.featuredExamList},on:{fetchUserActivity:function(e){return t.$emit("fetchUserActivity")},addUserNewActivity:function(data){t.$emit("addUserNewActivity",data)},updateUserActivity:function(data){t.$emit("updateUserActivity",data)},deleteItem:function(e){t.$emit("deleteItem",e)},socailEventHandler:function(e){t.$emit("socailEventHandler",e)},updateTestMeta:function(e){t.$emit("updateTestMeta",e)},addUserScheduleActivity:function(e){return t.$emit("addUserScheduleActivity")},scheduleListIsEmpty:function(e){return t.$emit("scheduleListIsEmpty")},"content3rdGroup-click":function(e){return t.$emit("content3rdGroup-click")},"login-alert":function(data,e){t.$emit("login-alert",data,e)}}})],1),t._v(" "),e("div",{staticClass:"bigClass--right d-none d-md-block"},[e("ContentInterestSkill",{attrs:{"gtm-attr":{"data-gtm-content":"room"}}})],1)])])])])}),[],!1,null,null,null).exports;function xt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function kt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?xt(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}n(84),n(96);var _t=n(572),Ot=n(625),It={components:{ConfirmAlert:_t.a},props:{member:{type:Object,default:function(){}},isCreator:{type:Boolean,default:function(){return!1}},showSetManage:{type:Boolean,default:function(){return!1}},showSetCreator:{type:Boolean,default:function(){return!1}},showApply:{type:Boolean,default:function(){return!1}},showSetManageTag:{type:Boolean,default:function(){return!1}},showSetFollow:{type:Boolean,default:!1},showApplyQA:{type:Boolean,default:!1},applyQAToggle:{type:Boolean,default:!1},showJoinDate:{type:Boolean,default:!1}},fetch:function(){var t=this.member.apply_answer;(this.showApply||this.showApplyQA)&&t&&null!==t&&(this.showApplyControler=!0)},data:function(){return{errorAvatar:'this.src="/img/avatar-default.png"',toolOpen:!1,showRemoveAlert:!1,showApplyControler:!1}},computed:{showSetManageTool:function(){var t=this;return function(e){return!!t.showSetManage&&(!!t.isCreator||!e)}},levelCanRemove:function(){var t=this;return function(e){return!!t.isCreator||!e}},showApplyQAToggle:function(){var t=this.member.apply_answer;return t&&null!==t&&this.applyQAToggle},joinDate:function(){var time=this.member.join_date,t=new Date(time);return Ot.DateTime.fromJSDate(t).toFormat("yyyy/LL/dd")}},methods:{confirmApply:function(){var t=this.member.apply_id,e=void 0===t?null:t;null!==e&&this.$emit("reviewApply",{apply_id:e,review_state:1})},cancelApply:function(){var t=this.member.apply_id,e=void 0===t?null:t;null!==e&&this.$emit("reviewApply",{apply_id:e,review_state:2})},adminAdd:function(){var t=this.member.pid;this.$emit("adminAdd",{adminPid:t})},adminCancel:function(){var t=this.member.pid;this.$emit("adminCancel",{adminPid:t})},classroomTransfer:function(){var t=this.member.pid;this.$emit("classroomTransfer",t)},toProfile:function(t){t&&window.open("".concat("https://beagiver.104.com.tw","/profile/").concat(this.$encodeBase58(t.toString()),"?pageTag=help&serviceTag=nabi&utm_source=104&utm_medium=nabi_classroom"),"_blank")},removeMember:function(){var t=this.member.pid;this.$emit("removeMember",t)}}},Bt=(n(2222),{components:{RoomMember:Object(h.a)(It,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"item w-100"},[e("div",{staticClass:"d-flex align-items-center"},[e("b-img",{attrs:{src:t.member.is_delete?n(567):t.member.photo_image_link?t.member.photo_image_link:n(560),onerror:t.errorAvatar,width:"55",height:"55",rounded:"circle"},on:{click:function(e){t.member.pid&&t.toProfile(t.member.pid)}}}),t._v(" "),e("div",{staticClass:"info"},[e("span",{staticClass:"name"},[e("span",{staticClass:"content"},[t._v(t._s(t.member.nickname))]),t._v(" "),t.member.isAdmin&&t.showSetManageTag?e("span",{staticClass:"tag"},[t._v("管理員")]):t._e()]),t._v(" "),e("div",{staticClass:"subInfo"},[t.member.job_name?e("span",{staticClass:"jobName"},[t._v(t._s(t.member.job_name))]):t._e(),t._v(" "),t.member.job_name&&t.showJoinDate?e("span",{staticClass:"point"},[t._v("・")]):t._e(),t._v(" "),t.showJoinDate?e("span",{staticClass:"joinType"},[t._v(t._s(t.joinDate)+" "+t._s(t.member.is_auto_review?"透過自動審核":"")+"加入")]):t._e()])]),t._v(" "),e("div",{staticClass:"tools"},[t.showSetCreator||t.showSetManageTool(t.member.isAdmin)?e("span",{directives:[{name:"click-outside",rawName:"v-click-outside",value:function(){t.toolOpen=!1},expression:"\n                    () => {\n                        toolOpen = false\n                    }\n                "}],staticClass:"icon",on:{click:function(e){t.toolOpen=!t.toolOpen}}},[e("span",{directives:[{name:"show",rawName:"v-show",value:t.toolOpen,expression:"toolOpen"}],staticClass:"toolList"},[t.showSetCreator?[e("span",{staticClass:"tool",on:{click:t.classroomTransfer}},[t._v("移轉教室權限")]),t._v(" "),e("span",{staticClass:"tool",on:{click:t.adminCancel}},[t._v("移除")])]:t._e(),t._v(" "),t.showSetManageTool(t.member.isAdmin)?[e("span",{directives:[{name:"show",rawName:"v-show",value:t.showSetManage&&t.isCreator&&!t.member.isAdmin,expression:"showSetManage && isCreator && !member.isAdmin"}],staticClass:"tool",on:{click:t.adminAdd}},[t._v("\n                            設為共同管理員\n                        ")]),t._v(" "),e("span",{directives:[{name:"show",rawName:"v-show",value:t.levelCanRemove(t.member.isAdmin),expression:"levelCanRemove(member.isAdmin)"}],staticClass:"tool",on:{click:function(e){t.showRemoveAlert=!0}}},[t._v("\n                            移除共學成員\n                        ")])]:t._e(),t._v(" "),t.showApplyQAToggle?e("span",{staticClass:"tool",on:{click:function(e){t.showApplyControler=!t.showApplyControler}}},[t._v("\n                        "+t._s(t.showApplyControler?"收起":"查看")+"加入回答\n                    ")]):t._e()],2)]):t._e(),t._v(" "),t.showApply?[e("div",{staticClass:"buttons"},[e("button",{staticClass:"cancel mr-2",on:{click:t.cancelApply}},[t._v("拒絕")]),t._v(" "),e("button",{staticClass:"confirm",on:{click:t.confirmApply}},[t._v("批准")])])]:t._e(),t._v(" "),t.showSetFollow&&!t.member.isAdmin?[e("span",{directives:[{name:"click-outside",rawName:"v-click-outside",value:function(){t.toolOpen=!1},expression:"\n                        () => {\n                            toolOpen = false\n                        }\n                    "}],staticClass:"icon",on:{click:function(e){t.toolOpen=!t.toolOpen}}},[e("span",{directives:[{name:"show",rawName:"v-show",value:t.toolOpen,expression:"toolOpen"}],staticClass:"toolList"},[e("span",{staticClass:"tool",on:{click:t.adminAdd}},[t._v("設為共同管理員")])])])]:t._e()],2)],1),t._v(" "),t.showApplyControler?e("div",{staticClass:"rounded w-100 p-3 applyQA",staticStyle:{"background-color":"#f3f3f3",height:"100px"}},[e("div",{staticClass:"question",staticStyle:{color:"#7e7e7e"}},[t._v("\n            "+t._s(t.member.apply_question)+"\n        ")]),t._v(" "),e("div",{staticClass:"answer",staticStyle:{"font-size":"16px"}},[t._v(t._s(t.member.apply_answer))])]):t._e(),t._v(" "),e("ConfirmAlert",{attrs:{"is-show":t.showRemoveAlert,confirm:"剔除",title:"確定要剔除共學成員？",msg:"將共學成員剔除後，將不能主動恢復該成員共學身份，直到他重新申請加入。"},on:{"click-confirm":t.removeMember,"click-close":function(e){t.showRemoveAlert=!1}}})],1)}),[],!1,null,"ca5bd676",null).exports},props:{members:{type:Array,default:function(){return[]}},isCreator:{type:Boolean,default:function(){return!1}},showSetManage:{type:Boolean,default:function(){return!1}},showSetCreator:{type:Boolean,default:function(){return!1}},showApply:{type:Boolean,default:function(){return!1}},showSetManageTag:{type:Boolean,default:function(){return!1}},showSetFollow:{type:Boolean,default:!1},showApplyQA:{type:Boolean,default:!1},applyQAToggle:{type:Boolean,default:!1},showJoinDate:{type:Boolean,default:!1}},data:function(){return{errorAvatar:'this.src="/img/avatar-default.png"'}},methods:{}}),St=(n(2223),Object(h.a)(Bt,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"list"},t._l(t.members,(function(n){return e("RoomMember",{key:n.pid,attrs:{member:n,"is-creator":t.isCreator,"show-set-creator":t.showSetCreator,"show-set-manage":t.showSetManage,"show-apply":t.showApply,"show-set-manage-tag":t.showSetManageTag,"show-set-follow":t.showSetFollow,"show-apply-q-a":t.showApplyQA,"apply-q-a-toggle":t.applyQAToggle,"show-join-date":t.showJoinDate},on:{adminAdd:function(e){t.$emit("adminAdd",e)},adminCancel:function(e){t.$emit("adminCancel",e)},reviewApply:function(e){t.$emit("reviewApply",e)},classroomTransfer:function(e){t.$emit("classroomTransfer",e)},removeMember:function(e){t.$emit("removeMember",e)}}})})),1)}),[],!1,null,"05d7996b",null).exports),jt=n(1570),Dt=n(120),Rt={components:{ConfirmAlert:_t.a,MessageBox:Dt.a},props:{roomData:{type:Object,default:function(){return{}}}},data:function(){return{editQuestion:!1,applyQuestion:this.roomData.apply_question,showDeleteAlert:!1}},computed:{questionLength:function(){return this.applyQuestion?this.applyQuestion.length:0}},beforeDestroy:function(){this.editQuestion=!1},methods:{cancel:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$refs.MessageBox.openModal();case 2:e.sent||(t.applyQuestion=null,t.editQuestion=!1);case 4:case"end":return e.stop()}}),e)})))()},deleteQuestion:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.callAPI({room_id:t.roomData.room_id});case 3:n=e.sent,n.data&&(t.applyQuestion=null,t.$emit("handleApplyQuestion",null),t.editQuestion=!1),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})))()},onConfirm:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.callAPI({room_id:t.roomData.room_id,apply_question:t.applyQuestion});case 3:n=e.sent,n.data&&(t.$emit("handleApplyQuestion",t.applyQuestion),t.editQuestion=!1),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})))()},callAPI:function(t){var e=this;return Object(l.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.$api.cls.putClassroomApplyQuestion(t);case 2:return n.abrupt("return",n.sent);case 3:case"end":return n.stop()}}),n)})))()},backAndNoSave:function(){this.applyQuestion=this.roomData.apply_question,this.editQuestion=!1}}},Mt=(n(2224),Object(h.a)(Rt,(function(){var t=this,e=t._self._c;return e("div",[t.applyQuestion||t.editQuestion?e("div",[e("div",{staticClass:"font-weight-bold mb-2"},[t._v("成員加入共學時必須回答的問題")]),t._v(" "),t.editQuestion?[e("div",{staticClass:"mb-2 position-relative"},[e("b-form-textarea",{attrs:{placeholder:"輸入問題",rows:"3",maxlength:"30","no-resize":""},model:{value:t.applyQuestion,callback:function(e){t.applyQuestion=e},expression:"applyQuestion"}}),t._v(" "),e("span",{staticClass:"position-absolute",staticStyle:{right:"12px",bottom:"8px",color:"#7e7e7e"}},[t._v("\n                    必填 "+t._s(t.questionLength)+"/30\n                ")])],1),t._v(" "),e("div",{staticClass:"btnGroup text-right"},[t.roomData.apply_question?e("button",{staticClass:"btn btn-sm btn-outline-primary h4 mr-5",attrs:{type:"button"},on:{click:t.backAndNoSave}},[t._v("\n                    返回\n                ")]):e("button",{staticClass:"btn btn-sm btn-outline-primary h4 mr-5",attrs:{type:"button"},on:{click:t.cancel}},[t._v("\n                    取消\n                ")]),t._v(" "),e("button",{staticClass:"btn btn-sm btn-secondary h4",attrs:{type:"button",disabled:!t.applyQuestion},on:{click:t.onConfirm}},[t._v("\n                    儲存\n                ")])])]:[e("div",{staticClass:"mb-2"},[e("b-input",{attrs:{readonly:""},model:{value:t.applyQuestion,callback:function(e){t.applyQuestion=e},expression:"applyQuestion"}})],1),t._v(" "),e("div",{staticClass:"btnGroup text-right"},[e("button",{staticClass:"btn btn-sm btn-outline-primary h4 mr-5",attrs:{type:"button"},on:{click:function(e){t.showDeleteAlert=!0}}},[t._v("\n                    刪除問題\n                ")]),t._v(" "),e("button",{staticClass:"btn btn-sm btn-secondary h4",attrs:{type:"button",disabled:!t.applyQuestion},on:{click:function(e){t.editQuestion=!0}}},[t._v("\n                    編輯問題\n                ")])])]],2):e("div",{staticClass:"d-md-flex align-items-end justify-content-between"},[t._m(0),t._v(" "),e("div",{staticClass:"btnGroup d-sm-flex"},[e("button",{staticClass:"btn btn-sm btn-secondary h4",on:{click:function(e){t.editQuestion=!0}}},[t._v("\n                設定問題\n            ")])])]),t._v(" "),e("MessageBox",{ref:"MessageBox",attrs:{title:"還未儲存就要離開嗎？",msg:"如果現在退出，變更的內容將不會儲存。","cancel-text":"退出","confirm-text":"繼續編輯"}}),t._v(" "),e("ConfirmAlert",{attrs:{"is-show":t.showDeleteAlert,title:"刪除問題",msg:"確定要刪除問題嗎？刪除後無法復原。",confirm:"刪除",abort:"取消"},on:{"click-confirm":t.deleteQuestion,"click-close":function(e){t.showDeleteAlert=!1}}})],1)}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"mr-8 mb-4"},[e("div",{staticClass:"font-weight-bold mb-2",staticStyle:{"font-size":"16px"}},[t._v("\n                設定一個問題作為加入教室的審核問題\n            ")]),t._v(" "),e("div",[t._v("當有人申請加入共學時必須回答這個問題。 只有您和共同管理員能看到這個回答。")])])}],!1,null,"1edc3ada",null).exports),Ut={props:{active:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},Tt=(n(2225),Object(h.a)(Ut,(function(){var t=this,e=t._self._c;return e("div",[t._t("default",(function(){return[e("span",{staticClass:"toggle",class:{active:t.active},on:{click:t.toggleClick}},[e("span",{staticClass:"cir"})])]}))],2)}),[],!1,null,"0094605b",null).exports),Et=n(1566);function Lt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function Pt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Lt(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Lt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ft={components:{RoomMembers:St,MessageBox:Dt.a,PrivacyDoc:jt.a,ApplyQuestion:Mt,Toggle:Tt,SearchBar:Et.a},props:{roomData:{type:Object,default:function(){return{}}},canDelete:{type:Boolean,default:!0}},data:function(){return{resovle:void 0,value:!1,settingType:"roleManage",mOpen:"",roleManage:{type:"",roomMembers:{},applyMembers:{},followMembers:{}},privacySetting:{postPrivacy:""},alert:{title:"",msg:"",confirmText:"",cancelText:"",noCancel:!1,noConfirm:!1,noXBtn:void 0,tagMsg:{show:!1,htmlMsg:""}},search:"",action:void 0,autoReview:!1,autoReviewDataSync:!1}},computed:Pt(Pt({},Object(d.c)(["pid"])),{},{roomMembers:function(){var t=this.roleManage.roomMembers,e=void 0===t?{}:t,n=e.data,data=void 0===n?{}:n,r=data.member,c=void 0===r?[]:r,l=data.admin,d=(void 0===l?[]:l).map((function(a){return Pt(Pt({},a),{},{isAdmin:!0})}));if(""!==this.search){var f=this.search.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),m=new RegExp(f);return{newJoin:[],member:[].concat(Object(o.a)(d),Object(o.a)(c)).filter((function(t){return null!==t.nickname.match(m)}))}}var A={newJoin:[],member:[]};return[].concat(Object(o.a)(d),Object(o.a)(c)).forEach((function(t){var e=t.join_date;(new Date).getTime()-new Date(e).getTime()<6048e5?A.newJoin.push(t):A.member.push(t)})),A},manageMembers:function(){var t=this.roleManage.roomMembers,e=(void 0===t?{}:t).data,n=(void 0===e?{}:e).admin;return void 0===n?[]:n},followMembers:function(){var t=this.roleManage,e=t.followMembers,n=void 0===e?{}:e,o=t.roomMembers,r=(void 0===o?{}:o).data,c=(void 0===r?{}:r).admin,l=void 0===c?[]:c,d=n.result,f=(void 0===d?[]:d).map((function(t){var e=t.about_me,n=t.company_name,o=t.is_blacklist,r=t.is_delete,c=t.job_name,d=t.join_us_date,f=t.nickname,m=t.photo_image_id,A=t.photo_image_link;return{pid:t.pid,nickname:f,about_me:e,photo_image_id:m,photo_image_link:A,job_name:c,company_name:n,join_us_date:d,is_blacklist:o,is_delete:r,isManager:!1,isAdmin:l.findIndex((function(a){return a.pid===t.pid}))>-1}}));if(""!==this.search){var m=this.search.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),A=new RegExp(m);return f.filter((function(t){return null!==t.nickname.match(A)}))}return f},applyMembers:function(){var t=this.roleManage.applyMembers,e=void 0===t?{}:t,n=e.data,o=(void 0===n?{}:n).result;return(void 0===o?[]:o).map((function(t){var e=t.name,n=t.headshot;return{pid:t.pid,nickname:e,about_me:"",photo_image_id:"",photo_image_link:n,job_name:"",company_name:"",join_us_date:null,is_blacklist:!1,is_delete:!1,isManager:!1,apply_id:t.apply_id,apply_question:t.apply_question,apply_answer:t.apply_answer}}))},isCreator:function(){var t=this.roomData.creator_pid;return String(t)===String(this.pid)},publicClassroom:function(){return 1===this.roomData.privacy_state},learningClassroom:function(){return 2===this.roomData.privacy_state}}),watch:{"roleManage.type":function(t){}},methods:Pt(Pt({},Object(d.d)("updatelist",["addRoomUpdate"])),{},{openPrivacyDoc:function(){this.$refs.privacyDoc.openModal()},openModal:function(t){var e=t.action;this.action=e,this.value=!1,this.mOpen="roleManage";var n=this;return this.$refs.modal&&this.$refs.modal.show(),new Promise((function(t){n.resovle=t}))},hideModal:function(){this.$refs.modal&&this.$refs.modal.hide()},onHidden:function(t){this.resovle&&(this.resovle(this.value),this.resovle=void 0);var e=this.manageMembers.map((function(t){var e=t.about_me,n=void 0===e?"":e,o=t.company_name,r=void 0===o?"":o,c=t.is_blacklist,l=void 0===c?"":c,d=t.is_delete,f=t.job_name,m=void 0===f?"":f,A=t.join_us_date,h=t.nickname,v=t.photo_image_id,y=void 0===v?"":v,C=t.photo_image_link,w=void 0===C?"":C;return{headshot:w,info:{jobTitle:m,about_me:n,company_name:r,is_blacklist:l,is_delete:d,join_us_date:A,photo_image_link:w,photo_image_id:y},name:h,pid:t.pid}})),n=this.roomData.room_id,r=this.privacySetting.postPrivacy;this.addRoomUpdate({room_id:n,admins:Object(o.a)(e),member_count:this.roleManage.roomMembers.data?this.roleManage.roomMembers.data.admin.length+this.roleManage.roomMembers.data.member.length:void 0,favorite_count:this.roleManage.followMembers.count,member_post:"public"===r,auto_review:this.autoReview}),this.settingType="roleManage",this.mOpen="",this.roleManage={type:"",roomMembers:{},applyMembers:{},followMembers:{}},this.privacySetting={postPrivacy:""},this.alert={title:"",msg:"",confirmText:"",cancelText:"",noCancel:!1,noConfirm:!1,noXBtn:void 0,tagMsg:{show:!1,htmlMsg:""}},this.search="",this.action=void 0,this.autoReview=!1,this.autoReviewDataSync=!1,this.$emit("closeManage")},onModalShow:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n,o,r,c,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.roomData,o=n.room_id,r=n.member_post,c=n.privacy_state,d=n.auto_review,e.next=3,Promise.all([Object(l.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$api.cls.classroomApplyList({room_id:o,size:9999});case 2:t.roleManage.applyMembers=e.sent;case 3:case"end":return e.stop()}}),e)})))(),Object(l.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$api.cls.classroomMemberList({roomId:o});case 2:t.roleManage.roomMembers=e.sent;case 3:case"end":return e.stop()}}),e)})))(),Object(l.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$api.cls.getRoomFavoriteUsers({room_id:o,size:9999});case 2:t.roleManage.followMembers=e.sent;case 3:case"end":return e.stop()}}),e)})))()]);case 3:t.privacySetting.postPrivacy=r?"public":"protect",t.roleManage.type=1===c?"follow":"member",t.autoReview=d,1===t.action&&2===c&&(t.roleManage.type="apply");case 7:case"end":return e.stop()}}),e)})))()},setRoleType:function(t){this.roleManage.type=t,this.search=""},setType:function(t){this.mOpen=t,this.settingType=t},setPostPrivacy:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n,o,r,c,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,n=t.privacySetting.postPrivacy,"public"!==(o="public"===n?"protect":"public")){e.next=10;break}return t.alert={title:"確定要開啟發文權限嗎？",msg:"",confirmText:"確定",cancelText:"取消",noCancel:!1,noConfirm:!1,noXBtn:void 0,tagMsg:{show:!0,htmlMsg:"開啟".concat(t.publicClassroom?"成員":"共學者","發文權限後，").concat(t.publicClassroom?"教室成員":"共學者","將能在教室中發表貼文。")}},e.next=7,t.$refs.MessageBox.openModal();case 7:if(e.sent){e.next=10;break}return e.abrupt("return");case 10:if(r=t.roomData,c=r.room_id,2!==(l=r.privacy_state)){e.next=16;break}return e.next=14,t.$api.cls.classroomPermission({room_id:c,member_post:"public"===o});case 14:e.next=19;break;case 16:if(1!==l){e.next=19;break}return e.next=19,t.$api.cls.classroomPermission({room_id:c,member_post:"public"===o,guest_post:"public"===o});case 19:t.privacySetting.postPrivacy=o,"protect"===o&&t.$toast.show("已關閉".concat(t.publicClassroom?"成員":"共學者","發文權限")),e.next=25;break;case 23:e.prev=23,e.t0=e.catch(0);case 25:case"end":return e.stop()}}),e,null,[[0,23]])})))()},classroomTransfer:function(t){var e=this;return Object(l.a)(regeneratorRuntime.mark((function n(){var o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,e.alert={title:"確定要移轉教室所有權嗎？",msg:"",confirmText:"確定",cancelText:"取消",noCancel:!1,noConfirm:!1,noXBtn:void 0,tagMsg:{show:!0,htmlMsg:"1. 轉移教室所有權後，將不能主動恢復，且不能再修改和刪除您所發布的公開貼文。<br>2.無法使用排程貼文功能，原本預排的貼文也會被刪除。"}},n.next=4,e.$refs.MessageBox.openModal();case 4:if(!n.sent){n.next=11;break}return o=e.roomData.room_id,n.next=9,e.$api.cls.classroomTransfer({room_id:o,transfer_pid:t});case 9:window.location.reload(!0),e.hideModal();case 11:n.next=15;break;case 13:n.prev=13,n.t0=n.catch(0);case 15:return n.prev=15,e.alert={title:"",msg:"",confirmText:"",cancelText:"",noCancel:!1,noConfirm:!1,noXBtn:void 0,tagMsg:{show:!1,htmlMsg:""}},n.finish(15);case 18:case"end":return n.stop()}}),n,null,[[0,13,15,18]])})))()},reviewApply:function(data){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n,o,r,c,d,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$api.cls.classroomApplyReview({apply_id:data.apply_id,review_state:data.review_state,review_pid:t.pid});case 3:return n=data.apply_id,o=t.roleManage.applyMembers,r=o.data,c=r.result,d=c.findIndex((function(t){return t.apply_id===n})),c.splice(d,1),f=t.roomData.room_id,e.next=12,Promise.all([Object(l.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$api.cls.classroomMemberList({roomId:f});case 2:t.roleManage.roomMembers=e.sent;case 3:case"end":return e.stop()}}),e)})))(),Object(l.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$api.cls.getRoomFavoriteUsers({room_id:f,size:999});case 2:t.roleManage.followMembers=e.sent;case 3:case"end":return e.stop()}}),e)})))()]);case 12:e.next=16;break;case 14:e.prev=14,e.t0=e.catch(0);case 16:case"end":return e.stop()}}),e,null,[[0,14]])})))()},adminAdd:function(data){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n,r,c,l,d,f,m,A,h,v,y,C,w,x,k,_,O;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,n=t.roleManage,r=n.roomMembers,c=void 0===r?{}:r,l=n.followMembers,d=c.data,m=(f=void 0===d?{}:d).member,A=void 0===m?[]:m,h=f.admin,v=l.result,y=void 0===v?[]:v,!(h.length>=3)){e.next=10;break}return t.alert={title:"超過最高設定人數",msg:"最多只能設定三位共同管理員唷！",confirmText:"",cancelText:"我知道了",noCancel:!1,noConfirm:!0,noXBtn:void 0},e.next=9,t.$refs.MessageBox.openModal();case 9:return e.abrupt("return");case 10:return C=data.adminPid,w=t.roomData.room_id,e.next=14,t.$api.cls.classroomAdminAdd({admin_pid:C,room_id:w});case 14:if(x=A.findIndex((function(t){return t.pid===C})),k=y.findIndex((function(t){return t.pid===C})),-1===x){e.next=20;break}return _=A.splice(x,1),h.push.apply(h,Object(o.a)(_)),e.abrupt("return");case 20:-1!==k&&(O=Pt({},y[k]),h.push(Pt({},O))),e.next=25;break;case 23:e.prev=23,e.t0=e.catch(0);case 25:case"end":return e.stop()}}),e,null,[[0,23]])})))()},adminCancel:function(data){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n,r,c,l,d,f,m,A,h,v,y;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=t.roleManage.roomMembers,r=(void 0===n?{}:n).data,l=(c=void 0===r?{}:r).member,d=void 0===l?[]:l,f=c.admin,m=void 0===f?[]:f,A=data.adminPid,h=t.roomData.room_id,e.next=8,t.$api.cls.classroomAdminCancel({admin_pid:A,room_id:h});case 8:if(-1!==(v=m.findIndex((function(t){return t.pid===A})))){e.next=11;break}return e.abrupt("return");case 11:y=m.splice(v,1),d.push.apply(d,Object(o.a)(y)),e.next=17;break;case 15:e.prev=15,e.t0=e.catch(0);case 17:case"end":return e.stop()}}),e,null,[[0,15]])})))()},deleteRoom:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.alert={title:"小提醒",msg:t.canDelete?"確定要關閉此教室？":"教室中仍有許多寶貴的資源，請先刪除或移轉內容後再關閉教室。​​",confirmText:t.canDelete?"確定":"我知道了",cancelText:"取消",noCancel:!t.canDelete,noConfirm:!1,noXBtn:!1},e.next=4,t.$refs.MessageBox.openModal();case 4:if(e.sent&&t.canDelete){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,t.$api.cls.deleteClassroom({roomId:t.roomData.room_id});case 9:n=e.sent,n.success&&(t.hideModal(),setTimeout((function(){t.$router.replace("/classroom")}),600)),e.next=16;break;case 14:e.prev=14,e.t0=e.catch(0);case 16:case"end":return e.stop()}}),e,null,[[0,14]])})))()},removeMember:function(t){var e=this;return Object(l.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e.$api.cls.classroomRemoveMember({room_id:e.roomData.room_id,member_pid:t});case 3:return n.next=5,e.$api.cls.classroomMemberList({roomId:e.roomData.room_id});case 5:e.roleManage.roomMembers=n.sent,n.next=10;break;case 8:n.prev=8,n.t0=n.catch(0);case 10:case"end":return n.stop()}}),n,null,[[0,8]])})))()},handleApplyQuestion:function(t){this.roomData.apply_question=t},toggleAutoReview:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$api.cls.classroomAutoReview({room_id:t.roomData.room_id,auto_review:!t.autoReview});case 3:if(t.autoReview=!t.autoReview,!t.autoReview){e.next=11;break}return n=t.roomData.room_id,e.next=8,t.$api.cls.getRoomFavoriteUsers({room_id:n,size:999});case 8:t.roleManage.followMembers=e.sent,t.autoReviewDataSync=!0,t.syncAutoReivewData();case 11:e.next=15;break;case 13:e.prev=13,e.t0=e.catch(0);case 15:case"end":return e.stop()}}),e,null,[[0,13]])})))()},syncAutoReivewData:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n,o,data;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.roomData.room_id,e.next=3,t.$api.cls.classroomApplyList({room_id:n,size:0});case 3:if(o=e.sent,data=o.data,!(data.count>0)){e.next=12;break}return e.next=9,new Promise((function(t){return setTimeout(t,1e3)}));case 9:t.syncAutoReivewData(),e.next=15;break;case 12:return e.next=14,Promise.all([Object(l.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$api.cls.classroomApplyList({room_id:n,size:999});case 2:t.roleManage.applyMembers=e.sent;case 3:case"end":return e.stop()}}),e)})))(),Object(l.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$api.cls.classroomMemberList({roomId:n});case 2:t.roleManage.roomMembers=e.sent;case 3:case"end":return e.stop()}}),e)})))()]);case 14:t.autoReviewDataSync=!1;case 15:case"end":return e.stop()}}),e)})))()}})},Nt=(n(2226),Object(h.a)(Ft,(function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"",scrollable:"","hide-footer":"","no-close-on-backdrop":"","no-close-on-esc":"","dialog-class":"classManage","body-class":"t4 line-h-143 pb-5"},on:{hidden:t.onHidden,show:t.onModalShow},scopedSlots:t._u([{key:"modal-header",fn:function(n){var o=n.close;return[e("div",{staticClass:"title"},[t._v("教室管理")]),t._v(" "),e("div",{staticClass:"titleM"},[e("span",{directives:[{name:"show",rawName:"v-show",value:""!==t.mOpen,expression:"mOpen !== ''"}],staticClass:"icon",on:{click:function(e){t.mOpen=""}}}),t._v("\n            "+t._s(""!==t.mOpen?"roleManage"===t.mOpen?"成員管理":"privacyManage"===t.mOpen?"權限設定":"審核設定":"教室管理")+"\n        ")]),t._v(" "),e("button",{staticClass:"close jb_icon_delete",attrs:{type:"button"},on:{click:o}}),t._v(" "),e("div",{staticClass:"classInfo"},[e("div",{staticClass:"className"},[t._v(t._s(t.roomData.room_title))]),t._v(" "),e("div",{staticClass:"classType",class:{protect:t.learningClassroom}},[e("span",[t._v(t._s(t.publicClassroom?"公開教室":"共學教室"))])]),t._v(" "),e("div",{staticClass:"statistic"},[e("span",{staticClass:"followCount"},[t._v("關注者\n                    "+t._s(t.roleManage.followMembers?t.roleManage.followMembers.count:0)+" 人")]),t._v(" "),t.learningClassroom?e("span",{staticClass:"hr"}):t._e(),t._v(" "),t.learningClassroom?e("span",{staticClass:"memberCount"},[t._v("共學者\n                    "+t._s(t.roleManage.roomMembers.data?t.roleManage.roomMembers.data.admin.length+t.roleManage.roomMembers.data.member.length:0)+"\n                    人")]):t._e()])])]}},{key:"default",fn:function(){return[e("div",{staticClass:"bodyContainer"},[e("div",{staticClass:"leftContainer",class:{mOpen:""!==t.mOpen}},[e("div",{staticClass:"setItem",class:{active:"roleManage"===t.settingType},on:{click:function(e){return t.setType("roleManage")}}},[e("span",[t._v("成員管理")]),t._v(" "),e("span",{staticClass:"icon"})]),t._v(" "),t.isCreator?e("div",{staticClass:"setItem",class:{active:"privacyManage"===t.settingType},on:{click:function(e){return t.setType("privacyManage")}}},[e("span",[t._v("權限設定")]),t._v(" "),e("span",{staticClass:"icon"})]):t._e(),t._v(" "),t.learningClassroom&&t.isCreator?e("div",{staticClass:"setItem",class:{active:"applyQuestion"===t.settingType},on:{click:function(e){return t.setType("applyQuestion")}}},[e("span",[t._v("審核設定")]),t._v(" "),e("span",{staticClass:"icon"})]):t._e()]),t._v(" "),"roleManage"===t.settingType?[e("div",{staticClass:"rightContainer roleManage",class:{mOpen:""!==t.mOpen}},[e("div",{staticClass:"header"},[t.learningClassroom?e("div",{staticClass:"item",class:{active:"member"===t.roleManage.type},on:{click:function(e){return t.setRoleType("member")}}},[e("span",[t._v("共學成員")])]):t._e(),t._v(" "),e("div",{staticClass:"item",class:{active:"manage"===t.roleManage.type},on:{click:function(e){return t.setRoleType("manage")}}},[e("span",[t._v("共同管理者")])]),t._v(" "),t.learningClassroom?e("div",{staticClass:"item",class:{active:"apply"===t.roleManage.type},on:{click:function(e){return t.setRoleType("apply")}}},[e("span",[t._v("待審核")]),t._v(" "),e("span",{directives:[{name:"show",rawName:"v-show",value:t.applyMembers.length>0,expression:"applyMembers.length > 0"}],staticClass:"icon"},[t._v(t._s(t.applyMembers.length))])]):t._e(),t._v(" "),e("div",{staticClass:"item",class:{active:"follow"===t.roleManage.type,orderFront:t.publicClassroom},on:{click:function(e){return t.setRoleType("follow")}}},[e("span",[t._v("關注者")])])]),t._v(" "),"member"!==t.roleManage.type&&"follow"!==t.roleManage.type||!1!==t.autoReviewDataSync?t._e():e("SearchBar",{attrs:{placeholder:" ".concat("member"===t.roleManage.type?"找某位特定學員嗎？":"搜尋關注者名稱")},model:{value:t.search,callback:function(e){t.search=e},expression:"search"}}),t._v(" "),e("div",{staticClass:"contentContainer"},["member"===t.roleManage.type&&!1===t.autoReviewDataSync?[e("div",{directives:[{name:"show",rawName:"v-show",value:"member"===t.roleManage.type&&t.roomMembers.newJoin.length>0,expression:"\n                                    roleManage.type === 'member' &&\n                                    roomMembers.newJoin.length > 0\n                                "}],staticClass:"contentBox"},[e("div",{staticClass:"title"},[t._v("\n                                    "+t._s("近期加入（".concat(t.roomMembers.newJoin.length,"）"))+"\n                                ")]),t._v(" "),e("RoomMembers",{directives:[{name:"show",rawName:"v-show",value:"member"===t.roleManage.type,expression:"roleManage.type === 'member'"}],attrs:{members:t.roomMembers.newJoin,"show-set-manage":!0,"show-set-manage-tag":!0,"is-creator":t.isCreator,"show-apply-q-a":!0,"show-join-date":!0},on:{adminAdd:t.adminAdd,removeMember:t.removeMember}})],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:"member"===t.roleManage.type,expression:"roleManage.type === 'member'"}],staticClass:"contentBox"},[e("div",{staticClass:"title"},[t._v("\n                                    "+t._s("成員名單（".concat(t.roomMembers.member.length,"）"))+"\n                                ")]),t._v(" "),e("RoomMembers",{directives:[{name:"show",rawName:"v-show",value:"member"===t.roleManage.type,expression:"roleManage.type === 'member'"}],attrs:{members:t.roomMembers.member,"show-set-manage":!0,"show-set-manage-tag":!0,"is-creator":t.isCreator,"apply-q-a-toggle":!0,"show-join-date":!0},on:{adminAdd:t.adminAdd,removeMember:t.removeMember}})],1)]:"member"===t.roleManage.type&&!0===t.autoReviewDataSync?[e("div",{staticClass:"dataSyncLoaing"},[e("img",{staticClass:"icon",attrs:{src:n(375)}}),t._v(" "),e("div",{staticClass:"content"},[t._v("\n                                    同步資料需要一些時間，稍後即可看到最新名單～\n                                ")])])]:t._e(),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:"manage"===t.roleManage.type,expression:"roleManage.type === 'manage'"}],staticClass:"contentBox"},[e("div",{staticClass:"title"},[t._v("\n                                "+t._s("".concat(t.manageMembers.length,"位共同管理者"))+"\n                            ")]),t._v(" "),e("RoomMembers",{directives:[{name:"show",rawName:"v-show",value:"manage"===t.roleManage.type,expression:"roleManage.type === 'manage'"}],attrs:{members:t.manageMembers,"show-set-creator":t.isCreator,"is-creator":t.isCreator},on:{adminCancel:t.adminCancel,classroomTransfer:t.classroomTransfer}})],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:"apply"===t.roleManage.type,expression:"roleManage.type === 'apply'"}],staticClass:"contentBox",class:{autoReview:t.autoReview}},[t.autoReview?t.autoReview?[e("div",{staticClass:"title"},[t._v("已開啟自動審核")]),t._v(" "),e("div",{staticClass:"content"},[t._v("\n                                    開啟自動審核時，申請加入共學的學員將自動成為共學成員。你可以到"),e("span",{staticClass:"link",on:{click:function(e){return t.setType("applyQuestion")}}},[t._v("審核設定")]),t._v("調整變更。\n                                ")])]:t._e():[e("div",{staticClass:"title"},[t._v("\n                                    "+t._s("".concat(t.applyMembers.length,"則加入要求"))+"\n                                ")]),t._v(" "),e("RoomMembers",{directives:[{name:"show",rawName:"v-show",value:"apply"===t.roleManage.type,expression:"roleManage.type === 'apply'"}],attrs:{members:t.applyMembers,"show-apply":!0},on:{reviewApply:t.reviewApply}})]],2),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:"follow"===t.roleManage.type,expression:"roleManage.type === 'follow'"}],staticClass:"contentBox"},[e("div",{staticClass:"title"},[t._v("\n                                "+t._s("".concat(t.followMembers.length,"位關注者"))+"\n                            ")]),t._v(" "),e("RoomMembers",{directives:[{name:"show",rawName:"v-show",value:"follow"===t.roleManage.type,expression:"roleManage.type === 'follow'"}],attrs:{members:t.followMembers,"show-set-follow":t.isCreator&&1===t.roomData.privacy_state,"show-set-manage-tag":!0},on:{adminAdd:t.adminAdd}})],1)],2)],1)]:t._e(),t._v(" "),"privacyManage"===t.settingType&&t.isCreator?[e("div",{staticClass:"rightContainer privacyManage",class:{mOpen:""!==t.mOpen}},[e("div",{staticClass:"postPrivacy"},[e("div",{staticClass:"left"},[e("div",{staticClass:"title"},[t._v("\n                                "+t._s(t.publicClassroom?"成員":"共學者")+"發文權限\n                            ")]),t._v(" "),e("div",{staticClass:"description"},[t._v("\n                                開啟時，"+t._s(t.publicClassroom?"所有人":"共學者")+"將能於教室中發表文章\n                            ")])]),t._v(" "),e("Toggle",{staticClass:"right",attrs:{active:"public"===t.privacySetting.postPrivacy},on:{toggleClick:t.setPostPrivacy}})],1),t._v(" "),e("div",{staticClass:"pricacyPermissions"},[e("div",{staticClass:"title"},[t._v("隱私權限")]),t._v(" "),e("div",{staticClass:"des",on:{click:t.openPrivacyDoc}},[t._v("瞭解更多教室隱私權限")])]),t._v(" "),e("div",{staticClass:"closeRoom"},[e("div",{staticClass:"title"},[t._v("關閉教室")]),t._v(" "),e("div",{staticClass:"des",on:{click:t.deleteRoom}},[t._v("永久關閉教室")])])])]:t._e(),t._v(" "),"applyQuestion"===t.settingType&&t.isCreator?[e("div",{staticClass:"rightContainer applyQuestion",class:{mOpen:""!==t.mOpen}},[e("ApplyQuestion",{staticClass:"mb-6",attrs:{"room-data":t.roomData},on:{handleApplyQuestion:t.handleApplyQuestion}}),t._v(" "),e("div",{staticClass:"autoApply"},[e("div",{staticClass:"left"},[e("span",{staticClass:"title"},[t._v("自動審核")]),t._v(" "),e("span",{staticClass:"content"},[t._v("開啟自動審核時，申請加入共學的學員回答問題後將自動成為共學成員。")]),t._v(" "),e("span",{staticClass:"status"},[t._v("自動審核"+t._s(t.autoReview?"開啟":"關閉")+"中")])]),t._v(" "),e("Toggle",{staticClass:"right",attrs:{active:t.autoReview},on:{toggleClick:t.toggleAutoReview}})],1)],1)]:t._e()],2),t._v(" "),e("MessageBox",{ref:"MessageBox",attrs:{title:t.alert.title,msg:t.alert.msg,"no-cancel":t.alert.noCancel,"no-confirm":t.alert.noConfirm,"confirm-text":t.alert.confirmText,"cancel-text":t.alert.cancelText,"no-x-btn":t.alert.noXBtn}},[t.alert.tagMsg&&t.alert.tagMsg.show?e("div",{domProps:{innerHTML:t._s(t.alert.tagMsg.htmlMsg)}}):t._e()]),t._v(" "),e("PrivacyDoc",{ref:"privacyDoc"})]},proxy:!0}])})}),[],!1,null,"6ec49d72",null).exports),Qt=n(33),Ht=(n(163),n(139),n(113)),Gt=n.n(Ht);function Vt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function Jt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Vt(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Vt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Kt={props:{size:{type:Object,required:!0}},data:function(){return{file:void 0,fileId:void 0,timer:void 0,imgUrl:""}},methods:Jt(Jt(Jt({},Object(d.b)("document",["getSignature","getFileDetail","getFileUrl"])),Object(d.b)("heybar",["cryptoEncrypt"])),{},{selectImg:function(t){this.file=t,this.getDocSignature()},formatFile:function(t){return{params:{contentDisposition:t.name,title:t.name,description:"nabi",contentType:t.type,extra:{multiAction:[{method:"resize",param:{basis:"4",width:this.size.width,height:this.size.height},tag:"".concat(this.size.width,"x").concat(this.size.height),isSave:"1"}]}},file:t}},getDocSignature:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n,data;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!((t.file&&t.file.size/1024/1024)>5)){e.next=5;break}return t.$emit("fail","檔案大小超過限制，請挑選5M以下的圖檔"),t.clear(),e.abrupt("return");case 5:return n=t.formatFile(t.file),e.prev=6,e.next=9,t.getSignature(n.params);case 9:data=e.sent,t.fileId=data.fileId,t.upload(data),e.next=18;break;case 14:e.prev=14,e.t0=e.catch(6),t.clear(),t.$emit("error","發生錯誤");case 18:case"end":return e.stop()}}),e,null,[[6,14]])})))()},upload:function(data){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.$emit("upload"),(n=new FormData).append("key",data.objectKey),n.append("content-type",t.file.type),n.append("acl",data.acl),n.append("X-Amz-Credential",data.xAmzCredential),n.append("X-Amz-Algorithm",data.xAmzAlgorithm),n.append("X-Amz-Date",data.xAmzDate),n.append("policy",data.policyDocument),n.append("X-Amz-Signature",data.signature),n.append("file",t.file),e.next=14,Gt.a.post("https://".concat(data.uploadDomain),n);case 14:t.getImageUrl(t.fileId),e.next=21;break;case 17:e.prev=17,e.t0=e.catch(0),t.clear(),t.$emit("error","發生錯誤");case 21:case"end":return e.stop()}}),e,null,[[0,17]])})))()},getImageUrl:function(t){var e=this;this.timer=setInterval(Object(l.a)(regeneratorRuntime.mark((function n(){var o,r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e.getFileDetail(t);case 3:if("success"!==(o=n.sent).convertStatus){n.next=13;break}return n.next=7,e.cryptoEncrypt(e.fileId+":".concat(e.size.width,"x").concat(e.size.height,":1"));case 7:r=n.sent,clearInterval(e.timer),e.imgUrl="".concat("https://heybar.an9.104.com.tw","/resource/").concat(r),e.$emit("finish",{imgUrl:e.imgUrl,fileId:e.fileId}),n.next=14;break;case 13:"fail"===o.convertStatus?(e.clear(),e.$emit("fail","轉檔失敗")):e.$emit("upload");case 14:n.next=20;break;case 16:n.prev=16,n.t0=n.catch(0),e.clear(),e.$emit("error","發生錯誤");case 20:case"end":return n.stop()}}),n,null,[[0,16]])}))),1e3)},clear:function(){clearInterval(this.timer),this.timer=void 0,this.file=void 0,this.fileId=void 0,this.imgUrl=""}})},Yt=Object(h.a)(Kt,(function(){var t=this;return(0,t._self._c)("div",[t._v(t._s(t.file))])}),[],!1,null,null,null).exports,qt=n(2227),zt=n.n(qt),Xt=null,Wt={name:"Cropper",props:{id:{type:String,default:"cropper"},src:{type:String,default:""},size:{type:Object,default:function(){return{}}},propsCropInfo:{type:Object,default:function(){return{}}}},data:function(){return{cropInfo:{},isFirstMount:!0,isMobile:!1,cropperContainerSize:{width:0,height:0},smallestCanvasSize:{width:0,height:0},currentCanvasSize:{width:0,height:0},sizeBetweenSmallestAndOriginal:0,sizeBetweenMaskandCanvas:0}},computed:{calcRatio:function(){return this.sizeBetweenSmallestAndOriginal>1?{max:3*this.sizeBetweenSmallestAndOriginal,min:this.sizeBetweenSmallestAndOriginal}:{max:3*this.sizeBetweenMaskandCanvas<2?3*this.sizeBetweenMaskandCanvas:2,min:this.sizeBetweenMaskandCanvas}}},watch:{src:function(t,e){return this.cropper.replace(t),t}},mounted:function(){Xt=this,this.updateIsMobile(),this.onInit({cropInfo:this.cropInfo,propsCropInfo:this.propsCropInfo}),window.addEventListener("resize",this.initCropper)},destroyed:function(){this.cropper&&(this.cropper.destroy(),this.cropper=null)},methods:{onInit:function(t){var e=document.getElementById(this.id),n=t.propsCropInfo;this.cropper=new zt.a(e,{viewMode:1,dragMode:"move",minContainerWidth:n.PC.CONTAINER.WIDTH,minContainerHeight:n.PC.CONTAINER.HEIGHT,center:!1,guides:!1,highlight:!1,rotatable:!0,scalable:!0,zoomOnTouch:!1,zoomOnWheel:!1,cropBoxMovable:!1,cropBoxResizable:!1,toggleDragModeOnDblclick:!1,ready:function(t){Xt.initCropper(),Xt.isFirstMount=!1}})},initCropper:function(){if(this.cropper){this.updateIsMobile(),this.isFirstMount||this.cropper.reset();var t=this.cropper.getImageData(),e=t.width,n=t.height,o=this.cropper.getImageData(),r=o.naturalHeight,data={naturalSize:{width:o.naturalWidth,height:r},canvasSize:{width:e,height:n}};if(this.cropper.getData().rotate%90==0&&this.cropper.getData().rotate%180!=0){var c=e;e=n,n=c}var l=e/this.cropInfo.MASK.WIDTH>=n/this.cropInfo.MASK.HEIGHT;if(this.isFirstMount){var d=this.cropper.zoomTo(.1).getCanvasData();this.smallestCanvasSize={width:this.cropInfo.MASK.WIDTH,height:d.height*(this.cropInfo.MASK.WIDTH/d.width)}}var f=this.cropInfo.MASK.WIDTH/(this.cropInfo.ACTUAL.WIDTH>e?e:this.cropInfo.ACTUAL.WIDTH);this.cropper.zoomTo(f);var m=l?"height":"width";this.isMobile&&this.cropper.zoomTo(1),this.updateCropperContainerSize(),this.updateCropBox(),this.isMobile&&this.cropper.zoomTo(f),this.isFirstMount&&(this.sizeBetweenSmallestAndOriginal=this.smallestCanvasSize[m]/data.naturalSize[m],this.sizeBetweenMaskandCanvas=this.cropInfo.MASK[m.toUpperCase()]/data.canvasSize[m]),this.updateCurrentCanvasSize(),this.updateCropBox(),this.isFirstMount?this.cropper.setCanvasData({width:this.smallestCanvasSize.width,height:this.smallestCanvasSize.height}):this.cropper.setCanvasData({width:this.currentCanvasSize.width,height:this.currentCanvasSize.height}),this.updateCropBox()}},updateIsMobile:function(){this.isMobile=window.innerWidth<768,this.cropInfo=this.propsCropInfo[this.isMobile?"M":"PC"]},updateCropperContainerSize:function(){var t=document.querySelector(".modal-body");t&&(!this.isMobile||t.clientWidth>this.cropInfo.CONTAINER.WIDTH?this.cropperContainerSize={width:this.cropInfo.CONTAINER.WIDTH,height:this.cropInfo.CONTAINER.HEIGHT}:this.cropperContainerSize={width:t.clientWidth-30,height:t.clientHeight})},updateCropBox:function(){if(this.cropper){this.cropper.setCropBoxData({left:0,top:0});var t=document.getElementsByClassName("cropper-canvas")[0].clientWidth,e=document.getElementsByClassName("cropper-canvas")[0].clientHeight;this.updateCropCanvas(t,e),this.cropper.setCropBoxData({width:this.cropInfo.MASK.WIDTH,height:this.cropInfo.MASK.HEIGHT}),this.cropper.setCropBoxData({left:(this.cropperContainerSize.width-this.cropInfo.MASK.WIDTH)/2,top:(this.cropInfo.CONTAINER.HEIGHT-this.cropInfo.MASK.HEIGHT)/2}),this.updateCropCanvas(t,e)}},updateCropCanvas:function(t,e){this.cropper.setCanvasData({left:(this.cropperContainerSize.width-t)/2,top:(this.cropperContainerSize.height-e)/2})},updateCurrentCanvasSize:function(){var t=this.cropper.getCanvasData(),e=t.width,n=t.height;this.currentCanvasSize={width:e,height:n}},changeScale:function(t){this.cropper.zoom(t/100)},saveCropImg:function(){var t=this;this.cropper.getCroppedCanvas().toBlob((function(e){var n=new File([e],"proFileCover.jpg",{type:e.type,lastModified:Date.now()});t.$emit("saveCrop",n)}))}}},Zt=(n(2228),n(2229),Object(h.a)(Wt,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"cropper"},[e("div",{staticClass:"cropper__container",style:{height:"".concat(t.cropInfo.CONTAINER?t.cropInfo.CONTAINER.HEIGHT:0,"px")}},[e("img",{ref:"image",attrs:{id:t.id,src:t.src,alt:"cropper-container"}})])])}),[],!1,null,"6f51c154",null).exports),$t=(n(399),Object.freeze({A:Object.freeze({PC:Object.freeze({CONTAINER:Object.freeze({WIDTH:672,HEIGHT:320}),MASK:Object.freeze({WIDTH:390,HEIGHT:130}),DISPLAY:Object.freeze({WIDTH:1168,HEIGHT:389}),ACTUAL:Object.freeze({WIDTH:1168,HEIGHT:389})}),M:Object.freeze({CONTAINER:Object.freeze({WIDTH:672,HEIGHT:320}),MASK:Object.freeze({WIDTH:292,HEIGHT:97}),DISPLAY:Object.freeze({WIDTH:1168,HEIGHT:389}),ACTUAL:Object.freeze({WIDTH:1168,HEIGHT:389})})})})),te=Object.freeze({A:Object.freeze({PC:Object.freeze({CONTAINER:Object.freeze({WIDTH:640,HEIGHT:320}),MASK:Object.freeze({WIDTH:200,HEIGHT:200}),DISPLAY:Object.freeze({WIDTH:36,HEIGHT:36}),ACTUAL:Object.freeze({WIDTH:36,HEIGHT:36})}),M:Object.freeze({CONTAINER:Object.freeze({WIDTH:640,HEIGHT:320}),MASK:Object.freeze({WIDTH:150,HEIGHT:150}),DISPLAY:Object.freeze({WIDTH:36,HEIGHT:36}),ACTUAL:Object.freeze({WIDTH:36,HEIGHT:36})})})});function ee(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function ne(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ee(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ie={components:{ImageUpload:Yt,Cropper:Zt,MessageBox:Dt.a},props:{},data:function(){return{hint:{title:"",msg:"",confirmText:"",cancelText:"",noCancel:!1,noConfirm:!1},step:"select",updateLoading:!1,rangeSetting:{rangeMin:0,rangeMax:100,rangeStep:1,rangeVal:0,tempRangeVal:0},backgroundInfo:{width:1168,height:389},iconInfo:{width:256,height:256},uploadMode:"background",imageSrc:null}},computed:{propsCropInfo:function(){return"icon"===this.uploadMode?te.A:$t.A},cropInfo:function(){return"icon"===this.uploadMode?this.iconInfo:this.backgroundInfo}},methods:{openModal:function(){this.value=!1;var t=this;return this.$refs.modal&&this.$refs.modal.show(),new Promise((function(e){t.resovle=e}))},hideModal:function(){this.$refs.modal&&this.$refs.modal.hide()},onHidden:function(t){this.resovle&&(this.resovle(this.value),this.resovle=void 0),this.reset()},reset:function(){this.imageSrc="",this.step="select",this.rangeSetting.rangeVal=0,this.rangeSetting.tempRangeVal=0,this.updateLoading=!1},uploadImgProcess:function(t){var e=this,n=t.target.files[0];if(!/\.(jpg|jpeg|png|JPG|PNG)$/.test(t.target.value))return!1;var o=new FileReader;o.onload=function(t){var data;data="object"===Object(Qt.a)(t.target.result)?window.URL.createObjectURL(new Blob([t.target.result])):t.target.result,e.imageSrc=data,e.step="crop"},o.readAsArrayBuffer(n)},uploadImg:function(t){this.uploadMode="background",this.uploadImgProcess(t)},uploadIconImg:function(t){this.uploadMode="icon",this.uploadImgProcess(t)},onRangeInput:function(){var t=parseInt(this.rangeSetting.tempRangeVal),e=parseInt(this.rangeSetting.rangeVal);this.rangeSetting.tempRangeVal=this.rangeSetting.rangeVal;var n=e-t;this.changeScale(n)},onRangeChange:function(){var t=parseInt(this.rangeSetting.tempRangeVal),e=parseInt(this.rangeSetting.rangeVal);this.rangeSetting.tempRangeVal=this.rangeSetting.rangeVal;var n=e-t>0?1:-1;this.changeScale(n)},changeScale:function(t){t=t||1,this.$refs.cropper.changeScale(t)},onSave:function(t){this.updateLoading||(this.updateLoading=!0,this.$refs.ImageUpload.selectImg(t))},onImageUpload:function(){},onImageFinish:function(t){this.$emit("onSave",ne(ne({},t),{},{type:this.uploadMode})),this.hideModal()},onImageUploadFail:function(t){var e=this;return Object(l.a)(regeneratorRuntime.mark((function n(){var o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o={title:"提示",msg:t,confirmText:"確定",cancelText:"取消",noCancel:!0,noConfirm:!1},e.hint=o,n.next=4,e.$refs.hint.openModal();case 4:e.hideModal();case 5:case"end":return n.stop()}}),n)})))()}}},ae=(n(2230),Object(h.a)(ie,(function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{id:"EditClassroomBgModal",centered:"",scrollable:"","no-close-on-backdrop":"","no-close-on-esc":"","hide-footer":"select"===t.step,"dialog-class":"modal-720","body-class":"t4 line-h-143 pb-5"},on:{hidden:t.onHidden},scopedSlots:t._u([{key:"modal-header",fn:function(n){var o=n.close;return[e("div",{staticClass:"h3"}),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button"},on:{click:o}})]}},{key:"default",fn:function(){return[e("h2",[t._v("上傳背景圖")]),t._v(" "),e("div",["select"===t.step?e("div",[e("div",{staticClass:"uploadBox",on:{click:function(e){return t.$refs.UploadInput.click()}}},[e("div",{staticClass:"uploadBox__title"},[e("i",{staticClass:"jb_icon_add"}),t._v(" "),e("span",[t._v("上傳圖片")])]),t._v(" "),e("div",{staticClass:"uploadBox__recommend"},[t._v("\n                        檔案格式為JPG/PNG，最佳尺寸"+t._s(t.backgroundInfo.width)+" x\n                        "+t._s(t.backgroundInfo.height)+"\n                    ")])]),t._v(" "),e("input",{ref:"UploadInput",staticClass:"inputFile",attrs:{type:"file",accept:"image/png, image/jpeg, image/gif, image/jpg"},on:{change:function(e){return t.uploadImg(e)}}}),t._v(" "),e("div",{staticClass:"uploadBox",on:{click:function(e){return t.$refs.UploadIconInput.click()}}},[e("div",{staticClass:"uploadBox__title"},[e("i",{staticClass:"jb_icon_add"}),t._v(" "),e("span",[t._v("上傳小圖")])]),t._v(" "),e("div",{staticClass:"uploadBox__recommend"},[t._v("\n                        檔案格式為JPG/PNG，最佳尺寸"+t._s(t.iconInfo.width)+" x\n                        "+t._s(t.iconInfo.height)+"\n                    ")])]),t._v(" "),e("input",{ref:"UploadIconInput",staticClass:"inputFile",attrs:{type:"file",accept:"image/png, image/jpeg, image/gif, image/jpg"},on:{change:function(e){return t.uploadIconImg(e)}}})]):t._e(),t._v(" "),"crop"===t.step?e("div",[e("div",{staticClass:"cropper-content"},[t.updateLoading?e("div",{staticClass:"skeleton-loading"},[e("img",{staticClass:"loader-icon",attrs:{src:n(375)}})]):t._e(),t._v(" "),e("Cropper",{ref:"cropper",attrs:{src:t.imageSrc,size:t.cropInfo,"props-crop-info":t.propsCropInfo},on:{saveCrop:t.onSave}})],1),t._v(" "),e("div",{staticClass:"uploadEdit"},[e("div",{staticClass:"upload-reload"},[e("button",{on:{click:t.reset}},[e("i",{staticClass:"jb_icon_sync"}),t._v("\n                            重新選擇\n                        ")])]),t._v(" "),e("div",{staticClass:"cropper-zoom-edit"},[e("i",{staticClass:"jb_icon_background jb_icon_background--zoom-in"}),t._v(" "),e("div",{staticClass:"upload-input-range"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.rangeSetting.rangeVal,expression:"rangeSetting.rangeVal"}],attrs:{min:t.rangeSetting.rangeMin,max:t.rangeSetting.rangeMax,step:t.rangeSetting.rangeStep,type:"range"},domProps:{value:t.rangeSetting.rangeVal},on:{input:t.onRangeInput,change:t.onRangeChange,__r:function(e){return t.$set(t.rangeSetting,"rangeVal",e.target.value)}}})]),t._v(" "),e("i",{staticClass:"jb_icon_background jb_icon_background--zoom-out"})])]),t._v(" "),e("ImageUpload",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],ref:"ImageUpload",attrs:{size:t.cropInfo},on:{upload:t.onImageUpload,finish:t.onImageFinish,fail:t.onImageUploadFail,error:t.onImageUploadFail}})],1):t._e()])]},proxy:!0},{key:"modal-footer",fn:function(n){var o=n.cancel;return["crop"===t.step?e("div",{staticClass:"d-flex justify-content-center"},[e("div",{staticClass:"btn btn-lg btn-outline-primary mr-4",on:{click:o}},[t._v("取消")]),t._v(" "),e("div",{class:["btn","btn-lg","btn-secondary",{"pointer-event-stop":t.updateLoading}],on:{click:function(e){return t.$refs.cropper.saveCropImg()}}},[t._v("\n                儲存\n            ")])]):t._e(),t._v(" "),e("MessageBox",{ref:"hint",attrs:{title:t.hint.title,msg:t.hint.msg,"confirm-text":t.hint.confirmText,"cancel-text":t.hint.cancelText,"no-cancel":t.hint.noCancel,"no-confirm":t.hint.noConfirm}})]}}])})}),[],!1,null,"61442d2e",null).exports),oe={props:{isOpenInvite:{type:Boolean,default:!1}},data:function(){return{}},mounted:function(){},methods:{shareToSocialMedia:function(t){var e=this,n="".concat("https://nabi.104.com.tw").concat(this.$route.fullPath,"?utm_source=104nabi&utm_medium=share");"FB"===t?window.open("http://www.facebook.com/share.php?u=".concat(encodeURIComponent(n),"&hashtag=").concat(encodeURIComponent("#104學習精靈")),"_blank","toolbar=yes,scrollbars=yes,resizable=yes,left=500,width=800,height=600"):"LINE"===t?window.open("https://social-plugins.line.me/lineit/share?url=".concat(encodeURIComponent(n),"&text=").concat(encodeURIComponent("#104學習精靈")),"_blank","toolbar=yes,scrollbars=yes,resizable=yes,left=500,width=800,height=600"):"COPY"===t&&navigator.clipboard.writeText(n).then((function(){e.$toast.show("您已複製連結！")}),(function(){}))}}},re=Object(h.a)(oe,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"sharePop",class:[{isOpen:t.isOpenInvite}]},[e("div",{staticClass:"shareTo"},[e("div",{staticClass:"shareTo-label"},[t._v("分享教室")]),t._v(" "),e("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:function(){return t.$emit("closePanel")},expression:"() => $emit('closePanel')"}],staticClass:"shareTo-list"},[e("div",{staticClass:"shareTo-item",on:{click:function(e){return t.shareToSocialMedia("LINE")}}},[e("img",{attrs:{src:n(587),alt:""}}),t._v(" "),e("p",[t._v("Line")])]),t._v(" "),e("div",{staticClass:"shareTo-item",on:{click:function(e){return t.shareToSocialMedia("FB")}}},[e("img",{attrs:{src:n(586),alt:""}}),t._v(" "),e("p",[t._v("Facebook")])]),t._v(" "),e("div",{staticClass:"shareTo-item",on:{click:function(e){return t.shareToSocialMedia("COPY")}}},[e("img",{attrs:{src:n(588),alt:""}}),t._v(" "),e("p",[t._v("複製連結")])])])])])}),[],!1,null,null,null).exports;function se(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function ce(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?se(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):se(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var le=n(39)("src/client/components/page/Room/UnOfficeClassroomBanner.vue"),ue=le.debug,de=le.error,pe={components:{EditClassroomBgModal:ae,ClassroomManage:Nt,ClassroomSharePanel:re},props:{isOpenAboutClassroom:{type:Boolean,default:!1},isOffice:{type:Boolean,default:!0},roomData:{type:Object,default:function(){return{}}},contentList:{type:Object,require:!0,default:function(){return{}}},isCreator:{type:Boolean,default:function(){return!1}},roomManagers:{type:Array,default:function(){return[]}},showApplyHint:{type:Boolean,default:!1}},data:function(){return{isEllpsis:!0,isOpenInvite:!1,showMoreBtn:!1,waitBigClassNav:!0}},computed:ce(ce(ce({},Object(d.e)(["isMobile","bigClassNavIsHandle"])),Object(d.c)(["isLogin","pid"])),{},{isShowManage:function(){var t=this;return this.roomManagers.findIndex((function(e){return String(e.pid)===String(t.pid)}))>-1}}),watch:{"roomData.description":{handler:function(t,e){t&&this.initMore()},immediate:!0},bigClassNavIsHandle:function(t){var e=this.contentList.isInitial,n=void 0!==e&&e;if(this.waitBigClassNav&&t&&n){this.waitBigClassNav=!1;var o=this.$refs.bannerTitleRef;if(o){var r=o.clientHeight;this.$nextTick((function(){window.scroll({top:r/2+16,behavior:"smooth"})}))}}},"contentList.isInitial":{handler:function(t,e){if(t){var n=t||!1;if(this.bigClassNavIsHandle&&this.waitBigClassNav&&n){this.waitBigClassNav=!1;var o=this.$refs.bannerTitleRef;if(o){var r=o.clientHeight;this.$nextTick((function(){window.scroll({top:r/2+16,behavior:"smooth"})}))}}}},immediate:!0}},mounted:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n,o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.initMore(),t.waitBigClassNav=!0,n=t.$route.query,!(r=(o=void 0===n?{}:n).action)||1!==Number(r)||t.isLogin){e.next=10;break}return e.next=7,new Promise((function(e){t.$emit("login-alert",{msg:"請先登入，才能進行審核喔！"},e)}));case 7:t.$router.push({query:ce(ce({},o),{},{action:void 0})}),e.next=11;break;case 10:r&&1===Number(r)&&t.isShowManage&&(2===t.roomData.privacy_state&&t.openManageClassroomModal({action:1}),t.$router.push({query:ce(ce({},o),{},{action:void 0})}));case 11:case"end":return e.stop()}}),e)})))()},methods:ce(ce(ce({},Object(d.b)("user",["getUserName"])),Object(d.d)("updatelist",["addRoomUpdate"])),{},{openManageClassroomModal:function(t){var e=this;return Object(l.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e.getUserName();case 3:return n.next=5,e.$refs.ClassroomManage.openModal(t);case 5:n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),de("component error",n.t0);case 10:case"end":return n.stop()}}),n,null,[[0,7]])})))()},openEditClassroomBgModal:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.getUserName();case 3:t.$refs.EditClassroomBgModal.openModal(),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),de("component error",e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})))()},initMore:function(){this.$nextTick((function(){var t=this.$refs.classRoomInfo;t&&(this.showMoreBtn=t.clientWidth<t.scrollWidth)}))},shareToSocialMediaForMobile:function(t){var e=this;return Object(l.a)(regeneratorRuntime.mark((function t(){var n,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.isMobile){t.next=2;break}return t.abrupt("return");case 2:if(n="".concat("https://nabi.104.com.tw").concat(e.$route.fullPath,"?utm_source=104nabi&utm_medium=share"),o={title:"#104學習精靈",text:"",url:n},!navigator.canShare){t.next=15;break}return t.prev=5,t.next=8,navigator.share(o);case 8:t.next=13;break;case 10:t.prev=10,t.t0=t.catch(5),ue("Itme:click shareToSocialMedia",t.t0);case 13:t.next=16;break;case 15:e.isOpenInvite=!e.isOpenInvite;case 16:case"end":return t.stop()}}),t,null,[[5,10]])})))()},openInvite:function(){this.isMobile?this.shareToSocialMediaForMobile():this.isOpenInvite=!this.isOpenInvite},toggleRoomState:function(){this.$emit("toggleRoomState")}})},ge=(n(2231),Object(h.a)(pe,(function(){var t=this,e=this,n=e._self._c;return n("div",[n("div",{ref:"bannerTitleRef",staticClass:"unOfficeClassroomBannerBlock unOfficeClassroomBannerBlock--shadow"},[n("div",{staticClass:"unOfficeClassroomBannerBlock--wrap",style:{backgroundImage:"linear-gradient(to bottom, #ffffff00, #ffffff), url("+"".concat(e.roomData.photo_file_url?e.roomData.photo_file_url:e.$getDefaultImgByHash(e.roomData.room_title))+")"}},[n("div",{staticClass:"unOfficeClassroomBannerBlock--BN",style:{backgroundImage:"url("+"".concat(e.roomData.photo_file_url?e.roomData.photo_file_url:e.$getDefaultImgByHash(e.roomData.room_title))+")"}},[n("div",{staticClass:"toolBtnList"},[n("div",{staticClass:"toolBtn search",attrs:{"data-gtm-search":"教室內搜尋"},on:{click:function(){e.$emit("openRoomSearch")}}}),e._v(" "),Number(this.pid)!==Number(e.roomData.creator_pid)?n("div",{staticClass:"toolBtn share",on:{click:function(t){return t.stopPropagation(),e.openInvite()}}},[n("ClassroomSharePanel",{attrs:{"is-open-invite":e.isOpenInvite},on:{closePanel:function(t){e.isOpenInvite=!1}}})],1):e._e(),e._v(" "),Number(this.pid)===Number(e.roomData.creator_pid)?n("div",{staticClass:"toolBtn",on:{click:e.openEditClassroomBgModal}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{d:"M13.207 1.25c1.526 0 2.767 1.312 2.767 2.927v7.646c0 1.614-1.24 2.927-2.767 2.927H2.787c-1.525 0-2.766-1.313-2.766-2.927V4.177c0-1.615 1.24-2.927 2.767-2.927zm-2.782 6.898c-.422.45-1 1.097-1.554 1.721-.617.691-1.21 1.357-1.555 1.712-.4.415-1.03.496-1.53.201l-.09-.064-1.633-1.326-2.03 2.066a.738.738 0 0 1-.285.176c.228.372.61.616 1.04.616h10.42c.433 0 .817-.247 1.045-.623zm2.782-5.398H2.787c-.698 0-1.266.64-1.266 1.427v6.663l1.635-1.664a1.245 1.245 0 0 1 1.53-.2l.09.063 1.63 1.323c.342-.364.835-.918 1.343-1.49.664-.744 1.354-1.52 1.794-1.972.256-.262.614-.388.972-.375.366.025.7.207.922.5l3.037 3.553v-6.4c0-.788-.568-1.428-1.267-1.428zm-7.71 1.586a1.406 1.406 0 1 1 0 2.812 1.406 1.406 0 0 1 0-2.812z",fill:"#292929","fill-rule":"evenodd"}})])]):e._e()])])]),e._v(" "),n("div",{staticClass:"unOfficeClassroomBannerBlock--Tool mb-0",class:{isOpenAboutClassroom:e.isOpenAboutClassroom}},[n("div",{staticClass:"classroomTitleBlock"},[n("div",{staticClass:"overflowMuiltLine classroomTitle"},[n("span",{directives:[{name:"show",rawName:"v-show",value:e.isOpenAboutClassroom,expression:"isOpenAboutClassroom"}],staticClass:"chevron-left",on:{click:function(){e.$emit("toggleAboutClassroom")}}}),e._v("\n                    "+e._s(e.roomData.room_title)+"\n                ")]),e._v(" "),n("div",{staticClass:"classIdentityInfo"},[n("span",{staticClass:"classType",class:{protect:2===e.roomData.privacy_state}},[e._v(e._s(1===e.roomData.privacy_state?"公開教室":"共學教室"))]),n("span",{staticClass:"hr"}),n("span",[e._v("關注者 "+e._s(e.roomData.favorite_count)+" 人")]),2===e.roomData.privacy_state?n("span",{staticClass:"hr"}):e._e(),2===e.roomData.privacy_state?n("span",[e._v("共學者 "+e._s(e.roomData.member_count)+" 人")]):e._e()])]),e._v(" "),n("div",{staticClass:"classManageToolBlock"},[n("div",{staticClass:"toolBtn search",attrs:{"data-gtm-search":"教室內搜尋"},on:{click:function(){e.$emit("openRoomSearch")}}}),e._v(" "),e.isShowManage?n("div",{staticClass:"toolBtn",class:{isHint:e.showApplyHint},on:{click:e.openManageClassroomModal}},[n("span",{staticClass:"toolText icon-manageRoom"},[e._v("管理教室")])]):e._e(),e._v(" "),Number(this.pid)!==Number(e.roomData.creator_pid)?n("div",{staticClass:"toolBtn share",on:{click:function(t){return t.stopPropagation(),e.openInvite()}}},[n("ClassroomSharePanel",{attrs:{"is-open-invite":e.isOpenInvite},on:{closePanel:function(t){e.isOpenInvite=!1}}})],1):e._e(),e._v(" "),Number(this.pid)===Number(e.roomData.creator_pid)?n("div",{staticClass:"toolBtn changeBGImg",on:{click:e.openEditClassroomBgModal}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{d:"M13.207 1.25c1.526 0 2.767 1.312 2.767 2.927v7.646c0 1.614-1.24 2.927-2.767 2.927H2.787c-1.525 0-2.766-1.313-2.766-2.927V4.177c0-1.615 1.24-2.927 2.767-2.927zm-2.782 6.898c-.422.45-1 1.097-1.554 1.721-.617.691-1.21 1.357-1.555 1.712-.4.415-1.03.496-1.53.201l-.09-.064-1.633-1.326-2.03 2.066a.738.738 0 0 1-.285.176c.228.372.61.616 1.04.616h10.42c.433 0 .817-.247 1.045-.623zm2.782-5.398H2.787c-.698 0-1.266.64-1.266 1.427v6.663l1.635-1.664a1.245 1.245 0 0 1 1.53-.2l.09.063 1.63 1.323c.342-.364.835-.918 1.343-1.49.664-.744 1.354-1.52 1.794-1.972.256-.262.614-.388.972-.375.366.025.7.207.922.5l3.037 3.553v-6.4c0-.788-.568-1.428-1.267-1.428zm-7.71 1.586a1.406 1.406 0 1 1 0 2.812 1.406 1.406 0 0 1 0-2.812z",fill:"#292929","fill-rule":"evenodd"}})]),e._v(" "),n("span",{staticClass:"toolText"},[e._v("更換背景")])]):e._e(),e._v(" "),Number(this.pid)!==Number(e.roomData.creator_pid)?n("div",{staticClass:"toolBtn followRoom",class:{follow:e.roomData.is_favorite},attrs:{"data-gtm-btn":"關注"},on:{click:function(t){return e.$emit("toggleFocus",e.roomData)}}},[n("span",{staticClass:"toolText"},[e._v(e._s(!0===e.roomData.is_favorite?"關注中":"關注教室"))])]):e._e(),e._v(" "),2===e.roomData.privacy_state?[e.roomData.role_type>3?n("div",{staticClass:"toolBtn joinRoom",class:{apply:e.roomData.is_apply},attrs:{"data-gtm-class":"加入共學"},on:{click:e.toggleRoomState}},[n("span",{staticClass:"toolText"},[e._v("\n                            "+e._s(e.roomData.is_apply?"審核中":"加入共學")+"\n                        ")])]):3===e.roomData.role_type||2===e.roomData.role_type?n("div",{staticClass:"toolBtn joinRoom apply",on:{click:e.toggleRoomState}},[n("span",{staticClass:"toolText"},[e._v("共學中")])]):e._e()]:e._e()],2),e._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:!e.isOpenAboutClassroom,expression:"!isOpenAboutClassroom"}],staticClass:"chevron-right",on:{click:function(){e.$emit("toggleAboutClassroom")}}})])]),e._v(" "),n("ClassroomManage",{ref:"ClassroomManage",attrs:{"room-data":e.roomData,"can-delete":!e.contentList.data.length>0},on:{closeManage:function(){e.$emit("closeManage")}}}),e._v(" "),n("EditClassroomBgModal",{ref:"EditClassroomBgModal",on:{onSave:function(data){e.$emit("saveRoomImage",kt(kt({},data),{},{room_id:t.roomData.room_id}))}}})],1)}),[],!1,null,"1ab8402a",null).exports),fe=n(645),me={components:{CreateClassroomForm:n(1681).a},props:{roomData:{type:Object,default:function(){return{}}},canDelete:{type:Boolean,default:!0},showCloseRoom:{type:Boolean,default:!0}},data:function(){return{resovle:void 0,value:!1}},computed:{isEdit:function(){return"{}"!==JSON.stringify(this.roomData)}},methods:{openModal:function(){this.value=!1;var t=this;return this.$refs.modal&&this.$refs.modal.show(),new Promise((function(e){t.resovle=e}))},hideModal:function(){this.$refs.modal&&this.$refs.modal.hide()},onHidden:function(t){this.resovle&&(this.resovle(this.value),this.resovle=void 0)}}},Ae=Object(h.a)(me,(function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"",scrollable:"","hide-footer":"","no-close-on-backdrop":"","no-close-on-esc":"","dialog-class":"modal-720","body-class":"t4 line-h-143 pb-5"},on:{hidden:t.onHidden},scopedSlots:t._u([{key:"modal-header",fn:function(n){var o=n.close;return[e("div",{staticClass:"h3"}),t._v(" "),e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button"},on:{click:o}})]}},{key:"default",fn:function(){return[e("CreateClassroomForm",{attrs:{"room-data":t.roomData,"is-edit":t.isEdit,"can-delete":t.canDelete,"show-close-room":t.showCloseRoom},on:{updateClassroom:function(data){t.$emit("updateClassroom",data)},hideModal:t.hideModal}})]},proxy:!0}])})}),[],!1,null,null,null).exports;function he(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function ve(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?he(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var be={components:{ParseUrl:fe.a,CreateClassroomModal:Ae},props:{roomData:{type:Object,default:function(){return{creator_info:{pid:0}}}},isCreator:{type:Boolean,default:function(){return!1}}},data:function(){return{errorAvatar:'this.src="/img/avatar-default.png"'}},computed:ve(ve({},Object(d.c)(["pid"])),{},{favoriteCount:function(){var t=(this.roomData||{}).favorite_count,e=void 0===t?0:t;return e}}),methods:ve(ve({},Object(d.b)("user",["getUserName"])),{},{openCreateClassroomModal:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.getUserName();case 3:t.$refs.CreateClassroomModal.openModal(),e.next=8;break;case 6:e.prev=6,e.t0=e.catch(0);case 8:case"end":return e.stop()}}),e,null,[[0,6]])})))()},toProfile:function(t){t&&window.open("".concat("https://beagiver.104.com.tw","/profile/").concat(this.$encodeBase58(t.toString()),"?pageTag=help&serviceTag=nabi&utm_source=104&utm_medium=nabi_classroom"),"_blank")}})},ye=(n(2232),Object(h.a)(be,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"bigClassBlock aboutClass mb-6"},[e("div",{staticClass:"mb-2 h3 title"},[t._v("\n        關於教室\n        "),Number(this.pid)===Number(t.roomData.creator_pid)?e("span",{staticClass:"icon",on:{click:t.openCreateClassroomModal}}):t._e()]),t._v(" "),e("div",{staticClass:"aboutClassText",staticStyle:{"line-break":"anywhere"}},[e("ParseUrl",{attrs:{content:t.roomData&&t.roomData.description?t.roomData.description:""}})],1),t._v(" "),e("div",{staticClass:"classroomTag"},[e("div",{staticClass:"title"},[t._v("教室標籤")]),t._v(" "),e("div",{staticClass:"tag"},t._l(t.roomData.tags,(function(n,o){return e("li",{key:o,class:[{"tag-blueLake pointer":n.ability_id>0,"tag-gray none-pointer":!(n.ability_id>0)}]},[e("router-link",{attrs:{to:"".concat(3===n.type?"/ability/":"/room/ability_").concat(n.ability_id)}},[t._v(t._s(n.tag_name))])],1)})),0)]),t._v(" "),e("CreateClassroomModal",{ref:"CreateClassroomModal",attrs:{"room-data":t.roomData,"can-delete":!1,"show-close-room":!1},on:{updateClassroom:function(data){t.$emit("updateClassroom",data)}}})],1)}),[],!1,null,"5ea11de8",null).exports);n(61);function Ce(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function we(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ce(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ce(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var xe={components:{VClamp:n(647).a},props:{roomData:{type:Object,default:function(){}}},data:function(){return{errorAvatar:'this.src="/img/avatar-default.png"',editContent:"",isEdit:!1}},computed:we(we({},Object(d.c)(["pid"])),{},{isCreator:function(){var t=this.roomData.creator_pid;return String(this.pid)===String(t)},aboutMe:function(){var t=this.roomData.creator_info.about_me,e=void 0===t?"":t;return null===e?null:e.trim()}}),methods:{Edit:function(){this.isEdit=!0,this.editContent=this.aboutMe},cancel:function(){this.isEdit=!1,this.editContent=""},confirm:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$refs.observer.validate();case 2:if(e.sent){e.next=5;break}return e.abrupt("return");case 5:return e.prev=5,t.isEdit=!1,e.next=9,t.$api.user.updateUserInfo({about_me:t.editContent});case 9:t.roomData.creator_info.about_me=t.editContent,t.$toast.show("已儲存變更"),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(5),t.editContent="";case 16:return e.prev=16,t.editContent="",e.finish(16);case 19:case"end":return e.stop()}}),e,null,[[5,13,16,19]])})))()},toProfile:function(t){t&&window.open("".concat("https://beagiver.104.com.tw","/profile/").concat(this.$encodeBase58(t.toString()),"?pageTag=help&serviceTag=nabi&utm_source=104&utm_medium=nabi_classroom"),"_blank")}}},ke=Object(h.a)(xe,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"bigClassBlock classCreater mb-6"},[e("div",{staticClass:"mb-3"},[e("div",{staticClass:"title"},[t._v("學習發起人")]),t._v(" "),e("div",{staticClass:"createrInfoBlock"},[e("div",{staticClass:"createrInfoLeft"},[e("b-img",{style:{cursor:t.roomData.creator_info?t.roomData.creator_info.pid&&t.roomData.creator_info.valid?"pointer":"none":""},attrs:{src:t.roomData.creator_info?t.roomData.creator_info.valid?t.roomData.creator_info.headshot?t.roomData.creator_info.headshot:n(560):n(567):n(560),onerror:t.errorAvatar,width:"56",height:"56",rounded:"circle"},on:{click:function(e){t.roomData.creator_info&&t.roomData.creator_info.valid&&t.toProfile(t.roomData.creator_info.pid)}}}),t._v(" "),e("div",{staticClass:"p14 mb-1 font-weight-bold name",style:{cursor:t.roomData.creator_info?t.roomData.creator_info.pid&&t.roomData.creator_info.valid?"pointer":"none":""},on:{click:function(e){t.roomData.creator_info&&t.roomData.creator_info.valid&&t.toProfile(t.roomData.creator_info.pid)}}},[t._v("\n                    "+t._s(t.roomData.creator_info?t.roomData.creator_info.valid?t.roomData.creator_info.name?t.roomData.creator_info.name:"":"未知使用者":"")+"\n                ")])],1),t._v(" "),e("div",{staticClass:"createrInfoRight"},[e("div",{staticClass:"jobTitle"},[t._v("\n                    "+t._s(t.roomData.creator_info&&t.roomData.creator_info.info.jobTitle&&t.roomData.creator_info.valid?t.roomData.creator_info.info.jobTitle:"")+"\n                ")]),t._v(" "),e("div",{staticClass:"statisticsList"},[e("span",{staticClass:"statistics"},[e("span",{staticClass:"count"},[t._v("\n                            "+t._s(t.roomData&&t.roomData.answer_count?t.roomData.answer_count:0)+"\n                        ")]),t._v(" "),e("span",{staticClass:"type"},[t._v(" 回答 ")])]),t._v(" "),e("span",{staticClass:"statistics"},[e("span",{staticClass:"count"},[t._v("\n                            "+t._s(t.roomData&&t.roomData.post_count?t.roomData.post_count:0)+"\n                        ")]),t._v(" "),e("span",{staticClass:"type"},[t._v(" 分享 ")])]),t._v(" "),e("span",{staticClass:"statistics"},[e("span",{staticClass:"count"},[t._v("\n                            "+t._s(t.roomData&&t.roomData.room_count?t.roomData.room_count:0)+"\n                        ")]),t._v(" "),e("span",{staticClass:"type"},[t._v(" 教室 ")])])])])])]),t._v(" "),e("div",{staticClass:"createrDes"},[e("div",{staticClass:"title"},[t._v("\n            發起人簡介\n            "),t.isCreator&&!t.isEdit?e("span",{staticClass:"icon",on:{click:t.Edit}}):t._e()]),t._v(" "),e("div",{staticClass:"content",class:{isEdit:t.isEdit}},[e("VClamp",{attrs:{"max-lines":3,ellipsis:"",autoresize:""},scopedSlots:t._u([{key:"after",fn:function(n){var o=n.expanded,r=n.clamped,c=n.toggle;return[e("span",{directives:[{name:"show",rawName:"v-show",value:o||r,expression:"expanded || clamped"}],staticClass:"more",on:{click:c}},[t._v(t._s(o?"收合":"...更多"))])]}}])},[t._v(t._s(t.aboutMe?"".concat(t.aboutMe):"目前還沒有關於老師的更多介紹")+"\n                ")])],1),t._v(" "),t.isCreator?e("div",{staticClass:"editBlock",class:{isEdit:t.isEdit}},[e("client-only",[e("ValidationObserver",{ref:"observer",attrs:{slim:""}},[e("ValidationProvider",{ref:"postContent",attrs:{rules:"sensitiveWord|emojiWord|4ByteWord",name:"內文"},scopedSlots:t._u([{key:"default",fn:function(n){var o=n.failed,r=n.errors;return[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.editContent,expression:"editContent"}],class:{"is-invalid":o},domProps:{value:t.editContent},on:{input:function(e){e.target.composing||(t.editContent=e.target.value)}}}),t._v(" "),o?e("div",{staticClass:"invalid-txt"},[t._v("\n                            "+t._s(r[0])+"\n                        ")]):t._e()]}}],null,!1,288271303)})],1)],1),t._v(" "),e("div",{staticClass:"btns"},[e("button",{staticClass:"cancel",on:{click:t.cancel}},[t._v("取消")]),t._v(" "),e("button",{staticClass:"confirm",on:{click:t.confirm}},[t._v("儲存")])])],1):t._e()])])}),[],!1,null,null,null).exports,_e={props:{roomData:{type:Object,default:function(){}}},data:function(){return{errorAvatar:'this.src="/img/avatar-default.png"'}},computed:{members:function(){var t=this.roomData.admins;return void 0===t?[]:t}},methods:{toProfile:function(t){t&&window.open("".concat("https://beagiver.104.com.tw","/profile/").concat(this.$encodeBase58(t.toString()),"?pageTag=help&serviceTag=nabi&utm_source=104&utm_medium=nabi_classroom"),"_blank")}}},Oe=Object(h.a)(_e,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"bigClassBlock classManagers mb-6"},[e("div",{staticClass:"title"},[t._v("共同管理者")]),t._v(" "),e("div",{staticClass:"managerList"},t._l(t.members,(function(o){return e("div",{key:o.pid,staticClass:"manager"},[e("img",{staticClass:"pointer",attrs:{src:o.headshot?o.headshot:n(560),onerror:t.errorAvatar,alt:""},on:{click:function(e){o.pid&&t.toProfile(o.pid)}}}),t._v(" "),e("div",{staticClass:"info"},[e("span",{staticClass:"name"},[t._v(t._s(o.name))]),t._v(" "),e("span",{staticClass:"jobTitle"},[t._v(t._s(o.info&&o.info.jobTitle?o.info.jobTitle:""))])])])})),0)])}),[],!1,null,null,null).exports,Ie={data:function(){return{memberList:[],defaultAvatarImg:'this.src="'+n(560)+'"'}},methods:{open:function(t){this.memberList=t,this.$refs.modal.show()}}};n(2233);function Be(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function Se(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Be(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var je={components:{RoomMembers:Object(h.a)(Ie,(function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"",scrollable:"","hide-footer":"","dialog-class":"modal-clapUser","body-class":"t4 line-h-143"},scopedSlots:t._u([{key:"modal-header",fn:function(n){var o=n.close;return[e("h4",{staticClass:"modal-title w-100 text-center title"},[t._v("全部")]),t._v(" "),t.noCancel?t._e():e("button",{staticClass:"close jb_icon_delete h3",attrs:{type:"button"},on:{click:o}})]}},{key:"default",fn:function(){return[e("div",{staticClass:"contentBox"},[e("div",{staticClass:"content"},t._l(t.memberList,(function(n,o){return e("div",{key:"".concat(n.pid,"-").concat(o),staticClass:"user"},[e("div",{staticClass:"headshot"},[e("img",{staticClass:"avatar",attrs:{src:n.photo_image_link?n.photo_image_link:"",alt:"",onerror:t.defaultAvatarImg}})]),t._v(" "),e("div",{staticClass:"info"},[e("div",{staticClass:"infoBox"},[e("span",{staticClass:"name"},[t._v(t._s("".concat(n.nickname)))]),t._v(" "),e("span",{staticClass:"jobTitle"},[t._v(t._s(n.job_name||""))])])])])})),0)])]},proxy:!0}])})}),[],!1,null,"41691eec",null).exports},props:{members:{type:Object,default:function(){return{}}}},data:function(){return{errorAvatar:'this.src="/img/avatar-default.png"',displayLimit:5}},computed:{memberList:function(){var t=this.members,e=t.member,n=void 0===e?[]:e,r=t.admin,c=(void 0===r?[]:r).map((function(a){return Se(Se({},a),{},{isAdmin:!0})}));return[].concat(Object(o.a)(c),Object(o.a)(n))},displayMembers:function(){return this.memberList.slice(0,this.displayLimit)}}},De=(n(2234),{components:{UnOfficeClassroomBanner:ge,UnOfficeAboutClassroom:ye,PostClassroomArea:yt,UnofficeClassroomCreater:ke,UnofficeClassroomManagers:Oe,UnofficeClassroomMembers:Object(h.a)(je,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"bigClassBlock classManagers mb-6"},[e("div",{staticClass:"title"},[t._v("共學成員")]),t._v(" "),e("div",{staticClass:"managerList"},t._l(t.displayMembers,(function(o){return e("div",{key:o.pid,staticClass:"manager"},[e("img",{attrs:{src:o.photo_image_link?o.photo_image_link:n(560),onerror:t.errorAvatar,alt:""}}),t._v(" "),e("div",{staticClass:"info"},[e("div",{staticClass:"d-flex"},[e("span",{staticClass:"nickname font-weight-bold mb-1 mr-4"},[t._v("\n                        "+t._s(o.nickname)+"\n                    ")]),t._v(" "),o.isAdmin?e("div",{staticClass:"tag"},[t._v("管理員")]):t._e()]),t._v(" "),e("span",{staticClass:"jobTitle"},[t._v("\n                    "+t._s(o.job_name||"")+"\n                ")])])])})),0),t._v(" "),t.memberList.length>t.displayLimit?e("div",{staticClass:"moreMember mt-8 pointer",on:{click:function(e){return t.$refs.roomMembers.open(t.memberList)}}},[t._v("\n        看所有學習夥伴\n    ")]):t._e(),t._v(" "),e("RoomMembers",{ref:"roomMembers",attrs:{"member-list":t.memberList}})],1)}),[],!1,null,"d19764e4",null).exports},props:{isOffice:{type:Boolean,default:!0},roomData:{type:Object,default:function(){}},contentList:{type:Object,require:!0,default:function(){return{}}},isCreator:{type:Boolean,default:function(){return!1}},isScheduleEmpty:{type:Boolean,default:function(){return!0}},showApplyHint:{type:Boolean,default:!1},search:{type:Object,default:function(){}}},data:function(){return{isOpenAboutClassroom:!1}},computed:{roomManagers:function(){var t=this.roomData,e=t.creator_pid,n=t.admins,r=(void 0===n?[]:n).map((function(a){return{pid:a.pid,id:"manager"}}));return[{pid:e,id:"creator"}].concat(Object(o.a)(r))}},methods:{toggleAboutClassroom:function(){this.isOpenAboutClassroom=!this.isOpenAboutClassroom}}}),Re=(n(2235),Object(h.a)(De,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"bigClass unOfficeClass"},[e("div",{staticClass:"bigClass--top"},[e("UnOfficeClassroomBanner",{attrs:{"room-managers":t.roomManagers,"is-office":t.isOffice,"room-data":t.roomData,"content-list":t.contentList,"is-open-about-classroom":t.isOpenAboutClassroom,"is-creator":t.isCreator,"show-apply-hint":t.showApplyHint},on:{toggleAboutClassroom:t.toggleAboutClassroom,toggleFocus:function(data){t.$emit("toggleFocus",data)},updateClassroom:function(data){t.$emit("updateClassroom",data)},saveRoomImage:function(data){t.$emit("saveRoomImage",data)},toggleRoomState:function(){t.$emit("toggleRoomState")},closeManage:function(){t.$emit("closeManage")},openRoomSearch:function(){t.$emit("openRoomSearch")},"login-alert":function(data,e){t.$emit("login-alert",data,e)}}})],1),t._v(" "),e("div",{staticClass:"bigClassContainer pt-0"},[e("div",{staticClass:"bigClass--main",class:{"m-openAboutClassroom":t.isOpenAboutClassroom}},[e("div",{staticClass:"bigClass--center"},[e("PostClassroomArea",{attrs:{"room-managers":t.roomManagers,"is-office":t.isOffice,"content-list":t.contentList,"room-data":t.roomData,"is-schedule-empty":t.isScheduleEmpty,search:t.search},on:{fetchUserActivity:function(e){return t.$emit("fetchUserActivity")},addUserNewActivity:function(data){t.$emit("addUserNewActivity",data)},updateUserActivity:function(data){t.$emit("updateUserActivity",data)},deleteItem:function(e){t.$emit("deleteItem",e)},socailEventHandler:function(e){t.$emit("socailEventHandler",e)},"toggle-room-top-activity":function(e){t.$emit("toggle-room-top-activity",e)},addUserScheduleActivity:function(e){return t.$emit("addUserScheduleActivity")},scheduleListIsEmpty:function(e){return t.$emit("scheduleListIsEmpty")},toggleRoomState:function(){t.$emit("toggleRoomState")},cancelSearch:function(){t.$emit("cancelSearch")}}})],1),t._v(" "),e("div",{staticClass:"bigClass--right"},[e("UnOfficeAboutClassroom",{attrs:{"room-data":t.roomData,"is-creator":t.isCreator,"is-open-about-classroom":t.isOpenAboutClassroom},on:{updateClassroom:function(data){t.$emit("updateClassroom",data)}}}),t._v(" "),e("UnofficeClassroomCreater",{attrs:{"room-data":t.roomData}}),t._v(" "),e("UnofficeClassroomManagers",{directives:[{name:"show",rawName:"v-show",value:t.roomData.admins.length>0,expression:"roomData.admins.length > 0"}],attrs:{"room-data":t.roomData}}),t._v(" "),e("UnofficeClassroomMembers",{directives:[{name:"show",rawName:"v-show",value:t.roomData.role_type<4&&2===t.roomData.privacy_state,expression:"roomData.role_type < 4 && roomData.privacy_state === 2"}],attrs:{members:t.roomData.members}})],1)])])])}),[],!1,null,"5ee0248e",null).exports),Me=n(593),Ue=n(569),Te=n(563),Ee={components:{SearchBar:Et.a},props:{roomData:{type:Object,default:function(){return{}}}},data:function(){return{keyword:""}},computed:{roomTitle:function(){var t=(this.roomData||{}).room_title,e=void 0===t?"":t;return e}},methods:{openModal:function(){var t=this;return this.$refs.modal&&this.$refs.modal.show(),new Promise((function(e){t.resovle=e}))},hideModal:function(){this.$refs.modal&&this.$refs.modal.hide()},onHidden:function(t){this.resovle&&(this.resovle(this.keyword),this.resovle=void 0)},resetKeyword:function(){this.keyword=""},searchClick:function(){this.$emit("searchClick",this.keyword)}}},Le=(n(2236),Object(h.a)(Ee,(function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"",scrollable:"","hide-footer":"","no-close-on-backdrop":!0,"no-close-on-esc":!0,"dialog-class":"roomSearch","body-class":"t4 line-h-143"},on:{hidden:t.onHidden},scopedSlots:t._u([{key:"modal-header",fn:function(t){var n=t.close;return[e("button",{staticClass:"close jb_icon_delete",attrs:{type:"button"},on:{click:n}})]}},{key:"default",fn:function(){return[e("SearchBar",{attrs:{placeholder:"請輸入想查詢的主題",attribute:[{attribute:"data-gtm-search",value:"搜尋送出"}]},on:{searchClick:t.searchClick,keyupEnter:t.searchClick},model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}}),t._v(" "),e("div",{staticClass:"text-center"},[e("p",{staticClass:"h2 mb-2"},[t._v("想在『"+t._s(t.roomTitle)+"』找什麼嗎？")]),t._v(" "),e("p",{staticClass:"descript"},[t._v("搜尋與學習主題相關的關鍵字，包含貼文標題、內容、tag。")])])]},proxy:!0}])})}),[],!1,null,"5033a99b",null).exports),Pe=n(1460),Fe=n(53),Ne=n(12),Qe=n(1577),He=n(599),Ge=n(2237);function Ve(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return Je(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Je(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,r=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw r}}}}function Je(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function Ke(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function Ye(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ke(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ke(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var qe=n(39)("src/client/pages/room/_roomId.vue"),ze=qe.debug,Xe=qe.error,We={name:"Room",components:{OfficeClassroom:wt,UnOfficeClassroom:Re,BigClassNavBar:f.a,MessageBox:Dt.a,ClassroomClose:Ge.default,FocusSkillModal:Me.a,SeoContainer:Ue.a,LoginAlert:j.a,RoomSearch:Le,ClassroomApplyQuestion:Pe.a},mixins:[Te.a],fetch:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n,r,d,f,m,A,data,h,v,y,C,w,x,k,_,O,I,B,S,j,D,R,M,U,T,E;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.$nuxt.context,r=n.redirect,d=n.params,f=n.query,(m=d.roomId)||r("/classroom"+t.$genQueryStr(f)),e.next=5,t.$api.nabi.getRoomByTagOrId({ids:[String(m)]});case 5:if(A=e.sent,!(data=A[m])||!data.roomType){e.next=14;break}if("0"!==data.roomType){e.next=12;break}return e.abrupt("return",r(301,"/ability/".concat(m)+t.$genQueryStr(f)));case 12:if("1"!==data.roomType){e.next=14;break}return e.abrupt("return",r(301,"/room/ability_".concat(m)+t.$genQueryStr(f)));case 14:if(t.fetchLoading=!0,h=m.startsWith("ability_"),t.isOffice=h,e.prev=17,h){e.next=35;break}return e.prev=19,v=t.$route.params.roomId,y=t.$api.cls.getClassroom({roomId:v}),e.next=24,Promise.all([y]);case 24:C=e.sent,w=Object(c.a)(C,1),x=w[0],k=x.data,t.roomData=Ye(Ye({},t.roomData),k),t.setH2("".concat(t.roomData.room_title)),e.next=35;break;case 32:e.prev=32,e.t0=e.catch(19),e.t0.message.includes("404")&&(t.contentList.isInitial=!0,t.roomData={room_close:!0});case 35:if(!h){e.next=44;break}return _=t.$route.params.roomId.replace("ability_",""),e.next=39,Promise.all([t.fetchCapabilityInfo(_),Object(l.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$api.exam.getExamfeaturedExamList();case 2:t.featuredExamList=e.sent;case 3:case"end":return e.stop()}}),e)})))()]);case 39:t.capabilityInfo.error&&r("/"+t.$genQueryStr(f)),"cert"===(O=t.capabilityInfo.data).type&&r("/ability/".concat(_)),t.roomData={room_close:!1,room_id:O.capabilityId,room_type:1,room_title:O.capability,photo_file_url:O.classroomImage,photo_small_file_url:O.classroomImageSmall,is_favorite:"1"===O.isFavorite,favorite_count:O.favoriteCount,description:O.capabilityDescript,tags:[{tag_name:O.capability,ability_id:O.capabilityId}],favoriteUsers:{}},t.setH2("".concat(t.roomData.room_title));case 44:return t.roomData.setTopKey=t.$getUUID(),e.next=47,t.reloadContentList();case 47:e.next=52;break;case 49:e.prev=49,e.t1=e.catch(17),Xe("room fetch error:",JSON.stringify({errorObj:e.t1,error:e.t1.message,stack:e.t1.stack,params:d,query:f}));case 52:if(e.prev=52,!t.isLogin){e.next=61;break}return I=t.roomData,B=I.room_id,S=void 0===B?0:B,j=I.tags,D=void 0===j?[]:j,R=I.room_type,M=D.map((function(t){var e=t.tag_name;return void 0===e?"":e})),e.next=58,t.$api.wall.getActivityScheduleList({size:0,room_ids:1===R?void 0:[S],tags:1===R?Object(o.a)(M):void 0});case 58:U=e.sent,T=U.count,E=void 0===T?0:T,t.isScheduleEmpty=0===E;case 61:e.next=66;break;case 63:e.prev=63,e.t2=e.catch(52),t.isScheduleEmpty=!0;case 66:t.fetchLoading=!1;case 67:case"end":return e.stop()}}),e,null,[[17,49],[19,32],[52,63]])})))()},data:function(){return{featuredExamList:[],search:{keyword:null},loginAlertMsg:{msg:"",customMsg:!1},showApplyHint:!1,checkJoinUser:null,isOffice:!1,roomData:void 0,hint:{title:"",msg:"",confirmText:"",cancelText:"",noCancel:!1,noConfirm:!1,noXBtn:void 0},capabilityInfo:{data:{},isInitial:!1,isEnd:!1,isLoading:!1,error:void 0},thirdCourse:{data:[],meta:{has_next:!0,offset:-1,limit:-1,count:-1,next:1},isInitial:!1,isEnd:!1,isLoading:!1,error:void 0},jobChanceInfo:{data:[],isInitial:!1,isEnd:!1,isLoading:!1,error:void 0},taiwinInfo:{data:[],meta:{totalRows:-1,resultRows:-1,recFrom:-1,nextFrom:1},isInitial:!1,isEnd:!1,isLoading:!1,error:void 0},activityList:{extra:[],data:[],meta:{has_next:!0,offset:-1,limit:-1,count:-1,next:1},isInitial:!1,isEnd:!1,isLoading:!1,error:void 0},hitList:{data:[],meta:{has_next:!0,offset:-1,limit:-1,count:-1,next:1},isInitial:!1,isEnd:!1,isLoading:!1,error:void 0},chefpostList:{data:[],meta:{has_next:!0,offset:-1,limit:-1,count:-1,next:1},isInitial:!1,isEnd:!1,isLoading:!1,error:void 0},contentList:{data:[],meta:{page:-1,isOffice:!1,capabilityId:void 0,roomIds:[],tags:[]},isInitial:!1,isEnd:!1,isLoading:!1},fetchLoading:!1,isScheduleEmpty:!0,refetch:!1,specifyTest:void 0}},watch:{activityUpdate:function(){this.activityUpdateProcess()},taiwinUpdate:function(){this.taiwinUpdateProcess()},thirdUpdate:function(){this.thirdUpdateProcess()},roomUpdate:function(){this.roomUpdateProcess()},roomData:function(t,e){var n=this;return Object(l.a)(regeneratorRuntime.mark((function o(){var r,c,l,d,f,m,A,h,v,y,C;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(r=(t||{}).room_id,c=(e||{}).room_id,!t||r===c){o.next=18;break}if(l=n.$nuxt.context.params,d=l.roomId,d.startsWith("ability_")){o.next=13;break}return f=n.$route.params.roomId,o.next=10,n.$api.cls.classroomMemberList({roomId:f});case 10:m=o.sent,A=m.data,h=void 0===A?{}:A,n.roomData=Ye(Ye({},n.roomData),{},{members:h});case 13:return v=n.$route.query,y=(void 0===v?{}:v).event,o.next=17,n.$router.replace({query:Ye(Ye({},n.$route.query),{},{event:void 0})}).catch((function(t){}));case 17:y&&"joinRoome"===y&&(3===(C=t.role_type)||2===C||n.toggleRoomState());case 18:case"end":return o.stop()}}),o)})))()},"capabilityInfo.data":function(t){var e=this;return Object(l.a)(regeneratorRuntime.mark((function n(){var o,r,c,l,d,f,m,A,h,v,y,C,w;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!t||!t.capabilityId){n.next=34;break}if(o=t.capabilityId,r=0,"10027137"===o&&(r=1),"10001579"!==o&&"10022606"!==o||(r=2),c=null,0!==r){n.next=12;break}return n.next=8,e.$api.exam.getExamExposureByAbilityId({abilityId:o});case 8:l=n.sent,d=l.exam,null!==(c=d)&&(r=99);case 12:if(e.isLogin||!(r>0)){n.next=16;break}e.specifyTest={testId:r,exam:c,score:null,result:null},n.next=33;break;case 16:if(1!==r){n.next=24;break}return n.next=19,e.$api.test.getTestToeicResult();case 19:f=n.sent,m=f.result,A=void 0===m?null:m,h=f.score,e.specifyTest={testId:r,exam:c,score:h,result:A},n.next=33;break;case 24:if(2!==r){n.next=32;break}return n.next=27,e.$api.test.getJlptTestResult({level:5});case 27:v=n.sent,y=v.is_pass,C=v.is_tested,w=void 0!==C&&C,e.specifyTest={testId:r,exam:c,score:null,result:w?y?"已達N5":"未達N5":null},n.next=33;break;case 32:99===r&&(e.specifyTest={testId:r,exam:c,score:c.user_last_score,result:null===c.user_last_score?null:c.user_last_score>=c.pass_score?"通過":"未通過"});case 33:return n.abrupt("return",void 0);case 34:case"end":return n.stop()}}),n)})))()}},activated:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.refetch){e.next=5;break}return t.refetch=!1,t.resetContentList(),e.next=5,t.$fetch();case 5:case"end":return e.stop()}}),e)})))()},mounted:function(){var t=this,e=this.$nuxt.context,n=e.query,o=e.params;"join_check"!==n.utm_medium||this.isLogin||(this.loginAlertMsg={msg:"請先登入會員，才能審核加入共學的申請唷！",customMsg:!0},this.$refs.LoginAlert.openModal()),this.$watch("roomData.role_type",(function(e){var n=t.roomData||{},o=n.privacy_state,r=void 0===o?1:o,c=n.room_type;e<3&&window&&2===r&&2===(void 0===c?1:c)?(t.checkApply(),t.checkJoinUser=window.setInterval(t.checkApply,6e5)):null!==t.checkJoinUser&&window&&window.clearInterval(t.checkJoinUser)}),{immediate:!0}),this.$viewLog.sendBlockDetailViewlog({key:o.roomId.replace("ability_",""),type:o.roomId.startsWith("ability_")?3:4,action:3})},destroyed:function(){null!==this.checkJoinUser&&window&&window.clearInterval(this.checkJoinUser)},computed:Ye(Ye(Ye(Ye({},Object(d.c)(["isLogin"])),Object(d.e)(["isMobile"])),Object(d.e)("updatelist",["activityUpdate","taiwinUpdate","thirdUpdate","roomUpdate"])),{},{isCreator:function(){var t=(this.roomData||{}).creator_pid,e=void 0===t?0:t,n=this.isLogin;return e.toString()===n}}),methods:Ye(Ye(Ye(Ye({},Object(d.d)("updatelist",["addRoomUpdate"])),Object(d.b)("updatelist",["getActivityUpdate","getTaiwainUpdate","getThirdUpdate","getRoomUpdate"])),Object(d.d)(["setRunLogin","setH2"])),{},{loginAlert:function(data,t){var e=this;return Object(l.a)(regeneratorRuntime.mark((function n(){var o,r,c;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=data.msg,r=data.customMsg,c=void 0!==r&&r,e.loginAlertMsg={msg:o,customMsg:c},n.next=4,e.$refs.LoginAlert.openModal();case 4:n.sent||t();case 6:case"end":return n.stop()}}),n)})))()},content3rdGroupClick:function(){var t=this.capabilityInfo.data,e=(void 0===t?{}:t).capability,n=void 0===e?"":e;this.$router.push("/nabisearch/course?keyword=".concat(n))},searchClick:function(t){var e=this;return Object(l.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e.$refs.roomSearch.hideModal(),e.search.keyword=t,e.resetContentList(),n.next=5,e.reloadContentList();case 5:case"end":return n.stop()}}),n)})))()},cancelSearch:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.search.keyword=null,t.$refs.roomSearch.resetKeyword(),t.resetContentList(),e.next=5,t.reloadContentList();case 5:case"end":return e.stop()}}),e)})))()},openRoomSearch:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$refs.roomSearch.openModal();case 2:case"end":return e.stop()}}),e)})))()},closeManage:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n,o,r,c,l,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.roomData||{},o=n.privacy_state,r=void 0===o?1:o,c=n.room_type,l=void 0===c?1:c,d=n.role_type,!((void 0===d?5:d)<3&&2===r&&2===l)){e.next=4;break}return e.next=4,Promise.allSettled([t.checkApply(),t.getClassroomMembers()]);case 4:case"end":return e.stop()}}),e)})))()},checkApply:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n,o,r,c,l,d,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.roomData||{},o=n.room_id,r=void 0===o?0:o,e.next=3,t.$api.cls.classroomApplyList({room_id:r,size:0});case 3:c=e.sent,l=c.data,d=(void 0===l?{}:l).count,f=void 0===d?0:d,t.showApplyHint=f>0;case 8:case"end":return e.stop()}}),e)})))()},getClassroomMembers:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n,o,r,c,l,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.roomData||{},o=n.room_id,r=void 0===o?0:o,e.next=3,t.$api.cls.classroomMemberList({roomId:r});case 3:c=e.sent,l=c.data,d=void 0===l?[]:l,t.roomData.members=d;case 7:case"end":return e.stop()}}),e)})))()},scheduleListIsEmpty:function(){this.isScheduleEmpty=!0},addUserScheduleActivity:function(){this.isScheduleEmpty=!1},resetContentParam:function(){var t=this.$route.params.roomId,e=t,n=[t],o=[],r=t.startsWith("ability_");r&&(n=[e=t.replace("ability_","")],o=[this.roomData.room_title]),this.contentList.meta={page:-1,isOffice:r,capabilityId:e,roomIds:n,tags:o}},fetchCapabilityInfo:function(t){var e=this;return Object(l.a)(regeneratorRuntime.mark((function n(){var o,r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!e.capabilityInfo.isEnd&&!e.capabilityInfo.isLoading){n.next=2;break}return n.abrupt("return");case 2:return e.capabilityInfo.isLoading=!0,n.prev=3,e.capabilityInfo.error=void 0,o=e.$getUUID(),e.capabilityInfo.batchKey=o,n.next=9,e.$api.nabi.getCapabilityDetail({capabilityId:t});case 9:if(e.capabilityInfo.data=n.sent,e.capabilityInfo.batchKey===o){n.next=12;break}return n.abrupt("return");case 12:e.capabilityInfo.data.relativeCertify.length>0?(r={data:e.capabilityInfo.data.relativeCertify,type:"certRelative"},e.capabilityInfo.data.relativeCertify=r):e.capabilityInfo.data.relativeCertify={},e.capabilityInfo.isEnd=!0,n.next=20;break;case 16:n.prev=16,n.t0=n.catch(3),Xe("fetchCapabilityInfo",n.t0),e.capabilityInfo.error={error:n.t0};case 20:return n.prev=20,e.capabilityInfo.isLoading=!1,e.capabilityInfo.isInitial=!0,n.finish(20);case 24:case"end":return n.stop()}}),n,null,[[3,16,20,24]])})))()},fetch3rdCourse:function(t){var e=this;return Object(l.a)(regeneratorRuntime.mark((function n(){var r,c,l,d,map;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!e.thirdCourse.isEnd&&!e.thirdCourse.isLoading){n.next=2;break}return n.abrupt("return");case 2:return e.thirdCourse.isLoading=!0,n.prev=3,e.thirdCourse.error=void 0,r=e.$getUUID(),e.thirdCourse.batchKey=r,n.next=9,e.$api.wall.getCourseList({ability_id_list:t,size:18,start:e.thirdCourse.meta.next});case 9:if(c=n.sent,e.thirdCourse.batchKey===r){n.next=12;break}return n.abrupt("return");case 12:for(l=[],c.data.result&&(l=Object(o.a)(c.data.result)),d=[];l.length>0;)d.push(Object(o.a)(l.splice(0,6)));map=d.map((function(t){return[{type:"nabi_Content3rdGroup",data:t}]})),e.thirdCourse.data=map,e.thirdCourse.meta=Ye({},c),delete e.thirdCourse.meta.data,e.thirdCourse.isEnd=!c.has_next,n.next=27;break;case 23:n.prev=23,n.t0=n.catch(3),Xe("fetch3rdCourse",n.t0),e.thirdCourse.error={error:n.t0};case 27:return n.prev=27,e.thirdCourse.isLoading=!1,e.thirdCourse.isInitial=!0,n.finish(27);case 31:case"end":return n.stop()}}),n,null,[[3,23,27,31]])})))()},fetchJobChanceInfo:function(t,e){var n=this;return Object(l.a)(regeneratorRuntime.mark((function o(){var r,c,l,d,f,m;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(!n.jobChanceInfo.isEnd&&!n.jobChanceInfo.isLoading){o.next=2;break}return o.abrupt("return");case 2:return n.jobChanceInfo.isLoading=!0,o.prev=3,n.jobChanceInfo.error=void 0,r=n.$getUUID(),n.jobChanceInfo.batchKey=r,o.next=9,n.$api.nabi.getJobsByCapability({capabilityId:e,jobcat:t});case 9:if(c=o.sent,n.jobChanceInfo.batchKey===r){o.next=12;break}return o.abrupt("return");case 12:if(!c.errors){o.next=16;break}l=Ve(c.errors);try{for(l.s();!(d=l.n()).done;)"5005"===d.value.code&&(n.jobChanceInfo.isEnd=!0)}catch(t){l.e(t)}finally{l.f()}return o.abrupt("return");case 16:for(f=[],m=0;m<c.data.length;m+=2)f.push([c.data[m],c.data[m+1]]);f=f.map((function(t){return{data:t.filter((function(t){return void 0!==t})),type:"jobRelative"}})),n.jobChanceInfo.data=f,n.jobChanceInfo.isEnd=!0,o.next=27;break;case 23:o.prev=23,o.t0=o.catch(3),Xe("fetchJobChanceInfo",o.t0),n.jobChanceInfo.error={error:o.t0};case 27:return o.prev=27,n.jobChanceInfo.isLoading=!1,n.jobChanceInfo.isInitial=!0,o.finish(27);case 31:case"end":return o.stop()}}),o,null,[[3,23,27,31]])})))()},fetchTaiwinInfo:function(t){var e=this;return Object(l.a)(regeneratorRuntime.mark((function n(){var r,c,l,d,f;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!e.taiwinInfo.isEnd&&!e.taiwinInfo.isLoading){n.next=2;break}return n.abrupt("return");case 2:return e.taiwinInfo.isLoading=!0,n.prev=3,e.taiwinInfo.error=void 0,r=e.$getUUID(),e.taiwinInfo.batchKey=r,n.next=9,e.$api.wall.getTaiwinForWall({capability:t,recFrom:e.taiwinInfo.meta.nextFrom,requestLength:10});case 9:if(c=n.sent,e.taiwinInfo.batchKey===r){n.next=12;break}return n.abrupt("return");case 12:if(!c.errors){n.next=16;break}l=Ve(c.errors);try{for(l.s();!(d=l.n()).done;)"5005"===d.value.code&&(e.taiwinInfo.isEnd=!0)}catch(t){l.e(t)}finally{l.f()}return n.abrupt("return");case 16:f=c.data.filter((function(t){return!e.taiwinInfo.data.find((function(i){return i.key===t.key}))&&"false"===t.isHidden})),e.taiwinInfo.data=[].concat(Object(o.a)(e.taiwinInfo.data),Object(o.a)(f)),e.taiwinInfo.meta=c.meta,e.taiwinInfo.isEnd=-1===c.meta.nextFrom,n.next=26;break;case 22:n.prev=22,n.t0=n.catch(3),Xe("fetchTaiwinInfo",n.t0),e.taiwinInfo.error={error:n.t0};case 26:return n.prev=26,e.taiwinInfo.isLoading=!1,e.taiwinInfo.isInitial=!0,n.finish(26);case 30:case"end":return n.stop()}}),n,null,[[3,22,26,30]])})))()},fetchActivityList:function(t,e){var n=this;return Object(l.a)(regeneratorRuntime.mark((function r(){var c,l,d,f,m,A;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!n.activityList.isEnd&&!n.activityList.isLoading){r.next=2;break}return r.abrupt("return");case 2:if(n.activityList.isLoading=!0,r.prev=3,n.activityList.error=void 0,c=n.$getUUID(),n.activityList.batchKey=c,!n.search.keyword){r.next=14;break}return d=n.roomData||{},f=d.room_id,m=void 0===f?0:f,r.next=11,n.$api.search.getActivityForSearch({keyword:n.search.keyword,size:10,room_id:m,start:n.activityList.meta.next});case 11:l=r.sent,r.next=23;break;case 14:if(!n.isOffice){r.next=20;break}return r.next=17,n.$api.wall.getActivityList({start:n.activityList.meta.next,tags:t,room_ids:e,size:10});case 17:l=r.sent,r.next=23;break;case 20:return r.next=22,n.$api.wall.getActivityListRoom({start:n.activityList.meta.next,tags:t,room_id:e[0],size:10});case 22:l=r.sent;case 23:if(n.activityList.batchKey===c){r.next=25;break}return r.abrupt("return");case 25:A=l.result.filter((function(t){return!n.activityList.data.find((function(i){return i.key===t.key}))})),n.activityList.data=[].concat(Object(o.a)(n.activityList.data),Object(o.a)(A)),n.$setShowRoomFocus(n.activityList.data),n.activityList.meta=Ye({},l),delete n.activityList.meta.result,n.activityList.isEnd=!l.has_next,r.next=37;break;case 33:r.prev=33,r.t0=r.catch(3),Xe("fetchActivityList",r.t0),n.activityList.error={error:r.t0};case 37:return r.prev=37,n.activityList.isLoading=!1,n.activityList.isInitial=!0,r.finish(37);case 41:case"end":return r.stop()}}),r,null,[[3,33,37,41]])})))()},fetchHitList:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.hitList.isEnd&&!t.hitList.isLoading){e.next=2;break}return e.abrupt("return");case 2:return t.hitList.isLoading=!0,e.prev=3,t.hitList.error=void 0,n=t.$getUUID(),t.hitList.batchKey=n,e.next=9,t.$api.wall.getHeadlineList();case 9:if(o=e.sent,t.hitList.batchKey===n){e.next=12;break}return e.abrupt("return");case 12:t.hitList.data=o.result,t.$setShowRoomFocus(t.hitList.data),t.hitList.meta=Ye({},o),delete t.hitList.meta.result,t.hitList.isEnd=!o.has_next,e.next=23;break;case 19:e.prev=19,e.t0=e.catch(3),Xe("fetchHitList",e.t0),t.hitList.error={error:e.t0};case 23:return e.prev=23,t.hitList.isLoading=!1,t.hitList.isInitial=!0,e.finish(23);case 27:case"end":return e.stop()}}),e,null,[[3,19,23,27]])})))()},fetchChefpostList:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n,r,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.chefpostList.isEnd&&!t.chefpostList.isLoading){e.next=2;break}return e.abrupt("return");case 2:return t.chefpostList.isLoading=!0,e.prev=3,t.chefpostList.error=void 0,n=t.$getUUID(),t.chefpostList.batchKey=n,e.next=9,t.$api.wall.getChefpostList({start:t.chefpostList.meta.next,size:10});case 9:if(r=e.sent,t.chefpostList.batchKey===n){e.next=12;break}return e.abrupt("return");case 12:c=r.result.filter((function(e){return!t.chefpostList.data.find((function(i){return i.key===e.key}))})),t.chefpostList.data=[].concat(Object(o.a)(t.chefpostList.data),Object(o.a)(c)),t.$setShowRoomFocus(t.chefpostList.data),t.chefpostList.meta=Ye({},r),delete t.chefpostList.meta.result,t.chefpostList.isEnd=!r.has_next,e.next=24;break;case 20:e.prev=20,e.t0=e.catch(3),Xe("fetchChefpostList",e.t0),t.chefpostList.error={error:e.t0};case 24:return e.prev=24,t.chefpostList.isLoading=!1,t.chefpostList.isInitial=!0,e.finish(24);case 28:case"end":return e.stop()}}),e,null,[[3,20,24,28]])})))()},trimHitData:function(){var t=this;this.activityList.data=this.activityList.data.filter((function(e){return!t.hitList.data.find((function(t){return e.key===t.key}))})),this.chefpostList.data=this.chefpostList.data.filter((function(e){return!t.hitList.data.find((function(t){return e.key===t.key}))}))},trimTopData:function(){var t=(this.roomData||{}).top_activitys,e=void 0===t?[]:t;this.activityList.data=this.activityList.data.filter((function(t){return!e.find((function(e){return t.key===e.key}))}))},combineList:function(){for(var t=this,e=[],i=0;i<=this.contentList.meta.page;i++){var n=void 0,r=(n=this.search.keyword?Qe.e:this.isOffice?this.isMobile?Qe.b:Qe.a:this.isMobile?Qe.d:Qe.c).pages[i]||n.default;e=[].concat(Object(o.a)(e),Object(o.a)(r))}var c,l=[],d=0,f=0,m=0,A=0,h=0,v=0,y=Ve(e);try{for(y.s();!(c=y.n()).done;){var C=c.value;if(C===He.i){var w=(this.roomData||{}).top_activitys,x=void 0===w?[]:w;if(x.length){var k=x[0];k.sortType=He.i,l.push(k)}}if(C===He.a)for(var _=function(){var e=t.activityList.data[d++];if(e&&!l.find((function(t){return t&&t.key===e.key})))return e.sortType=He.a,l.push(e),1};this.activityList.data.length>d&&!_(););if(C===He.d)for(var O=function(){var e=t.hitList.data[h++];if(e&&!l.find((function(t){return t&&t.key===e.key})))return e.sortType=He.d,l.push(e),1};this.hitList.data.length>h&&!O(););if(C===He.c)for(var I=function(){var e=t.chefpostList.data[v++];if(e&&!l.find((function(t){return t&&t.key===e.key})))return e.sortType=He.c,l.push(e),1};this.chefpostList.data.length>v&&!I(););C===He.g&&l.push(this.taiwinInfo.data[f++]),C===He.h&&this.thirdCourse.data[m]&&l.push.apply(l,Object(o.a)(this.thirdCourse.data[m++])),C===He.f&&l.push(this.jobChanceInfo.data[A++]),C===He.b&&this.capabilityInfo.isInitial&&"{}"!==JSON.stringify(this.capabilityInfo.data.relativeCertify)&&l.push(this.capabilityInfo.data.relativeCertify),C===He.e&&l.push({type:"nabi_interest_skill"})}}catch(t){y.e(t)}finally{y.f()}var B=l.filter((function(t){return!!t})),S=Object(o.a)(this.activityList.extra);S.sort((function(a,b){return-(a.activeTime-b.activeTime)}));var j=S.concat(B);j.forEach((function(t){var e=t.files,n=void 0===e?null:e;null!==n&&Object(Fe.d)(n)})),this.contentList.data=j},fetchContentList:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n,r,i,c,l,d,f,m,A,h,v,y,C,w,x,k,_,O,I,B,S,j,D;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.contentList.isEnd&&!t.contentList.isLoading){e.next=2;break}return e.abrupt("return");case 2:for(t.contentList.isLoading=!0,e.prev=3,t.contentList.error=void 0,n=[],r=t.contentList.meta.page+1,i=0;i<=r;i++)c=void 0,c=t.search.keyword?Qe.e:t.isOffice?t.isMobile?Qe.b:Qe.a:Qe.c,l=c.pages[i]||c.default,n=[].concat(Object(o.a)(n),Object(o.a)(l));return d=t.contentList.meta,f=d.jobcat,m=d.capabilityId,A=d.roomIds,h=d.tags,3,v=(v=n.filter((function(t){return t===He.a})).length)>0?v+3:0,y=(y=n.filter((function(t){return t===He.d})).length)>0?y+3:0,C=(C=n.filter((function(t){return t===He.c})).length)>0?C+3:0,w=n.filter((function(t){return t===He.g})).length,x=(x=n.filter((function(t){return t===He.h})).length)>0?x+3:0,k=n.filter((function(t){return t===He.f})).length,v>t.activityList.data.length&&(_=t.fetchActivityList(h,A)),w>t.taiwinInfo.data.length&&(O=t.fetchTaiwinInfo(A.join(","))),x>t.thirdCourse.data.length&&(I=t.fetch3rdCourse(A)),k>t.jobChanceInfo.data.length&&(B=t.fetchJobChanceInfo(f,m)),y>t.hitList.data.length&&(S=t.fetchHitList()),C>t.chefpostList.data.length&&(j=t.fetchChefpostList(f,m)),D=t.$getUUID(),t.contentList.batchKey=D,e.next=30,Promise.all([_,O,I,B,S,j]);case 30:if(t.contentList.batchKey===D){e.next=33;break}return ze("testLoading",{old:t.contentList.batchKey,now:D}),e.abrupt("return");case 33:t.contentList.meta.page=r,t.trimHitData(),t.trimTopData(),t.combineList(),t.capabilityInfo.isEnd&&t.thirdCourse.isEnd&&t.taiwinInfo.isEnd&&t.activityList.isEnd&&t.jobChanceInfo.isEnd&&t.hitList.isEnd&&t.chefpostList.isEnd&&(t.contentList.isEnd=!0),e.next=44;break;case 40:e.prev=40,e.t0=e.catch(3),Xe("fetchContentList",e.t0),t.contentList.error={error:e.t0};case 44:return e.prev=44,t.contentList.isLoading=!1,t.contentList.isInitial=!0,e.finish(44);case 48:case"end":return e.stop()}}),e,null,[[3,40,44,48]])})))()},reloadContentList:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.resetContentParam();case 2:return e.next=4,t.fetchContentList();case 4:if(0!==t.contentList.data.length){e.next=7;break}return e.next=7,t.fetchContentList();case 7:case"end":return e.stop()}}),e)})))()},resetContentList:function(){this.contentList.isEnd=!1,this.activityList={extra:[],data:[],meta:{has_next:!0,offset:-1,limit:-1,count:-1,next:1},isInitial:!1,isEnd:!1,isLoading:!1,error:void 0}},handlerNewActivity:function(data){this.activityList.isInitial&&(data.activeTime=Date.now(),this.activityList.extra.push(data),this.combineList())},handlerUpdateActivity:function(data){if(this.activityList.isInitial){var t=this.activityList.data.findIndex((function(t){return t.key===data.key}));t>-1&&(ze("data",{data:data,idx:t}),this.$set(this.activityList.data,t,data));var e=this.activityList.extra.findIndex((function(t){return t.key===data.key}));e>-1&&this.$set(this.activityList.extra,e,data)}if(this.roomData){var n=this.roomData.top_activitys,o=void 0===n?[]:n,r=o.findIndex((function(t){return t.key===data.key}));r>-1&&this.$set(o,r,data)}this.combineList()},handlerDeleteItem:function(data){if(this.activityList.isInitial){var t=this.activityList.data.findIndex((function(t){return t.key===data.key}));t>-1&&this.activityList.data.splice(t,1);var e=this.activityList.extra.findIndex((function(t){return t.key===data.key}));e>-1&&this.activityList.extra.splice(e,1)}if(this.roomData){var n=this.roomData.top_activitys,o=void 0===n?[]:n,r=o.findIndex((function(t){return t.key===data.key}));r>-1&&o.splice(r,1)}this.combineList()},socailEventHandler:function(t){var e,n;if(t.eventType.startsWith("course3rdGroup")?e=this.contentList.data.forEach((function(e){"nabi_Content3rdGroup"===e.type&&Array.isArray(e.data)&&e.data.length>0&&(n=e.data.find((function(e){return e.key||e.resource_id===t.resourceId})))})):(e=this.contentList.data.findIndex((function(e){return e.key===t.key})),n=this.contentList.data[e]),n)try{switch(t.eventType){case"add-clap":Ne.default.set(n.social_do,"handclap",!0),Ne.default.set(n.social_count,"handclap",n.social_count.handclap+1);break;case"cancel-clap":Ne.default.set(n.social_do,"handclap",!1),Ne.default.set(n.social_count,"handclap",n.social_count.handclap-1);break;case"add-favorite":Ne.default.set(n.social_do,"favorite",!0),Ne.default.set(n.social_count,"favorite",n.social_count.favorite+1);break;case"cancel-favorite":Ne.default.set(n.social_do,"favorite",!1),Ne.default.set(n.social_count,"favorite",n.social_count.favorite-1);break;case"add-comment":Ne.default.set(n.social_count,"comment",n.social_count.comment+1);break;case"delete-comment":Ne.default.set(n.social_count,"comment",n.social_count.comment-1);break;case"add-feedback":Ne.default.set(n,"type","nabi_resource_feedback");break;case"remove-feedback":Ne.default.set(n,"type","nabi_resource");break;case"course3rdGroup-add-favorite":Ne.default.set(n,"is_favorite",!0),Ne.default.set(n,"favorite_count",n.favorite_count+1);break;case"course3rdGroup-cancel-favorite":Ne.default.set(n,"is_favorite",!1),Ne.default.set(n,"favorite_count",n.favorite_count-1)}}catch(t){ze(t)}},testEventHandler:function(t){var e=this.capabilityInfo.data;t.capabilityId===e.capabilityId&&Ne.default.set(e,"testMeta",t.record)},toggleFocus:function(data){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.isLogin){e.next=4;break}return t.loginAlertMsg={msg:"互動功能",customMsg:!1},t.$refs.LoginAlert.openModal(),e.abrupt("return");case 4:if(!(t.roomData.room_id===data.room_id)){e.next=36;break}if(e.prev=6,!data.is_favorite){e.next=18;break}if(2!==data.room_type){e.next=11;break}return e.next=11,t.$api.cls.cancelRoomFavorite({roomId:data.room_id});case 11:if(1!==data.room_type){e.next=14;break}return e.next=14,t.$api.user.updateSkillFavorite({capabilityId:String(data.room_id),favoriteState:"0"});case 14:t.addRoomUpdate({room_id:data.room_id,is_favorite:!1,favorite_count:data.favorite_count-1}),t.$toast.show("已取消關注囉！"),e.next=28;break;case 18:if(2!==data.room_type){e.next=22;break}return e.next=21,t.$api.cls.setRoomFavorite({room_id:data.room_id});case 21:n=e.sent;case 22:if(1!==data.room_type){e.next=26;break}return e.next=25,t.$api.user.updateSkillFavorite({capabilityId:String(data.room_id),favoriteState:"1"});case 25:n=e.sent;case 26:t.addRoomUpdate({room_id:data.room_id,is_favorite:!0,favorite_count:data.favorite_count+1}),t.$toast.show('已關注到<a href="/mynabi/classroom" class="text-white" style="text-decoration: underline">我的教室</a>！');case 28:if(!n.isFirst&&!n.is_first){e.next=31;break}return e.next=31,t.$refs.focus.openModal();case 31:e.next=36;break;case 33:e.prev=33,e.t0=e.catch(6),ze(e.t0);case 36:case"end":return e.stop()}}),e,null,[[6,33]])})))()},handlerUpdateClassroom:function(data){var t=this.roomData.room_id===data.room_id,e=this.roomData;t&&(Ne.default.set(e,"room_title",data.room_title),Ne.default.set(e,"description",data.description),Ne.default.set(e,"tags",data.tags))},handlerUpdateRoomImage:function(data){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n,o,r,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.roomData.room_id===data.room_id,o=t.roomData,!n){e.next=23;break}if(e.prev=3,"icon"!==data.type){e.next=12;break}return e.next=7,t.$api.cls.updateClassroomBackground({room_id:data.room_id,photo_small_file_id:data.fileId,photo_small_file_url:data.imgUrl});case 7:r=e.sent,r.success?(Ne.default.set(o,"photo_small_file_id",data.imgUrl),Ne.default.set(o,"photo_small_file_url",data.fileId)):t.$refs.alert.openModal(),e.next=17;break;case 12:return e.next=14,t.$api.cls.updateClassroomBackground({room_id:data.room_id,photo_file_id:data.fileId,photo_file_url:data.imgUrl});case 14:c=e.sent,c.success?(Ne.default.set(o,"photo_file_url",data.imgUrl),Ne.default.set(o,"photo_file_id",data.fileId)):t.$refs.alert.openModal();case 17:e.next=23;break;case 19:e.prev=19,e.t0=e.catch(3),t.$refs.alert.openModal(),ze(e.t0);case 23:case"end":return e.stop()}}),e,null,[[3,19]])})))()},activityUpdateProcess:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var i,n,o,r,c,l,d,f,m,A,h,v,y,C,w,x,k,_;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.activityList.isInitial){e.next=11;break}i=t.activityList.data.length-1;case 2:if(!(i>-1)){e.next=11;break}return n=t.activityList.data[i],e.next=6,t.getActivityUpdate(n.key);case 6:(o=e.sent)&&(r=t.$deepUpdate(n,o),t.activityList.data[i]=r);case 8:i--,e.next=2;break;case 11:if(!t.hitList.isInitial){e.next=22;break}c=t.hitList.data.length-1;case 13:if(!(c>-1)){e.next=22;break}return l=t.hitList.data[c],e.next=17,t.getActivityUpdate(l.key);case 17:(d=e.sent)&&(f=t.$deepUpdate(l,d),t.hitList.data[c]=f);case 19:c--,e.next=13;break;case 22:if(!t.chefpostList.isInitial){e.next=33;break}m=t.chefpostList.data.length-1;case 24:if(!(m>-1)){e.next=33;break}return A=t.chefpostList.data[m],e.next=28,t.getActivityUpdate(A.key);case 28:(h=e.sent)&&(v=t.$deepUpdate(A,h),t.chefpostList.data[m]=v);case 30:m--,e.next=24;break;case 33:if(!t.roomData){e.next=45;break}y=t.roomData.top_activitys,w=(C=void 0===y?[]:y).length-1;case 36:if(!(w>-1)){e.next=45;break}return x=C[w],e.next=40,t.getActivityUpdate(x.key);case 40:(k=e.sent)&&(_=t.$deepUpdate(x,k),C[w]=_);case 42:w--,e.next=36;break;case 45:t.combineList();case 46:case"end":return e.stop()}}),e)})))()},taiwinUpdateProcess:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var i,n,o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.taiwinInfo.isInitial){e.next=2;break}return e.abrupt("return");case 2:i=t.taiwinInfo.data.length-1;case 3:if(!(i>-1)){e.next=12;break}return n=t.taiwinInfo.data[i],e.next=7,t.getTaiwainUpdate(n.key);case 7:(o=e.sent)&&(r=t.$deepUpdate(n,o),t.taiwinInfo.data[i]=r);case 9:i--,e.next=3;break;case 12:t.combineList();case 13:case"end":return e.stop()}}),e)})))()},thirdUpdateProcess:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var i,n,o,r,c,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.thirdCourse.isInitial){e.next=2;break}return e.abrupt("return");case 2:i=t.thirdCourse.data.length-1;case 3:if(!(i>-1)){e.next=18;break}n=t.thirdCourse.data[i],o=n.length-1;case 6:if(!(o>-1)){e.next=15;break}return r=t.thirdCourse.data[i][o],e.next=10,t.getThirdUpdate(r.key);case 10:(c=e.sent)&&(l=t.$deepUpdate(r,c),t.thirdCourse.data[i][o]=l);case 12:o--,e.next=6;break;case 15:i--,e.next=3;break;case 18:t.combineList();case 19:case"end":return e.stop()}}),e)})))()},roomUpdateProcess:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var i,n,o,r,c,l,d,f,m,A,h,v,y,C;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=t.activityList.data.length-1;case 1:if(!(i>-1)){e.next=15;break}if(!(n=t.activityList.data[i].room_list[0])){e.next=9;break}return e.next=6,t.getRoomUpdate(n.room_id);case 6:e.t0=e.sent,e.next=10;break;case 9:e.t0=void 0;case 10:(o=e.t0)&&(r=t.$deepUpdate(n,o),Ne.default.set(t.activityList.data[i].room_list,0,r));case 12:i--,e.next=1;break;case 15:c=t.hitList.data.length-1;case 16:if(!(c>-1)){e.next=30;break}if(!(l=t.hitList.data[c].room_list[0])){e.next=24;break}return e.next=21,t.getRoomUpdate(l.room_id);case 21:e.t1=e.sent,e.next=25;break;case 24:e.t1=void 0;case 25:(d=e.t1)&&(f=t.$deepUpdate(l,d),Ne.default.set(t.hitList.data[c].room_list,0,f));case 27:c--,e.next=16;break;case 30:m=t.chefpostList.data.length-1;case 31:if(!(m>-1)){e.next=45;break}if(!(A=t.chefpostList.data[m].room_list[0])){e.next=39;break}return e.next=36,t.getRoomUpdate(A.room_id);case 36:e.t2=e.sent,e.next=40;break;case 39:e.t2=void 0;case 40:(h=e.t2)&&(v=t.$deepUpdate(A,h),Ne.default.set(t.chefpostList.data[m].room_list,0,v));case 42:m--,e.next=31;break;case 45:return e.next=47,t.getRoomUpdate(t.roomData.room_id);case 47:(y=e.sent)&&((C=t.$deepUpdate(t.roomData,y)).role_type!==t.roomData.role_type&&(t.refetch=!0),t.roomData=C),t.combineList();case 50:case"end":return e.stop()}}),e)})))()},handleRoomTopActivity:function(t){var e=this;return Object(l.a)(regeneratorRuntime.mark((function n(){var r,data,c,l;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=t.roomId,data=t.data,c=data.key,l=data.sortType,"top"!==(void 0===l?"":l)){n.next=11;break}return n.next=5,e.$api.wall.cancelTopActivity({room_id:r,activity_key:c});case 5:e.roomData=Ye(Ye({},e.roomData),{},{top_activitys:[]}),e.activityList.data=[Ye(Ye({},data),{},{sortType:'"activity"'})].concat(Object(o.a)(e.activityList.data)),e.$toast.show("已取消置頂"),e.combineList(),n.next=19;break;case 11:return n.next=13,e.$api.wall.setTopActivity({room_id:r,activity_key:c});case 13:e.roomData=Ye(Ye({},e.roomData),{},{top_activitys:[Ye(Ye({},data),{},{sortType:"top"})]}),e.activityList.data=e.activityList.data.filter((function(t){return t.key!==data.key})),e.activityList.extra=e.activityList.extra.filter((function(t){return t.key!==data.key})),e.$toast.show("貼文已置頂於教室"),e.combineList(),e.$nextTick((function(){e.roomData.setTopKey=e.$getUUID()}));case 19:case"end":return n.stop()}}),n)})))()},toggleRoomState:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n,o,r,c,l,d,f,m,A,h,v,y;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.roomData,o=n.is_apply,r=n.room_id,c=n.role_type,l=n.apply_question,d=n.auto_review,f=n.room_title,!o&&1!==c){e.next=3;break}return e.abrupt("return");case 3:if(t.isLogin){e.next=11;break}return m={title:"Hi 我們先登入好嗎？",msg:"加入共學功能需要登入才能使用喔～",confirmText:"確定",cancelText:"取消",noCancel:!1,noConfirm:!1,noXBtn:!0},t.hint=m,e.next=8,t.$refs.hint.openModal();case 8:return e.sent&&(A="".concat(t.$route.fullPath,"?&event=joinRoome"),window.location.href="/oidc/login?next=".concat(encodeURIComponent(A))),e.abrupt("return");case 11:if(e.prev=11,3!==c&&2!==c){e.next=27;break}return h={title:"確定要退出共學嗎？",msg:"退出共學後，您將不能再編輯和刪除您所發布的貼文",confirmText:"確定",cancelText:"取消",noCancel:!1,noConfirm:!1},t.hint=h,e.next=17,t.$refs.hint.openModal();case 17:if(e.sent){e.next=20;break}return e.abrupt("return");case 20:return e.next=22,t.$api.cls.classroomLeave({room_id:r});case 22:return t.resetContentList(),e.next=25,t.$fetch();case 25:e.next=46;break;case 27:if(v={room_id:r},!l){e.next=35;break}return e.next=31,t.$refs.classroomApplyQuestion.open(t.roomData);case 31:if(y=e.sent){e.next=34;break}return e.abrupt("return");case 34:Object.assign(v,{apply_question:l,apply_answer:y});case 35:return t.hint={title:d?"成功加入『".concat(f,"』"):"已送出共學申請",msg:d?"歡迎加入共學！你現在可以查看、回覆所有來自這間教室的貼文":"管理員已經收到你的共學申請，審核完畢後將以信件通知",confirmText:d?"馬上去看看":"我知道了",noCancel:!0,noXBtn:!1},e.next=38,t.$refs.hint.openModal();case 38:return e.next=40,t.$api.cls.classroomApply(v);case 40:if(!d){e.next=45;break}return t.resetContentList(),e.next=44,t.$fetch();case 44:return e.abrupt("return");case 45:t.roomData.is_apply=!0;case 46:e.next=50;break;case 48:e.prev=48,e.t0=e.catch(11);case 50:case"end":return e.stop()}}),e,null,[[11,48]])})))()},getTitle:function(){if(this.roomData&&!this.roomData.room_close){if(2===this.roomData.room_type){var t=(this.roomData||{}).creator_info,e=void 0===t?{}:t,n=null===e?{}:e,o=n.name,r=void 0===o?"":o,c=n.valid,l=void 0===c||c?null===r?"":r:"未知使用者";return"".concat(this.roomData.room_title,"－").concat(l,"創建的教室｜104學習精靈")}return"「".concat(this.roomData.room_title,"」在職進修、線上學習、共學教室｜104學習精靈")}},getDesc:function(){if(this.roomData&&!this.roomData.room_close)return 2===this.roomData.room_type?this.roomData.description.length>75?this.roomData.description.slice(0,75)+"...":this.roomData.description:"提供豐富的「".concat(this.roomData.room_title,"」學習資源，您可以在此觀課教學與文章、進行測驗、加入共學教室、管理自我學習成長歷程。想要進修「").concat(this.roomData.room_title,"」，但不知道如何開始學習？趕緊進入104學習精靈分析程度！")},getLink:function(){if(this.roomData&&!this.roomData.room_close)return 2===this.roomData.room_type?"".concat("https://nabi.104.com.tw","/room/").concat(this.roomData.room_id):"".concat("https://nabi.104.com.tw","/room/ability_").concat(this.roomData.room_id)},getOgImage:function(){if(this.roomData&&!this.roomData.room_close)return 2===this.roomData.room_type?"".concat(this.roomData.photo_file_url):"".concat("https://nabi.104.com.tw").concat(this.roomData.photo_file_url)},getCanonicalLink:function(){if(this.roomData&&!this.roomData.room_close)return 2===this.roomData.room_type?"".concat("https://nabi.104.com.tw","/room/").concat(this.roomData.room_id):"".concat("https://nabi.104.com.tw","/room/ability_").concat(this.roomData.room_id)}})},Ze=(n(2238),Object(h.a)(We,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"bigClass"},[e("SeoContainer"),t._v(" "),e("BigClassNavBar"),t._v(" "),t.roomData&&!t.roomData.room_close?e(t.isOffice?"OfficeClassroom":"UnOfficeClassroom",{tag:"component",attrs:{"is-office":t.isOffice,"room-data":t.roomData,"content-list":t.contentList,"capability-info":t.capabilityInfo,"is-creator":t.isCreator,"is-schedule-empty":t.isScheduleEmpty,"show-apply-hint":t.showApplyHint,search:t.search,"specify-test":t.specifyTest,"featured-exam-list":t.featuredExamList},on:{toggleFocus:t.toggleFocus,updateClassroom:t.handlerUpdateClassroom,saveRoomImage:t.handlerUpdateRoomImage,fetchUserActivity:t.fetchContentList,addUserNewActivity:t.handlerNewActivity,updateUserActivity:t.handlerUpdateActivity,deleteItem:t.handlerDeleteItem,socailEventHandler:t.socailEventHandler,updateTestMeta:t.testEventHandler,"toggle-room-top-activity":t.handleRoomTopActivity,addUserScheduleActivity:t.addUserScheduleActivity,scheduleListIsEmpty:t.scheduleListIsEmpty,toggleRoomState:t.toggleRoomState,closeManage:t.closeManage,openRoomSearch:t.openRoomSearch,cancelSearch:t.cancelSearch,"login-alert":t.loginAlert,"content3rdGroup-click":t.content3rdGroupClick}}):t.roomData&&t.roomData.room_close?e("ClassroomClose"):t._e(),t._v(" "),t.fetchLoading?e("div",{staticClass:"fetchLoading"},[e("img",{attrs:{src:n(375)}})]):t._e(),t._v(" "),e("MessageBox",{ref:"alert",attrs:{title:"發生錯誤",msg:"請稍後再試","no-cancel":!0,"confirm-text":"確認"}}),t._v(" "),e("MessageBox",{ref:"hint",attrs:{title:t.hint.title,msg:t.hint.msg,"confirm-text":t.hint.confirmText,"cancel-text":t.hint.cancelText,"no-cancel":t.hint.noCancel,"no-confirm":t.hint.noConfirm,"no-x-btn":t.hint.noXBtn}}),t._v(" "),e("LoginAlert",{ref:"LoginAlert",attrs:{message:t.loginAlertMsg.msg,"custom-msg":t.loginAlertMsg.customMsg}}),t._v(" "),e("FocusSkillModal",{ref:"focus"}),t._v(" "),e("RoomSearch",{ref:"roomSearch",attrs:{"room-data":t.roomData},on:{searchClick:t.searchClick}}),t._v(" "),e("ClassroomApplyQuestion",{ref:"classroomApplyQuestion"})],1)}),[],!1,null,"34a13648",null));e.default=Ze.exports}])]);