|
|
/*! no static exports found */function(e,i){e.exports=t}})["default"]}))},d326:function(t,e,i){"use strict";var n=i("2e60"),r=i.n(n);r.a},d4ec:function(t,e,i){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}i.d(e,"a",(function(){return n}))},d8b7:function(t,e,i){},e40c:function(t,e,i){},e70a:function(t,e,i){"use strict";var n=i("b082"),r=i.n(n);r.a},e7e6:function(t,e,i){"use strict";var n=i("29c8");t.exports=function(t,e,i,r,s){var a=new Error(t);return n(a,e,i,r,s)}},e970:function(t,e,i){},eaea:function(t,e,i){},f24b:function(t,e,i){"use strict";var n=i("e40c"),r=i.n(n);r.a},f761:function(t,e,i){"use strict";var n=i("cdec"),r=i("0beb"),s=i("5e9c"),a=i("06f0"),o=i("5ce4");function l(t){this.defaults=t,this.interceptors={request:new s,response:new s}}l.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=o(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[a,void 0],i=Promise.resolve(t);this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));while(e.length)i=i.then(e.shift(),e.shift());return i},l.prototype.getUri=function(t){return t=o(this.defaults,t),r(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,i){return this.request(n.merge(i||{},{method:t,url:e}))}})),n.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,i,r){return this.request(n.merge(r||{},{method:t,url:e,data:i}))}})),t.exports=l},f8c5:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("LottieAnimation",t._b({staticClass:"lottie-svg"},"LottieAnimation",t.$attrs,!1))},r=[],s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.style?i("div",{ref:"lavContainer",style:t.style}):t._e()},a=[],o=(i("a9e3"),i("96cf"),i("1da1")),l=i("94f1"),c=i.n(l),u=i("3b6d"),h=i.n(u),d={props:{path:{required:!0},speed:{type:Number,required:!1,default:1},width:{type:Number,required:!1,default:-1},height:{type:Number,required:!1,default:-1},loop:{type:Boolean,required:!1,default:!0},autoPlay:{type:Boolean,required:!1,default:!0},loopDelayMin:{type:Number,required:!1,default:0},loopDelayMax:{type:Number,required:!1,default:0}},data:function(){return{name:"lottie-animation",rendererSettings:{scaleMode:"centerCrop",clearCanvas:!0,progressiveLoad:!1,hideOnTransparent:!0},anim:null,style:null}},mounted:function(){this.init()},methods:{loadJsonData:function(t){return Object(o["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,h.a.get("/"+t).then((function(t){return t.data}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))()},init:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.style={width:-1!=t.width?"".concat(t.width,"px"):"100%",height:-1!=t.height?"".concat(t.height,"px"):"100%",overflow:"hidden",margin:"0 auto"},e.next=3,t.loadJsonData(t.path);case 3:i=e.sent,t.anim&&t.anim.destroy(),t.anim=c.a.loadAnimation({container:t.$refs.lavContainer,renderer:"svg",loop:t.loop,autoplay:t.autoPlay,animationData:i,rendererSettings:t.rendererSettings}),t.$emit("AnimControl",t.anim),t.anim.setSpeed(t.speed),t.loopDelayMin>0&&(t.anim.loop=!1,t.anim.autoplay=!1,t.executeLoop());case 9:case"end":return e.stop()}}),e)})))()},getRandomInt:function(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t))+t},executeLoop:function(){var t=this;this.anim.play(),setTimeout((function(){t.anim.stop(),t.executeLoop()}),this.getRandomInt(this.loopDelayMin,0==this.loopDelayMax?this.loopDelayMin:this.loopDelayMax))}},watch:{path:function(t,e){this.init()}}},p=d,f=i("2877"),m=Object(f["a"])(p,s,a,!1,null,null,null),v=m.exports,g={components:{LottieAnimation:v}},y=g,b=(i("d326"),Object(f["a"])(y,n,r,!1,null,"1f22bc7a",null));e["a"]=b.exports},fb32:function(t,e,i){"use strict";t.exports=function(t,e){return function(){for(var i=new Array(arguments.length),n=0;n<i.length;n++)i[n]=arguments[n];return t.apply(e,i)}}},fc6b:function(t,e,i){"use strict";var n=i("cdec");t.exports=function(t,e){n.forEach(t,(function(i,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=i,delete t[n])}))}}}]); |
|
|
/*! no static exports found */function(e,i){e.exports=t}})["default"]}))},d326:function(t,e,i){"use strict";var n=i("2e60"),r=i.n(n);r.a},d4ec:function(t,e,i){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}i.d(e,"a",(function(){return n}))},d8b7:function(t,e,i){},e40c:function(t,e,i){},e70a:function(t,e,i){"use strict";var n=i("b082"),r=i.n(n);r.a},e7e6:function(t,e,i){"use strict";var n=i("29c8");t.exports=function(t,e,i,r,s){var a=new Error(t);return n(a,e,i,r,s)}},e970:function(t,e,i){},eaea:function(t,e,i){},f24b:function(t,e,i){"use strict";var n=i("e40c"),r=i.n(n);r.a},f761:function(t,e,i){"use strict";var n=i("cdec"),r=i("0beb"),s=i("5e9c"),a=i("06f0"),o=i("5ce4");function l(t){this.defaults=t,this.interceptors={request:new s,response:new s}}l.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=o(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[a,void 0],i=Promise.resolve(t);this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));while(e.length)i=i.then(e.shift(),e.shift());return i},l.prototype.getUri=function(t){return t=o(this.defaults,t),r(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,i){return this.request(n.merge(i||{},{method:t,url:e}))}})),n.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,i,r){return this.request(n.merge(r||{},{method:t,url:e,data:i}))}})),t.exports=l},f8c5:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("LottieAnimation",t._b({staticClass:"lottie-svg"},"LottieAnimation",t.$attrs,!1))},r=[],s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.style?i("div",{ref:"lavContainer",style:t.style}):t._e()},a=[],o=(i("a9e3"),i("96cf"),i("1da1")),l=i("94f1"),c=i.n(l),u=i("3b6d"),h=i.n(u),d={props:{path:{required:!0},speed:{type:Number,required:!1,default:1},width:{type:Number,required:!1,default:-1},height:{type:Number,required:!1,default:-1},loop:{type:Boolean,required:!1,default:!0},autoPlay:{type:Boolean,required:!1,default:!0},loopDelayMin:{type:Number,required:!1,default:0},loopDelayMax:{type:Number,required:!1,default:0}},data:function(){return{name:"lottie-animation",rendererSettings:{scaleMode:"centerCrop",clearCanvas:!0,progressiveLoad:!1,hideOnTransparent:!0},anim:null,style:null}},mounted:function(){this.init()},methods:{loadJsonData:function(t){return Object(o["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,h.a.get("/"+t).then((function(t){return t.data}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))()},init:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.style={width:-1!=t.width?"".concat(t.width,"px"):"100%",height:-1!=t.height?"".concat(t.height,"px"):"100%",overflow:"hidden",margin:"0 auto"},e.next=3,t.loadJsonData(t.path);case 3:i=e.sent,t.anim&&t.anim.destroy(),t.anim=c.a.loadAnimation({container:t.$refs.lavContainer,renderer:"svg",loop:t.loop,autoplay:t.autoPlay,animationData:i,rendererSettings:t.rendererSettings}),t.$emit("AnimControl",t.anim),t.anim.setSpeed(t.speed),t.loopDelayMin>0&&(t.anim.loop=!1,t.anim.autoplay=!1,t.executeLoop());case 9:case"end":return e.stop()}}),e)})))()},getRandomInt:function(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t))+t},executeLoop:function(){var t=this;this.anim.play(),setTimeout((function(){t.anim.stop(),t.executeLoop()}),this.getRandomInt(this.loopDelayMin,0==this.loopDelayMax?this.loopDelayMin:this.loopDelayMax))}},watch:{path:function(t,e){this.init()}}},p=d,f=i("2877"),m=Object(f["a"])(p,s,a,!1,null,null,null),v=m.exports,g={components:{LottieAnimation:v}},y=g,b=(i("d326"),Object(f["a"])(y,n,r,!1,null,"1f22bc7a",null));e["a"]=b.exports},fb32:function(t,e,i){"use strict";t.exports=function(t,e){return function(){for(var i=new Array(arguments.length),n=0;n<i.length;n++)i[n]=arguments[n];return t.apply(e,i)}}},fc6b:function(t,e,i){"use strict";var n=i("cdec");t.exports=function(t,e){n.forEach(t,(function(i,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=i,delete t[n])}))}}}]); |