module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); /******/ } /******/ }; /******/ /******/ // define __esModule on exports /******/ __webpack_require__.r = function(exports) { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns /******/ // mode & 4: return value when already ns object /******/ // mode & 8|1: behave like require /******/ __webpack_require__.t = function(value, mode) { /******/ if(mode & 1) value = __webpack_require__(value); /******/ if(mode & 8) return value; /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; /******/ var ns = Object.create(null); /******/ __webpack_require__.r(ns); /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); /******/ return ns; /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = "./src/main.js"); /******/ }) /************************************************************************/ /******/ ({ /***/ "./node_modules/css-loader/index.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/vue-loader/lib/index.js?!./src/App.vue?vue&type=style&index=0&id=7ba5bd90&scoped=true&lang=css&": /*!*******************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/css-loader!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=style&index=0&id=7ba5bd90&scoped=true&lang=css& ***! \*******************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__(/*! ../node_modules/css-loader/lib/css-base.js */ "./node_modules/css-loader/lib/css-base.js")(false); // imports // module exports.push([module.i, "\n.container[data-v-7ba5bd90] {\r\n width: 100%;\r\n position: relative;\n}\n.the-form[data-v-7ba5bd90] {\r\n width: 100%;\n}\n.title[data-v-7ba5bd90] {\r\n font-size: 20px;\r\n color: #7f7f7f;\r\n margin-top: 22px;\r\n margin-left: 64px;\n}\n.subtitle[data-v-7ba5bd90] {\r\n font-size: 14px;\r\n color: #868686;\r\n margin-left: 38px;\r\n margin-bottom: 10px;\n}\n.the-input[data-v-7ba5bd90] {\r\n box-sizing: border-box;\r\n /* padding: 0 8px; */\r\n padding: 0 15px 0 5px;\r\n margin: 0 14px 8px 8px;\r\n cursor: pointer;\r\n background-color: #fff;\r\n border-radius: 4px;\r\n border: 1px solid #e4e4e4;\r\n height: 46px;\r\n display: flex;\r\n align-items: center;\n}\n.the-input-inner[data-v-7ba5bd90] {\r\n margin: 0 0 0 7px;\r\n flex: 1;\n}\n.the-input__prefix[data-v-7ba5bd90] {\r\n height: 100%;\r\n color: #c0c4cc;\n}\n.the-input__icon[data-v-7ba5bd90] {\r\n width: 25px;\r\n height: 100%;\r\n line-height: 46px;\n}\n.the-button[data-v-7ba5bd90] {\r\n margin: 8px 14px 8px 8px;\r\n /* height: 46px;\r\n border-radius: 4px;\r\n background-color: #409eff; */\n}\n.dp-flex[data-v-7ba5bd90] {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\n}\n.top[data-v-7ba5bd90] {\r\n position: absolute;\r\n z-index: 1;\r\n top: 2px;\r\n right: 4px;\r\n /* width: 140px;\r\n height: 42px; */\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-end;\n}\n.top-tips[data-v-7ba5bd90] {\r\n position: relative;\r\n width: 66px;\r\n height: 34px;\r\n background: #fff;\r\n border: 1px #5896ff solid;\r\n border-radius: 4px;\r\n color: #5896ff;\r\n font-size: 12px;\n}\n.cube-container[data-v-7ba5bd90] {\r\n position: absolute;\r\n top: 8px;\r\n right: 5px;\n}\n.cube[data-v-7ba5bd90] {\r\n position: relative;\n}\n.cube span i[data-v-7ba5bd90] {\r\n position: absolute;\r\n font-style: normal;\n}\n.cube-base[data-v-7ba5bd90] {\r\n color: #5896ff;\n}\n.cube-cover[data-v-7ba5bd90] {\r\n left: -1px;\r\n color: white;\n}\n.top-code[data-v-7ba5bd90] {\r\n width: 30px;\r\n height: 30px;\r\n margin-left: 12px;\r\n position: relative;\r\n cursor: pointer;\n}\n.top-qrcode[data-v-7ba5bd90] {\r\n width: 26px;\r\n height: 26px;\n}\n.top-code-mask[data-v-7ba5bd90] {\r\n position: absolute;\r\n z-index: 1;\r\n width: 30px;\r\n height: 30px;\r\n background-repeat: no-repeat;\r\n background-image: linear-gradient(45deg, #fff 50%, rgba(255, 255, 255, 0) 50%);\n}\n.drag[data-v-7ba5bd90] {\r\n position: relative;\r\n background-color: #e4e4e4;\r\n margin: 0 14px 12px 8px;\r\n height: 38px;\r\n line-height: 38px;\r\n text-align: center;\r\n border-radius: 4px;\n}\n.handler[data-v-7ba5bd90] {\r\n width: 48px;\r\n height: 38px;\r\n background-color: #fff;\r\n border: 1px solid #ccc;\r\n cursor: pointer;\r\n border-radius: 4px;\r\n /* box-shadow: 0 2px 12px 0 rgb(0, 0, 0, 10%); */\n}\n.move-mask[data-v-7ba5bd90] {\r\n position: absolute;\r\n z-index: 10;\r\n width: 48px;\r\n height: 38px;\r\n border: 1px solid #ccc;\r\n cursor: pointer;\r\n border-radius: 4px;\n}\n.slider-icon[data-v-7ba5bd90] {\r\n width: 16px;\r\n height: 16px;\n}\n.drag_bg[data-v-7ba5bd90] {\r\n background-color: #7ac23c;\r\n height: 38px;\r\n width: 0px;\r\n border-radius: 4px;\n}\n.drag_text[data-v-7ba5bd90] {\r\n color: #fff;\r\n font-size: 14px;\r\n position: absolute;\r\n top: 0px;\r\n width: 100%;\r\n text-align: center;\r\n -moz-user-select: none;\r\n -webkit-user-select: none;\r\n user-select: none;\r\n -o-user-select: none;\r\n -ms-user-select: none;\n}\r\n", ""]); // exports /***/ }), /***/ "./node_modules/css-loader/index.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/vue-loader/lib/index.js?!./src/views/UploadArtboards.vue?vue&type=style&index=0&id=a375c2b6&scoped=true&lang=css&": /*!*************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/css-loader!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/vue-loader/lib??vue-loader-options!./src/views/UploadArtboards.vue?vue&type=style&index=0&id=a375c2b6&scoped=true&lang=css& ***! \*************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__(/*! ../../node_modules/css-loader/lib/css-base.js */ "./node_modules/css-loader/lib/css-base.js")(false); // imports // module exports.push([module.i, "\n.dp-flex[data-v-a375c2b6] {\r\n display: flex;\r\n flex-direction: row;\r\n align-items: center;\n}\n.dp-flex-center[data-v-a375c2b6] {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\n}\n.flex-1[data-v-a375c2b6] {\r\n flex: 1;\n}\n.mb-8[data-v-a375c2b6] {\r\n margin-bottom: 8px;\n}\n.mr-8[data-v-a375c2b6] {\r\n margin-right: 8px;\n}\n.the-form[data-v-a375c2b6] {\r\n width: 100%;\n}\n.title[data-v-a375c2b6] {\r\n font-size: 20px;\r\n color: #7f7f7f;\r\n margin-top: 10px;\r\n margin-left: 84px;\n}\n.subtitle[data-v-a375c2b6] {\r\n font-size: 14px;\r\n color: #868686;\r\n margin-left: 58px;\r\n margin-bottom: 32px;\n}\n.panel-form[data-v-a375c2b6] {\r\n padding: 0 4px;\n}\n.panel-title[data-v-a375c2b6] {\r\n font-size: 18px;\r\n font-weight: bold;\r\n color: #666666;\n}\n.panel-select[data-v-a375c2b6] {\r\n padding: 0 6px;\n}\n.panel-radio[data-v-a375c2b6] {\r\n width: 50%;\r\n cursor: pointer;\n}\n.panel-area[data-v-a375c2b6] {\r\n min-height: 56px;\r\n margin: 4px 4px 8px;\r\n padding: 10px 8px;\r\n border-radius: 4px;\r\n background-color: #efefef;\r\n display: flex;\r\n flex-wrap: wrap;\n}\n.artboards[data-v-a375c2b6] {\r\n padding: 4px 6px;\r\n margin-right: 8px;\r\n margin-bottom: 8px;\r\n background-color: #fff;\r\n border-radius: 4px;\r\n font-size: 9px;\r\n color: #7a7a7a;\n}\n.panel-tips[data-v-a375c2b6] {\r\n font-size: 12px;\r\n color: #606060;\n}\n.up-row[data-v-a375c2b6] {\r\n margin-left: 8px;\n}\n.up-label[data-v-a375c2b6] {\r\n font-size: 12px;\n}\n.up-btn[data-v-a375c2b6] {\r\n margin: 48px 120px 16px;\n}\n.header[data-v-a375c2b6] {\r\n background-color: #409eff;\r\n height: 40px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n padding: 0 12px;\n}\n.header span[data-v-a375c2b6] {\r\n color: #fff;\n}\n.close[data-v-a375c2b6] {\r\n width: 20px;\r\n height: 20px;\n}\n.container[data-v-a375c2b6] {\r\n width: 300px;\r\n box-sizing: border-box;\r\n padding: 24px 4px 24px 12px;\n}\n.footer[data-v-a375c2b6] {\r\n display: flex;\r\n justify-content: flex-end;\n}\r\n", ""]); // exports /***/ }), /***/ "./node_modules/css-loader/index.js!./src/styles.css": /*!**************************************************!*\ !*** ./node_modules/css-loader!./src/styles.css ***! \**************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__(/*! ../node_modules/css-loader/lib/css-base.js */ "./node_modules/css-loader/lib/css-base.js")(false); // imports // module exports.push([module.i, "p {\n color: blueviolet;\n}", ""]); // exports /***/ }), /***/ "./node_modules/css-loader/lib/css-base.js": /*!*************************************************!*\ !*** ./node_modules/css-loader/lib/css-base.js ***! \*************************************************/ /*! no static exports found */ /***/ (function(module, exports) { /* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ // css base code, injected by the css-loader module.exports = function(useSourceMap) { var list = []; // return the list of modules as css string list.toString = function toString() { return this.map(function (item) { var content = cssWithMappingToString(item, useSourceMap); if(item[2]) { return "@media " + item[2] + "{" + content + "}"; } else { return content; } }).join(""); }; // import a list of modules into the list list.i = function(modules, mediaQuery) { if(typeof modules === "string") modules = [[null, modules, ""]]; var alreadyImportedModules = {}; for(var i = 0; i < this.length; i++) { var id = this[i][0]; if(typeof id === "number") alreadyImportedModules[id] = true; } for(i = 0; i < modules.length; i++) { var item = modules[i]; // skip already imported module // this implementation is not 100% perfect for weird media query combinations // when a module is imported multiple times with different media queries. // I hope this will never occur (Hey this way we have smaller bundles) if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) { if(mediaQuery && !item[2]) { item[2] = mediaQuery; } else if(mediaQuery) { item[2] = "(" + item[2] + ") and (" + mediaQuery + ")"; } list.push(item); } } }; return list; }; function cssWithMappingToString(item, useSourceMap) { var content = item[1] || ''; var cssMapping = item[3]; if (!cssMapping) { return content; } if (useSourceMap && typeof btoa === 'function') { var sourceMapping = toComment(cssMapping); var sourceURLs = cssMapping.sources.map(function (source) { return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */' }); return [content].concat(sourceURLs).concat([sourceMapping]).join('\n'); } return [content].join('\n'); } // Adapted from convert-source-map (MIT) function toComment(sourceMap) { // eslint-disable-next-line no-undef var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))); var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64; return '/*# ' + data + ' */'; } /***/ }), /***/ "./node_modules/process/browser.js": /*!*****************************************!*\ !*** ./node_modules/process/browser.js ***! \*****************************************/ /*! no static exports found */ /***/ (function(module, exports) { // shim for using process in browser var process = module.exports = {}; // cached from whatever global is present so that test runners that stub it // don't break things. But we need to wrap it in a try catch in case it is // wrapped in strict mode code which doesn't define any globals. It's inside a // function because try/catches deoptimize in certain engines. var cachedSetTimeout; var cachedClearTimeout; function defaultSetTimout() { throw new Error('setTimeout has not been defined'); } function defaultClearTimeout () { throw new Error('clearTimeout has not been defined'); } (function () { try { if (typeof setTimeout === 'function') { cachedSetTimeout = setTimeout; } else { cachedSetTimeout = defaultSetTimout; } } catch (e) { cachedSetTimeout = defaultSetTimout; } try { if (typeof clearTimeout === 'function') { cachedClearTimeout = clearTimeout; } else { cachedClearTimeout = defaultClearTimeout; } } catch (e) { cachedClearTimeout = defaultClearTimeout; } } ()) function runTimeout(fun) { if (cachedSetTimeout === setTimeout) { //normal enviroments in sane situations return setTimeout(fun, 0); } // if setTimeout wasn't available but was latter defined if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { cachedSetTimeout = setTimeout; return setTimeout(fun, 0); } try { // when when somebody has screwed with setTimeout but no I.E. maddness return cachedSetTimeout(fun, 0); } catch(e){ try { // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally return cachedSetTimeout.call(null, fun, 0); } catch(e){ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error return cachedSetTimeout.call(this, fun, 0); } } } function runClearTimeout(marker) { if (cachedClearTimeout === clearTimeout) { //normal enviroments in sane situations return clearTimeout(marker); } // if clearTimeout wasn't available but was latter defined if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { cachedClearTimeout = clearTimeout; return clearTimeout(marker); } try { // when when somebody has screwed with setTimeout but no I.E. maddness return cachedClearTimeout(marker); } catch (e){ try { // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally return cachedClearTimeout.call(null, marker); } catch (e){ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. // Some versions of I.E. have different rules for clearTimeout vs setTimeout return cachedClearTimeout.call(this, marker); } } } var queue = []; var draining = false; var currentQueue; var queueIndex = -1; function cleanUpNextTick() { if (!draining || !currentQueue) { return; } draining = false; if (currentQueue.length) { queue = currentQueue.concat(queue); } else { queueIndex = -1; } if (queue.length) { drainQueue(); } } function drainQueue() { if (draining) { return; } var timeout = runTimeout(cleanUpNextTick); draining = true; var len = queue.length; while(len) { currentQueue = queue; queue = []; while (++queueIndex < len) { if (currentQueue) { currentQueue[queueIndex].run(); } } queueIndex = -1; len = queue.length; } currentQueue = null; draining = false; runClearTimeout(timeout); } process.nextTick = function (fun) { var args = new Array(arguments.length - 1); if (arguments.length > 1) { for (var i = 1; i < arguments.length; i++) { args[i - 1] = arguments[i]; } } queue.push(new Item(fun, args)); if (queue.length === 1 && !draining) { runTimeout(drainQueue); } }; // v8 likes predictible objects function Item(fun, array) { this.fun = fun; this.array = array; } Item.prototype.run = function () { this.fun.apply(null, this.array); }; process.title = 'browser'; process.browser = true; process.env = {}; process.argv = []; process.version = ''; // empty string to avoid regexp issues process.versions = {}; function noop() {} process.on = noop; process.addListener = noop; process.once = noop; process.off = noop; process.removeListener = noop; process.removeAllListeners = noop; process.emit = noop; process.prependListener = noop; process.prependOnceListener = noop; process.listeners = function (name) { return [] } process.binding = function (name) { throw new Error('process.binding is not supported'); }; process.cwd = function () { return '/' }; process.chdir = function (dir) { throw new Error('process.chdir is not supported'); }; process.umask = function() { return 0; }; /***/ }), /***/ "./node_modules/setimmediate/setImmediate.js": /*!***************************************************!*\ !*** ./node_modules/setimmediate/setImmediate.js ***! \***************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(global, process) {(function (global, undefined) { "use strict"; if (global.setImmediate) { return; } var nextHandle = 1; // Spec says greater than zero var tasksByHandle = {}; var currentlyRunningATask = false; var doc = global.document; var registerImmediate; function setImmediate(callback) { // Callback can either be a function or a string if (typeof callback !== "function") { callback = new Function("" + callback); } // Copy function arguments var args = new Array(arguments.length - 1); for (var i = 0; i < args.length; i++) { args[i] = arguments[i + 1]; } // Store and register the task var task = { callback: callback, args: args }; tasksByHandle[nextHandle] = task; registerImmediate(nextHandle); return nextHandle++; } function clearImmediate(handle) { delete tasksByHandle[handle]; } function run(task) { var callback = task.callback; var args = task.args; switch (args.length) { case 0: callback(); break; case 1: callback(args[0]); break; case 2: callback(args[0], args[1]); break; case 3: callback(args[0], args[1], args[2]); break; default: callback.apply(undefined, args); break; } } function runIfPresent(handle) { // From the spec: "Wait until any invocations of this algorithm started before this one have completed." // So if we're currently running a task, we'll need to delay this invocation. if (currentlyRunningATask) { // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a // "too much recursion" error. setTimeout(runIfPresent, 0, handle); } else { var task = tasksByHandle[handle]; if (task) { currentlyRunningATask = true; try { run(task); } finally { clearImmediate(handle); currentlyRunningATask = false; } } } } function installNextTickImplementation() { registerImmediate = function(handle) { process.nextTick(function () { runIfPresent(handle); }); }; } function canUsePostMessage() { // The test against `importScripts` prevents this implementation from being installed inside a web worker, // where `global.postMessage` means something completely different and can't be used for this purpose. if (global.postMessage && !global.importScripts) { var postMessageIsAsynchronous = true; var oldOnMessage = global.onmessage; global.onmessage = function() { postMessageIsAsynchronous = false; }; global.postMessage("", "*"); global.onmessage = oldOnMessage; return postMessageIsAsynchronous; } } function installPostMessageImplementation() { // Installs an event handler on `global` for the `message` event: see // * https://developer.mozilla.org/en/DOM/window.postMessage // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages var messagePrefix = "setImmediate$" + Math.random() + "$"; var onGlobalMessage = function(event) { if (event.source === global && typeof event.data === "string" && event.data.indexOf(messagePrefix) === 0) { runIfPresent(+event.data.slice(messagePrefix.length)); } }; if (global.addEventListener) { global.addEventListener("message", onGlobalMessage, false); } else { global.attachEvent("onmessage", onGlobalMessage); } registerImmediate = function(handle) { global.postMessage(messagePrefix + handle, "*"); }; } function installMessageChannelImplementation() { var channel = new MessageChannel(); channel.port1.onmessage = function(event) { var handle = event.data; runIfPresent(handle); }; registerImmediate = function(handle) { channel.port2.postMessage(handle); }; } function installReadyStateChangeImplementation() { var html = doc.documentElement; registerImmediate = function(handle) { // Create a