diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..ed94f44 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "git.ignoreLimitWarning": true +} \ No newline at end of file diff --git a/dist/index.html b/dist/index.html deleted file mode 100644 index b9810bd..0000000 --- a/dist/index.html +++ /dev/null @@ -1,33 +0,0 @@ -Reddit-Art-Inspiration
\ No newline at end of file diff --git a/dist/static/css/app.3176173860c9a73f4eeccaddf96affd9.css b/dist/static/css/app.3176173860c9a73f4eeccaddf96affd9.css deleted file mode 100644 index bb129d7..0000000 --- a/dist/static/css/app.3176173860c9a73f4eeccaddf96affd9.css +++ /dev/null @@ -1 +0,0 @@ -#app,#arts-wrapper,body,html{height:100%}body{margin:0;overflow:hidden;background:#e0eafc;background:linear-gradient(90deg,#cfdef3,#e0eafc)}#app{font-family:Work Sans,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2c3e50}#app,#toastc{text-align:center}#toastc{right:5%;top:100px;position:fixed;min-width:20%;max-width:40%;background-color:#333;border-radius:2px;padding:20px;z-index:9999;font-size:24px;color:#fff;direction:ltr;opacity:0;visibility:hidden;transition:opacity .3s,top .3s ease-out}.spinner{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.spinner>div{width:18px;height:18px;background-color:#333;border-radius:100%;display:inline-block;-webkit-animation:sk-bouncedelay 1.4s infinite ease-in-out both;animation:sk-bouncedelay 1.4s infinite ease-in-out both}.spinner .bounce1{-webkit-animation-delay:-.32s;animation-delay:-.32s}.spinner .bounce2{-webkit-animation-delay:-.16s;animation-delay:-.16s}@-webkit-keyframes sk-bouncedelay{0%,80%,to{-webkit-transform:scale(0)}40%{-webkit-transform:scale(1)}}@keyframes sk-bouncedelay{0%,80%,to{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}.about-br{line-height:30px}#arts-list[data-v-124a4f66]{position:relative;width:50%;max-height:100vh;height:100%;float:left;overflow-y:scroll;overflow-x:hidden;direction:ltr}.al-container[data-v-124a4f66]{padding:0 30px;position:relative;bottom:10px;top:80px}.colA[data-v-124a4f66],.colB[data-v-124a4f66]{width:50%;float:left}.img-res[data-v-124a4f66]{width:100%;height:100%}.al-item[data-v-124a4f66]{width:calc(100% - 15px);float:right;margin:5px;cursor:pointer;transition:all .3s}.al-item[data-v-124a4f66]:hover{-webkit-transform:scale(1.02);transform:scale(1.02);opacity:.7}#art-on[data-v-124a4f66]{width:50%;float:left;position:relative;z-index:9997;background-color:#000}.ao-img[data-v-124a4f66]{max-height:100%;max-width:100%;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;z-index:-11;opacity:1;cursor:pointer}.ao-img-fs[data-v-124a4f66]{cursor:default}.imgActive[data-v-124a4f66]{cursor:default!important}.img-opacity[data-v-124a4f66]{background-color:#000;display:inline-block;transition:opacity .3s}.img-opacity-fs[data-v-124a4f66]{opacity:1!important}#imgAuthor[data-v-124a4f66],#imgTitle[data-v-124a4f66]{position:absolute;left:0;color:#fff;width:100%;text-align:center;z-index:9998}#imgAuthor[data-v-124a4f66]{bottom:10%}#imgTitle[data-v-124a4f66]{bottom:20%}.ftimes[data-v-124a4f66]{position:absolute;top:8px;right:8px;font-size:28px;cursor:pointer;z-index:9999}.ftimes[data-v-124a4f66]:before{color:#7accc8}#explore-content[data-v-124a4f66]{position:absolute;top:0;width:100%;height:0%;overflow-y:hidden;direction:ltr;background-color:#fff;z-index:9999;transition:height .5s;text-align:left;box-shadow:0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12),0 5px 5px -3px rgba(0,0,0,.3)}.explore-tab[data-v-124a4f66]{padding:0 15px}.site-thumb[data-v-124a4f66]{display:inline-block;width:200px;height:256px;transition:all .3s;cursor:pointer;margin-left:30px}.site-thumb[data-v-124a4f66]:hover{width:190px;height:246px;color:#fa6900}.site-thumb.first[data-v-124a4f66]{margin-left:5px}.ex-sites-img[data-v-124a4f66]{width:100%;height:80%}.about-p[data-v-124a4f66]{font-size:1.2rem}.more_btn[data-v-124a4f66]{border-radius:4px;background-color:#2c3e50;color:#fff;border:none;padding:20px;margin:5px;width:calc(100% - 15px);transition:all .5s;font-family:Work Sans,sans-serif;font-size:24px;margin-bottom:15px;cursor:pointer}.aoDisplayFix[data-v-124a4f66]{display:block!important}.clearboth[data-v-124a4f66]{clear:both}@media screen and (max-width:754px){#arts-list[data-v-124a4f66]{width:100%}#art-on[data-v-124a4f66]{display:none}}@media screen and (max-width:696px){.site-thumb[data-v-124a4f66]{margin-left:10px}}@media screen and (max-width:510px){#explore-content[data-v-124a4f66]{overflow-y:auto}#explore-w[data-v-124a4f66],#explore-wrapper[data-v-124a4f66],.al-container[data-v-124a4f66]{padding:0 25px}.colA[data-v-124a4f66],.colB[data-v-124a4f66]{width:100%}.al-item[data-v-124a4f66]{width:100%;margin:0}}@media screen and (max-height:480px){.site-thumb[data-v-124a4f66]{width:140px!important;height:176px!important}}#toolbar{position:absolute;top:5px;left:5px;height:40px;width:80%;text-align:left;z-index:99999;cursor:pointer}#tools{display:inline-block;position:relative;opacity:0;transition:opacity .3s;z-index:-10}.custom-fa{font-size:20px;color:#fff;margin-top:8px;margin-left:10px;cursor:pointer;z-index:10}.toolsO:hover{color:#e0eafc}.fa-open-close{font-size:24px;float:right;margin-right:8px;margin-left:6px;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;opacity:0;visibility:hidden}.faOpacity{opacity:1;float:left;visibility:visible}.fa-times{position:relative;font-size:28px;bottom:5px}.fa-times:before{color:#e94c6f}#explore-wrapper{width:100%;position:absolute;padding:0 41px;top:15px}.explore-btn{display:inline-block;height:48px;width:48px;background:#2c3e50;border-radius:50%;cursor:pointer;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 3px 1px -2px rgba(0,0,0,.2);transition:.2s ease-out;margin-right:10px;float:left}.explore-btn:hover{opacity:.9;box-shadow:0 3px 3px 0 rgba(0,0,0,.14),0 2px 6px 0 rgba(0,0,0,.12),0 4px 2px -3px rgba(0,0,0,.2)}.fcustom{line-height:48px;color:#fff;font-size:1.6rem;cursor:pointer} \ No newline at end of file diff --git a/dist/static/css/app.3176173860c9a73f4eeccaddf96affd9.css.map b/dist/static/css/app.3176173860c9a73f4eeccaddf96affd9.css.map deleted file mode 100644 index 5a854ac..0000000 --- a/dist/static/css/app.3176173860c9a73f4eeccaddf96affd9.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///./src/App.vue","webpack:///./src/components/Arts.vue","webpack:///./src/components/Toolbar.vue","webpack:///./src/components/Explore.vue"],"names":[],"mappings":"AACA,6BACE,WAAa,CAEf,KACE,SACA,gBACA,mBACA,iDAAwD,CAE1D,KACE,iCACA,mCACA,kCAEA,aAAe,CAEjB,aAHE,iBAAmB,CAoBpB,QAhBC,SACA,UACA,eACA,cACA,cACA,sBACA,kBACA,aACA,aACA,eACA,WAEA,cACA,UACA,kBACA,uCAA4C,CAE9C,SACE,YACA,oBACA,oBACA,aACA,wBACI,qBACI,uBACR,yBACI,sBACI,kBAAoB,CAE9B,aACE,WACA,YACA,sBAEA,mBACA,qBACA,gEACA,uDAAyD,CAE3D,kBACE,8BACA,qBAAwB,CAE1B,kBACE,8BACA,qBAAwB,CAE1B,kCACA,UAAgB,0BAA2B,CAE3C,IAAM,0BAA6B,CAClC,CAED,0BACA,UACI,2BACA,kBAAoB,CAExB,IACI,2BACA,kBAAsB,CACzB,CAED,UACE,gBAAkB,CCjFpB,4BACE,kBACA,UACA,iBACA,YACA,WACA,kBACA,kBACA,aAAe,CAEjB,+BACE,eACA,kBACA,YACA,QAAU,CAEZ,8CACE,UACA,UAAY,CAEd,0BACE,WACA,WAAa,CAEf,0BACE,wBACA,YACA,WACA,eACA,kBAAqB,CAEvB,gCACE,8BACQ,sBACR,UAAa,CAEf,yBACE,UACA,WACA,kBACA,aACA,qBAAuB,CAEzB,yBACE,gBAEA,eACA,kBACA,MACA,SACA,OACA,QACA,YACA,YACA,UACA,cAAgB,CAElB,4BACE,cAAgB,CAElB,4BACE,wBAA2B,CAE7B,8BACE,sBACA,qBACA,sBAAyB,CAE3B,iCACE,mBAAsB,CAExB,uDACE,kBACA,OACA,WACA,WACA,kBACA,YAAc,CAEhB,4BACE,UAAY,CAEd,2BACE,UAAY,CAEd,yBACE,kBACA,QACA,UACA,eACA,eACA,YAAc,CAEhB,gCACE,aAAe,CAIjB,kCACE,kBACA,MACA,WACA,UACA,kBACA,cACA,sBACA,aACA,sBACA,gBACA,sGAA6G,CAE/G,8BACE,cAAgB,CAElB,6BACE,qBACA,YACA,aACA,mBACA,eACA,gBAAkB,CAEpB,mCACE,YACA,aACA,aAAe,CAEjB,mCACE,eAAiB,CAEnB,+BACE,WACA,UAAY,CAEd,0BACE,gBAAkB,CAIpB,2BACE,kBACA,yBACA,WACA,YACA,aACA,WACA,wBACA,mBACA,iCACA,eACA,mBACA,cAAgB,CAIlB,+BACE,uBAA0B,CAE5B,4BACE,UAAY,CAId,oCACA,4BACI,UAAY,CAEhB,yBACI,YAAc,CACjB,CAED,oCACA,6BACI,gBAAkB,CACrB,CAED,oCACA,kCACI,eAAiB,CAQrB,6FACI,cAAgB,CAEpB,8CACI,UAAY,CAEhB,0BACI,WACA,QAAU,CACb,CAED,qCACA,6BACI,sBACA,sBAAyB,CAC5B,CCzMD,SACE,kBACA,QACA,SACA,YACA,UACA,gBACA,cACA,cAAgB,CAElB,OACE,qBACA,kBACA,UACA,uBACA,WAAa,CAEf,WACE,eACA,WACA,eACA,iBACA,eACA,UAAY,CAEd,cACE,aAAe,CAEjB,eACE,eACA,YACA,iBACA,gBACA,iCACA,yBACA,+CACA,UACA,iBAAmB,CAErB,WACE,UACA,WACA,kBAAoB,CAEtB,UACE,kBACA,eACA,UAAY,CAEd,iBACE,aAAe,CClDjB,iBACE,WACA,kBACA,eACA,QAAU,CAEZ,aACE,qBACA,YACA,WACA,mBACA,kBACA,eACA,iGACA,wBACA,kBACA,UAAY,CAEd,mBACE,WACA,gGAAuG,CAEzG,SACE,iBACA,WACA,iBACA,cAAgB","file":"static/css/app.3176173860c9a73f4eeccaddf96affd9.css","sourcesContent":["\nhtml, body, #app, #arts-wrapper {\n height: 100%;\n}\nbody {\n margin: 0;\n overflow: hidden;\n background: #E0EAFC; /* fallback for old browsers */ /* Chrome 10-25, Safari 5.1-6 */\n background: linear-gradient(to right, #CFDEF3, #E0EAFC); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */\n}\n#app {\n font-family: 'Work Sans', sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-align: center;\n color: #2c3e50;\n}\n#toastc {\n right: 5%;\n top: 100px;\n position: fixed;\n min-width: 20%;\n max-width: 40%;\n background-color: #333;\n border-radius: 2px;\n padding: 20px;\n z-index: 9999;\n font-size: 24px;\n color: #fff;\n text-align: center;\n direction: ltr;\n opacity: 0;\n visibility: hidden;\n transition: opacity 0.3s, top 0.3s ease-out;\n}\n.spinner {\n height: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.spinner > div {\n width: 18px;\n height: 18px;\n background-color: #333;\n\n border-radius: 100%;\n display: inline-block;\n -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;\n animation: sk-bouncedelay 1.4s infinite ease-in-out both;\n}\n.spinner .bounce1 {\n -webkit-animation-delay: -0.32s;\n animation-delay: -0.32s;\n}\n.spinner .bounce2 {\n -webkit-animation-delay: -0.16s;\n animation-delay: -0.16s;\n}\n@-webkit-keyframes sk-bouncedelay {\n0%, 80%, 100% { -webkit-transform: scale(0)\n}\n40% { -webkit-transform: scale(1.0)\n}\n}\n@keyframes sk-bouncedelay {\n0%, 80%, 100% { \n -webkit-transform: scale(0);\n transform: scale(0);\n}\n40% { \n -webkit-transform: scale(1.0);\n transform: scale(1.0);\n}\n}\n.about-br {\n line-height: 30px;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/App.vue","\n#arts-list[data-v-124a4f66] {\n position: relative;\n width: 50%;\n max-height: 100vh;\n height: 100%;\n float: left;\n overflow-y: scroll;\n overflow-x: hidden;\n direction: ltr;\n}\n.al-container[data-v-124a4f66] {\n padding: 0 30px;\n position: relative;\n bottom: 10px;\n top: 80px;\n}\n.colA[data-v-124a4f66], .colB[data-v-124a4f66] {\n width: 50%;\n float: left;\n}\n.img-res[data-v-124a4f66] {\n width: 100%;\n height: 100%;\n}\n.al-item[data-v-124a4f66] {\n width: calc(100% - 15px);\n float: right;\n margin: 5px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.al-item[data-v-124a4f66]:hover {\n -webkit-transform: scale(1.02);\n transform: scale(1.02);\n opacity: 0.7;\n}\n#art-on[data-v-124a4f66] {\n width: 50%;\n float: left;\n position: relative;\n z-index: 9997;\n background-color: #000;\n}\n.ao-img[data-v-124a4f66] {\n max-height: 100%;\n max-width: 100%;\n max-width: calc(100%);\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n margin: auto;\n z-index: -11;\n opacity: 1;\n cursor: pointer;\n}\n.ao-img-fs[data-v-124a4f66] {\n cursor: default;\n}\n.imgActive[data-v-124a4f66] {\n cursor: default !important;\n}\n.img-opacity[data-v-124a4f66] {\n background-color: #000;\n display: inline-block;\n transition: opacity 0.3s;\n}\n.img-opacity-fs[data-v-124a4f66] {\n opacity: 1 !important;\n}\n#imgAuthor[data-v-124a4f66], #imgTitle[data-v-124a4f66] {\n position: absolute;\n left: 0;\n color: #fff;\n width: 100%;\n text-align: center;\n z-index: 9998;\n}\n#imgAuthor[data-v-124a4f66] {\n bottom: 10%;\n}\n#imgTitle[data-v-124a4f66] {\n bottom: 20%;\n}\n.ftimes[data-v-124a4f66] {\n position: absolute;\n top: 8px;\n right: 8px;\n font-size: 28px;\n cursor: pointer;\n z-index: 9999;\n}\n.ftimes[data-v-124a4f66]:before {\n color: #7ACCC8;\n}\n\n/* Exploring Area */\n#explore-content[data-v-124a4f66] {\n position: absolute;\n top: 0;\n width: 100%;\n height: 0%;\n overflow-y: hidden;\n direction: ltr;\n background-color: #fff;\n z-index: 9999;\n transition: height .5s;\n text-align: left;\n box-shadow: 0 8px 10px 1px rgba(0,0,0,0.14), 0 3px 14px 2px rgba(0,0,0,0.12), 0 5px 5px -3px rgba(0,0,0,0.3);\n}\n.explore-tab[data-v-124a4f66] {\n padding: 0 15px;\n}\n.site-thumb[data-v-124a4f66] {\n display: inline-block;\n width: 200px;\n height: 256px;\n transition: all 0.3s;\n cursor: pointer;\n margin-left: 30px;\n}\n.site-thumb[data-v-124a4f66]:hover {\n width: 190px;\n height: 246px;\n color: #FA6900;\n}\n.site-thumb.first[data-v-124a4f66] {\n margin-left: 5px;\n}\n.ex-sites-img[data-v-124a4f66] {\n width: 100%;\n height: 80%;\n}\n.about-p[data-v-124a4f66] {\n font-size: 1.2rem;\n}\n\n/* Show more art button */\n.more_btn[data-v-124a4f66] {\n border-radius: 4px;\n background-color: #2c3e50;\n color: #fff;\n border: none;\n padding: 20px;\n margin: 5px;\n width: calc(100% - 15px);\n transition: all 0.5s;\n font-family: 'Work Sans', sans-serif;\n font-size: 24px;\n margin-bottom: 15px;\n cursor: pointer;\n}\n\n/* Fix div display problem */\n.aoDisplayFix[data-v-124a4f66] {\n display: block !important;\n}\n.clearboth[data-v-124a4f66] {\n clear: both;\n}\n\n/* Media Queries */\n@media screen and (max-width: 754px) {\n#arts-list[data-v-124a4f66] {\n width: 100%;\n}\n#art-on[data-v-124a4f66] {\n display: none;\n}\n}\n@media screen and (max-width: 696px) {\n.site-thumb[data-v-124a4f66] {\n margin-left: 10px;\n}\n}\n@media screen and (max-width: 510px) {\n#explore-content[data-v-124a4f66] {\n overflow-y: auto;\n}\n#explore-w[data-v-124a4f66] {\n padding: 0 25px;\n}\n#explore-wrapper[data-v-124a4f66] {\n padding: 0 25px;\n}\n.al-container[data-v-124a4f66] {\n padding: 0 25px;\n}\n.colA[data-v-124a4f66], .colB[data-v-124a4f66] {\n width: 100%;\n}\n.al-item[data-v-124a4f66] {\n width: 100%;\n margin: 0;\n}\n}\n@media screen and (max-height: 480px) {\n.site-thumb[data-v-124a4f66] {\n width: 140px !important;\n height: 176px !important;\n}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/Arts.vue","\n#toolbar {\n position: absolute;\n top: 5px;\n left: 5px;\n height: 40px;\n width: 80%;\n text-align: left;\n z-index: 99999;\n cursor: pointer;\n}\n#tools {\n display: inline-block;\n position: relative;\n opacity: 0;\n transition: opacity 0.3s;\n z-index: -10;\n}\n.custom-fa {\n font-size: 20px;\n color: #fff;\n margin-top: 8px;\n margin-left: 10px;\n cursor: pointer;\n z-index: 10;\n}\n.toolsO:hover {\n color: #E0EAFC;\n}\n.fa-open-close {\n font-size: 24px;\n float: right;\n margin-right: 8px;\n margin-left: 6px;\n transition: -webkit-transform 0.3s;\n transition: transform 0.3s;\n transition: transform 0.3s, -webkit-transform 0.3s;\n opacity: 0;\n visibility: hidden;\n}\n.faOpacity {\n opacity: 1;\n float: left;\n visibility: visible;\n}\n.fa-times {\n position: relative;\n font-size: 28px;\n bottom: 5px;\n}\n.fa-times:before {\n color: #E94C6F;\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/Toolbar.vue","\n#explore-wrapper {\n width: 100%;\n position: absolute;\n padding: 0 41px;\n top: 15px;\n}\n.explore-btn {\n display: inline-block;\n height: 48px;\n width: 48px;\n background: #2c3e50;\n border-radius: 50%;\n cursor: pointer;\n box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);\n transition: .2s ease-out;\n margin-right: 10px;\n float: left;\n}\n.explore-btn:hover {\n opacity: 0.9;\n box-shadow: 0 3px 3px 0 rgba(0,0,0,0.14), 0 2px 6px 0 rgba(0,0,0,0.12), 0 4px 2px -3px rgba(0,0,0,0.2);\n}\n.fcustom {\n line-height: 48px;\n color: #fff;\n font-size: 1.6rem;\n cursor: pointer;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/Explore.vue"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/static/functions.js b/dist/static/functions.js deleted file mode 100644 index 10e97af..0000000 --- a/dist/static/functions.js +++ /dev/null @@ -1,19 +0,0 @@ -function toastIt (msg, time) { - if (time === undefined) { - time = 2500 - } - var t = document.getElementById('toastc') - t.innerHTML = msg - t.style.visibility = 'visible' - t.style.opacity = '1' - t.style.top = '30px' - setTimeout(function () { - t.style.visibility = 'hidden' - t.style.opacity = '0' - t.style.top = '100px' - }, time) -} - -export function toast (msg, time) { - toastIt(msg, time) -} diff --git a/dist/static/js/app.4098c3c2059a996e8bea.js b/dist/static/js/app.4098c3c2059a996e8bea.js deleted file mode 100644 index 7ff2df2..0000000 --- a/dist/static/js/app.4098c3c2059a996e8bea.js +++ /dev/null @@ -1,2 +0,0 @@ -webpackJsonp([1],[,,,,,,,,,,function(e,t,i){"use strict";var s=i(3),a=i(54),n=i(47),o=i.n(n);s.a.use(a.a),t.a=new a.a({routes:[{path:"/",name:"Arts",component:o.a}],mode:"history"})},function(e,t,i){function s(e){i(40)}var a=i(1)(i(33),i(51),s,null,null);e.exports=a.exports},,function(e,t,i){"use strict";function s(e,t){void 0===t&&(t=2500);var i=document.getElementById("toastc");i.innerHTML=e,i.style.visibility="visible",i.style.opacity="1",i.style.top="30px",setTimeout(function(){i.style.visibility="hidden",i.style.opacity="0",i.style.top="100px"},t)}function a(e,t){s(e,t)}t.a=a},,,,,,,,,,,,,,,,,,,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=i(3),a=i(11),n=i.n(a),o=i(10),r=i(13),l=i(12);s.a.use(l,{name:"v-touch"}),s.a.config.productionTip=!1,new s.a({el:"#app",router:o.a,toast:r.a,template:"",components:{App:n.a}}),s.a.prototype.$toast=r.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"app"}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=i(14),a=i.n(s),n=i(49),o=i.n(n),r=i(48),l=i.n(r);t.default={name:"hello",data:function(){return{isLoading:!0,urlsA:[],urlsB:[],winHeight:window.innerHeight+"px",winWidth:window.innerWidth,aoHover:!1,fullScreenImage:!1,isFullScreen:!1,isToolsOpen:!0,imageOn:"",imgAuthor:"Image Author",imgTitle:"Image Title",imgReddit:"Image Reddit",lastAfter:"",isMobile:!1,isExploring:!1,sites:[{thumbnail:"http://i-cdn.phonearena.com/images/article/49220-image/Samsungs-PEN.UP-is-Instagram-for-your-digital-artwork.jpg",url:"https://www.penup.com/",title:"PEN.UP",first:!0},{thumbnail:"http://img.freepik.com/free-icon/deviantart_318-136402.jpg?size=338&ext=jpg",url:"http://www.deviantart.com/whats-hot/?offset=0",title:"DEVIANT ART"},{thumbnail:"https://image.flaticon.com/icons/svg/56/56479.svg",url:"https://www.behance.net",title:"BEHANCE"}],about:c}},components:{Toolbar:o.a,Explore:l.a},computed:{isWideScreen:function(){return this.winWidth>754}},methods:{chooseImage:function(e){this.imageOn=e.target.src,this.imgAuthor=e.target.getAttribute("imgAuthor"),this.imgTitle=e.target.getAttribute("imgTitle"),this.imgReddit=e.target.getAttribute("imgReddit"),this.$refs.aoImg.src=this.imageOn,window.innerWidth<754&&(this.openImg(),this.$refs.artOn.style.display="block")},openImg:function(){this.isFullScreen||(this.$refs.artOn.style.width="100%",this.fullScreenImage=!0,this.isToolsOpen=!1)},closeImg:function(){window.innerWidth<754&&(this.$refs.artOn.style.display="none"),this.$refs.artOn.style.width="50%",this.fullScreenImage=!1,this.isToolsOpen=!0},loadImages:function(){var e=this,t=e.lastAfter?"&after="+e.lastAfter:"";a.a.get("https://www.reddit.com/r/Art/.json?count=15"+t).then(function(t){var i=t.data.data.children;e.lastAfter=t.data.data.after;for(var s=0;s<=14;s++)/(.jpg$|.jpeg$|.png$|reddituploads)/.test(i[s].data.url)&&(s%2==0?e.urlsA.push({src:i[s].data.url.replace(/&/g,"&"),author:i[s].data.author,title:i[s].data.title,reddit:i[s].data.permalink}):e.urlsB.push({src:i[s].data.url.replace(/&/g,"&"),author:i[s].data.author,title:i[s].data.title,reddit:i[s].data.permalink}));e.imageOn=e.urlsA[0].src,e.imgTitle=e.urlsA[0].title,e.imgAuthor=e.urlsA[0].author,e.imgReddit="https://www.reddit.com"+e.urlsA[0].reddit,e.fixColsDifferences()}).then(function(){e.isLoading=!1}).catch(function(t){e.$toast("Something went wrong... Try to refresh the page",4e3),e.isLoading=!1,console.log(t)})},moreImages:function(){this.loadImages()},fixColsDifferences:function(){for(var e=this.urlsA,t=this.urlsB;e.length!==t.length&&1!==Math.abs(e.length-t.length);)e.length>t.length?(t.push(e[e.length-1]),e.pop()):e.length372&&e.isExploring&&(e.$refs["explore-content"].style.height="70%")}),window.addEventListener("keydown",function(t){e.fullScreenImage&&27===t.keyCode&&e.closeImg(),e.isExploring&&27===t.keyCode&&e.closeExploreContent()}),window.addEventListener("click",function(t){e.isExploring&&!t.target.parents(".explore-ele").length>0&&!t.target.matches(".explore-ele")&&e.closeExploreContent()}),window.addEventListener("touchstart",function t(){window.removeEventListener("touchstart",t),e.isMobile=!0}),["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","msfullscreenchange"].forEach(function(t){document.addEventListener(t,function(t){e.isFullScreen?e.isFullScreen=!1:e.isFullScreen=!0},!1)})}};var c='One of my favourite habbits is looking over reddit\'s Art susbreddit and exploring art works of people from all over the world
The idea for this project came to my mind due to reddit not been very interactive for this task
So I decided to fetch the art works that was posted on reddit into my own little website where i can control the design
This website is primarly targeted to desktop viewing and although it is nicely designed on mobile phones, reddit has a fast and comfortable app for mobiles'},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"explore",data:function(){return{fs:this.fullScreen,isBars:!0}},methods:{openExploreContent:function(e){1===e?this.$emit("open-ec","ex-more"):2===e&&this.$emit("open-ec","ex-about")}}}},function(e,t,i){"use strict";function s(){var e=window.navigator.userAgent,t=window.navigator.platform,i=["iPhone","iPad","iPod"],s=null;return-1!==i.indexOf(t)?s="i":/Android/.test(e)&&(s="A"),s}Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"toolbar",data:function(){return{fs:this.fullScreen,isBars:!0}},props:["fullScreen","isTools","imageShare","reddit"],computed:{getToolsState:function(){return this.isTools},getImgToShare:function(){return this.imageShare},getRedditLink:function(){return this.reddit},showWhatsapp:function(){var e=s();return"i"===e||"A"===e},getWindowWidth:function(){return window.innerWidth}},methods:{showTools:function(){var e=this;e.isBars?(e.rotateButton(e.$refs.faTimes,!0),e.isBars=!1):(e.rotateButton(e.$refs.faBars,!1),e.isBars=!0)},openFullScreen:function(){var e=document.getElementsByClassName("img-opacity")[0];document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement?document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen():e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen()},rotateButton:function(e,t){var i=this.$refs.tools,s=this.$refs.toolbar;t?(i.style.opacity="1",i.style.zIndex="99",s.style.visibility="visible"):(i.style.opacity="0",i.style.zIndex="-10",s.style.visibility="hidden"),""===e.style.transform?e.style.transform="rotate(360deg)":e.style.transform=""},saveFunction:function(){this.$toast("Soon...")},handleHover:function(){this.$emit("handle-hover")}}}},,,function(e,t){},function(e,t){},function(e,t){},function(e,t){},,,,,function(e,t,i){function s(e){i(39)}var a=i(1)(i(34),i(50),s,"data-v-124a4f66",null);e.exports=a.exports},function(e,t,i){function s(e){i(41)}var a=i(1)(i(35),i(52),s,null,null);e.exports=a.exports},function(e,t,i){function s(e){i(42)}var a=i(1)(i(36),i(53),s,null,null);e.exports=a.exports},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{attrs:{id:"arts-wrapper"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:!e.isLoading,expression:"!isLoading"}],staticClass:"arts"},[i("div",{ref:"artOn",class:e.winWidth>754?"aoDisplayFix":"",style:{height:e.winHeight},attrs:{id:"art-on"}},[i("toolbar",{directives:[{name:"show",rawName:"v-show",value:!e.fullScreenImage||e.winWidth<754&&e.fullScreenImage,expression:"!fullScreenImage || (winWidth < 754 && fullScreenImage)"}],attrs:{"full-screen":e.fullScreenImage,"is-tools":e.isToolsOpen,"image-share":e.imageOn,reddit:e.imgReddit},on:{"handle-hover":e.toolsHandleHover}}),e._v(" "),i("i",{directives:[{name:"show",rawName:"v-show",value:e.fullScreenImage,expression:"fullScreenImage"}],staticClass:"fa fa-times ftimes",on:{click:e.closeImg}}),e._v(" "),i("v-touch",{directives:[{name:"show",rawName:"v-show",value:e.isMobile,expression:"isMobile"}],class:{"img-opacity":e.isMobile},attrs:{tag:"span",id:"iop-mobile"},on:{tap:e.handleHover}},[i("img",{ref:"aoImg",staticClass:"ao-img",class:{imgActive:e.fullScreenImage},attrs:{src:e.imageOn},on:{click:e.openImg}})]),e._v(" "),i("span",{directives:[{name:"show",rawName:"v-show",value:!e.isMobile,expression:"!isMobile"}],ref:"img-opacity",class:[e.isMobile?"":"img-opacity",{"img-opacity-fs":e.isFullScreen}],attrs:{id:"iop-desktop"},on:{mouseleave:e.handleHover,mouseenter:e.handleHover}},[i("img",{ref:"aoImg",staticClass:"ao-img",class:[{imgActive:e.fullScreenImage},{"ao-img-fs":e.isFullScreen}],attrs:{src:e.imageOn},on:{click:e.openImg}})]),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:e.aoHover,expression:"aoHover"}],staticClass:"img-details",on:{mouseleave:e.handleHover,mouseenter:e.handleHover}},[i("h1",{attrs:{id:"imgTitle"}},[e._v(e._s(e.imgTitle))]),e._v(" "),i("h2",{attrs:{id:"imgAuthor"}},[e._v(e._s(e.imgAuthor))])])],1),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:!e.fullScreenImage,expression:"!fullScreenImage"}],attrs:{id:"arts-list"}},[i("explore",{directives:[{name:"show",rawName:"v-show",value:!e.isLoading,expression:"!isLoading"}],on:{"open-ec":e.openExploreContent}}),e._v(" "),i("div",{staticClass:"al-container"},[i("div",{ref:"colA",staticClass:"colA"},e._l(e.urlsA,function(t,s){return i("div",{staticClass:"al-item",attrs:{id:s}},[i("img",{staticClass:"img-res",attrs:{src:t.src,imgAuthor:t.author,imgTitle:t.title,imgReddit:"https://www.reddit.com"+t.reddit},on:{click:e.chooseImage}})])})),e._v(" "),i("div",{ref:"colB",staticClass:"colB"},e._l(e.urlsB,function(t,s){return i("div",{staticClass:"al-item",attrs:{id:s}},[i("img",{staticClass:"img-res",attrs:{src:t.src,imgAuthor:t.author,imgTitle:t.title,imgReddit:"https://www.reddit.com"+t.reddit},on:{click:e.chooseImage}})])})),e._v(" "),i("input",{staticClass:"more_btn",attrs:{type:"button",value:"More"},on:{click:e.moreImages}})])],1),e._v(" "),i("div",{staticClass:"clearboth"})]),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:e.isLoading,expression:"isLoading"}],staticClass:"spinner"},[i("div",{staticClass:"bounce1"}),e._v(" "),i("div",{staticClass:"bounce2"}),e._v(" "),i("div",{staticClass:"bounce3"})]),e._v(" "),i("div",{attrs:{id:"toastc"}}),e._v(" "),i("div",{ref:"explore-content",staticClass:"explore-ele",attrs:{id:"explore-content"}},[i("i",{directives:[{name:"show",rawName:"v-show",value:e.isExploring,expression:"isExploring"}],staticClass:"fa fa-times ftimes",on:{click:e.closeExploreContent}}),e._v(" "),i("div",{ref:"ex-more",staticClass:"explore-tab",staticStyle:{display:"none"}},[i("h1",[e._v(" Discover More Art ")]),e._v(" "),i("div",{attrs:{id:"ex-more-sites"}},e._l(e.sites,function(t){return i("div",{staticClass:"site-thumb",class:t.first?"first":""},[i("p",{staticClass:"site-title",domProps:{textContent:e._s(t.title)}}),e._v(" "),i("a",{attrs:{href:t.url,target:"_blank"}},[i("img",{staticClass:"ex-sites-img",attrs:{src:t.thumbnail,alt:"site.title"}})])])}))]),e._v(" "),i("div",{ref:"ex-about",staticClass:"explore-tab",staticStyle:{display:"none"}},[i("h1",[e._v(" About This Project ")]),e._v(" "),i("p",{staticClass:"about-p",domProps:{innerHTML:e._s(e.about)}})])])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{attrs:{id:"app"}},[i("router-view")],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"explore-ele",attrs:{id:"explore-wrapper"}},[i("div",{staticClass:"explore-btn",attrs:{id:"explore-more"},on:{click:function(t){e.openExploreContent(1)}}},[e._m(0)]),e._v(" "),e._m(1),e._v(" "),i("div",{staticClass:"explore-btn",attrs:{id:"explore-about"},on:{click:function(t){e.openExploreContent(2)}}},[e._m(2)])])},staticRenderFns:[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("a",[i("i",{staticClass:"fa fa-search-plus fcustom",attrs:{"aria-hidden":"true"}})])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"explore-btn",attrs:{id:"explore-reddit"}},[i("a",{attrs:{href:"https://www.reddit.com/r/Art/",target:"_blank"}},[i("i",{staticClass:"fa fa-reddit-alien fcustom",attrs:{"aria-hidden":"true"}})])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("a",[i("i",{staticClass:"fa fa-question fcustom",attrs:{"aria-hidden":"true"}})])}]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{ref:"toolbar",attrs:{id:"toolbar"},on:{mouseleave:e.handleHover,mouseenter:e.handleHover}},[i("i",{ref:"faTimes",staticClass:"fa fa-times custom-fa fa-open-close",class:{faOpacity:!e.isBars},attrs:{"aria-hidden":"true"},on:{click:e.showTools}}),e._v(" "),i("i",{ref:"faBars",staticClass:"fa fa-bars custom-fa fa-open-close",class:{faOpacity:e.isBars},attrs:{"aria-hidden":"true"},on:{click:e.showTools}}),e._v(" "),i("div",{ref:"tools",attrs:{id:"tools"}},[i("a",{attrs:{href:e.reddit,target:"_blank"}},[i("i",{staticClass:"fa fa-reddit custom-fa toolsO",attrs:{"aria-hidden":"true"}})]),e._v(" "),i("i",{staticClass:"fa fa-floppy-o custom-fa toolsO",attrs:{"aria-hidden":"true"},on:{click:e.saveFunction}}),e._v(" "),i("a",{directives:[{name:"show",rawName:"v-show",value:e.showWhatsapp,expression:"showWhatsapp"}],attrs:{href:"whatsapp://send?text="+e.getImgToShare,"data-action":"share/whatsapp/share"}},[i("i",{staticClass:"fa fa-whatsapp custom-fa toolsO",attrs:{"aria-hidden":"true"}})]),e._v(" "),i("i",{staticClass:"fa fa-arrows-alt custom-fa",attrs:{"aria-hidden":"true"},on:{click:e.openFullScreen}})])])},staticRenderFns:[]}}],[32]); -//# sourceMappingURL=app.4098c3c2059a996e8bea.js.map \ No newline at end of file diff --git a/dist/static/js/app.4098c3c2059a996e8bea.js.map b/dist/static/js/app.4098c3c2059a996e8bea.js.map deleted file mode 100644 index 1b6cefa..0000000 --- a/dist/static/js/app.4098c3c2059a996e8bea.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///static/js/app.4098c3c2059a996e8bea.js","webpack:///./src/router/index.js","webpack:///./src/App.vue?fc6a","webpack:///./static/functions.js","webpack:///./src/main.js","webpack:///App.vue","webpack:///Arts.vue","webpack:///Explore.vue","webpack:///Toolbar.vue","webpack:///./src/components/Arts.vue?3ff2","webpack:///./src/components/Explore.vue?addf","webpack:///./src/components/Toolbar.vue?a6cd","webpack:///./src/components/Arts.vue?f4c6","webpack:///./src/App.vue?40b7","webpack:///./src/components/Explore.vue?11cd","webpack:///./src/components/Toolbar.vue?c250"],"names":["webpackJsonp","module","__webpack_exports__","__webpack_require__","__WEBPACK_IMPORTED_MODULE_0_vue__","__WEBPACK_IMPORTED_MODULE_1_vue_router__","__WEBPACK_IMPORTED_MODULE_2__components_Arts__","__WEBPACK_IMPORTED_MODULE_2__components_Arts___default","n","use","routes","path","name","component","a","mode","exports","injectStyle","ssrContext","Component","toastIt","msg","time","undefined","t","document","getElementById","innerHTML","style","visibility","opacity","top","setTimeout","toast","Object","defineProperty","value","__WEBPACK_IMPORTED_MODULE_1__App__","__WEBPACK_IMPORTED_MODULE_1__App___default","__WEBPACK_IMPORTED_MODULE_2__router__","__WEBPACK_IMPORTED_MODULE_3__static_functions_js__","VueTouch","config","productionTip","el","router","template","components","App","prototype","$toast","__WEBPACK_IMPORTED_MODULE_0_axios__","__WEBPACK_IMPORTED_MODULE_0_axios___default","__WEBPACK_IMPORTED_MODULE_1__components_Toolbar__","__WEBPACK_IMPORTED_MODULE_1__components_Toolbar___default","__WEBPACK_IMPORTED_MODULE_2__components_Explore__","__WEBPACK_IMPORTED_MODULE_2__components_Explore___default","data","isLoading","urlsA","urlsB","winHeight","window","innerHeight","winWidth","innerWidth","aoHover","fullScreenImage","isFullScreen","isToolsOpen","imageOn","imgAuthor","imgTitle","imgReddit","lastAfter","isMobile","isExploring","sites","thumbnail","url","title","first","about","Toolbar","Explore","computed","isWideScreen","this","methods","chooseImage","e","target","src","getAttribute","$refs","aoImg","openImg","artOn","display","width","closeImg","loadImages","vm","after","get","then","res","images","children","i","test","push","replace","author","reddit","permalink","fixColsDifferences","catch","err","console","log","moreImages","uA","uB","length","Math","abs","pop","openExploreContent","val","height","closeExploreContent","handleHover","imgOp","toolsHandleHover","created","mounted","addEventListener","keyCode","parents","matches","detectMobile","removeEventListener","forEach","prefix","fs","fullScreen","isBars","$emit","getOS","userAgent","navigator","platform","iosPlatforms","os","indexOf","props","getToolsState","isTools","getImgToShare","imageShare","getRedditLink","showWhatsapp","getWindowWidth","showTools","rotateButton","faTimes","faBars","openFullScreen","element","getElementsByClassName","fullscreenElement","mozFullScreenElement","webkitFullscreenElement","exitFullscreen","mozCancelFullScreen","webkitExitFullscreen","requestFullscreen","mozRequestFullScreen","webkitRequestFullscreen","msRequestFullscreen","ele","tools","tb","toolbar","zIndex","transform","saveFunction","render","_vm","_h","$createElement","_c","_self","attrs","id","directives","rawName","expression","staticClass","ref","class","full-screen","is-tools","image-share","on","handle-hover","_v","click","img-opacity","tag","tap","imgActive","img-opacity-fs","mouseleave","mouseenter","ao-img-fs","_s","open-ec","_l","img","index","type","staticStyle","site","domProps","textContent","href","alt","staticRenderFns","$event","_m","aria-hidden","faOpacity","data-action"],"mappings":"AAAAA,cAAc,IACP,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CAED,SAAUC,EAAQC,EAAqBC,GAE7C,YACqB,IAAIC,GAAoCD,EAAoB,GACxDE,EAA2CF,EAAoB,IAC/DG,EAAiDH,EAAoB,IACrEI,EAAyDJ,EAAoBK,EAAEF,ECdxGF,GAAA,EAAIK,IAAIJ,EAAA,GAERH,EAAA,KAAmBG,GAAA,GACjBK,SAEIC,KAAM,IACNC,KAAM,OACNC,UAAWN,EAAAO,IAGfC,KAAM,aDsBF,SAAUd,EAAQe,EAASb,GEpCjC,QAAAc,GAAAC,GACAf,EAAA,IAEA,GAAAgB,GAAAhB,EAAA,GAEAA,EAAA,IAEAA,EAAA,IAEAc,EAEA,KAEA,KAGAhB,GAAAe,QAAAG,EAAAH,SF0CQ,CAEF,SAAUf,EAAQC,EAAqBC,GAE7C,YG9DA,SAAAiB,GAAAC,EAAAC,OACAC,KAAAD,IACAA,EAAA,KAEA,IAAAE,GAAAC,SAAAC,eAAA,SACAF,GAAAG,UAAAN,EACAG,EAAAI,MAAAC,WAAA,UACAL,EAAAI,MAAAE,QAAA,IACAN,EAAAI,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B,GAAA,KAAAf,EAAA,KACHO,YAAA,6BACAL,OACAsC,cAAA,QAEA3B,IACAG,MAAAnB,EAAArB,uBAGC6D,uBfw+BE","file":"static/js/app.4098c3c2059a996e8bea.js","sourcesContent":["webpackJsonp([1],[\n/* 0 */,\n/* 1 */,\n/* 2 */,\n/* 3 */,\n/* 4 */,\n/* 5 */,\n/* 6 */,\n/* 7 */,\n/* 8 */,\n/* 9 */,\n/* 10 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue__ = __webpack_require__(3);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue_router__ = __webpack_require__(54);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_Arts__ = __webpack_require__(47);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_Arts___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__components_Arts__);\n\n\n\n\n__WEBPACK_IMPORTED_MODULE_0_vue__[\"a\" /* default */].use(__WEBPACK_IMPORTED_MODULE_1_vue_router__[\"a\" /* default */]);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (new __WEBPACK_IMPORTED_MODULE_1_vue_router__[\"a\" /* default */]({\n routes: [{\n path: '/',\n name: 'Arts',\n component: __WEBPACK_IMPORTED_MODULE_2__components_Arts___default.a\n }],\n mode: 'history'\n}));\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports, __webpack_require__) {\n\nfunction injectStyle (ssrContext) {\n __webpack_require__(40)\n}\nvar Component = __webpack_require__(1)(\n /* script */\n __webpack_require__(33),\n /* template */\n __webpack_require__(51),\n /* styles */\n injectStyle,\n /* scopeId */\n null,\n /* moduleIdentifier (server only) */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 12 */,\n/* 13 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = toast;\nfunction toastIt (msg, time) {\n if (time === undefined) {\n time = 2500\n }\n var t = document.getElementById('toastc')\n t.innerHTML = msg\n t.style.visibility = 'visible'\n t.style.opacity = '1'\n t.style.top = '30px'\n setTimeout(function () {\n t.style.visibility = 'hidden'\n t.style.opacity = '0'\n t.style.top = '100px'\n }, time)\n}\n\nfunction toast (msg, time) {\n toastIt(msg, time)\n}\n\n\n/***/ }),\n/* 14 */,\n/* 15 */,\n/* 16 */,\n/* 17 */,\n/* 18 */,\n/* 19 */,\n/* 20 */,\n/* 21 */,\n/* 22 */,\n/* 23 */,\n/* 24 */,\n/* 25 */,\n/* 26 */,\n/* 27 */,\n/* 28 */,\n/* 29 */,\n/* 30 */,\n/* 31 */,\n/* 32 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue__ = __webpack_require__(3);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__App__ = __webpack_require__(11);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__App___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__App__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__router__ = __webpack_require__(10);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__static_functions_js__ = __webpack_require__(13);\n\n\n\n\n\nvar VueTouch = __webpack_require__(12);\n__WEBPACK_IMPORTED_MODULE_0_vue__[\"a\" /* default */].use(VueTouch, { name: 'v-touch' });\n\n__WEBPACK_IMPORTED_MODULE_0_vue__[\"a\" /* default */].config.productionTip = false;\n\nnew __WEBPACK_IMPORTED_MODULE_0_vue__[\"a\" /* default */]({\n el: '#app',\n router: __WEBPACK_IMPORTED_MODULE_2__router__[\"a\" /* default */],\n toast: __WEBPACK_IMPORTED_MODULE_3__static_functions_js__[\"a\" /* toast */],\n template: '',\n components: { App: __WEBPACK_IMPORTED_MODULE_1__App___default.a }\n});\n\n__WEBPACK_IMPORTED_MODULE_0_vue__[\"a\" /* default */].prototype.$toast = __WEBPACK_IMPORTED_MODULE_3__static_functions_js__[\"a\" /* toast */];\n\n/***/ }),\n/* 33 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'app'\n});\n\n/***/ }),\n/* 34 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_axios__ = __webpack_require__(14);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_axios__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__components_Toolbar__ = __webpack_require__(49);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__components_Toolbar___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__components_Toolbar__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_Explore__ = __webpack_require__(48);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_Explore___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__components_Explore__);\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'hello',\n data: function data() {\n return {\n isLoading: true,\n urlsA: [],\n urlsB: [],\n winHeight: window.innerHeight + 'px',\n winWidth: window.innerWidth,\n aoHover: false,\n fullScreenImage: false,\n isFullScreen: false,\n isToolsOpen: true,\n imageOn: '',\n imgAuthor: 'Image Author',\n imgTitle: 'Image Title',\n imgReddit: 'Image Reddit',\n lastAfter: '',\n isMobile: false,\n isExploring: false,\n sites: [{\n thumbnail: 'http://i-cdn.phonearena.com/images/article/49220-image/Samsungs-PEN.UP-is-Instagram-for-your-digital-artwork.jpg',\n url: 'https://www.penup.com/',\n title: 'PEN.UP',\n first: true\n }, {\n thumbnail: 'http://img.freepik.com/free-icon/deviantart_318-136402.jpg?size=338&ext=jpg',\n url: 'http://www.deviantart.com/whats-hot/?offset=0',\n title: 'DEVIANT ART'\n }, {\n thumbnail: 'https://image.flaticon.com/icons/svg/56/56479.svg',\n url: 'https://www.behance.net',\n title: 'BEHANCE'\n }],\n about: about\n };\n },\n\n components: {\n 'Toolbar': __WEBPACK_IMPORTED_MODULE_1__components_Toolbar___default.a,\n 'Explore': __WEBPACK_IMPORTED_MODULE_2__components_Explore___default.a\n },\n computed: {\n isWideScreen: function isWideScreen() {\n if (this.winWidth > 754) {\n return true;\n }\n return false;\n }\n },\n methods: {\n chooseImage: function chooseImage(e) {\n this.imageOn = e.target.src;\n this.imgAuthor = e.target.getAttribute('imgAuthor');\n this.imgTitle = e.target.getAttribute('imgTitle');\n this.imgReddit = e.target.getAttribute('imgReddit');\n this.$refs.aoImg.src = this.imageOn;\n if (window.innerWidth < 754) {\n this.openImg();\n this.$refs.artOn.style.display = 'block';\n }\n },\n openImg: function openImg() {\n if (!this.isFullScreen) {\n this.$refs.artOn.style.width = '100%';\n this.fullScreenImage = true;\n this.isToolsOpen = false;\n }\n },\n closeImg: function closeImg() {\n if (window.innerWidth < 754) {\n this.$refs.artOn.style.display = 'none';\n }\n this.$refs.artOn.style.width = '50%';\n this.fullScreenImage = false;\n this.isToolsOpen = true;\n },\n loadImages: function loadImages() {\n var vm = this;\n var after = vm.lastAfter ? '&after=' + vm.lastAfter : '';\n __WEBPACK_IMPORTED_MODULE_0_axios___default.a.get('https://www.reddit.com/r/Art/.json?count=15' + after).then(function (res) {\n var images = res.data.data.children;\n vm.lastAfter = res.data.data.after;\n for (var i = 0; i <= 14; i++) {\n if (/(.jpg$|.jpeg$|.png$|reddituploads)/.test(images[i].data.url)) {\n if (i % 2 === 0) {\n vm.urlsA.push({\n 'src': images[i].data.url.replace(/&/g, '&'),\n 'author': images[i].data.author,\n 'title': images[i].data.title,\n 'reddit': images[i].data.permalink\n });\n } else {\n vm.urlsB.push({\n 'src': images[i].data.url.replace(/&/g, '&'),\n 'author': images[i].data.author,\n 'title': images[i].data.title,\n 'reddit': images[i].data.permalink\n });\n }\n }\n }\n vm.imageOn = vm.urlsA[0].src;\n vm.imgTitle = vm.urlsA[0].title;\n vm.imgAuthor = vm.urlsA[0].author;\n vm.imgReddit = 'https://www.reddit.com' + vm.urlsA[0].reddit;\n vm.fixColsDifferences();\n }).then(function () {\n vm.isLoading = false;\n }).catch(function (err) {\n vm.$toast('Something went wrong... Try to refresh the page', 4000);\n vm.isLoading = false;\n console.log(err);\n });\n },\n moreImages: function moreImages() {\n this.loadImages();\n },\n fixColsDifferences: function fixColsDifferences() {\n var uA = this.urlsA;\n var uB = this.urlsB;\n while (uA.length !== uB.length) {\n if (Math.abs(uA.length - uB.length) !== 1) {\n if (uA.length > uB.length) {\n uB.push(uA[uA.length - 1]);\n uA.pop();\n } else if (uA.length < uB.length) {\n uA.push(uB[uB.length - 1]);\n uB.pop();\n }\n } else {\n break;\n }\n }\n },\n openExploreContent: function openExploreContent(val) {\n this.isExploring = true;\n this.$refs[val].style.display = 'block';\n if (window.innerHeight < 640) {\n if (window.innerHeight < 372) {\n this.$refs['explore-content'].style.height = '100%';\n } else {\n this.$refs['explore-content'].style.height = '70%';\n }\n } else {\n this.$refs['explore-content'].style.height = '54%';\n }\n },\n closeExploreContent: function closeExploreContent() {\n var vm = this;\n vm.isExploring = false;\n vm.$refs['explore-content'].style.height = '0';\n setTimeout(function () {\n vm.$refs['ex-about'].style.display = 'none';\n vm.$refs['ex-more'].style.display = 'none';\n }, 300);\n },\n handleHover: function handleHover() {\n var imgOp;\n if (this.isMobile) {\n imgOp = document.getElementById('iop-mobile');\n } else {\n imgOp = document.getElementById('iop-desktop');\n }\n if (this.aoHover) {\n this.aoHover = false;\n imgOp.style.opacity = '1';\n } else {\n this.aoHover = true;\n imgOp.style.opacity = '0.7';\n }\n },\n toolsHandleHover: function toolsHandleHover() {\n this.handleHover();\n }\n },\n created: function created() {\n var vm = this;\n vm.loadImages();\n },\n mounted: function mounted() {\n var vm = this;\n window.addEventListener('resize', function () {\n vm.winHeight = window.innerHeight + 'px';\n vm.winWidth = window.innerWidth;\n\n if (window.innerHeight > 372 && vm.isExploring) {\n vm.$refs['explore-content'].style.height = '70%';\n }\n });\n window.addEventListener('keydown', function (e) {\n if (vm.fullScreenImage && e.keyCode === 27) {\n vm.closeImg();\n }\n if (vm.isExploring && e.keyCode === 27) {\n vm.closeExploreContent();\n }\n });\n window.addEventListener('click', function (e) {\n if (vm.isExploring && !e.target.parents('.explore-ele').length > 0 && !e.target.matches('.explore-ele')) {\n vm.closeExploreContent();\n }\n });\n window.addEventListener('touchstart', function detectMobile() {\n window.removeEventListener('touchstart', detectMobile);\n vm.isMobile = true;\n });\n var fsprefixes = ['fullscreenchange', 'webkitfullscreenchange', 'mozfullscreenchange', 'msfullscreenchange'];\n fsprefixes.forEach(function (prefix) {\n document.addEventListener(prefix, function (e) {\n if (vm.isFullScreen) {\n vm.isFullScreen = false;\n } else {\n vm.isFullScreen = true;\n }\n }, false);\n });\n }\n});\n\nvar about = 'One of my favourite habbits is looking over reddit\\'s Art susbreddit and exploring art works of people from all over the world' + '
' + ' The idea for this project came to my mind due to reddit not been very interactive for this task' + '
' + 'So I decided to fetch the art works that was posted on reddit into my own little website where i can control the design' + '
' + 'This website is primarly targeted to desktop viewing and although it is nicely designed on mobile phones, reddit has a fast and comfortable app for mobiles';\n\n/***/ }),\n/* 35 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'explore',\n data: function data() {\n return {\n fs: this.fullScreen,\n isBars: true\n };\n },\n\n methods: {\n openExploreContent: function openExploreContent(n) {\n if (n === 1) {\n this.$emit('open-ec', 'ex-more');\n } else if (n === 2) {\n this.$emit('open-ec', 'ex-about');\n }\n }\n }\n});\n\n/***/ }),\n/* 36 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'toolbar',\n data: function data() {\n return {\n fs: this.fullScreen,\n isBars: true\n };\n },\n\n props: ['fullScreen', 'isTools', 'imageShare', 'reddit'],\n computed: {\n getToolsState: function getToolsState() {\n return this.isTools;\n },\n getImgToShare: function getImgToShare() {\n return this.imageShare;\n },\n getRedditLink: function getRedditLink() {\n return this.reddit;\n },\n showWhatsapp: function showWhatsapp() {\n var os = getOS();\n if (os === 'i' || os === 'A') {\n return true;\n } else {\n return false;\n }\n },\n getWindowWidth: function getWindowWidth() {\n return window.innerWidth;\n }\n },\n methods: {\n showTools: function showTools() {\n var vm = this;\n if (vm.isBars) {\n vm.rotateButton(vm.$refs.faTimes, true);\n vm.isBars = false;\n } else {\n vm.rotateButton(vm.$refs.faBars, false);\n vm.isBars = true;\n }\n },\n openFullScreen: function openFullScreen() {\n var element = document.getElementsByClassName('img-opacity')[0];\n var fullscreenEnabled = document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement;\n if (fullscreenEnabled) {\n if (document.exitFullscreen) {\n document.exitFullscreen();\n } else if (document.mozCancelFullScreen) {\n document.mozCancelFullScreen();\n } else if (document.webkitExitFullscreen) {\n document.webkitExitFullscreen();\n }\n } else {\n if (element.requestFullscreen) {\n element.requestFullscreen();\n } else if (element.mozRequestFullScreen) {\n element.mozRequestFullScreen();\n } else if (element.webkitRequestFullscreen) {\n element.webkitRequestFullscreen();\n } else if (element.msRequestFullscreen) {\n element.msRequestFullscreen();\n }\n }\n },\n rotateButton: function rotateButton(ele, tools) {\n var t = this.$refs.tools;\n var tb = this.$refs.toolbar;\n if (tools) {\n t.style.opacity = '1';\n t.style.zIndex = '99';\n tb.style.visibility = 'visible';\n } else {\n t.style.opacity = '0';\n t.style.zIndex = '-10';\n tb.style.visibility = 'hidden';\n }\n if (ele.style.transform === '') {\n ele.style.transform = 'rotate(360deg)';\n } else {\n ele.style.transform = '';\n }\n },\n saveFunction: function saveFunction() {\n this.$toast('Soon...');\n },\n handleHover: function handleHover() {\n this.$emit('handle-hover');\n }\n }\n});\n\nfunction getOS() {\n var userAgent = window.navigator.userAgent;\n var platform = window.navigator.platform;\n var iosPlatforms = ['iPhone', 'iPad', 'iPod'];\n var os = null;\n\n if (iosPlatforms.indexOf(platform) !== -1) {\n os = 'i';\n } else if (/Android/.test(userAgent)) {\n os = 'A';\n }\n\n return os;\n}\n\n/***/ }),\n/* 37 */,\n/* 38 */,\n/* 39 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 40 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 41 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 42 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 43 */,\n/* 44 */,\n/* 45 */,\n/* 46 */,\n/* 47 */\n/***/ (function(module, exports, __webpack_require__) {\n\nfunction injectStyle (ssrContext) {\n __webpack_require__(39)\n}\nvar Component = __webpack_require__(1)(\n /* script */\n __webpack_require__(34),\n /* template */\n __webpack_require__(50),\n /* styles */\n injectStyle,\n /* scopeId */\n \"data-v-124a4f66\",\n /* moduleIdentifier (server only) */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 48 */\n/***/ (function(module, exports, __webpack_require__) {\n\nfunction injectStyle (ssrContext) {\n __webpack_require__(41)\n}\nvar Component = __webpack_require__(1)(\n /* script */\n __webpack_require__(35),\n /* template */\n __webpack_require__(52),\n /* styles */\n injectStyle,\n /* scopeId */\n null,\n /* moduleIdentifier (server only) */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 49 */\n/***/ (function(module, exports, __webpack_require__) {\n\nfunction injectStyle (ssrContext) {\n __webpack_require__(42)\n}\nvar Component = __webpack_require__(1)(\n /* script */\n __webpack_require__(36),\n /* template */\n __webpack_require__(53),\n /* styles */\n injectStyle,\n /* scopeId */\n null,\n /* moduleIdentifier (server only) */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 50 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n attrs: {\n \"id\": \"arts-wrapper\"\n }\n }, [_c('div', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (!_vm.isLoading),\n expression: \"!isLoading\"\n }],\n staticClass: \"arts\"\n }, [_c('div', {\n ref: \"artOn\",\n class: _vm.winWidth > 754 ? 'aoDisplayFix' : '',\n style: ({\n height: _vm.winHeight\n }),\n attrs: {\n \"id\": \"art-on\"\n }\n }, [_c('toolbar', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (!_vm.fullScreenImage || (_vm.winWidth < 754 && _vm.fullScreenImage)),\n expression: \"!fullScreenImage || (winWidth < 754 && fullScreenImage)\"\n }],\n attrs: {\n \"full-screen\": _vm.fullScreenImage,\n \"is-tools\": _vm.isToolsOpen,\n \"image-share\": _vm.imageOn,\n \"reddit\": _vm.imgReddit\n },\n on: {\n \"handle-hover\": _vm.toolsHandleHover\n }\n }), _vm._v(\" \"), _c('i', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (_vm.fullScreenImage),\n expression: \"fullScreenImage\"\n }],\n staticClass: \"fa fa-times ftimes\",\n on: {\n \"click\": _vm.closeImg\n }\n }), _vm._v(\" \"), _c('v-touch', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (_vm.isMobile),\n expression: \"isMobile\"\n }],\n class: {\n 'img-opacity': _vm.isMobile\n },\n attrs: {\n \"tag\": \"span\",\n \"id\": \"iop-mobile\"\n },\n on: {\n \"tap\": _vm.handleHover\n }\n }, [_c('img', {\n ref: \"aoImg\",\n staticClass: \"ao-img\",\n class: {\n imgActive: _vm.fullScreenImage\n },\n attrs: {\n \"src\": _vm.imageOn\n },\n on: {\n \"click\": _vm.openImg\n }\n })]), _vm._v(\" \"), _c('span', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (!_vm.isMobile),\n expression: \"!isMobile\"\n }],\n ref: \"img-opacity\",\n class: [_vm.isMobile ? '' : 'img-opacity', {\n 'img-opacity-fs': _vm.isFullScreen\n }],\n attrs: {\n \"id\": \"iop-desktop\"\n },\n on: {\n \"mouseleave\": _vm.handleHover,\n \"mouseenter\": _vm.handleHover\n }\n }, [_c('img', {\n ref: \"aoImg\",\n staticClass: \"ao-img\",\n class: [{\n imgActive: _vm.fullScreenImage\n }, {\n 'ao-img-fs': _vm.isFullScreen\n }],\n attrs: {\n \"src\": _vm.imageOn\n },\n on: {\n \"click\": _vm.openImg\n }\n })]), _vm._v(\" \"), _c('div', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (_vm.aoHover),\n expression: \"aoHover\"\n }],\n staticClass: \"img-details\",\n on: {\n \"mouseleave\": _vm.handleHover,\n \"mouseenter\": _vm.handleHover\n }\n }, [_c('h1', {\n attrs: {\n \"id\": \"imgTitle\"\n }\n }, [_vm._v(_vm._s(_vm.imgTitle))]), _vm._v(\" \"), _c('h2', {\n attrs: {\n \"id\": \"imgAuthor\"\n }\n }, [_vm._v(_vm._s(_vm.imgAuthor))])])], 1), _vm._v(\" \"), _c('div', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (!_vm.fullScreenImage),\n expression: \"!fullScreenImage\"\n }],\n attrs: {\n \"id\": \"arts-list\"\n }\n }, [_c('explore', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (!_vm.isLoading),\n expression: \"!isLoading\"\n }],\n on: {\n \"open-ec\": _vm.openExploreContent\n }\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"al-container\"\n }, [_c('div', {\n ref: \"colA\",\n staticClass: \"colA\"\n }, _vm._l((_vm.urlsA), function(img, index) {\n return _c('div', {\n staticClass: \"al-item\",\n attrs: {\n \"id\": index\n }\n }, [_c('img', {\n staticClass: \"img-res\",\n attrs: {\n \"src\": img.src,\n \"imgAuthor\": img.author,\n \"imgTitle\": img.title,\n \"imgReddit\": 'https://www.reddit.com' + img.reddit\n },\n on: {\n \"click\": _vm.chooseImage\n }\n })])\n })), _vm._v(\" \"), _c('div', {\n ref: \"colB\",\n staticClass: \"colB\"\n }, _vm._l((_vm.urlsB), function(img, index) {\n return _c('div', {\n staticClass: \"al-item\",\n attrs: {\n \"id\": index\n }\n }, [_c('img', {\n staticClass: \"img-res\",\n attrs: {\n \"src\": img.src,\n \"imgAuthor\": img.author,\n \"imgTitle\": img.title,\n \"imgReddit\": 'https://www.reddit.com' + img.reddit\n },\n on: {\n \"click\": _vm.chooseImage\n }\n })])\n })), _vm._v(\" \"), _c('input', {\n staticClass: \"more_btn\",\n attrs: {\n \"type\": \"button\",\n \"value\": \"More\"\n },\n on: {\n \"click\": _vm.moreImages\n }\n })])], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"clearboth\"\n })]), _vm._v(\" \"), _c('div', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (_vm.isLoading),\n expression: \"isLoading\"\n }],\n staticClass: \"spinner\"\n }, [_c('div', {\n staticClass: \"bounce1\"\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"bounce2\"\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"bounce3\"\n })]), _vm._v(\" \"), _c('div', {\n attrs: {\n \"id\": \"toastc\"\n }\n }), _vm._v(\" \"), _c('div', {\n ref: \"explore-content\",\n staticClass: \"explore-ele\",\n attrs: {\n \"id\": \"explore-content\"\n }\n }, [_c('i', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (_vm.isExploring),\n expression: \"isExploring\"\n }],\n staticClass: \"fa fa-times ftimes\",\n on: {\n \"click\": _vm.closeExploreContent\n }\n }), _vm._v(\" \"), _c('div', {\n ref: \"ex-more\",\n staticClass: \"explore-tab\",\n staticStyle: {\n \"display\": \"none\"\n }\n }, [_c('h1', [_vm._v(\" Discover More Art \")]), _vm._v(\" \"), _c('div', {\n attrs: {\n \"id\": \"ex-more-sites\"\n }\n }, _vm._l((_vm.sites), function(site) {\n return _c('div', {\n staticClass: \"site-thumb\",\n class: site.first ? 'first' : ''\n }, [_c('p', {\n staticClass: \"site-title\",\n domProps: {\n \"textContent\": _vm._s(site.title)\n }\n }), _vm._v(\" \"), _c('a', {\n attrs: {\n \"href\": site.url,\n \"target\": \"_blank\"\n }\n }, [_c('img', {\n staticClass: \"ex-sites-img\",\n attrs: {\n \"src\": site.thumbnail,\n \"alt\": \"site.title\"\n }\n })])])\n }))]), _vm._v(\" \"), _c('div', {\n ref: \"ex-about\",\n staticClass: \"explore-tab\",\n staticStyle: {\n \"display\": \"none\"\n }\n }, [_c('h1', [_vm._v(\" About This Project \")]), _vm._v(\" \"), _c('p', {\n staticClass: \"about-p\",\n domProps: {\n \"innerHTML\": _vm._s(_vm.about)\n }\n })])])])\n},staticRenderFns: []}\n\n/***/ }),\n/* 51 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n attrs: {\n \"id\": \"app\"\n }\n }, [_c('router-view')], 1)\n},staticRenderFns: []}\n\n/***/ }),\n/* 52 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"explore-ele\",\n attrs: {\n \"id\": \"explore-wrapper\"\n }\n }, [_c('div', {\n staticClass: \"explore-btn\",\n attrs: {\n \"id\": \"explore-more\"\n },\n on: {\n \"click\": function($event) {\n _vm.openExploreContent(1)\n }\n }\n }, [_vm._m(0)]), _vm._v(\" \"), _vm._m(1), _vm._v(\" \"), _c('div', {\n staticClass: \"explore-btn\",\n attrs: {\n \"id\": \"explore-about\"\n },\n on: {\n \"click\": function($event) {\n _vm.openExploreContent(2)\n }\n }\n }, [_vm._m(2)])])\n},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('a', [_c('i', {\n staticClass: \"fa fa-search-plus fcustom\",\n attrs: {\n \"aria-hidden\": \"true\"\n }\n })])\n},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"explore-btn\",\n attrs: {\n \"id\": \"explore-reddit\"\n }\n }, [_c('a', {\n attrs: {\n \"href\": \"https://www.reddit.com/r/Art/\",\n \"target\": \"_blank\"\n }\n }, [_c('i', {\n staticClass: \"fa fa-reddit-alien fcustom\",\n attrs: {\n \"aria-hidden\": \"true\"\n }\n })])])\n},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('a', [_c('i', {\n staticClass: \"fa fa-question fcustom\",\n attrs: {\n \"aria-hidden\": \"true\"\n }\n })])\n}]}\n\n/***/ }),\n/* 53 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n ref: \"toolbar\",\n attrs: {\n \"id\": \"toolbar\"\n },\n on: {\n \"mouseleave\": _vm.handleHover,\n \"mouseenter\": _vm.handleHover\n }\n }, [_c('i', {\n ref: \"faTimes\",\n staticClass: \"fa fa-times custom-fa fa-open-close\",\n class: {\n faOpacity: !_vm.isBars\n },\n attrs: {\n \"aria-hidden\": \"true\"\n },\n on: {\n \"click\": _vm.showTools\n }\n }), _vm._v(\" \"), _c('i', {\n ref: \"faBars\",\n staticClass: \"fa fa-bars custom-fa fa-open-close\",\n class: {\n faOpacity: _vm.isBars\n },\n attrs: {\n \"aria-hidden\": \"true\"\n },\n on: {\n \"click\": _vm.showTools\n }\n }), _vm._v(\" \"), _c('div', {\n ref: \"tools\",\n attrs: {\n \"id\": \"tools\"\n }\n }, [_c('a', {\n attrs: {\n \"href\": _vm.reddit,\n \"target\": \"_blank\"\n }\n }, [_c('i', {\n staticClass: \"fa fa-reddit custom-fa toolsO\",\n attrs: {\n \"aria-hidden\": \"true\"\n }\n })]), _vm._v(\" \"), _c('i', {\n staticClass: \"fa fa-floppy-o custom-fa toolsO\",\n attrs: {\n \"aria-hidden\": \"true\"\n },\n on: {\n \"click\": _vm.saveFunction\n }\n }), _vm._v(\" \"), _c('a', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (_vm.showWhatsapp),\n expression: \"showWhatsapp\"\n }],\n attrs: {\n \"href\": 'whatsapp://send?text=' + _vm.getImgToShare,\n \"data-action\": \"share/whatsapp/share\"\n }\n }, [_c('i', {\n staticClass: \"fa fa-whatsapp custom-fa toolsO\",\n attrs: {\n \"aria-hidden\": \"true\"\n }\n })]), _vm._v(\" \"), _c('i', {\n staticClass: \"fa fa-arrows-alt custom-fa\",\n attrs: {\n \"aria-hidden\": \"true\"\n },\n on: {\n \"click\": _vm.openFullScreen\n }\n })])])\n},staticRenderFns: []}\n\n/***/ })\n],[32]);\n\n\n// WEBPACK FOOTER //\n// static/js/app.4098c3c2059a996e8bea.js","import Vue from 'vue'\nimport Router from 'vue-router'\nimport Arts from '@/components/Arts'\n\nVue.use(Router)\n\nexport default new Router({\n routes: [\n {\n path: '/',\n name: 'Arts',\n component: Arts\n }\n ],\n mode: 'history'\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","function injectStyle (ssrContext) {\n require(\"!!../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"minimize\\\":true,\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-693c22fe\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../node_modules/vue-loader/lib/selector?type=styles&index=0!./App.vue\")\n}\nvar Component = require(\"!../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"),\n /* template */\n require(\"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-693c22fe\\\"}!../node_modules/vue-loader/lib/selector?type=template&index=0!./App.vue\"),\n /* styles */\n injectStyle,\n /* scopeId */\n null,\n /* moduleIdentifier (server only) */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/App.vue\n// module id = 11\n// module chunks = 1","function toastIt (msg, time) {\n if (time === undefined) {\n time = 2500\n }\n var t = document.getElementById('toastc')\n t.innerHTML = msg\n t.style.visibility = 'visible'\n t.style.opacity = '1'\n t.style.top = '30px'\n setTimeout(function () {\n t.style.visibility = 'hidden'\n t.style.opacity = '0'\n t.style.top = '100px'\n }, time)\n}\n\nexport function toast (msg, time) {\n toastIt(msg, time)\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./static/functions.js\n// module id = 13\n// module chunks = 1","import Vue from 'vue'\nimport App from './App'\nimport router from './router'\nimport { toast } from '../static/functions.js'\n\nvar VueTouch = require('vue-touch')\nVue.use(VueTouch, {name: 'v-touch'})\n\nVue.config.productionTip = false\n\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n toast,\n template: '',\n components: { App }\n})\n\nVue.prototype.$toast = toast\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js","\n\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// App.vue?5ca74ca5","\n\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// Arts.vue?7490b981","\n\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// Explore.vue?01f21e20","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// Toolbar.vue?f228cc52","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"minimize\\\":true,\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-124a4f66\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./Arts.vue\")\n}\nvar Component = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./Arts.vue\"),\n /* template */\n require(\"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-124a4f66\\\"}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./Arts.vue\"),\n /* styles */\n injectStyle,\n /* scopeId */\n \"data-v-124a4f66\",\n /* moduleIdentifier (server only) */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/Arts.vue\n// module id = 47\n// module chunks = 1","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"minimize\\\":true,\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-7d6fb6e6\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./Explore.vue\")\n}\nvar Component = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./Explore.vue\"),\n /* template */\n require(\"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-7d6fb6e6\\\"}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./Explore.vue\"),\n /* styles */\n injectStyle,\n /* scopeId */\n null,\n /* moduleIdentifier (server only) */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/Explore.vue\n// module id = 48\n// module chunks = 1","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"minimize\\\":true,\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-f84dfd16\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./Toolbar.vue\")\n}\nvar Component = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./Toolbar.vue\"),\n /* template */\n require(\"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-f84dfd16\\\"}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./Toolbar.vue\"),\n /* styles */\n injectStyle,\n /* scopeId */\n null,\n /* moduleIdentifier (server only) */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/Toolbar.vue\n// module id = 49\n// module chunks = 1","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n attrs: {\n \"id\": \"arts-wrapper\"\n }\n }, [_c('div', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (!_vm.isLoading),\n expression: \"!isLoading\"\n }],\n staticClass: \"arts\"\n }, [_c('div', {\n ref: \"artOn\",\n class: _vm.winWidth > 754 ? 'aoDisplayFix' : '',\n style: ({\n height: _vm.winHeight\n }),\n attrs: {\n \"id\": \"art-on\"\n }\n }, [_c('toolbar', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (!_vm.fullScreenImage || (_vm.winWidth < 754 && _vm.fullScreenImage)),\n expression: \"!fullScreenImage || (winWidth < 754 && fullScreenImage)\"\n }],\n attrs: {\n \"full-screen\": _vm.fullScreenImage,\n \"is-tools\": _vm.isToolsOpen,\n \"image-share\": _vm.imageOn,\n \"reddit\": _vm.imgReddit\n },\n on: {\n \"handle-hover\": _vm.toolsHandleHover\n }\n }), _vm._v(\" \"), _c('i', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (_vm.fullScreenImage),\n expression: \"fullScreenImage\"\n }],\n staticClass: \"fa fa-times ftimes\",\n on: {\n \"click\": _vm.closeImg\n }\n }), _vm._v(\" \"), _c('v-touch', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (_vm.isMobile),\n expression: \"isMobile\"\n }],\n class: {\n 'img-opacity': _vm.isMobile\n },\n attrs: {\n \"tag\": \"span\",\n \"id\": \"iop-mobile\"\n },\n on: {\n \"tap\": _vm.handleHover\n }\n }, [_c('img', {\n ref: \"aoImg\",\n staticClass: \"ao-img\",\n class: {\n imgActive: _vm.fullScreenImage\n },\n attrs: {\n \"src\": _vm.imageOn\n },\n on: {\n \"click\": _vm.openImg\n }\n })]), _vm._v(\" \"), _c('span', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (!_vm.isMobile),\n expression: \"!isMobile\"\n }],\n ref: \"img-opacity\",\n class: [_vm.isMobile ? '' : 'img-opacity', {\n 'img-opacity-fs': _vm.isFullScreen\n }],\n attrs: {\n \"id\": \"iop-desktop\"\n },\n on: {\n \"mouseleave\": _vm.handleHover,\n \"mouseenter\": _vm.handleHover\n }\n }, [_c('img', {\n ref: \"aoImg\",\n staticClass: \"ao-img\",\n class: [{\n imgActive: _vm.fullScreenImage\n }, {\n 'ao-img-fs': _vm.isFullScreen\n }],\n attrs: {\n \"src\": _vm.imageOn\n },\n on: {\n \"click\": _vm.openImg\n }\n })]), _vm._v(\" \"), _c('div', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (_vm.aoHover),\n expression: \"aoHover\"\n }],\n staticClass: \"img-details\",\n on: {\n \"mouseleave\": _vm.handleHover,\n \"mouseenter\": _vm.handleHover\n }\n }, [_c('h1', {\n attrs: {\n \"id\": \"imgTitle\"\n }\n }, [_vm._v(_vm._s(_vm.imgTitle))]), _vm._v(\" \"), _c('h2', {\n attrs: {\n \"id\": \"imgAuthor\"\n }\n }, [_vm._v(_vm._s(_vm.imgAuthor))])])], 1), _vm._v(\" \"), _c('div', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (!_vm.fullScreenImage),\n expression: \"!fullScreenImage\"\n }],\n attrs: {\n \"id\": \"arts-list\"\n }\n }, [_c('explore', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (!_vm.isLoading),\n expression: \"!isLoading\"\n }],\n on: {\n \"open-ec\": _vm.openExploreContent\n }\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"al-container\"\n }, [_c('div', {\n ref: \"colA\",\n staticClass: \"colA\"\n }, _vm._l((_vm.urlsA), function(img, index) {\n return _c('div', {\n staticClass: \"al-item\",\n attrs: {\n \"id\": index\n }\n }, [_c('img', {\n staticClass: \"img-res\",\n attrs: {\n \"src\": img.src,\n \"imgAuthor\": img.author,\n \"imgTitle\": img.title,\n \"imgReddit\": 'https://www.reddit.com' + img.reddit\n },\n on: {\n \"click\": _vm.chooseImage\n }\n })])\n })), _vm._v(\" \"), _c('div', {\n ref: \"colB\",\n staticClass: \"colB\"\n }, _vm._l((_vm.urlsB), function(img, index) {\n return _c('div', {\n staticClass: \"al-item\",\n attrs: {\n \"id\": index\n }\n }, [_c('img', {\n staticClass: \"img-res\",\n attrs: {\n \"src\": img.src,\n \"imgAuthor\": img.author,\n \"imgTitle\": img.title,\n \"imgReddit\": 'https://www.reddit.com' + img.reddit\n },\n on: {\n \"click\": _vm.chooseImage\n }\n })])\n })), _vm._v(\" \"), _c('input', {\n staticClass: \"more_btn\",\n attrs: {\n \"type\": \"button\",\n \"value\": \"More\"\n },\n on: {\n \"click\": _vm.moreImages\n }\n })])], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"clearboth\"\n })]), _vm._v(\" \"), _c('div', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (_vm.isLoading),\n expression: \"isLoading\"\n }],\n staticClass: \"spinner\"\n }, [_c('div', {\n staticClass: \"bounce1\"\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"bounce2\"\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"bounce3\"\n })]), _vm._v(\" \"), _c('div', {\n attrs: {\n \"id\": \"toastc\"\n }\n }), _vm._v(\" \"), _c('div', {\n ref: \"explore-content\",\n staticClass: \"explore-ele\",\n attrs: {\n \"id\": \"explore-content\"\n }\n }, [_c('i', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (_vm.isExploring),\n expression: \"isExploring\"\n }],\n staticClass: \"fa fa-times ftimes\",\n on: {\n \"click\": _vm.closeExploreContent\n }\n }), _vm._v(\" \"), _c('div', {\n ref: \"ex-more\",\n staticClass: \"explore-tab\",\n staticStyle: {\n \"display\": \"none\"\n }\n }, [_c('h1', [_vm._v(\" Discover More Art \")]), _vm._v(\" \"), _c('div', {\n attrs: {\n \"id\": \"ex-more-sites\"\n }\n }, _vm._l((_vm.sites), function(site) {\n return _c('div', {\n staticClass: \"site-thumb\",\n class: site.first ? 'first' : ''\n }, [_c('p', {\n staticClass: \"site-title\",\n domProps: {\n \"textContent\": _vm._s(site.title)\n }\n }), _vm._v(\" \"), _c('a', {\n attrs: {\n \"href\": site.url,\n \"target\": \"_blank\"\n }\n }, [_c('img', {\n staticClass: \"ex-sites-img\",\n attrs: {\n \"src\": site.thumbnail,\n \"alt\": \"site.title\"\n }\n })])])\n }))]), _vm._v(\" \"), _c('div', {\n ref: \"ex-about\",\n staticClass: \"explore-tab\",\n staticStyle: {\n \"display\": \"none\"\n }\n }, [_c('h1', [_vm._v(\" About This Project \")]), _vm._v(\" \"), _c('p', {\n staticClass: \"about-p\",\n domProps: {\n \"innerHTML\": _vm._s(_vm.about)\n }\n })])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-124a4f66\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/Arts.vue\n// module id = 50\n// module chunks = 1","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n attrs: {\n \"id\": \"app\"\n }\n }, [_c('router-view')], 1)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-693c22fe\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = 51\n// module chunks = 1","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"explore-ele\",\n attrs: {\n \"id\": \"explore-wrapper\"\n }\n }, [_c('div', {\n staticClass: \"explore-btn\",\n attrs: {\n \"id\": \"explore-more\"\n },\n on: {\n \"click\": function($event) {\n _vm.openExploreContent(1)\n }\n }\n }, [_vm._m(0)]), _vm._v(\" \"), _vm._m(1), _vm._v(\" \"), _c('div', {\n staticClass: \"explore-btn\",\n attrs: {\n \"id\": \"explore-about\"\n },\n on: {\n \"click\": function($event) {\n _vm.openExploreContent(2)\n }\n }\n }, [_vm._m(2)])])\n},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('a', [_c('i', {\n staticClass: \"fa fa-search-plus fcustom\",\n attrs: {\n \"aria-hidden\": \"true\"\n }\n })])\n},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"explore-btn\",\n attrs: {\n \"id\": \"explore-reddit\"\n }\n }, [_c('a', {\n attrs: {\n \"href\": \"https://www.reddit.com/r/Art/\",\n \"target\": \"_blank\"\n }\n }, [_c('i', {\n staticClass: \"fa fa-reddit-alien fcustom\",\n attrs: {\n \"aria-hidden\": \"true\"\n }\n })])])\n},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('a', [_c('i', {\n staticClass: \"fa fa-question fcustom\",\n attrs: {\n \"aria-hidden\": \"true\"\n }\n })])\n}]}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-7d6fb6e6\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/Explore.vue\n// module id = 52\n// module chunks = 1","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n ref: \"toolbar\",\n attrs: {\n \"id\": \"toolbar\"\n },\n on: {\n \"mouseleave\": _vm.handleHover,\n \"mouseenter\": _vm.handleHover\n }\n }, [_c('i', {\n ref: \"faTimes\",\n staticClass: \"fa fa-times custom-fa fa-open-close\",\n class: {\n faOpacity: !_vm.isBars\n },\n attrs: {\n \"aria-hidden\": \"true\"\n },\n on: {\n \"click\": _vm.showTools\n }\n }), _vm._v(\" \"), _c('i', {\n ref: \"faBars\",\n staticClass: \"fa fa-bars custom-fa fa-open-close\",\n class: {\n faOpacity: _vm.isBars\n },\n attrs: {\n \"aria-hidden\": \"true\"\n },\n on: {\n \"click\": _vm.showTools\n }\n }), _vm._v(\" \"), _c('div', {\n ref: \"tools\",\n attrs: {\n \"id\": \"tools\"\n }\n }, [_c('a', {\n attrs: {\n \"href\": _vm.reddit,\n \"target\": \"_blank\"\n }\n }, [_c('i', {\n staticClass: \"fa fa-reddit custom-fa toolsO\",\n attrs: {\n \"aria-hidden\": \"true\"\n }\n })]), _vm._v(\" \"), _c('i', {\n staticClass: \"fa fa-floppy-o custom-fa toolsO\",\n attrs: {\n \"aria-hidden\": \"true\"\n },\n on: {\n \"click\": _vm.saveFunction\n }\n }), _vm._v(\" \"), _c('a', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (_vm.showWhatsapp),\n expression: \"showWhatsapp\"\n }],\n attrs: {\n \"href\": 'whatsapp://send?text=' + _vm.getImgToShare,\n \"data-action\": \"share/whatsapp/share\"\n }\n }, [_c('i', {\n staticClass: \"fa fa-whatsapp custom-fa toolsO\",\n attrs: {\n \"aria-hidden\": \"true\"\n }\n })]), _vm._v(\" \"), _c('i', {\n staticClass: \"fa fa-arrows-alt custom-fa\",\n attrs: {\n \"aria-hidden\": \"true\"\n },\n on: {\n \"click\": _vm.openFullScreen\n }\n })])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-f84dfd16\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/Toolbar.vue\n// module id = 53\n// module chunks = 1"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/static/js/vendor.85faf581cfeba9536d69.js b/dist/static/js/vendor.85faf581cfeba9536d69.js deleted file mode 100644 index 035b08d..0000000 --- a/dist/static/js/vendor.85faf581cfeba9536d69.js +++ /dev/null @@ -1,18 +0,0 @@ -webpackJsonp([0],[function(t,e,n){"use strict";(function(e){function r(t){return"[object Array]"===T.call(t)}function i(t){return void 0!==e&&e.isBuffer&&e.isBuffer(t)}function o(t){return"[object ArrayBuffer]"===T.call(t)}function a(t){return"undefined"!=typeof FormData&&t instanceof FormData}function s(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function u(t){return"string"==typeof t}function c(t){return"number"==typeof t}function f(t){return void 0===t}function l(t){return null!==t&&"object"==typeof t}function p(t){return"[object Date]"===T.call(t)}function h(t){return"[object File]"===T.call(t)}function d(t){return"[object Blob]"===T.call(t)}function v(t){return"[object Function]"===T.call(t)}function m(t){return l(t)&&v(t.pipe)}function g(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function y(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function b(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function w(t,e){if(null!==t&&void 0!==t)if("object"==typeof t||r(t)||(t=[t]),r(t))for(var n=0,i=t.length;n=200&&t<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(t){s.headers[t]={}}),i.forEach(["post","put","patch"],function(t){s.headers[t]=i.merge(a)}),t.exports=s}).call(e,n(46))},function(t,e,n){"use strict";(function(t){/*! - * Vue.js v2.3.3 - * (c) 2014-2017 Evan You - * Released under the MIT License. - */ -function n(t){return void 0===t||null===t}function r(t){return void 0!==t&&null!==t}function i(t){return!0===t}function o(t){return!1===t}function a(t){return"string"==typeof t||"number"==typeof t}function s(t){return null!==t&&"object"==typeof t}function u(t){return"[object Object]"===Ri.call(t)}function c(t){return"[object RegExp]"===Ri.call(t)}function f(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function l(t){var e=parseFloat(t);return isNaN(e)?t:e}function p(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}function d(t,e){return Ii.call(t,e)}function v(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function m(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function g(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function y(t,e){for(var n in e)t[n]=e[n];return t}function b(t){for(var e={},n=0;nIo&&Oo[n].id>t.id;)n--;Oo.splice(n+1,0,t)}else Oo.push(t);Ro||(Ro=!0,fo(xt))}}function kt(t){Do.clear(),Rt(t,Do)}function Rt(t,e){var n,r,i=Array.isArray(t);if((i||s(t))&&Object.isExtensible(t)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(i)for(n=t.length;n--;)Rt(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)Rt(t[r[n]],e)}}function Pt(t,e,n){No.get=function(){return this[e][n]},No.set=function(t){this[e][n]=t},Object.defineProperty(t,n,No)}function It(t){t._watchers=[];var e=t.$options;e.props&&jt(t,e.props),e.methods&&Bt(t,e.methods),e.data?Lt(t):I(t._data={},!0),e.computed&&Nt(t,e.computed),e.watch&&zt(t,e.watch)}function jt(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],o=!t.$parent;yo.shouldConvert=o;for(var a in e)!function(o){i.push(o);var a=H(o,e,n,t);j(r,o,a),o in t||Pt(t,"_props",o)}(a);yo.shouldConvert=!0}function Lt(t){var e=t.$options.data;e=t._data="function"==typeof e?Dt(e,t):e||{},u(e)||(e={});for(var n=Object.keys(e),r=t.$options.props,i=n.length;i--;)r&&d(r,n[i])||T(n[i])||Pt(t,"_data",n[i]);I(e,!0)}function Dt(t,e){try{return t.call(e)}catch(t){return $(t,e,"data()"),{}}}function Nt(t,e){var n=t._computedWatchers=Object.create(null);for(var r in e){var i=e[r],o="function"==typeof i?i:i.get;n[r]=new Lo(t,o,w,Uo),r in t||Ut(t,r,i)}}function Ut(t,e,n){"function"==typeof n?(No.get=Mt(e),No.set=w):(No.get=n.get?!1!==n.cache?Mt(e):n.get:w,No.set=n.set?n.set:w),Object.defineProperty(t,e,No)}function Mt(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),po.target&&e.depend(),e.value}}function Bt(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?w:m(e[n],t)}function zt(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i=0||n.indexOf(t[i])<0)&&r.push(t[i]);return r}return t}function me(t){this._init(t)}function ge(t){t.use=function(t){if(t.installed)return this;var e=g(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):"function"==typeof t&&t.apply(null,e),t.installed=!0,this}}function ye(t){t.mixin=function(t){return this.options=Y(this.options,t),this}}function be(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name,a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Y(n.options,t),a.super=n,a.options.props&&we(a),a.options.computed&&_e(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Fi.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=y({},a.options),i[r]=a,a}}function we(t){var e=t.options.props;for(var n in e)Pt(t.prototype,"_props",n)}function _e(t){var e=t.options.computed;for(var n in e)Ut(t.prototype,n,e[n])}function Ae(t){Fi.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function Ee(t){return t&&(t.Ctor.options.name||t.tag)}function Te(t,e){return"string"==typeof t?t.split(",").indexOf(e)>-1:!!c(t)&&t.test(e)}function xe(t,e,n){for(var r in t){var i=t[r];if(i){var o=Ee(i.componentOptions);o&&!n(o)&&(i!==e&&Ce(i),t[r]=null)}}}function Ce(t){t&&t.componentInstance.$destroy()}function $e(t){for(var e=t.data,n=t,i=t;r(i.componentInstance);)i=i.componentInstance._vnode,i.data&&(e=Oe(i.data,e));for(;r(n=n.parent);)n.data&&(e=Oe(e,n.data));return Se(e)}function Oe(t,e){return{staticClass:ke(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function Se(t){var e=t.class,n=t.staticClass;return r(n)||r(e)?ke(n,Re(e)):""}function ke(t,e){return t?e?t+" "+e:t:e||""}function Re(t){if(n(t))return"";if("string"==typeof t)return t;var e="";if(Array.isArray(t)){for(var i,o=0,a=t.length;o-1?ma[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ma[t]=/HTMLUnknownElement/.test(e.toString())}function je(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Le(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function De(t,e){return document.createElementNS(la[t],e)}function Ne(t){return document.createTextNode(t)}function Ue(t){return document.createComment(t)}function Me(t,e,n){t.insertBefore(e,n)}function Be(t,e){t.removeChild(e)}function ze(t,e){t.appendChild(e)}function Fe(t){return t.parentNode}function Ye(t){return t.nextSibling}function qe(t){return t.tagName}function He(t,e){t.textContent=e}function Ve(t,e,n){t.setAttribute(e,n)}function Xe(t,e){var n=t.data.ref;if(n){var r=t.context,i=t.componentInstance||t.elm,o=r.$refs;e?Array.isArray(o[n])?h(o[n],i):o[n]===i&&(o[n]=void 0):t.data.refInFor?Array.isArray(o[n])&&o[n].indexOf(i)<0?o[n].push(i):o[n]=[i]:o[n]=i}}function We(t,e){return t.key===e.key&&t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&Je(t,e)}function Je(t,e){if("input"!==t.tag)return!0;var n;return(r(n=t.data)&&r(n=n.attrs)&&n.type)===(r(n=e.data)&&r(n=n.attrs)&&n.type)}function Ke(t,e,n){var i,o,a={};for(i=e;i<=n;++i)o=t[i].key,r(o)&&(a[o]=i);return a}function Ge(t,e){(t.data.directives||e.data.directives)&&Ze(t,e)}function Ze(t,e){var n,r,i,o=t===ba,a=e===ba,s=Qe(t.data.directives,t.context),u=Qe(e.data.directives,e.context),c=[],f=[];for(n in u)r=s[n],i=u[n],r?(i.oldValue=r.value,en(i,"update",e,t),i.def&&i.def.componentUpdated&&f.push(i)):(en(i,"bind",e,t),i.def&&i.def.inserted&&c.push(i));if(c.length){var l=function(){for(var n=0;n=0&&" "===(m=t.charAt(v));v--);m&&Ca.test(m)||(f=!0)}}else void 0===o?(d=i+1,o=t.slice(0,i).trim()):e();if(void 0===o?o=t.slice(0,i).trim():0!==d&&e(),a)for(i=0;i=Xo}function _n(t){return 34===t||39===t}function An(t){var e=1;for(Go=Ko;!wn();)if(t=bn(),_n(t))En(t);else if(91===t&&e++,93===t&&e--,0===e){Zo=Ko;break}}function En(t){for(var e=t;!wn()&&(t=bn())!==e;);}function Tn(t,e,n){Qo=n;var r=e.value,i=e.modifiers,o=t.tag,a=t.attrsMap.type;if("select"===o)$n(t,r,i);else if("input"===o&&"checkbox"===a)xn(t,r,i);else if("input"===o&&"radio"===a)Cn(t,r,i);else if("input"===o||"textarea"===o)On(t,r,i);else if(!qi.isReservedTag(o))return mn(t,r,i),!1;return!0}function xn(t,e,n){var r=n&&n.number,i=dn(t,"value")||"null",o=dn(t,"true-value")||"true",a=dn(t,"false-value")||"false";fn(t,"checked","Array.isArray("+e+")?_i("+e+","+i+")>-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),hn(t,Oa,"var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+e+"=$$a.concat($$v))}else{$$i>-1&&("+e+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+gn(e,"$$c")+"}",null,!0)}function Cn(t,e,n){var r=n&&n.number,i=dn(t,"value")||"null";i=r?"_n("+i+")":i,fn(t,"checked","_q("+e+","+i+")"),hn(t,Oa,gn(e,i),null,!0)}function $n(t,e,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",o="var $$selectedVal = "+i+";";o=o+" "+gn(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),hn(t,"change",o,null,!0)}function On(t,e,n){var r=t.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,u=!o&&"range"!==r,c=o?"change":"range"===r?$a:"input",f="$event.target.value";s&&(f="$event.target.value.trim()"),a&&(f="_n("+f+")");var l=gn(e,f);u&&(l="if($event.target.composing)return;"+l),fn(t,"value","("+e+")"),hn(t,c,l,null,!0),(s||a||"number"===r)&&hn(t,"blur","$forceUpdate()")}function Sn(t){var e;r(t[$a])&&(e=Gi?"change":"input",t[e]=[].concat(t[$a],t[e]||[]),delete t[$a]),r(t[Oa])&&(e=no?"click":"change",t[e]=[].concat(t[Oa],t[e]||[]),delete t[Oa])}function kn(t,e,n,r,i){if(n){var o=e,a=ta;e=function(n){null!==(1===arguments.length?o(n):o.apply(null,arguments))&&Rn(t,e,r,a)}}ta.addEventListener(t,e,ro?{capture:r,passive:i}:r)}function Rn(t,e,n,r){(r||ta).removeEventListener(t,e,n)}function Pn(t,e){if(!n(t.data.on)||!n(e.data.on)){var r=e.data.on||{},i=t.data.on||{};ta=e.elm,Sn(r),Q(r,i,kn,Rn,e.context)}}function In(t,e){if(!n(t.data.domProps)||!n(e.data.domProps)){var i,o,a=e.elm,s=t.data.domProps||{},u=e.data.domProps||{};r(u.__ob__)&&(u=e.data.domProps=y({},u));for(i in s)n(u[i])&&(a[i]="");for(i in u)if(o=u[i],"textContent"!==i&&"innerHTML"!==i||(e.children&&(e.children.length=0),o!==s[i]))if("value"===i){a._value=o;var c=n(o)?"":String(o);jn(a,e,c)&&(a.value=c)}else a[i]=o}}function jn(t,e,n){return!t.composing&&("option"===e.tag||Ln(t,n)||Dn(t,n))}function Ln(t,e){return document.activeElement!==t&&t.value!==e}function Dn(t,e){var n=t.value,i=t._vModifiers;return r(i)&&i.number||"number"===t.type?l(n)!==l(e):r(i)&&i.trim?n.trim()!==e.trim():n!==e}function Nn(t){var e=Un(t.style);return t.staticStyle?y(t.staticStyle,e):e}function Un(t){return Array.isArray(t)?b(t):"string"==typeof t?Ra(t):t}function Mn(t,e){var n,r={};if(e)for(var i=t;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(n=Nn(i.data))&&y(r,n);(n=Nn(t.data))&&y(r,n);for(var o=t;o=o.parent;)o.data&&(n=Nn(o.data))&&y(r,n);return r}function Bn(t,e){var i=e.data,o=t.data;if(!(n(i.staticStyle)&&n(i.style)&&n(o.staticStyle)&&n(o.style))){var a,s,u=e.elm,c=o.staticStyle,f=o.normalizedStyle||o.style||{},l=c||f,p=Un(e.data.style)||{};e.data.normalizedStyle=r(p.__ob__)?y({},p):p;var h=Mn(e,!0);for(s in l)n(h[s])&&ja(u,s,"");for(s in h)(a=h[s])!==l[s]&&ja(u,s,null==a?"":a)}}function zn(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Fn(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e);else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");t.setAttribute("class",n.trim())}}function Yn(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&y(e,Ua(t.name||"v")),y(e,t),e}return"string"==typeof t?Ua(t):void 0}}function qn(t){Va(function(){Va(t)})}function Hn(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),zn(t,e)}function Vn(t,e){t._transitionClasses&&h(t._transitionClasses,e),Fn(t,e)}function Xn(t,e,n){var r=Wn(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Ba?Ya:Ha,u=0,c=function(){t.removeEventListener(s,f),n()},f=function(e){e.target===t&&++u>=a&&c()};setTimeout(function(){u0&&(n=Ba,f=a,l=o.length):e===za?c>0&&(n=za,f=c,l=u.length):(f=Math.max(a,c),n=f>0?a>c?Ba:za:null,l=n?n===Ba?o.length:u.length:0),{type:n,timeout:f,propCount:l,hasTransform:n===Ba&&Xa.test(r[Fa+"Property"])}}function Jn(t,e){for(;t.length1}function er(t,e){!0!==e.data.show&&Gn(e)}function nr(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,u=t.options.length;s-1,a.selected!==o&&(a.selected=o);else if(_(ir(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function rr(t,e){for(var n=0,r=e.length;n=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var u=a.length-1;u>=i;u--)e.end&&e.end(a[u].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,r):"p"===s&&(e.start&&e.start(t,[],!1,n,r),e.end&&e.end(t,n,r))}for(var i,o,a=[],s=e.expectHTML,u=e.isUnaryTag||Mi,c=e.canBeLeftOpenTag||Mi,f=0;t;){if(i=t,o&&Fs(o)){var l=o.toLowerCase(),p=Ys[l]||(Ys[l]=new RegExp("([\\s\\S]*?)(]*>)","i")),h=0,d=t.replace(p,function(t,n,r){return h=r.length,Fs(l)||"noscript"===l||(n=n.replace(//g,"$1").replace(//g,"$1")),e.chars&&e.chars(n),""});f+=t.length-d.length,t=d,r(l,f-h,f)}else{var v=t.indexOf("<");if(0===v){if(_s.test(t)){var m=t.indexOf("--\x3e");if(m>=0){n(m+3);continue}}if(As.test(t)){var g=t.indexOf("]>");if(g>=0){n(g+2);continue}}var y=t.match(ws);if(y){n(y[0].length);continue}var b=t.match(bs);if(b){var w=f;n(b[0].length),r(b[1],w,f);continue}var _=function(){var e=t.match(gs);if(e){var r={tagName:e[1],attrs:[],start:f};n(e[0].length);for(var i,o;!(i=t.match(ys))&&(o=t.match(ds));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=f,r}}();if(_){!function(t){var n=t.tagName,i=t.unarySlash;s&&("p"===o&&fs(n)&&r(o),c(n)&&o===n&&r(n));for(var f=u(n)||"html"===n&&"head"===o||!!i,l=t.attrs.length,p=new Array(l),h=0;h=0){for(E=t.slice(v);!(bs.test(E)||gs.test(E)||_s.test(E)||As.test(E)||(T=E.indexOf("<",1))<0);)v+=T,E=t.slice(v);A=t.substring(0,v),n(v)}v<0&&(A=t,t=""),e.chars&&A&&e.chars(A)}if(t===i){e.chars&&e.chars(t);break}}r()}function wr(t,e){var n=e?Js(e):Xs;if(n.test(t)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(t);){i=r.index,i>a&&o.push(JSON.stringify(t.slice(a,i)));var s=an(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a0,Qi=Ki&&Ki.indexOf("edge/")>0,to=Ki&&Ki.indexOf("android")>0,eo=Ki&&/iphone|ipad|ipod|ios/.test(Ki),no=Ki&&/chrome\/\d+/.test(Ki)&&!Qi,ro=!1;if(Ji)try{var io={};Object.defineProperty(io,"passive",{get:function(){ro=!0}}),window.addEventListener("test-passive",null,io)}catch(t){}var oo,ao,so=function(){return void 0===oo&&(oo=!Ji&&void 0!==t&&"server"===t.process.env.VUE_ENV),oo},uo=Ji&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,co="undefined"!=typeof Symbol&&O(Symbol)&&"undefined"!=typeof Reflect&&O(Reflect.ownKeys),fo=function(){function t(){r=!1;var t=n.slice(0);n.length=0;for(var e=0;e1?g(n):n;for(var r=g(arguments,1),i=0,o=n.length;i1&&(e[n[0].trim()]=n[1].trim())}}),e}),Pa=/^--/,Ia=/\s*!important$/,ja=function(t,e,n){if(Pa.test(e))t.style.setProperty(e,n);else if(Ia.test(n))t.style.setProperty(e,n.replace(Ia,""),"important");else{var r=Da(e);if(Array.isArray(n))for(var i=0,o=n.length;id?(l=n(i[g+1])?null:i[g+1].elm,y(t,l,i,h,g,o)):h>g&&w(t,e,p,d)}function E(t,e,o,a){if(t!==e){if(i(e.isStatic)&&i(t.isStatic)&&e.key===t.key&&(i(e.isCloned)||i(e.isOnce)))return e.elm=t.elm,void(e.componentInstance=t.componentInstance);var s,u=e.data;r(u)&&r(s=u.hook)&&r(s=s.prepatch)&&s(t,e);var c=e.elm=t.elm,f=t.children,l=e.children;if(r(u)&&v(e)){for(s=0;s',n.innerHTML.indexOf(e)>0}("\n"," "),us=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),cs=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),fs=p("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"),ls=/([^\s"'<>\/=]+)/,ps=/(?:=)/,hs=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],ds=new RegExp("^\\s*"+ls.source+"(?:\\s*("+ps.source+")\\s*(?:"+hs.join("|")+"))?"),vs="[a-zA-Z_][\\w\\-\\.]*",ms="((?:"+vs+"\\:)?"+vs+")",gs=new RegExp("^<"+ms),ys=/^\s*(\/?)>/,bs=new RegExp("^<\\/"+ms+"[^>]*>"),ws=/^]+>/i,_s=/^ ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm)\n ? ((formatComponentName(vm[0])) + \"... (\" + (vm[1]) + \" recursive calls)\")\n : formatComponentName(vm))); })\n .join('\\n')\n } else {\n return (\"\\n\\n(found in \" + (formatComponentName(vm)) + \")\")\n }\n };\n}\n\n/* */\n\nfunction handleError (err, vm, info) {\n if (config.errorHandler) {\n config.errorHandler.call(null, err, vm, info);\n } else {\n if (false) {\n warn((\"Error in \" + info + \": \\\"\" + (err.toString()) + \"\\\"\"), vm);\n }\n /* istanbul ignore else */\n if (inBrowser && typeof console !== 'undefined') {\n console.error(err);\n } else {\n throw err\n }\n }\n}\n\n/* */\n/* globals MutationObserver */\n\n// can we use __proto__?\nvar hasProto = '__proto__' in {};\n\n// Browser environment sniffing\nvar inBrowser = typeof window !== 'undefined';\nvar UA = inBrowser && window.navigator.userAgent.toLowerCase();\nvar isIE = UA && /msie|trident/.test(UA);\nvar isIE9 = UA && UA.indexOf('msie 9.0') > 0;\nvar isEdge = UA && UA.indexOf('edge/') > 0;\nvar isAndroid = UA && UA.indexOf('android') > 0;\nvar isIOS = UA && /iphone|ipad|ipod|ios/.test(UA);\nvar isChrome = UA && /chrome\\/\\d+/.test(UA) && !isEdge;\n\nvar supportsPassive = false;\nif (inBrowser) {\n try {\n var opts = {};\n Object.defineProperty(opts, 'passive', ({\n get: function get () {\n /* istanbul ignore next */\n supportsPassive = true;\n }\n } )); // https://github.com/facebook/flow/issues/285\n window.addEventListener('test-passive', null, opts);\n } catch (e) {}\n}\n\n// this needs to be lazy-evaled because vue may be required before\n// vue-server-renderer can set VUE_ENV\nvar _isServer;\nvar isServerRendering = function () {\n if (_isServer === undefined) {\n /* istanbul ignore if */\n if (!inBrowser && typeof global !== 'undefined') {\n // detect presence of vue-server-renderer and avoid\n // Webpack shimming the process\n _isServer = global['process'].env.VUE_ENV === 'server';\n } else {\n _isServer = false;\n }\n }\n return _isServer\n};\n\n// detect devtools\nvar devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n\n/* istanbul ignore next */\nfunction isNative (Ctor) {\n return typeof Ctor === 'function' && /native code/.test(Ctor.toString())\n}\n\nvar hasSymbol =\n typeof Symbol !== 'undefined' && isNative(Symbol) &&\n typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);\n\n/**\n * Defer a task to execute it asynchronously.\n */\nvar nextTick = (function () {\n var callbacks = [];\n var pending = false;\n var timerFunc;\n\n function nextTickHandler () {\n pending = false;\n var copies = callbacks.slice(0);\n callbacks.length = 0;\n for (var i = 0; i < copies.length; i++) {\n copies[i]();\n }\n }\n\n // the nextTick behavior leverages the microtask queue, which can be accessed\n // via either native Promise.then or MutationObserver.\n // MutationObserver has wider support, however it is seriously bugged in\n // UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It\n // completely stops working after triggering a few times... so, if native\n // Promise is available, we will use it:\n /* istanbul ignore if */\n if (typeof Promise !== 'undefined' && isNative(Promise)) {\n var p = Promise.resolve();\n var logError = function (err) { console.error(err); };\n timerFunc = function () {\n p.then(nextTickHandler).catch(logError);\n // in problematic UIWebViews, Promise.then doesn't completely break, but\n // it can get stuck in a weird state where callbacks are pushed into the\n // microtask queue but the queue isn't being flushed, until the browser\n // needs to do some other work, e.g. handle a timer. Therefore we can\n // \"force\" the microtask queue to be flushed by adding an empty timer.\n if (isIOS) { setTimeout(noop); }\n };\n } else if (typeof MutationObserver !== 'undefined' && (\n isNative(MutationObserver) ||\n // PhantomJS and iOS 7.x\n MutationObserver.toString() === '[object MutationObserverConstructor]'\n )) {\n // use MutationObserver where native Promise is not available,\n // e.g. PhantomJS IE11, iOS7, Android 4.4\n var counter = 1;\n var observer = new MutationObserver(nextTickHandler);\n var textNode = document.createTextNode(String(counter));\n observer.observe(textNode, {\n characterData: true\n });\n timerFunc = function () {\n counter = (counter + 1) % 2;\n textNode.data = String(counter);\n };\n } else {\n // fallback to setTimeout\n /* istanbul ignore next */\n timerFunc = function () {\n setTimeout(nextTickHandler, 0);\n };\n }\n\n return function queueNextTick (cb, ctx) {\n var _resolve;\n callbacks.push(function () {\n if (cb) {\n try {\n cb.call(ctx);\n } catch (e) {\n handleError(e, ctx, 'nextTick');\n }\n } else if (_resolve) {\n _resolve(ctx);\n }\n });\n if (!pending) {\n pending = true;\n timerFunc();\n }\n if (!cb && typeof Promise !== 'undefined') {\n return new Promise(function (resolve, reject) {\n _resolve = resolve;\n })\n }\n }\n})();\n\nvar _Set;\n/* istanbul ignore if */\nif (typeof Set !== 'undefined' && isNative(Set)) {\n // use native Set when available.\n _Set = Set;\n} else {\n // a non-standard Set polyfill that only works with primitive keys.\n _Set = (function () {\n function Set () {\n this.set = Object.create(null);\n }\n Set.prototype.has = function has (key) {\n return this.set[key] === true\n };\n Set.prototype.add = function add (key) {\n this.set[key] = true;\n };\n Set.prototype.clear = function clear () {\n this.set = Object.create(null);\n };\n\n return Set;\n }());\n}\n\n/* */\n\n\nvar uid = 0;\n\n/**\n * A dep is an observable that can have multiple\n * directives subscribing to it.\n */\nvar Dep = function Dep () {\n this.id = uid++;\n this.subs = [];\n};\n\nDep.prototype.addSub = function addSub (sub) {\n this.subs.push(sub);\n};\n\nDep.prototype.removeSub = function removeSub (sub) {\n remove(this.subs, sub);\n};\n\nDep.prototype.depend = function depend () {\n if (Dep.target) {\n Dep.target.addDep(this);\n }\n};\n\nDep.prototype.notify = function notify () {\n // stabilize the subscriber list first\n var subs = this.subs.slice();\n for (var i = 0, l = subs.length; i < l; i++) {\n subs[i].update();\n }\n};\n\n// the current target watcher being evaluated.\n// this is globally unique because there could be only one\n// watcher being evaluated at any time.\nDep.target = null;\nvar targetStack = [];\n\nfunction pushTarget (_target) {\n if (Dep.target) { targetStack.push(Dep.target); }\n Dep.target = _target;\n}\n\nfunction popTarget () {\n Dep.target = targetStack.pop();\n}\n\n/*\n * not type checking this file because flow doesn't play well with\n * dynamically accessing methods on Array prototype\n */\n\nvar arrayProto = Array.prototype;\nvar arrayMethods = Object.create(arrayProto);[\n 'push',\n 'pop',\n 'shift',\n 'unshift',\n 'splice',\n 'sort',\n 'reverse'\n]\n.forEach(function (method) {\n // cache original method\n var original = arrayProto[method];\n def(arrayMethods, method, function mutator () {\n var arguments$1 = arguments;\n\n // avoid leaking arguments:\n // http://jsperf.com/closure-with-arguments\n var i = arguments.length;\n var args = new Array(i);\n while (i--) {\n args[i] = arguments$1[i];\n }\n var result = original.apply(this, args);\n var ob = this.__ob__;\n var inserted;\n switch (method) {\n case 'push':\n inserted = args;\n break\n case 'unshift':\n inserted = args;\n break\n case 'splice':\n inserted = args.slice(2);\n break\n }\n if (inserted) { ob.observeArray(inserted); }\n // notify change\n ob.dep.notify();\n return result\n });\n});\n\n/* */\n\nvar arrayKeys = Object.getOwnPropertyNames(arrayMethods);\n\n/**\n * By default, when a reactive property is set, the new value is\n * also converted to become reactive. However when passing down props,\n * we don't want to force conversion because the value may be a nested value\n * under a frozen data structure. Converting it would defeat the optimization.\n */\nvar observerState = {\n shouldConvert: true,\n isSettingProps: false\n};\n\n/**\n * Observer class that are attached to each observed\n * object. Once attached, the observer converts target\n * object's property keys into getter/setters that\n * collect dependencies and dispatches updates.\n */\nvar Observer = function Observer (value) {\n this.value = value;\n this.dep = new Dep();\n this.vmCount = 0;\n def(value, '__ob__', this);\n if (Array.isArray(value)) {\n var augment = hasProto\n ? protoAugment\n : copyAugment;\n augment(value, arrayMethods, arrayKeys);\n this.observeArray(value);\n } else {\n this.walk(value);\n }\n};\n\n/**\n * Walk through each property and convert them into\n * getter/setters. This method should only be called when\n * value type is Object.\n */\nObserver.prototype.walk = function walk (obj) {\n var keys = Object.keys(obj);\n for (var i = 0; i < keys.length; i++) {\n defineReactive$$1(obj, keys[i], obj[keys[i]]);\n }\n};\n\n/**\n * Observe a list of Array items.\n */\nObserver.prototype.observeArray = function observeArray (items) {\n for (var i = 0, l = items.length; i < l; i++) {\n observe(items[i]);\n }\n};\n\n// helpers\n\n/**\n * Augment an target Object or Array by intercepting\n * the prototype chain using __proto__\n */\nfunction protoAugment (target, src) {\n /* eslint-disable no-proto */\n target.__proto__ = src;\n /* eslint-enable no-proto */\n}\n\n/**\n * Augment an target Object or Array by defining\n * hidden properties.\n */\n/* istanbul ignore next */\nfunction copyAugment (target, src, keys) {\n for (var i = 0, l = keys.length; i < l; i++) {\n var key = keys[i];\n def(target, key, src[key]);\n }\n}\n\n/**\n * Attempt to create an observer instance for a value,\n * returns the new observer if successfully observed,\n * or the existing observer if the value already has one.\n */\nfunction observe (value, asRootData) {\n if (!isObject(value)) {\n return\n }\n var ob;\n if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {\n ob = value.__ob__;\n } else if (\n observerState.shouldConvert &&\n !isServerRendering() &&\n (Array.isArray(value) || isPlainObject(value)) &&\n Object.isExtensible(value) &&\n !value._isVue\n ) {\n ob = new Observer(value);\n }\n if (asRootData && ob) {\n ob.vmCount++;\n }\n return ob\n}\n\n/**\n * Define a reactive property on an Object.\n */\nfunction defineReactive$$1 (\n obj,\n key,\n val,\n customSetter\n) {\n var dep = new Dep();\n\n var property = Object.getOwnPropertyDescriptor(obj, key);\n if (property && property.configurable === false) {\n return\n }\n\n // cater for pre-defined getter/setters\n var getter = property && property.get;\n var setter = property && property.set;\n\n var childOb = observe(val);\n Object.defineProperty(obj, key, {\n enumerable: true,\n configurable: true,\n get: function reactiveGetter () {\n var value = getter ? getter.call(obj) : val;\n if (Dep.target) {\n dep.depend();\n if (childOb) {\n childOb.dep.depend();\n }\n if (Array.isArray(value)) {\n dependArray(value);\n }\n }\n return value\n },\n set: function reactiveSetter (newVal) {\n var value = getter ? getter.call(obj) : val;\n /* eslint-disable no-self-compare */\n if (newVal === value || (newVal !== newVal && value !== value)) {\n return\n }\n /* eslint-enable no-self-compare */\n if (false) {\n customSetter();\n }\n if (setter) {\n setter.call(obj, newVal);\n } else {\n val = newVal;\n }\n childOb = observe(newVal);\n dep.notify();\n }\n });\n}\n\n/**\n * Set a property on an object. Adds the new property and\n * triggers change notification if the property doesn't\n * already exist.\n */\nfunction set (target, key, val) {\n if (Array.isArray(target) && typeof key === 'number') {\n target.length = Math.max(target.length, key);\n target.splice(key, 1, val);\n return val\n }\n if (hasOwn(target, key)) {\n target[key] = val;\n return val\n }\n var ob = (target ).__ob__;\n if (target._isVue || (ob && ob.vmCount)) {\n \"production\" !== 'production' && warn(\n 'Avoid adding reactive properties to a Vue instance or its root $data ' +\n 'at runtime - declare it upfront in the data option.'\n );\n return val\n }\n if (!ob) {\n target[key] = val;\n return val\n }\n defineReactive$$1(ob.value, key, val);\n ob.dep.notify();\n return val\n}\n\n/**\n * Delete a property and trigger change if necessary.\n */\nfunction del (target, key) {\n if (Array.isArray(target) && typeof key === 'number') {\n target.splice(key, 1);\n return\n }\n var ob = (target ).__ob__;\n if (target._isVue || (ob && ob.vmCount)) {\n \"production\" !== 'production' && warn(\n 'Avoid deleting properties on a Vue instance or its root $data ' +\n '- just set it to null.'\n );\n return\n }\n if (!hasOwn(target, key)) {\n return\n }\n delete target[key];\n if (!ob) {\n return\n }\n ob.dep.notify();\n}\n\n/**\n * Collect dependencies on array elements when the array is touched, since\n * we cannot intercept array element access like property getters.\n */\nfunction dependArray (value) {\n for (var e = (void 0), i = 0, l = value.length; i < l; i++) {\n e = value[i];\n e && e.__ob__ && e.__ob__.dep.depend();\n if (Array.isArray(e)) {\n dependArray(e);\n }\n }\n}\n\n/* */\n\n/**\n * Option overwriting strategies are functions that handle\n * how to merge a parent option value and a child option\n * value into the final value.\n */\nvar strats = config.optionMergeStrategies;\n\n/**\n * Options with restrictions\n */\nif (false) {\n strats.el = strats.propsData = function (parent, child, vm, key) {\n if (!vm) {\n warn(\n \"option \\\"\" + key + \"\\\" can only be used during instance \" +\n 'creation with the `new` keyword.'\n );\n }\n return defaultStrat(parent, child)\n };\n}\n\n/**\n * Helper that recursively merges two data objects together.\n */\nfunction mergeData (to, from) {\n if (!from) { return to }\n var key, toVal, fromVal;\n var keys = Object.keys(from);\n for (var i = 0; i < keys.length; i++) {\n key = keys[i];\n toVal = to[key];\n fromVal = from[key];\n if (!hasOwn(to, key)) {\n set(to, key, fromVal);\n } else if (isPlainObject(toVal) && isPlainObject(fromVal)) {\n mergeData(toVal, fromVal);\n }\n }\n return to\n}\n\n/**\n * Data\n */\nstrats.data = function (\n parentVal,\n childVal,\n vm\n) {\n if (!vm) {\n // in a Vue.extend merge, both should be functions\n if (!childVal) {\n return parentVal\n }\n if (typeof childVal !== 'function') {\n \"production\" !== 'production' && warn(\n 'The \"data\" option should be a function ' +\n 'that returns a per-instance value in component ' +\n 'definitions.',\n vm\n );\n return parentVal\n }\n if (!parentVal) {\n return childVal\n }\n // when parentVal & childVal are both present,\n // we need to return a function that returns the\n // merged result of both functions... no need to\n // check if parentVal is a function here because\n // it has to be a function to pass previous merges.\n return function mergedDataFn () {\n return mergeData(\n childVal.call(this),\n parentVal.call(this)\n )\n }\n } else if (parentVal || childVal) {\n return function mergedInstanceDataFn () {\n // instance merge\n var instanceData = typeof childVal === 'function'\n ? childVal.call(vm)\n : childVal;\n var defaultData = typeof parentVal === 'function'\n ? parentVal.call(vm)\n : undefined;\n if (instanceData) {\n return mergeData(instanceData, defaultData)\n } else {\n return defaultData\n }\n }\n }\n};\n\n/**\n * Hooks and props are merged as arrays.\n */\nfunction mergeHook (\n parentVal,\n childVal\n) {\n return childVal\n ? parentVal\n ? parentVal.concat(childVal)\n : Array.isArray(childVal)\n ? childVal\n : [childVal]\n : parentVal\n}\n\nLIFECYCLE_HOOKS.forEach(function (hook) {\n strats[hook] = mergeHook;\n});\n\n/**\n * Assets\n *\n * When a vm is present (instance creation), we need to do\n * a three-way merge between constructor options, instance\n * options and parent options.\n */\nfunction mergeAssets (parentVal, childVal) {\n var res = Object.create(parentVal || null);\n return childVal\n ? extend(res, childVal)\n : res\n}\n\nASSET_TYPES.forEach(function (type) {\n strats[type + 's'] = mergeAssets;\n});\n\n/**\n * Watchers.\n *\n * Watchers hashes should not overwrite one\n * another, so we merge them as arrays.\n */\nstrats.watch = function (parentVal, childVal) {\n /* istanbul ignore if */\n if (!childVal) { return Object.create(parentVal || null) }\n if (!parentVal) { return childVal }\n var ret = {};\n extend(ret, parentVal);\n for (var key in childVal) {\n var parent = ret[key];\n var child = childVal[key];\n if (parent && !Array.isArray(parent)) {\n parent = [parent];\n }\n ret[key] = parent\n ? parent.concat(child)\n : [child];\n }\n return ret\n};\n\n/**\n * Other object hashes.\n */\nstrats.props =\nstrats.methods =\nstrats.computed = function (parentVal, childVal) {\n if (!childVal) { return Object.create(parentVal || null) }\n if (!parentVal) { return childVal }\n var ret = Object.create(null);\n extend(ret, parentVal);\n extend(ret, childVal);\n return ret\n};\n\n/**\n * Default strategy.\n */\nvar defaultStrat = function (parentVal, childVal) {\n return childVal === undefined\n ? parentVal\n : childVal\n};\n\n/**\n * Validate component names\n */\nfunction checkComponents (options) {\n for (var key in options.components) {\n var lower = key.toLowerCase();\n if (isBuiltInTag(lower) || config.isReservedTag(lower)) {\n warn(\n 'Do not use built-in or reserved HTML elements as component ' +\n 'id: ' + key\n );\n }\n }\n}\n\n/**\n * Ensure all props option syntax are normalized into the\n * Object-based format.\n */\nfunction normalizeProps (options) {\n var props = options.props;\n if (!props) { return }\n var res = {};\n var i, val, name;\n if (Array.isArray(props)) {\n i = props.length;\n while (i--) {\n val = props[i];\n if (typeof val === 'string') {\n name = camelize(val);\n res[name] = { type: null };\n } else if (false) {\n warn('props must be strings when using array syntax.');\n }\n }\n } else if (isPlainObject(props)) {\n for (var key in props) {\n val = props[key];\n name = camelize(key);\n res[name] = isPlainObject(val)\n ? val\n : { type: val };\n }\n }\n options.props = res;\n}\n\n/**\n * Normalize raw function directives into object format.\n */\nfunction normalizeDirectives (options) {\n var dirs = options.directives;\n if (dirs) {\n for (var key in dirs) {\n var def = dirs[key];\n if (typeof def === 'function') {\n dirs[key] = { bind: def, update: def };\n }\n }\n }\n}\n\n/**\n * Merge two option objects into a new one.\n * Core utility used in both instantiation and inheritance.\n */\nfunction mergeOptions (\n parent,\n child,\n vm\n) {\n if (false) {\n checkComponents(child);\n }\n\n if (typeof child === 'function') {\n child = child.options;\n }\n\n normalizeProps(child);\n normalizeDirectives(child);\n var extendsFrom = child.extends;\n if (extendsFrom) {\n parent = mergeOptions(parent, extendsFrom, vm);\n }\n if (child.mixins) {\n for (var i = 0, l = child.mixins.length; i < l; i++) {\n parent = mergeOptions(parent, child.mixins[i], vm);\n }\n }\n var options = {};\n var key;\n for (key in parent) {\n mergeField(key);\n }\n for (key in child) {\n if (!hasOwn(parent, key)) {\n mergeField(key);\n }\n }\n function mergeField (key) {\n var strat = strats[key] || defaultStrat;\n options[key] = strat(parent[key], child[key], vm, key);\n }\n return options\n}\n\n/**\n * Resolve an asset.\n * This function is used because child instances need access\n * to assets defined in its ancestor chain.\n */\nfunction resolveAsset (\n options,\n type,\n id,\n warnMissing\n) {\n /* istanbul ignore if */\n if (typeof id !== 'string') {\n return\n }\n var assets = options[type];\n // check local registration variations first\n if (hasOwn(assets, id)) { return assets[id] }\n var camelizedId = camelize(id);\n if (hasOwn(assets, camelizedId)) { return assets[camelizedId] }\n var PascalCaseId = capitalize(camelizedId);\n if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] }\n // fallback to prototype chain\n var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];\n if (false) {\n warn(\n 'Failed to resolve ' + type.slice(0, -1) + ': ' + id,\n options\n );\n }\n return res\n}\n\n/* */\n\nfunction validateProp (\n key,\n propOptions,\n propsData,\n vm\n) {\n var prop = propOptions[key];\n var absent = !hasOwn(propsData, key);\n var value = propsData[key];\n // handle boolean props\n if (isType(Boolean, prop.type)) {\n if (absent && !hasOwn(prop, 'default')) {\n value = false;\n } else if (!isType(String, prop.type) && (value === '' || value === hyphenate(key))) {\n value = true;\n }\n }\n // check default value\n if (value === undefined) {\n value = getPropDefaultValue(vm, prop, key);\n // since the default value is a fresh copy,\n // make sure to observe it.\n var prevShouldConvert = observerState.shouldConvert;\n observerState.shouldConvert = true;\n observe(value);\n observerState.shouldConvert = prevShouldConvert;\n }\n if (false) {\n assertProp(prop, key, value, vm, absent);\n }\n return value\n}\n\n/**\n * Get the default value of a prop.\n */\nfunction getPropDefaultValue (vm, prop, key) {\n // no default, return undefined\n if (!hasOwn(prop, 'default')) {\n return undefined\n }\n var def = prop.default;\n // warn against non-factory defaults for Object & Array\n if (false) {\n warn(\n 'Invalid default value for prop \"' + key + '\": ' +\n 'Props with type Object/Array must use a factory function ' +\n 'to return the default value.',\n vm\n );\n }\n // the raw prop value was also undefined from previous render,\n // return previous default value to avoid unnecessary watcher trigger\n if (vm && vm.$options.propsData &&\n vm.$options.propsData[key] === undefined &&\n vm._props[key] !== undefined\n ) {\n return vm._props[key]\n }\n // call factory function for non-Function types\n // a value is Function if its prototype is function even across different execution context\n return typeof def === 'function' && getType(prop.type) !== 'Function'\n ? def.call(vm)\n : def\n}\n\n/**\n * Assert whether a prop is valid.\n */\nfunction assertProp (\n prop,\n name,\n value,\n vm,\n absent\n) {\n if (prop.required && absent) {\n warn(\n 'Missing required prop: \"' + name + '\"',\n vm\n );\n return\n }\n if (value == null && !prop.required) {\n return\n }\n var type = prop.type;\n var valid = !type || type === true;\n var expectedTypes = [];\n if (type) {\n if (!Array.isArray(type)) {\n type = [type];\n }\n for (var i = 0; i < type.length && !valid; i++) {\n var assertedType = assertType(value, type[i]);\n expectedTypes.push(assertedType.expectedType || '');\n valid = assertedType.valid;\n }\n }\n if (!valid) {\n warn(\n 'Invalid prop: type check failed for prop \"' + name + '\".' +\n ' Expected ' + expectedTypes.map(capitalize).join(', ') +\n ', got ' + Object.prototype.toString.call(value).slice(8, -1) + '.',\n vm\n );\n return\n }\n var validator = prop.validator;\n if (validator) {\n if (!validator(value)) {\n warn(\n 'Invalid prop: custom validator check failed for prop \"' + name + '\".',\n vm\n );\n }\n }\n}\n\nvar simpleCheckRE = /^(String|Number|Boolean|Function|Symbol)$/;\n\nfunction assertType (value, type) {\n var valid;\n var expectedType = getType(type);\n if (simpleCheckRE.test(expectedType)) {\n valid = typeof value === expectedType.toLowerCase();\n } else if (expectedType === 'Object') {\n valid = isPlainObject(value);\n } else if (expectedType === 'Array') {\n valid = Array.isArray(value);\n } else {\n valid = value instanceof type;\n }\n return {\n valid: valid,\n expectedType: expectedType\n }\n}\n\n/**\n * Use function string name to check built-in types,\n * because a simple equality check will fail when running\n * across different vms / iframes.\n */\nfunction getType (fn) {\n var match = fn && fn.toString().match(/^\\s*function (\\w+)/);\n return match ? match[1] : ''\n}\n\nfunction isType (type, fn) {\n if (!Array.isArray(fn)) {\n return getType(fn) === getType(type)\n }\n for (var i = 0, len = fn.length; i < len; i++) {\n if (getType(fn[i]) === getType(type)) {\n return true\n }\n }\n /* istanbul ignore next */\n return false\n}\n\n/* */\n\nvar mark;\nvar measure;\n\nif (false) {\n var perf = inBrowser && window.performance;\n /* istanbul ignore if */\n if (\n perf &&\n perf.mark &&\n perf.measure &&\n perf.clearMarks &&\n perf.clearMeasures\n ) {\n mark = function (tag) { return perf.mark(tag); };\n measure = function (name, startTag, endTag) {\n perf.measure(name, startTag, endTag);\n perf.clearMarks(startTag);\n perf.clearMarks(endTag);\n perf.clearMeasures(name);\n };\n }\n}\n\n/* not type checking this file because flow doesn't play well with Proxy */\n\nvar initProxy;\n\nif (false) {\n var allowedGlobals = makeMap(\n 'Infinity,undefined,NaN,isFinite,isNaN,' +\n 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +\n 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +\n 'require' // for Webpack/Browserify\n );\n\n var warnNonPresent = function (target, key) {\n warn(\n \"Property or method \\\"\" + key + \"\\\" is not defined on the instance but \" +\n \"referenced during render. Make sure to declare reactive data \" +\n \"properties in the data option.\",\n target\n );\n };\n\n var hasProxy =\n typeof Proxy !== 'undefined' &&\n Proxy.toString().match(/native code/);\n\n if (hasProxy) {\n var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta');\n config.keyCodes = new Proxy(config.keyCodes, {\n set: function set (target, key, value) {\n if (isBuiltInModifier(key)) {\n warn((\"Avoid overwriting built-in modifier in config.keyCodes: .\" + key));\n return false\n } else {\n target[key] = value;\n return true\n }\n }\n });\n }\n\n var hasHandler = {\n has: function has (target, key) {\n var has = key in target;\n var isAllowed = allowedGlobals(key) || key.charAt(0) === '_';\n if (!has && !isAllowed) {\n warnNonPresent(target, key);\n }\n return has || !isAllowed\n }\n };\n\n var getHandler = {\n get: function get (target, key) {\n if (typeof key === 'string' && !(key in target)) {\n warnNonPresent(target, key);\n }\n return target[key]\n }\n };\n\n initProxy = function initProxy (vm) {\n if (hasProxy) {\n // determine which proxy handler to use\n var options = vm.$options;\n var handlers = options.render && options.render._withStripped\n ? getHandler\n : hasHandler;\n vm._renderProxy = new Proxy(vm, handlers);\n } else {\n vm._renderProxy = vm;\n }\n };\n}\n\n/* */\n\nvar VNode = function VNode (\n tag,\n data,\n children,\n text,\n elm,\n context,\n componentOptions\n) {\n this.tag = tag;\n this.data = data;\n this.children = children;\n this.text = text;\n this.elm = elm;\n this.ns = undefined;\n this.context = context;\n this.functionalContext = undefined;\n this.key = data && data.key;\n this.componentOptions = componentOptions;\n this.componentInstance = undefined;\n this.parent = undefined;\n this.raw = false;\n this.isStatic = false;\n this.isRootInsert = true;\n this.isComment = false;\n this.isCloned = false;\n this.isOnce = false;\n};\n\nvar prototypeAccessors = { child: {} };\n\n// DEPRECATED: alias for componentInstance for backwards compat.\n/* istanbul ignore next */\nprototypeAccessors.child.get = function () {\n return this.componentInstance\n};\n\nObject.defineProperties( VNode.prototype, prototypeAccessors );\n\nvar createEmptyVNode = function () {\n var node = new VNode();\n node.text = '';\n node.isComment = true;\n return node\n};\n\nfunction createTextVNode (val) {\n return new VNode(undefined, undefined, undefined, String(val))\n}\n\n// optimized shallow clone\n// used for static nodes and slot nodes because they may be reused across\n// multiple renders, cloning them avoids errors when DOM manipulations rely\n// on their elm reference.\nfunction cloneVNode (vnode) {\n var cloned = new VNode(\n vnode.tag,\n vnode.data,\n vnode.children,\n vnode.text,\n vnode.elm,\n vnode.context,\n vnode.componentOptions\n );\n cloned.ns = vnode.ns;\n cloned.isStatic = vnode.isStatic;\n cloned.key = vnode.key;\n cloned.isComment = vnode.isComment;\n cloned.isCloned = true;\n return cloned\n}\n\nfunction cloneVNodes (vnodes) {\n var len = vnodes.length;\n var res = new Array(len);\n for (var i = 0; i < len; i++) {\n res[i] = cloneVNode(vnodes[i]);\n }\n return res\n}\n\n/* */\n\nvar normalizeEvent = cached(function (name) {\n var passive = name.charAt(0) === '&';\n name = passive ? name.slice(1) : name;\n var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first\n name = once$$1 ? name.slice(1) : name;\n var capture = name.charAt(0) === '!';\n name = capture ? name.slice(1) : name;\n return {\n name: name,\n once: once$$1,\n capture: capture,\n passive: passive\n }\n});\n\nfunction createFnInvoker (fns) {\n function invoker () {\n var arguments$1 = arguments;\n\n var fns = invoker.fns;\n if (Array.isArray(fns)) {\n for (var i = 0; i < fns.length; i++) {\n fns[i].apply(null, arguments$1);\n }\n } else {\n // return handler return value for single handlers\n return fns.apply(null, arguments)\n }\n }\n invoker.fns = fns;\n return invoker\n}\n\nfunction updateListeners (\n on,\n oldOn,\n add,\n remove$$1,\n vm\n) {\n var name, cur, old, event;\n for (name in on) {\n cur = on[name];\n old = oldOn[name];\n event = normalizeEvent(name);\n if (isUndef(cur)) {\n \"production\" !== 'production' && warn(\n \"Invalid handler for event \\\"\" + (event.name) + \"\\\": got \" + String(cur),\n vm\n );\n } else if (isUndef(old)) {\n if (isUndef(cur.fns)) {\n cur = on[name] = createFnInvoker(cur);\n }\n add(event.name, cur, event.once, event.capture, event.passive);\n } else if (cur !== old) {\n old.fns = cur;\n on[name] = old;\n }\n }\n for (name in oldOn) {\n if (isUndef(on[name])) {\n event = normalizeEvent(name);\n remove$$1(event.name, oldOn[name], event.capture);\n }\n }\n}\n\n/* */\n\nfunction mergeVNodeHook (def, hookKey, hook) {\n var invoker;\n var oldHook = def[hookKey];\n\n function wrappedHook () {\n hook.apply(this, arguments);\n // important: remove merged hook to ensure it's called only once\n // and prevent memory leak\n remove(invoker.fns, wrappedHook);\n }\n\n if (isUndef(oldHook)) {\n // no existing hook\n invoker = createFnInvoker([wrappedHook]);\n } else {\n /* istanbul ignore if */\n if (isDef(oldHook.fns) && isTrue(oldHook.merged)) {\n // already a merged invoker\n invoker = oldHook;\n invoker.fns.push(wrappedHook);\n } else {\n // existing plain hook\n invoker = createFnInvoker([oldHook, wrappedHook]);\n }\n }\n\n invoker.merged = true;\n def[hookKey] = invoker;\n}\n\n/* */\n\nfunction extractPropsFromVNodeData (\n data,\n Ctor,\n tag\n) {\n // we are only extracting raw values here.\n // validation and default values are handled in the child\n // component itself.\n var propOptions = Ctor.options.props;\n if (isUndef(propOptions)) {\n return\n }\n var res = {};\n var attrs = data.attrs;\n var props = data.props;\n if (isDef(attrs) || isDef(props)) {\n for (var key in propOptions) {\n var altKey = hyphenate(key);\n if (false) {\n var keyInLowerCase = key.toLowerCase();\n if (\n key !== keyInLowerCase &&\n attrs && hasOwn(attrs, keyInLowerCase)\n ) {\n tip(\n \"Prop \\\"\" + keyInLowerCase + \"\\\" is passed to component \" +\n (formatComponentName(tag || Ctor)) + \", but the declared prop name is\" +\n \" \\\"\" + key + \"\\\". \" +\n \"Note that HTML attributes are case-insensitive and camelCased \" +\n \"props need to use their kebab-case equivalents when using in-DOM \" +\n \"templates. You should probably use \\\"\" + altKey + \"\\\" instead of \\\"\" + key + \"\\\".\"\n );\n }\n }\n checkProp(res, props, key, altKey, true) ||\n checkProp(res, attrs, key, altKey, false);\n }\n }\n return res\n}\n\nfunction checkProp (\n res,\n hash,\n key,\n altKey,\n preserve\n) {\n if (isDef(hash)) {\n if (hasOwn(hash, key)) {\n res[key] = hash[key];\n if (!preserve) {\n delete hash[key];\n }\n return true\n } else if (hasOwn(hash, altKey)) {\n res[key] = hash[altKey];\n if (!preserve) {\n delete hash[altKey];\n }\n return true\n }\n }\n return false\n}\n\n/* */\n\n// The template compiler attempts to minimize the need for normalization by\n// statically analyzing the template at compile time.\n//\n// For plain HTML markup, normalization can be completely skipped because the\n// generated render function is guaranteed to return Array. There are\n// two cases where extra normalization is needed:\n\n// 1. When the children contains components - because a functional component\n// may return an Array instead of a single root. In this case, just a simple\n// normalization is needed - if any child is an Array, we flatten the whole\n// thing with Array.prototype.concat. It is guaranteed to be only 1-level deep\n// because functional components already normalize their own children.\nfunction simpleNormalizeChildren (children) {\n for (var i = 0; i < children.length; i++) {\n if (Array.isArray(children[i])) {\n return Array.prototype.concat.apply([], children)\n }\n }\n return children\n}\n\n// 2. When the children contains constructs that always generated nested Arrays,\n// e.g.