Socket
Socket
Sign inDemoInstall

vue-play

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-play - npm Package Compare versions

Comparing version 2.2.0 to 3.0.0

app.js

1507

dist/play.js

@@ -37,12 +37,14 @@ module.exports =

/******/ // identity function for calling harmory imports with the correct context
/******/ // identity function for calling harmony imports with the correct context
/******/ __webpack_require__.i = function(value) { return value; };
/******/ // define getter function for harmory exports
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ Object.defineProperty(exports, name, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter
/******/ });
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter
/******/ });
/******/ }
/******/ };

@@ -66,1466 +68,23 @@

/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 137);
/******/ return __webpack_require__(__webpack_require__.s = 6);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ 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 : Function('return this')();
if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
/***/ 6:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
/***/ },
/* 1 */
/***/ function(module, exports) {
var core = module.exports = {version: '2.4.0'};
if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
/***/ },
/* 2 */
/***/ function(module, exports, __webpack_require__) {
// Thank's IE8 for his funny defineProperty
module.exports = !__webpack_require__(3)(function(){
return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;
});
/***/ },
/* 3 */
/***/ function(module, exports) {
module.exports = function(exec){
try {
return !!exec();
} catch(e){
return true;
}
};
/***/ },
/* 4 */
/***/ function(module, exports) {
var hasOwnProperty = {}.hasOwnProperty;
module.exports = function(it, key){
return hasOwnProperty.call(it, key);
};
/***/ },
/* 5 */
/***/ function(module, exports, __webpack_require__) {
var store = __webpack_require__(20)('wks')
, uid = __webpack_require__(18)
, Symbol = __webpack_require__(0).Symbol
, USE_SYMBOL = typeof Symbol == 'function';
var $exports = module.exports = function(name){
return store[name] || (store[name] =
USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
};
$exports.store = store;
/***/ },
/* 6 */
/***/ function(module, exports, __webpack_require__) {
var dP = __webpack_require__(7)
, createDesc = __webpack_require__(14);
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;
};
/***/ },
/* 7 */
/***/ function(module, exports, __webpack_require__) {
var anObject = __webpack_require__(10)
, IE8_DOM_DEFINE = __webpack_require__(30)
, toPrimitive = __webpack_require__(26)
, 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;
};
/***/ },
/* 8 */
/***/ function(module, exports, __webpack_require__) {
// to indexed object, toObject with fallback for non-array-like ES3 strings
var IObject = __webpack_require__(24)
, defined = __webpack_require__(12);
module.exports = function(it){
return IObject(defined(it));
};
/***/ },
/* 9 */
/***/ function(module, exports) {
module.exports = function(it){
return typeof it === 'object' ? it !== null : typeof it === 'function';
};
/***/ },
/* 10 */
/***/ function(module, exports, __webpack_require__) {
var isObject = __webpack_require__(9);
module.exports = function(it){
if(!isObject(it))throw TypeError(it + ' is not an object!');
return it;
};
/***/ },
/* 11 */
/***/ function(module, exports, __webpack_require__) {
// 19.1.2.14 / 15.2.3.14 Object.keys(O)
var $keys = __webpack_require__(31)
, enumBugKeys = __webpack_require__(19);
module.exports = Object.keys || function keys(O){
return $keys(O, enumBugKeys);
};
/***/ },
/* 12 */
/***/ 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;
};
/***/ },
/* 13 */
/***/ function(module, exports, __webpack_require__) {
var global = __webpack_require__(0)
, core = __webpack_require__(1)
, ctx = __webpack_require__(29)
, hide = __webpack_require__(6)
, PROTOTYPE = 'prototype';
var $export = function(type, name, source){
var IS_FORCED = type & $export.F
, IS_GLOBAL = type & $export.G
, IS_STATIC = type & $export.S
, IS_PROTO = type & $export.P
, IS_BIND = type & $export.B
, IS_WRAP = type & $export.W
, exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
, expProto = exports[PROTOTYPE]
, target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]
, 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;
/***/ },
/* 14 */
/***/ function(module, exports) {
module.exports = function(bitmap, value){
return {
enumerable : !(bitmap & 1),
configurable: !(bitmap & 2),
writable : !(bitmap & 4),
value : value
};
};
/***/ },
/* 15 */
/***/ function(module, exports) {
// 7.1.4 ToInteger
var ceil = Math.ceil
, floor = Math.floor;
module.exports = function(it){
return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
};
/***/ },
/* 16 */
/***/ function(module, exports, __webpack_require__) {
var shared = __webpack_require__(20)('keys')
, uid = __webpack_require__(18);
module.exports = function(key){
return shared[key] || (shared[key] = uid(key));
};
/***/ },
/* 17 */
/***/ function(module, exports, __webpack_require__) {
// 7.1.13 ToObject(argument)
var defined = __webpack_require__(12);
module.exports = function(it){
return Object(defined(it));
};
/***/ },
/* 18 */
/***/ function(module, exports) {
var id = 0
, px = Math.random();
module.exports = function(key){
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
};
/***/ },
/* 19 */
/***/ function(module, exports) {
// IE 8- don't enum bug keys
module.exports = (
'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
).split(',');
/***/ },
/* 20 */
/***/ function(module, exports, __webpack_require__) {
var global = __webpack_require__(0)
, SHARED = '__core-js_shared__'
, store = global[SHARED] || (global[SHARED] = {});
module.exports = function(key){
return store[key] || (store[key] = {});
};
/***/ },
/* 21 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "play", function() { return play; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getSpots", function() { return getSpots; });
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
exports.__esModule = true;
var DEV = "production" === 'development';
var _assign = __webpack_require__(48);
var spots = {};
var _assign2 = _interopRequireDefault(_assign);
var play = function play(spot) {
var isSpotComponent = (typeof spot === 'undefined' ? 'undefined' : _typeof(spot)) === 'object';
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;
};
/***/ },
/* 22 */
/***/ function(module, exports) {
var toString = {}.toString;
module.exports = function(it){
return toString.call(it).slice(8, -1);
};
/***/ },
/* 23 */
/***/ function(module, exports, __webpack_require__) {
var isObject = __webpack_require__(9)
, document = __webpack_require__(0).document
// in old IE typeof document.createElement is 'object'
, is = isObject(document) && isObject(document.createElement);
module.exports = function(it){
return is ? document.createElement(it) : {};
};
/***/ },
/* 24 */
/***/ function(module, exports, __webpack_require__) {
// fallback for non-array-like ES3 and non-enumerable old V8 strings
var cof = __webpack_require__(22);
module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){
return cof(it) == 'String' ? it.split('') : Object(it);
};
/***/ },
/* 25 */
/***/ function(module, exports) {
module.exports = {};
/***/ },
/* 26 */
/***/ function(module, exports, __webpack_require__) {
// 7.1.1 ToPrimitive(input [, PreferredType])
var isObject = __webpack_require__(9);
// 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");
};
/***/ },
/* 27 */,
/* 28 */,
/* 29 */
/***/ function(module, exports, __webpack_require__) {
// optional / simple context binding
var aFunction = __webpack_require__(35);
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);
};
};
/***/ },
/* 30 */
/***/ function(module, exports, __webpack_require__) {
module.exports = !__webpack_require__(2) && !__webpack_require__(3)(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__(4)
, toIObject = __webpack_require__(8)
, arrayIndexOf = __webpack_require__(36)(false)
, IE_PROTO = __webpack_require__(16)('IE_PROTO');
module.exports = function(object, names){
var O = toIObject(object)
, i = 0
, result = []
, 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;
};
/***/ },
/* 32 */
/***/ function(module, exports) {
exports.f = {}.propertyIsEnumerable;
/***/ },
/* 33 */
/***/ function(module, exports, __webpack_require__) {
var def = __webpack_require__(7).f
, has = __webpack_require__(4)
, TAG = __webpack_require__(5)('toStringTag');
module.exports = function(it, tag, stat){
if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});
};
/***/ },
/* 34 */
/***/ function(module, exports, __webpack_require__) {
// 7.1.15 ToLength
var toInteger = __webpack_require__(15)
, min = Math.min;
module.exports = function(it){
return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
};
/***/ },
/* 35 */
/***/ function(module, exports) {
module.exports = function(it){
if(typeof it != 'function')throw TypeError(it + ' is not a function!');
return it;
};
/***/ },
/* 36 */
/***/ function(module, exports, __webpack_require__) {
// false -> Array#indexOf
// true -> Array#includes
var toIObject = __webpack_require__(8)
, toLength = __webpack_require__(34)
, toIndex = __webpack_require__(39);
module.exports = function(IS_INCLUDES){
return function($this, el, fromIndex){
var O = toIObject($this)
, length = toLength(O.length)
, index = toIndex(fromIndex, length)
, value;
// Array#includes uses SameValueZero equality algorithm
if(IS_INCLUDES && el != el)while(length > index){
value = O[index++];
if(value != value)return true;
// Array#toIndex 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;
};
};
/***/ },
/* 37 */
/***/ function(module, exports) {
module.exports = true;
/***/ },
/* 38 */
/***/ function(module, exports) {
exports.f = Object.getOwnPropertySymbols;
/***/ },
/* 39 */
/***/ function(module, exports, __webpack_require__) {
var toInteger = __webpack_require__(15)
, max = Math.max
, min = Math.min;
module.exports = function(index, length){
index = toInteger(index);
return index < 0 ? max(index + length, 0) : min(index, length);
};
/***/ },
/* 40 */,
/* 41 */,
/* 42 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';
var LIBRARY = __webpack_require__(37)
, $export = __webpack_require__(13)
, redefine = __webpack_require__(44)
, hide = __webpack_require__(6)
, has = __webpack_require__(4)
, Iterators = __webpack_require__(25)
, $iterCreate = __webpack_require__(53)
, setToStringTag = __webpack_require__(33)
, getPrototypeOf = __webpack_require__(56)
, ITERATOR = __webpack_require__(5)('iterator')
, BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`
, FF_ITERATOR = '@@iterator'
, KEYS = 'keys'
, VALUES = 'values';
var returnThis = function(){ return this; };
module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){
$iterCreate(Constructor, NAME, next);
var getMethod = function(kind){
if(!BUGGY && kind in proto)return proto[kind];
switch(kind){
case KEYS: return function keys(){ return new Constructor(this, kind); };
case VALUES: return function values(){ return new Constructor(this, kind); };
} return function entries(){ return new Constructor(this, kind); };
};
var TAG = NAME + ' Iterator'
, DEF_VALUES = DEFAULT == VALUES
, VALUES_BUG = false
, proto = Base.prototype
, $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]
, $default = $native || getMethod(DEFAULT)
, $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined
, $anyNative = NAME == 'Array' ? proto.entries || $native : $native
, methods, key, IteratorPrototype;
// Fix native
if($anyNative){
IteratorPrototype = getPrototypeOf($anyNative.call(new Base));
if(IteratorPrototype !== Object.prototype){
// Set @@toStringTag to native iterators
setToStringTag(IteratorPrototype, TAG, true);
// fix for some old engines
if(!LIBRARY && !has(IteratorPrototype, ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis);
}
}
// fix Array#{values, @@iterator}.name in V8 / FF
if(DEF_VALUES && $native && $native.name !== VALUES){
VALUES_BUG = true;
$default = function values(){ return $native.call(this); };
}
// Define iterator
if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){
hide(proto, ITERATOR, $default);
}
// Plug for library
Iterators[NAME] = $default;
Iterators[TAG] = returnThis;
if(DEFAULT){
methods = {
values: DEF_VALUES ? $default : getMethod(VALUES),
keys: IS_SET ? $default : getMethod(KEYS),
entries: $entries
};
if(FORCED)for(key in methods){
if(!(key in proto))redefine(proto, key, methods[key]);
} else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
}
return methods;
};
/***/ },
/* 43 */
/***/ function(module, exports, __webpack_require__) {
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
var anObject = __webpack_require__(10)
, dPs = __webpack_require__(55)
, enumBugKeys = __webpack_require__(19)
, IE_PROTO = __webpack_require__(16)('IE_PROTO')
, Empty = function(){ /* empty */ }
, PROTOTYPE = 'prototype';
// Create object with fake `null` prototype: use iframe Object with cleared prototype
var createDict = function(){
// Thrash, waste and sodomy: IE GC bug
var iframe = __webpack_require__(23)('iframe')
, i = enumBugKeys.length
, lt = '<'
, gt = '>'
, iframeDocument;
iframe.style.display = 'none';
__webpack_require__(52).appendChild(iframe);
iframe.src = 'javascript:'; // eslint-disable-line no-script-url
// createDict = iframe.contentWindow.Object;
// html.removeChild(iframe);
iframeDocument = iframe.contentWindow.document;
iframeDocument.open();
iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
iframeDocument.close();
createDict = iframeDocument.F;
while(i--)delete createDict[PROTOTYPE][enumBugKeys[i]];
return createDict();
};
module.exports = Object.create || function create(O, Properties){
var result;
if(O !== null){
Empty[PROTOTYPE] = anObject(O);
result = new Empty;
Empty[PROTOTYPE] = null;
// add "__proto__" for Object.getPrototypeOf polyfill
result[IE_PROTO] = O;
} else result = createDict();
return Properties === undefined ? result : dPs(result, Properties);
};
/***/ },
/* 44 */
/***/ function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(6);
/***/ },
/* 45 */,
/* 46 */,
/* 47 */,
/* 48 */
/***/ function(module, exports, __webpack_require__) {
module.exports = { "default": __webpack_require__(50), __esModule: true };
/***/ },
/* 49 */,
/* 50 */
/***/ function(module, exports, __webpack_require__) {
__webpack_require__(61);
module.exports = __webpack_require__(1).Object.assign;
/***/ },
/* 51 */,
/* 52 */
/***/ function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(0).document && document.documentElement;
/***/ },
/* 53 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';
var create = __webpack_require__(43)
, descriptor = __webpack_require__(14)
, setToStringTag = __webpack_require__(33)
, IteratorPrototype = {};
// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
__webpack_require__(6)(IteratorPrototype, __webpack_require__(5)('iterator'), function(){ return this; });
module.exports = function(Constructor, NAME, next){
Constructor.prototype = create(IteratorPrototype, {next: descriptor(1, next)});
setToStringTag(Constructor, NAME + ' Iterator');
};
/***/ },
/* 54 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';
// 19.1.2.1 Object.assign(target, source, ...)
var getKeys = __webpack_require__(11)
, gOPS = __webpack_require__(38)
, pIE = __webpack_require__(32)
, toObject = __webpack_require__(17)
, IObject = __webpack_require__(24)
, $assign = Object.assign;
// should work with symbols and should have deterministic property order (V8 bug)
module.exports = !$assign || __webpack_require__(3)(function(){
var A = {}
, B = {}
, S = Symbol()
, 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)
, aLen = arguments.length
, index = 1
, getSymbols = gOPS.f
, isEnum = pIE.f;
while(aLen > index){
var S = IObject(arguments[index++])
, keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)
, length = keys.length
, j = 0
, key;
while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];
} return T;
} : $assign;
/***/ },
/* 55 */
/***/ function(module, exports, __webpack_require__) {
var dP = __webpack_require__(7)
, anObject = __webpack_require__(10)
, getKeys = __webpack_require__(11);
module.exports = __webpack_require__(2) ? Object.defineProperties : function defineProperties(O, Properties){
anObject(O);
var keys = getKeys(Properties)
, length = keys.length
, i = 0
, P;
while(length > i)dP.f(O, P = keys[i++], Properties[P]);
return O;
};
/***/ },
/* 56 */
/***/ function(module, exports, __webpack_require__) {
// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
var has = __webpack_require__(4)
, toObject = __webpack_require__(17)
, IE_PROTO = __webpack_require__(16)('IE_PROTO')
, ObjectProto = Object.prototype;
module.exports = Object.getPrototypeOf || function(O){
O = toObject(O);
if(has(O, IE_PROTO))return O[IE_PROTO];
if(typeof O.constructor == 'function' && O instanceof O.constructor){
return O.constructor.prototype;
} return O instanceof Object ? ObjectProto : null;
};
/***/ },
/* 57 */,
/* 58 */
/***/ function(module, exports, __webpack_require__) {
var toInteger = __webpack_require__(15)
, defined = __webpack_require__(12);
// true -> String#at
// false -> String#codePointAt
module.exports = function(TO_STRING){
return function(that, pos){
var s = String(defined(that))
, i = toInteger(pos)
, l = s.length
, a, b;
if(i < 0 || i >= l)return TO_STRING ? '' : undefined;
a = s.charCodeAt(i);
return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
? TO_STRING ? s.charAt(i) : a
: TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
};
};
/***/ },
/* 59 */
/***/ function(module, exports, __webpack_require__) {
var global = __webpack_require__(0)
, core = __webpack_require__(1)
, LIBRARY = __webpack_require__(37)
, wksExt = __webpack_require__(60)
, defineProperty = __webpack_require__(7).f;
module.exports = function(name){
var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
if(name.charAt(0) != '_' && !(name in $Symbol))defineProperty($Symbol, name, {value: wksExt.f(name)});
};
/***/ },
/* 60 */
/***/ function(module, exports, __webpack_require__) {
exports.f = __webpack_require__(5);
/***/ },
/* 61 */
/***/ function(module, exports, __webpack_require__) {
// 19.1.3.1 Object.assign(target, source)
var $export = __webpack_require__(13);
$export($export.S + $export.F, 'Object', {assign: __webpack_require__(54)});
/***/ },
/* 62 */,
/* 63 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';
var $at = __webpack_require__(58)(true);
// 21.1.3.27 String.prototype[@@iterator]()
__webpack_require__(42)(String, 'String', function(iterated){
this._t = String(iterated); // target
this._i = 0; // next index
// 21.1.5.2.1 %StringIteratorPrototype%.next()
}, function(){
var O = this._t
, index = this._i
, point;
if(index >= O.length)return {value: undefined, done: true};
point = $at(O, index);
this._i += point.length;
return {value: point, done: false};
});
/***/ },
/* 64 */,
/* 65 */,
/* 66 */,
/* 67 */,
/* 68 */
/***/ function(module, exports, __webpack_require__) {
// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
var $keys = __webpack_require__(31)
, hiddenKeys = __webpack_require__(19).concat('length', 'prototype');
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O){
return $keys(O, hiddenKeys);
};
/***/ },
/* 69 */,
/* 70 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
"use strict";
exports.__esModule = true;
var _iterator = __webpack_require__(84);
var _iterator2 = _interopRequireDefault(_iterator);
var _symbol = __webpack_require__(83);
var _symbol2 = _interopRequireDefault(_symbol);
var _typeof = typeof _symbol2.default === "function" && typeof _iterator2.default === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj; };
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = typeof _symbol2.default === "function" && _typeof(_iterator2.default) === "symbol" ? function (obj) {
return typeof obj === "undefined" ? "undefined" : _typeof(obj);
} : function (obj) {
return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj === "undefined" ? "undefined" : _typeof(obj);
};
/***/ },
/* 71 */,
/* 72 */,
/* 73 */,
/* 74 */,
/* 75 */,
/* 76 */,
/* 77 */,
/* 78 */,
/* 79 */,
/* 80 */,
/* 81 */,
/* 82 */,
/* 83 */
/***/ function(module, exports, __webpack_require__) {
module.exports = { "default": __webpack_require__(87), __esModule: true };
/***/ },
/* 84 */
/***/ function(module, exports, __webpack_require__) {
module.exports = { "default": __webpack_require__(88), __esModule: true };
/***/ },
/* 85 */,
/* 86 */,
/* 87 */
/***/ function(module, exports, __webpack_require__) {
__webpack_require__(106);
__webpack_require__(105);
__webpack_require__(107);
__webpack_require__(108);
module.exports = __webpack_require__(1).Symbol;
/***/ },
/* 88 */
/***/ function(module, exports, __webpack_require__) {
__webpack_require__(63);
__webpack_require__(109);
module.exports = __webpack_require__(60).f('iterator');
/***/ },
/* 89 */
/***/ function(module, exports) {
module.exports = function(){ /* empty */ };
/***/ },
/* 90 */,
/* 91 */,
/* 92 */
/***/ function(module, exports, __webpack_require__) {
// all enumerable object keys, includes symbols
var getKeys = __webpack_require__(11)
, gOPS = __webpack_require__(38)
, pIE = __webpack_require__(32);
module.exports = function(it){
var result = getKeys(it)
, getSymbols = gOPS.f;
if(getSymbols){
var symbols = getSymbols(it)
, isEnum = pIE.f
, i = 0
, key;
while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))result.push(key);
} return result;
};
/***/ },
/* 93 */,
/* 94 */
/***/ function(module, exports, __webpack_require__) {
// 7.2.2 IsArray(argument)
var cof = __webpack_require__(22);
module.exports = Array.isArray || function isArray(arg){
return cof(arg) == 'Array';
};
/***/ },
/* 95 */,
/* 96 */,
/* 97 */
/***/ function(module, exports) {
module.exports = function(done, value){
return {value: value, done: !!done};
};
/***/ },
/* 98 */
/***/ function(module, exports, __webpack_require__) {
var getKeys = __webpack_require__(11)
, toIObject = __webpack_require__(8);
module.exports = function(object, el){
var O = toIObject(object)
, keys = getKeys(O)
, length = keys.length
, index = 0
, key;
while(length > index)if(O[key = keys[index++]] === el)return key;
};
/***/ },
/* 99 */
/***/ function(module, exports, __webpack_require__) {
var META = __webpack_require__(18)('meta')
, isObject = __webpack_require__(9)
, has = __webpack_require__(4)
, setDesc = __webpack_require__(7).f
, id = 0;
var isExtensible = Object.isExtensible || function(){
return true;
};
var FREEZE = !__webpack_require__(3)(function(){
return isExtensible(Object.preventExtensions({}));
});
var setMeta = function(it){
setDesc(it, META, {value: {
i: 'O' + ++id, // object ID
w: {} // weak collections IDs
}});
};
var fastKey = function(it, create){
// return primitive with prefix
if(!isObject(it))return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
if(!has(it, META)){
// can't set metadata to uncaught frozen object
if(!isExtensible(it))return 'F';
// not necessary to add metadata
if(!create)return 'E';
// add missing metadata
setMeta(it);
// return object ID
} return it[META].i;
};
var getWeak = function(it, create){
if(!has(it, META)){
// can't set metadata to uncaught frozen object
if(!isExtensible(it))return true;
// not necessary to add metadata
if(!create)return false;
// add missing metadata
setMeta(it);
// return hash weak collections IDs
} return it[META].w;
};
// add metadata on freeze-family methods calling
var onFreeze = function(it){
if(FREEZE && meta.NEED && isExtensible(it) && !has(it, META))setMeta(it);
return it;
};
var meta = module.exports = {
KEY: META,
NEED: false,
fastKey: fastKey,
getWeak: getWeak,
onFreeze: onFreeze
};
/***/ },
/* 100 */
/***/ function(module, exports, __webpack_require__) {
var pIE = __webpack_require__(32)
, createDesc = __webpack_require__(14)
, toIObject = __webpack_require__(8)
, toPrimitive = __webpack_require__(26)
, has = __webpack_require__(4)
, IE8_DOM_DEFINE = __webpack_require__(30)
, gOPD = Object.getOwnPropertyDescriptor;
exports.f = __webpack_require__(2) ? gOPD : function getOwnPropertyDescriptor(O, P){
O = toIObject(O);
P = toPrimitive(P, true);
if(IE8_DOM_DEFINE)try {
return gOPD(O, P);
} catch(e){ /* empty */ }
if(has(O, P))return createDesc(!pIE.f.call(O, P), O[P]);
};
/***/ },
/* 101 */
/***/ function(module, exports, __webpack_require__) {
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
var toIObject = __webpack_require__(8)
, gOPN = __webpack_require__(68).f
, toString = {}.toString;
var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
? Object.getOwnPropertyNames(window) : [];
var getWindowNames = function(it){
try {
return gOPN(it);
} catch(e){
return windowNames.slice();
}
};
module.exports.f = function getOwnPropertyNames(it){
return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));
};
/***/ },
/* 102 */,
/* 103 */,
/* 104 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';
var addToUnscopables = __webpack_require__(89)
, step = __webpack_require__(97)
, Iterators = __webpack_require__(25)
, toIObject = __webpack_require__(8);
// 22.1.3.4 Array.prototype.entries()
// 22.1.3.13 Array.prototype.keys()
// 22.1.3.29 Array.prototype.values()
// 22.1.3.30 Array.prototype[@@iterator]()
module.exports = __webpack_require__(42)(Array, 'Array', function(iterated, kind){
this._t = toIObject(iterated); // target
this._i = 0; // next index
this._k = kind; // kind
// 22.1.5.2.1 %ArrayIteratorPrototype%.next()
}, function(){
var O = this._t
, kind = this._k
, index = this._i++;
if(!O || index >= O.length){
this._t = undefined;
return step(1);
}
if(kind == 'keys' )return step(0, index);
if(kind == 'values')return step(0, O[index]);
return step(0, [index, O[index]]);
}, 'values');
// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
Iterators.Arguments = Iterators.Array;
addToUnscopables('keys');
addToUnscopables('values');
addToUnscopables('entries');
/***/ },
/* 105 */
/***/ function(module, exports) {
/***/ },
/* 106 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';
// ECMAScript 6 symbols shim
var global = __webpack_require__(0)
, has = __webpack_require__(4)
, DESCRIPTORS = __webpack_require__(2)
, $export = __webpack_require__(13)
, redefine = __webpack_require__(44)
, META = __webpack_require__(99).KEY
, $fails = __webpack_require__(3)
, shared = __webpack_require__(20)
, setToStringTag = __webpack_require__(33)
, uid = __webpack_require__(18)
, wks = __webpack_require__(5)
, wksExt = __webpack_require__(60)
, wksDefine = __webpack_require__(59)
, keyOf = __webpack_require__(98)
, enumKeys = __webpack_require__(92)
, isArray = __webpack_require__(94)
, anObject = __webpack_require__(10)
, toIObject = __webpack_require__(8)
, toPrimitive = __webpack_require__(26)
, createDesc = __webpack_require__(14)
, _create = __webpack_require__(43)
, gOPNExt = __webpack_require__(101)
, $GOPD = __webpack_require__(100)
, $DP = __webpack_require__(7)
, $keys = __webpack_require__(11)
, gOPD = $GOPD.f
, dP = $DP.f
, gOPN = gOPNExt.f
, $Symbol = global.Symbol
, $JSON = global.JSON
, _stringify = $JSON && $JSON.stringify
, PROTOTYPE = 'prototype'
, HIDDEN = wks('_hidden')
, TO_PRIMITIVE = wks('toPrimitive')
, isEnum = {}.propertyIsEnumerable
, SymbolRegistry = shared('symbol-registry')
, AllSymbols = shared('symbols')
, OPSymbols = shared('op-symbols')
, ObjectProto = Object[PROTOTYPE]
, USE_NATIVE = typeof $Symbol == 'function'
, QObject = global.QObject;
// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
var setSymbolDesc = DESCRIPTORS && $fails(function(){
return _create(dP({}, 'a', {
get: function(){ return dP(this, 'a', {value: 7}).a; }
})).a != 7;
}) ? function(it, key, D){
var protoDesc = gOPD(ObjectProto, key);
if(protoDesc)delete ObjectProto[key];
dP(it, key, D);
if(protoDesc && it !== ObjectProto)dP(ObjectProto, key, protoDesc);
} : dP;
var wrap = function(tag){
var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);
sym._k = tag;
return sym;
};
var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function(it){
return typeof it == 'symbol';
} : function(it){
return it instanceof $Symbol;
};
var $defineProperty = function defineProperty(it, key, D){
if(it === ObjectProto)$defineProperty(OPSymbols, key, D);
anObject(it);
key = toPrimitive(key, true);
anObject(D);
if(has(AllSymbols, key)){
if(!D.enumerable){
if(!has(it, HIDDEN))dP(it, HIDDEN, createDesc(1, {}));
it[HIDDEN][key] = true;
} else {
if(has(it, HIDDEN) && it[HIDDEN][key])it[HIDDEN][key] = false;
D = _create(D, {enumerable: createDesc(0, false)});
} return setSymbolDesc(it, key, D);
} return dP(it, key, D);
};
var $defineProperties = function defineProperties(it, P){
anObject(it);
var keys = enumKeys(P = toIObject(P))
, i = 0
, l = keys.length
, key;
while(l > i)$defineProperty(it, key = keys[i++], P[key]);
return it;
};
var $create = function create(it, P){
return P === undefined ? _create(it) : $defineProperties(_create(it), P);
};
var $propertyIsEnumerable = function propertyIsEnumerable(key){
var E = isEnum.call(this, key = toPrimitive(key, true));
if(this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return false;
return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
};
var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key){
it = toIObject(it);
key = toPrimitive(key, true);
if(it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return;
var D = gOPD(it, key);
if(D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key]))D.enumerable = true;
return D;
};
var $getOwnPropertyNames = function getOwnPropertyNames(it){
var names = gOPN(toIObject(it))
, result = []
, i = 0
, key;
while(names.length > i){
if(!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META)result.push(key);
} return result;
};
var $getOwnPropertySymbols = function getOwnPropertySymbols(it){
var IS_OP = it === ObjectProto
, names = gOPN(IS_OP ? OPSymbols : toIObject(it))
, result = []
, i = 0
, key;
while(names.length > i){
if(has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true))result.push(AllSymbols[key]);
} return result;
};
// 19.4.1.1 Symbol([description])
if(!USE_NATIVE){
$Symbol = function Symbol(){
if(this instanceof $Symbol)throw TypeError('Symbol is not a constructor!');
var tag = uid(arguments.length > 0 ? arguments[0] : undefined);
var $set = function(value){
if(this === ObjectProto)$set.call(OPSymbols, value);
if(has(this, HIDDEN) && has(this[HIDDEN], tag))this[HIDDEN][tag] = false;
setSymbolDesc(this, tag, createDesc(1, value));
};
if(DESCRIPTORS && setter)setSymbolDesc(ObjectProto, tag, {configurable: true, set: $set});
return wrap(tag);
};
redefine($Symbol[PROTOTYPE], 'toString', function toString(){
return this._k;
});
$GOPD.f = $getOwnPropertyDescriptor;
$DP.f = $defineProperty;
__webpack_require__(68).f = gOPNExt.f = $getOwnPropertyNames;
__webpack_require__(32).f = $propertyIsEnumerable;
__webpack_require__(38).f = $getOwnPropertySymbols;
if(DESCRIPTORS && !__webpack_require__(37)){
redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
}
wksExt.f = function(name){
return wrap(wks(name));
}
}
$export($export.G + $export.W + $export.F * !USE_NATIVE, {Symbol: $Symbol});
for(var symbols = (
// 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14
'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
).split(','), i = 0; symbols.length > i; )wks(symbols[i++]);
for(var symbols = $keys(wks.store), i = 0; symbols.length > i; )wksDefine(symbols[i++]);
$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {
// 19.4.2.1 Symbol.for(key)
'for': function(key){
return has(SymbolRegistry, key += '')
? SymbolRegistry[key]
: SymbolRegistry[key] = $Symbol(key);
},
// 19.4.2.5 Symbol.keyFor(sym)
keyFor: function keyFor(key){
if(isSymbol(key))return keyOf(SymbolRegistry, key);
throw TypeError(key + ' is not a symbol!');
},
useSetter: function(){ setter = true; },
useSimple: function(){ setter = false; }
});
$export($export.S + $export.F * !USE_NATIVE, 'Object', {
// 19.1.2.2 Object.create(O [, Properties])
create: $create,
// 19.1.2.4 Object.defineProperty(O, P, Attributes)
defineProperty: $defineProperty,
// 19.1.2.3 Object.defineProperties(O, Properties)
defineProperties: $defineProperties,
// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
// 19.1.2.7 Object.getOwnPropertyNames(O)
getOwnPropertyNames: $getOwnPropertyNames,
// 19.1.2.8 Object.getOwnPropertySymbols(O)
getOwnPropertySymbols: $getOwnPropertySymbols
});
// 24.3.2 JSON.stringify(value [, replacer [, space]])
$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function(){
var S = $Symbol();
// MS Edge converts symbol values to JSON as {}
// WebKit converts symbol values to JSON as null
// V8 throws on boxed symbols
return _stringify([S]) != '[null]' || _stringify({a: S}) != '{}' || _stringify(Object(S)) != '{}';
})), 'JSON', {
stringify: function stringify(it){
if(it === undefined || isSymbol(it))return; // IE8 returns string on undefined
var args = [it]
, i = 1
, replacer, $replacer;
while(arguments.length > i)args.push(arguments[i++]);
replacer = args[1];
if(typeof replacer == 'function')$replacer = replacer;
if($replacer || !isArray(replacer))replacer = function(key, value){
if($replacer)value = $replacer.call(this, key, value);
if(!isSymbol(value))return value;
};
args[1] = replacer;
return _stringify.apply($JSON, args);
}
});
// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(6)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
// 19.4.3.5 Symbol.prototype[@@toStringTag]
setToStringTag($Symbol, 'Symbol');
// 20.2.1.9 Math[@@toStringTag]
setToStringTag(Math, 'Math', true);
// 24.3.3 JSON[@@toStringTag]
setToStringTag(global.JSON, 'JSON', true);
/***/ },
/* 107 */
/***/ function(module, exports, __webpack_require__) {
__webpack_require__(59)('asyncIterator');
/***/ },
/* 108 */
/***/ function(module, exports, __webpack_require__) {
__webpack_require__(59)('observable');
/***/ },
/* 109 */
/***/ function(module, exports, __webpack_require__) {
__webpack_require__(104);
var global = __webpack_require__(0)
, hide = __webpack_require__(6)
, Iterators = __webpack_require__(25)
, TO_STRING_TAG = __webpack_require__(5)('toStringTag');
for(var collections = ['NodeList', 'DOMTokenList', 'MediaList', 'StyleSheetList', 'CSSRuleList'], i = 0; i < 5; i++){
var NAME = collections[i]
, Collection = global[NAME]
, proto = Collection && Collection.prototype;
if(proto && !proto[TO_STRING_TAG])hide(proto, TO_STRING_TAG, NAME);
Iterators[NAME] = Iterators.Array;
}
/***/ },
/* 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 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(21);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_typeof__ = __webpack_require__(70);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_typeof___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_typeof__);
/* harmony export (binding) */ __webpack_require__.d(exports, "play", function() { return play; });
/* harmony export (binding) */ __webpack_require__.d(exports, "configure", function() { return configure; });
var DEV = "production" === 'development';
var play = function play(spot, m) {
var isSpotComponent = (typeof spot === 'undefined' ? 'undefined' : __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_typeof___default()(spot)) === 'object';
var componentName = void 0;

@@ -1567,5 +126,4 @@ var _displayName = void 0;

m.exports.spots = m.exports.spots || {};
m.exports.spots[_displayName] = m.exports.spots[_displayName] || [];
m.exports.spots[_displayName].push({
spots[_displayName] = spots[_displayName] || [];
spots[_displayName].push({
scenario: scenario,

@@ -1589,3 +147,5 @@ component: component

componentName = _name;
if (!_displayName) _displayName = _name;
if (!_displayName) {
_displayName = _name;
}
} else {

@@ -1599,14 +159,11 @@ DEV && console.error('.name() is only available when you use a component as play() argument');

var configure = function configure(array, m) {
m.exports.spots = m.exports.spots || {};
m.exports.components = m.exports.components || {};
array.forEach(function (item) {
m.exports.spots = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, m.exports.spots, item.spots);
m.exports.components = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, m.exports.components, item.components);
});
var getSpots = function getSpots() {
return spots;
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9wbGF5Lmp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gICAgIGNvbXBvbmVudCA9IHtyZW5kZXI6IHZhbHVlfVxuICAgICAgfVxuICAgICAgY29tcG9uZW50LmV4YW1wbGUgPSBjb21wb25lbnQuZXhhbXBsZSB8fCBjb21wb25lbnQudGVtcGxhdGVcblxuICAgICAgLy8gcmVnaXN0ZXIgc3BvdCBjb21wb25lbnQgaW5zY2VuYXJpbyBjb21wb25lbnRcbiAgICAgIGlmIChpc1Nwb3RDb21wb25lbnQpIHtcbiAgICAgICAgaWYgKGNvbXBvbmVudE5hbWUpIHtcbiAgICAgICAgICAvLyByZW1vdmUgcHJlIGluaXRpYWxpemVkIGNvbXBvbmVudFxuICAgICAgICAgIC8vIHNpbmNlIHZ1ZS1sb2FkZXIgdXNlcyB2dWUuZXh0ZW5kIGF1dG9tYXRpY2FsbHlcbiAgICAgICAgICBkZWxldGUgY29tcG9uZW50Ll9DdG9yXG4gICAgICAgICAgY29tcG9uZW50LmNvbXBvbmVudHMgPSBjb21wb25lbnQuY29tcG9uZW50cyB8fCB7fVxuICAgICAgICAgIGlmIChjb21wb25lbnQuY29tcG9uZW50c1tjb21wb25lbnROYW1lXSkge1xuICAgICAgICAgICAgREVWICYmIGNvbnNvbGUuZXJyb3IoYCR7Y29tcG9uZW50TmFtZX0gaXMgYWxyZWFkeSByZWdpc3RlcmVkIGluIHlvdXIgc2NlbmFyaW9gKVxuICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBjb21wb25lbnQuY29tcG9uZW50c1tjb21wb25lbnROYW1lXSA9IHNwb3RcbiAgICAgICAgICB9XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgREVWICYmIGNvbnNvbGUuZXJyb3IoYFlvdSBoYXZlbid0IGVpdGhlciBkZWZpbmVkIGEgbmFtZSBwcm9wZXJ0eSBvciBjYWxsZWQgLm5hbWUoKSB0byBzZXQgc3BvdCBjb21wb25lbnQgbmFtZWApXG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgc3BvdHNbZGlzcGxheU5hbWVdID0gc3BvdHNbZGlzcGxheU5hbWVdIHx8IFtdXG4gICAgICBzcG90c1tkaXNwbGF5TmFtZV0ucHVzaCh7XG4gICAgICAgIHNjZW5hcmlvLFxuICAgICAgICBjb21wb25lbnRcbiAgICAgIH0pXG4gICAgICByZXR1cm4gdGhpc1xuICAgIH0sXG5cbiAgICAvLyB1cGRhdGUgdGhlIHNwb3QgdGl0bGVcbiAgICBkaXNwbGF5TmFtZShuYW1lKSB7XG4gICAgICBkaXNwbGF5TmFtZSA9IG5hbWVcbiAgICAgIHJldHVybiB0aGlzXG4gICAgfSxcblxuICAgIC8vIHVwZGF0ZSB0aGUgc3BvdCBjb21wb25lbnQgbmFtZSBmb3IgcmVnaXN0ZXJpbmcgaW4gc2NlbmFyaW8gY29tcG9uZW50XG4gICAgbmFtZShuYW1lKSB7XG4gICAgICBpZiAoaXNTcG90Q29tcG9uZW50KSB7XG4gICAgICAgIGNvbXBvbmVudE5hbWUgPSBuYW1lXG4gICAgICAgIGlmICghZGlzcGxheU5hbWUpIHtcbiAgICAgICAgICBkaXNwbGF5TmFtZSA9IG5hbWVcbiAgICAgICAgfVxuICAgICAgfSBlbHNlIHtcbiAgICAgICAgREVWICYmIGNvbnNvbGUuZXJyb3IoJy5uYW1lKCkgaXMgb25seSBhdmFpbGFibGUgd2hlbiB5b3UgdXNlIGEgY29tcG9uZW50IGFzIHBsYXkoKSBhcmd1bWVudCcpXG4gICAgICB9XG4gICAgICByZXR1cm4gdGhpc1xuICAgIH1cbiAgfVxufVxuXG5jb25zdCBnZXRTcG90cyA9ICgpID0+IHNwb3RzXG5cbmV4cG9ydCB7XG4gIHBsYXksXG4gIGdldFNwb3RzXG59XG4iXX0=
/***/ }
/******/ ]);
/***/ })
/******/ });

@@ -37,12 +37,14 @@ module.exports =

/******/ // identity function for calling harmory imports with the correct context
/******/ // identity function for calling harmony imports with the correct context
/******/ __webpack_require__.i = function(value) { return value; };
/******/ // define getter function for harmory exports
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ Object.defineProperty(exports, name, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter
/******/ });
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter
/******/ });
/******/ }
/******/ };

@@ -66,467 +68,26 @@

/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 138);
/******/ return __webpack_require__(__webpack_require__.s = 50);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ 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 : Function('return this')();
if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
/***/ 0:
/***/ (function(module, exports) {
/***/ },
/* 1 */
/***/ function(module, exports) {
var core = module.exports = {version: '2.4.0'};
if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
/***/ },
/* 2 */
/***/ function(module, exports, __webpack_require__) {
// Thank's IE8 for his funny defineProperty
module.exports = !__webpack_require__(3)(function(){
return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;
});
/***/ },
/* 3 */
/***/ function(module, exports) {
module.exports = function(exec){
try {
return !!exec();
} catch(e){
return true;
}
};
/***/ },
/* 4 */
/***/ function(module, exports) {
var hasOwnProperty = {}.hasOwnProperty;
module.exports = function(it, key){
return hasOwnProperty.call(it, key);
};
/***/ },
/* 5 */,
/* 6 */
/***/ function(module, exports, __webpack_require__) {
var dP = __webpack_require__(7)
, createDesc = __webpack_require__(14);
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;
};
/***/ },
/* 7 */
/***/ function(module, exports, __webpack_require__) {
var anObject = __webpack_require__(10)
, IE8_DOM_DEFINE = __webpack_require__(30)
, toPrimitive = __webpack_require__(26)
, 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;
};
/***/ },
/* 8 */
/***/ function(module, exports, __webpack_require__) {
// to indexed object, toObject with fallback for non-array-like ES3 strings
var IObject = __webpack_require__(24)
, defined = __webpack_require__(12);
module.exports = function(it){
return IObject(defined(it));
};
/***/ },
/* 9 */
/***/ function(module, exports) {
module.exports = function(it){
return typeof it === 'object' ? it !== null : typeof it === 'function';
};
/***/ },
/* 10 */
/***/ function(module, exports, __webpack_require__) {
var isObject = __webpack_require__(9);
module.exports = function(it){
if(!isObject(it))throw TypeError(it + ' is not an object!');
return it;
};
/***/ },
/* 11 */
/***/ function(module, exports, __webpack_require__) {
// 19.1.2.14 / 15.2.3.14 Object.keys(O)
var $keys = __webpack_require__(31)
, enumBugKeys = __webpack_require__(19);
module.exports = Object.keys || function keys(O){
return $keys(O, enumBugKeys);
};
/***/ },
/* 12 */
/***/ 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;
};
/***/ },
/* 13 */
/***/ function(module, exports, __webpack_require__) {
var global = __webpack_require__(0)
, core = __webpack_require__(1)
, ctx = __webpack_require__(29)
, hide = __webpack_require__(6)
, PROTOTYPE = 'prototype';
var $export = function(type, name, source){
var IS_FORCED = type & $export.F
, IS_GLOBAL = type & $export.G
, IS_STATIC = type & $export.S
, IS_PROTO = type & $export.P
, IS_BIND = type & $export.B
, IS_WRAP = type & $export.W
, exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
, expProto = exports[PROTOTYPE]
, target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]
, 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;
/***/ },
/* 14 */
/***/ function(module, exports) {
module.exports = function(bitmap, value){
return {
enumerable : !(bitmap & 1),
configurable: !(bitmap & 2),
writable : !(bitmap & 4),
value : value
};
};
/***/ },
/* 15 */
/***/ function(module, exports) {
// 7.1.4 ToInteger
var ceil = Math.ceil
, floor = Math.floor;
module.exports = function(it){
return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
};
/***/ },
/* 16 */
/***/ function(module, exports, __webpack_require__) {
var shared = __webpack_require__(20)('keys')
, uid = __webpack_require__(18);
module.exports = function(key){
return shared[key] || (shared[key] = uid(key));
};
/***/ },
/* 17 */
/***/ function(module, exports, __webpack_require__) {
// 7.1.13 ToObject(argument)
var defined = __webpack_require__(12);
module.exports = function(it){
return Object(defined(it));
};
/***/ },
/* 18 */
/***/ function(module, exports) {
var id = 0
, px = Math.random();
module.exports = function(key){
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
};
/***/ },
/* 19 */
/***/ function(module, exports) {
// IE 8- don't enum bug keys
module.exports = (
'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
).split(',');
/***/ },
/* 20 */
/***/ function(module, exports, __webpack_require__) {
var global = __webpack_require__(0)
, SHARED = '__core-js_shared__'
, store = global[SHARED] || (global[SHARED] = {});
module.exports = function(key){
return store[key] || (store[key] = {});
};
/***/ },
/* 21 */,
/* 22 */
/***/ function(module, exports) {
var toString = {}.toString;
module.exports = function(it){
return toString.call(it).slice(8, -1);
};
/***/ },
/* 23 */
/***/ function(module, exports, __webpack_require__) {
var isObject = __webpack_require__(9)
, document = __webpack_require__(0).document
// in old IE typeof document.createElement is 'object'
, is = isObject(document) && isObject(document.createElement);
module.exports = function(it){
return is ? document.createElement(it) : {};
};
/***/ },
/* 24 */
/***/ function(module, exports, __webpack_require__) {
// fallback for non-array-like ES3 and non-enumerable old V8 strings
var cof = __webpack_require__(22);
module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){
return cof(it) == 'String' ? it.split('') : Object(it);
};
/***/ },
/* 25 */,
/* 26 */
/***/ function(module, exports, __webpack_require__) {
// 7.1.1 ToPrimitive(input [, PreferredType])
var isObject = __webpack_require__(9);
// 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");
};
/***/ },
/* 27 */
/***/ function(module, exports, __webpack_require__) {
module.exports = { "default": __webpack_require__(51), __esModule: true };
/***/ },
/* 28 */
/***/ function(module, exports) {
module.exports = require("vue");
/***/ },
/* 29 */
/***/ function(module, exports, __webpack_require__) {
/***/ }),
// optional / simple context binding
var aFunction = __webpack_require__(35);
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);
};
};
/***/ 12:
/***/ (function(module, exports) {
/***/ },
/* 30 */
/***/ function(module, exports, __webpack_require__) {
module.exports = require("query-string");
module.exports = !__webpack_require__(2) && !__webpack_require__(3)(function(){
return Object.defineProperty(__webpack_require__(23)('div'), 'a', {get: function(){ return 7; }}).a != 7;
});
/***/ }),
/***/ },
/* 31 */
/***/ function(module, exports, __webpack_require__) {
/***/ 3:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
var has = __webpack_require__(4)
, toIObject = __webpack_require__(8)
, arrayIndexOf = __webpack_require__(36)(false)
, IE_PROTO = __webpack_require__(16)('IE_PROTO');
module.exports = function(object, names){
var O = toIObject(object)
, i = 0
, result = []
, 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;
};
/***/ },
/* 32 */,
/* 33 */,
/* 34 */
/***/ function(module, exports, __webpack_require__) {
// 7.1.15 ToLength
var toInteger = __webpack_require__(15)
, min = Math.min;
module.exports = function(it){
return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
};
/***/ },
/* 35 */
/***/ function(module, exports) {
module.exports = function(it){
if(typeof it != 'function')throw TypeError(it + ' is not a function!');
return it;
};
/***/ },
/* 36 */
/***/ function(module, exports, __webpack_require__) {
// false -> Array#indexOf
// true -> Array#includes
var toIObject = __webpack_require__(8)
, toLength = __webpack_require__(34)
, toIndex = __webpack_require__(39);
module.exports = function(IS_INCLUDES){
return function($this, el, fromIndex){
var O = toIObject($this)
, length = toLength(O.length)
, index = toIndex(fromIndex, length)
, value;
// Array#includes uses SameValueZero equality algorithm
if(IS_INCLUDES && el != el)while(length > index){
value = O[index++];
if(value != value)return true;
// Array#toIndex 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;
};
};
/***/ },
/* 37 */,
/* 38 */,
/* 39 */
/***/ function(module, exports, __webpack_require__) {
var toInteger = __webpack_require__(15)
, max = Math.max
, min = Math.min;
module.exports = function(index, length){
index = toInteger(index);
return index < 0 ? max(index + length, 0) : min(index, length);
};
/***/ },
/* 40 */,
/* 41 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_keys__ = __webpack_require__(27);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_keys___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_keys__);
/* harmony export (binding) */ __webpack_require__.d(exports, "a", function() { return validShortcuts; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return validShortcuts; });
var model = {

@@ -562,14 +123,13 @@ actions: {

/* harmony default export */ exports["b"] = model;
var validShortcuts = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_keys___default()(model.actions);
/* harmony default export */ __webpack_exports__["b"] = model;
var validShortcuts = Object.keys(model.actions);
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9zdG9yZS9tb2R1bGVzL3Nob3J0Y3V0cy5qcyJdLCJuYW1lcyI6WyJtb2RlbCIsImFjdGlvbnMiLCJjbWRTaGlmdEsiLCJkaXNwYXRjaCIsImNtZFNoa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pc3BhdGNofSkge1xuICAgICAgZGlzcGF0Y2goJ3RvZ2dsZUxlZnRQYW5lbCcpXG4gICAgfSxcbiAgICBjbWRTaGlmdEQoe2Rpc3BhdGNofSkge1xuICAgICAgZGlzcGF0Y2goJ3RvZ2dsZUJvdHRvbVBhbmVsJylcbiAgICB9LFxuICAgIGNtZFNoaWZ0TGVmdCh7ZGlzcGF0Y2h9KSB7XG4gICAgICBkaXNwYXRjaCgncGxheVByZXZpb3VzJylcbiAgICB9LFxuICAgIGNtZFNoaWZ0UmlnaHQoe2Rpc3BhdGNofSkge1xuICAgICAgZGlzcGF0Y2goJ3BsYXlOZXh0JylcbiAgICB9XG4gIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgbW9kZWxcbmV4cG9ydCBjb25zdCB2YWxpZFNob3J0Y3V0cyA9IE9iamVjdC5rZXlzKG1vZGVsLmFjdGlvbnMpXG4iXX0=
/***/ },
/* 42 */,
/* 43 */,
/* 44 */,
/* 45 */
/***/ function(module, exports, __webpack_require__) {
/***/ }),
/***/ 4:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony default export */ exports["a"] = function (spots, query) {
/* harmony default export */ __webpack_exports__["a"] = function (spots, query) {
var scenarios = spots[query.spot];

@@ -583,13 +143,15 @@ if (scenarios) {

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy91dGlscy9maW5kLXNjZW5hcmlvLmpzIl0sIm5hbWVzIjpbInNwb3RzIiwicXVlcnkiLCJzY2VuYXJpb3MiLCJzcG90Iiwic2NlbmFyaW8iLCJmaWx0ZXIiXSwibWFwcGluZ3MiOiJBQUFBLGVBQWUsVUFBVUEsS0FBVixFQUFpQkMsS0FBakIsRUFBd0I7QUFDckMsTUFBTUMsWUFBWUYsTUFBTUMsTUFBTUUsSUFBWixDQUFsQjtBQUNBLE1BQUlELFNBQUosRUFBZTtBQUNiLFFBQU1FLFdBQVdGLFVBQVVHLE1BQVYsQ0FBaUIsb0JBQVk7QUFDNUMsYUFBT0QsU0FBU0EsUUFBVCxLQUFzQkgsTUFBTUcsUUFBbkM7QUFDRCxLQUZnQixFQUVkLENBRmMsQ0FBakI7QUFHQSxXQUFPQSxRQUFQO0FBQ0Q7QUFDRiIsImZpbGUiOiJmaW5kLXNjZW5hcmlvLmpzIiwic291cmNlUm9vdCI6Ii9Vc2Vycy9lZ29pc3QvZGV2L3Z1ZS1wbGF5Iiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gKHNwb3RzLCBxdWVyeSkge1xuICBjb25zdCBzY2VuYXJpb3MgPSBzcG90c1txdWVyeS5zcG90XVxuICBpZiAoc2NlbmFyaW9zKSB7XG4gICAgY29uc3Qgc2NlbmFyaW8gPSBzY2VuYXJpb3MuZmlsdGVyKHNjZW5hcmlvID0+IHtcbiAgICAgIHJldHVybiBzY2VuYXJpby5zY2VuYXJpbyA9PT0gcXVlcnkuc2NlbmFyaW9cbiAgICB9KVswXVxuICAgIHJldHVybiBzY2VuYXJpb1xuICB9XG59XG4iXX0=
/***/ },
/* 46 */
/***/ function(module, exports, __webpack_require__) {
/***/ }),
/***/ 5:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_store_modules_shortcuts__ = __webpack_require__(41);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_store_modules_shortcuts__ = __webpack_require__(3);
/* unused harmony export isModifierPressed */
/* harmony export (binding) */ __webpack_require__.d(exports, "c", function() { return parseKey; });
/* harmony export (binding) */ __webpack_require__.d(exports, "b", function() { return executeShortcut; });
/* harmony export (binding) */ __webpack_require__.d(exports, "a", function() { return observeKeyEvents; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return parseKey; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return executeShortcut; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return observeKeyEvents; });

@@ -610,3 +172,5 @@

var parseKey = function parseKey(e) {
if (!isModifierPressed(e)) return false;
if (!isModifierPressed(e)) {
return false;
}

@@ -650,161 +214,18 @@ switch (e.keyCode) {

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy91dGlscy9rZXktZXZlbnRzLmpzIl0sIm5hbWVzIjpbInZhbGlkU2hvcnRjdXRzIiwia2V5SyIsImtleUwiLCJrZXlEIiwia2V5TGVmdCIsImtleVJpZ2h0Iiwia2V5V2luZG93cyIsImlzTW9kaWZpZXJQcmVzc2VkIiwiZSIsImN0cmxLZXkiLCJrZXlDb2RlIiwibWV0YUtleSIsInNoaWZ0S2V5IiwicGFyc2VLZXkiLCJwcmV2ZW50RGVmYXVsdCIsImV4ZWN1dGVTaG9ydGN1dCIsInN0b3JlIiwiY29tYmluYXRpb24iLCJpbmNsdWRlcyIsImNvbnNvbGUiLCJ3YXJuIiwiZGlzcGF0Y2giLCJvYnNlcnZlS2V5RXZlbnRzIiwid2luZG93Iiwib25rZXlkb3duIl0sIm1hcHBpbmdzIjoiQUFBQSxTQUFRQSxjQUFSLFFBQTZCLHlCQUE3Qjs7QUFFQTtBQUNBLElBQU1DLE9BQU8sRUFBYjtBQUNBLElBQU1DLE9BQU8sRUFBYjtBQUNBLElBQU1DLE9BQU8sRUFBYjtBQUNBLElBQU1DLFVBQVUsRUFBaEI7QUFDQSxJQUFNQyxXQUFXLEVBQWpCO0FBQ0EsSUFBTUMsYUFBYSxFQUFuQjs7QUFFQSxPQUFPLElBQU1DLG9CQUFvQixTQUFwQkEsaUJBQW9CLElBQUs7QUFDcEMsU0FBTyxDQUFDQyxFQUFFQyxPQUFGLElBQWFELEVBQUVFLE9BQUYsS0FBY0osVUFBM0IsSUFBeUNFLEVBQUVHLE9BQTVDLEtBQXdESCxFQUFFSSxRQUFqRTtBQUNELENBRk07O0FBSVAsT0FBTyxJQUFNQ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HJldmVudERlZmF1bHQoKVxuICAgICAgcmV0dXJuICdjbWRTaGlmdFJpZ2h0J1xuICAgIGRlZmF1bHQ6XG4gICAgICByZXR1cm4gZmFsc2VcbiAgfVxufVxuXG5leHBvcnQgY29uc3QgZXhlY3V0ZVNob3J0Y3V0ID0gKHN0b3JlLCBjb21iaW5hdGlvbikgPT4ge1xuICBpZiAoY29tYmluYXRpb24pIHtcbiAgICBpZiAoIXZhbGlkU2hvcnRjdXRzLmluY2x1ZGVzKGNvbWJpbmF0aW9uKSkge1xuICAgICAgY29uc29sZS53YXJuKGBDb21iaW5hdGlvbiAke2NvbWJpbmF0aW9ufSBpcyBub3QgYSB2YWxpZCBzaG9ydGN1dGApXG4gICAgICByZXR1cm5cbiAgICB9XG4gICAgc3RvcmUuZGlzcGF0Y2goY29tYmluYXRpb24pXG4gIH1cbn1cblxuZXhwb3J0IGNvbnN0IG9ic2VydmVLZXlFdmVudHMgPSBzdG9yZSA9PiB7XG4gIHdpbmRvdy5vbmtleWRvd24gPSBlID0+IHtcbiAgICBjb25zdCBjb21iaW5hdGlvbiA9IHBhcnNlS2V5KGUpXG4gICAgZXhlY3V0ZVNob3J0Y3V0KHN0b3JlLCBjb21iaW5hdGlvbilcbiAgfVxufVxuIl19
/***/ },
/* 47 */
/***/ function(module, exports, __webpack_require__) {
/***/ }),
module.exports = { "default": __webpack_require__(49), __esModule: true };
/***/ 50:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
/***/ },
/* 48 */,
/* 49 */
/***/ function(module, exports, __webpack_require__) {
var core = __webpack_require__(1)
, $JSON = core.JSON || (core.JSON = {stringify: JSON.stringify});
module.exports = function stringify(it){ // eslint-disable-line no-unused-vars
return $JSON.stringify.apply($JSON, arguments);
};
/***/ },
/* 50 */,
/* 51 */
/***/ function(module, exports, __webpack_require__) {
__webpack_require__(62);
module.exports = __webpack_require__(1).Object.keys;
/***/ },
/* 52 */,
/* 53 */,
/* 54 */,
/* 55 */,
/* 56 */,
/* 57 */
/***/ function(module, exports, __webpack_require__) {
// most Object methods by ES6 should accept primitives
var $export = __webpack_require__(13)
, core = __webpack_require__(1)
, fails = __webpack_require__(3);
module.exports = function(KEY, exec){
var fn = (core.Object || {})[KEY] || Object[KEY]
, exp = {};
exp[KEY] = exec(fn);
$export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);
};
/***/ },
/* 58 */,
/* 59 */,
/* 60 */,
/* 61 */,
/* 62 */
/***/ function(module, exports, __webpack_require__) {
// 19.1.2.14 Object.keys(O)
var toObject = __webpack_require__(17)
, $keys = __webpack_require__(11);
__webpack_require__(57)('keys', function(){
return function keys(it){
return $keys(toObject(it));
};
});
/***/ },
/* 63 */,
/* 64 */,
/* 65 */,
/* 66 */,
/* 67 */,
/* 68 */,
/* 69 */,
/* 70 */,
/* 71 */
/***/ function(module, exports) {
module.exports = require("query-string");
/***/ },
/* 72 */,
/* 73 */,
/* 74 */,
/* 75 */,
/* 76 */,
/* 77 */,
/* 78 */,
/* 79 */,
/* 80 */,
/* 81 */,
/* 82 */,
/* 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 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_json_stringify__ = __webpack_require__(47);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_json_stringify___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_json_stringify__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_keys__ = __webpack_require__(27);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_keys___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_keys__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_vue__ = __webpack_require__(28);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_vue__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_query_string__ = __webpack_require__(71);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_query_string___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_query_string__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__utils_find_scenario__ = __webpack_require__(45);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__utils_key_events__ = __webpack_require__(46);
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue__ = __webpack_require__(0);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_vue__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_query_string__ = __webpack_require__(12);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_query_string___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_query_string__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__utils_find_scenario__ = __webpack_require__(4);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__utils_key_events__ = __webpack_require__(5);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__play__ = __webpack_require__(6);

@@ -816,14 +237,7 @@

/* harmony default export */ __webpack_exports__["default"] = function () {
var spots = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_4__play__["getSpots"])();
var query = __WEBPACK_IMPORTED_MODULE_1_query_string___default.a.parse(location.search);
/* harmony default export */ exports["default"] = function (_ref) {
var spots = _ref.spots,
components = _ref.components;
var query = __WEBPACK_IMPORTED_MODULE_3_query_string___default.a.parse(location.search);
if (components) {
__WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_keys___default()(components).forEach(function (name) {
__WEBPACK_IMPORTED_MODULE_2_vue___default.a.component(name, components[name]);
});
}
__WEBPACK_IMPORTED_MODULE_2_vue___default.a.prototype.$log = function (data) {
__WEBPACK_IMPORTED_MODULE_0_vue___default.a.prototype.$log = function (data) {
parent.postMessage({

@@ -834,6 +248,6 @@ type: 'ADD_LOG',

};
return new __WEBPACK_IMPORTED_MODULE_2_vue___default.a({
return new __WEBPACK_IMPORTED_MODULE_0_vue___default.a({
el: '#app',
data: function data() {
var scenario = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_4__utils_find_scenario__["a" /* default */])(spots, query);
var scenario = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__utils_find_scenario__["a" /* default */])(spots, query);
var component = scenario && scenario.component;

@@ -851,7 +265,7 @@ if (component) {

window.addEventListener('message', function (_ref2) {
var data = _ref2.data;
window.addEventListener('message', function (_ref) {
var data = _ref.data;
if (data.type === 'UPDATE_ROUTE') {
var scenario = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_4__utils_find_scenario__["a" /* default */])(spots, data.payload);
var scenario = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__utils_find_scenario__["a" /* default */])(spots, data.payload);
if (scenario) {

@@ -865,3 +279,3 @@ _this.current = scenario.component;

type: 'APPLY_SHORTCUT',
payload: __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_json_stringify___default()(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_5__utils_key_events__["c" /* parseKey */])(e))
payload: JSON.stringify(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_3__utils_key_events__["a" /* parseKey */])(e))
}, location.origin);

@@ -871,3 +285,3 @@ };

type: 'SET_SPOTS',
payload: __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_json_stringify___default()(spots)
payload: JSON.stringify(spots)
}, location.origin);

@@ -880,4 +294,98 @@ },

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9wcmV2aWV3LmpzIl0sIm5hbWVzIjpbIlZ1ZSIsInFzIiwiZmluZFNjZW5hcmlvIiwicGFyc2VLZXkiLCJnZXRTcG90cyIsInNwb3RzIiwicXVlcnkiLCJwYXJzZSIsImxvY2F0aW9uIiwic2VhcmNoIiwicHJvdG90eXBlIiwiJGxvZyIsImRhdGEiLCJwYXJlbnQiLCJwb3N0TWVzc2FnZSIsInR5cGUiLCJwYXlsb2FkIiwib3JpZ2luIiwiZWwiLCJzY2VuYXJpbyIsImNvbXBvbmVudCIsImV4YW1wbGUiLCJ1bmRlZmluZWQiLCJyZWFkbWUiLCJjdXJyZW50IiwiY3JlYXRlZCIsIndpbmRvdyIsImFkZEV2ZW50TGlzdGVuZXIiLCJvbmtleWRvd24iLCJKU09OIiwic3RyaW5naWZ5IiwiZSIsInJlbmRlciIsImgiLCJhdHRycyIsImlkIl0sIm1hcHBpbmdzIjoiQUFBQSxPQUFPQSxHQUFQLE1BQWdCLEtBQWhCO0FBQ0EsT0FBT0MsRUFBUCxNQUFlLGNBQWY7QUFDQSxPQUFPQyxZQUFQLE1BQXlCLHVCQUF6QjtBQUNBLFNBQVFDLFFBQVIsUUFBdUIsb0JBQXZCO0FBQ0EsU0FBUUMsUUFBUixRQUF1QixRQUF2Qjs7QUFFQSxlQUFlLFlBQVk7QUFDekIsTUFBTUMsUUFBUUQs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BUFBMWV9TSE9SVENVVCcsXG4gICAgICAgICAgcGF5bG9hZDogSlNPTi5zdHJpbmdpZnkocGFyc2VLZXkoZSkpXG4gICAgICAgIH0sIGxvY2F0aW9uLm9yaWdpbilcbiAgICAgIH1cbiAgICAgIHBhcmVudC5wb3N0TWVzc2FnZSh7XG4gICAgICAgIHR5cGU6ICdTRVRfU1BPVFMnLFxuICAgICAgICBwYXlsb2FkOiBKU09OLnN0cmluZ2lmeShzcG90cylcbiAgICAgIH0sIGxvY2F0aW9uLm9yaWdpbilcbiAgICB9LFxuICAgIHJlbmRlcihoKSB7XG4gICAgICByZXR1cm4gaCgnZGl2Jywge2F0dHJzOiB7aWQ6ICdhcHAnfX0sIFtoKHRoaXMuY3VycmVudCldKVxuICAgIH1cbiAgfSlcbn1cbiJdfQ==
/***/ }
/******/ ]);
/***/ }),
/***/ 6:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "play", function() { return play; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getSpots", function() { return getSpots; });
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
var DEV = "production" === 'development';
var spots = {};
var play = function play(spot) {
var isSpotComponent = (typeof spot === 'undefined' ? 'undefined' : _typeof(spot)) === 'object';
var componentName = void 0;
var _displayName = void 0;
if (isSpotComponent) {
componentName = spot.name;
_displayName = spot.displayName || spot.name;
} else {
_displayName = spot;
}
return {
add: function add(scenario, value) {
var component = value;
if (typeof value === 'string') {
component = { template: value };
} else if (typeof value === 'function') {
component = { render: value };
}
component.example = component.example || component.template;
// register spot component inscenario component
if (isSpotComponent) {
if (componentName) {
// remove pre initialized component
// since vue-loader uses vue.extend automatically
delete component._Ctor;
component.components = component.components || {};
if (component.components[componentName]) {
DEV && console.error(componentName + ' is already registered in your scenario');
} else {
component.components[componentName] = spot;
}
} else {
DEV && console.error('You haven\'t either defined a name property or called .name() to set spot component name');
}
}
spots[_displayName] = spots[_displayName] || [];
spots[_displayName].push({
scenario: scenario,
component: component
});
return this;
},
// update the spot title
displayName: function displayName(name) {
_displayName = name;
return this;
},
// update the spot component name for registering in scenario component
name: function name(_name) {
if (isSpotComponent) {
componentName = _name;
if (!_displayName) {
_displayName = _name;
}
} else {
DEV && console.error('.name() is only available when you use a component as play() argument');
}
return this;
}
};
};
var getSpots = function getSpots() {
return spots;
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9wbGF5LmpzIl0sIm5hbWVzIjpbIkRFViIsInByb2Nlc3MiLCJlbnYiLCJOT0RFX0VOViIsInNwb3RzIiwicGxheSIsImlzU3BvdENvbXBvbmVudCIsInNwb3QiLCJjb21wb25lbnROYW1lIiwiZGlzcGxheU5hbWUiLCJuYW1lIiwiYWRkIiwic2NlbmFyaW8iLCJ2YWx1ZSIsImNvbXBvbmVudCIsInRlbXBsYXRlIiwicmVuZGVyIiwiZXhhbXBsZSIsIl9DdG9yIiwiY29tcG9uZW50cyIsImNvbnNvbGUiLCJlcnJvciIsInB1c2giLCJnZXRTcG90cyJdLCJtYXBwaW5ncyI6Ijs7QUFBQSxJQUFNQSxNQUFNQyxRQUFRQyxHQUFSLENBQVlDLFFBQVosS0FBeUIsYUFBckM7O0FBRUEsSUFBSUMsUUFBUSxFQUFaOztBQUVBLElBQU1DLE9BQU8sU0FBUEEsSUFBTyxPQUFRO0FBQ25CLE1BQU1DLGtCQUFrQixRQUFPQyxJQUFQLHlDQUFPQSxJQUFQLE9BQWdCLFFBQXhDOztBQUVBLE1BQUlDLHNCQUFKO0FBQ0EsTUFBSUMscUJBQUo7QUFDQSxNQUFJSCxlQUFKLEVBQXFCO0FBQ25CRSxvQkFBZ0JELEtBQUtHLEl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ZXJyb3IoJy5uYW1lKCkgaXMgb25seSBhdmFpbGFibGUgd2hlbiB5b3UgdXNlIGEgY29tcG9uZW50IGFzIHBsYXkoKSBhcmd1bWVudCcpXG4gICAgICB9XG4gICAgICByZXR1cm4gdGhpc1xuICAgIH1cbiAgfVxufVxuXG5jb25zdCBnZXRTcG90cyA9ICgpID0+IHNwb3RzXG5cbmV4cG9ydCB7XG4gIHBsYXksXG4gIGdldFNwb3RzXG59XG4iXX0=
/***/ })
/******/ });
{
"name": "vue-play",
"version": "2.2.0",
"version": "3.0.0",
"description": "Play with your vue components.",

@@ -18,13 +18,17 @@ "license": "MIT",

"toc": "markdown-toc -i README.md",
"build": "vbuild --config vue.config.cjs.js",
"watch": "vbuild --config vue.config.cjs.js --watch",
"surge": "vbuild --config vue.config.play.js && surge -p play-dist -d vue-play-button.surge.sh",
"play": "vbuild --dev --config vue.config.play.js",
"play:build": "vbuild --config vue.config.play.js"
"build": "vue build --prod --config config/config.cjs.js",
"surge": "npm run play:build && surge -p dist-play -d vue-play-button.surge.sh",
"play": "vue build --config config/config.play.js",
"play:build": "vue build --config config/config.play.js --prod"
},
"files": [
"dist",
"src"
"dist/play.js",
"dist/app.js",
"dist/preview.js",
"dist/app.css",
"index.js",
"app.js",
"preview.js"
],
"main": "dist/play.js",
"main": "index.js",
"keywords": [

@@ -42,3 +46,2 @@ "vue",

"uid": "0.0.2",
"vue": "^2.1.5",
"vue-router": "^2.0.3",

@@ -50,12 +53,13 @@ "vue-slim-modal": "^0.3.0",

"devDependencies": {
"eslint-config-egoist-vue": "^2.0.6",
"eslint-config-rem": "^2.0.2",
"eslint": "^3.15.0",
"eslint-config-xo": "^0.17.0",
"eslint-loader": "^1.6.1",
"eslint-plugin-vue": "^2.0.1",
"github-markdown-css": "^2.4.1",
"hint.css": "^2.4.1",
"markdown-toc": "^0.13.0",
"postcss-nested": "^1.0.0",
"postcss-simple-vars": "^3.0.0",
"vbuild": "4.3.2",
"vue-loader": "^10.0.2",
"vue-template-compiler": "^2.1.6"
"vue-cli": "vuejs/vue-cli#d74a135b981"
}
}
# vue-play
[![NPM version](https://img.shields.io/npm/v/vue-play.svg?style=flat-square)](https://npmjs.com/package/vue-play) [![NPM downloads](https://img.shields.io/npm/dm/vue-play.svg?style=flat-square)](https://npmjs.com/package/vue-play) [![Build Status](https://img.shields.io/circleci/project/vue-play/vue-play/master.svg?style=flat-square)](https://circleci.com/gh/egoist/vue-play) [![gitter](https://img.shields.io/gitter/room/vue-play/vue-play.svg?style=flat-square)](https://gitter.im/vue-play/vue-play)
[![NPM version](https://img.shields.io/npm/v/vue-play.svg?style=flat-square)](https://npmjs.com/package/vue-play) [![NPM downloads](https://img.shields.io/npm/dm/vue-play.svg?style=flat-square)](https://npmjs.com/package/vue-play) [![Build Status](https://img.shields.io/circleci/project/vue-play/vue-play/master.svg?style=flat-square)](https://circleci.com/gh/vue-play/vue-play) [![gitter](https://img.shields.io/gitter/room/vue-play/vue-play.svg?style=flat-square)](https://gitter.im/vue-play/vue-play)

@@ -60,6 +60,6 @@ A minimalistic framework for demonstrating your Vue components, inspired by [react-storybook](https://github.com/kadirahq/react-storybook).

// ./play/index.js
import {play} from 'vue-play'
import { play } from 'vue-play'
import MyButton from './components/MyButton.vue'
play('Button', module)
play('Button')
.add('with text', h => h(MyButton, 'hello'))

@@ -80,6 +80,6 @@ .add('with emoji', h => h(MyButton, '💫'))

```js
import {play} from 'vue-play'
import { play } from 'vue-play'
import MyButton from './MyButton.vue'
play('MyButton', module)
play('MyButton')
.add('with text', h => h(MyButton, ['text']))

@@ -92,4 +92,3 @@ ```

// ./play/app.js
import app from 'vue-play/dist/app'
import 'vue-play/dist/app.css'
import app from 'vue-play/app'

@@ -104,5 +103,4 @@ // bootstrap app

// ./play/preview.js
import preview from 'vue-play/dist/preview'
// loads the scenarios at ./play/index.js
import scenarios from './'
import './' // which is ./play/index.js
import preview from 'vue-play/preview'

@@ -112,3 +110,3 @@ // actually render the scenarios in preview page

// it will tell the app interface what scenarios we have
preview(scenarios)
preview()
```

@@ -158,3 +156,3 @@

// use .add to add scenario for that component
play('MyButton', module)
play('MyButton')
.add('with text', h => h(MyButton, ['hello world']))

@@ -169,9 +167,6 @@ .add('with emoji', h => h(MyButton, ['😃🍻']))

```js
import { configure } from 'vue-play'
const load = requireContext => requireContext.keys().map(requireContext)
const scenarios = load(require.context('../src/components', true, /.play.js$/))
configure(scenarios, module)
// load files which end with `.play.js` in `../src/components` folder
load(require.context('../src/components', true, /.play.js$/))
```

@@ -181,14 +176,13 @@

If you are using render function you won't need to register components, you only need this when you are using the template property:
If you are using render function you won't need to register components, you only need this when you are using the template property, and it's same way as you do in other Vue app:
```js
// ./play/index.js
import Vue from 'vue'
import MyButton from './MyButton.vue'
// these components will be registered globally
module.exports.components = {
MyButton
}
// register globally
Vue.component('my-button', MyButton)
play('MyButton', module)
play('MyButton')
.add('with text', {

@@ -199,3 +193,3 @@ template: '<my-button>text</my-button>'

You can also put the example component in a seperate file, like `.vue` file and register components there, locally.
You can also [register components locally](https://vuejs.org/v2/guide/components.html#Local-Registration).

@@ -208,5 +202,5 @@ ### Use Component as `play()` argument

// assuming MyButton.name is 'my-button'
play(MyButton, module)
play(MyButton)
// MyButton will be automatially registered in scenarios
// so you don't have to use module.exports.components = {MyButton}
// so you don't have to register it again
.add('with text', '<my-button></my-button>')

@@ -234,3 +228,3 @@

```js
play(MyButton, module)
play(MyButton)
.name('my-other-button')

@@ -247,3 +241,3 @@ .displayName('Show off my cute button')

import Example from './Example.vue'
play('Button', module)
play('Button')
.add('template shorthand', '<my-button>text</my-button>')

@@ -260,3 +254,3 @@ .add('render function shorthand', h => h(MyButton, ['text']))

**note:** If you are using `template` shorthand, you should use [Vue standalone build](https://vuejs.org/guide/installation.html#Standalone-vs-Runtime-only-Build) as well.
**note:** If you are using `template` shorthand or `template` property in component options, you should use [Vue standalone build](https://vuejs.org/guide/installation.html#Standalone-vs-Runtime-only-Build) as well. For `vue-play-cli`, it's as simple as using `--standalone` option.

@@ -268,3 +262,3 @@ ## Additional Component Properties

```js
play('Button', module)
play('Button')
.add('with text', {

@@ -271,0 +265,0 @@ // a valid vue component

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc