index.js 38.3 KB
Newer Older
D
dolymood 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
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, {
/******/ 				configurable: false,
/******/ 				enumerable: true,
/******/ 				get: getter
/******/ 			});
/******/ 		}
/******/ 	};
/******/
/******/ 	// 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
A
AmyFoxFN 已提交
64
/******/ 	return __webpack_require__(__webpack_require__.s = 197);
D
dolymood 已提交
65 66
/******/ })
/************************************************************************/
A
AmyFoxFN 已提交
67 68 69
/******/ ({

/***/ 0:
D
dolymood 已提交
70 71 72 73 74 75 76 77 78 79 80
/***/ (function(module, exports) {

// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
var global = module.exports = typeof window != 'undefined' && window.Math == Math
  ? window : typeof self != 'undefined' && self.Math == Math ? self
  // eslint-disable-next-line no-new-func
  : Function('return this')();
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef


/***/ }),
A
AmyFoxFN 已提交
81 82

/***/ 1:
D
dolymood 已提交
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177
/***/ (function(module, exports) {

/* globals __VUE_SSR_CONTEXT__ */

// this module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle

module.exports = function normalizeComponent (
  rawScriptExports,
  compiledTemplate,
  injectStyles,
  scopeId,
  moduleIdentifier /* server only */
) {
  var esModule
  var scriptExports = rawScriptExports = rawScriptExports || {}

  // ES6 modules interop
  var type = typeof rawScriptExports.default
  if (type === 'object' || type === 'function') {
    esModule = rawScriptExports
    scriptExports = rawScriptExports.default
  }

  // Vue.extend constructor export interop
  var options = typeof scriptExports === 'function'
    ? scriptExports.options
    : scriptExports

  // render functions
  if (compiledTemplate) {
    options.render = compiledTemplate.render
    options.staticRenderFns = compiledTemplate.staticRenderFns
  }

  // scopedId
  if (scopeId) {
    options._scopeId = scopeId
  }

  var hook
  if (moduleIdentifier) { // server build
    hook = function (context) {
      // 2.3 injection
      context =
        context || // cached call
        (this.$vnode && this.$vnode.ssrContext) || // stateful
        (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
      // 2.2 with runInNewContext: true
      if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
        context = __VUE_SSR_CONTEXT__
      }
      // inject component styles
      if (injectStyles) {
        injectStyles.call(this, context)
      }
      // register component module identifier for async chunk inferrence
      if (context && context._registeredComponents) {
        context._registeredComponents.add(moduleIdentifier)
      }
    }
    // used by ssr in case component is cached and beforeCreate
    // never gets called
    options._ssrRegister = hook
  } else if (injectStyles) {
    hook = injectStyles
  }

  if (hook) {
    var functional = options.functional
    var existing = functional
      ? options.render
      : options.beforeCreate
    if (!functional) {
      // inject component registration as beforeCreate hook
      options.beforeCreate = existing
        ? [].concat(existing, hook)
        : [hook]
    } else {
      // register for functioal component in vue file
      options.render = function renderWithStyleInjection (h, context) {
        hook.call(context)
        return existing(h, context)
      }
    }
  }

  return {
    esModule: esModule,
    exports: scriptExports,
    options: options
  }
}


A
AmyFoxFN 已提交
178
/***/ }),
D
dolymood 已提交
179

A
AmyFoxFN 已提交
180
/***/ 10:
D
dolymood 已提交
181 182
/***/ (function(module, exports) {

A
AmyFoxFN 已提交
183 184 185
var hasOwnProperty = {}.hasOwnProperty;
module.exports = function (it, key) {
  return hasOwnProperty.call(it, key);
D
dolymood 已提交
186 187 188 189
};


/***/ }),
D
dolymood 已提交
190

A
AmyFoxFN 已提交
191
/***/ 11:
D
dolymood 已提交
192 193
/***/ (function(module, exports, __webpack_require__) {

A
AmyFoxFN 已提交
194 195 196
// to indexed object, toObject with fallback for non-array-like ES3 strings
var IObject = __webpack_require__(18);
var defined = __webpack_require__(12);
D
dolymood 已提交
197
module.exports = function (it) {
A
AmyFoxFN 已提交
198
  return IObject(defined(it));
D
dolymood 已提交
199 200 201
};


D
dolymood 已提交
202 203
/***/ }),

A
AmyFoxFN 已提交
204
/***/ 12:
D
dolymood 已提交
205 206 207 208 209 210 211 212 213 214
/***/ (function(module, exports) {

// 7.2.1 RequireObjectCoercible(argument)
module.exports = function (it) {
  if (it == undefined) throw TypeError("Can't call method on  " + it);
  return it;
};


/***/ }),
A
AmyFoxFN 已提交
215 216

/***/ 13:
D
dolymood 已提交
217 218 219 220 221 222 223 224 225 226 227
/***/ (function(module, exports) {

// 7.1.4 ToInteger
var ceil = Math.ceil;
var floor = Math.floor;
module.exports = function (it) {
  return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
};


/***/ }),
D
dolymood 已提交
228

A
AmyFoxFN 已提交
229
/***/ 14:
D
dolymood 已提交
230 231
/***/ (function(module, exports, __webpack_require__) {

D
dolymood 已提交
232
var global = __webpack_require__(0);
D
dolymood 已提交
233
var core = __webpack_require__(3);
A
AmyFoxFN 已提交
234 235
var ctx = __webpack_require__(20);
var hide = __webpack_require__(7);
D
dolymood 已提交
236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294
var PROTOTYPE = 'prototype';

var $export = function (type, name, source) {
  var IS_FORCED = type & $export.F;
  var IS_GLOBAL = type & $export.G;
  var IS_STATIC = type & $export.S;
  var IS_PROTO = type & $export.P;
  var IS_BIND = type & $export.B;
  var IS_WRAP = type & $export.W;
  var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
  var expProto = exports[PROTOTYPE];
  var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];
  var key, own, out;
  if (IS_GLOBAL) source = name;
  for (key in source) {
    // contains in native
    own = !IS_FORCED && target && target[key] !== undefined;
    if (own && key in exports) continue;
    // export native or passed
    out = own ? target[key] : source[key];
    // prevent global pollution for namespaces
    exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
    // bind timers to global for call from export context
    : IS_BIND && own ? ctx(out, global)
    // wrap global constructors for prevent change them in library
    : IS_WRAP && target[key] == out ? (function (C) {
      var F = function (a, b, c) {
        if (this instanceof C) {
          switch (arguments.length) {
            case 0: return new C();
            case 1: return new C(a);
            case 2: return new C(a, b);
          } return new C(a, b, c);
        } return C.apply(this, arguments);
      };
      F[PROTOTYPE] = C[PROTOTYPE];
      return F;
    // make static versions for prototype methods
    })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
    // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%
    if (IS_PROTO) {
      (exports.virtual || (exports.virtual = {}))[key] = out;
      // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%
      if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);
    }
  }
};
// type bitmap
$export.F = 1;   // forced
$export.G = 2;   // global
$export.S = 4;   // static
$export.P = 8;   // proto
$export.B = 16;  // bind
$export.W = 32;  // wrap
$export.U = 64;  // safe
$export.R = 128; // real proto method for `library`
module.exports = $export;


D
dolymood 已提交
295
/***/ }),
A
AmyFoxFN 已提交
296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312

/***/ 15:
/***/ (function(module, exports) {

module.exports = function (bitmap, value) {
  return {
    enumerable: !(bitmap & 1),
    configurable: !(bitmap & 2),
    writable: !(bitmap & 4),
    value: value
  };
};


/***/ }),

/***/ 16:
D
dolymood 已提交
313 314
/***/ (function(module, exports, __webpack_require__) {

A
AmyFoxFN 已提交
315 316 317 318 319 320 321 322 323 324 325 326 327 328
var shared = __webpack_require__(24)('keys');
var uid = __webpack_require__(19);
module.exports = function (key) {
  return shared[key] || (shared[key] = uid(key));
};


/***/ }),

/***/ 17:
/***/ (function(module, exports) {

var toString = {}.toString;

D
dolymood 已提交
329
module.exports = function (it) {
A
AmyFoxFN 已提交
330
  return toString.call(it).slice(8, -1);
D
dolymood 已提交
331 332 333
};


D
dolymood 已提交
334
/***/ }),
A
AmyFoxFN 已提交
335 336

/***/ 18:
D
dolymood 已提交
337 338
/***/ (function(module, exports, __webpack_require__) {

D
dolymood 已提交
339
// fallback for non-array-like ES3 and non-enumerable old V8 strings
A
AmyFoxFN 已提交
340
var cof = __webpack_require__(17);
D
dolymood 已提交
341 342 343 344 345 346 347 348
// eslint-disable-next-line no-prototype-builtins
module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
  return cof(it) == 'String' ? it.split('') : Object(it);
};


/***/ }),

A
AmyFoxFN 已提交
349 350 351 352 353
/***/ 19:
/***/ (function(module, exports) {

var id = 0;
var px = Math.random();
D
dolymood 已提交
354
module.exports = function (key) {
A
AmyFoxFN 已提交
355
  return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
D
dolymood 已提交
356 357 358 359
};


/***/ }),
A
AmyFoxFN 已提交
360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460

/***/ 197:
/***/ (function(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
  if (true) {
    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, exports, __webpack_require__(50), __webpack_require__(198)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
				__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
				(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
  } else if (typeof exports !== "undefined") {
    factory(module, exports, require('../../components/popup/popup.vue'), require('./api'));
  } else {
    var mod = {
      exports: {}
    };
    factory(mod, mod.exports, global.popup, global.api);
    global.index = mod.exports;
  }
})(this, function (module, exports, _popup, _api) {
  'use strict';

  Object.defineProperty(exports, "__esModule", {
    value: true
  });

  var _popup2 = _interopRequireDefault(_popup);

  var _api2 = _interopRequireDefault(_api);

  function _interopRequireDefault(obj) {
    return obj && obj.__esModule ? obj : {
      default: obj
    };
  }

  _popup2.default.install = function (Vue) {
    Vue.component(_popup2.default.name, _popup2.default);
    (0, _api2.default)(Vue, _popup2.default);
  };

  exports.default = _popup2.default;
  module.exports = exports['default'];
});

/***/ }),

/***/ 198:
/***/ (function(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
  if (true) {
    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, exports, __webpack_require__(43)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
				__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
				(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
  } else if (typeof exports !== "undefined") {
    factory(module, exports, require('../../common/helpers/create-api'));
  } else {
    var mod = {
      exports: {}
    };
    factory(mod, mod.exports, global.createApi);
    global.api = mod.exports;
  }
})(this, function (module, exports, _createApi) {
  'use strict';

  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.default = addPopup;

  var _createApi2 = _interopRequireDefault(_createApi);

  function _interopRequireDefault(obj) {
    return obj && obj.__esModule ? obj : {
      default: obj
    };
  }

  function addPopup(Vue, Popup) {
    (0, _createApi2.default)(Vue, Popup, ['mask-click'], true);
  }
  module.exports = exports['default'];
});

/***/ }),

/***/ 2:
/***/ (function(module, exports, __webpack_require__) {

// Thank's IE8 for his funny defineProperty
module.exports = !__webpack_require__(6)(function () {
  return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
});


/***/ }),

/***/ 20:
D
dolymood 已提交
461 462
/***/ (function(module, exports, __webpack_require__) {

D
dolymood 已提交
463
// optional / simple context binding
A
AmyFoxFN 已提交
464
var aFunction = __webpack_require__(26);
D
dolymood 已提交
465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486
module.exports = function (fn, that, length) {
  aFunction(fn);
  if (that === undefined) return fn;
  switch (length) {
    case 1: return function (a) {
      return fn.call(that, a);
    };
    case 2: return function (a, b) {
      return fn.call(that, a, b);
    };
    case 3: return function (a, b, c) {
      return fn.call(that, a, b, c);
    };
  }
  return function (/* ...args */) {
    return fn.apply(that, arguments);
  };
};


/***/ }),

A
AmyFoxFN 已提交
487 488
/***/ 21:
/***/ (function(module, exports, __webpack_require__) {
D
dolymood 已提交
489

A
AmyFoxFN 已提交
490 491 492
// 19.1.2.14 / 15.2.3.14 Object.keys(O)
var $keys = __webpack_require__(31);
var enumBugKeys = __webpack_require__(25);
D
dolymood 已提交
493

A
AmyFoxFN 已提交
494 495
module.exports = Object.keys || function keys(O) {
  return $keys(O, enumBugKeys);
D
dolymood 已提交
496 497 498 499
};


/***/ }),
A
AmyFoxFN 已提交
500 501

/***/ 22:
D
dolymood 已提交
502
/***/ (function(module, exports, __webpack_require__) {
D
dolymood 已提交
503

D
dolymood 已提交
504
// 7.1.13 ToObject(argument)
A
AmyFoxFN 已提交
505
var defined = __webpack_require__(12);
D
dolymood 已提交
506
module.exports = function (it) {
D
dolymood 已提交
507
  return Object(defined(it));
D
dolymood 已提交
508 509 510 511
};


/***/ }),
A
AmyFoxFN 已提交
512 513

/***/ 23:
D
dolymood 已提交
514 515
/***/ (function(module, exports, __webpack_require__) {

A
AmyFoxFN 已提交
516
var isObject = __webpack_require__(5);
D
dolymood 已提交
517 518 519 520 521 522 523 524 525
var document = __webpack_require__(0).document;
// typeof document.createElement is 'object' in old IE
var is = isObject(document) && isObject(document.createElement);
module.exports = function (it) {
  return is ? document.createElement(it) : {};
};


/***/ }),
A
AmyFoxFN 已提交
526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551

/***/ 24:
/***/ (function(module, exports, __webpack_require__) {

var global = __webpack_require__(0);
var SHARED = '__core-js_shared__';
var store = global[SHARED] || (global[SHARED] = {});
module.exports = function (key) {
  return store[key] || (store[key] = {});
};


/***/ }),

/***/ 25:
/***/ (function(module, exports) {

// IE 8- don't enum bug keys
module.exports = (
  'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
).split(',');


/***/ }),

/***/ 26:
D
dolymood 已提交
552
/***/ (function(module, exports) {
D
dolymood 已提交
553

D
dolymood 已提交
554
module.exports = function (it) {
D
dolymood 已提交
555 556
  if (typeof it != 'function') throw TypeError(it + ' is not a function!');
  return it;
D
dolymood 已提交
557 558 559 560
};


/***/ }),
A
AmyFoxFN 已提交
561 562

/***/ 27:
D
dolymood 已提交
563 564
/***/ (function(module, exports, __webpack_require__) {

A
AmyFoxFN 已提交
565 566 567 568 569 570
// 7.1.15 ToLength
var toInteger = __webpack_require__(13);
var min = Math.min;
module.exports = function (it) {
  return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
};
D
dolymood 已提交
571

A
AmyFoxFN 已提交
572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588

/***/ }),

/***/ 29:
/***/ (function(module, exports, __webpack_require__) {

// 7.1.1 ToPrimitive(input [, PreferredType])
var isObject = __webpack_require__(5);
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
// and the second argument - flag - preferred type is a string
module.exports = function (it, S) {
  if (!isObject(it)) return it;
  var fn, val;
  if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
  if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
  if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
  throw TypeError("Can't convert object to primitive value");
D
dolymood 已提交
589 590 591 592
};


/***/ }),
A
AmyFoxFN 已提交
593 594 595 596 597 598 599 600 601 602 603

/***/ 3:
/***/ (function(module, exports) {

var core = module.exports = { version: '2.5.3' };
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef


/***/ }),

/***/ 30:
D
dolymood 已提交
604 605
/***/ (function(module, exports, __webpack_require__) {

A
AmyFoxFN 已提交
606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631
module.exports = !__webpack_require__(2) && !__webpack_require__(6)(function () {
  return Object.defineProperty(__webpack_require__(23)('div'), 'a', { get: function () { return 7; } }).a != 7;
});


/***/ }),

/***/ 31:
/***/ (function(module, exports, __webpack_require__) {

var has = __webpack_require__(10);
var toIObject = __webpack_require__(11);
var arrayIndexOf = __webpack_require__(33)(false);
var IE_PROTO = __webpack_require__(16)('IE_PROTO');

module.exports = function (object, names) {
  var O = toIObject(object);
  var i = 0;
  var result = [];
  var key;
  for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
  // Don't enum bug & hidden keys
  while (names.length > i) if (has(O, key = names[i++])) {
    ~arrayIndexOf(result, key) || result.push(key);
  }
  return result;
D
dolymood 已提交
632 633 634 635
};


/***/ }),
A
AmyFoxFN 已提交
636 637 638 639 640 641 642 643 644 645

/***/ 32:
/***/ (function(module, exports) {

exports.f = {}.propertyIsEnumerable;


/***/ }),

/***/ 33:
D
dolymood 已提交
646 647
/***/ (function(module, exports, __webpack_require__) {

A
AmyFoxFN 已提交
648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669
// false -> Array#indexOf
// true  -> Array#includes
var toIObject = __webpack_require__(11);
var toLength = __webpack_require__(27);
var toAbsoluteIndex = __webpack_require__(34);
module.exports = function (IS_INCLUDES) {
  return function ($this, el, fromIndex) {
    var O = toIObject($this);
    var length = toLength(O.length);
    var index = toAbsoluteIndex(fromIndex, length);
    var value;
    // Array#includes uses SameValueZero equality algorithm
    // eslint-disable-next-line no-self-compare
    if (IS_INCLUDES && el != el) while (length > index) {
      value = O[index++];
      // eslint-disable-next-line no-self-compare
      if (value != value) return true;
    // Array#indexOf ignores holes, Array#includes - not
    } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
      if (O[index] === el) return IS_INCLUDES || index || 0;
    } return !IS_INCLUDES && -1;
  };
D
dolymood 已提交
670 671 672 673 674
};


/***/ }),

A
AmyFoxFN 已提交
675 676 677 678 679 680 681 682 683
/***/ 34:
/***/ (function(module, exports, __webpack_require__) {

var toInteger = __webpack_require__(13);
var max = Math.max;
var min = Math.min;
module.exports = function (index, length) {
  index = toInteger(index);
  return index < 0 ? max(index + length, 0) : min(index, length);
D
dolymood 已提交
684 685 686 687 688
};


/***/ }),

A
AmyFoxFN 已提交
689
/***/ 35:
D
dolymood 已提交
690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732
/***/ (function(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
  if (true) {
    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, exports], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
				__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
				(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
  } else if (typeof exports !== "undefined") {
    factory(module, exports);
  } else {
    var mod = {
      exports: {}
    };
    factory(mod, mod.exports);
    global.api = mod.exports;
  }
})(this, function (module, exports) {
  "use strict";

  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.default = {
    data: function data() {
      return {
        isVisible: false
      };
    },

    methods: {
      show: function show() {
        this.isVisible = true;
      },
      hide: function hide() {
        this.isVisible = false;
      }
    }
  };
  module.exports = exports["default"];
});

/***/ }),
A
AmyFoxFN 已提交
733 734

/***/ 36:
D
dolymood 已提交
735 736
/***/ (function(module, exports, __webpack_require__) {

D
dolymood 已提交
737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
  if (true) {
    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
				__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
				(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
  } else if (typeof exports !== "undefined") {
    factory(exports);
  } else {
    var mod = {
      exports: {}
    };
    factory(mod.exports);
    global.string = mod.exports;
  }
})(this, function (exports) {
  'use strict';
D
dolymood 已提交
754

D
dolymood 已提交
755 756 757 758 759 760 761 762 763 764 765 766
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.camelize = camelize;
  var camelizeRE = /-(\w)/g;
  function camelize(str) {
    str = String(str);
    return str.replace(camelizeRE, function (m, c) {
      return c ? c.toUpperCase() : '';
    });
  }
});
D
dolymood 已提交
767 768 769

/***/ }),

A
AmyFoxFN 已提交
770 771
/***/ 37:
/***/ (function(module, exports) {
D
dolymood 已提交
772

A
AmyFoxFN 已提交
773
exports.f = Object.getOwnPropertySymbols;
D
dolymood 已提交
774 775 776 777


/***/ }),

A
AmyFoxFN 已提交
778
/***/ 39:
D
dolymood 已提交
779 780
/***/ (function(module, exports, __webpack_require__) {

A
AmyFoxFN 已提交
781
module.exports = { "default": __webpack_require__(40), __esModule: true };
D
dolymood 已提交
782 783 784

/***/ }),

A
AmyFoxFN 已提交
785
/***/ 40:
D
dolymood 已提交
786 787
/***/ (function(module, exports, __webpack_require__) {

A
AmyFoxFN 已提交
788
__webpack_require__(41);
D
dolymood 已提交
789
module.exports = __webpack_require__(3).Object.assign;
D
dolymood 已提交
790 791 792


/***/ }),
A
AmyFoxFN 已提交
793 794

/***/ 41:
D
dolymood 已提交
795 796 797
/***/ (function(module, exports, __webpack_require__) {

// 19.1.3.1 Object.assign(target, source)
A
AmyFoxFN 已提交
798
var $export = __webpack_require__(14);
D
dolymood 已提交
799

A
AmyFoxFN 已提交
800
$export($export.S + $export.F, 'Object', { assign: __webpack_require__(42) });
D
dolymood 已提交
801 802 803


/***/ }),
A
AmyFoxFN 已提交
804 805

/***/ 42:
D
dolymood 已提交
806 807 808 809 810
/***/ (function(module, exports, __webpack_require__) {

"use strict";

// 19.1.2.1 Object.assign(target, source, ...)
A
AmyFoxFN 已提交
811 812 813 814 815
var getKeys = __webpack_require__(21);
var gOPS = __webpack_require__(37);
var pIE = __webpack_require__(32);
var toObject = __webpack_require__(22);
var IObject = __webpack_require__(18);
D
dolymood 已提交
816 817 818
var $assign = Object.assign;

// should work with symbols and should have deterministic property order (V8 bug)
A
AmyFoxFN 已提交
819
module.exports = !$assign || __webpack_require__(6)(function () {
D
dolymood 已提交
820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846
  var A = {};
  var B = {};
  // eslint-disable-next-line no-undef
  var S = Symbol();
  var K = 'abcdefghijklmnopqrst';
  A[S] = 7;
  K.split('').forEach(function (k) { B[k] = k; });
  return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars
  var T = toObject(target);
  var aLen = arguments.length;
  var index = 1;
  var getSymbols = gOPS.f;
  var isEnum = pIE.f;
  while (aLen > index) {
    var S = IObject(arguments[index++]);
    var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);
    var length = keys.length;
    var j = 0;
    var key;
    while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key];
  } return T;
} : $assign;


/***/ }),

A
AmyFoxFN 已提交
847
/***/ 43:
D
dolymood 已提交
848 849
/***/ (function(module, exports, __webpack_require__) {

D
dolymood 已提交
850 851
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
  if (true) {
A
AmyFoxFN 已提交
852
    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, exports, __webpack_require__(36), __webpack_require__(46)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
D
dolymood 已提交
853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892
				__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
				(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
  } else if (typeof exports !== "undefined") {
    factory(module, exports, require('../lang/string'), require('./create-api-component'));
  } else {
    var mod = {
      exports: {}
    };
    factory(mod, mod.exports, global.string, global.createApiComponent);
    global.createApi = mod.exports;
  }
})(this, function (module, exports, _string, _createApiComponent) {
  'use strict';

  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.default = createAPI;

  var _createApiComponent2 = _interopRequireDefault(_createApiComponent);

  function _interopRequireDefault(obj) {
    return obj && obj.__esModule ? obj : {
      default: obj
    };
  }

  function createAPI(Vue, Component, events, single) {
    var api = _createApiComponent2.default.apply(this, arguments);
    var name = Component.name;
    var pureName = name.replace(/^cube-/i, '');
    var createName = '$' + (0, _string.camelize)('create-' + pureName);
    Vue.prototype[createName] = api.create;
    return api;
  }
  module.exports = exports['default'];
});

/***/ }),
A
AmyFoxFN 已提交
893 894

/***/ 45:
D
dolymood 已提交
895 896 897 898 899 900 901
/***/ (function(module, exports, __webpack_require__) {

"use strict";


exports.__esModule = true;

A
AmyFoxFN 已提交
902
var _assign = __webpack_require__(39);
D
dolymood 已提交
903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922

var _assign2 = _interopRequireDefault(_assign);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = _assign2.default || function (target) {
  for (var i = 1; i < arguments.length; i++) {
    var source = arguments[i];

    for (var key in source) {
      if (Object.prototype.hasOwnProperty.call(source, key)) {
        target[key] = source[key];
      }
    }
  }

  return target;
};

/***/ }),
A
AmyFoxFN 已提交
923 924

/***/ 46:
D
dolymood 已提交
925 926 927 928
/***/ (function(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
  if (true) {
A
AmyFoxFN 已提交
929
    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, exports, __webpack_require__(47), __webpack_require__(48)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
D
dolymood 已提交
930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965
				__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
				(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
  } else if (typeof exports !== "undefined") {
    factory(module, exports, require('./instantiate-component'), require('./parse-render-data'));
  } else {
    var mod = {
      exports: {}
    };
    factory(mod, mod.exports, global.instantiateComponent, global.parseRenderData);
    global.createApiComponent = mod.exports;
  }
})(this, function (module, exports, _instantiateComponent, _parseRenderData) {
  'use strict';

  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.default = createAPIComponent;

  var _instantiateComponent2 = _interopRequireDefault(_instantiateComponent);

  var _parseRenderData2 = _interopRequireDefault(_parseRenderData);

  function _interopRequireDefault(obj) {
    return obj && obj.__esModule ? obj : {
      default: obj
    };
  }

  function createAPIComponent(Vue, Component) {
    var events = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
    var single = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;

    var singleComponent = void 0;
    var singleInstance = void 0;
D
dolymood 已提交
966
    var beforeFns = [];
D
dolymood 已提交
967
    var api = {
D
dolymood 已提交
968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983
      before: function before(fn) {
        beforeFns.push(fn);
      },
      open: function open(data, renderFn, instanceSingle) {
        if (typeof renderFn !== 'function') {
          instanceSingle = renderFn;
          renderFn = null;
        }
        beforeFns.forEach(function (before) {
          before(data, renderFn, instanceSingle);
        });
        if (instanceSingle === undefined) {
          instanceSingle = single;
        }
        if (instanceSingle && singleComponent) {
          singleInstance.updateRenderData(data, renderFn);
D
dolymood 已提交
984 985 986 987 988 989 990 991 992
          singleInstance.$forceUpdate();

          return singleComponent;
        }
        var component = (0, _instantiateComponent2.default)(Vue, Component, data, renderFn);
        var instance = component.$parent;
        var originRemove = component.remove;

        component.remove = function () {
D
dolymood 已提交
993 994 995
          if (instance.__cube__destroyed) {
            return;
          }
D
dolymood 已提交
996 997
          originRemove && originRemove.call(this);
          instance.destroy();
D
dolymood 已提交
998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012
          instance.__cube__destroyed = true;
          if (instanceSingle) {
            singleComponent = null;
            singleInstance = null;
          }
        };
        var originShow = component.show;
        component.show = function () {
          originShow && originShow.call(this);
          return this;
        };
        var originHide = component.hide;
        component.hide = function () {
          originHide && originHide.call(this);
          return this;
D
dolymood 已提交
1013
        };
D
dolymood 已提交
1014
        if (instanceSingle) {
D
dolymood 已提交
1015 1016 1017 1018 1019 1020
          singleComponent = component;
          singleInstance = instance;
        }

        return component;
      },
D
dolymood 已提交
1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035
      create: function create(config, renderFn, single) {
        var ownerInstance = this;
        var component = api.open((0, _parseRenderData2.default)(config, events), renderFn, single);
        if (component.__cube__parent !== ownerInstance) {
          component.__cube__parent = ownerInstance;
          var beforeDestroy = function beforeDestroy() {
            if (component.__cube__parent === ownerInstance) {
              component.remove();
            }
            ownerInstance.$off('hook:beforeDestroy', beforeDestroy);
            component.__cube__parent = null;
          };
          ownerInstance.$on('hook:beforeDestroy', beforeDestroy);
        }
        return component;
D
dolymood 已提交
1036 1037 1038 1039 1040 1041 1042 1043
      }
    };
    return api;
  }
  module.exports = exports['default'];
});

/***/ }),
A
AmyFoxFN 已提交
1044 1045

/***/ 47:
D
dolymood 已提交
1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071
/***/ (function(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
  if (true) {
    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, exports], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
				__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
				(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
  } else if (typeof exports !== "undefined") {
    factory(module, exports);
  } else {
    var mod = {
      exports: {}
    };
    factory(mod, mod.exports);
    global.instantiateComponent = mod.exports;
  }
})(this, function (module, exports) {
  "use strict";

  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.default = instantiateComponent;
  function instantiateComponent(Vue, Component, data, renderFn) {
    var renderData = void 0;
D
dolymood 已提交
1072
    var childrenRenderFn = void 0;
D
dolymood 已提交
1073 1074
    var instance = new Vue({
      render: function render(createElement) {
D
dolymood 已提交
1075 1076 1077 1078 1079
        var children = childrenRenderFn && childrenRenderFn(createElement);
        if (children && !Array.isArray(children)) {
          children = [children];
        }
        return createElement(Component, renderData, children || []);
D
dolymood 已提交
1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091
      },

      methods: {
        init: function init() {
          document.body.appendChild(this.$el);
        },
        destroy: function destroy() {
          this.$destroy();
          document.body.removeChild(this.$el);
        }
      }
    });
D
dolymood 已提交
1092
    instance.updateRenderData = function (data, render) {
D
dolymood 已提交
1093
      renderData = data;
D
dolymood 已提交
1094
      childrenRenderFn = render;
D
dolymood 已提交
1095
    };
D
dolymood 已提交
1096
    instance.updateRenderData(data, renderFn);
D
dolymood 已提交
1097 1098 1099 1100 1101 1102 1103 1104 1105
    instance.$mount();
    instance.init();
    var component = instance.$children[0];
    return component;
  }
  module.exports = exports["default"];
});

/***/ }),
A
AmyFoxFN 已提交
1106 1107

/***/ 48:
D
dolymood 已提交
1108 1109 1110 1111
/***/ (function(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
  if (true) {
A
AmyFoxFN 已提交
1112
    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, exports, __webpack_require__(45), __webpack_require__(36)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
D
dolymood 已提交
1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173
				__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
				(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
  } else if (typeof exports !== "undefined") {
    factory(module, exports, require('babel-runtime/helpers/extends'), require('../lang/string'));
  } else {
    var mod = {
      exports: {}
    };
    factory(mod, mod.exports, global._extends, global.string);
    global.parseRenderData = mod.exports;
  }
})(this, function (module, exports, _extends2, _string) {
  'use strict';

  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.default = parseRenderData;

  var _extends3 = _interopRequireDefault(_extends2);

  function _interopRequireDefault(obj) {
    return obj && obj.__esModule ? obj : {
      default: obj
    };
  }

  function parseRenderData() {
    var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    var events = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

    events = parseEvents(events);
    var props = (0, _extends3.default)({}, data);
    var on = {};
    for (var name in events) {
      if (events.hasOwnProperty(name)) {
        var handlerName = events[name];
        if (props[handlerName]) {
          on[name] = props[handlerName];
          delete props[handlerName];
        }
      }
    }
    return {
      props: props,
      on: on
    };
  }

  function parseEvents(events) {
    var parsedEvents = {};
    events.forEach(function (name) {
      parsedEvents[name] = (0, _string.camelize)('on-' + name);
    });
    return parsedEvents;
  }
  module.exports = exports['default'];
});

/***/ }),
A
AmyFoxFN 已提交
1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185

/***/ 5:
/***/ (function(module, exports) {

module.exports = function (it) {
  return typeof it === 'object' ? it !== null : typeof it === 'function';
};


/***/ }),

/***/ 50:
D
dolymood 已提交
1186 1187 1188
/***/ (function(module, exports, __webpack_require__) {

function injectStyle (ssrContext) {
A
AmyFoxFN 已提交
1189
  __webpack_require__(51)
D
dolymood 已提交
1190
}
A
AmyFoxFN 已提交
1191
var Component = __webpack_require__(1)(
D
dolymood 已提交
1192
  /* script */
A
AmyFoxFN 已提交
1193
  __webpack_require__(52),
D
dolymood 已提交
1194
  /* template */
A
AmyFoxFN 已提交
1195
  __webpack_require__(53),
D
dolymood 已提交
1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207
  /* styles */
  injectStyle,
  /* scopeId */
  null,
  /* moduleIdentifier (server only) */
  null
)

module.exports = Component.exports


/***/ }),
A
AmyFoxFN 已提交
1208 1209

/***/ 51:
D
dolymood 已提交
1210 1211 1212 1213 1214
/***/ (function(module, exports) {

// removed by extract-text-webpack-plugin

/***/ }),
A
AmyFoxFN 已提交
1215 1216

/***/ 52:
D
dolymood 已提交
1217 1218 1219 1220
/***/ (function(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
  if (true) {
A
AmyFoxFN 已提交
1221
    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, exports, __webpack_require__(35)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
D
dolymood 已提交
1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270
				__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
				(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
  } else if (typeof exports !== "undefined") {
    factory(module, exports, require('../../common/mixins/api'));
  } else {
    var mod = {
      exports: {}
    };
    factory(mod, mod.exports, global.api);
    global.popup = mod.exports;
  }
})(this, function (module, exports, _api) {
  'use strict';

  Object.defineProperty(exports, "__esModule", {
    value: true
  });

  var _api2 = _interopRequireDefault(_api);

  function _interopRequireDefault(obj) {
    return obj && obj.__esModule ? obj : {
      default: obj
    };
  }

  var COMPONENT_NAME = 'cube-popup';
  var EVENT_MASK_CLICK = 'mask-click';

  exports.default = {
    name: COMPONENT_NAME,
    mixins: [_api2.default],
    props: {
      type: {
        type: String,
        default: ''
      },
      mask: {
        type: Boolean,
        default: true
      },
      content: {
        type: String,
        default: ''
      },
      center: {
        type: Boolean,
        default: true
A
AmyFoxFN 已提交
1271 1272 1273 1274
      },
      zIndex: {
        type: Number,
        default: 100
D
dolymood 已提交
1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291
      }
    },
    computed: {
      typeClass: function typeClass() {
        return this.type ? 'cube-' + this.type : '';
      }
    },
    methods: {
      maskClick: function maskClick(e) {
        this.$emit(EVENT_MASK_CLICK, e);
      }
    }
  };
  module.exports = exports['default'];
});

/***/ }),
A
AmyFoxFN 已提交
1292 1293

/***/ 53:
D
dolymood 已提交
1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    directives: [{
      name: "show",
      rawName: "v-show",
      value: (_vm.isVisible),
      expression: "isVisible"
    }],
    staticClass: "cube-popup",
A
AmyFoxFN 已提交
1305 1306 1307 1308
    class: _vm.typeClass,
    style: ({
      'z-index': _vm.zIndex
    })
D
dolymood 已提交
1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336
  }, [_c('div', {
    directives: [{
      name: "show",
      rawName: "v-show",
      value: (_vm.mask),
      expression: "mask"
    }],
    staticClass: "cube-popup-mask",
    on: {
      "click": _vm.maskClick
    }
  }, [_vm._t("mask")], 2), _vm._v(" "), _c('div', {
    staticClass: "cube-popup-container",
    class: {
      'cube-popup-center': _vm.center
    }
  }, [(_vm.$slots.default) ? _c('div', {
    staticClass: "cube-popup-content"
  }, [_vm._t("default")], 2) : _c('div', {
    staticClass: "cube-popup-content",
    domProps: {
      "innerHTML": _vm._s(_vm.content)
    }
  })])])
},staticRenderFns: []}

/***/ }),

A
AmyFoxFN 已提交
1337 1338
/***/ 6:
/***/ (function(module, exports) {
D
dolymood 已提交
1339

A
AmyFoxFN 已提交
1340 1341 1342 1343 1344 1345 1346
module.exports = function (exec) {
  try {
    return !!exec();
  } catch (e) {
    return true;
  }
};
D
dolymood 已提交
1347 1348


A
AmyFoxFN 已提交
1349
/***/ }),
D
dolymood 已提交
1350

A
AmyFoxFN 已提交
1351 1352
/***/ 7:
/***/ (function(module, exports, __webpack_require__) {
D
dolymood 已提交
1353

A
AmyFoxFN 已提交
1354 1355 1356 1357 1358 1359 1360 1361
var dP = __webpack_require__(9);
var createDesc = __webpack_require__(15);
module.exports = __webpack_require__(2) ? function (object, key, value) {
  return dP.f(object, key, createDesc(1, value));
} : function (object, key, value) {
  object[key] = value;
  return object;
};
D
dolymood 已提交
1362 1363 1364


/***/ }),
A
AmyFoxFN 已提交
1365 1366

/***/ 8:
D
dolymood 已提交
1367 1368
/***/ (function(module, exports, __webpack_require__) {

A
AmyFoxFN 已提交
1369 1370 1371 1372 1373
var isObject = __webpack_require__(5);
module.exports = function (it) {
  if (!isObject(it)) throw TypeError(it + ' is not an object!');
  return it;
};
D
dolymood 已提交
1374 1375


A
AmyFoxFN 已提交
1376
/***/ }),
D
dolymood 已提交
1377

A
AmyFoxFN 已提交
1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396
/***/ 9:
/***/ (function(module, exports, __webpack_require__) {

var anObject = __webpack_require__(8);
var IE8_DOM_DEFINE = __webpack_require__(30);
var toPrimitive = __webpack_require__(29);
var dP = Object.defineProperty;

exports.f = __webpack_require__(2) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
  anObject(O);
  P = toPrimitive(P, true);
  anObject(Attributes);
  if (IE8_DOM_DEFINE) try {
    return dP(O, P, Attributes);
  } catch (e) { /* empty */ }
  if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
  if ('value' in Attributes) O[P] = Attributes.value;
  return O;
};
D
dolymood 已提交
1397 1398 1399


/***/ })
A
AmyFoxFN 已提交
1400 1401

/******/ });