@tailor-cms/ce-modal-display 0.0.2 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,7 +1,40 @@
1
1
  "use strict";
2
- var import_style = require("./style.css");
2
+ var import_index = require("./index.css");
3
3
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
4
4
  const vue = require("vue");
5
+ const byteToHex = [];
6
+ for (let i = 0; i < 256; ++i) {
7
+ byteToHex.push((i + 256).toString(16).slice(1));
8
+ }
9
+ function unsafeStringify(arr, offset = 0) {
10
+ return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
11
+ }
12
+ let getRandomValues;
13
+ const rnds8 = new Uint8Array(16);
14
+ function rng() {
15
+ if (!getRandomValues) {
16
+ if (typeof crypto === "undefined" || !crypto.getRandomValues) {
17
+ throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
18
+ }
19
+ getRandomValues = crypto.getRandomValues.bind(crypto);
20
+ }
21
+ return getRandomValues(rnds8);
22
+ }
23
+ const randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
24
+ const native = { randomUUID };
25
+ function v4(options, buf, offset) {
26
+ if (native.randomUUID && true && !options) {
27
+ return native.randomUUID();
28
+ }
29
+ options = options || {};
30
+ const rnds = options.random ?? options.rng?.() ?? rng();
31
+ if (rnds.length < 16) {
32
+ throw new Error("Random bytes length must be >= 16");
33
+ }
34
+ rnds[6] = rnds[6] & 15 | 64;
35
+ rnds[8] = rnds[8] & 63 | 128;
36
+ return unsafeStringify(rnds);
37
+ }
5
38
  var type = "MODAL";
6
39
  var name = "Modal";
7
40
  var initState = () => ({
@@ -15,6 +48,47 @@ var ui = {
15
48
  // (e.g. 50/50 layout)
16
49
  forceFullWidth: false
17
50
  };
51
+ var ai = {
52
+ Schema: {
53
+ type: "json_schema",
54
+ name: "ce_modal",
55
+ schema: {
56
+ type: "object",
57
+ properties: {
58
+ title: { type: "string" },
59
+ content: { type: "string" }
60
+ },
61
+ required: ["title", "content"],
62
+ additionalProperties: false
63
+ }
64
+ },
65
+ getPrompt: () => `
66
+ Generate a modal content element as an object with the following
67
+ properties:
68
+ {
69
+ "title": "",
70
+ "content": "",
71
+ }
72
+ where:
73
+ - 'title' is the title of the modal. Do not use more than 3 words.
74
+ - 'content' is the text to be displayed in the modal. Create few
75
+ paragraphs about the topic.
76
+ `,
77
+ processResponse: (val) => {
78
+ const embedId = v4();
79
+ const embed = {
80
+ id: embedId,
81
+ data: { content: val.content },
82
+ embedded: true,
83
+ position: 1,
84
+ type: "TIPTAP_HTML"
85
+ };
86
+ return {
87
+ title: val.title,
88
+ embeds: { [embedId]: embed }
89
+ };
90
+ }
91
+ };
18
92
  var manifest$1 = {
19
93
  type,
20
94
  version: "1.0",
@@ -22,36 +96,19 @@ var manifest$1 = {
22
96
  ssr: false,
23
97
  isComposite: true,
24
98
  initState,
25
- ui
99
+ ui,
100
+ ai
26
101
  };
27
- var src_default = manifest$1;
28
- var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
29
- function getDefaultExportFromCjs(x) {
30
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
31
- }
32
- function arrayPush$2(array, values) {
33
- var index = -1, length = values.length, offset = array.length;
34
- while (++index < length) {
35
- array[offset + index] = values[index];
36
- }
37
- return array;
38
- }
39
- var _arrayPush = arrayPush$2;
40
- var freeGlobal$1 = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
41
- var _freeGlobal = freeGlobal$1;
42
- var freeGlobal = _freeGlobal;
102
+ var index_default = manifest$1;
103
+ var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
43
104
  var freeSelf = typeof self == "object" && self && self.Object === Object && self;
44
- var root$8 = freeGlobal || freeSelf || Function("return this")();
45
- var _root = root$8;
46
- var root$7 = _root;
47
- var Symbol$6 = root$7.Symbol;
48
- var _Symbol = Symbol$6;
49
- var Symbol$5 = _Symbol;
105
+ var root = freeGlobal || freeSelf || Function("return this")();
106
+ var Symbol$1 = root.Symbol;
50
107
  var objectProto$b = Object.prototype;
51
108
  var hasOwnProperty$8 = objectProto$b.hasOwnProperty;
52
109
  var nativeObjectToString$1 = objectProto$b.toString;
53
- var symToStringTag$1 = Symbol$5 ? Symbol$5.toStringTag : void 0;
54
- function getRawTag$1(value) {
110
+ var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : void 0;
111
+ function getRawTag(value) {
55
112
  var isOwn = hasOwnProperty$8.call(value, symToStringTag$1), tag = value[symToStringTag$1];
56
113
  try {
57
114
  value[symToStringTag$1] = void 0;
@@ -68,128 +125,74 @@ function getRawTag$1(value) {
68
125
  }
69
126
  return result;
70
127
  }
71
- var _getRawTag = getRawTag$1;
72
128
  var objectProto$a = Object.prototype;
73
129
  var nativeObjectToString = objectProto$a.toString;
74
- function objectToString$1(value) {
130
+ function objectToString(value) {
75
131
  return nativeObjectToString.call(value);
76
132
  }
77
- var _objectToString = objectToString$1;
78
- var Symbol$4 = _Symbol, getRawTag = _getRawTag, objectToString = _objectToString;
79
133
  var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
80
- var symToStringTag = Symbol$4 ? Symbol$4.toStringTag : void 0;
81
- function baseGetTag$5(value) {
134
+ var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : void 0;
135
+ function baseGetTag(value) {
82
136
  if (value == null) {
83
137
  return value === void 0 ? undefinedTag : nullTag;
84
138
  }
85
139
  return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
86
140
  }
87
- var _baseGetTag = baseGetTag$5;
88
- function isObjectLike$5(value) {
141
+ function isObjectLike(value) {
89
142
  return value != null && typeof value == "object";
90
143
  }
91
- var isObjectLike_1 = isObjectLike$5;
92
- var baseGetTag$4 = _baseGetTag, isObjectLike$4 = isObjectLike_1;
93
- var argsTag$2 = "[object Arguments]";
94
- function baseIsArguments$1(value) {
95
- return isObjectLike$4(value) && baseGetTag$4(value) == argsTag$2;
96
- }
97
- var _baseIsArguments = baseIsArguments$1;
98
- var baseIsArguments = _baseIsArguments, isObjectLike$3 = isObjectLike_1;
99
- var objectProto$9 = Object.prototype;
100
- var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
101
- var propertyIsEnumerable$1 = objectProto$9.propertyIsEnumerable;
102
- var isArguments$3 = baseIsArguments(function() {
103
- return arguments;
104
- }()) ? baseIsArguments : function(value) {
105
- return isObjectLike$3(value) && hasOwnProperty$7.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
106
- };
107
- var isArguments_1 = isArguments$3;
108
- var isArray$a = Array.isArray;
109
- var isArray_1 = isArray$a;
110
- var Symbol$3 = _Symbol, isArguments$2 = isArguments_1, isArray$9 = isArray_1;
111
- var spreadableSymbol = Symbol$3 ? Symbol$3.isConcatSpreadable : void 0;
112
- function isFlattenable$1(value) {
113
- return isArray$9(value) || isArguments$2(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
114
- }
115
- var _isFlattenable = isFlattenable$1;
116
- var arrayPush$1 = _arrayPush, isFlattenable = _isFlattenable;
117
- function baseFlatten$1(array, depth, predicate, isStrict, result) {
118
- var index = -1, length = array.length;
119
- predicate || (predicate = isFlattenable);
120
- result || (result = []);
121
- while (++index < length) {
122
- var value = array[index];
123
- if (depth > 0 && predicate(value)) {
124
- if (depth > 1) {
125
- baseFlatten$1(value, depth - 1, predicate, isStrict, result);
126
- } else {
127
- arrayPush$1(result, value);
128
- }
129
- } else if (!isStrict) {
130
- result[result.length] = value;
131
- }
132
- }
133
- return result;
144
+ var symbolTag$1 = "[object Symbol]";
145
+ function isSymbol(value) {
146
+ return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag$1;
134
147
  }
135
- var _baseFlatten = baseFlatten$1;
136
- function arrayMap$2(array, iteratee) {
148
+ function arrayMap(array, iteratee) {
137
149
  var index = -1, length = array == null ? 0 : array.length, result = Array(length);
138
150
  while (++index < length) {
139
151
  result[index] = iteratee(array[index], index, array);
140
152
  }
141
153
  return result;
142
154
  }
143
- var _arrayMap = arrayMap$2;
144
- var baseGetTag$3 = _baseGetTag, isObjectLike$2 = isObjectLike_1;
145
- var symbolTag$1 = "[object Symbol]";
146
- function isSymbol$4(value) {
147
- return typeof value == "symbol" || isObjectLike$2(value) && baseGetTag$3(value) == symbolTag$1;
148
- }
149
- var isSymbol_1 = isSymbol$4;
150
- var isArray$8 = isArray_1, isSymbol$3 = isSymbol_1;
151
- var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
152
- function isKey$3(value, object) {
153
- if (isArray$8(value)) {
154
- return false;
155
+ var isArray = Array.isArray;
156
+ var symbolProto$1 = Symbol$1 ? Symbol$1.prototype : void 0, symbolToString = symbolProto$1 ? symbolProto$1.toString : void 0;
157
+ function baseToString(value) {
158
+ if (typeof value == "string") {
159
+ return value;
155
160
  }
156
- var type2 = typeof value;
157
- if (type2 == "number" || type2 == "symbol" || type2 == "boolean" || value == null || isSymbol$3(value)) {
158
- return true;
161
+ if (isArray(value)) {
162
+ return arrayMap(value, baseToString) + "";
159
163
  }
160
- return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
164
+ if (isSymbol(value)) {
165
+ return symbolToString ? symbolToString.call(value) : "";
166
+ }
167
+ var result = value + "";
168
+ return result == "0" && 1 / value == -Infinity ? "-0" : result;
161
169
  }
162
- var _isKey = isKey$3;
163
- function isObject$4(value) {
170
+ function isObject(value) {
164
171
  var type2 = typeof value;
165
172
  return value != null && (type2 == "object" || type2 == "function");
166
173
  }
167
- var isObject_1 = isObject$4;
168
- var baseGetTag$2 = _baseGetTag, isObject$3 = isObject_1;
174
+ function identity(value) {
175
+ return value;
176
+ }
169
177
  var asyncTag = "[object AsyncFunction]", funcTag$1 = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
170
- function isFunction$2(value) {
171
- if (!isObject$3(value)) {
178
+ function isFunction(value) {
179
+ if (!isObject(value)) {
172
180
  return false;
173
181
  }
174
- var tag = baseGetTag$2(value);
182
+ var tag = baseGetTag(value);
175
183
  return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
176
184
  }
177
- var isFunction_1 = isFunction$2;
178
- var root$6 = _root;
179
- var coreJsData$1 = root$6["__core-js_shared__"];
180
- var _coreJsData = coreJsData$1;
181
- var coreJsData = _coreJsData;
185
+ var coreJsData = root["__core-js_shared__"];
182
186
  var maskSrcKey = function() {
183
187
  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
184
188
  return uid ? "Symbol(src)_1." + uid : "";
185
189
  }();
186
- function isMasked$1(func) {
190
+ function isMasked(func) {
187
191
  return !!maskSrcKey && maskSrcKey in func;
188
192
  }
189
- var _isMasked = isMasked$1;
190
193
  var funcProto$1 = Function.prototype;
191
194
  var funcToString$1 = funcProto$1.toString;
192
- function toSource$2(func) {
195
+ function toSource(func) {
193
196
  if (func != null) {
194
197
  try {
195
198
  return funcToString$1.call(func);
@@ -202,81 +205,274 @@ function toSource$2(func) {
202
205
  }
203
206
  return "";
204
207
  }
205
- var _toSource = toSource$2;
206
- var isFunction$1 = isFunction_1, isMasked = _isMasked, isObject$2 = isObject_1, toSource$1 = _toSource;
207
208
  var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
208
209
  var reIsHostCtor = /^\[object .+?Constructor\]$/;
209
- var funcProto = Function.prototype, objectProto$8 = Object.prototype;
210
+ var funcProto = Function.prototype, objectProto$9 = Object.prototype;
210
211
  var funcToString = funcProto.toString;
211
- var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
212
+ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
212
213
  var reIsNative = RegExp(
213
- "^" + funcToString.call(hasOwnProperty$6).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
214
+ "^" + funcToString.call(hasOwnProperty$7).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
214
215
  );
215
- function baseIsNative$1(value) {
216
- if (!isObject$2(value) || isMasked(value)) {
216
+ function baseIsNative(value) {
217
+ if (!isObject(value) || isMasked(value)) {
217
218
  return false;
218
219
  }
219
- var pattern = isFunction$1(value) ? reIsNative : reIsHostCtor;
220
- return pattern.test(toSource$1(value));
220
+ var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
221
+ return pattern.test(toSource(value));
221
222
  }
222
- var _baseIsNative = baseIsNative$1;
223
- function getValue$1(object, key) {
223
+ function getValue(object, key) {
224
224
  return object == null ? void 0 : object[key];
225
225
  }
226
- var _getValue = getValue$1;
227
- var baseIsNative = _baseIsNative, getValue = _getValue;
228
- function getNative$7(object, key) {
226
+ function getNative(object, key) {
229
227
  var value = getValue(object, key);
230
228
  return baseIsNative(value) ? value : void 0;
231
229
  }
232
- var _getNative = getNative$7;
233
- var getNative$6 = _getNative;
234
- var nativeCreate$4 = getNative$6(Object, "create");
235
- var _nativeCreate = nativeCreate$4;
236
- var nativeCreate$3 = _nativeCreate;
237
- function hashClear$1() {
238
- this.__data__ = nativeCreate$3 ? nativeCreate$3(null) : {};
230
+ var WeakMap = getNative(root, "WeakMap");
231
+ function apply(func, thisArg, args) {
232
+ switch (args.length) {
233
+ case 0:
234
+ return func.call(thisArg);
235
+ case 1:
236
+ return func.call(thisArg, args[0]);
237
+ case 2:
238
+ return func.call(thisArg, args[0], args[1]);
239
+ case 3:
240
+ return func.call(thisArg, args[0], args[1], args[2]);
241
+ }
242
+ return func.apply(thisArg, args);
243
+ }
244
+ var HOT_COUNT = 800, HOT_SPAN = 16;
245
+ var nativeNow = Date.now;
246
+ function shortOut(func) {
247
+ var count = 0, lastCalled = 0;
248
+ return function() {
249
+ var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
250
+ lastCalled = stamp;
251
+ if (remaining > 0) {
252
+ if (++count >= HOT_COUNT) {
253
+ return arguments[0];
254
+ }
255
+ } else {
256
+ count = 0;
257
+ }
258
+ return func.apply(void 0, arguments);
259
+ };
260
+ }
261
+ function constant(value) {
262
+ return function() {
263
+ return value;
264
+ };
265
+ }
266
+ var defineProperty = function() {
267
+ try {
268
+ var func = getNative(Object, "defineProperty");
269
+ func({}, "", {});
270
+ return func;
271
+ } catch (e) {
272
+ }
273
+ }();
274
+ var baseSetToString = !defineProperty ? identity : function(func, string) {
275
+ return defineProperty(func, "toString", {
276
+ "configurable": true,
277
+ "enumerable": false,
278
+ "value": constant(string),
279
+ "writable": true
280
+ });
281
+ };
282
+ var setToString = shortOut(baseSetToString);
283
+ var MAX_SAFE_INTEGER$1 = 9007199254740991;
284
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
285
+ function isIndex(value, length) {
286
+ var type2 = typeof value;
287
+ length = length == null ? MAX_SAFE_INTEGER$1 : length;
288
+ return !!length && (type2 == "number" || type2 != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
289
+ }
290
+ function eq(value, other) {
291
+ return value === other || value !== value && other !== other;
292
+ }
293
+ var nativeMax = Math.max;
294
+ function overRest(func, start, transform) {
295
+ start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
296
+ return function() {
297
+ var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
298
+ while (++index < length) {
299
+ array[index] = args[start + index];
300
+ }
301
+ index = -1;
302
+ var otherArgs = Array(start + 1);
303
+ while (++index < start) {
304
+ otherArgs[index] = args[index];
305
+ }
306
+ otherArgs[start] = transform(array);
307
+ return apply(func, this, otherArgs);
308
+ };
309
+ }
310
+ function baseRest(func, start) {
311
+ return setToString(overRest(func, start, identity), func + "");
312
+ }
313
+ var MAX_SAFE_INTEGER = 9007199254740991;
314
+ function isLength(value) {
315
+ return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
316
+ }
317
+ function isArrayLike(value) {
318
+ return value != null && isLength(value.length) && !isFunction(value);
319
+ }
320
+ function isIterateeCall(value, index, object) {
321
+ if (!isObject(object)) {
322
+ return false;
323
+ }
324
+ var type2 = typeof index;
325
+ if (type2 == "number" ? isArrayLike(object) && isIndex(index, object.length) : type2 == "string" && index in object) {
326
+ return eq(object[index], value);
327
+ }
328
+ return false;
329
+ }
330
+ var objectProto$8 = Object.prototype;
331
+ function isPrototype(value) {
332
+ var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$8;
333
+ return value === proto;
334
+ }
335
+ function baseTimes(n, iteratee) {
336
+ var index = -1, result = Array(n);
337
+ while (++index < n) {
338
+ result[index] = iteratee(index);
339
+ }
340
+ return result;
341
+ }
342
+ var argsTag$2 = "[object Arguments]";
343
+ function baseIsArguments(value) {
344
+ return isObjectLike(value) && baseGetTag(value) == argsTag$2;
345
+ }
346
+ var objectProto$7 = Object.prototype;
347
+ var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
348
+ var propertyIsEnumerable$1 = objectProto$7.propertyIsEnumerable;
349
+ var isArguments = baseIsArguments(/* @__PURE__ */ function() {
350
+ return arguments;
351
+ }()) ? baseIsArguments : function(value) {
352
+ return isObjectLike(value) && hasOwnProperty$6.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
353
+ };
354
+ function stubFalse() {
355
+ return false;
356
+ }
357
+ var freeExports$1 = typeof exports == "object" && exports && !exports.nodeType && exports;
358
+ var freeModule$1 = freeExports$1 && typeof module == "object" && module && !module.nodeType && module;
359
+ var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
360
+ var Buffer = moduleExports$1 ? root.Buffer : void 0;
361
+ var nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0;
362
+ var isBuffer = nativeIsBuffer || stubFalse;
363
+ var argsTag$1 = "[object Arguments]", arrayTag$1 = "[object Array]", boolTag$1 = "[object Boolean]", dateTag$1 = "[object Date]", errorTag$1 = "[object Error]", funcTag = "[object Function]", mapTag$2 = "[object Map]", numberTag$1 = "[object Number]", objectTag$2 = "[object Object]", regexpTag$1 = "[object RegExp]", setTag$2 = "[object Set]", stringTag$1 = "[object String]", weakMapTag$1 = "[object WeakMap]";
364
+ var arrayBufferTag$1 = "[object ArrayBuffer]", dataViewTag$2 = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
365
+ var typedArrayTags = {};
366
+ typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
367
+ typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] = typedArrayTags[arrayBufferTag$1] = typedArrayTags[boolTag$1] = typedArrayTags[dataViewTag$2] = typedArrayTags[dateTag$1] = typedArrayTags[errorTag$1] = typedArrayTags[funcTag] = typedArrayTags[mapTag$2] = typedArrayTags[numberTag$1] = typedArrayTags[objectTag$2] = typedArrayTags[regexpTag$1] = typedArrayTags[setTag$2] = typedArrayTags[stringTag$1] = typedArrayTags[weakMapTag$1] = false;
368
+ function baseIsTypedArray(value) {
369
+ return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
370
+ }
371
+ function baseUnary(func) {
372
+ return function(value) {
373
+ return func(value);
374
+ };
375
+ }
376
+ var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
377
+ var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
378
+ var moduleExports = freeModule && freeModule.exports === freeExports;
379
+ var freeProcess = moduleExports && freeGlobal.process;
380
+ var nodeUtil = function() {
381
+ try {
382
+ var types = freeModule && freeModule.require && freeModule.require("util").types;
383
+ if (types) {
384
+ return types;
385
+ }
386
+ return freeProcess && freeProcess.binding && freeProcess.binding("util");
387
+ } catch (e) {
388
+ }
389
+ }();
390
+ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
391
+ var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
392
+ var objectProto$6 = Object.prototype;
393
+ var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
394
+ function arrayLikeKeys(value, inherited) {
395
+ var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
396
+ for (var key in value) {
397
+ if (hasOwnProperty$5.call(value, key) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
398
+ (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
399
+ isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
400
+ isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
401
+ isIndex(key, length)))) {
402
+ result.push(key);
403
+ }
404
+ }
405
+ return result;
406
+ }
407
+ function overArg(func, transform) {
408
+ return function(arg) {
409
+ return func(transform(arg));
410
+ };
411
+ }
412
+ var nativeKeys = overArg(Object.keys, Object);
413
+ var objectProto$5 = Object.prototype;
414
+ var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
415
+ function baseKeys(object) {
416
+ if (!isPrototype(object)) {
417
+ return nativeKeys(object);
418
+ }
419
+ var result = [];
420
+ for (var key in Object(object)) {
421
+ if (hasOwnProperty$4.call(object, key) && key != "constructor") {
422
+ result.push(key);
423
+ }
424
+ }
425
+ return result;
426
+ }
427
+ function keys(object) {
428
+ return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
429
+ }
430
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
431
+ function isKey(value, object) {
432
+ if (isArray(value)) {
433
+ return false;
434
+ }
435
+ var type2 = typeof value;
436
+ if (type2 == "number" || type2 == "symbol" || type2 == "boolean" || value == null || isSymbol(value)) {
437
+ return true;
438
+ }
439
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
440
+ }
441
+ var nativeCreate = getNative(Object, "create");
442
+ function hashClear() {
443
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
239
444
  this.size = 0;
240
445
  }
241
- var _hashClear = hashClear$1;
242
- function hashDelete$1(key) {
446
+ function hashDelete(key) {
243
447
  var result = this.has(key) && delete this.__data__[key];
244
448
  this.size -= result ? 1 : 0;
245
449
  return result;
246
450
  }
247
- var _hashDelete = hashDelete$1;
248
- var nativeCreate$2 = _nativeCreate;
249
451
  var HASH_UNDEFINED$2 = "__lodash_hash_undefined__";
250
- var objectProto$7 = Object.prototype;
251
- var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
252
- function hashGet$1(key) {
452
+ var objectProto$4 = Object.prototype;
453
+ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
454
+ function hashGet(key) {
253
455
  var data = this.__data__;
254
- if (nativeCreate$2) {
456
+ if (nativeCreate) {
255
457
  var result = data[key];
256
458
  return result === HASH_UNDEFINED$2 ? void 0 : result;
257
459
  }
258
- return hasOwnProperty$5.call(data, key) ? data[key] : void 0;
460
+ return hasOwnProperty$3.call(data, key) ? data[key] : void 0;
259
461
  }
260
- var _hashGet = hashGet$1;
261
- var nativeCreate$1 = _nativeCreate;
262
- var objectProto$6 = Object.prototype;
263
- var hasOwnProperty$4 = objectProto$6.hasOwnProperty;
264
- function hashHas$1(key) {
462
+ var objectProto$3 = Object.prototype;
463
+ var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
464
+ function hashHas(key) {
265
465
  var data = this.__data__;
266
- return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty$4.call(data, key);
466
+ return nativeCreate ? data[key] !== void 0 : hasOwnProperty$2.call(data, key);
267
467
  }
268
- var _hashHas = hashHas$1;
269
- var nativeCreate = _nativeCreate;
270
468
  var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
271
- function hashSet$1(key, value) {
469
+ function hashSet(key, value) {
272
470
  var data = this.__data__;
273
471
  this.size += this.has(key) ? 0 : 1;
274
472
  data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED$1 : value;
275
473
  return this;
276
474
  }
277
- var _hashSet = hashSet$1;
278
- var hashClear = _hashClear, hashDelete = _hashDelete, hashGet = _hashGet, hashHas = _hashHas, hashSet = _hashSet;
279
- function Hash$1(entries) {
475
+ function Hash(entries) {
280
476
  var index = -1, length = entries == null ? 0 : entries.length;
281
477
  this.clear();
282
478
  while (++index < length) {
@@ -284,37 +480,28 @@ function Hash$1(entries) {
284
480
  this.set(entry[0], entry[1]);
285
481
  }
286
482
  }
287
- Hash$1.prototype.clear = hashClear;
288
- Hash$1.prototype["delete"] = hashDelete;
289
- Hash$1.prototype.get = hashGet;
290
- Hash$1.prototype.has = hashHas;
291
- Hash$1.prototype.set = hashSet;
292
- var _Hash = Hash$1;
293
- function listCacheClear$1() {
483
+ Hash.prototype.clear = hashClear;
484
+ Hash.prototype["delete"] = hashDelete;
485
+ Hash.prototype.get = hashGet;
486
+ Hash.prototype.has = hashHas;
487
+ Hash.prototype.set = hashSet;
488
+ function listCacheClear() {
294
489
  this.__data__ = [];
295
490
  this.size = 0;
296
491
  }
297
- var _listCacheClear = listCacheClear$1;
298
- function eq$3(value, other) {
299
- return value === other || value !== value && other !== other;
300
- }
301
- var eq_1 = eq$3;
302
- var eq$2 = eq_1;
303
- function assocIndexOf$4(array, key) {
492
+ function assocIndexOf(array, key) {
304
493
  var length = array.length;
305
494
  while (length--) {
306
- if (eq$2(array[length][0], key)) {
495
+ if (eq(array[length][0], key)) {
307
496
  return length;
308
497
  }
309
498
  }
310
499
  return -1;
311
500
  }
312
- var _assocIndexOf = assocIndexOf$4;
313
- var assocIndexOf$3 = _assocIndexOf;
314
501
  var arrayProto = Array.prototype;
315
502
  var splice = arrayProto.splice;
316
- function listCacheDelete$1(key) {
317
- var data = this.__data__, index = assocIndexOf$3(data, key);
503
+ function listCacheDelete(key) {
504
+ var data = this.__data__, index = assocIndexOf(data, key);
318
505
  if (index < 0) {
319
506
  return false;
320
507
  }
@@ -327,20 +514,14 @@ function listCacheDelete$1(key) {
327
514
  --this.size;
328
515
  return true;
329
516
  }
330
- var _listCacheDelete = listCacheDelete$1;
331
- var assocIndexOf$2 = _assocIndexOf;
332
- function listCacheGet$1(key) {
333
- var data = this.__data__, index = assocIndexOf$2(data, key);
517
+ function listCacheGet(key) {
518
+ var data = this.__data__, index = assocIndexOf(data, key);
334
519
  return index < 0 ? void 0 : data[index][1];
335
520
  }
336
- var _listCacheGet = listCacheGet$1;
337
- var assocIndexOf$1 = _assocIndexOf;
338
- function listCacheHas$1(key) {
339
- return assocIndexOf$1(this.__data__, key) > -1;
521
+ function listCacheHas(key) {
522
+ return assocIndexOf(this.__data__, key) > -1;
340
523
  }
341
- var _listCacheHas = listCacheHas$1;
342
- var assocIndexOf = _assocIndexOf;
343
- function listCacheSet$1(key, value) {
524
+ function listCacheSet(key, value) {
344
525
  var data = this.__data__, index = assocIndexOf(data, key);
345
526
  if (index < 0) {
346
527
  ++this.size;
@@ -350,9 +531,7 @@ function listCacheSet$1(key, value) {
350
531
  }
351
532
  return this;
352
533
  }
353
- var _listCacheSet = listCacheSet$1;
354
- var listCacheClear = _listCacheClear, listCacheDelete = _listCacheDelete, listCacheGet = _listCacheGet, listCacheHas = _listCacheHas, listCacheSet = _listCacheSet;
355
- function ListCache$4(entries) {
534
+ function ListCache(entries) {
356
535
  var index = -1, length = entries == null ? 0 : entries.length;
357
536
  this.clear();
358
537
  while (++index < length) {
@@ -360,63 +539,46 @@ function ListCache$4(entries) {
360
539
  this.set(entry[0], entry[1]);
361
540
  }
362
541
  }
363
- ListCache$4.prototype.clear = listCacheClear;
364
- ListCache$4.prototype["delete"] = listCacheDelete;
365
- ListCache$4.prototype.get = listCacheGet;
366
- ListCache$4.prototype.has = listCacheHas;
367
- ListCache$4.prototype.set = listCacheSet;
368
- var _ListCache = ListCache$4;
369
- var getNative$5 = _getNative, root$5 = _root;
370
- var Map$3 = getNative$5(root$5, "Map");
371
- var _Map = Map$3;
372
- var Hash = _Hash, ListCache$3 = _ListCache, Map$2 = _Map;
373
- function mapCacheClear$1() {
542
+ ListCache.prototype.clear = listCacheClear;
543
+ ListCache.prototype["delete"] = listCacheDelete;
544
+ ListCache.prototype.get = listCacheGet;
545
+ ListCache.prototype.has = listCacheHas;
546
+ ListCache.prototype.set = listCacheSet;
547
+ var Map = getNative(root, "Map");
548
+ function mapCacheClear() {
374
549
  this.size = 0;
375
550
  this.__data__ = {
376
551
  "hash": new Hash(),
377
- "map": new (Map$2 || ListCache$3)(),
552
+ "map": new (Map || ListCache)(),
378
553
  "string": new Hash()
379
554
  };
380
555
  }
381
- var _mapCacheClear = mapCacheClear$1;
382
- function isKeyable$1(value) {
556
+ function isKeyable(value) {
383
557
  var type2 = typeof value;
384
558
  return type2 == "string" || type2 == "number" || type2 == "symbol" || type2 == "boolean" ? value !== "__proto__" : value === null;
385
559
  }
386
- var _isKeyable = isKeyable$1;
387
- var isKeyable = _isKeyable;
388
- function getMapData$4(map, key) {
560
+ function getMapData(map, key) {
389
561
  var data = map.__data__;
390
562
  return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
391
563
  }
392
- var _getMapData = getMapData$4;
393
- var getMapData$3 = _getMapData;
394
- function mapCacheDelete$1(key) {
395
- var result = getMapData$3(this, key)["delete"](key);
564
+ function mapCacheDelete(key) {
565
+ var result = getMapData(this, key)["delete"](key);
396
566
  this.size -= result ? 1 : 0;
397
567
  return result;
398
568
  }
399
- var _mapCacheDelete = mapCacheDelete$1;
400
- var getMapData$2 = _getMapData;
401
- function mapCacheGet$1(key) {
402
- return getMapData$2(this, key).get(key);
569
+ function mapCacheGet(key) {
570
+ return getMapData(this, key).get(key);
403
571
  }
404
- var _mapCacheGet = mapCacheGet$1;
405
- var getMapData$1 = _getMapData;
406
- function mapCacheHas$1(key) {
407
- return getMapData$1(this, key).has(key);
572
+ function mapCacheHas(key) {
573
+ return getMapData(this, key).has(key);
408
574
  }
409
- var _mapCacheHas = mapCacheHas$1;
410
- var getMapData = _getMapData;
411
- function mapCacheSet$1(key, value) {
575
+ function mapCacheSet(key, value) {
412
576
  var data = getMapData(this, key), size = data.size;
413
577
  data.set(key, value);
414
578
  this.size += data.size == size ? 0 : 1;
415
579
  return this;
416
580
  }
417
- var _mapCacheSet = mapCacheSet$1;
418
- var mapCacheClear = _mapCacheClear, mapCacheDelete = _mapCacheDelete, mapCacheGet = _mapCacheGet, mapCacheHas = _mapCacheHas, mapCacheSet = _mapCacheSet;
419
- function MapCache$3(entries) {
581
+ function MapCache(entries) {
420
582
  var index = -1, length = entries == null ? 0 : entries.length;
421
583
  this.clear();
422
584
  while (++index < length) {
@@ -424,15 +586,13 @@ function MapCache$3(entries) {
424
586
  this.set(entry[0], entry[1]);
425
587
  }
426
588
  }
427
- MapCache$3.prototype.clear = mapCacheClear;
428
- MapCache$3.prototype["delete"] = mapCacheDelete;
429
- MapCache$3.prototype.get = mapCacheGet;
430
- MapCache$3.prototype.has = mapCacheHas;
431
- MapCache$3.prototype.set = mapCacheSet;
432
- var _MapCache = MapCache$3;
433
- var MapCache$2 = _MapCache;
589
+ MapCache.prototype.clear = mapCacheClear;
590
+ MapCache.prototype["delete"] = mapCacheDelete;
591
+ MapCache.prototype.get = mapCacheGet;
592
+ MapCache.prototype.has = mapCacheHas;
593
+ MapCache.prototype.set = mapCacheSet;
434
594
  var FUNC_ERROR_TEXT = "Expected a function";
435
- function memoize$1(func, resolver) {
595
+ function memoize(func, resolver) {
436
596
  if (typeof func != "function" || resolver != null && typeof resolver != "function") {
437
597
  throw new TypeError(FUNC_ERROR_TEXT);
438
598
  }
@@ -445,14 +605,12 @@ function memoize$1(func, resolver) {
445
605
  memoized.cache = cache.set(key, result) || cache;
446
606
  return result;
447
607
  };
448
- memoized.cache = new (memoize$1.Cache || MapCache$2)();
608
+ memoized.cache = new (memoize.Cache || MapCache)();
449
609
  return memoized;
450
610
  }
451
- memoize$1.Cache = MapCache$2;
452
- var memoize_1 = memoize$1;
453
- var memoize = memoize_1;
611
+ memoize.Cache = MapCache;
454
612
  var MAX_MEMOIZE_SIZE = 500;
455
- function memoizeCapped$1(func) {
613
+ function memoizeCapped(func) {
456
614
  var result = memoize(func, function(key) {
457
615
  if (cache.size === MAX_MEMOIZE_SIZE) {
458
616
  cache.clear();
@@ -462,11 +620,9 @@ function memoizeCapped$1(func) {
462
620
  var cache = result.cache;
463
621
  return result;
464
622
  }
465
- var _memoizeCapped = memoizeCapped$1;
466
- var memoizeCapped = _memoizeCapped;
467
623
  var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
468
624
  var reEscapeChar = /\\(\\)?/g;
469
- var stringToPath$1 = memoizeCapped(function(string) {
625
+ var stringToPath = memoizeCapped(function(string) {
470
626
  var result = [];
471
627
  if (string.charCodeAt(0) === 46) {
472
628
  result.push("");
@@ -476,128 +632,179 @@ var stringToPath$1 = memoizeCapped(function(string) {
476
632
  });
477
633
  return result;
478
634
  });
479
- var _stringToPath = stringToPath$1;
480
- var Symbol$2 = _Symbol, arrayMap$1 = _arrayMap, isArray$7 = isArray_1, isSymbol$2 = isSymbol_1;
481
- var INFINITY$1 = 1 / 0;
482
- var symbolProto$1 = Symbol$2 ? Symbol$2.prototype : void 0, symbolToString = symbolProto$1 ? symbolProto$1.toString : void 0;
483
- function baseToString$1(value) {
484
- if (typeof value == "string") {
485
- return value;
486
- }
487
- if (isArray$7(value)) {
488
- return arrayMap$1(value, baseToString$1) + "";
489
- }
490
- if (isSymbol$2(value)) {
491
- return symbolToString ? symbolToString.call(value) : "";
492
- }
493
- var result = value + "";
494
- return result == "0" && 1 / value == -INFINITY$1 ? "-0" : result;
495
- }
496
- var _baseToString = baseToString$1;
497
- var baseToString = _baseToString;
498
- function toString$1(value) {
635
+ function toString(value) {
499
636
  return value == null ? "" : baseToString(value);
500
637
  }
501
- var toString_1 = toString$1;
502
- var isArray$6 = isArray_1, isKey$2 = _isKey, stringToPath = _stringToPath, toString = toString_1;
503
- function castPath$2(value, object) {
504
- if (isArray$6(value)) {
638
+ function castPath(value, object) {
639
+ if (isArray(value)) {
505
640
  return value;
506
641
  }
507
- return isKey$2(value, object) ? [value] : stringToPath(toString(value));
642
+ return isKey(value, object) ? [value] : stringToPath(toString(value));
508
643
  }
509
- var _castPath = castPath$2;
510
- var isSymbol$1 = isSymbol_1;
511
- var INFINITY = 1 / 0;
512
- function toKey$4(value) {
513
- if (typeof value == "string" || isSymbol$1(value)) {
644
+ function toKey(value) {
645
+ if (typeof value == "string" || isSymbol(value)) {
514
646
  return value;
515
647
  }
516
648
  var result = value + "";
517
- return result == "0" && 1 / value == -INFINITY ? "-0" : result;
649
+ return result == "0" && 1 / value == -Infinity ? "-0" : result;
518
650
  }
519
- var _toKey = toKey$4;
520
- var castPath$1 = _castPath, toKey$3 = _toKey;
521
- function baseGet$3(object, path) {
522
- path = castPath$1(path, object);
651
+ function baseGet(object, path) {
652
+ path = castPath(path, object);
523
653
  var index = 0, length = path.length;
524
654
  while (object != null && index < length) {
525
- object = object[toKey$3(path[index++])];
655
+ object = object[toKey(path[index++])];
526
656
  }
527
657
  return index && index == length ? object : void 0;
528
658
  }
529
- var _baseGet = baseGet$3;
530
- var ListCache$2 = _ListCache;
531
- function stackClear$1() {
532
- this.__data__ = new ListCache$2();
659
+ function get(object, path, defaultValue) {
660
+ var result = object == null ? void 0 : baseGet(object, path);
661
+ return result === void 0 ? defaultValue : result;
662
+ }
663
+ function arrayPush(array, values) {
664
+ var index = -1, length = values.length, offset = array.length;
665
+ while (++index < length) {
666
+ array[offset + index] = values[index];
667
+ }
668
+ return array;
669
+ }
670
+ var spreadableSymbol = Symbol$1 ? Symbol$1.isConcatSpreadable : void 0;
671
+ function isFlattenable(value) {
672
+ return isArray(value) || isArguments(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
673
+ }
674
+ function baseFlatten(array, depth, predicate, isStrict, result) {
675
+ var index = -1, length = array.length;
676
+ predicate || (predicate = isFlattenable);
677
+ result || (result = []);
678
+ while (++index < length) {
679
+ var value = array[index];
680
+ if (predicate(value)) {
681
+ {
682
+ arrayPush(result, value);
683
+ }
684
+ } else {
685
+ result[result.length] = value;
686
+ }
687
+ }
688
+ return result;
689
+ }
690
+ function stackClear() {
691
+ this.__data__ = new ListCache();
533
692
  this.size = 0;
534
693
  }
535
- var _stackClear = stackClear$1;
536
- function stackDelete$1(key) {
694
+ function stackDelete(key) {
537
695
  var data = this.__data__, result = data["delete"](key);
538
696
  this.size = data.size;
539
697
  return result;
540
698
  }
541
- var _stackDelete = stackDelete$1;
542
- function stackGet$1(key) {
699
+ function stackGet(key) {
543
700
  return this.__data__.get(key);
544
701
  }
545
- var _stackGet = stackGet$1;
546
- function stackHas$1(key) {
702
+ function stackHas(key) {
547
703
  return this.__data__.has(key);
548
704
  }
549
- var _stackHas = stackHas$1;
550
- var ListCache$1 = _ListCache, Map$1 = _Map, MapCache$1 = _MapCache;
551
705
  var LARGE_ARRAY_SIZE = 200;
552
- function stackSet$1(key, value) {
706
+ function stackSet(key, value) {
553
707
  var data = this.__data__;
554
- if (data instanceof ListCache$1) {
708
+ if (data instanceof ListCache) {
555
709
  var pairs = data.__data__;
556
- if (!Map$1 || pairs.length < LARGE_ARRAY_SIZE - 1) {
710
+ if (!Map || pairs.length < LARGE_ARRAY_SIZE - 1) {
557
711
  pairs.push([key, value]);
558
712
  this.size = ++data.size;
559
713
  return this;
560
714
  }
561
- data = this.__data__ = new MapCache$1(pairs);
715
+ data = this.__data__ = new MapCache(pairs);
562
716
  }
563
717
  data.set(key, value);
564
718
  this.size = data.size;
565
719
  return this;
566
720
  }
567
- var _stackSet = stackSet$1;
568
- var ListCache = _ListCache, stackClear = _stackClear, stackDelete = _stackDelete, stackGet = _stackGet, stackHas = _stackHas, stackSet = _stackSet;
569
- function Stack$2(entries) {
721
+ function Stack(entries) {
570
722
  var data = this.__data__ = new ListCache(entries);
571
723
  this.size = data.size;
572
724
  }
573
- Stack$2.prototype.clear = stackClear;
574
- Stack$2.prototype["delete"] = stackDelete;
575
- Stack$2.prototype.get = stackGet;
576
- Stack$2.prototype.has = stackHas;
577
- Stack$2.prototype.set = stackSet;
578
- var _Stack = Stack$2;
725
+ Stack.prototype.clear = stackClear;
726
+ Stack.prototype["delete"] = stackDelete;
727
+ Stack.prototype.get = stackGet;
728
+ Stack.prototype.has = stackHas;
729
+ Stack.prototype.set = stackSet;
730
+ function arrayFilter(array, predicate) {
731
+ var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
732
+ while (++index < length) {
733
+ var value = array[index];
734
+ if (predicate(value, index, array)) {
735
+ result[resIndex++] = value;
736
+ }
737
+ }
738
+ return result;
739
+ }
740
+ function stubArray() {
741
+ return [];
742
+ }
743
+ var objectProto$2 = Object.prototype;
744
+ var propertyIsEnumerable = objectProto$2.propertyIsEnumerable;
745
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
746
+ var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
747
+ if (object == null) {
748
+ return [];
749
+ }
750
+ object = Object(object);
751
+ return arrayFilter(nativeGetSymbols(object), function(symbol) {
752
+ return propertyIsEnumerable.call(object, symbol);
753
+ });
754
+ };
755
+ function baseGetAllKeys(object, keysFunc, symbolsFunc) {
756
+ var result = keysFunc(object);
757
+ return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
758
+ }
759
+ function getAllKeys(object) {
760
+ return baseGetAllKeys(object, keys, getSymbols);
761
+ }
762
+ var DataView = getNative(root, "DataView");
763
+ var Promise$1 = getNative(root, "Promise");
764
+ var Set = getNative(root, "Set");
765
+ var mapTag$1 = "[object Map]", objectTag$1 = "[object Object]", promiseTag = "[object Promise]", setTag$1 = "[object Set]", weakMapTag = "[object WeakMap]";
766
+ var dataViewTag$1 = "[object DataView]";
767
+ var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map), promiseCtorString = toSource(Promise$1), setCtorString = toSource(Set), weakMapCtorString = toSource(WeakMap);
768
+ var getTag = baseGetTag;
769
+ if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag$1 || Map && getTag(new Map()) != mapTag$1 || Promise$1 && getTag(Promise$1.resolve()) != promiseTag || Set && getTag(new Set()) != setTag$1 || WeakMap && getTag(new WeakMap()) != weakMapTag) {
770
+ getTag = function(value) {
771
+ var result = baseGetTag(value), Ctor = result == objectTag$1 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
772
+ if (ctorString) {
773
+ switch (ctorString) {
774
+ case dataViewCtorString:
775
+ return dataViewTag$1;
776
+ case mapCtorString:
777
+ return mapTag$1;
778
+ case promiseCtorString:
779
+ return promiseTag;
780
+ case setCtorString:
781
+ return setTag$1;
782
+ case weakMapCtorString:
783
+ return weakMapTag;
784
+ }
785
+ }
786
+ return result;
787
+ };
788
+ }
789
+ var Uint8Array$1 = root.Uint8Array;
579
790
  var HASH_UNDEFINED = "__lodash_hash_undefined__";
580
- function setCacheAdd$1(value) {
791
+ function setCacheAdd(value) {
581
792
  this.__data__.set(value, HASH_UNDEFINED);
582
793
  return this;
583
794
  }
584
- var _setCacheAdd = setCacheAdd$1;
585
- function setCacheHas$1(value) {
795
+ function setCacheHas(value) {
586
796
  return this.__data__.has(value);
587
797
  }
588
- var _setCacheHas = setCacheHas$1;
589
- var MapCache = _MapCache, setCacheAdd = _setCacheAdd, setCacheHas = _setCacheHas;
590
- function SetCache$1(values) {
798
+ function SetCache(values) {
591
799
  var index = -1, length = values == null ? 0 : values.length;
592
800
  this.__data__ = new MapCache();
593
801
  while (++index < length) {
594
802
  this.add(values[index]);
595
803
  }
596
804
  }
597
- SetCache$1.prototype.add = SetCache$1.prototype.push = setCacheAdd;
598
- SetCache$1.prototype.has = setCacheHas;
599
- var _SetCache = SetCache$1;
600
- function arraySome$1(array, predicate) {
805
+ SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
806
+ SetCache.prototype.has = setCacheHas;
807
+ function arraySome(array, predicate) {
601
808
  var index = -1, length = array == null ? 0 : array.length;
602
809
  while (++index < length) {
603
810
  if (predicate(array[index], index, array)) {
@@ -606,14 +813,11 @@ function arraySome$1(array, predicate) {
606
813
  }
607
814
  return false;
608
815
  }
609
- var _arraySome = arraySome$1;
610
- function cacheHas$1(cache, key) {
816
+ function cacheHas(cache, key) {
611
817
  return cache.has(key);
612
818
  }
613
- var _cacheHas = cacheHas$1;
614
- var SetCache = _SetCache, arraySome = _arraySome, cacheHas = _cacheHas;
615
819
  var COMPARE_PARTIAL_FLAG$5 = 1, COMPARE_UNORDERED_FLAG$3 = 2;
616
- function equalArrays$2(array, other, bitmask, customizer, equalFunc, stack) {
820
+ function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
617
821
  var isPartial = bitmask & COMPARE_PARTIAL_FLAG$5, arrLength = array.length, othLength = other.length;
618
822
  if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
619
823
  return false;
@@ -656,56 +860,49 @@ function equalArrays$2(array, other, bitmask, customizer, equalFunc, stack) {
656
860
  stack["delete"](other);
657
861
  return result;
658
862
  }
659
- var _equalArrays = equalArrays$2;
660
- var root$4 = _root;
661
- var Uint8Array$1 = root$4.Uint8Array;
662
- var _Uint8Array = Uint8Array$1;
663
- function mapToArray$1(map) {
863
+ function mapToArray(map) {
664
864
  var index = -1, result = Array(map.size);
665
865
  map.forEach(function(value, key) {
666
866
  result[++index] = [key, value];
667
867
  });
668
868
  return result;
669
869
  }
670
- var _mapToArray = mapToArray$1;
671
- function setToArray$1(set) {
870
+ function setToArray(set) {
672
871
  var index = -1, result = Array(set.size);
673
872
  set.forEach(function(value) {
674
873
  result[++index] = value;
675
874
  });
676
875
  return result;
677
876
  }
678
- var _setToArray = setToArray$1;
679
- var Symbol$1 = _Symbol, Uint8Array = _Uint8Array, eq$1 = eq_1, equalArrays$1 = _equalArrays, mapToArray = _mapToArray, setToArray = _setToArray;
680
877
  var COMPARE_PARTIAL_FLAG$4 = 1, COMPARE_UNORDERED_FLAG$2 = 2;
681
- var boolTag$1 = "[object Boolean]", dateTag$1 = "[object Date]", errorTag$1 = "[object Error]", mapTag$2 = "[object Map]", numberTag$1 = "[object Number]", regexpTag$1 = "[object RegExp]", setTag$2 = "[object Set]", stringTag$1 = "[object String]", symbolTag = "[object Symbol]";
682
- var arrayBufferTag$1 = "[object ArrayBuffer]", dataViewTag$2 = "[object DataView]";
878
+ var boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", mapTag = "[object Map]", numberTag = "[object Number]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]";
879
+ var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]";
683
880
  var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
684
- function equalByTag$1(object, other, tag, bitmask, customizer, equalFunc, stack) {
881
+ function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
685
882
  switch (tag) {
686
- case dataViewTag$2:
883
+ case dataViewTag:
687
884
  if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) {
688
885
  return false;
689
886
  }
690
887
  object = object.buffer;
691
888
  other = other.buffer;
692
- case arrayBufferTag$1:
693
- if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
889
+ case arrayBufferTag:
890
+ if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array$1(object), new Uint8Array$1(other))) {
694
891
  return false;
695
892
  }
696
893
  return true;
697
- case boolTag$1:
698
- case dateTag$1:
699
- case numberTag$1:
700
- return eq$1(+object, +other);
701
- case errorTag$1:
894
+ case boolTag:
895
+ case dateTag:
896
+ case numberTag:
897
+ return eq(+object, +other);
898
+ case errorTag:
702
899
  return object.name == other.name && object.message == other.message;
703
- case regexpTag$1:
704
- case stringTag$1:
900
+ case regexpTag:
901
+ case stringTag:
705
902
  return object == other + "";
706
- case mapTag$2:
903
+ case mapTag:
707
904
  var convert = mapToArray;
708
- case setTag$2:
905
+ case setTag:
709
906
  var isPartial = bitmask & COMPARE_PARTIAL_FLAG$4;
710
907
  convert || (convert = setToArray);
711
908
  if (object.size != other.size && !isPartial) {
@@ -717,7 +914,7 @@ function equalByTag$1(object, other, tag, bitmask, customizer, equalFunc, stack)
717
914
  }
718
915
  bitmask |= COMPARE_UNORDERED_FLAG$2;
719
916
  stack.set(object, other);
720
- var result = equalArrays$1(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
917
+ var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
721
918
  stack["delete"](object);
722
919
  return result;
723
920
  case symbolTag:
@@ -727,189 +924,10 @@ function equalByTag$1(object, other, tag, bitmask, customizer, equalFunc, stack)
727
924
  }
728
925
  return false;
729
926
  }
730
- var _equalByTag = equalByTag$1;
731
- var arrayPush = _arrayPush, isArray$5 = isArray_1;
732
- function baseGetAllKeys$1(object, keysFunc, symbolsFunc) {
733
- var result = keysFunc(object);
734
- return isArray$5(object) ? result : arrayPush(result, symbolsFunc(object));
735
- }
736
- var _baseGetAllKeys = baseGetAllKeys$1;
737
- function arrayFilter$1(array, predicate) {
738
- var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
739
- while (++index < length) {
740
- var value = array[index];
741
- if (predicate(value, index, array)) {
742
- result[resIndex++] = value;
743
- }
744
- }
745
- return result;
746
- }
747
- var _arrayFilter = arrayFilter$1;
748
- function stubArray$1() {
749
- return [];
750
- }
751
- var stubArray_1 = stubArray$1;
752
- var arrayFilter = _arrayFilter, stubArray = stubArray_1;
753
- var objectProto$5 = Object.prototype;
754
- var propertyIsEnumerable = objectProto$5.propertyIsEnumerable;
755
- var nativeGetSymbols = Object.getOwnPropertySymbols;
756
- var getSymbols$1 = !nativeGetSymbols ? stubArray : function(object) {
757
- if (object == null) {
758
- return [];
759
- }
760
- object = Object(object);
761
- return arrayFilter(nativeGetSymbols(object), function(symbol) {
762
- return propertyIsEnumerable.call(object, symbol);
763
- });
764
- };
765
- var _getSymbols = getSymbols$1;
766
- function baseTimes$1(n, iteratee) {
767
- var index = -1, result = Array(n);
768
- while (++index < n) {
769
- result[index] = iteratee(index);
770
- }
771
- return result;
772
- }
773
- var _baseTimes = baseTimes$1;
774
- var isBuffer$2 = { exports: {} };
775
- function stubFalse() {
776
- return false;
777
- }
778
- var stubFalse_1 = stubFalse;
779
- isBuffer$2.exports;
780
- (function(module2, exports2) {
781
- var root2 = _root, stubFalse2 = stubFalse_1;
782
- var freeExports = exports2 && !exports2.nodeType && exports2;
783
- var freeModule = freeExports && true && module2 && !module2.nodeType && module2;
784
- var moduleExports = freeModule && freeModule.exports === freeExports;
785
- var Buffer = moduleExports ? root2.Buffer : void 0;
786
- var nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0;
787
- var isBuffer2 = nativeIsBuffer || stubFalse2;
788
- module2.exports = isBuffer2;
789
- })(isBuffer$2, isBuffer$2.exports);
790
- var isBufferExports = isBuffer$2.exports;
791
- var MAX_SAFE_INTEGER$1 = 9007199254740991;
792
- var reIsUint = /^(?:0|[1-9]\d*)$/;
793
- function isIndex$3(value, length) {
794
- var type2 = typeof value;
795
- length = length == null ? MAX_SAFE_INTEGER$1 : length;
796
- return !!length && (type2 == "number" || type2 != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
797
- }
798
- var _isIndex = isIndex$3;
799
- var MAX_SAFE_INTEGER = 9007199254740991;
800
- function isLength$3(value) {
801
- return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
802
- }
803
- var isLength_1 = isLength$3;
804
- var baseGetTag$1 = _baseGetTag, isLength$2 = isLength_1, isObjectLike$1 = isObjectLike_1;
805
- var argsTag$1 = "[object Arguments]", arrayTag$1 = "[object Array]", boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", funcTag = "[object Function]", mapTag$1 = "[object Map]", numberTag = "[object Number]", objectTag$2 = "[object Object]", regexpTag = "[object RegExp]", setTag$1 = "[object Set]", stringTag = "[object String]", weakMapTag$1 = "[object WeakMap]";
806
- var arrayBufferTag = "[object ArrayBuffer]", dataViewTag$1 = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
807
- var typedArrayTags = {};
808
- typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
809
- typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag$1] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag$1] = typedArrayTags[numberTag] = typedArrayTags[objectTag$2] = typedArrayTags[regexpTag] = typedArrayTags[setTag$1] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag$1] = false;
810
- function baseIsTypedArray$1(value) {
811
- return isObjectLike$1(value) && isLength$2(value.length) && !!typedArrayTags[baseGetTag$1(value)];
812
- }
813
- var _baseIsTypedArray = baseIsTypedArray$1;
814
- function baseUnary$2(func) {
815
- return function(value) {
816
- return func(value);
817
- };
818
- }
819
- var _baseUnary = baseUnary$2;
820
- var _nodeUtil = { exports: {} };
821
- _nodeUtil.exports;
822
- (function(module2, exports2) {
823
- var freeGlobal2 = _freeGlobal;
824
- var freeExports = exports2 && !exports2.nodeType && exports2;
825
- var freeModule = freeExports && true && module2 && !module2.nodeType && module2;
826
- var moduleExports = freeModule && freeModule.exports === freeExports;
827
- var freeProcess = moduleExports && freeGlobal2.process;
828
- var nodeUtil2 = function() {
829
- try {
830
- var types = freeModule && freeModule.require && freeModule.require("util").types;
831
- if (types) {
832
- return types;
833
- }
834
- return freeProcess && freeProcess.binding && freeProcess.binding("util");
835
- } catch (e) {
836
- }
837
- }();
838
- module2.exports = nodeUtil2;
839
- })(_nodeUtil, _nodeUtil.exports);
840
- var _nodeUtilExports = _nodeUtil.exports;
841
- var baseIsTypedArray = _baseIsTypedArray, baseUnary$1 = _baseUnary, nodeUtil = _nodeUtilExports;
842
- var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
843
- var isTypedArray$2 = nodeIsTypedArray ? baseUnary$1(nodeIsTypedArray) : baseIsTypedArray;
844
- var isTypedArray_1 = isTypedArray$2;
845
- var baseTimes = _baseTimes, isArguments$1 = isArguments_1, isArray$4 = isArray_1, isBuffer$1 = isBufferExports, isIndex$2 = _isIndex, isTypedArray$1 = isTypedArray_1;
846
- var objectProto$4 = Object.prototype;
847
- var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
848
- function arrayLikeKeys$1(value, inherited) {
849
- var isArr = isArray$4(value), isArg = !isArr && isArguments$1(value), isBuff = !isArr && !isArg && isBuffer$1(value), isType = !isArr && !isArg && !isBuff && isTypedArray$1(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
850
- for (var key in value) {
851
- if ((inherited || hasOwnProperty$3.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
852
- (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
853
- isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
854
- isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
855
- isIndex$2(key, length)))) {
856
- result.push(key);
857
- }
858
- }
859
- return result;
860
- }
861
- var _arrayLikeKeys = arrayLikeKeys$1;
862
- var objectProto$3 = Object.prototype;
863
- function isPrototype$1(value) {
864
- var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$3;
865
- return value === proto;
866
- }
867
- var _isPrototype = isPrototype$1;
868
- function overArg$1(func, transform) {
869
- return function(arg) {
870
- return func(transform(arg));
871
- };
872
- }
873
- var _overArg = overArg$1;
874
- var overArg = _overArg;
875
- var nativeKeys$1 = overArg(Object.keys, Object);
876
- var _nativeKeys = nativeKeys$1;
877
- var isPrototype = _isPrototype, nativeKeys = _nativeKeys;
878
- var objectProto$2 = Object.prototype;
879
- var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
880
- function baseKeys$1(object) {
881
- if (!isPrototype(object)) {
882
- return nativeKeys(object);
883
- }
884
- var result = [];
885
- for (var key in Object(object)) {
886
- if (hasOwnProperty$2.call(object, key) && key != "constructor") {
887
- result.push(key);
888
- }
889
- }
890
- return result;
891
- }
892
- var _baseKeys = baseKeys$1;
893
- var isFunction = isFunction_1, isLength$1 = isLength_1;
894
- function isArrayLike$4(value) {
895
- return value != null && isLength$1(value.length) && !isFunction(value);
896
- }
897
- var isArrayLike_1 = isArrayLike$4;
898
- var arrayLikeKeys = _arrayLikeKeys, baseKeys = _baseKeys, isArrayLike$3 = isArrayLike_1;
899
- function keys$3(object) {
900
- return isArrayLike$3(object) ? arrayLikeKeys(object) : baseKeys(object);
901
- }
902
- var keys_1 = keys$3;
903
- var baseGetAllKeys = _baseGetAllKeys, getSymbols = _getSymbols, keys$2 = keys_1;
904
- function getAllKeys$1(object) {
905
- return baseGetAllKeys(object, keys$2, getSymbols);
906
- }
907
- var _getAllKeys = getAllKeys$1;
908
- var getAllKeys = _getAllKeys;
909
927
  var COMPARE_PARTIAL_FLAG$3 = 1;
910
928
  var objectProto$1 = Object.prototype;
911
929
  var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
912
- function equalObjects$1(object, other, bitmask, customizer, equalFunc, stack) {
930
+ function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
913
931
  var isPartial = bitmask & COMPARE_PARTIAL_FLAG$3, objProps = getAllKeys(object), objLength = objProps.length, othProps = getAllKeys(other), othLength = othProps.length;
914
932
  if (objLength != othLength && !isPartial) {
915
933
  return false;
@@ -952,52 +970,12 @@ function equalObjects$1(object, other, bitmask, customizer, equalFunc, stack) {
952
970
  stack["delete"](other);
953
971
  return result;
954
972
  }
955
- var _equalObjects = equalObjects$1;
956
- var getNative$4 = _getNative, root$3 = _root;
957
- var DataView$1 = getNative$4(root$3, "DataView");
958
- var _DataView = DataView$1;
959
- var getNative$3 = _getNative, root$2 = _root;
960
- var Promise$2 = getNative$3(root$2, "Promise");
961
- var _Promise = Promise$2;
962
- var getNative$2 = _getNative, root$1 = _root;
963
- var Set$1 = getNative$2(root$1, "Set");
964
- var _Set = Set$1;
965
- var getNative$1 = _getNative, root = _root;
966
- var WeakMap$1 = getNative$1(root, "WeakMap");
967
- var _WeakMap = WeakMap$1;
968
- var DataView = _DataView, Map = _Map, Promise$1 = _Promise, Set = _Set, WeakMap = _WeakMap, baseGetTag = _baseGetTag, toSource = _toSource;
969
- var mapTag = "[object Map]", objectTag$1 = "[object Object]", promiseTag = "[object Promise]", setTag = "[object Set]", weakMapTag = "[object WeakMap]";
970
- var dataViewTag = "[object DataView]";
971
- var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map), promiseCtorString = toSource(Promise$1), setCtorString = toSource(Set), weakMapCtorString = toSource(WeakMap);
972
- var getTag$1 = baseGetTag;
973
- if (DataView && getTag$1(new DataView(new ArrayBuffer(1))) != dataViewTag || Map && getTag$1(new Map()) != mapTag || Promise$1 && getTag$1(Promise$1.resolve()) != promiseTag || Set && getTag$1(new Set()) != setTag || WeakMap && getTag$1(new WeakMap()) != weakMapTag) {
974
- getTag$1 = function(value) {
975
- var result = baseGetTag(value), Ctor = result == objectTag$1 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
976
- if (ctorString) {
977
- switch (ctorString) {
978
- case dataViewCtorString:
979
- return dataViewTag;
980
- case mapCtorString:
981
- return mapTag;
982
- case promiseCtorString:
983
- return promiseTag;
984
- case setCtorString:
985
- return setTag;
986
- case weakMapCtorString:
987
- return weakMapTag;
988
- }
989
- }
990
- return result;
991
- };
992
- }
993
- var _getTag = getTag$1;
994
- var Stack$1 = _Stack, equalArrays = _equalArrays, equalByTag = _equalByTag, equalObjects = _equalObjects, getTag = _getTag, isArray$3 = isArray_1, isBuffer = isBufferExports, isTypedArray = isTypedArray_1;
995
973
  var COMPARE_PARTIAL_FLAG$2 = 1;
996
974
  var argsTag = "[object Arguments]", arrayTag = "[object Array]", objectTag = "[object Object]";
997
975
  var objectProto = Object.prototype;
998
976
  var hasOwnProperty = objectProto.hasOwnProperty;
999
- function baseIsEqualDeep$1(object, other, bitmask, customizer, equalFunc, stack) {
1000
- var objIsArr = isArray$3(object), othIsArr = isArray$3(other), objTag = objIsArr ? arrayTag : getTag(object), othTag = othIsArr ? arrayTag : getTag(other);
977
+ function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
978
+ var objIsArr = isArray(object), othIsArr = isArray(other), objTag = objIsArr ? arrayTag : getTag(object), othTag = othIsArr ? arrayTag : getTag(other);
1001
979
  objTag = objTag == argsTag ? objectTag : objTag;
1002
980
  othTag = othTag == argsTag ? objectTag : othTag;
1003
981
  var objIsObj = objTag == objectTag, othIsObj = othTag == objectTag, isSameTag = objTag == othTag;
@@ -1009,85 +987,74 @@ function baseIsEqualDeep$1(object, other, bitmask, customizer, equalFunc, stack)
1009
987
  objIsObj = false;
1010
988
  }
1011
989
  if (isSameTag && !objIsObj) {
1012
- stack || (stack = new Stack$1());
990
+ stack || (stack = new Stack());
1013
991
  return objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
1014
992
  }
1015
993
  if (!(bitmask & COMPARE_PARTIAL_FLAG$2)) {
1016
994
  var objIsWrapped = objIsObj && hasOwnProperty.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty.call(other, "__wrapped__");
1017
995
  if (objIsWrapped || othIsWrapped) {
1018
996
  var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other;
1019
- stack || (stack = new Stack$1());
997
+ stack || (stack = new Stack());
1020
998
  return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
1021
999
  }
1022
1000
  }
1023
1001
  if (!isSameTag) {
1024
1002
  return false;
1025
1003
  }
1026
- stack || (stack = new Stack$1());
1004
+ stack || (stack = new Stack());
1027
1005
  return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
1028
1006
  }
1029
- var _baseIsEqualDeep = baseIsEqualDeep$1;
1030
- var baseIsEqualDeep = _baseIsEqualDeep, isObjectLike = isObjectLike_1;
1031
- function baseIsEqual$2(value, other, bitmask, customizer, stack) {
1007
+ function baseIsEqual(value, other, bitmask, customizer, stack) {
1032
1008
  if (value === other) {
1033
1009
  return true;
1034
1010
  }
1035
1011
  if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) {
1036
1012
  return value !== value && other !== other;
1037
1013
  }
1038
- return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual$2, stack);
1014
+ return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
1039
1015
  }
1040
- var _baseIsEqual = baseIsEqual$2;
1041
- var Stack = _Stack, baseIsEqual$1 = _baseIsEqual;
1042
1016
  var COMPARE_PARTIAL_FLAG$1 = 1, COMPARE_UNORDERED_FLAG$1 = 2;
1043
- function baseIsMatch$1(object, source, matchData, customizer) {
1044
- var index = matchData.length, length = index, noCustomizer = !customizer;
1017
+ function baseIsMatch(object, source, matchData, customizer) {
1018
+ var index = matchData.length, length = index;
1045
1019
  if (object == null) {
1046
1020
  return !length;
1047
1021
  }
1048
1022
  object = Object(object);
1049
1023
  while (index--) {
1050
1024
  var data = matchData[index];
1051
- if (noCustomizer && data[2] ? data[1] !== object[data[0]] : !(data[0] in object)) {
1025
+ if (data[2] ? data[1] !== object[data[0]] : !(data[0] in object)) {
1052
1026
  return false;
1053
1027
  }
1054
1028
  }
1055
1029
  while (++index < length) {
1056
1030
  data = matchData[index];
1057
1031
  var key = data[0], objValue = object[key], srcValue = data[1];
1058
- if (noCustomizer && data[2]) {
1032
+ if (data[2]) {
1059
1033
  if (objValue === void 0 && !(key in object)) {
1060
1034
  return false;
1061
1035
  }
1062
1036
  } else {
1063
1037
  var stack = new Stack();
1064
- if (customizer) {
1065
- var result = customizer(objValue, srcValue, key, object, source, stack);
1066
- }
1067
- if (!(result === void 0 ? baseIsEqual$1(srcValue, objValue, COMPARE_PARTIAL_FLAG$1 | COMPARE_UNORDERED_FLAG$1, customizer, stack) : result)) {
1038
+ var result;
1039
+ if (!(result === void 0 ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG$1 | COMPARE_UNORDERED_FLAG$1, customizer, stack) : result)) {
1068
1040
  return false;
1069
1041
  }
1070
1042
  }
1071
1043
  }
1072
1044
  return true;
1073
1045
  }
1074
- var _baseIsMatch = baseIsMatch$1;
1075
- var isObject$1 = isObject_1;
1076
- function isStrictComparable$2(value) {
1077
- return value === value && !isObject$1(value);
1046
+ function isStrictComparable(value) {
1047
+ return value === value && !isObject(value);
1078
1048
  }
1079
- var _isStrictComparable = isStrictComparable$2;
1080
- var isStrictComparable$1 = _isStrictComparable, keys$1 = keys_1;
1081
- function getMatchData$1(object) {
1082
- var result = keys$1(object), length = result.length;
1049
+ function getMatchData(object) {
1050
+ var result = keys(object), length = result.length;
1083
1051
  while (length--) {
1084
1052
  var key = result[length], value = object[key];
1085
- result[length] = [key, value, isStrictComparable$1(value)];
1053
+ result[length] = [key, value, isStrictComparable(value)];
1086
1054
  }
1087
1055
  return result;
1088
1056
  }
1089
- var _getMatchData = getMatchData$1;
1090
- function matchesStrictComparable$2(key, srcValue) {
1057
+ function matchesStrictComparable(key, srcValue) {
1091
1058
  return function(object) {
1092
1059
  if (object == null) {
1093
1060
  return false;
@@ -1095,34 +1062,23 @@ function matchesStrictComparable$2(key, srcValue) {
1095
1062
  return object[key] === srcValue && (srcValue !== void 0 || key in Object(object));
1096
1063
  };
1097
1064
  }
1098
- var _matchesStrictComparable = matchesStrictComparable$2;
1099
- var baseIsMatch = _baseIsMatch, getMatchData = _getMatchData, matchesStrictComparable$1 = _matchesStrictComparable;
1100
- function baseMatches$1(source) {
1065
+ function baseMatches(source) {
1101
1066
  var matchData = getMatchData(source);
1102
1067
  if (matchData.length == 1 && matchData[0][2]) {
1103
- return matchesStrictComparable$1(matchData[0][0], matchData[0][1]);
1068
+ return matchesStrictComparable(matchData[0][0], matchData[0][1]);
1104
1069
  }
1105
1070
  return function(object) {
1106
1071
  return object === source || baseIsMatch(object, source, matchData);
1107
1072
  };
1108
1073
  }
1109
- var _baseMatches = baseMatches$1;
1110
- var baseGet$2 = _baseGet;
1111
- function get$1(object, path, defaultValue) {
1112
- var result = object == null ? void 0 : baseGet$2(object, path);
1113
- return result === void 0 ? defaultValue : result;
1114
- }
1115
- var get_1 = get$1;
1116
- function baseHasIn$1(object, key) {
1074
+ function baseHasIn(object, key) {
1117
1075
  return object != null && key in Object(object);
1118
1076
  }
1119
- var _baseHasIn = baseHasIn$1;
1120
- var castPath = _castPath, isArguments = isArguments_1, isArray$2 = isArray_1, isIndex$1 = _isIndex, isLength = isLength_1, toKey$2 = _toKey;
1121
- function hasPath$1(object, path, hasFunc) {
1077
+ function hasPath(object, path, hasFunc) {
1122
1078
  path = castPath(path, object);
1123
1079
  var index = -1, length = path.length, result = false;
1124
1080
  while (++index < length) {
1125
- var key = toKey$2(path[index]);
1081
+ var key = toKey(path[index]);
1126
1082
  if (!(result = object != null && hasFunc(object, key))) {
1127
1083
  break;
1128
1084
  }
@@ -1132,67 +1088,51 @@ function hasPath$1(object, path, hasFunc) {
1132
1088
  return result;
1133
1089
  }
1134
1090
  length = object == null ? 0 : object.length;
1135
- return !!length && isLength(length) && isIndex$1(key, length) && (isArray$2(object) || isArguments(object));
1091
+ return !!length && isLength(length) && isIndex(key, length) && (isArray(object) || isArguments(object));
1136
1092
  }
1137
- var _hasPath = hasPath$1;
1138
- var baseHasIn = _baseHasIn, hasPath = _hasPath;
1139
- function hasIn$1(object, path) {
1093
+ function hasIn(object, path) {
1140
1094
  return object != null && hasPath(object, path, baseHasIn);
1141
1095
  }
1142
- var hasIn_1 = hasIn$1;
1143
- var baseIsEqual = _baseIsEqual, get = get_1, hasIn = hasIn_1, isKey$1 = _isKey, isStrictComparable = _isStrictComparable, matchesStrictComparable = _matchesStrictComparable, toKey$1 = _toKey;
1144
1096
  var COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2;
1145
- function baseMatchesProperty$1(path, srcValue) {
1146
- if (isKey$1(path) && isStrictComparable(srcValue)) {
1147
- return matchesStrictComparable(toKey$1(path), srcValue);
1097
+ function baseMatchesProperty(path, srcValue) {
1098
+ if (isKey(path) && isStrictComparable(srcValue)) {
1099
+ return matchesStrictComparable(toKey(path), srcValue);
1148
1100
  }
1149
1101
  return function(object) {
1150
1102
  var objValue = get(object, path);
1151
1103
  return objValue === void 0 && objValue === srcValue ? hasIn(object, path) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
1152
1104
  };
1153
1105
  }
1154
- var _baseMatchesProperty = baseMatchesProperty$1;
1155
- function identity$4(value) {
1156
- return value;
1157
- }
1158
- var identity_1 = identity$4;
1159
- function baseProperty$1(key) {
1106
+ function baseProperty(key) {
1160
1107
  return function(object) {
1161
1108
  return object == null ? void 0 : object[key];
1162
1109
  };
1163
1110
  }
1164
- var _baseProperty = baseProperty$1;
1165
- var baseGet$1 = _baseGet;
1166
- function basePropertyDeep$1(path) {
1111
+ function basePropertyDeep(path) {
1167
1112
  return function(object) {
1168
- return baseGet$1(object, path);
1113
+ return baseGet(object, path);
1169
1114
  };
1170
1115
  }
1171
- var _basePropertyDeep = basePropertyDeep$1;
1172
- var baseProperty = _baseProperty, basePropertyDeep = _basePropertyDeep, isKey = _isKey, toKey = _toKey;
1173
- function property$1(path) {
1116
+ function property(path) {
1174
1117
  return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
1175
1118
  }
1176
- var property_1 = property$1;
1177
- var baseMatches = _baseMatches, baseMatchesProperty = _baseMatchesProperty, identity$3 = identity_1, isArray$1 = isArray_1, property = property_1;
1178
- function baseIteratee$1(value) {
1119
+ function baseIteratee(value) {
1179
1120
  if (typeof value == "function") {
1180
1121
  return value;
1181
1122
  }
1182
1123
  if (value == null) {
1183
- return identity$3;
1124
+ return identity;
1184
1125
  }
1185
1126
  if (typeof value == "object") {
1186
- return isArray$1(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);
1127
+ return isArray(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);
1187
1128
  }
1188
1129
  return property(value);
1189
1130
  }
1190
- var _baseIteratee = baseIteratee$1;
1191
- function createBaseFor$1(fromRight) {
1131
+ function createBaseFor(fromRight) {
1192
1132
  return function(object, iteratee, keysFunc) {
1193
1133
  var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
1194
1134
  while (length--) {
1195
- var key = props[fromRight ? length : ++index];
1135
+ var key = props[++index];
1196
1136
  if (iteratee(iterable[key], key, iterable) === false) {
1197
1137
  break;
1198
1138
  }
@@ -1200,26 +1140,20 @@ function createBaseFor$1(fromRight) {
1200
1140
  return object;
1201
1141
  };
1202
1142
  }
1203
- var _createBaseFor = createBaseFor$1;
1204
- var createBaseFor = _createBaseFor;
1205
- var baseFor$1 = createBaseFor();
1206
- var _baseFor = baseFor$1;
1207
- var baseFor = _baseFor, keys = keys_1;
1208
- function baseForOwn$1(object, iteratee) {
1143
+ var baseFor = createBaseFor();
1144
+ function baseForOwn(object, iteratee) {
1209
1145
  return object && baseFor(object, iteratee, keys);
1210
1146
  }
1211
- var _baseForOwn = baseForOwn$1;
1212
- var isArrayLike$2 = isArrayLike_1;
1213
- function createBaseEach$1(eachFunc, fromRight) {
1147
+ function createBaseEach(eachFunc, fromRight) {
1214
1148
  return function(collection, iteratee) {
1215
1149
  if (collection == null) {
1216
1150
  return collection;
1217
1151
  }
1218
- if (!isArrayLike$2(collection)) {
1152
+ if (!isArrayLike(collection)) {
1219
1153
  return eachFunc(collection, iteratee);
1220
1154
  }
1221
- var length = collection.length, index = fromRight ? length : -1, iterable = Object(collection);
1222
- while (fromRight ? index-- : ++index < length) {
1155
+ var length = collection.length, index = -1, iterable = Object(collection);
1156
+ while (++index < length) {
1223
1157
  if (iteratee(iterable[index], index, iterable) === false) {
1224
1158
  break;
1225
1159
  }
@@ -1227,20 +1161,15 @@ function createBaseEach$1(eachFunc, fromRight) {
1227
1161
  return collection;
1228
1162
  };
1229
1163
  }
1230
- var _createBaseEach = createBaseEach$1;
1231
- var baseForOwn = _baseForOwn, createBaseEach = _createBaseEach;
1232
- var baseEach$1 = createBaseEach(baseForOwn);
1233
- var _baseEach = baseEach$1;
1234
- var baseEach = _baseEach, isArrayLike$1 = isArrayLike_1;
1235
- function baseMap$1(collection, iteratee) {
1236
- var index = -1, result = isArrayLike$1(collection) ? Array(collection.length) : [];
1164
+ var baseEach = createBaseEach(baseForOwn);
1165
+ function baseMap(collection, iteratee) {
1166
+ var index = -1, result = isArrayLike(collection) ? Array(collection.length) : [];
1237
1167
  baseEach(collection, function(value, key, collection2) {
1238
1168
  result[++index] = iteratee(value, key, collection2);
1239
1169
  });
1240
1170
  return result;
1241
1171
  }
1242
- var _baseMap = baseMap$1;
1243
- function baseSortBy$1(array, comparer) {
1172
+ function baseSortBy(array, comparer) {
1244
1173
  var length = array.length;
1245
1174
  array.sort(comparer);
1246
1175
  while (length--) {
@@ -1248,9 +1177,7 @@ function baseSortBy$1(array, comparer) {
1248
1177
  }
1249
1178
  return array;
1250
1179
  }
1251
- var _baseSortBy = baseSortBy$1;
1252
- var isSymbol = isSymbol_1;
1253
- function compareAscending$1(value, other) {
1180
+ function compareAscending(value, other) {
1254
1181
  if (value !== other) {
1255
1182
  var valIsDefined = value !== void 0, valIsNull = value === null, valIsReflexive = value === value, valIsSymbol = isSymbol(value);
1256
1183
  var othIsDefined = other !== void 0, othIsNull = other === null, othIsReflexive = other === other, othIsSymbol = isSymbol(other);
@@ -1263,9 +1190,7 @@ function compareAscending$1(value, other) {
1263
1190
  }
1264
1191
  return 0;
1265
1192
  }
1266
- var _compareAscending = compareAscending$1;
1267
- var compareAscending = _compareAscending;
1268
- function compareMultiple$1(object, other, orders) {
1193
+ function compareMultiple(object, other, orders) {
1269
1194
  var index = -1, objCriteria = object.criteria, othCriteria = other.criteria, length = objCriteria.length, ordersLength = orders.length;
1270
1195
  while (++index < length) {
1271
1196
  var result = compareAscending(objCriteria[index], othCriteria[index]);
@@ -1279,9 +1204,7 @@ function compareMultiple$1(object, other, orders) {
1279
1204
  }
1280
1205
  return object.index - other.index;
1281
1206
  }
1282
- var _compareMultiple = compareMultiple$1;
1283
- var arrayMap = _arrayMap, baseGet = _baseGet, baseIteratee = _baseIteratee, baseMap = _baseMap, baseSortBy = _baseSortBy, baseUnary = _baseUnary, compareMultiple = _compareMultiple, identity$2 = identity_1, isArray = isArray_1;
1284
- function baseOrderBy$1(collection, iteratees, orders) {
1207
+ function baseOrderBy(collection, iteratees, orders) {
1285
1208
  if (iteratees.length) {
1286
1209
  iteratees = arrayMap(iteratees, function(iteratee) {
1287
1210
  if (isArray(iteratee)) {
@@ -1292,7 +1215,7 @@ function baseOrderBy$1(collection, iteratees, orders) {
1292
1215
  return iteratee;
1293
1216
  });
1294
1217
  } else {
1295
- iteratees = [identity$2];
1218
+ iteratees = [identity];
1296
1219
  }
1297
1220
  var index = -1;
1298
1221
  iteratees = arrayMap(iteratees, baseUnary(baseIteratee));
@@ -1306,105 +1229,6 @@ function baseOrderBy$1(collection, iteratees, orders) {
1306
1229
  return compareMultiple(object, other, orders);
1307
1230
  });
1308
1231
  }
1309
- var _baseOrderBy = baseOrderBy$1;
1310
- function apply$1(func, thisArg, args) {
1311
- switch (args.length) {
1312
- case 0:
1313
- return func.call(thisArg);
1314
- case 1:
1315
- return func.call(thisArg, args[0]);
1316
- case 2:
1317
- return func.call(thisArg, args[0], args[1]);
1318
- case 3:
1319
- return func.call(thisArg, args[0], args[1], args[2]);
1320
- }
1321
- return func.apply(thisArg, args);
1322
- }
1323
- var _apply = apply$1;
1324
- var apply = _apply;
1325
- var nativeMax = Math.max;
1326
- function overRest$1(func, start, transform) {
1327
- start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
1328
- return function() {
1329
- var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
1330
- while (++index < length) {
1331
- array[index] = args[start + index];
1332
- }
1333
- index = -1;
1334
- var otherArgs = Array(start + 1);
1335
- while (++index < start) {
1336
- otherArgs[index] = args[index];
1337
- }
1338
- otherArgs[start] = transform(array);
1339
- return apply(func, this, otherArgs);
1340
- };
1341
- }
1342
- var _overRest = overRest$1;
1343
- function constant$1(value) {
1344
- return function() {
1345
- return value;
1346
- };
1347
- }
1348
- var constant_1 = constant$1;
1349
- var getNative = _getNative;
1350
- var defineProperty$1 = function() {
1351
- try {
1352
- var func = getNative(Object, "defineProperty");
1353
- func({}, "", {});
1354
- return func;
1355
- } catch (e) {
1356
- }
1357
- }();
1358
- var _defineProperty = defineProperty$1;
1359
- var constant = constant_1, defineProperty = _defineProperty, identity$1 = identity_1;
1360
- var baseSetToString$1 = !defineProperty ? identity$1 : function(func, string) {
1361
- return defineProperty(func, "toString", {
1362
- "configurable": true,
1363
- "enumerable": false,
1364
- "value": constant(string),
1365
- "writable": true
1366
- });
1367
- };
1368
- var _baseSetToString = baseSetToString$1;
1369
- var HOT_COUNT = 800, HOT_SPAN = 16;
1370
- var nativeNow = Date.now;
1371
- function shortOut$1(func) {
1372
- var count = 0, lastCalled = 0;
1373
- return function() {
1374
- var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
1375
- lastCalled = stamp;
1376
- if (remaining > 0) {
1377
- if (++count >= HOT_COUNT) {
1378
- return arguments[0];
1379
- }
1380
- } else {
1381
- count = 0;
1382
- }
1383
- return func.apply(void 0, arguments);
1384
- };
1385
- }
1386
- var _shortOut = shortOut$1;
1387
- var baseSetToString = _baseSetToString, shortOut = _shortOut;
1388
- var setToString$1 = shortOut(baseSetToString);
1389
- var _setToString = setToString$1;
1390
- var identity = identity_1, overRest = _overRest, setToString = _setToString;
1391
- function baseRest$1(func, start) {
1392
- return setToString(overRest(func, start, identity), func + "");
1393
- }
1394
- var _baseRest = baseRest$1;
1395
- var eq = eq_1, isArrayLike = isArrayLike_1, isIndex = _isIndex, isObject = isObject_1;
1396
- function isIterateeCall$1(value, index, object) {
1397
- if (!isObject(object)) {
1398
- return false;
1399
- }
1400
- var type2 = typeof index;
1401
- if (type2 == "number" ? isArrayLike(object) && isIndex(index, object.length) : type2 == "string" && index in object) {
1402
- return eq(object[index], value);
1403
- }
1404
- return false;
1405
- }
1406
- var _isIterateeCall = isIterateeCall$1;
1407
- var baseFlatten = _baseFlatten, baseOrderBy = _baseOrderBy, baseRest = _baseRest, isIterateeCall = _isIterateeCall;
1408
1232
  var sortBy = baseRest(function(collection, iteratees) {
1409
1233
  if (collection == null) {
1410
1234
  return [];
@@ -1415,25 +1239,22 @@ var sortBy = baseRest(function(collection, iteratees) {
1415
1239
  } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {
1416
1240
  iteratees = [iteratees[0]];
1417
1241
  }
1418
- return baseOrderBy(collection, baseFlatten(iteratees, 1), []);
1242
+ return baseOrderBy(collection, baseFlatten(iteratees), []);
1419
1243
  });
1420
- var sortBy_1 = sortBy;
1421
- const sortBy$1 = /* @__PURE__ */ getDefaultExportFromCjs(sortBy_1);
1422
- const _hoisted_1 = { class: "tce-root text-center ma-4" };
1244
+ const _hoisted_1 = { class: "tce-modal-root text-center ma-4" };
1423
1245
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1424
1246
  __name: "Display",
1425
1247
  props: {
1426
- id: {},
1427
- data: {},
1248
+ element: {},
1428
1249
  userState: {}
1429
1250
  },
1430
1251
  emits: ["interaction"],
1431
1252
  setup(__props) {
1432
1253
  const props = __props;
1433
- const embeds = vue.computed(() => sortBy$1(props.data.embeds, "position"));
1254
+ const embeds = vue.computed(() => sortBy(props.element.data.embeds, "position"));
1434
1255
  return (_ctx, _cache) => {
1435
1256
  const _component_VBtn = vue.resolveComponent("VBtn");
1436
- const _component_VCardActions = vue.resolveComponent("VCardActions");
1257
+ const _component_VCardTitle = vue.resolveComponent("VCardTitle");
1437
1258
  const _component_VDivider = vue.resolveComponent("VDivider");
1438
1259
  const _component_VAlert = vue.resolveComponent("VAlert");
1439
1260
  const _component_TailorEmbeddedContainer = vue.resolveComponent("TailorEmbeddedContainer");
@@ -1441,11 +1262,17 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1441
1262
  const _component_VCard = vue.resolveComponent("VCard");
1442
1263
  const _component_VDialog = vue.resolveComponent("VDialog");
1443
1264
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
1444
- vue.createVNode(_component_VDialog, { scrollable: "" }, {
1265
+ vue.createVNode(_component_VDialog, {
1266
+ "max-width": "600",
1267
+ scrollable: ""
1268
+ }, {
1445
1269
  activator: vue.withCtx(({ props: activatorProps }) => [
1446
- vue.createVNode(_component_VBtn, vue.normalizeProps(vue.guardReactiveProps(activatorProps)), {
1270
+ vue.createVNode(_component_VBtn, vue.mergeProps(activatorProps, {
1271
+ color: "primary-darken-1",
1272
+ rounded: "md"
1273
+ }), {
1447
1274
  default: vue.withCtx(() => [
1448
- vue.createTextVNode(vue.toDisplayString(_ctx.data.title || "Open Modal"), 1)
1275
+ vue.createTextVNode(vue.toDisplayString(_ctx.element.data.title || "Open Modal"), 1)
1449
1276
  ]),
1450
1277
  _: 2
1451
1278
  }, 1040)
@@ -1453,10 +1280,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1453
1280
  default: vue.withCtx(({ isActive }) => [
1454
1281
  vue.createVNode(_component_VCard, null, {
1455
1282
  default: vue.withCtx(() => [
1456
- vue.createVNode(_component_VCardActions, null, {
1283
+ vue.createVNode(_component_VCardTitle, { class: "d-flex justify-space-between align-center" }, {
1457
1284
  default: vue.withCtx(() => [
1285
+ vue.createTextVNode(vue.toDisplayString(_ctx.element.data.title || "Modal Content") + " ", 1),
1458
1286
  vue.createVNode(_component_VBtn, {
1459
1287
  icon: "mdi-close",
1288
+ variant: "text",
1460
1289
  onClick: ($event) => isActive.value = false
1461
1290
  }, null, 8, ["onClick"])
1462
1291
  ]),
@@ -1470,10 +1299,11 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1470
1299
  type: "info",
1471
1300
  variant: "tonal"
1472
1301
  }, {
1473
- default: vue.withCtx(() => [
1302
+ default: vue.withCtx(() => _cache[0] || (_cache[0] = [
1474
1303
  vue.createTextVNode(" No content elements added to this item. ")
1475
- ]),
1476
- _: 1
1304
+ ])),
1305
+ _: 1,
1306
+ __: [0]
1477
1307
  })) : (vue.openBlock(), vue.createBlock(_component_TailorEmbeddedContainer, {
1478
1308
  key: 1,
1479
1309
  elements: embeds.value
@@ -1491,7 +1321,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1491
1321
  };
1492
1322
  }
1493
1323
  });
1494
- const Display_vue_vue_type_style_index_0_scoped_7d804e04_lang = "";
1495
1324
  const _export_sfc = (sfc, props) => {
1496
1325
  const target = sfc.__vccOpts || sfc;
1497
1326
  for (const [key, val] of props) {
@@ -1499,9 +1328,9 @@ const _export_sfc = (sfc, props) => {
1499
1328
  }
1500
1329
  return target;
1501
1330
  };
1502
- const Display = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7d804e04"]]);
1331
+ const Display = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5e532b17"]]);
1503
1332
  const manifest = {
1504
- ...src_default,
1333
+ ...index_default,
1505
1334
  Display
1506
1335
  };
1507
1336
  exports.Display = Display;