(window.webpackJsonp=window.webpackJsonp||[]).push([[103,43,44,45,46,48,49,50,51,52,53,59,60,73,74,84,94,97],{491:function(t,e,n){t.exports={}},501:function(t,e,n){"use strict";n(491)},503:function(t,e,n){"use strict";n.r(e);n(19),n(18);var r={props:{bc:{type:Array,default:function(){return[]}}},computed:{list:function(){return this.bc.slice(0)}}},o=(n(501),n(16)),component=Object(o.a)(r,(function(){var t=this,e=t._self._c;return e("b-container",[e("b-breadcrumb",{staticClass:"breadcrumb d-print-none"},t._l(t.list,(function(n,r){return e("b-breadcrumb-item",{key:r,attrs:{active:n.hasOwnProperty("active")?n.active:r===t.list.length-1,to:t.localeRoute({name:n.name,params:{id:n.id},query:n.query})}},[t._v(t._s(n.title))])})),1)],1)}),[],!1,null,"ca026834",null);e.default=component.exports},507:function(t,e,n){t.exports={}},513:function(t,e,n){t.exports={}},514:function(t,e,n){"use strict";n(507)},515:function(t,e,n){t.exports={}},519:function(t,e,n){"use strict";n.r(e);n(5),n(4),n(2),n(1),n(6),n(3),n(7);var r=n(0),o=(n(212),n(47));function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(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(r.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 d={props:{path:{type:Array,default:null},level:{type:Number,default:0},loading:{type:Boolean,default:!1}},computed:l(l({},Object(o.b)({bookmarks:"kirjanmerkit/isBookmarked",notes:"muistiinpanot/isNoted"})),{},{data:function(){return this.$store.state.toc.data[this.path[this.level].id].items}}),methods:{bookmarked:function(t){return this.bookmarks(t)},noted:function(t){return this.notes(t)}}},f=(n(544),n(16)),component=Object(f.a)(d,(function(){var t=this,e=t._self._c;return e("div",t._l(t.data,(function(n){return e("div",{key:n.id,staticClass:"tk-selauspuu",attrs:{id:"S".concat(n.id)}},["article"==n.type?e("div",{staticClass:"tk-plain"},[e("nuxt-link",{attrs:{to:t.localeRoute({name:"artikkeli",params:{id:n.id}})}},[t._v(t._s(n.title))]),t._v(" "),t.bookmarked(n.id)?e("fa",{staticClass:"op-lisatieto op-kirjanmerkki",attrs:{title:"Kirjanmerkattu",icon:"bookmark"}}):t._e(),t.noted(n.id)?e("fa",{staticClass:"op-lisatieto op-muistiinpano",attrs:{title:"Sisältää muistiinpanoja",icon:"note-sticky"}}):t._e()],1):t.path[t.level+1]&&n.id==t.path[t.level+1].id?e("div",{attrs:{id:"b"+n.id}},[e("nuxt-link",{staticClass:"tk-branch tk-selected",attrs:{to:{query:{toc:t.path[t.level].id}},replace:""}},[e("fa",{staticClass:"tk-active",attrs:{icon:"angle-right"}}),t._v(t._s(n.title)+"\n ")],1),t._v(" "),e("SelausPuu",{attrs:{path:t.path,level:t.level+1,loading:t.loading}})],1):e("div",{attrs:{id:"b"+n.id}},[e("nuxt-link",{staticClass:"tk-branch",attrs:{to:{query:{toc:n.id}}}},[e("fa",{attrs:{icon:"angle-right"}}),t._v(t._s(n.title)+"\n ")],1)],1)])})),0)}),[],!1,null,"fde5c6de",null);e.default=component.exports;installComponents(component,{SelausPuu:n(519).default})},520:function(t,e,n){"use strict";n.r(e);n(213),n(13);var r={props:{baseUrl:{type:String,default:""},dataset:{type:Object,default:null}},data:function(){return{link:"https://www.oppiportti.fi/"+this.baseUrl,networks:[{network:"linkedin",prefix:"fab",icon:"linkedin",text:"Jaa LinkedInissa"},{network:"twitter",prefix:"fab",icon:"x-twitter",text:"Jaa viestintäpalvelu X:ään"},{network:"facebook",prefix:"fab",icon:"facebook",text:"Jaa Facebookissa"},{network:"whatsapp",prefix:"fab",icon:"whatsapp",text:"Jaa WhatsAppilla"},{network:"email",prefix:"fas",icon:"envelope",text:"Lähetä linkki sähköpostitse"}]}},computed:{shareTextByEmail:function(){return"\nkäy tutustumassa Duodecimin Oppiportin '".concat(this.dataset.title,"' - sisältöön osoitteessa:\n").concat(this.link+this.dataset.id,"\n ")}}},o=(n(514),n(16)),component=Object(o.a)(r,(function(){var t=this,e=t._self._c;return e("div",[t._l(t.networks,(function(n){return e("ShareNetwork",{key:n.network,attrs:{url:"email"===n.network?"Hei,":"".concat(t.link+t.dataset.id),network:n.network,title:t.dataset.title,description:n.network?t.shareTextByEmail:n.desc,"twitter-user":"@DuodecimFi",hashtags:"oppiportti,duodecim",tabindex:"0"}},[e("fa",{staticClass:"icon",attrs:{title:n.text,icon:[n.prefix,n.icon]}})],1)})),t._v(" "),e("a",{staticClass:"d-md-none d-lg-inline",attrs:{href:"javascript:self.print()"}},[e("fa",{staticClass:"icon",staticStyle:{"margin-left":"1rem"},attrs:{icon:["fas","print"]}}),e("span",[t._v("Tulosta")])],1)],2)}),[],!1,null,"139b63c4",null);e.default=component.exports},526:function(t,e,n){t.exports={}},527:function(t,e,n){t.exports={}},528:function(t,e,n){t.exports={}},542:function(t,e){t.exports=function(t){t.options.__i18n=t.options.__i18n||[],t.options.__i18n.push('{"fi":{"edellinen":"Edellinen","seuraava":"Seuraava"}}'),delete t.options._Ctor}},543:function(t,e){t.exports=function(t){t.options.__i18n=t.options.__i18n||[],t.options.__i18n.push('{"fi":{"edellinen":"Edellinen","seuraava":"Seuraava"}}'),delete t.options._Ctor}},544:function(t,e,n){"use strict";n(513)},545:function(t,e,n){"use strict";n(515)},556:function(t,e,n){"use strict";n.r(e);var r=n(598),o=n(599),c=n(597),l={components:{EditorContent:r.b},props:{value:{type:String,default:""}},data:function(){return{editor:null}},watch:{value:function(t){this.editor.getHTML()===t||this.editor.commands.setContent(t,!1)}},mounted:function(){var t=this;this.editor=new r.a({extensions:[o.a,c.a.configure({placeholder:"Kirjoita muistiinpanosi tähän"})],content:this.value,onUpdate:function(){t.$emit("input",t.editor.getHTML())}})},beforeDestroy:function(){this.editor.destroy()}},d=(n(545),n(16)),component=Object(d.a)(l,(function(){return(0,this._self._c)("editor-content",{attrs:{editor:this.editor}})}),[],!1,null,null,null);e.default=component.exports},566:function(t,e,n){t.exports={}},567:function(t,e,n){t.exports={}},568:function(t,e,n){t.exports={}},569:function(t,e,n){"use strict";n(526)},570:function(t,e,n){t.exports={}},571:function(t,e,n){t.exports={}},572:function(t,e,n){t.exports={}},573:function(t,e,n){"use strict";n(527)},574:function(t,e,n){"use strict";n(528)},601:function(t,e,n){"use strict";n.r(e);var r=n(12),o=(n(38),n(18),{props:{roots:{type:String,default:null},ids:{type:String,default:null}},data:function(){return{root:"",path:""}},fetch:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,o,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.$route.query.toc||t.ids,o=t.roots,c=r||t.$store.state.toc.lastid||o,!r){e.next=6;break}return e.next=6,t.$store.dispatch("toc/setLastId",r);case 6:return e.next=8,t.$store.dispatch("toc/setRoot",o);case 8:return e.next=10,t.$store.dispatch("toc/setToc",o);case 10:return e.next=12,t.$store.dispatch("toc/setToc",c);case 12:t.root=o,t.path=null===(n=t.$store.state.toc.data[c])||void 0===n?void 0:n.path.slice(1);case 14:case"end":return e.stop()}}),e)})))()},watch:{"$route.params":"$fetch"},watchQuery:!0}),c=(n(569),n(16)),component=Object(c.a)(o,(function(){var t=this,e=t._self._c;return t.root?e("SelausPuu",{staticClass:"op-puu",attrs:{path:t.path,loading:t.$fetchState.pending}}):t._e()}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{SelausPuu:n(519).default})},602:function(t,e,n){"use strict";n.r(e);var r={props:{dataset:{type:Object,default:null}},computed:{content:{get:function(){return this.$store.state.muistiinpanot.content},set:function(t){var e={id:this.dataset.id,title:this.dataset.title,text:t};this.$store.dispatch("muistiinpanot/setContent",e),this.$store.dispatch("muistiinpanot/saveContent",this.$axios)}}}},o=(n(573),n(574),n(16)),component=Object(o.a)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"op-memo d-print-none"},[e("b-container",[e("MemoEditor",{staticClass:"op-memo-editor",model:{value:t.content,callback:function(e){t.content=e},expression:"content"}}),t._v(" "),e("div",{staticClass:"op-memo-close"},[e("fa",{staticClass:"icon fa-2x",attrs:{title:"Sulje muistiinpanot",icon:["fas","xmark"],tabindex:"0",role:"button"},on:{click:function(e){return t.$emit("close")},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.$emit("close")}}}),t._v(" "),e("br"),t._v("\n Sulje\n ")],1)],1)],1)}),[],!1,null,"73fcfcd6",null);e.default=component.exports;installComponents(component,{MemoEditor:n(556).default})},620:function(t,e,n){"use strict";n(566)},621:function(t,e,n){"use strict";var r=n(542),o=n.n(r);e.default=o.a},622:function(t,e,n){"use strict";n(567)},623:function(t,e,n){"use strict";var r=n(543),o=n.n(r);e.default=o.a},624:function(t,e,n){"use strict";n(568)},625:function(t,e,n){"use strict";n(570)},626:function(t,e,n){"use strict";n(571)},627:function(t,e,n){"use strict";n(572)},657:function(t,e,n){t.exports={}},686:function(t,e,n){"use strict";n.r(e);var r={props:{dataset:{type:Object,default:null}},computed:{prev:function(){return this.dataset&&this.dataset.content.prevnext&&this.dataset.content.prevnext.prev||{disabled:!0,id:this.dataset.id}},next:function(){return this.dataset&&this.dataset.content.prevnext&&this.dataset.content.prevnext.next||{disabled:!0,id:this.dataset.id}},images:function(){return null!==this.dataset.content.images}},methods:{print:function(){self.print()},naytaKokoruutu:function(){this.$emit("fullscreen",!1)}}},o=(n(620),n(16)),c=n(621),component=Object(o.a)(r,(function(){var t=this,e=t._self._c;return t.dataset?e("div",[e("b-button",{attrs:{disabled:t.prev.next,title:t.next.title,to:t.localePath({name:"artikkeli",params:{id:t.next.id}}),variant:"primary"}},[e("fa",{staticClass:"icon",attrs:{icon:["fas","arrow-right"]}})],1),t._v(" "),e("b-button",{attrs:{disabled:t.prev.disabled,title:t.prev.title,variant:"primary",to:t.localePath({name:"artikkeli",params:{id:t.prev.id}})}},[e("fa",{staticClass:"icon",attrs:{icon:["fas","arrow-left"]}})],1),t._v(" "),e("b-button",{staticClass:"mt-3",attrs:{variant:"primary",to:"#haku"}},[e("fa",{staticClass:"icon",attrs:{icon:["fas","magnifying-glass"]}})],1),t._v(" "),e("b-button",{attrs:{variant:"primary",to:"#sisallysluettelo"}},[e("fa",{staticClass:"icon",attrs:{icon:["fas","list-ul"]}})],1),t._v(" "),e("b-button",{attrs:{disabled:!t.images,variant:"primary",to:"#kuvat"}},[e("fa",{staticClass:"icon",attrs:{icon:["fas","image"]}})],1),t._v(" "),e("b-button",{attrs:{variant:"primary"},on:{click:function(e){return t.print()}}},[e("fa",{staticClass:"icon",attrs:{icon:["fas","print"]}})],1),t._v(" "),e("b-button",{staticClass:"mt-2 d-xs-none d-sm-none d-lg-block",attrs:{variant:"primary"},on:{click:function(e){return t.naytaKokoruutu()}}},[e("fa",{staticClass:"icon",attrs:{icon:["fas","maximize"]}})],1)],1):t._e()}),[],!1,null,"7f9d307a",null);"function"==typeof c.default&&Object(c.default)(component);e.default=component.exports},687:function(t,e,n){"use strict";n.r(e);var r={props:{dataset:{type:Object,default:null}},computed:{prev:function(){return this.dataset&&this.dataset.prev||{disabled:!0,id:this.dataset.id}},next:function(){return this.dataset&&this.dataset.next||{disabled:!0,id:this.dataset.id}}}},o=(n(622),n(16)),c=n(623),component=Object(o.a)(r,(function(){var t=this,e=t._self._c;return t.dataset?e("div",{staticClass:"mb-3"},[e("b-button",{staticClass:"op-edellinen",attrs:{disabled:t.prev.disabled,title:t.prev.title,variant:"primary","aria-label":"Avaa edellinen sisältö",to:t.localePath({name:"artikkeli",params:{id:t.prev.id}})}},[e("fa",{staticClass:"icon",attrs:{icon:["fas","arrow-left"]}}),t._v("\n "+t._s(t.$t("edellinen")))],1),t._v(" "),e("b-button",{staticClass:"op-seuraava",attrs:{disabled:t.prev.next,title:t.next.title,"aria-label":"Avaa seuraava sisältö",to:t.localePath({name:"artikkeli",params:{id:t.next.id}}),variant:"primary"}},[t._v(t._s(t.$t("seuraava"))+" "),e("fa",{staticClass:"icon",attrs:{icon:["fas","arrow-right"]}})],1)],1):t._e()}),[],!1,null,"693d9b1e",null);"function"==typeof c.default&&Object(c.default)(component);e.default=component.exports},688:function(t,e,n){"use strict";n.r(e);var r={props:{dataset:{type:Object,default:null}}},o=n(16),component=Object(o.a)(r,(function(){var t=this,e=t._self._c;return t.dataset?e("div",{staticClass:"my-3 mt-4",attrs:{id:"haku"}},[e("HakuKentta",{attrs:{db:t.dataset.bc[0].id,placeholder:"Hae kirjan sisällöstä"}})],1):t._e()}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{HakuKentta:n(324).default})},689:function(t,e,n){"use strict";n.r(e);n(5),n(4),n(2),n(1),n(6),n(3),n(7);var r=n(0),o=n(47);function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(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(r.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 d={props:{dataset:{type:Object,default:null}},data:function(){return{visible:!1}},computed:l(l({},Object(o.b)({juuri:"toc/getRoot"})),{},{root:function(){return this.dataset.bc[0].id},id:function(){return this.dataset.bc[this.dataset.bc.length-1].id}}),watch:{visible:function(t){localStorage&&localStorage.setItem("toc-visible",t)}},mounted:function(){this.visible="true"===localStorage.getItem("toc-visible")||!1}},f=(n(624),n(16)),component=Object(f.a)(d,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3 mx-2 op-kortti",attrs:{id:"sisallysluettelo"}},[e("a",{directives:[{name:"b-toggle",rawName:"v-b-toggle",value:"op-selauspuu",expression:"'op-selauspuu'"}],attrs:{href:"#"},on:{click:function(t){t.preventDefault()}}},[e("fa",{attrs:{icon:["fas","list-ul"]}}),t._v(" Sisällysluettelo\n "),e("span",{staticClass:"op-kuvake",class:t.visible?"fa-rotate-90":null},[e("fa",{attrs:{icon:["fas","chevron-right"]}})],1)],1),t._v(" "),e("b-collapse",{attrs:{id:"op-selauspuu"},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[e("SelausJuuri",{staticClass:"mt-1",attrs:{ids:t.id,roots:t.root}})],1)],1)}),[],!1,null,"631c9c0c",null);e.default=component.exports;installComponents(component,{SelausJuuri:n(601).default})},690:function(t,e,n){"use strict";n.r(e);var r={props:{dataset:{type:Object,default:null}},computed:{active:function(){return this.dataset.tentti}}},o=n(16),component=Object(o.a)(r,(function(){var t=this,e=t._self._c;return t.active?e("div",{staticClass:"my-3 mx-2 op-kortti"},[e("b-button",{attrs:{variant:"primary",to:t.localeRoute({name:"tentti",params:{id:t.dataset.tentti}})}},[t._v("Avaa laitekoulutuksen tentti")]),t._v(" "),e("hr")],1):t._e()}),[],!1,null,null,null);e.default=component.exports},691:function(t,e,n){"use strict";n.r(e);n(5),n(4),n(2),n(1),n(6),n(3),n(7);var r=n(12),o=n(0),c=(n(38),n(47));function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}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={props:{dataset:{type:Object,default:null}},data:function(){return{visible:!1}},computed:d(d({},Object(c.b)({bookmarks:"kirjanmerkit/getBookmarks",bookmarked:"kirjanmerkit/isBookmarked"})),{},{active:function(){return this.bookmarked(this.dataset.id)}}),mounted: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.$store.dispatch("kirjanmerkit/initBookmarks",t.dataset.id);case 2:case"end":return e.stop()}}),e)})))()},methods:{asetaKirjanmerkki: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.$store.dispatch("kirjanmerkit/setBookmark",t.dataset.id);case 2:case"end":return e.stop()}}),e)})))()}}},v=(n(625),n(16)),component=Object(v.a)(f,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3 mx-2 op-kortti"},[e("a",{attrs:{href:"#"},on:{click:[function(t){t.preventDefault()},function(e){return t.asetaKirjanmerkki()}]}},[e("fa",{class:{active:t.active},attrs:{icon:["fas","bookmark"]}}),t._v(" "),t.active?[t._v("Poista kirjanmerkki")]:[t._v("Lisää kirjanmerkki")]],2),t._v(" "),e("span",[t._v("|")]),t._v(" "),e("a",{directives:[{name:"b-toggle",rawName:"v-b-toggle",value:"op-kirjanmerkit",expression:"'op-kirjanmerkit'"}],attrs:{href:"#"},on:{click:function(t){t.preventDefault()}}},[t._v("Kaikki kirjanmerkit\n "),e("span",{staticClass:"op-kuvake",class:t.visible?"fa-rotate-90":null},[e("fa",{attrs:{icon:["fas","chevron-right"]}})],1)]),t._v(" "),e("b-collapse",{attrs:{id:"op-kirjanmerkit"},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[t.bookmarks&&t.bookmarks.length?e("ul",t._l(t.bookmarks,(function(n){return e("li",{key:n.id},[e("nuxt-link",{attrs:{title:n.desc,to:t.localeRoute({name:"artikkeli",params:{id:n.id}})}},[t._v("\n "+t._s(n.title)+"\n ")])],1)})),0):e("div",[t._v("Ei kirjanmerkkejä tässä kirjassa")])])],1)}),[],!1,null,"184d3914",null);e.default=component.exports},692:function(t,e,n){"use strict";n.r(e);n(5),n(4),n(2),n(1),n(6),n(3),n(7);var r=n(0),o=n(47);function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(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(r.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 d={props:{dataset:{type:Object,default:null}},data:function(){return{visible:!1}},computed:l(l({},Object(o.b)({notes:"muistiinpanot/getNotes",noted:"muistiinpanot/isNoted"})),{},{active:function(){return this.noted(this.dataset.id)}})},f=(n(626),n(16)),component=Object(f.a)(d,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3 mx-2 op-kortti"},[e("a",{attrs:{href:"#"},on:{click:[function(t){t.preventDefault()},function(e){return t.$emit("click")}]}},[e("fa",{class:{active:t.active},attrs:{icon:["fas","note-sticky"]}}),t._v("\n Muistiinpanot\n ")],1),t._v(" "),e("span",[t._v("|")]),t._v(" "),e("a",{directives:[{name:"b-toggle",rawName:"v-b-toggle",value:"op-muistiinpanot",expression:"'op-muistiinpanot'"}],attrs:{href:"#"},on:{click:function(t){t.preventDefault()}}},[t._v("Kaikki muistiinpanot\n "),e("span",{staticClass:"op-kuvake",class:t.visible?"fa-rotate-90":null},[e("fa",{attrs:{icon:["fas","chevron-right"]}})],1)]),t._v(" "),e("b-collapse",{attrs:{id:"op-muistiinpanot"}},[t.notes&&t.notes.length?e("ul",t._l(t.notes,(function(n){return e("li",{key:n.id},[e("nuxt-link",{attrs:{title:n.desc,to:t.localeRoute({name:"artikkeli",params:{id:n.id}})}},[t._v("\n "+t._s(n.title)+"\n ")])],1)})),0):e("div",[t._v("Ei muistiinpanoja tässä kirjassa")])])],1)}),[],!1,null,"9863b484",null);e.default=component.exports},693:function(t,e,n){"use strict";n.r(e);var r={props:{dataset:{type:Object,default:null}},methods:{naytaKokoruutu:function(){this.$emit("fullscreen",!0)}}},o=n(16),component=Object(o.a)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-2 mx-2 op-kortti"},[e("a",{attrs:{href:"#","aria-label":"Kokoruutunäkymä"},on:{click:[function(t){t.preventDefault()},function(e){return t.naytaKokoruutu()}]}},[e("fa",{attrs:{icon:["fas","maximize"]}}),t._v("\n Kokoruutunäkymä\n ")],1)])}),[],!1,null,null,null);e.default=component.exports},694:function(t,e,n){"use strict";n.r(e);var r={props:{dataset:{type:Object,default:null}}},o=n(16),component=Object(o.a)(r,(function(){var t=this._self._c;return t("div",{staticClass:"my-3 mx-2 op-jako op-kortti"},[t("div",{staticClass:"op-jako"},[t("YhteinenJako",{attrs:{dataset:this.dataset,"base-url":"oppikirjat/"}})],1)])}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{YhteinenJako:n(520).default})},695:function(t,e,n){"use strict";n.r(e);n(13);var r={props:{dataset:{type:Object,default:null}},computed:{items:function(){return this.dataset.content.images}}},o=(n(627),n(16)),component=Object(o.a)(r,(function(){var t=this,e=t._self._c;return t.items?e("div",{staticClass:"op-artikkelikuvat",attrs:{id:"kuvat"}},[t._m(0),t._v(" "),e("div",t._l(t.items,(function(n){return e("b-link",{key:n.id,attrs:{href:"#"+n.id,title:n.title}},[e("figure",[e("b-img",{attrs:{thumbnail:"",alt:n.title,src:"".concat(t.$config.openv.DOMAIN_URL,"/xmedia/").concat(n.img)}}),t._v(" "),e("figcaption",[t._v(t._s(n.title))])],1)])})),1)]):t._e()}),[function(){var t=this._self._c;return t("p",[t("b",[this._v("Kuvat")])])}],!1,null,"0f6b1f1d",null);e.default=component.exports},714:function(t,e,n){"use strict";n.r(e);var r=n(16),component=Object(r.a)({},(function(){var t=this,e=t._self._c;return e("client-only",[e("div",[e("div",{staticStyle:{display:"none"},attrs:{id:"voice-intuitive-root"}}),t._v(" "),e("script",{attrs:{type:"application/javascript"}},[t._v("\n var defaultConfig = {\n debug: false,\n useDevAPI: false,\n overrideRemoteConfig: false,\n readAreaSelector: '.d-document',\n buttonContainerSelector: '#voice-intuitive-root',\n buttonForegroundColor: '#FFFFFF',\n buttonBackgroundColor: '#003660',\n disabledPaths: [],\n buttonMargin: '0 0',\n controlPanelEnabled: true,\n controlPanelShadowColor: '#a9a9a9',\n controlPanelBackgroundColor: '#ffffff',\n controlPanelForegroundColor: '#333333',\n textHighlightingEnabled: true,\n textHighlightDelay: -0.1,\n textHighlightPrimaryColor: '#ffc',\n textHighlightSecondaryColor: '#00000008',\n shareButtonEnabled: false,\n useLocalStorageForSpeedSelector: false,\n skipRemoteConfig: true,\n excludeText: {\n id: [],\n className: [\n 'voice-no-read',\n 'tk-some',\n 'some-buttons',\n 'd-toc',\n 'd-references',\n 'd-updated',\n 'd-article-footer',\n 'tk-sidebar',\n 'duo-article-header',\n 'duo-article-footer',\n 'duo-toc'\n ],\n tagName: [\n 'STYLE',\n 'SCRIPT',\n 'NOSCRIPT',\n 'IMG',\n 'IMAGE',\n 'IFRAME',\n 'TABLE',\n 'FIGURE',\n 'VAR'\n ],\n textContent: ['®']\n },\n translationEnabled: false,\n translationAreaSelector: '.d-document'\n }\n ")]),t._v(" "),e("script",{attrs:{type:"application/javascript"}},[t._v("\n ;(function (w, d, s, o, f, js, fjs) {\n w[o] =\n w[o] ||\n function () {\n ;(w[o].q = w[o].q || []).push(arguments)\n }\n ;(js = d.createElement(s)), (fjs = d.getElementsByTagName(s)[0])\n js.id = o\n js.src = f\n js.async = 1\n fjs.parentNode.insertBefore(js, fjs)\n })(\n window,\n document,\n 'script',\n '_vi',\n 'https://static.voiceintuitive.com/widget.js'\n )\n _vi('init', defaultConfig)\n ")])])])}),[],!1,null,null,null);e.default=component.exports},720:function(t,e,n){"use strict";n(657)},777:function(t,e,n){"use strict";n.r(e);n(5),n(4),n(2),n(6),n(7);var r=n(0),o=(n(1),n(3),n(47));function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(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(r.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 d={scrollToTop:!0,data:function(){return{memo:!1,sidebar:!0,fullscreen:!1}},computed:l(l({},Object(o.b)({personal:"kayttaja/isPersonal"})),{},{dataset:function(){return this.$store.state.kirja.bookinfo},prevnext:function(){return this.dataset.content.prevnext},nakyma:function(){return this.fullscreen?{sm:12,md:12,lg:12,cls:""}:{sm:12,md:8,lg:7,cls:"d-lg-none d-xl-none"}},bc:function(){var t=this,e=this.dataset.bc2,n=this.dataset.type||"Oppikirjat",r=[{name:"etusivu",title:"Etusivu"},{name:"etusivu",title:n,id:n.toLowerCase()}];return e.forEach((function(e){r.push({title:e.title,active:!1,id:e.article||t.dataset.id,name:"esittely"})})),r}})},f=(n(720),n(16)),component=Object(f.a)(d,(function(){var t=this,e=t._self._c;return e("div",[e("YhteinenMurupolku",{attrs:{bc:t.bc}}),t._v(" "),e("b-container",[e("b-row",[e("b-col",{staticClass:"d-print d-flex",attrs:{sm:"12",md:"12",lg:t.nakyma.lg}},[e("nuxt-child"),t._v(" "),e("div",{staticClass:"d-print-none",class:t.nakyma.cls},[e("div",{staticClass:"op-minimenu"},[e("KirjaMinimenu",{attrs:{dataset:t.dataset},on:{fullscreen:function(e){t.fullscreen=!t.fullscreen}}})],1)])],1),t._v(" "),e("b-col",{staticClass:"d-print-none",attrs:{sm:"12",md:"8",lg:"5"}},[e("div",{staticClass:"op-menu op-bg"},[e("KirjaSiirtymat",{attrs:{dataset:t.dataset.content.prevnext}}),t._v(" "),e("KirjaHaku",{attrs:{dataset:t.dataset}}),t._v(" "),e("KirjaSisallys",{attrs:{dataset:t.dataset}}),t._v(" "),e("hr"),t._v(" "),t.personal?e("div",[e("KirjaTentti",{attrs:{dataset:t.dataset}}),t._v(" "),e("KirjaKirjanmerkit",{attrs:{dataset:t.dataset}}),t._v(" "),e("KirjaMuistiinpanot",{attrs:{dataset:t.dataset},on:{click:function(e){t.memo=!t.memo}}})],1):e("div",{staticClass:"my-3 mx-2 op-kortti"},[e("p",[e("fa",{attrs:{icon:["fas","circle-info"]}}),t._v("\n Kirjanmerkit, muistiinpanot ja tekstin korostukset ovat käytössä\n sisäänkirjautuneena.\n ")],1)]),t._v(" "),e("hr"),t._v(" "),e("KirjaKokoruutu",{attrs:{dataset:t.dataset},on:{fullscreen:function(e){t.fullscreen=!t.fullscreen}}}),t._v(" "),e("KirjaJako",{attrs:{dataset:t.dataset}}),t._v(" "),e("KirjaKuvat",{attrs:{dataset:t.dataset}})],1)])],1)],1),t._v(" "),e("client-only",[e("transition",{attrs:{name:"notes"}},[e("MemoContainer",{directives:[{name:"show",rawName:"v-show",value:t.memo,expression:"memo"}],attrs:{dataset:t.dataset},on:{close:function(e){t.memo=!1}}})],1),t._v(" "),e("VoiceintuitiveScript")],1)],1)}),[],!1,null,"6cd51af3",null);e.default=component.exports;installComponents(component,{YhteinenMurupolku:n(503).default,KirjaMinimenu:n(686).default,KirjaSiirtymat:n(687).default,KirjaHaku:n(688).default,KirjaSisallys:n(689).default,KirjaTentti:n(690).default,KirjaKirjanmerkit:n(691).default,KirjaMuistiinpanot:n(692).default,KirjaKokoruutu:n(693).default,KirjaJako:n(694).default,KirjaKuvat:n(695).default,MemoContainer:n(602).default,VoiceintuitiveScript:n(714).default})}}]);