diff --git a/app/ImportData.php b/app/ImportData.php index d309f4df6..d4cdbb4d3 100644 --- a/app/ImportData.php +++ b/app/ImportData.php @@ -6,5 +6,5 @@ use Illuminate\Database\Eloquent\Model; class ImportData extends Model { - // + protected $table = 'import_datas'; } diff --git a/config/pixelfed.php b/config/pixelfed.php index 64db6fea8..295ae058a 100644 --- a/config/pixelfed.php +++ b/config/pixelfed.php @@ -23,7 +23,7 @@ return [ | This value is the version of your PixelFed instance. | */ - 'version' => '0.8.0', + 'version' => '0.8.1', /* |-------------------------------------------------------------------------- diff --git a/public/img/landing/android_1.jpg b/public/img/landing/android_1.jpg new file mode 100644 index 000000000..40a7a9c32 Binary files /dev/null and b/public/img/landing/android_1.jpg differ diff --git a/public/img/landing/ios_1.jpg b/public/img/landing/ios_1.jpg new file mode 100644 index 000000000..a6efa2ebf Binary files /dev/null and b/public/img/landing/ios_1.jpg differ diff --git a/public/img/landing/ios_2.jpg b/public/img/landing/ios_2.jpg new file mode 100644 index 000000000..18b7d1fd3 Binary files /dev/null and b/public/img/landing/ios_2.jpg differ diff --git a/public/img/landing/ios_3.jpg b/public/img/landing/ios_3.jpg new file mode 100644 index 000000000..edc269096 Binary files /dev/null and b/public/img/landing/ios_3.jpg differ diff --git a/public/img/landing/ios_4.jpg b/public/img/landing/ios_4.jpg new file mode 100644 index 000000000..e166891d0 Binary files /dev/null and b/public/img/landing/ios_4.jpg differ diff --git a/public/js/landing.js b/public/js/landing.js new file mode 100644 index 000000000..d40e11890 --- /dev/null +++ b/public/js/landing.js @@ -0,0 +1 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=8)}({"6b5V":function(e,t,n){"use strict";var r=n("buNe");n.n(r).a},8:function(e,t,n){e.exports=n("sOJF")},"8LzN":function(e,t,n){(e.exports=n("I1BE")(!1)).push([e.i,"\n.container.slim[data-v-3bcbf3c4] {\n\twidth: auto;\n\tmax-width: 680px;\n\tpadding: 0 15px;\n}\n@-webkit-keyframes iosDeviceCarousel-data-v-3bcbf3c4 {\n0% {\n opacity:1;\n}\n17% {\n opacity:1;\n}\n25% {\n opacity:0;\n}\n92% {\n opacity:0;\n}\n100% {\n opacity:1;\n}\n}\n@keyframes iosDeviceCarousel-data-v-3bcbf3c4 {\n0% {\n opacity:1;\n}\n17% {\n opacity:1;\n}\n25% {\n opacity:0;\n}\n92% {\n opacity:0;\n}\n100% {\n opacity:1;\n}\n}\n#iosDevice[data-v-3bcbf3c4] {\n position:relative;\n margin:0 auto;\n}\n#iosDevice img[data-v-3bcbf3c4] {\n position:absolute;\n left:0;\n}\n#iosDevice img[data-v-3bcbf3c4] {\n -webkit-animation-name: iosDeviceCarousel-data-v-3bcbf3c4;\n -webkit-animation-timing-function: ease-in-out;\n -webkit-animation-iteration-count: infinite;\n -webkit-animation-duration: 16s;\n\n -moz-animation-name: iosDeviceCarousel-data-v-3bcbf3c4;\n -moz-animation-timing-function: ease-in-out;\n -moz-animation-iteration-count: infinite;\n -moz-animation-duration: 16s;\n\n -o-animation-name: iosDeviceCarousel-data-v-3bcbf3c4;\n -o-animation-timing-function: ease-in-out;\n -o-animation-iteration-count: infinite;\n -o-animation-duration: 16s;\n\n animation-name: iosDeviceCarousel-data-v-3bcbf3c4;\n animation-timing-function: ease-in-out;\n animation-iteration-count: infinite;\n animation-duration: 16s;\n}\n#iosDevice img[data-v-3bcbf3c4]:nth-of-type(1) {\n -webkit-animation-delay: 12s;\n animation-delay: 12s;\n}\n#iosDevice img[data-v-3bcbf3c4]:nth-of-type(2) {\n -webkit-animation-delay: 8s;\n animation-delay: 8s;\n}\n#iosDevice img[data-v-3bcbf3c4]:nth-of-type(3) {\n -webkit-animation-delay: 4s;\n animation-delay: 4s;\n}\n#iosDevice img[data-v-3bcbf3c4]:nth-of-type(4) {\n -webkit-animation-delay: 0;\n animation-delay: 0;\n}\n.marvel-device[data-v-3bcbf3c4]{display:inline-block;position:relative;box-sizing:content-box !important}.marvel-device .screen[data-v-3bcbf3c4]{width:100%;position:relative;height:100%;z-index:3;background:white;overflow:hidden;display:block;border-radius:1px;box-shadow:0 0 0 3px #111}.marvel-device .top-bar[data-v-3bcbf3c4],.marvel-device .bottom-bar[data-v-3bcbf3c4]{height:3px;background:black;width:100%;display:block}.marvel-device .middle-bar[data-v-3bcbf3c4]{width:3px;height:4px;top:0px;left:90px;background:black;position:absolute}.marvel-device.iphone8[data-v-3bcbf3c4]{width:375px;height:667px;padding:105px 24px;background:#d9dbdc;border-radius:56px;box-shadow:inset 0 0 3px 0 rgba(0,0,0,0.2)}.marvel-device.iphone8[data-v-3bcbf3c4]:before{width:calc(100% - 12px);height:calc(100% - 12px);position:absolute;top:6px;content:'';left:6px;border-radius:50px;background:#f8f8f8;z-index:1}.marvel-device.iphone8[data-v-3bcbf3c4]:after{width:calc(100% - 16px);height:calc(100% - 16px);position:absolute;top:8px;content:'';left:8px;border-radius:48px;box-shadow:inset 0 0 3px 0 rgba(0,0,0,0.1),inset 0 0 6px 3px #fff;z-index:2}.marvel-device.iphone8 .home[data-v-3bcbf3c4]{border-radius:100%;width:68px;height:68px;position:absolute;left:50%;margin-left:-34px;bottom:22px;z-index:3;background:#303233;background:linear-gradient(135deg, #303233 0%, #b5b7b9 50%, #f0f2f2 69%, #303233 100%)}.marvel-device.iphone8 .home[data-v-3bcbf3c4]:before{background:#f8f8f8;position:absolute;content:'';border-radius:100%;width:calc(100% - 8px);height:calc(100% - 8px);top:4px;left:4px}.marvel-device.iphone8 .top-bar[data-v-3bcbf3c4]{height:14px;background:#bfbfc0;position:absolute;top:68px;left:0}.marvel-device.iphone8 .bottom-bar[data-v-3bcbf3c4]{height:14px;background:#bfbfc0;position:absolute;bottom:68px;left:0}.marvel-device.iphone8 .sleep[data-v-3bcbf3c4]{position:absolute;top:190px;right:-4px;width:4px;height:66px;border-radius:0px 2px 2px 0px;background:#d9dbdc}.marvel-device.iphone8 .volume[data-v-3bcbf3c4]{position:absolute;left:-4px;top:188px;z-index:0;height:66px;width:4px;border-radius:2px 0px 0px 2px;background:#d9dbdc}.marvel-device.iphone8 .volume[data-v-3bcbf3c4]:before{position:absolute;left:2px;top:-78px;height:40px;width:2px;border-radius:2px 0px 0px 2px;background:inherit;content:'';display:block}.marvel-device.iphone8 .volume[data-v-3bcbf3c4]:after{position:absolute;left:0px;top:82px;height:66px;width:4px;border-radius:2px 0px 0px 2px;background:inherit;content:'';display:block}.marvel-device.iphone8 .camera[data-v-3bcbf3c4]{background:#3c3d3d;width:12px;height:12px;position:absolute;top:24px;left:50%;margin-left:-6px;border-radius:100%;z-index:3}.marvel-device.iphone8 .sensor[data-v-3bcbf3c4]{background:#3c3d3d;width:16px;height:16px;position:absolute;top:49px;left:134px;z-index:3;border-radius:100%}.marvel-device.iphone8 .speaker[data-v-3bcbf3c4]{background:#292728;width:70px;height:6px;position:absolute;top:54px;left:50%;margin-left:-35px;border-radius:6px;z-index:3}.marvel-device.iphone8.gold[data-v-3bcbf3c4]{background:#f9e7d3}.marvel-device.iphone8.gold .top-bar[data-v-3bcbf3c4],.marvel-device.iphone8.gold .bottom-bar[data-v-3bcbf3c4]{background:white}.marvel-device.iphone8.gold .sleep[data-v-3bcbf3c4],.marvel-device.iphone8.gold .volume[data-v-3bcbf3c4]{background:#f9e7d3}.marvel-device.iphone8.gold .home[data-v-3bcbf3c4]{background:#cebba9;background:linear-gradient(135deg, #cebba9 0%, #f9e7d3 50%, #cebba9 100%)}.marvel-device.iphone8.black[data-v-3bcbf3c4]{background:#464646;box-shadow:inset 0 0 3px 0 rgba(0,0,0,0.7)}.marvel-device.iphone8.black[data-v-3bcbf3c4]:before{background:#080808}.marvel-device.iphone8.black[data-v-3bcbf3c4]:after{box-shadow:inset 0 0 3px 0 rgba(0,0,0,0.1),inset 0 0 6px 3px #212121}.marvel-device.iphone8.black .top-bar[data-v-3bcbf3c4],.marvel-device.iphone8.black .bottom-bar[data-v-3bcbf3c4]{background:#212121}.marvel-device.iphone8.black .volume[data-v-3bcbf3c4],.marvel-device.iphone8.black .sleep[data-v-3bcbf3c4]{background:#464646}.marvel-device.iphone8.black .camera[data-v-3bcbf3c4]{background:#080808}.marvel-device.iphone8.black .home[data-v-3bcbf3c4]{background:#080808;background:linear-gradient(135deg, #080808 0%, #464646 50%, #080808 100%)}.marvel-device.iphone8.black .home[data-v-3bcbf3c4]:before{background:#080808}.marvel-device.iphone8.landscape[data-v-3bcbf3c4]{padding:24px 105px;height:375px;width:667px}.marvel-device.iphone8.landscape .sleep[data-v-3bcbf3c4]{top:100%;border-radius:0px 0px 2px 2px;right:190px;height:4px;width:66px}.marvel-device.iphone8.landscape .volume[data-v-3bcbf3c4]{width:66px;height:4px;top:-4px;left:calc(100% - 188px - 66px);border-radius:2px 2px 0px 0px}.marvel-device.iphone8.landscape .volume[data-v-3bcbf3c4]:before{width:40px;height:2px;top:2px;right:-78px;left:auto;border-radius:2px 2px 0px 0px}.marvel-device.iphone8.landscape .volume[data-v-3bcbf3c4]:after{left:-82px;width:66px;height:4px;top:0;border-radius:2px 2px 0px 0px}.marvel-device.iphone8.landscape .top-bar[data-v-3bcbf3c4]{width:14px;height:100%;left:calc(100% - 68px - 14px);top:0}.marvel-device.iphone8.landscape .bottom-bar[data-v-3bcbf3c4]{width:14px;height:100%;left:68px;top:0}.marvel-device.iphone8.landscape .home[data-v-3bcbf3c4]{top:50%;margin-top:-34px;margin-left:0;left:22px}.marvel-device.iphone8.landscape .sensor[data-v-3bcbf3c4]{top:134px;left:calc(100% - 49px - 16px)}.marvel-device.iphone8.landscape .speaker[data-v-3bcbf3c4]{height:70px;width:6px;left:calc(100% - 54px - 6px);top:50%;margin-left:0px;margin-top:-35px}.marvel-device.iphone8.landscape .camera[data-v-3bcbf3c4]{left:calc(100% - 32px);top:50%;margin-left:0px;margin-top:-5px}.marvel-device.iphone8plus[data-v-3bcbf3c4]{width:414px;height:736px;padding:112px 26px;background:#d9dbdc;border-radius:56px;box-shadow:inset 0 0 3px 0 rgba(0,0,0,0.2)}.marvel-device.iphone8plus[data-v-3bcbf3c4]:before{width:calc(100% - 12px);height:calc(100% - 12px);position:absolute;top:6px;content:'';left:6px;border-radius:50px;background:#f8f8f8;z-index:1}.marvel-device.iphone8plus[data-v-3bcbf3c4]:after{width:calc(100% - 16px);height:calc(100% - 16px);position:absolute;top:8px;content:'';left:8px;border-radius:48px;box-shadow:inset 0 0 3px 0 rgba(0,0,0,0.1),inset 0 0 6px 3px #fff;z-index:2}.marvel-device.iphone8plus .home[data-v-3bcbf3c4]{border-radius:100%;width:68px;height:68px;position:absolute;left:50%;margin-left:-34px;bottom:24px;z-index:3;background:#303233;background:linear-gradient(135deg, #303233 0%, #b5b7b9 50%, #f0f2f2 69%, #303233 100%)}.marvel-device.iphone8plus .home[data-v-3bcbf3c4]:before{background:#f8f8f8;position:absolute;content:'';border-radius:100%;width:calc(100% - 8px);height:calc(100% - 8px);top:4px;left:4px}.marvel-device.iphone8plus .top-bar[data-v-3bcbf3c4]{height:14px;background:#bfbfc0;position:absolute;top:68px;left:0}.marvel-device.iphone8plus .bottom-bar[data-v-3bcbf3c4]{height:14px;background:#bfbfc0;position:absolute;bottom:68px;left:0}.marvel-device.iphone8plus .sleep[data-v-3bcbf3c4]{position:absolute;top:190px;right:-4px;width:4px;height:66px;border-radius:0px 2px 2px 0px;background:#d9dbdc}.marvel-device.iphone8plus .volume[data-v-3bcbf3c4]{position:absolute;left:-4px;top:188px;z-index:0;height:66px;width:4px;border-radius:2px 0px 0px 2px;background:#d9dbdc}.marvel-device.iphone8plus .volume[data-v-3bcbf3c4]:before{position:absolute;left:2px;top:-78px;height:40px;width:2px;border-radius:2px 0px 0px 2px;background:inherit;content:'';display:block}.marvel-device.iphone8plus .volume[data-v-3bcbf3c4]:after{position:absolute;left:0px;top:82px;height:66px;width:4px;border-radius:2px 0px 0px 2px;background:inherit;content:'';display:block}.marvel-device.iphone8plus .camera[data-v-3bcbf3c4]{background:#3c3d3d;width:12px;height:12px;position:absolute;top:29px;left:50%;margin-left:-6px;border-radius:100%;z-index:3}.marvel-device.iphone8plus .sensor[data-v-3bcbf3c4]{background:#3c3d3d;width:16px;height:16px;position:absolute;top:54px;left:154px;z-index:3;border-radius:100%}.marvel-device.iphone8plus .speaker[data-v-3bcbf3c4]{background:#292728;width:70px;height:6px;position:absolute;top:59px;left:50%;margin-left:-35px;border-radius:6px;z-index:3}.marvel-device.iphone8plus.gold[data-v-3bcbf3c4]{background:#f9e7d3}.marvel-device.iphone8plus.gold .top-bar[data-v-3bcbf3c4],.marvel-device.iphone8plus.gold .bottom-bar[data-v-3bcbf3c4]{background:white}.marvel-device.iphone8plus.gold .sleep[data-v-3bcbf3c4],.marvel-device.iphone8plus.gold .volume[data-v-3bcbf3c4]{background:#f9e7d3}.marvel-device.iphone8plus.gold .home[data-v-3bcbf3c4]{background:#cebba9;background:linear-gradient(135deg, #cebba9 0%, #f9e7d3 50%, #cebba9 100%)}.marvel-device.iphone8plus.black[data-v-3bcbf3c4]{background:#464646;box-shadow:inset 0 0 3px 0 rgba(0,0,0,0.7)}.marvel-device.iphone8plus.black[data-v-3bcbf3c4]:before{background:#080808}.marvel-device.iphone8plus.black[data-v-3bcbf3c4]:after{box-shadow:inset 0 0 3px 0 rgba(0,0,0,0.1),inset 0 0 6px 3px #212121}.marvel-device.iphone8plus.black .top-bar[data-v-3bcbf3c4],.marvel-device.iphone8plus.black .bottom-bar[data-v-3bcbf3c4]{background:#212121}.marvel-device.iphone8plus.black .volume[data-v-3bcbf3c4],.marvel-device.iphone8plus.black .sleep[data-v-3bcbf3c4]{background:#464646}.marvel-device.iphone8plus.black .camera[data-v-3bcbf3c4]{background:#080808}.marvel-device.iphone8plus.black .home[data-v-3bcbf3c4]{background:#080808;background:linear-gradient(135deg, #080808 0%, #464646 50%, #080808 100%)}.marvel-device.iphone8plus.black .home[data-v-3bcbf3c4]:before{background:#080808}.marvel-device.iphone8plus.landscape[data-v-3bcbf3c4]{padding:26px 112px;height:414px;width:736px}.marvel-device.iphone8plus.landscape .sleep[data-v-3bcbf3c4]{top:100%;border-radius:0px 0px 2px 2px;right:190px;height:4px;width:66px}.marvel-device.iphone8plus.landscape .volume[data-v-3bcbf3c4]{width:66px;height:4px;top:-4px;left:calc(100% - 188px - 66px);border-radius:2px 2px 0px 0px}.marvel-device.iphone8plus.landscape .volume[data-v-3bcbf3c4]:before{width:40px;height:2px;top:2px;right:-78px;left:auto;border-radius:2px 2px 0px 0px}.marvel-device.iphone8plus.landscape .volume[data-v-3bcbf3c4]:after{left:-82px;width:66px;height:4px;top:0;border-radius:2px 2px 0px 0px}.marvel-device.iphone8plus.landscape .top-bar[data-v-3bcbf3c4]{width:14px;height:100%;left:calc(100% - 68px - 14px);top:0}.marvel-device.iphone8plus.landscape .bottom-bar[data-v-3bcbf3c4]{width:14px;height:100%;left:68px;top:0}.marvel-device.iphone8plus.landscape .home[data-v-3bcbf3c4]{top:50%;margin-top:-34px;margin-left:0;left:24px}.marvel-device.iphone8plus.landscape .sensor[data-v-3bcbf3c4]{top:154px;left:calc(100% - 54px - 16px)}.marvel-device.iphone8plus.landscape .speaker[data-v-3bcbf3c4]{height:70px;width:6px;left:calc(100% - 59px - 6px);top:50%;margin-left:0px;margin-top:-35px}.marvel-device.iphone8plus.landscape .camera[data-v-3bcbf3c4]{left:calc(100% - 29px);top:50%;margin-left:0px;margin-top:-5px}.marvel-device.iphone5s[data-v-3bcbf3c4],.marvel-device.iphone5c[data-v-3bcbf3c4]{padding:105px 22px;background:#2c2b2c;width:320px;height:568px;border-radius:50px}.marvel-device.iphone5s[data-v-3bcbf3c4]:before,.marvel-device.iphone5c[data-v-3bcbf3c4]:before{width:calc(100% - 8px);height:calc(100% - 8px);position:absolute;top:4px;content:'';left:4px;border-radius:46px;background:#1e1e1e;z-index:1}.marvel-device.iphone5s .sleep[data-v-3bcbf3c4],.marvel-device.iphone5c .sleep[data-v-3bcbf3c4]{position:absolute;top:-4px;right:60px;width:60px;height:4px;border-radius:2px 2px 0px 0px;background:#282727}.marvel-device.iphone5s .volume[data-v-3bcbf3c4],.marvel-device.iphone5c .volume[data-v-3bcbf3c4]{position:absolute;left:-4px;top:180px;z-index:0;height:27px;width:4px;border-radius:2px 0px 0px 2px;background:#282727}.marvel-device.iphone5s .volume[data-v-3bcbf3c4]:before,.marvel-device.iphone5c .volume[data-v-3bcbf3c4]:before{position:absolute;left:0px;top:-75px;height:35px;width:4px;border-radius:2px 0px 0px 2px;background:inherit;content:'';display:block}.marvel-device.iphone5s .volume[data-v-3bcbf3c4]:after,.marvel-device.iphone5c .volume[data-v-3bcbf3c4]:after{position:absolute;left:0px;bottom:-64px;height:27px;width:4px;border-radius:2px 0px 0px 2px;background:inherit;content:'';display:block}.marvel-device.iphone5s .camera[data-v-3bcbf3c4],.marvel-device.iphone5c .camera[data-v-3bcbf3c4]{background:#3c3d3d;width:10px;height:10px;position:absolute;top:32px;left:50%;margin-left:-5px;border-radius:5px;z-index:3}.marvel-device.iphone5s .sensor[data-v-3bcbf3c4],.marvel-device.iphone5c .sensor[data-v-3bcbf3c4]{background:#3c3d3d;width:10px;height:10px;position:absolute;top:60px;left:160px;z-index:3;margin-left:-32px;border-radius:5px}.marvel-device.iphone5s .speaker[data-v-3bcbf3c4],.marvel-device.iphone5c .speaker[data-v-3bcbf3c4]{background:#292728;width:64px;height:10px;position:absolute;top:60px;left:50%;margin-left:-32px;border-radius:5px;z-index:3}.marvel-device.iphone5s.landscape[data-v-3bcbf3c4],.marvel-device.iphone5c.landscape[data-v-3bcbf3c4]{padding:22px 105px;height:320px;width:568px}.marvel-device.iphone5s.landscape .sleep[data-v-3bcbf3c4],.marvel-device.iphone5c.landscape .sleep[data-v-3bcbf3c4]{right:-4px;top:calc(100% - 120px);height:60px;width:4px;border-radius:0px 2px 2px 0px}.marvel-device.iphone5s.landscape .volume[data-v-3bcbf3c4],.marvel-device.iphone5c.landscape .volume[data-v-3bcbf3c4]{width:27px;height:4px;top:-4px;left:calc(100% - 180px);border-radius:2px 2px 0px 0px}.marvel-device.iphone5s.landscape .volume[data-v-3bcbf3c4]:before,.marvel-device.iphone5c.landscape .volume[data-v-3bcbf3c4]:before{width:35px;height:4px;top:0px;right:-75px;left:auto;border-radius:2px 2px 0px 0px}.marvel-device.iphone5s.landscape .volume[data-v-3bcbf3c4]:after,.marvel-device.iphone5c.landscape .volume[data-v-3bcbf3c4]:after{bottom:0px;left:-64px;z-index:999;height:4px;width:27px;border-radius:2px 2px 0px 0px}.marvel-device.iphone5s.landscape .sensor[data-v-3bcbf3c4],.marvel-device.iphone5c.landscape .sensor[data-v-3bcbf3c4]{top:160px;left:calc(100% - 60px);margin-left:0px;margin-top:-32px}.marvel-device.iphone5s.landscape .speaker[data-v-3bcbf3c4],.marvel-device.iphone5c.landscape .speaker[data-v-3bcbf3c4]{height:64px;width:10px;left:calc(100% - 60px);top:50%;margin-left:0px;margin-top:-32px}.marvel-device.iphone5s.landscape .camera[data-v-3bcbf3c4],.marvel-device.iphone5c.landscape .camera[data-v-3bcbf3c4]{left:calc(100% - 32px);top:50%;margin-left:0px;margin-top:-5px}.marvel-device.iphone5s .home[data-v-3bcbf3c4]{border-radius:36px;width:68px;box-shadow:inset 0 0 0 4px #2c2b2c;height:68px;position:absolute;left:50%;margin-left:-34px;bottom:19px;z-index:3}.marvel-device.iphone5s .top-bar[data-v-3bcbf3c4]{top:70px;position:absolute;left:0}.marvel-device.iphone5s .bottom-bar[data-v-3bcbf3c4]{bottom:70px;position:absolute;left:0}.marvel-device.iphone5s.landscape .home[data-v-3bcbf3c4]{left:19px;bottom:50%;margin-bottom:-34px;margin-left:0px}.marvel-device.iphone5s.landscape .top-bar[data-v-3bcbf3c4]{left:70px;top:0px;width:3px;height:100%}.marvel-device.iphone5s.landscape .bottom-bar[data-v-3bcbf3c4]{right:70px;left:auto;bottom:0px;width:3px;height:100%}.marvel-device.iphone5s.silver[data-v-3bcbf3c4]{background:#bcbcbc}.marvel-device.iphone5s.silver[data-v-3bcbf3c4]:before{background:#fcfcfc}.marvel-device.iphone5s.silver .volume[data-v-3bcbf3c4],.marvel-device.iphone5s.silver .sleep[data-v-3bcbf3c4]{background:#d6d6d6}.marvel-device.iphone5s.silver .top-bar[data-v-3bcbf3c4],.marvel-device.iphone5s.silver .bottom-bar[data-v-3bcbf3c4]{background:#eaebec}.marvel-device.iphone5s.silver .home[data-v-3bcbf3c4]{box-shadow:inset 0 0 0 4px #bcbcbc}.marvel-device.iphone5s.gold[data-v-3bcbf3c4]{background:#f9e7d3}.marvel-device.iphone5s.gold[data-v-3bcbf3c4]:before{background:#fcfcfc}.marvel-device.iphone5s.gold .volume[data-v-3bcbf3c4],.marvel-device.iphone5s.gold .sleep[data-v-3bcbf3c4]{background:#f9e7d3}.marvel-device.iphone5s.gold .top-bar[data-v-3bcbf3c4],.marvel-device.iphone5s.gold .bottom-bar[data-v-3bcbf3c4]{background:white}.marvel-device.iphone5s.gold .home[data-v-3bcbf3c4]{box-shadow:inset 0 0 0 4px #f9e7d3}.marvel-device.iphone5c[data-v-3bcbf3c4]{background:white;box-shadow:0 1px 2px 0 rgba(0,0,0,0.2)}.marvel-device.iphone5c .top-bar[data-v-3bcbf3c4],.marvel-device.iphone5c .bottom-bar[data-v-3bcbf3c4]{display:none}.marvel-device.iphone5c .home[data-v-3bcbf3c4]{background:#242324;border-radius:36px;width:68px;height:68px;z-index:3;position:absolute;left:50%;margin-left:-34px;bottom:19px}.marvel-device.iphone5c .home[data-v-3bcbf3c4]:after{width:20px;height:20px;border:1px solid rgba(255,255,255,0.1);border-radius:4px;position:absolute;display:block;content:'';top:50%;left:50%;margin-top:-11px;margin-left:-11px}.marvel-device.iphone5c.landscape .home[data-v-3bcbf3c4]{left:19px;bottom:50%;margin-bottom:-34px;margin-left:0px}.marvel-device.iphone5c .volume[data-v-3bcbf3c4],.marvel-device.iphone5c .sleep[data-v-3bcbf3c4]{background:#dddddd}.marvel-device.iphone5c.red[data-v-3bcbf3c4]{background:#f96b6c}.marvel-device.iphone5c.red .volume[data-v-3bcbf3c4],.marvel-device.iphone5c.red .sleep[data-v-3bcbf3c4]{background:#ed5758}.marvel-device.iphone5c.yellow[data-v-3bcbf3c4]{background:#f2dc60}.marvel-device.iphone5c.yellow .volume[data-v-3bcbf3c4],.marvel-device.iphone5c.yellow .sleep[data-v-3bcbf3c4]{background:#e5ce4c}.marvel-device.iphone5c.green[data-v-3bcbf3c4]{background:#97e563}.marvel-device.iphone5c.green .volume[data-v-3bcbf3c4],.marvel-device.iphone5c.green .sleep[data-v-3bcbf3c4]{background:#85d94d}.marvel-device.iphone5c.blue[data-v-3bcbf3c4]{background:#33a2db}.marvel-device.iphone5c.blue .volume[data-v-3bcbf3c4],.marvel-device.iphone5c.blue .sleep[data-v-3bcbf3c4]{background:#2694cd}.marvel-device.iphone4s[data-v-3bcbf3c4]{padding:129px 27px;width:320px;height:480px;background:#686868;border-radius:54px}.marvel-device.iphone4s[data-v-3bcbf3c4]:before{content:'';width:calc(100% - 8px);height:calc(100% - 8px);position:absolute;top:4px;left:4px;z-index:1;border-radius:50px;background:#1e1e1e}.marvel-device.iphone4s .top-bar[data-v-3bcbf3c4]{top:60px;position:absolute;left:0}.marvel-device.iphone4s .bottom-bar[data-v-3bcbf3c4]{bottom:90px;position:absolute;left:0}.marvel-device.iphone4s .camera[data-v-3bcbf3c4]{background:#3c3d3d;width:10px;height:10px;position:absolute;top:72px;left:134px;z-index:3;margin-left:-5px;border-radius:100%}.marvel-device.iphone4s .speaker[data-v-3bcbf3c4]{background:#292728;width:64px;height:10px;position:absolute;top:72px;left:50%;z-index:3;margin-left:-32px;border-radius:5px}.marvel-device.iphone4s .sensor[data-v-3bcbf3c4]{background:#292728;width:40px;height:10px;position:absolute;top:36px;left:50%;z-index:3;margin-left:-20px;border-radius:5px}.marvel-device.iphone4s .home[data-v-3bcbf3c4]{background:#242324;border-radius:100%;width:72px;height:72px;z-index:3;position:absolute;left:50%;margin-left:-36px;bottom:30px}.marvel-device.iphone4s .home[data-v-3bcbf3c4]:after{width:20px;height:20px;border:1px solid rgba(255,255,255,0.1);border-radius:4px;position:absolute;display:block;content:'';top:50%;left:50%;margin-top:-11px;margin-left:-11px}.marvel-device.iphone4s .sleep[data-v-3bcbf3c4]{position:absolute;top:-4px;right:60px;width:60px;height:4px;border-radius:2px 2px 0px 0px;background:#4D4D4D}.marvel-device.iphone4s .volume[data-v-3bcbf3c4]{position:absolute;left:-4px;top:160px;height:27px;width:4px;border-radius:2px 0px 0px 2px;background:#4D4D4D}.marvel-device.iphone4s .volume[data-v-3bcbf3c4]:before{position:absolute;left:0px;top:-70px;height:35px;width:4px;border-radius:2px 0px 0px 2px;background:inherit;content:'';display:block}.marvel-device.iphone4s .volume[data-v-3bcbf3c4]:after{position:absolute;left:0px;bottom:-64px;height:27px;width:4px;border-radius:2px 0px 0px 2px;background:inherit;content:'';display:block}.marvel-device.iphone4s.landscape[data-v-3bcbf3c4]{padding:27px 129px;height:320px;width:480px}.marvel-device.iphone4s.landscape .bottom-bar[data-v-3bcbf3c4]{left:90px;bottom:0px;height:100%;width:3px}.marvel-device.iphone4s.landscape .top-bar[data-v-3bcbf3c4]{left:calc(100% - 60px);top:0px;height:100%;width:3px}.marvel-device.iphone4s.landscape .camera[data-v-3bcbf3c4]{top:134px;left:calc(100% - 72px);margin-left:0}.marvel-device.iphone4s.landscape .speaker[data-v-3bcbf3c4]{top:50%;margin-left:0;margin-top:-32px;left:calc(100% - 72px);width:10px;height:64px}.marvel-device.iphone4s.landscape .sensor[data-v-3bcbf3c4]{height:40px;width:10px;left:calc(100% - 36px);top:50%;margin-left:0;margin-top:-20px}.marvel-device.iphone4s.landscape .home[data-v-3bcbf3c4]{left:30px;bottom:50%;margin-left:0;margin-bottom:-36px}.marvel-device.iphone4s.landscape .sleep[data-v-3bcbf3c4]{height:60px;width:4px;right:-4px;top:calc(100% - 120px);border-radius:0px 2px 2px 0px}.marvel-device.iphone4s.landscape .volume[data-v-3bcbf3c4]{top:-4px;left:calc(100% - 187px);height:4px;width:27px;border-radius:2px 2px 0px 0px}.marvel-device.iphone4s.landscape .volume[data-v-3bcbf3c4]:before{right:-70px;left:auto;top:0px;width:35px;height:4px;border-radius:2px 2px 0px 0px}.marvel-device.iphone4s.landscape .volume[data-v-3bcbf3c4]:after{width:27px;height:4px;bottom:0px;left:-64px;border-radius:2px 2px 0px 0px}.marvel-device.iphone4s.silver[data-v-3bcbf3c4]{background:#bcbcbc}.marvel-device.iphone4s.silver[data-v-3bcbf3c4]:before{background:#fcfcfc}.marvel-device.iphone4s.silver .home[data-v-3bcbf3c4]{background:#fcfcfc;box-shadow:inset 0 0 0 1px #bcbcbc}.marvel-device.iphone4s.silver .home[data-v-3bcbf3c4]:after{border:1px solid rgba(0,0,0,0.2)}.marvel-device.iphone4s.silver .volume[data-v-3bcbf3c4],.marvel-device.iphone4s.silver .sleep[data-v-3bcbf3c4]{background:#d6d6d6}.marvel-device.nexus5[data-v-3bcbf3c4]{padding:50px 15px 50px 15px;width:320px;height:568px;background:#1e1e1e;border-radius:20px}.marvel-device.nexus5[data-v-3bcbf3c4]:before{border-radius:600px / 50px;background:inherit;content:'';top:0;position:absolute;height:103.1%;width:calc(100% - 26px);top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.marvel-device.nexus5 .top-bar[data-v-3bcbf3c4]{width:calc(100% - 8px);height:calc(100% - 6px);position:absolute;top:3px;left:4px;border-radius:20px;background:#181818}.marvel-device.nexus5 .top-bar[data-v-3bcbf3c4]:before{border-radius:600px / 50px;background:inherit;content:'';top:0;position:absolute;height:103.0%;width:calc(100% - 26px);top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.marvel-device.nexus5 .bottom-bar[data-v-3bcbf3c4]{display:none}.marvel-device.nexus5 .sleep[data-v-3bcbf3c4]{width:3px;position:absolute;left:-3px;top:110px;height:100px;background:inherit;border-radius:2px 0px 0px 2px}.marvel-device.nexus5 .volume[data-v-3bcbf3c4]{width:3px;position:absolute;right:-3px;top:70px;height:45px;background:inherit;border-radius:0px 2px 2px 0px}.marvel-device.nexus5 .camera[data-v-3bcbf3c4]{background:#3c3d3d;width:10px;height:10px;position:absolute;top:18px;left:50%;z-index:3;margin-left:-5px;border-radius:100%}.marvel-device.nexus5 .camera[data-v-3bcbf3c4]:before{background:#3c3d3d;width:6px;height:6px;content:'';display:block;position:absolute;top:2px;left:-100px;z-index:3;border-radius:100%}.marvel-device.nexus5.landscape[data-v-3bcbf3c4]{padding:15px 50px 15px 50px;height:320px;width:568px}.marvel-device.nexus5.landscape[data-v-3bcbf3c4]:before{width:103.1%;height:calc(100% - 26px);border-radius:50px / 600px}.marvel-device.nexus5.landscape .top-bar[data-v-3bcbf3c4]{left:3px;top:4px;height:calc(100% - 8px);width:calc(100% - 6px)}.marvel-device.nexus5.landscape .top-bar[data-v-3bcbf3c4]:before{width:103%;height:calc(100% - 26px);border-radius:50px / 600px}.marvel-device.nexus5.landscape .sleep[data-v-3bcbf3c4]{height:3px;width:100px;left:calc(100% - 210px);top:-3px;border-radius:2px 2px 0px 0px}.marvel-device.nexus5.landscape .volume[data-v-3bcbf3c4]{height:3px;width:45px;right:70px;top:100%;border-radius:0px 0px 2px 2px}.marvel-device.nexus5.landscape .camera[data-v-3bcbf3c4]{top:50%;left:calc(100% - 18px);margin-left:0;margin-top:-5px}.marvel-device.nexus5.landscape .camera[data-v-3bcbf3c4]:before{top:-100px;left:2px}.marvel-device.s5[data-v-3bcbf3c4]{padding:60px 18px;border-radius:42px;width:320px;height:568px;background:#bcbcbc}.marvel-device.s5[data-v-3bcbf3c4]:before,.marvel-device.s5[data-v-3bcbf3c4]:after{width:calc(100% - 52px);content:'';display:block;height:26px;background:inherit;position:absolute;border-radius:500px / 40px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.marvel-device.s5[data-v-3bcbf3c4]:before{top:-7px}.marvel-device.s5[data-v-3bcbf3c4]:after{bottom:-7px}.marvel-device.s5 .bottom-bar[data-v-3bcbf3c4]{display:none}.marvel-device.s5 .top-bar[data-v-3bcbf3c4]{border-radius:37px;width:calc(100% - 10px);height:calc(100% - 10px);top:5px;left:5px;background:radial-gradient(rgba(0,0,0,0.02) 20%, transparent 60%) 0 0,radial-gradient(rgba(0,0,0,0.02) 20%, transparent 60%) 3px 3px;background-color:white;background-size:4px 4px;background-position:center;z-index:2;position:absolute}.marvel-device.s5 .top-bar[data-v-3bcbf3c4]:before,.marvel-device.s5 .top-bar[data-v-3bcbf3c4]:after{width:calc(100% - 48px);content:'';display:block;height:26px;background:inherit;position:absolute;border-radius:500px / 40px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.marvel-device.s5 .top-bar[data-v-3bcbf3c4]:before{top:-7px}.marvel-device.s5 .top-bar[data-v-3bcbf3c4]:after{bottom:-7px}.marvel-device.s5 .sleep[data-v-3bcbf3c4]{width:3px;position:absolute;left:-3px;top:100px;height:100px;background:#cecece;border-radius:2px 0px 0px 2px}.marvel-device.s5 .speaker[data-v-3bcbf3c4]{width:68px;height:8px;position:absolute;top:20px;display:block;z-index:3;left:50%;margin-left:-34px;background-color:#bcbcbc;background-position:top left;border-radius:4px}.marvel-device.s5 .sensor[data-v-3bcbf3c4]{display:block;position:absolute;top:20px;right:110px;background:#3c3d3d;border-radius:100%;width:8px;height:8px;z-index:3}.marvel-device.s5 .sensor[data-v-3bcbf3c4]:after{display:block;content:'';position:absolute;top:0px;right:12px;background:#3c3d3d;border-radius:100%;width:8px;height:8px;z-index:3}.marvel-device.s5 .camera[data-v-3bcbf3c4]{display:block;position:absolute;top:24px;right:42px;background:black;border-radius:100%;width:10px;height:10px;z-index:3}.marvel-device.s5 .camera[data-v-3bcbf3c4]:before{width:4px;height:4px;background:#3c3d3d;border-radius:100%;position:absolute;content:'';top:50%;left:50%;margin-top:-2px;margin-left:-2px}.marvel-device.s5 .home[data-v-3bcbf3c4]{position:absolute;z-index:3;bottom:17px;left:50%;width:70px;height:20px;background:white;border-radius:18px;display:block;margin-left:-35px;border:2px solid black}.marvel-device.s5.landscape[data-v-3bcbf3c4]{padding:18px 60px;height:320px;width:568px}.marvel-device.s5.landscape[data-v-3bcbf3c4]:before,.marvel-device.s5.landscape[data-v-3bcbf3c4]:after{height:calc(100% - 52px);width:26px;border-radius:40px / 500px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.marvel-device.s5.landscape[data-v-3bcbf3c4]:before{top:50%;left:-7px}.marvel-device.s5.landscape[data-v-3bcbf3c4]:after{top:50%;left:auto;right:-7px}.marvel-device.s5.landscape .top-bar[data-v-3bcbf3c4]:before,.marvel-device.s5.landscape .top-bar[data-v-3bcbf3c4]:after{width:26px;height:calc(100% - 48px);border-radius:40px / 500px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.marvel-device.s5.landscape .top-bar[data-v-3bcbf3c4]:before{right:-7px;top:50%;left:auto}.marvel-device.s5.landscape .top-bar[data-v-3bcbf3c4]:after{left:-7px;top:50%;right:auto}.marvel-device.s5.landscape .sleep[data-v-3bcbf3c4]{height:3px;width:100px;left:calc(100% - 200px);top:-3px;border-radius:2px 2px 0px 0px}.marvel-device.s5.landscape .speaker[data-v-3bcbf3c4]{height:68px;width:8px;left:calc(100% - 20px);top:50%;margin-left:0;margin-top:-34px}.marvel-device.s5.landscape .sensor[data-v-3bcbf3c4]{right:20px;top:calc(100% - 110px)}.marvel-device.s5.landscape .sensor[data-v-3bcbf3c4]:after{left:-12px;right:0px}.marvel-device.s5.landscape .camera[data-v-3bcbf3c4]{top:calc(100% - 42px);right:24px}.marvel-device.s5.landscape .home[data-v-3bcbf3c4]{width:20px;height:70px;bottom:50%;margin-bottom:-35px;margin-left:0;left:17px}.marvel-device.s5.black[data-v-3bcbf3c4]{background:#1e1e1e}.marvel-device.s5.black .speaker[data-v-3bcbf3c4]{background:black}.marvel-device.s5.black .sleep[data-v-3bcbf3c4]{background:#1e1e1e}.marvel-device.s5.black .top-bar[data-v-3bcbf3c4]{background:radial-gradient(rgba(0,0,0,0.05) 20%, transparent 60%) 0 0,radial-gradient(rgba(0,0,0,0.05) 20%, transparent 60%) 3px 3px;background-color:#2c2b2c;background-size:4px 4px}.marvel-device.s5.black .home[data-v-3bcbf3c4]{background:#2c2b2c}.marvel-device.lumia920[data-v-3bcbf3c4]{padding:80px 35px 125px 35px;background:#ffdd00;width:320px;height:533px;border-radius:40px / 3px}.marvel-device.lumia920 .bottom-bar[data-v-3bcbf3c4]{display:none}.marvel-device.lumia920 .top-bar[data-v-3bcbf3c4]{width:calc(100% - 24px);height:calc(100% - 32px);position:absolute;top:16px;left:12px;border-radius:24px;background:black;z-index:1}.marvel-device.lumia920 .top-bar[data-v-3bcbf3c4]:before{background:#1e1e1e;display:block;content:'';width:calc(100% - 4px);height:calc(100% - 4px);top:2px;left:2px;position:absolute;border-radius:22px}.marvel-device.lumia920 .volume[data-v-3bcbf3c4]{width:3px;position:absolute;top:130px;height:100px;background:#1e1e1e;right:-3px;border-radius:0px 2px 2px 0px}.marvel-device.lumia920 .volume[data-v-3bcbf3c4]:before{width:3px;position:absolute;top:190px;content:'';display:block;height:50px;background:inherit;right:0px;border-radius:0px 2px 2px 0px}.marvel-device.lumia920 .volume[data-v-3bcbf3c4]:after{width:3px;position:absolute;top:460px;content:'';display:block;height:50px;background:inherit;right:0px;border-radius:0px 2px 2px 0px}.marvel-device.lumia920 .camera[data-v-3bcbf3c4]{background:#3c3d3d;width:10px;height:10px;position:absolute;top:34px;right:130px;z-index:5;border-radius:5px}.marvel-device.lumia920 .speaker[data-v-3bcbf3c4]{background:#292728;width:64px;height:10px;position:absolute;top:38px;left:50%;margin-left:-32px;border-radius:5px;z-index:3}.marvel-device.lumia920.landscape[data-v-3bcbf3c4]{padding:35px 80px 35px 125px;height:320px;width:568px;border-radius:2px / 100px}.marvel-device.lumia920.landscape .top-bar[data-v-3bcbf3c4]{height:calc(100% - 24px);width:calc(100% - 32px);left:16px;top:12px}.marvel-device.lumia920.landscape .volume[data-v-3bcbf3c4]{height:3px;right:130px;width:100px;top:100%;border-radius:0px 0px 2px 2px}.marvel-device.lumia920.landscape .volume[data-v-3bcbf3c4]:before{height:3px;right:190px;top:0px;width:50px;border-radius:0px 0px 2px 2px}.marvel-device.lumia920.landscape .volume[data-v-3bcbf3c4]:after{height:3px;right:430px;top:0px;width:50px;border-radius:0px 0px 2px 2px}.marvel-device.lumia920.landscape .camera[data-v-3bcbf3c4]{right:30px;top:calc(100% - 140px)}.marvel-device.lumia920.landscape .speaker[data-v-3bcbf3c4]{width:10px;height:64px;top:50%;margin-left:0;margin-top:-32px;left:calc(100% - 48px)}.marvel-device.lumia920.black[data-v-3bcbf3c4]{background:black}.marvel-device.lumia920.white[data-v-3bcbf3c4]{background:white;box-shadow:0 1px 2px 0 rgba(0,0,0,0.2)}.marvel-device.lumia920.blue[data-v-3bcbf3c4]{background:#00acdd}.marvel-device.lumia920.red[data-v-3bcbf3c4]{background:#CC3E32}.marvel-device.htc-one[data-v-3bcbf3c4]{padding:72px 25px 100px 25px;width:320px;height:568px;background:#bebebe;border-radius:34px}.marvel-device.htc-one[data-v-3bcbf3c4]:before{content:'';display:block;width:calc(100% - 4px);height:calc(100% - 4px);position:absolute;top:2px;left:2px;background:#adadad;border-radius:32px}.marvel-device.htc-one[data-v-3bcbf3c4]:after{content:'';display:block;width:calc(100% - 8px);height:calc(100% - 8px);position:absolute;top:4px;left:4px;background:#eeeeee;border-radius:30px}.marvel-device.htc-one .top-bar[data-v-3bcbf3c4]{width:calc(100% - 4px);height:635px;position:absolute;background:#424242;top:50px;z-index:1;left:2px}.marvel-device.htc-one .top-bar[data-v-3bcbf3c4]:before{content:'';position:absolute;width:calc(100% - 4px);height:100%;position:absolute;background:black;top:0px;z-index:1;left:2px}.marvel-device.htc-one .bottom-bar[data-v-3bcbf3c4]{display:none}.marvel-device.htc-one .speaker[data-v-3bcbf3c4]{height:16px;width:216px;display:block;position:absolute;top:22px;z-index:2;left:50%;margin-left:-108px;background:radial-gradient(#343434 25%, transparent 50%) 0 0,radial-gradient(#343434 25%, transparent 50%) 4px 4px;background-size:4px 4px;background-position:top left}.marvel-device.htc-one .speaker[data-v-3bcbf3c4]:after{content:'';height:16px;width:216px;display:block;position:absolute;top:676px;z-index:2;left:50%;margin-left:-108px;background:inherit}.marvel-device.htc-one .camera[data-v-3bcbf3c4]{display:block;position:absolute;top:18px;right:38px;background:#3c3d3d;border-radius:100%;width:24px;height:24px;z-index:3}.marvel-device.htc-one .camera[data-v-3bcbf3c4]:before{width:8px;height:8px;background:black;border-radius:100%;position:absolute;content:'';top:50%;left:50%;margin-top:-4px;margin-left:-4px}.marvel-device.htc-one .sensor[data-v-3bcbf3c4]{display:block;position:absolute;top:29px;left:60px;background:#3c3d3d;border-radius:100%;width:8px;height:8px;z-index:3}.marvel-device.htc-one .sensor[data-v-3bcbf3c4]:after{display:block;content:'';position:absolute;top:0px;right:12px;background:#3c3d3d;border-radius:100%;width:8px;height:8px;z-index:3}.marvel-device.htc-one.landscape[data-v-3bcbf3c4]{padding:25px 72px 25px 100px;height:320px;width:568px}.marvel-device.htc-one.landscape .top-bar[data-v-3bcbf3c4]{height:calc(100% - 4px);width:635px;left:calc(100% - 685px);top:2px}.marvel-device.htc-one.landscape .speaker[data-v-3bcbf3c4]{width:16px;height:216px;left:calc(100% - 38px);top:50%;margin-left:0px;margin-top:-108px}.marvel-device.htc-one.landscape .speaker[data-v-3bcbf3c4]:after{width:16px;height:216px;left:calc(100% - 692px);top:50%;margin-left:0;margin-top:-108px}.marvel-device.htc-one.landscape .camera[data-v-3bcbf3c4]{right:18px;top:calc(100% - 38px)}.marvel-device.htc-one.landscape .sensor[data-v-3bcbf3c4]{left:calc(100% - 29px);top:60px}.marvel-device.htc-one.landscape .sensor[data-v-3bcbf3c4] :after{right:0;top:-12px}.marvel-device.ipad[data-v-3bcbf3c4]{width:576px;height:768px;padding:90px 25px;background:#242324;border-radius:44px}.marvel-device.ipad[data-v-3bcbf3c4]:before{width:calc(100% - 8px);height:calc(100% - 8px);position:absolute;content:'';display:block;top:4px;left:4px;border-radius:40px;background:#1e1e1e}.marvel-device.ipad .camera[data-v-3bcbf3c4]{background:#3c3d3d;width:10px;height:10px;position:absolute;top:44px;left:50%;margin-left:-5px;border-radius:100%}.marvel-device.ipad .top-bar[data-v-3bcbf3c4],.marvel-device.ipad .bottom-bar[data-v-3bcbf3c4]{display:none}.marvel-device.ipad .home[data-v-3bcbf3c4]{background:#242324;border-radius:36px;width:50px;height:50px;position:absolute;left:50%;margin-left:-25px;bottom:22px}.marvel-device.ipad .home[data-v-3bcbf3c4]:after{width:15px;height:15px;margin-top:-8px;margin-left:-8px;border:1px solid rgba(255,255,255,0.1);border-radius:4px;position:absolute;display:block;content:'';top:50%;left:50%}.marvel-device.ipad.landscape[data-v-3bcbf3c4]{height:576px;width:768px;padding:25px 90px}.marvel-device.ipad.landscape .camera[data-v-3bcbf3c4]{left:calc(100% - 44px);top:50%;margin-left:0;margin-top:-5px}.marvel-device.ipad.landscape .home[data-v-3bcbf3c4]{top:50%;left:22px;margin-left:0;margin-top:-25px}.marvel-device.ipad.silver[data-v-3bcbf3c4]{background:#bcbcbc}.marvel-device.ipad.silver[data-v-3bcbf3c4]:before{background:#fcfcfc}.marvel-device.ipad.silver .home[data-v-3bcbf3c4]{background:#fcfcfc;box-shadow:inset 0 0 0 1px #bcbcbc}.marvel-device.ipad.silver .home[data-v-3bcbf3c4]:after{border:1px solid rgba(0,0,0,0.2)}.marvel-device.macbook[data-v-3bcbf3c4]{width:960px;height:600px;padding:44px 44px 76px;margin:0 auto;background:#bebebe;border-radius:34px}.marvel-device.macbook[data-v-3bcbf3c4]:before{width:calc(100% - 8px);height:calc(100% - 8px);position:absolute;content:'';display:block;top:4px;left:4px;border-radius:30px;background:#1e1e1e}.marvel-device.macbook .top-bar[data-v-3bcbf3c4]{width:calc(100% + 2 * 70px);height:40px;position:absolute;content:'';display:block;top:680px;left:-70px;border-bottom-left-radius:90px 18px;border-bottom-right-radius:90px 18px;background:#bebebe;box-shadow:inset 0px -4px 13px 3px rgba(34,34,34,0.6)}.marvel-device.macbook .top-bar[data-v-3bcbf3c4]:before{width:100%;height:24px;content:'';display:block;top:0;left:0;background:#f0f0f0;border-bottom:2px solid #aaa;border-radius:5px;position:relative}.marvel-device.macbook .top-bar[data-v-3bcbf3c4]:after{width:16%;height:14px;content:'';display:block;top:0;background:#ddd;position:absolute;margin-left:auto;margin-right:auto;left:0;right:0;border-radius:0 0 20px 20px;box-shadow:inset 0px -3px 10px #999}.marvel-device.macbook .bottom-bar[data-v-3bcbf3c4]{background:transparent;width:calc(100% + 2 * 70px);height:26px;position:absolute;content:'';display:block;top:680px;left:-70px}.marvel-device.macbook .bottom-bar[data-v-3bcbf3c4]:before,.marvel-device.macbook .bottom-bar[data-v-3bcbf3c4]:after{height:calc(100% - 2px);width:80px;content:'';display:block;top:0;position:absolute}.marvel-device.macbook .bottom-bar[data-v-3bcbf3c4]:before{left:0;background:#f0f0f0;background:linear-gradient(to right, #747474 0%, #c3c3c3 5%, #ebebeb 14%, #979797 41%, #f0f0f0 80%, #f0f0f0 100%, #f0f0f0 100%)}.marvel-device.macbook .bottom-bar[data-v-3bcbf3c4]:after{right:0;background:#f0f0f0;background:linear-gradient(to right, #f0f0f0 0%, #f0f0f0 0%, #f0f0f0 20%, #979797 59%, #ebebeb 86%, #c3c3c3 95%, #747474 100%)}.marvel-device.macbook .camera[data-v-3bcbf3c4]{background:#3c3d3d;width:10px;height:10px;position:absolute;top:20px;left:50%;margin-left:-5px;border-radius:100%}.marvel-device.macbook .home[data-v-3bcbf3c4]{display:none}.marvel-device.iphone-x[data-v-3bcbf3c4]{width:375px;height:812px;padding:26px;background:#fdfdfd;box-shadow:inset 0 0 11px 0 black;border-radius:66px}.marvel-device.iphone-x .overflow[data-v-3bcbf3c4]{width:100%;height:100%;position:absolute;top:0;left:0;border-radius:66px;overflow:hidden}.marvel-device.iphone-x .shadow[data-v-3bcbf3c4]{border-radius:100%;width:90px;height:90px;position:absolute;background:radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, rgba(255,255,255,0) 60%)}.marvel-device.iphone-x .shadow--tl[data-v-3bcbf3c4]{top:-20px;left:-20px}.marvel-device.iphone-x .shadow--tr[data-v-3bcbf3c4]{top:-20px;right:-20px}.marvel-device.iphone-x .shadow--bl[data-v-3bcbf3c4]{bottom:-20px;left:-20px}.marvel-device.iphone-x .shadow--br[data-v-3bcbf3c4]{bottom:-20px;right:-20px}.marvel-device.iphone-x[data-v-3bcbf3c4]:before{width:calc(100% - 10px);height:calc(100% - 10px);position:absolute;top:5px;content:'';left:5px;border-radius:61px;background:black;z-index:1}.marvel-device.iphone-x .inner-shadow[data-v-3bcbf3c4]{width:calc(100% - 20px);height:calc(100% - 20px);position:absolute;top:10px;overflow:hidden;left:10px;border-radius:56px;box-shadow:inset 0 0 15px 0 rgba(255,255,255,0.66);z-index:1}.marvel-device.iphone-x .inner-shadow[data-v-3bcbf3c4]:before{box-shadow:inset 0 0 20px 0 #FFFFFF;width:100%;height:116%;position:absolute;top:-8%;content:'';left:0;border-radius:200px / 112px;z-index:2}.marvel-device.iphone-x .screen[data-v-3bcbf3c4]{border-radius:40px;box-shadow:none}.marvel-device.iphone-x .top-bar[data-v-3bcbf3c4],.marvel-device.iphone-x .bottom-bar[data-v-3bcbf3c4]{width:100%;position:absolute;height:8px;background:rgba(0,0,0,0.1);left:0}.marvel-device.iphone-x .top-bar[data-v-3bcbf3c4]{top:80px}.marvel-device.iphone-x .bottom-bar[data-v-3bcbf3c4]{bottom:80px}.marvel-device.iphone-x .volume[data-v-3bcbf3c4],.marvel-device.iphone-x .volume[data-v-3bcbf3c4]:before,.marvel-device.iphone-x .volume[data-v-3bcbf3c4]:after,.marvel-device.iphone-x .sleep[data-v-3bcbf3c4]{width:3px;background:#b5b5b5;position:absolute}.marvel-device.iphone-x .volume[data-v-3bcbf3c4]{left:-3px;top:116px;height:32px}.marvel-device.iphone-x .volume[data-v-3bcbf3c4]:before{height:62px;top:62px;content:'';left:0}.marvel-device.iphone-x .volume[data-v-3bcbf3c4]:after{height:62px;top:140px;content:'';left:0}.marvel-device.iphone-x .sleep[data-v-3bcbf3c4]{height:96px;top:200px;right:-3px}.marvel-device.iphone-x .camera[data-v-3bcbf3c4]{width:6px;height:6px;top:9px;border-radius:100%;position:absolute;left:154px;background:#0d4d71}.marvel-device.iphone-x .speaker[data-v-3bcbf3c4]{height:6px;width:60px;left:50%;position:absolute;top:9px;margin-left:-30px;background:#171818;border-radius:6px}.marvel-device.iphone-x .notch[data-v-3bcbf3c4]{position:absolute;width:210px;height:30px;top:26px;left:108px;z-index:4;background:black;border-bottom-left-radius:24px;border-bottom-right-radius:24px}.marvel-device.iphone-x .notch[data-v-3bcbf3c4]:before,.marvel-device.iphone-x .notch[data-v-3bcbf3c4]:after{content:'';height:8px;position:absolute;top:0;width:8px}.marvel-device.iphone-x .notch[data-v-3bcbf3c4]:after{background:radial-gradient(circle at bottom left, transparent 0, transparent 70%, black 70%, black 100%);left:-8px}.marvel-device.iphone-x .notch[data-v-3bcbf3c4]:before{background:radial-gradient(circle at bottom right, transparent 0, transparent 70%, black 70%, black 100%);right:-8px}.marvel-device.iphone-x.landscape[data-v-3bcbf3c4]{height:375px;width:812px}.marvel-device.iphone-x.landscape .top-bar[data-v-3bcbf3c4],.marvel-device.iphone-x.landscape .bottom-bar[data-v-3bcbf3c4]{width:8px;height:100%;top:0}.marvel-device.iphone-x.landscape .top-bar[data-v-3bcbf3c4]{left:80px}.marvel-device.iphone-x.landscape .bottom-bar[data-v-3bcbf3c4]{right:80px;bottom:auto;left:auto}.marvel-device.iphone-x.landscape .volume[data-v-3bcbf3c4],.marvel-device.iphone-x.landscape .volume[data-v-3bcbf3c4]:before,.marvel-device.iphone-x.landscape .volume[data-v-3bcbf3c4]:after,.marvel-device.iphone-x.landscape .sleep[data-v-3bcbf3c4]{height:3px}.marvel-device.iphone-x.landscape .inner-shadow[data-v-3bcbf3c4]:before{height:100%;width:116%;left:-8%;top:0;border-radius:112px / 200px}.marvel-device.iphone-x.landscape .volume[data-v-3bcbf3c4]{bottom:-3px;top:auto;left:116px;width:32px}.marvel-device.iphone-x.landscape .volume[data-v-3bcbf3c4]:before{width:62px;left:62px;top:0}.marvel-device.iphone-x.landscape .volume[data-v-3bcbf3c4]:after{width:62px;left:140px;top:0}.marvel-device.iphone-x.landscape .sleep[data-v-3bcbf3c4]{width:96px;left:200px;top:-3px;right:auto}.marvel-device.iphone-x.landscape .camera[data-v-3bcbf3c4]{left:9px;bottom:154px;top:auto}.marvel-device.iphone-x.landscape .speaker[data-v-3bcbf3c4]{width:6px;height:60px;left:9px;top:50%;margin-top:-30px;margin-left:0}.marvel-device.iphone-x.landscape .notch[data-v-3bcbf3c4]{height:210px;width:30px;left:26px;bottom:108px;top:auto;border-top-right-radius:24px;border-bottom-right-radius:24px;border-bottom-left-radius:0}.marvel-device.iphone-x.landscape .notch[data-v-3bcbf3c4]:before,.marvel-device.iphone-x.landscape .notch[data-v-3bcbf3c4]:after{left:0}.marvel-device.iphone-x.landscape .notch[data-v-3bcbf3c4]:after{background:radial-gradient(circle at bottom right, transparent 0, transparent 70%, black 70%, black 100%);bottom:-8px;top:auto}.marvel-device.iphone-x.landscape .notch[data-v-3bcbf3c4]:before{background:radial-gradient(circle at top right, transparent 0, transparent 70%, black 70%, black 100%);top:-8px}.marvel-device.note8[data-v-3bcbf3c4]{width:400px;height:822px;background:black;border-radius:34px;padding:45px 10px}.marvel-device.note8 .overflow[data-v-3bcbf3c4]{width:100%;height:100%;position:absolute;top:0;left:0;border-radius:34px;overflow:hidden}.marvel-device.note8 .speaker[data-v-3bcbf3c4]{height:8px;width:56px;left:50%;position:absolute;top:25px;margin-left:-28px;background:#171818;z-index:1;border-radius:8px}.marvel-device.note8 .camera[data-v-3bcbf3c4]{height:18px;width:18px;left:86px;position:absolute;top:18px;background:#212b36;z-index:1;border-radius:100%}.marvel-device.note8 .camera[data-v-3bcbf3c4]:before{content:'';height:8px;width:8px;left:-22px;position:absolute;top:5px;background:#212b36;z-index:1;border-radius:100%}.marvel-device.note8 .sensors[data-v-3bcbf3c4]{height:10px;width:10px;left:120px;position:absolute;top:22px;background:#1d233b;z-index:1;border-radius:100%}.marvel-device.note8 .sensors[data-v-3bcbf3c4]:before{content:'';height:10px;width:10px;left:18px;position:absolute;top:0;background:#1d233b;z-index:1;border-radius:100%}.marvel-device.note8 .more-sensors[data-v-3bcbf3c4]{height:16px;width:16px;left:285px;position:absolute;top:18px;background:#33244a;box-shadow:0 0 0 2px rgba(255,255,255,0.1);z-index:1;border-radius:100%}.marvel-device.note8 .more-sensors[data-v-3bcbf3c4]:before{content:'';height:11px;width:11px;left:40px;position:absolute;top:4px;background:#214a61;z-index:1;border-radius:100%}.marvel-device.note8 .sleep[data-v-3bcbf3c4]{width:2px;height:56px;background:black;position:absolute;top:288px;right:-2px}.marvel-device.note8 .volume[data-v-3bcbf3c4]{width:2px;height:120px;background:black;position:absolute;top:168px;left:-2px}.marvel-device.note8 .volume[data-v-3bcbf3c4]:before{content:'';top:168px;width:2px;position:absolute;left:0;background:black;height:56px}.marvel-device.note8 .inner[data-v-3bcbf3c4]{width:100%;height:calc(100% - 8px);position:absolute;top:2px;content:'';left:0px;border-radius:34px;border-top:2px solid #9fa0a2;border-bottom:2px solid #9fa0a2;background:black;z-index:1;box-shadow:inset 0 0 6px 0 rgba(255,255,255,0.5)}.marvel-device.note8 .shadow[data-v-3bcbf3c4]{box-shadow:inset 0 0 60px 0 white,inset 0 0 30px 0 rgba(255,255,255,0.5),0 0 20px 0 white,0 0 20px 0 rgba(255,255,255,0.5);height:101%;position:absolute;top:-0.5%;content:'';width:calc(100% - 20px);left:10px;border-radius:38px;z-index:5;pointer-events:none}.marvel-device.note8 .screen[data-v-3bcbf3c4]{border-radius:14px;box-shadow:none}.marvel-device.note8.landscape[data-v-3bcbf3c4]{height:400px;width:822px;padding:10px 45px}.marvel-device.note8.landscape .speaker[data-v-3bcbf3c4]{height:56px;width:8px;top:50%;margin-top:-28px;margin-left:0;right:25px;left:auto}.marvel-device.note8.landscape .camera[data-v-3bcbf3c4]{top:86px;right:18px;left:auto}.marvel-device.note8.landscape .camera[data-v-3bcbf3c4]:before{top:-22px;left:5px}.marvel-device.note8.landscape .sensors[data-v-3bcbf3c4]{top:120px;right:22px;left:auto}.marvel-device.note8.landscape .sensors[data-v-3bcbf3c4]:before{top:18px;left:0}.marvel-device.note8.landscape .more-sensors[data-v-3bcbf3c4]{top:285px;right:18px;left:auto}.marvel-device.note8.landscape .more-sensors[data-v-3bcbf3c4]:before{top:40px;left:4px}.marvel-device.note8.landscape .sleep[data-v-3bcbf3c4]{bottom:-2px;top:auto;right:288px;width:56px;height:2px}.marvel-device.note8.landscape .volume[data-v-3bcbf3c4]{width:120px;height:2px;top:-2px;right:168px;left:auto}.marvel-device.note8.landscape .volume[data-v-3bcbf3c4]:before{right:168px;left:auto;top:0;width:56px;height:2px}.marvel-device.note8.landscape .inner[data-v-3bcbf3c4]{height:100%;width:calc(100% - 8px);left:2px;top:0;border-top:0;border-bottom:0;border-left:2px solid #9fa0a2;border-right:2px solid #9fa0a2}.marvel-device.note8.landscape .shadow[data-v-3bcbf3c4]{width:101%;height:calc(100% - 20px);left:-0.5%;top:10px}\n",""])},"8oxB":function(e,t){var n,r,a=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var s,l=[],d=!1,p=-1;function u(){d&&s&&(d=!1,s.length?l=s.concat(l):p=-1,l.length&&f())}function f(){if(!d){var e=c(u);d=!0;for(var t=l.length;t;){for(s=l,l=[];++p1)for(var n=1;n',t.titleMarkup='\n
\n',t.textMarkup='\n
',t.footerMarkup='\n
\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.CONFIRM_KEY="confirm",t.CANCEL_KEY="cancel";var a={visible:!0,text:null,value:null,className:"",closeModal:!0},o=Object.assign({},a,{visible:!1,text:"Cancel",value:null}),i=Object.assign({},a,{text:"OK",value:!0});t.defaultButtonList={cancel:o,confirm:i};var c=function(e){switch(e){case t.CONFIRM_KEY:return i;case t.CANCEL_KEY:return o;default:var n=e.charAt(0).toUpperCase()+e.slice(1);return Object.assign({},a,{text:n,value:e})}},s=function(e,t){var n=c(e);return!0===t?Object.assign({},n,{visible:!0}):"string"==typeof t?Object.assign({},n,{visible:!0,text:t}):r.isPlainObject(t)?Object.assign({visible:!0},n,t):Object.assign({},n,{visible:!1})},l=function(e){var n={};switch(e.length){case 1:n[t.CANCEL_KEY]=Object.assign({},o,{visible:!1});break;case 2:n[t.CANCEL_KEY]=s(t.CANCEL_KEY,e[0]),n[t.CONFIRM_KEY]=s(t.CONFIRM_KEY,e[1]);break;default:r.throwErr("Invalid number of 'buttons' in array ("+e.length+").\n If you want more than 2 buttons, you need to use an object!")}return n};t.getButtonListOpts=function(e){var n=t.defaultButtonList;return"string"==typeof e?n[t.CONFIRM_KEY]=s(t.CONFIRM_KEY,e):Array.isArray(e)?n=l(e):r.isPlainObject(e)?n=function(e){for(var t={},n=0,r=Object.keys(e);n=0&&m.splice(t,1)}function c(e){var t=document.createElement("style");return e.attrs.type="text/css",l(t,e.attrs),o(e,t),t}function s(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",l(t,e.attrs),o(e,t),t}function l(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function d(e,t){var n,r,a,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var l=h++;n=b||(b=c(t)),r=p.bind(null,n,l,!1),a=p.bind(null,n,l,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=s(t),r=function(e,t,n){var r=n.css,a=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&a;(t.convertToAbsoluteUrls||o)&&(r=x(r)),a&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */");var i=new Blob([r],{type:"text/css"}),c=e.href;e.href=URL.createObjectURL(i),c&&URL.revokeObjectURL(c)}.bind(null,n,t),a=function(){i(n),n.href&&URL.revokeObjectURL(n.href)}):(n=c(t),r=function(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),a=function(){i(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else a()}}function p(e,t,n,r){var a=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=g(t,a);else{var o=document.createTextNode(a),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}var u={},f=function(e){var t;return function(){return void 0===t&&(t=function(){return window&&document&&document.all&&!window.atob}.apply(this,arguments)),t}}(),v=function(e){var t={};return function(e){return void 0===t[e]&&(t[e]=function(e){return document.querySelector(e)}.call(this,e)),t[e]}}(),b=null,h=0,m=[],x=n(15);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||(t.singleton=f()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=a(e,t);return r(n,t),function(e){for(var o=[],i=0;ithis.length)&&-1!==this.indexOf(e,t)}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),r=n.length>>>0;if(0===r)return!1;for(var a=0|t,o=Math.max(a>=0?a:r-Math.abs(a),0);o=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},a(19),r.setImmediate=t,r.clearImmediate=n},function(e,t,n){(function(e,t){!function(e,n){"use strict";function r(e){delete c[e]}function a(e){if(s)setTimeout(a,0,e);else{var t=c[e];if(t){s=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}(t)}finally{r(e),s=!1}}}}if(!e.setImmediate){var o,i=1,c={},s=!1,l=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?o=function(e){t.nextTick(function(){a(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?function(){var t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&a(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),o=function(n){e.postMessage(t+n,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){a(e.data)},o=function(t){e.port2.postMessage(t)}}():l&&"onreadystatechange"in l.createElement("script")?function(){var e=l.documentElement;o=function(t){var n=l.createElement("script");n.onreadystatechange=function(){a(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():o=function(e){setTimeout(a,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n1)for(var n=1;n',t.default=t.modalMarkup},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),a=r.default.OVERLAY,o='
\n
';t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),a=r.default.ICON;t.errorIconMarkup=function(){var e=a+"--error",t=e+"__line";return'\n
\n \n \n
\n '},t.warningIconMarkup=function(){var e=a+"--warning";return'\n \n \n \n '},t.successIconMarkup=function(){var e=a+"--success";return'\n \n \n\n
\n
\n '}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),a=r.default.CONTENT;t.contentMarkup='\n
\n\n
\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),a=r.default.BUTTON_CONTAINER,o=r.default.BUTTON,i=r.default.BUTTON_LOADER;t.buttonMarkup='\n
\n\n \n\n
\n
\n
\n
\n
\n\n
\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),a=n(2),o=n(0),i=o.default.ICON,c=o.default.ICON_CUSTOM,s=["error","warning","success","info"],l={error:a.errorIconMarkup(),warning:a.warningIconMarkup(),success:a.successIconMarkup()};t.default=function(e){if(e){var t=r.injectElIntoModal(a.iconMarkup);s.includes(e)?function(e,t){var n=i+"--"+e;t.classList.add(n);var r=l[e];r&&(t.innerHTML=r)}(e,t):function(e,t){t.classList.add(c);var n=document.createElement("img");n.src=e,t.appendChild(n)}(e,t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),a=n(4),o=function(e){navigator.userAgent.includes("AppleWebKit")&&(e.style.display="none",e.offsetHeight,e.style.display="")};t.initTitle=function(e){if(e){var t=a.injectElIntoModal(r.titleMarkup);t.textContent=e,o(t)}},t.initText=function(e){if(e){var t=document.createDocumentFragment();e.split("\n").forEach(function(e,n,r){t.appendChild(document.createTextNode(e)),n0}).forEach(function(e){b.classList.add(e)}),n&&e===s.CONFIRM_KEY&&b.classList.add(c),b.textContent=a;var m={};return m[e]=o,p.setActionValue(m),p.setActionOptionsFor(e,{closeModal:f}),b.addEventListener("click",function(){return d.onAction(e)}),v};t.default=function(e,t){var n=a.injectElIntoModal(l.footerMarkup);for(var r in e){var o=e[r],i=u(r,o,t);o.visible&&n.appendChild(i)}0===n.children.length&&n.remove()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=n(4),o=n(2),i=n(5),c=n(6),s=n(0),l=s.default.CONTENT,d=function(e){e.addEventListener("input",function(e){var t=e.target,n=t.value;i.setActionValue(n)}),e.addEventListener("keyup",function(e){if("Enter"===e.key)return c.onAction(r.CONFIRM_KEY)}),setTimeout(function(){e.focus(),i.setActionValue("")},0)};t.default=function(e){if(e){var t=a.injectElIntoModal(o.contentMarkup),n=e.element,r=e.attributes;"string"==typeof n?function(e,t,n){var r=document.createElement(t),a=l+"__"+t;for(var o in r.classList.add(a),n){var i=n[o];r[o]=i}"input"===t&&d(r),e.appendChild(r)}(t,n,r):t.appendChild(n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(2);t.default=function(){var e=r.stringToNode(a.overlayMarkup);document.body.appendChild(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),a=n(6),o=n(1),i=n(3),c=n(0),s=c.default.MODAL,l=c.default.BUTTON,d=c.default.OVERLAY,p=function(e){if(r.default.isOpen)switch(e.key){case"Escape":return a.onAction(i.CANCEL_KEY)}},u=function(e){if(r.default.isOpen)switch(e.key){case"Tab":return function(e){e.preventDefault(),v()}(e)}},f=function(e){if(r.default.isOpen)return"Tab"===e.key&&e.shiftKey?function(e){e.preventDefault(),b()}(e):void 0},v=function(){var e=o.getNode(l);e&&(e.tabIndex=0,e.focus())},b=function(){var e=o.getNode(s),t=e.querySelectorAll("."+l),n=t.length-1,r=t[n];r&&r.focus()},h=function(){var e=o.getNode(s),t=e.querySelectorAll("."+l);t.length&&(function(e){e[e.length-1].addEventListener("keydown",u)}(t),function(e){e[0].addEventListener("keydown",f)}(t))},m=function(e){if(o.getNode(d)===e.target)return a.onAction(i.CANCEL_KEY)};t.default=function(e){e.closeOnEsc?document.addEventListener("keyup",p):document.removeEventListener("keyup",p),e.dangerMode?v():b(),h(),function(e){var t=o.getNode(d);t.removeEventListener("click",m),e&&t.addEventListener("click",m)}(e.closeOnClickOutside),function(e){r.default.timer&&clearTimeout(r.default.timer),e&&(r.default.timer=window.setTimeout(function(){return a.onAction(i.CANCEL_KEY)},e))}(e.timer)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(3),o=n(37),i=n(38),c={title:null,text:null,icon:null,buttons:a.defaultButtonList,content:null,className:null,closeOnClickOutside:!0,closeOnEsc:!0,dangerMode:!1,timer:null},s=Object.assign({},c);t.setDefaults=function(e){s=Object.assign({},c,e)};var l=function(e){var t=e&&e.button,n=e&&e.buttons;return void 0!==t&&void 0!==n&&r.throwErr("Cannot set both 'button' and 'buttons' options!"),void 0!==t?{confirm:t}:n},d=function(e){return r.ordinalSuffixOf(e+1)},p=function(e,t){r.throwErr(d(t)+" argument ('"+e+"') is invalid")},u=function(e,t){var n=e+1,a=t[n];r.isPlainObject(a)||void 0===a||r.throwErr("Expected "+d(n)+" argument ('"+a+"') to be a plain object")},f=function(e,t,n,a){var o=typeof t,i="string"===o,c=t instanceof Element;if(i){if(0===n)return{text:t};if(1===n)return{text:t,title:a[0]};if(2===n)return u(n,a),{icon:t};p(t,n)}else{if(c&&0===n)return u(n,a),{content:t};if(r.isPlainObject(t))return function(e,t){var n=e+1,a=t[n];void 0!==a&&r.throwErr("Unexpected "+d(n)+" argument ("+a+")")}(n,a),t;p(t,n)}};t.getOpts=function(){for(var e=[],t=0;t=0&&Math.floor(t)===t&&isFinite(e)}function u(e){return o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function f(e){return null==e?"":Array.isArray(e)||d(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function v(e){var t=parseFloat(e);return isNaN(t)?e:t}function b(e,t){for(var n=Object.create(null),r=e.split(","),a=0;a-1)return e.splice(n,1)}}var g=Object.prototype.hasOwnProperty;function y(e,t){return g.call(e,t)}function w(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var _=/-(\w)/g,k=w(function(e){return e.replace(_,function(e,t){return t?t.toUpperCase():""})}),C=w(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),O=/\B([A-Z])/g,T=w(function(e){return e.replace(O,"-$1").toLowerCase()}),A=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function $(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function E(e,t){for(var n in t)e[n]=t[n];return e}function S(e){for(var t={},n=0;n0,G=q&&q.indexOf("edge/")>0,Z=(q&&q.indexOf("android"),q&&/iphone|ipad|ipod|ios/.test(q)||"ios"===X),Q=(q&&/chrome\/\d+/.test(q),q&&/phantomjs/.test(q),q&&q.match(/firefox\/(\d+)/)),ee={}.watch,te=!1;if(V)try{var ne={};Object.defineProperty(ne,"passive",{get:function(){te=!0}}),window.addEventListener("test-passive",null,ne)}catch(r){}var re=function(){return void 0===B&&(B=!V&&!Y&&void 0!==t&&t.process&&"server"===t.process.env.VUE_ENV),B},ae=V&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function oe(e){return"function"==typeof e&&/native code/.test(e.toString())}var ie,ce="undefined"!=typeof Symbol&&oe(Symbol)&&"undefined"!=typeof Reflect&&oe(Reflect.ownKeys);ie="undefined"!=typeof Set&&oe(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var se=j,le=0,de=function(){this.id=le++,this.subs=[]};de.prototype.addSub=function(e){this.subs.push(e)},de.prototype.removeSub=function(e){x(this.subs,e)},de.prototype.depend=function(){de.target&&de.target.addDep(this)},de.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t-1)if(o&&!y(a,"default"))i=!1;else if(""===i||i===T(e)){var s=Ue(String,a.type);(s<0||c0&&(lt((s=e(s,(n||"")+"_"+r))[0])&<(d)&&(p[l]=me(d.text+s[0].text),s.shift()),p.push.apply(p,s)):c(s)?lt(d)?p[l]=me(d.text+s):""!==s&&p.push(me(s)):lt(s)&<(d)?p[l]=me(d.text+s.text):(i(t._isVList)&&o(s.tag)&&a(s.key)&&o(n)&&(s.key="__vlist"+n+"_"+r+"__"),p.push(s)));return p}(e):void 0}function lt(e){return o(e)&&o(e.text)&&!1===e.isComment}function dt(e,t){if(e){for(var n=Object.create(null),r=ce?Reflect.ownKeys(e):Object.keys(e),a=0;adocument.createEvent("Event").timeStamp&&(ln=function(){return performance.now()});var pn=0,un=function(e,t,n,r,a){this.vm=e,a&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++pn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ie,this.newDepIds=new ie,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!H.test(e)){var t=e.split(".");return function(e){for(var n=0;ncn&&tn[n].id>e.id;)n--;tn.splice(n+1,0,e)}else tn.push(e);an||(an=!0,et(dn))}}(this)},un.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Fe(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},un.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},un.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},un.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||x(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var fn={enumerable:!0,configurable:!0,get:j,set:j};function vn(e,t,n){fn.get=function(){return this[t][n]},fn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,fn)}var bn={lazy:!0};function hn(e,t,n){var r=!re();"function"==typeof n?(fn.get=r?mn(t):xn(n),fn.set=j):(fn.get=n.get?r&&!1!==n.cache?mn(t):xn(n.get):j,fn.set=n.set||j),Object.defineProperty(e,t,fn)}function mn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),de.target&&t.depend(),t.value}}function xn(e){return function(){return e.call(this,this)}}function gn(e,t,n,r){return d(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}var yn=0;function wn(e){var t=e.options;if(e.super){var n=wn(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.sealedOptions;for(var a in n)n[a]!==r[a]&&(t||(t={}),t[a]=n[a]);return t}(e);r&&E(e.extendOptions,r),(t=e.options=Ie(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function _n(e){this._init(e)}function kn(e){return e&&(e.Ctor.options.name||e.tag)}function Cn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===l.call(n)&&e.test(t));var n}function On(e,t){var n=e.cache,r=e.keys,a=e._vnode;for(var o in n){var i=n[o];if(i){var c=kn(i.componentOptions);c&&!t(c)&&Tn(n,o,r,a)}}}function Tn(e,t,n,r){var a=e[t];!a||r&&a.tag===r.tag||a.componentInstance.$destroy(),e[t]=null,x(n,t)}_n.prototype._init=function(e){var t=this;t._uid=yn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var a=r.componentOptions;n.propsData=a.propsData,n._parentListeners=a.listeners,n._renderChildren=a.children,n._componentTag=a.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Ie(wn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Jt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,a=n&&n.context;e.$slots=pt(t._renderChildren,a),e.$scopedSlots=r,e._c=function(t,n,r,a){return Ut(e,t,n,r,a,!1)},e.$createElement=function(t,n,r,a){return Ut(e,t,n,r,a,!0)};var o=n&&n.data;Te(e,"$attrs",o&&o.attrs||r,null,!0),Te(e,"$listeners",t._parentListeners||r,null,!0)}(t),en(t,"beforeCreate"),function(e){var t=dt(e.$options.inject,e);t&&(ke(!1),Object.keys(t).forEach(function(n){Te(e,n,t[n])}),ke(!0))}(t),function(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},a=e.$options._propKeys=[];e.$parent&&ke(!1);var o=function(o){a.push(o);var i=De(o,t,n,e);Te(r,o,i),o in e||vn(e,"_props",o)};for(var i in t)o(i);ke(!0)}(e,t.props),t.methods&&function(e,t){for(var n in e.$options.props,t)e[n]="function"!=typeof t[n]?j:A(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;d(t=e._data="function"==typeof t?function(e,t){ue();try{return e.call(t,t)}catch(e){return Fe(e,t,"data()"),{}}finally{fe()}}(t,e):t||{})||(t={});for(var n,r=Object.keys(t),a=e.$options.props,o=(e.$options.methods,r.length);o--;){var i=r[o];a&&y(a,i)||36!==(n=(i+"").charCodeAt(0))&&95!==n&&vn(e,"_data",i)}Oe(t,!0)}(e):Oe(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=re();for(var a in t){var o=t[a],i="function"==typeof o?o:o.get;r||(n[a]=new un(e,i||j,j,bn)),a in e||hn(e,a,o)}}(e,t.computed),t.watch&&t.watch!==ee&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var a=0;a1?$(t):t;for(var n=$(arguments,1),r='event handler for "'+e+'"',a=0,o=t.length;aparseInt(this.max)&&Tn(i,c[0],c,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return U}};Object.defineProperty(e,"config",t),e.util={warn:se,extend:E,mergeOptions:Ie,defineReactive:Te},e.set=Ae,e.delete=$e,e.nextTick=et,e.observable=function(e){return Oe(e),e},e.options=Object.create(null),R.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,E(e.options.components,$n),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=$(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Ie(this.options,e),this}}(e),function(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,a=e._Ctor||(e._Ctor={});if(a[r])return a[r];var o=e.name||n.options.name,i=function(e){this._init(e)};return(i.prototype=Object.create(n.prototype)).constructor=i,i.cid=t++,i.options=Ie(n.options,e),i.super=n,i.options.props&&function(e){var t=e.options.props;for(var n in t)vn(e.prototype,"_props",n)}(i),i.options.computed&&function(e){var t=e.options.computed;for(var n in t)hn(e.prototype,n,t[n])}(i),i.extend=n.extend,i.mixin=n.mixin,i.use=n.use,R.forEach(function(e){i[e]=n[e]}),o&&(i.options.components[o]=i),i.superOptions=n.options,i.extendOptions=e,i.sealedOptions=E({},i.options),a[r]=i,i}}(e),function(e){R.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&d(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(_n),Object.defineProperty(_n.prototype,"$isServer",{get:re}),Object.defineProperty(_n.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(_n,"FunctionalRenderContext",{value:jt}),_n.version="2.6.7";var En=b("style,class"),Sn=b("input,textarea,option,select,progress"),jn=function(e,t,n){return"value"===n&&Sn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Mn=b("contenteditable,draggable,spellcheck"),Nn=b("events,caret,typing,plaintext-only"),Ln=function(e,t){return zn(t)||"false"===t?"false":"contenteditable"===e&&Nn(t)?t:"true"},In=b("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Pn="http://www.w3.org/1999/xlink",Dn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Rn=function(e){return Dn(e)?e.slice(6,e.length):""},zn=function(e){return null==e||!1===e};function Un(e,t){return{staticClass:Fn(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function Fn(e,t){return e?t?e+" "+t:e:t||""}function Bn(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,a=e.length;r-1?fr(e,t,n):In(t)?zn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Mn(t)?e.setAttribute(t,Ln(t,n)):Dn(t)?zn(n)?e.removeAttributeNS(Pn,Rn(t)):e.setAttributeNS(Pn,t,n):fr(e,t,n)}function fr(e,t,n){if(zn(n))e.removeAttribute(t);else{if(J&&!W&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var vr={create:pr,update:pr};function br(e,t){var n=t.elm,r=t.data,i=e.data;if(!(a(r.staticClass)&&a(r.class)&&(a(i)||a(i.staticClass)&&a(i.class)))){var c=function(e){for(var t=e.data,n=e,r=e;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Un(r.data,t));for(;o(n=n.parent);)n&&n.data&&(t=Un(t,n.data));return function(e,t){return o(e)||o(t)?Fn(e,Bn(t)):""}(t.staticClass,t.class)}(t),s=n._transitionClasses;o(s)&&(c=Fn(c,Bn(s))),c!==n._prevClass&&(n.setAttribute("class",c),n._prevClass=c)}}var hr,mr,xr,gr,yr,wr,_r={create:br,update:br},kr=/[\w).+\-_$\]]/;function Cr(e){var t,n,r,a,o,i=!1,c=!1,s=!1,l=!1,d=0,p=0,u=0,f=0;for(r=0;r=0&&" "===(b=e.charAt(v));v--);b&&kr.test(b)||(l=!0)}}else void 0===a?(f=r+1,a=e.slice(0,r).trim()):h();function h(){(o||(o=[])).push(e.slice(f,r).trim()),f=r+1}if(void 0===a?a=e.slice(0,r).trim():0!==f&&h(),o)for(r=0;r-1?{exp:e.slice(0,gr),key:'"'+e.slice(gr+1)+'"'}:{exp:e,key:null};for(mr=e,gr=yr=wr=0;!Fr();)Br(xr=Ur())?Kr(xr):91===xr&&Hr(xr);return{exp:e.slice(0,yr),key:e.slice(yr+1,wr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Ur(){return mr.charCodeAt(++gr)}function Fr(){return gr>=hr}function Br(e){return 34===e||39===e}function Hr(e){var t=1;for(yr=gr;!Fr();)if(Br(e=Ur()))Kr(e);else if(91===e&&t++,93===e&&t--,0===t){wr=gr;break}}function Kr(e){for(var t=e;!Fr()&&(e=Ur())!==t;);}var Vr,Yr="__r",Xr="__c";function qr(e,t,n){var r=Vr;return function a(){null!==t.apply(null,arguments)&&Gr(e,a,n,r)}}var Jr=Ye&&!(Q&&Number(Q[1])<=53);function Wr(e,t,n,r){if(Jr){var a=sn,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=a||0===e.timeStamp||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Vr.addEventListener(e,t,te?{capture:n,passive:r}:n)}function Gr(e,t,n,r){(r||Vr).removeEventListener(e,t._wrapper||t,n)}function Zr(e,t){if(!a(e.data.on)||!a(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Vr=t.elm,function(e){if(o(e[Yr])){var t=J?"change":"input";e[t]=[].concat(e[Yr],e[t]||[]),delete e[Yr]}o(e[Xr])&&(e.change=[].concat(e[Xr],e.change||[]),delete e[Xr])}(n),ot(n,r,Wr,Gr,qr,t.context),Vr=void 0}}var Qr,ea={create:Zr,update:Zr};function ta(e,t){if(!a(e.data.domProps)||!a(t.data.domProps)){var n,r,i=t.elm,c=e.data.domProps||{},s=t.data.domProps||{};for(n in o(s.__ob__)&&(s=t.data.domProps=E({},s)),c)a(s[n])&&(i[n]="");for(n in s){if(r=s[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===c[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n&&"PROGRESS"!==i.tagName){i._value=r;var l=a(r)?"":String(r);na(i,l)&&(i.value=l)}else if("innerHTML"===n&&Vn(i.tagName)&&a(i.innerHTML)){(Qr=Qr||document.createElement("div")).innerHTML=""+r+"";for(var d=Qr.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;d.firstChild;)i.appendChild(d.firstChild)}else if(r!==c[n])try{i[n]=r}catch(e){}}}}function na(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(o(r)){if(r.number)return v(n)!==v(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var ra={create:ta,update:ta},aa=w(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function oa(e){var t=ia(e.style);return e.staticStyle?E(e.staticStyle,t):t}function ia(e){return Array.isArray(e)?S(e):"string"==typeof e?aa(e):e}var ca,sa=/^--/,la=/\s*!important$/,da=function(e,t,n){if(sa.test(t))e.style.setProperty(t,n);else if(la.test(n))e.style.setProperty(T(t),n.replace(la,""),"important");else{var r=ua(t);if(Array.isArray(n))for(var a=0,o=n.length;a-1?t.split(ba).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function ma(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(ba).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function xa(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&E(t,ga(e.name||"v")),E(t,e),t}return"string"==typeof e?ga(e):void 0}}var ga=w(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),ya=V&&!W,wa="transition",_a="animation",ka="transition",Ca="transitionend",Oa="animation",Ta="animationend";ya&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ka="WebkitTransition",Ca="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Oa="WebkitAnimation",Ta="webkitAnimationEnd"));var Aa=V?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function $a(e){Aa(function(){Aa(e)})}function Ea(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),ha(e,t))}function Sa(e,t){e._transitionClasses&&x(e._transitionClasses,t),ma(e,t)}function ja(e,t,n){var r=Na(e,t),a=r.type,o=r.timeout,i=r.propCount;if(!a)return n();var c=a===wa?Ca:Ta,s=0,l=function(){e.removeEventListener(c,d),n()},d=function(t){t.target===e&&++s>=i&&l()};setTimeout(function(){s0&&(n=wa,d=i,p=o.length):t===_a?l>0&&(n=_a,d=l,p=s.length):p=(n=(d=Math.max(i,l))>0?i>l?wa:_a:null)?n===wa?o.length:s.length:0,{type:n,timeout:d,propCount:p,hasTransform:n===wa&&Ma.test(r[ka+"Property"])}}function La(e,t){for(;e.length1}function Ua(e,t){!0!==t.data.show&&Pa(t)}var Fa=function(e){var t,n,r={},s=e.modules,l=e.nodeOps;for(t=0;tv?g(e,a(n[m+1])?null:n[m+1].elm,n,f,m,r):f>m&&w(0,t,u,v)}(u,b,m,n,d):o(m)?(o(e.text)&&l.setTextContent(u,""),g(u,null,m,0,m.length-1,n)):o(b)?w(0,b,0,b.length-1):o(e.text)&&l.setTextContent(u,""):e.text!==t.text&&l.setTextContent(u,t.text),o(v)&&o(f=v.hook)&&o(f=f.postpatch)&&f(e,t)}}}function O(e,t,n){if(i(n)&&o(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r-1,i.selected!==o&&(i.selected=o);else if(L(Ya(i),r))return void(e.selectedIndex!==c&&(e.selectedIndex=c));a||(e.selectedIndex=-1)}}function Va(e,t){return t.every(function(t){return!L(t,e)})}function Ya(e){return"_value"in e?e._value:e.value}function Xa(e){e.target.composing=!0}function qa(e){e.target.composing&&(e.target.composing=!1,Ja(e.target,"input"))}function Ja(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Wa(e){return!e.componentInstance||e.data&&e.data.transition?e:Wa(e.componentInstance._vnode)}var Ga={model:Ba,show:{bind:function(e,t,n){var r=t.value,a=(n=Wa(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&a?(n.data.show=!0,Pa(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Wa(n)).data&&n.data.transition?(n.data.show=!0,r?Pa(n,function(){e.style.display=e.__vOriginalDisplay}):Da(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,a){a||(e.style.display=e.__vOriginalDisplay)}}},Za={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Qa(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Qa(Vt(t.children)):e}function eo(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var a=n._parentListeners;for(var o in a)t[k(o)]=a[o];return t}function to(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var no=function(e){return e.tag||Kt(e)},ro=function(e){return"show"===e.name},ao={name:"transition",props:Za,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(no)).length){var r=this.mode,a=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return a;var o=Qa(a);if(!o)return a;if(this._leaving)return to(e,a);var i="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?i+"comment":i+o.tag:c(o.key)?0===String(o.key).indexOf(i)?o.key:i+o.key:o.key;var s=(o.data||(o.data={})).transition=eo(this),l=this._vnode,d=Qa(l);if(o.data.directives&&o.data.directives.some(ro)&&(o.data.show=!0),d&&d.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,d)&&!Kt(d)&&(!d.componentInstance||!d.componentInstance._vnode.isComment)){var p=d.data.transition=E({},s);if("out-in"===r)return this._leaving=!0,it(p,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),to(e,a);if("in-out"===r){if(Kt(o))return l;var u,f=function(){u()};it(s,"afterEnter",f),it(s,"enterCancelled",f),it(p,"delayLeave",function(e){u=e})}}return a}}},oo=E({tag:String,moveClass:String},Za);function io(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function co(e){e.data.newPos=e.elm.getBoundingClientRect()}function so(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,a=t.top-n.top;if(r||a){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+a+"px)",o.transitionDuration="0s"}}delete oo.mode;var lo={Transition:ao,TransitionGroup:{props:oo,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var a=Gt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,a(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,a=this.$slots.default||[],o=this.children=[],i=eo(this),c=0;c-1?qn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:qn[e]=/HTMLUnknownElement/.test(t.toString())},E(_n.options.directives,Ga),E(_n.options.components,lo),_n.prototype.__patch__=V?Fa:j,_n.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=he),en(e,"beforeMount"),r=function(){e._update(e._render(),n)},new un(e,r,j,{before:function(){e._isMounted&&!e._isDestroyed&&en(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,en(e,"mounted")),e}(this,e=e&&V?Wn(e):void 0,t)},V&&setTimeout(function(){U.devtools&&ae&&ae.emit("init",_n)},0);var po,uo=/\{\{((?:.|\r?\n)+?)\}\}/g,fo=/[-.*+?^${}()|[\]\/\\]/g,vo=w(function(e){var t=e[0].replace(fo,"\\$&"),n=e[1].replace(fo,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}),bo={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Ir(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Lr(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}},ho={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Ir(e,"style");n&&(e.staticStyle=JSON.stringify(aa(n)));var r=Lr(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},mo=b("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),xo=b("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),go=b("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),yo=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,wo=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,_o="[a-zA-Z_][\\-\\.0-9_a-zA-Za-zA-Z·À-ÖØ-öø-ͽͿ-῿‌-‍‿-⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�]*",ko="((?:"+_o+"\\:)?"+_o+")",Co=new RegExp("^<"+ko),Oo=/^\s*(\/?)>/,To=new RegExp("^<\\/"+ko+"[^>]*>"),Ao=/^]+>/i,$o=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},No=/&(?:lt|gt|quot|amp|#39);/g,Lo=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Io=b("pre,textarea",!0),Po=function(e,t){return e&&Io(e)&&"\n"===t[0]};function Do(e,t){var n=t?Lo:No;return e.replace(n,function(e){return Mo[e]})}var Ro,zo,Uo,Fo,Bo,Ho,Ko,Vo,Yo=/^@|^v-on:/,Xo=/^v-|^@|^:/,qo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Jo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Wo=/^\(|\)$/g,Go=/^\[.*\]$/,Zo=/:(.*)$/,Qo=/^:|^\.|^v-bind:/,ei=/\.[^.]+/g,ti=/^v-slot(:|$)|^#/,ni=/[\r\n]/,ri=/\s+/g,ai=w(function(e){return(po=po||document.createElement("div")).innerHTML=e,po.textContent}),oi="_empty_";function ii(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:ui(t),rawAttrsMap:{},parent:n,children:[]}}function ci(e,t){var n,r;(r=Lr(n=e,"key"))&&(n.key=r),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,function(e){var t=Lr(e,"ref");t&&(e.ref=t,e.refInFor=function(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(e))}(e),function(e){var t;"template"===e.tag?(t=Ir(e,"scope"),e.slotScope=t||Ir(e,"slot-scope")):(t=Ir(e,"slot-scope"))&&(e.slotScope=t);var n=Lr(e,"slot");if(n&&(e.slotTarget='""'===n?'"default"':n,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||Er(e,"slot",n,function(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}(e,"slot"))),"template"===e.tag){var r=Pr(e,ti);if(r){var a=di(r),o=a.name,i=a.dynamic;e.slotTarget=o,e.slotTargetDynamic=i,e.slotScope=r.value||oi}}else{var c=Pr(e,ti);if(c){var s=e.scopedSlots||(e.scopedSlots={}),l=di(c),d=l.name,p=l.dynamic,u=s[d]=ii("template",[],e);u.slotTarget=d,u.slotTargetDynamic=p,u.children=e.children.filter(function(e){if(!e.slotScope)return e.parent=u,!0}),u.slotScope=c.value||oi,e.children=[],e.plain=!1}}}(e),function(e){"slot"===e.tag&&(e.slotName=Lr(e,"name"))}(e),function(e){var t;(t=Lr(e,"is"))&&(e.component=t),null!=Ir(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var a=0;a-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Nr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+i+");if(Array.isArray($$a)){var $$v="+(r?"_n("+a+")":a)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+zr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+zr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+zr(t,"$$c")+"}",null,!0)}(e,r,a);else if("input"===o&&"radio"===i)!function(e,t,n){var r=n&&n.number,a=Lr(e,"value")||"null";$r(e,"checked","_q("+t+","+(a=r?"_n("+a+")":a)+")"),Nr(e,"change",zr(t,a),null,!0)}(e,r,a);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type,a=n||{},o=a.lazy,i=a.number,c=a.trim,s=!o&&"range"!==r,l=o?"change":"range"===r?Yr:"input",d="$event.target.value";c&&(d="$event.target.value.trim()"),i&&(d="_n("+d+")");var p=zr(t,d);s&&(p="if($event.target.composing)return;"+p),$r(e,"value","("+t+")"),Nr(e,l,p,null,!0),(c||i)&&Nr(e,"blur","$forceUpdate()")}(e,r,a);else if(!U.isReservedTag(o))return Rr(e,r,a),!1;return!0},text:function(e,t){t.value&&$r(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&$r(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:mo,mustUseProp:jn,canBeLeftOpenTag:xo,isReservedTag:Yn,getTagNamespace:Xn,staticKeys:xi.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")},yi=w(function(e){return b("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});var wi=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,_i=/\([^)]*?\);*$/,ki=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ci={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Oi={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Ti=function(e){return"if("+e+")return null;"},Ai={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Ti("$event.target !== $event.currentTarget"),ctrl:Ti("!$event.ctrlKey"),shift:Ti("!$event.shiftKey"),alt:Ti("!$event.altKey"),meta:Ti("!$event.metaKey"),left:Ti("'button' in $event && $event.button !== 0"),middle:Ti("'button' in $event && $event.button !== 1"),right:Ti("'button' in $event && $event.button !== 2")};function $i(e,t){var n=t?"nativeOn:":"on:",r="",a="";for(var o in e){var i=Ei(e[o]);e[o]&&e[o].dynamic?a+=o+","+i+",":r+='"'+o+'":'+i+","}return r="{"+r.slice(0,-1)+"}",a?n+"_d("+r+",["+a.slice(0,-1)+"])":n+r}function Ei(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return Ei(e)}).join(",")+"]";var t=ki.test(e.value),n=wi.test(e.value),r=ki.test(e.value.replace(_i,""));if(e.modifiers){var a="",o="",i=[];for(var c in e.modifiers)if(Ai[c])o+=Ai[c],Ci[c]&&i.push(c);else if("exact"===c){var s=e.modifiers;o+=Ti(["ctrl","shift","alt","meta"].filter(function(e){return!s[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else i.push(c);return i.length&&(a+="if(!$event.type.indexOf('key')&&"+i.map(Si).join("&&")+")return null;"),o&&(a+=o),"function($event){"+a+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Si(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Ci[e],r=Oi[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var ji={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:j},Mi=function(e){this.options=e,this.warn=e.warn||Tr,this.transforms=Ar(e.modules,"transformCode"),this.dataGenFns=Ar(e.modules,"genData"),this.directives=E(E({},ji),e.directives);var t=e.isReservedTag||M;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Ni(e,t){var n=new Mi(t);return{render:"with(this){return "+(e?Li(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Li(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ii(e,t);if(e.once&&!e.onceProcessed)return Pi(e,t);if(e.for&&!e.forProcessed)return Ri(e,t);if(e.if&&!e.ifProcessed)return Di(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=Bi(e,t),a="_t("+n+(r?","+r:""),o=e.attrs||e.dynamicAttrs?Vi((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:k(e.name),value:e.value,dynamic:e.dynamic}})):null,i=e.attrsMap["v-bind"];return!o&&!i||r||(a+=",null"),o&&(a+=","+o),i&&(a+=(o?"":",null")+","+i),a+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:Bi(t,n,!0);return"_c("+e+","+zi(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=zi(e,t));var a=e.inlineTemplate?null:Bi(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(a?","+a:"")+")"}for(var o=0;o>>0}(i):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=function(e,t){var n=e.children[0];if(n&&1===n.type){var r=Ni(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+Vi(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Ui(e){return 1===e.type&&("slot"===e.tag||e.children.some(Ui))}function Fi(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Di(e,t,Fi,"null");if(e.for&&!e.forProcessed)return Ri(e,t,Fi);var r=e.slotScope===oi?"":String(e.slotScope),a="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(Bi(e,t)||"undefined")+":undefined":Bi(e,t)||"undefined":Li(e,t))+"}",o=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+a+o+"}"}function Bi(e,t,n,r,a){var o=e.children;if(o.length){var i=o[0];if(1===o.length&&i.for&&"template"!==i.tag&&"slot"!==i.tag){var c=n?t.maybeComponent(i)?",1":",0":"";return""+(r||Li)(i,t)+c}var s=n?function(e,t){for(var n=0,r=0;r]*>)","i")),u=e.replace(p,function(e,n,r){return l=r.length,So(d)||"noscript"===d||(n=n.replace(//g,"$1").replace(//g,"$1")),Po(d,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});s+=e.length-u.length,e=u,T(d,s-l,s)}else{var f=e.indexOf("<");if(0===f){if($o.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),s,s+v+3),k(v+3);continue}}if(Eo.test(e)){var b=e.indexOf("]>");if(b>=0){k(b+2);continue}}var h=e.match(Ao);if(h){k(h[0].length);continue}var m=e.match(To);if(m){var x=s;k(m[0].length),T(m[1],x,s);continue}var g=C();if(g){O(g),Po(g.tagName,e)&&k(1);continue}}var y=void 0,w=void 0,_=void 0;if(f>=0){for(w=e.slice(f);!(To.test(w)||Co.test(w)||$o.test(w)||Eo.test(w)||(_=w.indexOf("<",1))<0);)f+=_,w=e.slice(f);y=e.substring(0,f)}f<0&&(y=e),y&&k(y.length),t.chars&&y&&t.chars(y,s-y.length,s)}if(e===n){t.chars&&t.chars(e);break}}function k(t){s+=t,e=e.substring(t)}function C(){var t=e.match(Co);if(t){var n,r,a={tagName:t[1],attrs:[],start:s};for(k(t[0].length);!(n=e.match(Oo))&&(r=e.match(wo)||e.match(yo));)r.start=s,k(r[0].length),r.end=s,a.attrs.push(r);if(n)return a.unarySlash=n[1],k(n[0].length),a.end=s,a}}function O(e){var n=e.tagName,s=e.unarySlash;o&&("p"===r&&go(n)&&T(r),c(n)&&r===n&&T(n));for(var l=i(n)||!!s,d=e.attrs.length,p=new Array(d),u=0;u=0&&a[i].lowerCasedTag!==c;i--);else i=0;if(i>=0){for(var l=a.length-1;l>=i;l--)t.end&&t.end(a[l].tag,n,o);a.length=i,r=i&&a[i-1].tag}else"br"===c?t.start&&t.start(e,[],!0,n,o):"p"===c&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}T()}(e,{warn:Ro,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,o,i,d){var p=r&&r.ns||Vo(e);J&&"svg"===p&&(o=function(e){for(var t=[],n=0;ns&&(c.push(o=e.slice(s,a)),i.push(JSON.stringify(o)));var l=Cr(r[1].trim());i.push("_s("+l+")"),c.push({"@binding":l}),s=a+r[0].length}return s':'
',Wi.innerHTML.indexOf(" ")>0}var ec=!!V&&Qi(!1),tc=!!V&&Qi(!0),nc=w(function(e){var t=Wn(e);return t&&t.innerHTML}),rc=_n.prototype.$mount;_n.prototype.$mount=function(e,t){if((e=e&&Wn(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=nc(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){var a=Zi(r,{outputSourceRange:!1,shouldDecodeNewlines:ec,shouldDecodeNewlinesForHref:tc,delimiters:n.delimiters,comments:n.comments},this),o=a.render,i=a.staticRenderFns;n.render=o,n.staticRenderFns=i}}return rc.call(this,e,t)},_n.compile=Zi,e.exports=_n}).call(this,n("yLpj"),n("URgk").setImmediate)},"KHd+":function(e,t,n){"use strict";function r(e,t,n,r,a,o,i,c){var s,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),i?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=s):a&&(s=c?function(){a.call(this,this.$root.$options.shadowRoot)}:a),s)if(l.functional){l._injectStyles=s;var d=l.render;l.render=function(e,t){return s.call(t),d(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,s):[s]}return{exports:e,options:l}}n.d(t,"a",function(){return r})},URgk:function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,a=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new o(a.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new o(a.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n("YBdB"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n("yLpj"))},XuX8:function(e,t,n){e.exports=n("INkZ")},YBdB:function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,a,o,i,c,s=1,l={},d=!1,p=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick(function(){v(e)})}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){v(e.data)},r=function(e){o.port2.postMessage(e)}):p&&"onreadystatechange"in p.createElement("script")?(a=p.documentElement,r=function(e){var t=p.createElement("script");t.onreadystatechange=function(){v(e),t.onreadystatechange=null,a.removeChild(t),t=null},a.appendChild(t)}):r=function(e){setTimeout(v,0,e)}:(i="setImmediate$"+Math.random()+"$",c=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&v(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",c,!1):e.attachEvent("onmessage",c),r=function(t){e.postMessage(i+t,"*")}),u.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n=0&&d.splice(t,1)}function h(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var r=function(){0;return n.nc}();r&&(e.attrs.nonce=r)}return m(t,e.attrs),v(e,t),t}function m(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function x(e,t){var n,r,a,o;if(t.transform&&e.css){if(!(o="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=o}if(t.singleton){var i=l++;n=s||(s=h(t)),r=w.bind(null,n,i,!1),a=w.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",m(t,e.attrs),v(e,t),t}(t),r=function(e,t,n){var r=n.css,a=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&a;(t.convertToAbsoluteUrls||o)&&(r=p(r));a&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */");var i=new Blob([r],{type:"text/css"}),c=e.href;e.href=URL.createObjectURL(i),c&&URL.revokeObjectURL(c)}.bind(null,n,t),a=function(){b(n),n.href&&URL.revokeObjectURL(n.href)}):(n=h(t),r=function(e,t){var n=t.css,r=t.media;r&&e.setAttribute("media",r);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),a=function(){b(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else a()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=i()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=f(e,t);return u(n,t),function(e){for(var r=[],a=0;a
',event.target.setAttribute("disabled",""),e.password!==e.passwordConfirmation)return a()("Whoops!","The password and password confirmation fields do not match, please confirm your password and try again.","error"),event.target.innerHTML="Register",void event.target.removeAttribute("disabled");axios.post("/register",{name:e.name,username:e.username,password:e.password,email:e.email,password_confirmation:e.passwordConfirmation}).then(function(e){window.location.href="/"}).catch(function(e){event.target.innerHTML="Register",event.target.removeAttribute("disabled"),console.log(e)})}}},i=(n("6b5V"),n("KHd+")),c=Object(i.a)(o,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("section",{staticClass:"container"},[n("div",{staticClass:"row py-5 mb-5"},[n("div",{staticClass:"col-12 col-md-6 d-none d-md-block"},[n("div",{staticClass:"m-4 text-right",staticStyle:{position:"absolute"}},[e.loading?e._e():n("div",{staticClass:"marvel-device note8",staticStyle:{position:"absolute",zoom:"0.66","z-index":"10"}},[n("div",{staticClass:"inner"}),e._v(" "),e._m(0),e._v(" "),n("div",{staticClass:"speaker"}),e._v(" "),n("div",{staticClass:"sensors"}),e._v(" "),n("div",{staticClass:"more-sensors"}),e._v(" "),n("div",{staticClass:"sleep"}),e._v(" "),n("div",{staticClass:"volume"}),e._v(" "),n("div",{staticClass:"camera"}),e._v(" "),e._m(1)]),e._v(" "),n("div",{staticClass:"marvel-device iphone-x",staticStyle:{position:"absolute",zoom:"0.66","z-index":"20",margin:"99px 0 0 151px"}},[e._m(2),e._v(" "),n("div",{staticClass:"top-bar"}),e._v(" "),n("div",{staticClass:"sleep"}),e._v(" "),n("div",{staticClass:"bottom-bar"}),e._v(" "),n("div",{staticClass:"volume"}),e._v(" "),e._m(3),e._v(" "),n("div",{staticClass:"inner-shadow"}),e._v(" "),n("div",{staticClass:"screen"},[n("div",{attrs:{id:"iosDevice"}},[e.loading?e._e():n("img",{staticClass:"img-fluid",attrs:{src:"/img/landing/ios_4.jpg"}}),e._v(" "),e.loading?e._e():n("img",{staticClass:"img-fluid",attrs:{src:"/img/landing/ios_3.jpg"}}),e._v(" "),e.loading?e._e():n("img",{staticClass:"img-fluid",attrs:{src:"/img/landing/ios_2.jpg"}}),e._v(" "),n("img",{staticClass:"img-fluid",attrs:{src:"/img/landing/ios_1.jpg"}})])])])])]),e._v(" "),n("div",{staticClass:"col-12 col-md-5 offset-md-1"},[n("div",[n("div",{staticClass:"card my-4"},[n("div",{staticClass:"card-body px-lg-5"},[e._m(4),e._v(" "),e._m(5),e._v(" "),1==e.loading?n("div",{staticClass:"text-center",staticStyle:{"min-height":"350px"}},[e._m(6)]):e._e(),e._v(" "),0==e.loading?n("div",[1==e.nodeinfo.openRegistrations?n("form",{staticClass:"px-1"},[n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-md-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.form.name,expression:"form.name"}],staticClass:"form-control",attrs:{type:"text",placeholder:"Name",required:"",autofocus:""},domProps:{value:e.form.name},on:{input:function(t){t.target.composing||e.$set(e.form,"name",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-md-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.form.username,expression:"form.username"}],staticClass:"form-control",attrs:{type:"text",placeholder:"Username",required:"",autocomplete:"off"},domProps:{value:e.form.username},on:{input:function(t){t.target.composing||e.$set(e.form,"username",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-md-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.form.email,expression:"form.email"}],staticClass:"form-control",attrs:{type:"text",placeholder:"E-Mail Address",requiredautocomplete:"off"},domProps:{value:e.form.email},on:{input:function(t){t.target.composing||e.$set(e.form,"email",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-md-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.form.password,expression:"form.password"}],staticClass:"form-control",attrs:{type:"password",placeholder:"Password",required:"",autocomplete:"off"},domProps:{value:e.form.password},on:{input:function(t){t.target.composing||e.$set(e.form,"password",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-md-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.form.passwordConfirmation,expression:"form.passwordConfirmation"}],staticClass:"form-control",attrs:{type:"password",placeholder:"Confirm Password",required:"",autocomplete:"off"},domProps:{value:e.form.passwordConfirmation},on:{input:function(t){t.target.composing||e.$set(e.form,"passwordConfirmation",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-primary btn-block py-0 font-weight-bold",attrs:{type:"button"},on:{click:e.register}},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\tRegister\n\t\t\t\t\t\t\t\t\t\t\t")])])]),e._v(" "),e._m(7)]):n("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{"min-height":"350px"}},[e._m(8)])]):e._e()])]),e._v(" "),0==e.loading?n("div",{staticClass:"card card-body"},[e._m(9)]):e._e()])])])])])},[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"overflow"},[t("div",{staticClass:"shadow"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"screen"},[t("img",{staticClass:"img-fluid",attrs:{src:"/img/landing/android_1.jpg"}})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"notch"},[t("div",{staticClass:"camera"}),this._v(" "),t("div",{staticClass:"speaker"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"overflow"},[t("div",{staticClass:"shadow shadow--tr"}),this._v(" "),t("div",{staticClass:"shadow shadow--tl"}),this._v(" "),t("div",{staticClass:"shadow shadow--br"}),this._v(" "),t("div",{staticClass:"shadow shadow--bl"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"text-center pt-3"},[t("img",{attrs:{src:"/img/pixelfed-icon-color.svg"}})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"py-3 text-center"},[t("h3",{staticClass:"font-weight-bold"},[this._v("Pixelfed")]),this._v(" "),t("p",{staticClass:"mb-0 lead"},[this._v("Photo sharing for everyone")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("p",{staticClass:"mb-0 font-weight-bold text-lighter small"},[this._v("By signing up, you agree to our "),t("a",{staticClass:"text-muted",attrs:{href:"/site/terms"}},[this._v("Terms of Use")]),this._v(" and "),t("a",{staticClass:"text-muted",attrs:{href:"/site/privacy"}},[this._v("Privacy Policy")]),this._v(".")])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"text-center"},[t("p",{staticClass:"lead"},[this._v("Registrations are closed.")]),this._v(" "),t("p",{staticClass:"text-lighter small"},[this._v("You can find a list of other instances on "),t("a",{staticClass:"text-muted font-weight-bold",attrs:{href:"https://the-federation.info/pixelfed"}},[this._v("the-federation.info/pixelfed")]),this._v(" or "),t("a",{staticClass:"text-muted font-weight-bold",attrs:{href:"https://fediverse.network/pixelfed"}},[this._v("fediverse.network/pixelfed")])])])},function(){var e=this.$createElement,t=this._self._c||e;return t("p",{staticClass:"text-center mb-0 font-weight-bold"},[this._v("Have an account? "),t("a",{attrs:{href:"/login"}},[this._v("Log in")])])}],!1,null,"3bcbf3c4",null);t.default=c.exports},sOJF:function(e,t,n){window.Vue=n("XuX8"),Vue.component("landing-page",n("jXDq").default),new Vue({el:"#content"})},yLpj:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n}}); \ No newline at end of file diff --git a/public/js/status.js b/public/js/status.js index acebb75bb..a18c4283b 100644 --- a/public/js/status.js +++ b/public/js/status.js @@ -1 +1 @@ -!function(t){var e={};function s(a){if(e[a])return e[a].exports;var n=e[a]={i:a,l:!1,exports:{}};return t[a].call(n.exports,n,n.exports,s),n.l=!0,n.exports}s.m=t,s.c=e,s.d=function(t,e,a){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(s.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)s.d(a,n,function(e){return t[e]}.bind(null,n));return a},s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="/",s(s.s=5)}({"4dSQ":function(t,e,s){"use strict";var a=s("Q4g9");s.n(a).a},5:function(t,e,s){t.exports=s("CJs/")},"6ZA0":function(t,e,s){"use strict";s.r(e);function a(t){return function(t){if(Array.isArray(t)){for(var e=0,s=new Array(t.length);e0?((n=e.likes).push.apply(n,a(r.data)),e.likesPage++,t.loaded()):t.complete()})},infiniteSharesHandler:function(t){var e=this;axios.get("/api/v2/shares/profile/"+this.statusUsername+"/status/"+this.statusId,{params:{page:this.sharesPage}}).then(function(s){var n,r=s.data;r.data.length>0?((n=e.shares).push.apply(n,a(r.data)),e.sharesPage++,t.loaded()):t.complete()})},likeStatus:function(t){var e=this;0!=$("body").hasClass("loggedIn")&&axios.post("/i/like",{item:this.status.id}).then(function(t){if(e.status.favourites_count=t.data.count,1==e.reactions.liked){e.reactions.liked=!1;var s=e.user.id;e.likes=e.likes.filter(function(t){return t.id!==s})}else{e.reactions.liked=!0;var a=e.user;e.likes.push(a)}}).catch(function(t){console.error(t),swal("Error","Something went wrong, please try again later.","error")})},shareStatus:function(){var t=this;0!=$("body").hasClass("loggedIn")&&axios.post("/i/share",{item:this.status.id}).then(function(e){if(t.status.reblogs_count=e.data.count,1==t.reactions.shared){t.reactions.shared=!1;var s=t.user.id;t.shares=t.shares.filter(function(t){return t.id!==s})}else{t.reactions.shared=!0;var a=t.user;t.shares.push(a)}}).catch(function(t){console.error(t),swal("Error","Something went wrong, please try again later.","error")})},bookmarkStatus:function(){var t=this;0!=$("body").hasClass("loggedIn")&&axios.post("/i/bookmark",{item:this.status.id}).then(function(e){1==t.reactions.bookmarked?t.reactions.bookmarked=!1:t.reactions.bookmarked=!0}).catch(function(t){swal("Error","Something went wrong, please try again later.","error")})},muteProfile:function(){var t=this;0!=$("body").hasClass("loggedIn")&&axios.post("/i/mute",{type:"user",item:this.status.account.id}).then(function(e){swal("Success","You have successfully muted "+t.status.account.acct,"success")}).catch(function(t){swal("Error","Something went wrong. Please try again later.","error")})},blockProfile:function(){var t=this;0!=$("body").hasClass("loggedIn")&&axios.post("/i/block",{type:"user",item:this.status.account.id}).then(function(e){swal("Success","You have successfully blocked "+t.status.account.acct,"success")}).catch(function(t){swal("Error","Something went wrong. Please try again later.","error")})},deletePost:function(t){if(confirm("Are you sure you want to delete this post?")){if(0==$("body").hasClass("loggedIn"))return;axios.post("/i/delete",{type:"status",item:this.status.id}).then(function(t){swal("Success","You have successfully deleted this post","success"),window.location.href="/"}).catch(function(t){swal("Error","Something went wrong. Please try again later.","error")})}},owner:function(){return this.user.id===this.status.account.id},admin:function(){return 1==this.user.is_admin},ownerOrAdmin:function(){return this.owner()||this.admin()},lightbox:function(t){this.lightboxMedia=t,this.$refs.lightboxModal.show()}}},r=(s("z+DR"),s("KHd+")),o=Object(r.a)(n,function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"postComponent d-none"},[s("div",{staticClass:"container px-0"},[s("div",{staticClass:"card card-md-rounded-0 status-container orientation-unknown"},[s("div",{staticClass:"row px-0 mx-0"},[s("div",{staticClass:"d-flex d-md-none align-items-center justify-content-between card-header bg-white w-100"},[s("a",{staticClass:"d-flex align-items-center status-username text-truncate",attrs:{href:t.statusProfileUrl,"data-toggle":"tooltip","data-placement":"bottom",title:t.statusUsername}},[s("div",{staticClass:"status-avatar mr-2"},[s("img",{staticStyle:{"border-radius":"12px"},attrs:{src:t.statusAvatar,width:"24px",height:"24px"}})]),t._v(" "),s("div",{staticClass:"username"},[s("span",{staticClass:"username-link font-weight-bold text-dark"},[t._v(t._s(t.statusUsername))])])]),t._v(" "),0!=t.user?s("div",{staticClass:"float-right"},[s("div",{staticClass:"post-actions"},[s("div",{staticClass:"dropdown"},[t._m(0),t._v(" "),s("div",{staticClass:"dropdown-menu dropdown-menu-right",attrs:{"aria-labelledby":"dropdownMenuButton"}},[t.owner()?t._e():s("div",[s("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:t.reportUrl()}},[t._v("Report")]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold",on:{click:function(e){return t.muteProfile()}}},[t._v("Mute Profile")]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold",on:{click:function(e){return t.blockProfile()}}},[t._v("Block Profile")])]),t._v(" "),t.ownerOrAdmin()?s("div",[s("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:t.editUrl()}},[t._v("Edit")]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")])]):t._e()])])])]):t._e()]),t._v(" "),s("div",{staticClass:"col-12 col-md-8 px-0 mx-0"},[t._m(1),t._v(" "),s("div",{staticClass:"postPresenterContainer d-none d-flex justify-content-center align-items-center"},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox}})],1):s("div",{staticClass:"w-100"},[s("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])])]),t._v(" "),s("div",{staticClass:"col-12 col-md-4 px-0 d-flex flex-column border-left border-md-left-0"},[s("div",{staticClass:"d-md-flex d-none align-items-center justify-content-between card-header py-3 bg-white"},[s("a",{staticClass:"d-flex align-items-center status-username text-truncate",attrs:{href:t.statusProfileUrl,"data-toggle":"tooltip","data-placement":"bottom",title:t.statusUsername}},[s("div",{staticClass:"status-avatar mr-2"},[s("img",{staticStyle:{"border-radius":"12px"},attrs:{src:t.statusAvatar,width:"24px",height:"24px"}})]),t._v(" "),s("div",{staticClass:"username"},[s("span",{staticClass:"username-link font-weight-bold text-dark"},[t._v(t._s(t.statusUsername))])])]),t._v(" "),s("div",{staticClass:"float-right"},[s("div",{staticClass:"post-actions"},[s("div",{staticClass:"dropdown"},[t._m(2),t._v(" "),s("div",{staticClass:"dropdown-menu dropdown-menu-right",attrs:{"aria-labelledby":"dropdownMenuButton"}},[s("span",{staticClass:"menu-user d-none"},[s("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:t.reportUrl()}},[t._v("Report")]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold",on:{click:t.muteProfile}},[t._v("Mute Profile")]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold",on:{click:t.blockProfile}},[t._v("Block Profile")])]),t._v(" "),s("span",{staticClass:"menu-author d-none"},[s("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:t.editUrl()}},[t._v("Edit")]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-danger",on:{click:t.deletePost}},[t._v("Delete")])])])])])])]),t._v(" "),s("div",{staticClass:"d-flex flex-md-column flex-column-reverse h-100"},[s("div",{staticClass:"card-body status-comments"},[s("div",{staticClass:"status-comment"},[s("p",{staticClass:"mb-1 read-more",staticStyle:{overflow:"hidden"}},[s("span",{staticClass:"font-weight-bold pr-1"},[t._v(t._s(t.statusUsername))]),t._v(" "),s("span",{staticClass:"comment-text",attrs:{id:t.status.id+"-status-readmore"},domProps:{innerHTML:t._s(t.status.content)}})]),t._v(" "),s("post-comments",{attrs:{user:this.user,"post-id":t.statusId,"post-username":t.statusUsername}})],1)]),t._v(" "),s("div",{staticClass:"card-body flex-grow-0 py-1"},[s("div",{staticClass:"reactions my-1"},[s("h3",{class:[t.reactions.liked?"fas fa-heart text-danger pr-3 m-0":"far fa-heart pr-3 m-0 like-btn"],attrs:{title:"Like"},on:{click:t.likeStatus}}),t._v(" "),s("h3",{staticClass:"far fa-comment pr-3 m-0",attrs:{title:"Comment"},on:{click:t.commentFocus}}),t._v(" "),s("h3",{class:[t.reactions.shared?"far fa-share-square pr-3 m-0 text-primary":"far fa-share-square pr-3 m-0 share-btn"],attrs:{title:"Share"},on:{click:t.shareStatus}}),t._v(" "),s("h3",{class:[t.reactions.bookmarked?"fas fa-bookmark text-warning m-0 float-right":"far fa-bookmark m-0 float-right"],attrs:{title:"Bookmark"},on:{click:t.bookmarkStatus}})]),t._v(" "),s("div",{staticClass:"reaction-counts font-weight-bold mb-0"},[s("span",{staticStyle:{cursor:"pointer"},on:{click:t.likesModal}},[s("span",{staticClass:"like-count"},[t._v(t._s(t.status.favourites_count||0))]),t._v(" likes\n ")]),t._v(" "),s("span",{staticClass:"float-right",staticStyle:{cursor:"pointer"},on:{click:t.sharesModal}},[s("span",{staticClass:"share-count pl-4"},[t._v(t._s(t.status.reblogs_count||0))]),t._v(" shares\n ")])]),t._v(" "),s("div",{staticClass:"timestamp"},[s("a",{staticClass:"small text-muted",attrs:{href:t.statusUrl}},[t._v("\n "+t._s(t.timestampFormat())+"\n ")])])])]),t._v(" "),s("div",{staticClass:"card-footer bg-white sticky-md-bottom"},[t._m(3),t._v(" "),s("form",{staticClass:"comment-form d-none",attrs:{method:"post",action:"/i/comment","data-id":t.statusId,"data-truncate":"false"}},[s("input",{attrs:{type:"hidden",name:"_token",value:""}}),t._v(" "),s("input",{attrs:{type:"hidden",name:"item"},domProps:{value:t.statusId}}),t._v(" "),s("input",{staticClass:"form-control",attrs:{name:"comment",placeholder:"Add a comment…",autocomplete:"off"}}),t._v(" "),s("input",{staticClass:"btn btn-primary comment-submit",attrs:{type:"submit",value:"Send"}})])])])])])]),t._v(" "),s("b-modal",{ref:"likesModal",attrs:{id:"l-modal","hide-footer":"",centered:"",title:"Likes","body-class":"list-group-flush p-0"}},[s("div",{staticClass:"list-group"},[t._l(t.likes,function(e,a){return s("div",{key:"modal_likes_"+a,staticClass:"list-group-item border-0"},[s("div",{staticClass:"media"},[s("a",{attrs:{href:e.url}},[s("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:e.avatar,alt:e.username+"’s avatar",width:"30px"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:e.url}},[t._v("\n "+t._s(e.username)+"\n ")])]),t._v(" "),s("p",{staticClass:"text-muted mb-0",staticStyle:{"font-size":"14px"}},[t._v("\n "+t._s(e.display_name)+"\n ")])])])])}),t._v(" "),s("infinite-loading",{attrs:{spinner:"spiral"},on:{infinite:t.infiniteLikesHandler}},[s("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),s("div",{attrs:{slot:"no-results"},slot:"no-results"})])],2)]),t._v(" "),s("b-modal",{ref:"sharesModal",attrs:{id:"s-modal","hide-footer":"",centered:"",title:"Shares","body-class":"list-group-flush p-0"}},[s("div",{staticClass:"list-group"},[t._l(t.shares,function(e,a){return s("div",{key:"modal_shares_"+a,staticClass:"list-group-item border-0"},[s("div",{staticClass:"media"},[s("a",{attrs:{href:e.url}},[s("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:e.avatar,alt:e.username+"’s avatar",width:"30px"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"d-inline-block"},[s("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:e.url}},[t._v("\n "+t._s(e.username)+"\n ")])]),t._v(" "),s("p",{staticClass:"text-muted mb-0",staticStyle:{"font-size":"14px"}},[t._v("\n "+t._s(e.display_name)+"\n ")])]),t._v(" "),s("p",{staticClass:"float-right"})])])])}),t._v(" "),s("infinite-loading",{attrs:{spinner:"spiral"},on:{infinite:t.infiniteSharesHandler}},[s("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),s("div",{attrs:{slot:"no-results"},slot:"no-results"})])],2)]),t._v(" "),s("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0"}},[t.lightboxMedia?s("div",{class:t.lightboxMedia.filter_class},[s("img",{staticClass:"img-fluid",attrs:{src:t.lightboxMedia.url}})]):t._e()])],1)},[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn btn-link text-dark no-caret dropdown-toggle",attrs:{type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",title:"Post options"}},[e("span",{staticClass:"fas fa-ellipsis-v text-muted"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"postPresenterLoader text-center"},[e("div",{staticClass:"lds-ring"},[e("div"),e("div"),e("div"),e("div")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn btn-link text-dark no-caret dropdown-toggle",attrs:{type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",title:"Post options"}},[e("span",{staticClass:"fas fa-ellipsis-v text-muted"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"comment-form-guest"},[e("a",{attrs:{href:"/login"}},[this._v("Login")]),this._v(" to like or comment.\n ")])}],!1,null,"42f79fcc",null);e.default=o.exports},"9tPo":function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var s=e.protocol+"//"+e.host,a=s+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var n,r=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(r)?t:(n=0===r.indexOf("//")?r:0===r.indexOf("/")?s+r:a+r.replace(/^\.\//,""),"url("+JSON.stringify(n)+")")})}},"CJs/":function(t,e,s){Vue.component("post-component",s("6ZA0").default),Vue.component("post-comments",s("oeKV").default)},DN9L:function(t,e,s){(t.exports=s("I1BE")(!1)).push([t.i,"\n.text-lighter[data-v-76646e13] {\n color:#B8C2CC !important;\n}\n.text-break[data-v-76646e13] {\n word-break: break-all !important;\n}\n",""])},I1BE:function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var s=function(t,e){var s=t[1]||"",a=t[3];if(!a)return s;if(e&&"function"==typeof btoa){var n=(o=a,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),r=a.sources.map(function(t){return"/*# sourceURL="+a.sourceRoot+t+" */"});return[s].concat(r).concat([n]).join("\n")}var o;return[s].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+s+"}":s}).join("")},e.i=function(t,s){"string"==typeof t&&(t=[[null,t,""]]);for(var a={},n=0;n=0&&d.splice(e,1)}function v(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var a=function(){0;return s.nc}();a&&(t.attrs.nonce=a)}return g(e,t.attrs),m(t,e),e}function g(t,e){Object.keys(e).forEach(function(s){t.setAttribute(s,e[s])})}function b(t,e){var s,a,n,r;if(e.transform&&t.css){if(!(r="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=r}if(e.singleton){var o=c++;s=l||(l=v(e)),a=w.bind(null,s,o,!1),n=w.bind(null,s,o,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(s=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",g(e,t.attrs),m(t,e),e}(e),a=function(t,e,s){var a=s.css,n=s.sourceMap,r=void 0===e.convertToAbsoluteUrls&&n;(e.convertToAbsoluteUrls||r)&&(a=u(a));n&&(a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var o=new Blob([a],{type:"text/css"}),i=t.href;t.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}.bind(null,s,e),n=function(){h(s),s.href&&URL.revokeObjectURL(s.href)}):(s=v(e),a=function(t,e){var s=e.css,a=e.media;a&&t.setAttribute("media",a);if(t.styleSheet)t.styleSheet.cssText=s;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(s))}}.bind(null,s),n=function(){h(s)});return a(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;a(t=e)}else n()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=o()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var s=p(t,e);return f(s,e),function(t){for(var a=[],n=0;n0&&$(".load-more-link").removeClass("d-none"),$(".postCommentsLoader").addClass("d-none"),$(".postCommentsContainer").removeClass("d-none")}).catch(function(t){if(t.response)switch(t.response.status){case 401:$(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("Please login to view.");break;default:$(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.")}else $(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.")})},loadMore:function(t){var e=this;if(t.preventDefault(),1!=this.pagination.total_pages&&this.pagination.current_page!=this.pagination.total_pages){$(".postCommentsLoader").removeClass("d-none");var s=this.pagination.links.next;axios.get(s).then(function(t){var s=t.data.data;$(".postCommentsLoader").addClass("d-none");for(var a=0;a0?((n=e.likes).push.apply(n,a(o.data)),e.likesPage++,t.loaded()):t.complete()})},infiniteSharesHandler:function(t){var e=this;axios.get("/api/v2/shares/profile/"+this.statusUsername+"/status/"+this.statusId,{params:{page:this.sharesPage}}).then(function(s){var n,o=s.data;o.data.length>0?((n=e.shares).push.apply(n,a(o.data)),e.sharesPage++,t.loaded()):t.complete()})},likeStatus:function(t){var e=this;0!=$("body").hasClass("loggedIn")&&axios.post("/i/like",{item:this.status.id}).then(function(t){if(e.status.favourites_count=t.data.count,1==e.reactions.liked){e.reactions.liked=!1;var s=e.user.id;e.likes=e.likes.filter(function(t){return t.id!==s})}else{e.reactions.liked=!0;var a=e.user;e.likes.push(a)}}).catch(function(t){console.error(t),swal("Error","Something went wrong, please try again later.","error")})},shareStatus:function(){var t=this;0!=$("body").hasClass("loggedIn")&&axios.post("/i/share",{item:this.status.id}).then(function(e){if(t.status.reblogs_count=e.data.count,1==t.reactions.shared){t.reactions.shared=!1;var s=t.user.id;t.shares=t.shares.filter(function(t){return t.id!==s})}else{t.reactions.shared=!0;var a=t.user;t.shares.push(a)}}).catch(function(t){console.error(t),swal("Error","Something went wrong, please try again later.","error")})},bookmarkStatus:function(){var t=this;0!=$("body").hasClass("loggedIn")&&axios.post("/i/bookmark",{item:this.status.id}).then(function(e){1==t.reactions.bookmarked?t.reactions.bookmarked=!1:t.reactions.bookmarked=!0}).catch(function(t){swal("Error","Something went wrong, please try again later.","error")})},muteProfile:function(){var t=this;0!=$("body").hasClass("loggedIn")&&axios.post("/i/mute",{type:"user",item:this.status.account.id}).then(function(e){swal("Success","You have successfully muted "+t.status.account.acct,"success")}).catch(function(t){swal("Error","Something went wrong. Please try again later.","error")})},blockProfile:function(){var t=this;0!=$("body").hasClass("loggedIn")&&axios.post("/i/block",{type:"user",item:this.status.account.id}).then(function(e){swal("Success","You have successfully blocked "+t.status.account.acct,"success")}).catch(function(t){swal("Error","Something went wrong. Please try again later.","error")})},deletePost:function(t){if(confirm("Are you sure you want to delete this post?")){if(0==$("body").hasClass("loggedIn"))return;axios.post("/i/delete",{type:"status",item:this.status.id}).then(function(t){swal("Success","You have successfully deleted this post","success"),window.location.href="/"}).catch(function(t){swal("Error","Something went wrong. Please try again later.","error")})}},owner:function(){return this.user.id===this.status.account.id},admin:function(){return 1==this.user.is_admin},ownerOrAdmin:function(){return this.owner()||this.admin()},lightbox:function(t){this.lightboxMedia=t,this.$refs.lightboxModal.show()}}},o=(s("z+DR"),s("KHd+")),r=Object(o.a)(n,function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"postComponent d-none"},[s("div",{staticClass:"container px-0"},[s("div",{staticClass:"card card-md-rounded-0 status-container orientation-unknown"},[s("div",{staticClass:"row px-0 mx-0"},[s("div",{staticClass:"d-flex d-md-none align-items-center justify-content-between card-header bg-white w-100"},[s("a",{staticClass:"d-flex align-items-center status-username text-truncate",attrs:{href:t.statusProfileUrl,"data-toggle":"tooltip","data-placement":"bottom",title:t.statusUsername}},[s("div",{staticClass:"status-avatar mr-2"},[s("img",{staticStyle:{"border-radius":"12px"},attrs:{src:t.statusAvatar,width:"24px",height:"24px"}})]),t._v(" "),s("div",{staticClass:"username"},[s("span",{staticClass:"username-link font-weight-bold text-dark"},[t._v(t._s(t.statusUsername))])])]),t._v(" "),0!=t.user?s("div",{staticClass:"float-right"},[s("div",{staticClass:"post-actions"},[s("div",{staticClass:"dropdown"},[t._m(0),t._v(" "),s("div",{staticClass:"dropdown-menu dropdown-menu-right",attrs:{"aria-labelledby":"dropdownMenuButton"}},[t.owner()?t._e():s("div",[s("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:t.reportUrl()}},[t._v("Report")]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold",on:{click:function(e){return t.muteProfile()}}},[t._v("Mute Profile")]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold",on:{click:function(e){return t.blockProfile()}}},[t._v("Block Profile")])]),t._v(" "),t.ownerOrAdmin()?s("div",[s("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:t.editUrl()}},[t._v("Edit")]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")])]):t._e()])])])]):t._e()]),t._v(" "),s("div",{staticClass:"col-12 col-md-8 px-0 mx-0"},[t._m(1),t._v(" "),s("div",{staticClass:"postPresenterContainer d-none d-flex justify-content-center align-items-center"},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox}})],1):s("div",{staticClass:"w-100"},[s("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])])]),t._v(" "),s("div",{staticClass:"col-12 col-md-4 px-0 d-flex flex-column border-left border-md-left-0"},[s("div",{staticClass:"d-md-flex d-none align-items-center justify-content-between card-header py-3 bg-white"},[s("a",{staticClass:"d-flex align-items-center status-username text-truncate",attrs:{href:t.statusProfileUrl,"data-toggle":"tooltip","data-placement":"bottom",title:t.statusUsername}},[s("div",{staticClass:"status-avatar mr-2"},[s("img",{staticStyle:{"border-radius":"12px"},attrs:{src:t.statusAvatar,width:"24px",height:"24px"}})]),t._v(" "),s("div",{staticClass:"username"},[s("span",{staticClass:"username-link font-weight-bold text-dark"},[t._v(t._s(t.statusUsername))])])]),t._v(" "),s("div",{staticClass:"float-right"},[s("div",{staticClass:"post-actions"},[s("div",{staticClass:"dropdown"},[t._m(2),t._v(" "),s("div",{staticClass:"dropdown-menu dropdown-menu-right",attrs:{"aria-labelledby":"dropdownMenuButton"}},[s("span",{staticClass:"menu-user d-none"},[s("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:t.reportUrl()}},[t._v("Report")]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold",on:{click:t.muteProfile}},[t._v("Mute Profile")]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold",on:{click:t.blockProfile}},[t._v("Block Profile")])]),t._v(" "),s("span",{staticClass:"menu-author d-none"},[s("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:t.editUrl()}},[t._v("Edit")]),t._v(" "),s("a",{staticClass:"dropdown-item font-weight-bold text-danger",on:{click:t.deletePost}},[t._v("Delete")])])])])])])]),t._v(" "),s("div",{staticClass:"d-flex flex-md-column flex-column-reverse h-100"},[s("div",{staticClass:"card-body status-comments"},[s("div",{staticClass:"status-comment"},[s("p",{staticClass:"mb-1 read-more",staticStyle:{overflow:"hidden"}},[s("span",{staticClass:"font-weight-bold pr-1"},[t._v(t._s(t.statusUsername))]),t._v(" "),s("span",{staticClass:"comment-text",attrs:{id:t.status.id+"-status-readmore"},domProps:{innerHTML:t._s(t.status.content)}})]),t._v(" "),s("post-comments",{attrs:{user:this.user,"post-id":t.statusId,"post-username":t.statusUsername}})],1)]),t._v(" "),s("div",{staticClass:"card-body flex-grow-0 py-1"},[s("div",{staticClass:"reactions my-1"},[s("h3",{class:[t.reactions.liked?"fas fa-heart text-danger pr-3 m-0":"far fa-heart pr-3 m-0 like-btn"],attrs:{title:"Like"},on:{click:t.likeStatus}}),t._v(" "),s("h3",{staticClass:"far fa-comment pr-3 m-0",attrs:{title:"Comment"},on:{click:t.commentFocus}}),t._v(" "),s("h3",{class:[t.reactions.shared?"far fa-share-square pr-3 m-0 text-primary":"far fa-share-square pr-3 m-0 share-btn"],attrs:{title:"Share"},on:{click:t.shareStatus}}),t._v(" "),s("h3",{class:[t.reactions.bookmarked?"fas fa-bookmark text-warning m-0 float-right":"far fa-bookmark m-0 float-right"],attrs:{title:"Bookmark"},on:{click:t.bookmarkStatus}})]),t._v(" "),s("div",{staticClass:"reaction-counts font-weight-bold mb-0"},[s("span",{staticStyle:{cursor:"pointer"},on:{click:t.likesModal}},[s("span",{staticClass:"like-count"},[t._v(t._s(t.status.favourites_count||0))]),t._v(" likes\n ")]),t._v(" "),s("span",{staticClass:"float-right",staticStyle:{cursor:"pointer"},on:{click:t.sharesModal}},[s("span",{staticClass:"share-count pl-4"},[t._v(t._s(t.status.reblogs_count||0))]),t._v(" shares\n ")])]),t._v(" "),s("div",{staticClass:"timestamp"},[s("a",{staticClass:"small text-muted",attrs:{href:t.statusUrl}},[t._v("\n "+t._s(t.timestampFormat())+"\n ")])])])]),t._v(" "),s("div",{staticClass:"card-footer bg-white sticky-md-bottom"},[t._m(3),t._v(" "),s("form",{staticClass:"comment-form d-none",attrs:{method:"post",action:"/i/comment","data-id":t.statusId,"data-truncate":"false"}},[s("input",{attrs:{type:"hidden",name:"_token",value:""}}),t._v(" "),s("input",{attrs:{type:"hidden",name:"item"},domProps:{value:t.statusId}}),t._v(" "),s("input",{staticClass:"form-control",attrs:{name:"comment",placeholder:"Add a comment…",autocomplete:"off"}}),t._v(" "),s("input",{staticClass:"btn btn-primary comment-submit",attrs:{type:"submit",value:"Send"}})])])])])])]),t._v(" "),s("b-modal",{ref:"likesModal",attrs:{id:"l-modal","hide-footer":"",centered:"",title:"Likes","body-class":"list-group-flush p-0"}},[s("div",{staticClass:"list-group"},[t._l(t.likes,function(e,a){return s("div",{key:"modal_likes_"+a,staticClass:"list-group-item border-0"},[s("div",{staticClass:"media"},[s("a",{attrs:{href:e.url}},[s("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:e.avatar,alt:e.username+"’s avatar",width:"30px"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:e.url}},[t._v("\n "+t._s(e.username)+"\n ")])]),t._v(" "),s("p",{staticClass:"text-muted mb-0",staticStyle:{"font-size":"14px"}},[t._v("\n "+t._s(e.display_name)+"\n ")])])])])}),t._v(" "),s("infinite-loading",{attrs:{spinner:"spiral"},on:{infinite:t.infiniteLikesHandler}},[s("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),s("div",{attrs:{slot:"no-results"},slot:"no-results"})])],2)]),t._v(" "),s("b-modal",{ref:"sharesModal",attrs:{id:"s-modal","hide-footer":"",centered:"",title:"Shares","body-class":"list-group-flush p-0"}},[s("div",{staticClass:"list-group"},[t._l(t.shares,function(e,a){return s("div",{key:"modal_shares_"+a,staticClass:"list-group-item border-0"},[s("div",{staticClass:"media"},[s("a",{attrs:{href:e.url}},[s("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:e.avatar,alt:e.username+"’s avatar",width:"30px"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"d-inline-block"},[s("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:e.url}},[t._v("\n "+t._s(e.username)+"\n ")])]),t._v(" "),s("p",{staticClass:"text-muted mb-0",staticStyle:{"font-size":"14px"}},[t._v("\n "+t._s(e.display_name)+"\n ")])]),t._v(" "),s("p",{staticClass:"float-right"})])])])}),t._v(" "),s("infinite-loading",{attrs:{spinner:"spiral"},on:{infinite:t.infiniteSharesHandler}},[s("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),s("div",{attrs:{slot:"no-results"},slot:"no-results"})])],2)]),t._v(" "),s("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0"}},[t.lightboxMedia?s("div",{class:t.lightboxMedia.filter_class},[s("img",{staticClass:"img-fluid",attrs:{src:t.lightboxMedia.url}})]):t._e()])],1)},[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn btn-link text-dark no-caret dropdown-toggle",attrs:{type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",title:"Post options"}},[e("span",{staticClass:"fas fa-ellipsis-v text-muted"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"postPresenterLoader text-center"},[e("div",{staticClass:"lds-ring"},[e("div"),e("div"),e("div"),e("div")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn btn-link text-dark no-caret dropdown-toggle",attrs:{type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",title:"Post options"}},[e("span",{staticClass:"fas fa-ellipsis-v text-muted"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"comment-form-guest"},[e("a",{attrs:{href:"/login"}},[this._v("Login")]),this._v(" to like or comment.\n ")])}],!1,null,"42f79fcc",null);e.default=r.exports},"8lQw":function(t,e,s){(t.exports=s("I1BE")(!1)).push([t.i,"\n.text-lighter[data-v-61f5338e] {\n color:#B8C2CC !important;\n}\n.text-break[data-v-61f5338e] {\n word-break: break-all !important;\n}\n.comments p[data-v-61f5338e] {\n margin-bottom: 0;\n}\n",""])},"9tPo":function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var s=e.protocol+"//"+e.host,a=s+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var n,o=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?t:(n=0===o.indexOf("//")?o:0===o.indexOf("/")?s+o:a+o.replace(/^\.\//,""),"url("+JSON.stringify(n)+")")})}},"CJs/":function(t,e,s){Vue.component("post-component",s("6ZA0").default),Vue.component("post-comments",s("oeKV").default)},D2Wo:function(t,e,s){var a=s("vSZR");"string"==typeof a&&(a=[[t.i,a,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};s("aET+")(a,n);a.locals&&(t.exports=a.locals)},E1D4:function(t,e,s){"use strict";var a=s("D2Wo");s.n(a).a},I1BE:function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var s=function(t,e){var s=t[1]||"",a=t[3];if(!a)return s;if(e&&"function"==typeof btoa){var n=(r=a,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),o=a.sources.map(function(t){return"/*# sourceURL="+a.sourceRoot+t+" */"});return[s].concat(o).concat([n]).join("\n")}var r;return[s].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+s+"}":s}).join("")},e.i=function(t,s){"string"==typeof t&&(t=[[null,t,""]]);for(var a={},n=0;n=0&&d.splice(e,1)}function v(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var a=function(){0;return s.nc}();a&&(t.attrs.nonce=a)}return g(e,t.attrs),m(t,e),e}function g(t,e){Object.keys(e).forEach(function(s){t.setAttribute(s,e[s])})}function b(t,e){var s,a,n,o;if(e.transform&&t.css){if(!(o="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=o}if(e.singleton){var r=c++;s=l||(l=v(e)),a=w.bind(null,s,r,!1),n=w.bind(null,s,r,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(s=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",g(e,t.attrs),m(t,e),e}(e),a=function(t,e,s){var a=s.css,n=s.sourceMap,o=void 0===e.convertToAbsoluteUrls&&n;(e.convertToAbsoluteUrls||o)&&(a=u(a));n&&(a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var r=new Blob([a],{type:"text/css"}),i=t.href;t.href=URL.createObjectURL(r),i&&URL.revokeObjectURL(i)}.bind(null,s,e),n=function(){h(s),s.href&&URL.revokeObjectURL(s.href)}):(s=v(e),a=function(t,e){var s=e.css,a=e.media;a&&t.setAttribute("media",a);if(t.styleSheet)t.styleSheet.cssText=s;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(s))}}.bind(null,s),n=function(){h(s)});return a(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;a(t=e)}else n()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=r()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var s=p(t,e);return f(s,e),function(t){for(var a=[],n=0;n0&&$(".load-more-link").removeClass("d-none"),$(".postCommentsLoader").addClass("d-none"),$(".postCommentsContainer").removeClass("d-none")}).catch(function(t){if(t.response)switch(t.response.status){case 401:$(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("Please login to view.");break;default:$(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.")}else $(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.")})},loadMore:function(t){var e=this;if(t.preventDefault(),1!=this.pagination.total_pages&&this.pagination.current_page!=this.pagination.total_pages){$(".postCommentsLoader").removeClass("d-none");var s=this.pagination.links.next;axios.get(s).then(function(t){var s=t.data.data;$(".postCommentsLoader").addClass("d-none");for(var a=0;a +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + +
+
+
+
+
+
+
+
+
+
+ +
+
+

Pixelfed

+

Photo sharing for everyone

+
+
+
+ Loading... +
+
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + +
+
+ +
+
+ +
+
+ +
+
+ +
+
+

By signing up, you agree to our Terms of Use and Privacy Policy.

+
+
+
+

Registrations are closed.

+

You can find a list of other instances on the-federation.info/pixelfed or fediverse.network/pixelfed

+
+
+
+
+
+
+

Have an account? Log in

+
+
+
+
+ +
+
+ + + + + diff --git a/resources/assets/js/landing.js b/resources/assets/js/landing.js new file mode 100644 index 000000000..8c8772a41 --- /dev/null +++ b/resources/assets/js/landing.js @@ -0,0 +1,10 @@ +window.Vue = require('vue'); + +Vue.component( + 'landing-page', + require('./components/LandingPage.vue').default +); + +new Vue({ + el: '#content' +}); \ No newline at end of file diff --git a/resources/views/site/index.blade.php b/resources/views/site/index.blade.php index 50ce20627..a6e085ad3 100644 --- a/resources/views/site/index.blade.php +++ b/resources/views/site/index.blade.php @@ -1,172 +1,49 @@ -@extends('layouts.app') + + + + + + + + -@section('content') + + {{ config('app.name', 'Laravel') }} -
-
-

Image Sharing for Everyone

-

A free and ethical photo sharing platform.

-
-
-
-
-
-
-
-
-

- Ad Free -

-

No Ads or Trackers

-
-
-
-
-
-
-

- Chronological -

-

Timelines in order

-
-
-
-
-
-
-

- Federated -

-

A network of millions

-
-
-
-
-
-
-

- Discover -

-

Discover popular posts

-
-
-
-
-
-
-

- Photo Filters -

-

Add an optional filter

-
-
-
-
-
-
-

- Stories -

-

Coming Soon!

-
-
-
-
-
-
-
-
-
- - - username - -
-
- -
- -
-
-
-
-
-
- -
-
-

Create. Discover. Share.

-

- A feature rich photo sharing experience
-

-
-
-
-
-
- -
-
-
- -
-

Powered by People

-

- Pixelfed is an open-source, federated platform.
- You can run your own instance or join one.
-

-{{--

- About this Instance - Login -

--}} -
+ + + + + + + + + + + + +
+ +
+ + -
-
-
-
-@endsection + + + -@push('meta') - - -@endpush diff --git a/webpack.mix.js b/webpack.mix.js index cb80543cc..68a31ea77 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -14,6 +14,7 @@ let mix = require('laravel-mix'); mix.js('resources/assets/js/app.js', 'public/js') .js('resources/assets/js/activity.js', 'public/js') .js('resources/assets/js/components.js', 'public/js') +//.js('resources/assets/js/embed.js', 'public') // Discover component .js('resources/assets/js/discover.js', 'public/js') @@ -30,6 +31,9 @@ mix.js('resources/assets/js/app.js', 'public/js') // MicroUI component .js('resources/assets/js/micro.js', 'public/js') +// LandingPage component +.js('resources/assets/js/landing.js', 'public/js') + .sass('resources/assets/sass/app.scss', 'public/css', { implementation: require('node-sass') })