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