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MAAM,SAAS,YAAY,iBAAiB,2BAA2B,KAAK,iBAAiB,gCAAgC,+DAA+D,KAAK,iBAAiB,iBAAiB,0BAA0B,SAAS,0BAA0B,aAAa,sCAAsC,4CAA4C,cAAc,uEAAuE,MAAM,cAAc,4BAA4B,MAAM,UAAU,yDAAyD,yCAAyC,6BAA6B,wBAAwB,MAAM,sEAAsE,OAAO,UAAU,oBAAoB,iBAAiB,4CAA4C,KAAK,gDAAgD,4EAA4E,gBAAgB,oCAAoC,8HAA8H,0GAA0G,KAAK,KAAK,aAAa,6BAA6B,2CAA2C,mCAAmC,6HAA6H,mBAAmB,qEAAqE,eAAe,8FAA8F,yFAAyF,0BAA0B,IAAI,aAAa,wBAAwB,iBAAiB,WAAW,KAAK,qBAAqB,mBAAmB,uBAAuB,cAAc,WAAW,0BAA0B,YAAY,iBAAiB,iBAAiB,kBAAkB,iBAAiB,SAAS,qBAAqB,4CAA4C,GAAG,aAAa,wBAAwB,iBAAiB,KAAK,WAAW,KAAK,0CAA0C,sCAAsC,qCAAqC,eAAe,EAAE,UAAU,iBAAiB,WAAW,YAAY,GAAG","sources":["webpack://finnish-art/./node_modules/vue-slideout-panel/dist/index.js"],"sourcesContent":["(function(a,b){'object'==typeof exports&&'object'==typeof module?module.exports=b():'function'==typeof define&&define.amd?define('vue-slideout-panel',[],b):'object'==typeof exports?exports['vue-slideout-panel']=b():a['vue-slideout-panel']=b()})(this,function(){return function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={i:d,l:!1,exports:{}};return a[d].call(e.exports,e,e.exports,b),e.l=!0,e.exports}var c={};return b.m=a,b.c=c,b.i=function(a){return a},b.d=function(a,c,d){b.o(a,c)||Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:d})},b.n=function(a){var c=a&&a.__esModule?function(){return a['default']}:function(){return a};return b.d(c,'a',c),c},b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},b.p='',b(b.s=9)}([function(a,b,c){var d=c(3)(c(4),c(5),function(){!1||c(6)},'data-v-74aa87bc',null);d.options.__file='/home/jooshka/z/vue-slideout-panel/src/VueSlideoutPanel.vue',d.esModule&&Object.keys(d.esModule).some(function(a){return'default'!==a&&'__'!==a.substr(0,2)})&&console.error('named exports are not supported in *.vue files.'),d.options.functional&&console.error('[vue-loader] VueSlideoutPanel.vue: functional components are not supported with templates, they should use render functions.'),!1,a.exports=d.exports},function(a,b,c){b=a.exports=c(2)(void 0),b.push([a.i,'\\n.blackout[data-v-74aa87bc] {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 100vw;\\n height: 100vh;\\n z-index: 2000;\\n background-color: rgba(0, 0, 0, .3);\\n}\\n.dock[data-v-74aa87bc] {\\n position: fixed;\\n top: 0;\\n right: 0;\\n height: 100%;\\n z-index: 3000;\\n box-shadow: -3px 3px 9px rgba(0, 0, 0, 0.3);\\n overflow: hidden;\\n}\\nsection[data-v-74aa87bc] {\\n position: relative;\\n display: inline-block;\\n height: 100%;\\n box-sizing: border-box;\\n overflow: hidden;\\n}\\n.panel > div[data-v-74aa87bc] {\\n height: 100%;\\n overflow: auto;\\n}\\n.panel.default[data-v-74aa87bc] {\\n background-color: #fff;\\n padding: 1rem 1rem 3rem;\\n}\\n.action-close.default[data-v-74aa87bc] {\\n position: absolute;\\n bottom: 1rem;\\n cursor: pointer;\\n}\\n.action-extra.default[data-v-74aa87bc] {\\n position: absolute;\\n bottom: 1rem;\\n right: 1rem;\\n cursor: pointer;\\n}\\n.vsp-br[data-v-74aa87bc]{\\n border-right: 2px solid rgba(0, 0, 0, .2);\\n}\\n.vsp-bl[data-v-74aa87bc]{\\n border-left: 2px solid rgba(0, 0, 0, .1);\\n}\\n.slide-out-enter-active[data-v-74aa87bc], .slide-out-leave-active[data-v-74aa87bc] {\\n transition: transform .8s cubic-bezier(0.215, 0.61, 0.355, 1);\\n}\\n.slide-out-enter[data-v-74aa87bc], .slide-out-leave-to[data-v-74aa87bc] {\\n transform: translateX(100%);\\n}\\n.fade-enter-active[data-v-74aa87bc], .fade-leave-active[data-v-74aa87bc] {\\n transition: opacity .8s ease-in;\\n}\\n.fade-enter[data-v-74aa87bc], .fade-leave-to[data-v-74aa87bc] {\\n opacity: 0\\n}\\n.bg-transparent[data-v-74aa87bc] {\\n background-color: transparent !important;\\n}\\n',''])},function(a){function b(a,b){var d=a[1]||'',e=a[3];if(!e)return d;if(b&&'function'==typeof btoa){var f=c(e),g=e.sources.map(function(a){return'/*# sourceURL='+e.sourceRoot+a+' */'});return[d,g,f].join('\\n')}return[d].join('\\n')}function c(a){var b=btoa(unescape(encodeURIComponent(JSON.stringify(a))));return'/*# '+('sourceMappingURL=data:application/json;charset=utf-8;base64,'+b)+' */'}a.exports=function(a){var c=[];return c.toString=function(){return this.map(function(c){var d=b(c,a);return c[2]?'@media '+c[2]+'{'+d+'}':d}).join('')},c.i=function(a,b){'string'==typeof a&&(a=[[null,a,'']]);for(var d,e={},f=0;f=a}},showExtra:{type:Boolean,default:!1},closeHtml:{type:String,default:'Close'},closeAllHtml:{type:String,default:'Close all'},extraHtml:{type:String,default:'Extra show'},widths:{type:Array,default(){return 1==this.count?['100%']:['100%','50%']},validator(a){return a.reduce((c,a)=>c&&/col-(\\w+-)?\\d+|\\d+px|\\d+%/.test(a),!0)}},classes:{type:Array,default(){return[,,,,,].fill('default')},validator(a){return a.reduce((c,a)=>c&&(!a||'string'==typeof a),!0)}},styles:{type:Array,default(){return[{},{},{},{},{}]},validator(a){return a.reduce((c,a)=>c&&(!a||'object'==typeof a),!0)}}},data(){return{isVisibleDock:this.value,isVisibleSections:[],isShifted:!1,d_styles:[],d_classes:[]}},created(){this.init()},watch:{value(){this.isVisibleDock=this.value}},computed:{isVisibleCloseAll(){return 2==this.count&&!this.isShifted}},methods:{init(){this.isShifted=!1,this.d_styles=[],this.d_classes=[];for(let a=0;5>a;a++)this.classes[a]&&0<=this.classes[a].length?2==a&&'same'==this.classes[a]?this.d_classes.push(this.classes[a-1]):this.d_classes.push(this.classes[a]):this.d_classes.push('default');2==this.count&&(this.d_classes[1]+=' vsp-br',this.d_classes[2]+=' vsp-bl');for(let a=0;5>a;a++)2==a&&this.styles[a]&&this.styles[a].same?this.d_styles.push(Object.assign({},this.styles[a-1]||{})):this.d_styles.push(this.styles[a]||{});let a=!1;1==this.count?(this.widths[0]=this.widths[0]||this.widths[1],this.widths[1]='100%'):/\\d+%/.test(this.widths[1])&&(this.d_styles[2].width=`${100-this.widths[1].slice(0,-1)}%`,a=!0),this.widths.forEach((b,c)=>{if(/col-(\\w+-)?\\d+/.test(b))this.d_classes[c]+=' '+b;else{if(2==c&&a)return;this.d_styles[c].width=b}}),this.isVisibleSections=Array(this.count).fill(1)},_style(a){return this.d_styles[a]},_class(a){return this.d_classes[a]},setTransform(a,b){['webkitTransform','MozTransform','msTransform','OTransform','transform'].forEach((c)=>{a.style[c]=b[0]}),a.style.transitionTimingFunction=b[1],a.style.transitionDuration=b[2]},d_shift(){let a=-this.$refs.section[1].offsetWidth;this.setTransform(this.$refs.dock,['right',d,'.8s']),this.$refs.dock.style.right=`${a}px`,this.isShifted=!0},s_beforeLeave(){this.isVisibleSections[1]?(this.$refs.dock.style.boxShadow='none',this.$refs.section[1].style.boxShadow='-3px 3px 9px rgba(0, 0, 0, 0.3)'):this.d_shift()},s_afterLeave(){this.isVisibleSections[1]&&(this.$refs.dock.style.boxShadow='-3px 3px 9px rgba(0, 0, 0, 0.3)',this.$refs.dock.style.width=this.$refs.section[0].offsetWidth+'px',this.$refs.section[0].style.width='100%')},d_enter(){2!=this.count||this.showExtra||this.d_shift()},expand(){this.setTransform(this.$refs.dock,['right',d,'.8s']),setTimeout(()=>{this.setTransform(this.$refs.dock,['','',''])},800),this.$refs.dock.style.right='0',this.isShifted=!1},closeDock(){this.isVisibleDock=!1,this.init(),this.$emit('close')},close(a){1==this.count?this.closeDock():this.isShifted?(this.setTransform(this.$refs.dock,['right',c,'1.2s']),this.closeDock()):0==a?this.$set(this.isVisibleSections,0,0):1==a&&this.isVisibleSections[0]?this.d_shift():this.closeDock()},closeAll(){this.isShifted&&this.setTransform(this.$refs.dock,['right',c,'1.2ss']),this.closeDock()}}}},function(a){a.exports={render:function(){var a=this,b=a.$createElement,c=a._self._c||b;return c('div',[c('transition',{attrs:{name:'fade'}},[a.isVisibleDock?c('div',{staticClass:'blackout',on:{click:a.closeAll}}):a._e()]),a._v(' '),c('transition',{attrs:{name:'slide-out'},on:{enter:a.d_enter}},[a.isVisibleDock?c('div',{ref:'dock',staticClass:'dock',class:a._class(0),style:a._style(0)},[c('transition-group',{attrs:{name:'slide-out'},on:{\"before-leave\":a.s_beforeLeave,afterLeave:a.s_afterLeave}},a._l(a.isVisibleSections,function(b,d){return b?c('section',{key:'k'+d,ref:'section',refInFor:!0,staticClass:'panel',class:a._class(d+1),style:a._style(d+1)},[0==d?c('div',[a._t('default')],2):c('div',[a._t('extra')],2),a._v(' '),c('a',{staticClass:'action-close',class:a._class(3),style:a._style(3),attrs:{href:'#'},domProps:{innerHTML:a._s(a.closeHtml)},on:{click:function(b){b.preventDefault(),a.close(d)}}}),a._v(' '),2!=a.count||a.isShifted||0!=d?a._e():c('a',{staticClass:'action-extra',class:a._class(4),style:a._style(4),attrs:{href:'#'},domProps:{innerHTML:a._s(a.closeAllHtml)},on:{click:function(b){b.preventDefault(),a.closeAll(b)}}}),a._v(' '),a.isShifted&&0==d?c('a',{staticClass:'action-extra',class:a._class(4),style:a._style(4),attrs:{href:'#'},domProps:{innerHTML:a._s(a.extraHtml)},on:{click:function(b){b.preventDefault(),a.expand(b)}}}):a._e()]):a._e()}))],1):a._e()])],1)},staticRenderFns:[]},a.exports.render._withStripped=!0,!1},function(a,b,c){var d=c(1);'string'==typeof d&&(d=[[a.i,d,'']]),d.locals&&(a.exports=d.locals);c(7)('4db53567',d,!1)},function(a,b,c){function d(a){for(var b=0;bc.parts.length&&(d.parts.length=c.parts.length)}else{for(var g=[],e=0;e