@plattar/plattar-ar-adapter 1.130.3 → 1.135.1

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.
@@ -24,17 +24,17 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
24
24
 
25
25
  function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); }
26
26
 
27
- function _construct(Parent, args, Class) { if (_isNativeReflectConstruct()) { _construct = Reflect.construct; } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }
27
+ function _construct(Parent, args, Class) { if (_isNativeReflectConstruct()) { _construct = Reflect.construct.bind(); } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }
28
28
 
29
29
  function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[native code]") !== -1; }
30
30
 
31
- function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get; } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(arguments.length < 3 ? target : receiver); } return desc.value; }; } return _get.apply(this, arguments); }
31
+ function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get.bind(); } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(arguments.length < 3 ? target : receiver); } return desc.value; }; } return _get.apply(this, arguments); }
32
32
 
33
33
  function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
34
34
 
35
35
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
36
36
 
37
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
37
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
38
38
 
39
39
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
40
40
 
@@ -44,7 +44,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
44
44
 
45
45
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
46
46
 
47
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
47
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
48
48
 
49
49
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
50
50
 
@@ -349,8 +349,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
349
349
  "../viewers/reality-viewer": 19,
350
350
  "../viewers/scene-viewer": 20,
351
351
  "./launcher-ar": 1,
352
- "@plattar/plattar-analytics": 38,
353
- "@plattar/plattar-api": 42
352
+ "@plattar/plattar-analytics": 39,
353
+ "@plattar/plattar-api": 43
354
354
  }],
355
355
  3: [function (require, module, exports) {
356
356
  "use strict";
@@ -394,6 +394,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
394
394
 
395
395
  var productID = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
396
396
  var variationID = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
397
+ var variationSKU = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
397
398
 
398
399
  _classCallCheck(this, ProductAR);
399
400
 
@@ -406,7 +407,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
406
407
  }
407
408
 
408
409
  _this4._productID = productID;
409
- _this4._variationID = variationID ? variationID : "default";
410
+ _this4._variationSKU = variationSKU;
411
+ _this4._variationID = variationID ? variationID : variationSKU ? null : "default";
410
412
  _this4._ar = null;
411
413
  return _this4;
412
414
  }
@@ -421,6 +423,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
421
423
  get: function get() {
422
424
  return this._variationID;
423
425
  }
426
+ }, {
427
+ key: "variationSKU",
428
+ get: function get() {
429
+ return this._variationSKU;
430
+ }
424
431
  }, {
425
432
  key: "_SetupAnalytics",
426
433
  value: function _SetupAnalytics(product, variation) {
@@ -478,16 +485,33 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
478
485
  product.include(plattar_api_1.Scene.include(plattar_api_1.Project));
479
486
  product.get().then(function (product) {
480
487
  // find the required variation from our product
481
- var variationID = _this5.variationID ? _this5.variationID === "default" ? product.attributes.product_variation_id : _this5.variationID : product.attributes.product_variation_id;
488
+ var variationID = _this5.variationID ? _this5.variationID === "default" ? product.attributes.product_variation_id : _this5.variationID : null;
489
+ var variationSKU = _this5.variationSKU;
482
490
 
483
- if (!variationID) {
484
- return reject(new Error("ProductAR.init() - cannot proceed as variation was not defined correctly"));
491
+ if (!variationID && !variationSKU) {
492
+ return reject(new Error("ProductAR.init() - cannot proceed as variation-id or variation-sku was not set correctly"));
485
493
  }
486
494
 
487
- var variation = product.relationships.find(plattar_api_1.ProductVariation, variationID); // make sure our variation is actually available before moving forward
495
+ var variation = undefined;
496
+
497
+ if (variationID) {
498
+ variation = product.relationships.find(plattar_api_1.ProductVariation, variationID);
499
+ } // if no variation was found with variationID - try searching variation sku
500
+
501
+
502
+ if (!variation && variationSKU) {
503
+ var variations = product.relationships.filter(plattar_api_1.ProductVariation);
504
+
505
+ if (variations) {
506
+ variation = variations.find(function (element) {
507
+ return element.attributes.sku === variationSKU;
508
+ });
509
+ }
510
+ } // make sure our variation is actually available before moving forward
511
+
488
512
 
489
513
  if (!variation) {
490
- return reject(new Error("ProductAR.init() - cannot proceed as variation with id " + variationID + " cannot be found"));
514
+ return reject(new Error("ProductAR.init() - cannot proceed as variation with id " + variationID + " or sku " + variationSKU + " cannot be found"));
491
515
  } // otherwise both the product and variation are available
492
516
  // we need to figure out if we can actually do AR though
493
517
  // check if variation has a model file defined
@@ -605,8 +629,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
605
629
  "../viewers/reality-viewer": 19,
606
630
  "../viewers/scene-viewer": 20,
607
631
  "./launcher-ar": 1,
608
- "@plattar/plattar-analytics": 38,
609
- "@plattar/plattar-api": 42
632
+ "@plattar/plattar-analytics": 39,
633
+ "@plattar/plattar-api": 43
610
634
  }],
611
635
  4: [function (require, module, exports) {
612
636
  "use strict";
@@ -1011,9 +1035,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
1011
1035
  "../viewers/reality-viewer": 19,
1012
1036
  "../viewers/scene-viewer": 20,
1013
1037
  "./launcher-ar": 1,
1014
- "@plattar/plattar-analytics": 38,
1015
- "@plattar/plattar-api": 42,
1016
- "@plattar/plattar-services": 113
1038
+ "@plattar/plattar-analytics": 39,
1039
+ "@plattar/plattar-api": 43,
1040
+ "@plattar/plattar-services": 114
1017
1041
  }],
1018
1042
  6: [function (require, module, exports) {
1019
1043
  "use strict";
@@ -1044,10 +1068,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
1044
1068
 
1045
1069
  var sceneProductID = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
1046
1070
  var variationID = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
1071
+ var variationSKU = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
1047
1072
 
1048
1073
  _classCallCheck(this, SceneProductAR);
1049
1074
 
1050
- _this10 = _super5.call(this, sceneProductID, variationID); // this is evaluated in the init() function
1075
+ _this10 = _super5.call(this, sceneProductID, variationID, variationSKU); // this is evaluated in the init() function
1051
1076
 
1052
1077
  _this10._attachedProductID = null;
1053
1078
 
@@ -1106,7 +1131,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
1106
1131
  }, {
1107
1132
  "../util/util": 15,
1108
1133
  "./product-ar": 3,
1109
- "@plattar/plattar-api": 42
1134
+ "@plattar/plattar-api": 43
1110
1135
  }],
1111
1136
  7: [function (require, module, exports) {
1112
1137
  "use strict";
@@ -1169,7 +1194,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
1169
1194
  var sceneID = _this12.getAttribute("scene-id");
1170
1195
 
1171
1196
  if (sceneID) {
1172
- var opt = options || plattar_controller_1.PlattarController.DEFAULT_QR_OPTIONS;
1197
+ var opt = options || _this12._GetDefaultQROptions();
1198
+
1173
1199
  var viewer = document.createElement("plattar-qrcode"); // required attributes with defaults for plattar-viewer node
1174
1200
 
1175
1201
  var width = _this12.getAttribute("width") || "500px";
@@ -1189,6 +1215,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
1189
1215
  viewer.setAttribute("qr-type", opt.qrType);
1190
1216
  }
1191
1217
 
1218
+ viewer.setAttribute("shorten", opt.shorten && (opt.shorten === true || opt.shorten === "true") ? "true" : "false");
1192
1219
  var dst = plattar_api_1.Server.location().base + "renderer/configurator.html?scene_id=" + sceneID; // optional attributes
1193
1220
 
1194
1221
  var configState = _this12.getAttribute("config-state");
@@ -1446,8 +1473,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
1446
1473
  "../../util/configurator-state": 14,
1447
1474
  "../../util/util": 15,
1448
1475
  "./plattar-controller": 8,
1449
- "@plattar/plattar-api": 42,
1450
- "@plattar/plattar-services": 113
1476
+ "@plattar/plattar-api": 43,
1477
+ "@plattar/plattar-services": 114
1451
1478
  }],
1452
1479
  8: [function (require, module, exports) {
1453
1480
  "use strict";
@@ -1486,6 +1513,16 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
1486
1513
 
1487
1514
 
1488
1515
  _createClass(PlattarController, [{
1516
+ key: "_GetDefaultQROptions",
1517
+ value: function _GetDefaultQROptions() {
1518
+ return {
1519
+ color: this.getAttribute("qr-color") || "#101721",
1520
+ qrType: this.getAttribute("qr-style") || "default",
1521
+ shorten: this.getAttribute("qr-shorten") || false,
1522
+ margin: 0
1523
+ };
1524
+ }
1525
+ }, {
1489
1526
  key: "startAR",
1490
1527
  value:
1491
1528
  /**
@@ -1536,7 +1573,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
1536
1573
  // remove the old renderer instance if any
1537
1574
  _this16.removeRenderer();
1538
1575
 
1539
- var opt = options || PlattarController.DEFAULT_QR_OPTIONS;
1576
+ var opt = options || _this16._GetDefaultQROptions();
1577
+
1540
1578
  var viewer = document.createElement("plattar-qrcode"); // required attributes with defaults for plattar-viewer node
1541
1579
 
1542
1580
  var width = _this16.getAttribute("width") || "500px";
@@ -1556,6 +1594,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
1556
1594
  viewer.setAttribute("qr-type", opt.qrType);
1557
1595
  }
1558
1596
 
1597
+ viewer.setAttribute("shorten", opt.shorten && (opt.shorten === true || opt.shorten === "true") ? "true" : "false");
1559
1598
  var qrOptions = btoa(JSON.stringify(opt));
1560
1599
  var dst = plattar_api_1.Server.location().base + "renderer/launcher.html?qr_options=" + qrOptions;
1561
1600
 
@@ -1571,6 +1610,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
1571
1610
 
1572
1611
  var variationID = _this16.getAttribute("variation-id");
1573
1612
 
1613
+ var variationSKU = _this16.getAttribute("variation-sku");
1614
+
1574
1615
  var arMode = _this16.getAttribute("ar-mode");
1575
1616
 
1576
1617
  if (configState) {
@@ -1593,6 +1634,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
1593
1634
  dst += "&variation_id=" + variationID;
1594
1635
  }
1595
1636
 
1637
+ if (variationSKU) {
1638
+ dst += "&variation_sku=" + variationSKU;
1639
+ }
1640
+
1596
1641
  if (arMode) {
1597
1642
  dst += "&ar_mode=" + arMode;
1598
1643
  }
@@ -1647,15 +1692,6 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
1647
1692
  });
1648
1693
  shadow.append(element);
1649
1694
  }
1650
- }], [{
1651
- key: "DEFAULT_QR_OPTIONS",
1652
- get: function get() {
1653
- return {
1654
- color: "#101721",
1655
- qrType: "default",
1656
- margin: 0
1657
- };
1658
- }
1659
1695
  }]);
1660
1696
 
1661
1697
  return PlattarController;
@@ -1663,7 +1699,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
1663
1699
 
1664
1700
  exports.PlattarController = PlattarController;
1665
1701
  }, {
1666
- "@plattar/plattar-api": 42
1702
+ "@plattar/plattar-api": 43
1667
1703
  }],
1668
1704
  9: [function (require, module, exports) {
1669
1705
  "use strict";
@@ -1733,7 +1769,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
1733
1769
  var productID = _this17.getAttribute("product-id");
1734
1770
 
1735
1771
  if (productID) {
1736
- var opt = options || plattar_controller_1.PlattarController.DEFAULT_QR_OPTIONS;
1772
+ var opt = options || _this17._GetDefaultQROptions();
1773
+
1737
1774
  var viewer = document.createElement("plattar-qrcode"); // required attributes with defaults for plattar-viewer node
1738
1775
 
1739
1776
  var width = _this17.getAttribute("width") || "500px";
@@ -1751,17 +1788,24 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
1751
1788
 
1752
1789
  if (opt.qrType) {
1753
1790
  viewer.setAttribute("qr-type", opt.qrType);
1754
- } // optional attributes
1791
+ }
1755
1792
 
1793
+ viewer.setAttribute("shorten", opt.shorten && (opt.shorten === true || opt.shorten === "true") ? "true" : "false"); // optional attributes
1756
1794
 
1757
1795
  var variationID = _this17.getAttribute("variation-id");
1758
1796
 
1797
+ var variationSKU = _this17.getAttribute("variation-sku");
1798
+
1759
1799
  var showAR = _this17.getAttribute("show-ar");
1760
1800
 
1761
1801
  var dst = plattar_api_1.Server.location().base + "renderer/product.html?product_id=" + productID;
1762
1802
 
1763
1803
  if (variationID) {
1764
- dst += "&variation_id=" + variationID;
1804
+ dst += "&variationId=" + variationID;
1805
+ }
1806
+
1807
+ if (variationSKU) {
1808
+ dst += "&variationSku=" + variationSKU;
1765
1809
  }
1766
1810
 
1767
1811
  if (showAR) {
@@ -1809,12 +1853,18 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
1809
1853
 
1810
1854
  var variationID = _this18.getAttribute("variation-id");
1811
1855
 
1856
+ var variationSKU = _this18.getAttribute("variation-sku");
1857
+
1812
1858
  var showAR = _this18.getAttribute("show-ar");
1813
1859
 
1814
1860
  if (variationID) {
1815
1861
  viewer.setAttribute("variation-id", variationID);
1816
1862
  }
1817
1863
 
1864
+ if (variationSKU) {
1865
+ viewer.setAttribute("variation-sku", variationSKU);
1866
+ }
1867
+
1818
1868
  if (showAR) {
1819
1869
  viewer.setAttribute("show-ar", showAR);
1820
1870
  }
@@ -1848,7 +1898,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
1848
1898
  if (productID) {
1849
1899
  var variationID = _this19.getAttribute("variation-id");
1850
1900
 
1851
- var product = new product_ar_1.ProductAR(productID, variationID);
1901
+ var variationSKU = _this19.getAttribute("variation-sku");
1902
+
1903
+ var product = new product_ar_1.ProductAR(productID, variationID, variationSKU);
1852
1904
  return product.init().then(accept)["catch"](reject);
1853
1905
  }
1854
1906
 
@@ -1882,7 +1934,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
1882
1934
  "../../ar/product-ar": 3,
1883
1935
  "../../util/util": 15,
1884
1936
  "./plattar-controller": 8,
1885
- "@plattar/plattar-api": 42
1937
+ "@plattar/plattar-api": 43
1886
1938
  }],
1887
1939
  10: [function (require, module, exports) {
1888
1940
  "use strict";
@@ -1900,6 +1952,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
1900
1952
 
1901
1953
  var scene_product_ar_1 = require("../../ar/scene-product-ar");
1902
1954
 
1955
+ var configurator_state_1 = require("../../util/configurator-state");
1956
+
1903
1957
  var util_1 = require("../../util/util");
1904
1958
 
1905
1959
  var plattar_controller_1 = require("./plattar-controller");
@@ -1957,7 +2011,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
1957
2011
  var sceneID = _this20.getAttribute("scene-id");
1958
2012
 
1959
2013
  if (sceneID) {
1960
- var opt = options || plattar_controller_1.PlattarController.DEFAULT_QR_OPTIONS;
2014
+ var opt = options || _this20._GetDefaultQROptions();
2015
+
1961
2016
  var viewer = document.createElement("plattar-qrcode"); // required attributes with defaults for plattar-viewer node
1962
2017
 
1963
2018
  var width = _this20.getAttribute("width") || "500px";
@@ -1977,12 +2032,15 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
1977
2032
  viewer.setAttribute("qr-type", opt.qrType);
1978
2033
  }
1979
2034
 
2035
+ viewer.setAttribute("shorten", opt.shorten && (opt.shorten === true || opt.shorten === "true") ? "true" : "false");
1980
2036
  var dst = plattar_api_1.Server.location().base + "renderer/viewer.html?scene_id=" + sceneID; // optional attributes
1981
2037
 
1982
2038
  var productID = _this20.getAttribute("product-id") || _this20.getAttribute("scene-product-id");
1983
2039
 
1984
2040
  var variationID = _this20.getAttribute("variation-id");
1985
2041
 
2042
+ var variationSKU = _this20.getAttribute("variation-sku");
2043
+
1986
2044
  var showAR = _this20.getAttribute("show-ar");
1987
2045
 
1988
2046
  if (productID) {
@@ -1993,6 +2051,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
1993
2051
  dst += "&variationId=" + variationID;
1994
2052
  }
1995
2053
 
2054
+ if (variationSKU) {
2055
+ dst += "&variationSku=" + variationSKU;
2056
+ }
2057
+
1996
2058
  if (showAR) {
1997
2059
  dst += "&show_ar=" + showAR;
1998
2060
  }
@@ -2040,6 +2102,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
2040
2102
 
2041
2103
  var variationID = _this21.getAttribute("variation-id");
2042
2104
 
2105
+ var variationSKU = _this21.getAttribute("variation-sku");
2106
+
2043
2107
  var showAR = _this21.getAttribute("show-ar");
2044
2108
 
2045
2109
  if (productID) {
@@ -2050,6 +2114,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
2050
2114
  viewer.setAttribute("variation-id", variationID);
2051
2115
  }
2052
2116
 
2117
+ if (variationSKU) {
2118
+ viewer.setAttribute("variation-sku", variationSKU);
2119
+ }
2120
+
2053
2121
  if (showAR) {
2054
2122
  viewer.setAttribute("show-ar", showAR);
2055
2123
  }
@@ -2084,7 +2152,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
2084
2152
  if (productID) {
2085
2153
  var variationID = _this22.getAttribute("variation-id");
2086
2154
 
2087
- var product = new product_ar_1.ProductAR(productID, variationID);
2155
+ var variationSKU = _this22.getAttribute("variation-sku");
2156
+
2157
+ var product = new product_ar_1.ProductAR(productID, variationID, variationSKU);
2088
2158
  return product.init().then(accept)["catch"](reject);
2089
2159
  }
2090
2160
 
@@ -2094,7 +2164,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
2094
2164
  if (sceneProductID) {
2095
2165
  var _variationID = _this22.getAttribute("variation-id");
2096
2166
 
2097
- var _product = new scene_product_ar_1.SceneProductAR(sceneProductID, _variationID);
2167
+ var _variationSKU = _this22.getAttribute("variation-sku");
2168
+
2169
+ var _product = new scene_product_ar_1.SceneProductAR(sceneProductID, _variationID, _variationSKU);
2098
2170
 
2099
2171
  return _product.init().then(accept)["catch"](reject);
2100
2172
  }
@@ -2103,9 +2175,29 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
2103
2175
 
2104
2176
 
2105
2177
  if (sceneID) {
2106
- var sceneAR = new scene_ar_1.SceneAR(sceneID);
2107
- sceneAR.init().then(accept)["catch"](reject);
2108
- return;
2178
+ // special case - check if scene only has a single product, if so
2179
+ // we need to use provided variation-id or variation-sku to override
2180
+ var _variationID2 = _this22.getAttribute("variation-id");
2181
+
2182
+ var _variationSKU2 = _this22.getAttribute("variation-sku"); // just do scene-ar if variation ID and variation SKU is not set
2183
+
2184
+
2185
+ if (!_variationID2 && !_variationSKU2) {
2186
+ var sceneAR = new scene_ar_1.SceneAR(sceneID);
2187
+ return sceneAR.init().then(accept)["catch"](reject);
2188
+ } // otherwise decode scene
2189
+
2190
+
2191
+ return configurator_state_1.ConfiguratorState.decodeScene(sceneID).then(function (state) {
2192
+ var firstProduct = state.first();
2193
+
2194
+ if (state.length > 1 || !firstProduct) {
2195
+ return reject(new Error("ViewerController.initAR() - single product required to override variation-id or variation-sku"));
2196
+ }
2197
+
2198
+ var product = new scene_product_ar_1.SceneProductAR(firstProduct.scene_product_id, _variationID2, _variationSKU2);
2199
+ return product.init().then(accept)["catch"](reject);
2200
+ })["catch"](reject);
2109
2201
  }
2110
2202
 
2111
2203
  return reject(new Error("ViewerController.initAR() - minimum required attributes not set, use scene-id as a minimum"));
@@ -2138,9 +2230,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
2138
2230
  "../../ar/product-ar": 3,
2139
2231
  "../../ar/scene-ar": 5,
2140
2232
  "../../ar/scene-product-ar": 6,
2233
+ "../../util/configurator-state": 14,
2141
2234
  "../../util/util": 15,
2142
2235
  "./plattar-controller": 8,
2143
- "@plattar/plattar-api": 42
2236
+ "@plattar/plattar-api": 43
2144
2237
  }],
2145
2238
  11: [function (require, module, exports) {
2146
2239
  "use strict";
@@ -2199,7 +2292,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
2199
2292
  var sceneID = _this23.getAttribute("scene-id");
2200
2293
 
2201
2294
  if (sceneID) {
2202
- var opt = options || plattar_controller_1.PlattarController.DEFAULT_QR_OPTIONS;
2295
+ var opt = options || _this23._GetDefaultQROptions();
2296
+
2203
2297
  var viewer = document.createElement("plattar-qrcode"); // required attributes with defaults for plattar-viewer node
2204
2298
 
2205
2299
  var width = _this23.getAttribute("width") || "500px";
@@ -2219,6 +2313,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
2219
2313
  viewer.setAttribute("qr-type", opt.qrType);
2220
2314
  }
2221
2315
 
2316
+ viewer.setAttribute("shorten", opt.shorten && (opt.shorten === true || opt.shorten === "true") ? "true" : "false");
2222
2317
  var dst = plattar_api_1.Server.location().base + "renderer/facear.html?scene_id=" + sceneID; // optional attributes
2223
2318
 
2224
2319
  var configState = _this23.getAttribute("config-state");
@@ -2454,8 +2549,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
2454
2549
  "../../ar/raw-ar": 4,
2455
2550
  "../../util/util": 15,
2456
2551
  "./plattar-controller": 8,
2457
- "@plattar/plattar-api": 42,
2458
- "@plattar/plattar-services": 113
2552
+ "@plattar/plattar-api": 43,
2553
+ "@plattar/plattar-services": 114
2459
2554
  }],
2460
2555
  12: [function (require, module, exports) {
2461
2556
  "use strict";
@@ -2678,7 +2773,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
2678
2773
  "./controllers/product-controller": 9,
2679
2774
  "./controllers/viewer-controller": 10,
2680
2775
  "./controllers/vto-controller": 11,
2681
- "@plattar/plattar-api": 42
2776
+ "@plattar/plattar-api": 43
2682
2777
  }],
2683
2778
  13: [function (require, module, exports) {
2684
2779
  "use strict";
@@ -2831,8 +2926,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
2831
2926
  "./util/configurator-state": 14,
2832
2927
  "./util/util": 15,
2833
2928
  "./version": 16,
2834
- "@plattar/plattar-qrcode": 108,
2835
- "@plattar/plattar-web": 127
2929
+ "@plattar/plattar-qrcode": 109,
2930
+ "@plattar/plattar-web": 128
2836
2931
  }],
2837
2932
  14: [function (require, module, exports) {
2838
2933
  "use strict";
@@ -3124,7 +3219,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
3124
3219
 
3125
3220
  exports.ConfiguratorState = ConfiguratorState;
3126
3221
  }, {
3127
- "@plattar/plattar-api": 42
3222
+ "@plattar/plattar-api": 43
3128
3223
  }],
3129
3224
  15: [function (require, module, exports) {
3130
3225
  "use strict";
@@ -3256,7 +3351,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
3256
3351
  Object.defineProperty(exports, "__esModule", {
3257
3352
  value: true
3258
3353
  });
3259
- exports["default"] = "1.130.3";
3354
+ exports["default"] = "1.135.1";
3260
3355
  }, {}],
3261
3356
  17: [function (require, module, exports) {
3262
3357
  "use strict";
@@ -4899,6 +4994,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
4899
4994
  value: function push(key, value) {
4900
4995
  this._map.set(key, value);
4901
4996
  }
4997
+ }, {
4998
+ key: "get",
4999
+ value: function get(key) {
5000
+ return this._map.get(key);
5001
+ }
4902
5002
  }, {
4903
5003
  key: "data",
4904
5004
  get: function get() {
@@ -4941,7 +5041,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
4941
5041
 
4942
5042
  exports.AnalyticsData = AnalyticsData;
4943
5043
  }, {
4944
- "../util/util": 40
5044
+ "../util/util": 41
4945
5045
  }],
4946
5046
  37: [function (require, module, exports) {
4947
5047
  "use strict";
@@ -4961,6 +5061,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
4961
5061
 
4962
5062
  var analytics_data_1 = require("./analytics-data");
4963
5063
 
5064
+ var google_analytics_1 = require("./google/google-analytics");
5065
+
4964
5066
  var Analytics = /*#__PURE__*/function () {
4965
5067
  function Analytics(applicationID) {
4966
5068
  var _this41 = this;
@@ -4977,6 +5079,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
4977
5079
  this.isBeacon = false;
4978
5080
  this._applicationID = applicationID;
4979
5081
  this._data = new analytics_data_1.AnalyticsData();
5082
+ this._ga = new google_analytics_1.GoogleAnalytics();
4980
5083
 
4981
5084
  this._handlePageHide = function () {
4982
5085
  if (document.visibilityState === "hidden") {
@@ -5000,6 +5103,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
5000
5103
  }
5001
5104
 
5002
5105
  _createClass(Analytics, [{
5106
+ key: "googleAnalytics",
5107
+ get: function get() {
5108
+ return this._ga;
5109
+ }
5110
+ }, {
5003
5111
  key: "query",
5004
5112
  value: function query() {
5005
5113
  var _this42 = this;
@@ -5049,6 +5157,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
5049
5157
  accept(result && result.results ? result.results : {});
5050
5158
  })["catch"](reject);
5051
5159
  }
5160
+
5161
+ _this43.googleAnalytics.write(_this43.event, _this43.data);
5052
5162
  });
5053
5163
  }
5054
5164
  }, {
@@ -5068,12 +5178,129 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
5068
5178
 
5069
5179
  exports.Analytics = Analytics;
5070
5180
  }, {
5071
- "../util/basic-http": 39,
5072
- "./analytics-data": 36
5181
+ "../util/basic-http": 40,
5182
+ "./analytics-data": 36,
5183
+ "./google/google-analytics": 38
5073
5184
  }],
5074
5185
  38: [function (require, module, exports) {
5075
5186
  "use strict";
5076
5187
 
5188
+ Object.defineProperty(exports, "__esModule", {
5189
+ value: true
5190
+ });
5191
+ exports.GoogleAnalytics = void 0;
5192
+
5193
+ var GoogleAnalytics = /*#__PURE__*/function () {
5194
+ function GoogleAnalytics() {
5195
+ _classCallCheck(this, GoogleAnalytics);
5196
+
5197
+ this._tokens = new Set();
5198
+ }
5199
+
5200
+ _createClass(GoogleAnalytics, [{
5201
+ key: "addUniversalToken",
5202
+ value: function addUniversalToken(gaToken) {
5203
+ // ensure duplicates not added or processed
5204
+ if (this._tokens.has(gaToken)) {
5205
+ return;
5206
+ }
5207
+
5208
+ this._tokens.add(gaToken);
5209
+
5210
+ var gInstance = gtag;
5211
+
5212
+ if (gInstance) {
5213
+ gInstance("config", gaToken, {
5214
+ "custom_map": {
5215
+ "dimension1": "application_id",
5216
+ "dimension2": "application_title",
5217
+ 'dimension3': 'platform'
5218
+ }
5219
+ });
5220
+ gInstance("event", "app_dimension", {
5221
+ "platform": "Viewer"
5222
+ });
5223
+ }
5224
+ }
5225
+ }, {
5226
+ key: "addToken",
5227
+ value: function addToken(gaToken) {
5228
+ // ensure duplicates not added or processed
5229
+ if (this._tokens.has(gaToken)) {
5230
+ return;
5231
+ }
5232
+
5233
+ this._tokens.add(gaToken);
5234
+
5235
+ var gInstance = gtag;
5236
+
5237
+ if (gInstance) {
5238
+ gInstance("config", gaToken, {
5239
+ "custom_map": {
5240
+ "dimension1": "application_id",
5241
+ "dimension2": "application_title"
5242
+ }
5243
+ });
5244
+ }
5245
+ }
5246
+ }, {
5247
+ key: "write",
5248
+ value: function write(event, data) {
5249
+ if (this._tokens.size <= 0) {
5250
+ return;
5251
+ }
5252
+
5253
+ this._tokens.forEach(function (token) {
5254
+ var gInstance = gtag;
5255
+
5256
+ if (gInstance) {
5257
+ gInstance("event", "app_dimension", {
5258
+ "application_id": data.get("applicationId")
5259
+ });
5260
+ gInstance("event", "app_dimension", {
5261
+ "application_title": data.get("applicationTitle")
5262
+ });
5263
+
5264
+ if (event === "track") {
5265
+ var eventCategory = data.get("eventCategory"); // 0
5266
+
5267
+ var eventAction = data.get("eventAction"); // 1
5268
+
5269
+ var eventLabel = data.get("eventLabel"); // 2
5270
+
5271
+ gInstance("event", eventAction, {
5272
+ "send_to": token,
5273
+ "event_category": eventCategory,
5274
+ "event_label": eventLabel
5275
+ });
5276
+ }
5277
+
5278
+ if (event === "pageview") {
5279
+ var _eventCategory = data.get("eventCategory"); // 0
5280
+
5281
+
5282
+ var _eventLabel = data.get("eventLabel"); // 2
5283
+
5284
+
5285
+ gInstance("event", "pageview", {
5286
+ "send_to": token,
5287
+ "event_category": _eventCategory,
5288
+ "event_label": _eventLabel
5289
+ });
5290
+ }
5291
+ }
5292
+ });
5293
+ }
5294
+ }]);
5295
+
5296
+ return GoogleAnalytics;
5297
+ }();
5298
+
5299
+ exports.GoogleAnalytics = GoogleAnalytics;
5300
+ }, {}],
5301
+ 39: [function (require, module, exports) {
5302
+ "use strict";
5303
+
5077
5304
  var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
5078
5305
  if (k2 === undefined) k2 = k;
5079
5306
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -5140,9 +5367,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
5140
5367
  console.log("using @plattar/plattar-analytics v" + version_1["default"]);
5141
5368
  }, {
5142
5369
  "./analytics/analytics": 37,
5143
- "./version": 41
5370
+ "./version": 42
5144
5371
  }],
5145
- 39: [function (require, module, exports) {
5372
+ 40: [function (require, module, exports) {
5146
5373
  "use strict";
5147
5374
 
5148
5375
  Object.defineProperty(exports, "__esModule", {
@@ -5228,7 +5455,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
5228
5455
 
5229
5456
  exports["default"] = BasicHTTP;
5230
5457
  }, {}],
5231
- 40: [function (require, module, exports) {
5458
+ 41: [function (require, module, exports) {
5232
5459
  "use strict";
5233
5460
 
5234
5461
  Object.defineProperty(exports, "__esModule", {
@@ -5267,15 +5494,15 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
5267
5494
 
5268
5495
  exports.Util = Util;
5269
5496
  }, {}],
5270
- 41: [function (require, module, exports) {
5497
+ 42: [function (require, module, exports) {
5271
5498
  "use strict";
5272
5499
 
5273
5500
  Object.defineProperty(exports, "__esModule", {
5274
5501
  value: true
5275
5502
  });
5276
- exports["default"] = "1.124.1";
5503
+ exports["default"] = "1.134.3";
5277
5504
  }, {}],
5278
- 42: [function (require, module, exports) {
5505
+ 43: [function (require, module, exports) {
5279
5506
  "use strict";
5280
5507
 
5281
5508
  var Server = require("./server/plattar-server.js");
@@ -5478,67 +5705,67 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
5478
5705
  version: Version
5479
5706
  };
5480
5707
  }, {
5481
- "./server/plattar-server.js": 44,
5482
- "./types/application.js": 45,
5483
- "./types/content-pipeline/brief.js": 46,
5484
- "./types/content-pipeline/comment-brief.js": 47,
5485
- "./types/content-pipeline/comment-quote.js": 48,
5486
- "./types/content-pipeline/comment-solution.js": 49,
5487
- "./types/content-pipeline/folder.js": 50,
5488
- "./types/content-pipeline/pipeline-user.js": 51,
5489
- "./types/content-pipeline/quote.js": 52,
5490
- "./types/content-pipeline/rating.js": 53,
5491
- "./types/content-pipeline/solution.js": 54,
5492
- "./types/file/file-audio.js": 55,
5493
- "./types/file/file-base.js": 56,
5494
- "./types/file/file-image.js": 57,
5495
- "./types/file/file-model.js": 58,
5496
- "./types/file/file-script.js": 59,
5497
- "./types/file/file-video.js": 60,
5498
- "./types/misc/application-build.js": 64,
5499
- "./types/misc/asset-library.js": 65,
5500
- "./types/misc/async-job.js": 66,
5501
- "./types/misc/script-event.js": 67,
5502
- "./types/misc/tag.js": 68,
5503
- "./types/page/card-base.js": 69,
5504
- "./types/page/card-button.js": 70,
5505
- "./types/page/card-html.js": 71,
5506
- "./types/page/card-iframe.js": 72,
5507
- "./types/page/card-image.js": 73,
5508
- "./types/page/card-map.js": 74,
5509
- "./types/page/card-paragraph.js": 75,
5510
- "./types/page/card-row.js": 76,
5511
- "./types/page/card-slider.js": 77,
5512
- "./types/page/card-title.js": 78,
5513
- "./types/page/card-video.js": 79,
5514
- "./types/page/card-youtube.js": 80,
5515
- "./types/page/page.js": 81,
5516
- "./types/product/product-annotation.js": 82,
5517
- "./types/product/product-base.js": 83,
5518
- "./types/product/product-variation.js": 84,
5519
- "./types/product/product.js": 85,
5520
- "./types/scene/scene-annotation.js": 86,
5521
- "./types/scene/scene-audio.js": 87,
5522
- "./types/scene/scene-base.js": 88,
5523
- "./types/scene/scene-button.js": 89,
5524
- "./types/scene/scene-camera.js": 90,
5525
- "./types/scene/scene-carousel.js": 91,
5526
- "./types/scene/scene-image.js": 92,
5527
- "./types/scene/scene-model.js": 93,
5528
- "./types/scene/scene-panorama.js": 94,
5529
- "./types/scene/scene-poller.js": 95,
5530
- "./types/scene/scene-product.js": 96,
5531
- "./types/scene/scene-script.js": 97,
5532
- "./types/scene/scene-shadow.js": 98,
5533
- "./types/scene/scene-video.js": 99,
5534
- "./types/scene/scene-volumetric.js": 100,
5535
- "./types/scene/scene-youtube.js": 101,
5536
- "./types/scene/scene.js": 102,
5537
- "./types/trigger/trigger-image.js": 103,
5538
- "./util/plattar-util.js": 104,
5539
- "./version": 105
5708
+ "./server/plattar-server.js": 45,
5709
+ "./types/application.js": 46,
5710
+ "./types/content-pipeline/brief.js": 47,
5711
+ "./types/content-pipeline/comment-brief.js": 48,
5712
+ "./types/content-pipeline/comment-quote.js": 49,
5713
+ "./types/content-pipeline/comment-solution.js": 50,
5714
+ "./types/content-pipeline/folder.js": 51,
5715
+ "./types/content-pipeline/pipeline-user.js": 52,
5716
+ "./types/content-pipeline/quote.js": 53,
5717
+ "./types/content-pipeline/rating.js": 54,
5718
+ "./types/content-pipeline/solution.js": 55,
5719
+ "./types/file/file-audio.js": 56,
5720
+ "./types/file/file-base.js": 57,
5721
+ "./types/file/file-image.js": 58,
5722
+ "./types/file/file-model.js": 59,
5723
+ "./types/file/file-script.js": 60,
5724
+ "./types/file/file-video.js": 61,
5725
+ "./types/misc/application-build.js": 65,
5726
+ "./types/misc/asset-library.js": 66,
5727
+ "./types/misc/async-job.js": 67,
5728
+ "./types/misc/script-event.js": 68,
5729
+ "./types/misc/tag.js": 69,
5730
+ "./types/page/card-base.js": 70,
5731
+ "./types/page/card-button.js": 71,
5732
+ "./types/page/card-html.js": 72,
5733
+ "./types/page/card-iframe.js": 73,
5734
+ "./types/page/card-image.js": 74,
5735
+ "./types/page/card-map.js": 75,
5736
+ "./types/page/card-paragraph.js": 76,
5737
+ "./types/page/card-row.js": 77,
5738
+ "./types/page/card-slider.js": 78,
5739
+ "./types/page/card-title.js": 79,
5740
+ "./types/page/card-video.js": 80,
5741
+ "./types/page/card-youtube.js": 81,
5742
+ "./types/page/page.js": 82,
5743
+ "./types/product/product-annotation.js": 83,
5744
+ "./types/product/product-base.js": 84,
5745
+ "./types/product/product-variation.js": 85,
5746
+ "./types/product/product.js": 86,
5747
+ "./types/scene/scene-annotation.js": 87,
5748
+ "./types/scene/scene-audio.js": 88,
5749
+ "./types/scene/scene-base.js": 89,
5750
+ "./types/scene/scene-button.js": 90,
5751
+ "./types/scene/scene-camera.js": 91,
5752
+ "./types/scene/scene-carousel.js": 92,
5753
+ "./types/scene/scene-image.js": 93,
5754
+ "./types/scene/scene-model.js": 94,
5755
+ "./types/scene/scene-panorama.js": 95,
5756
+ "./types/scene/scene-poller.js": 96,
5757
+ "./types/scene/scene-product.js": 97,
5758
+ "./types/scene/scene-script.js": 98,
5759
+ "./types/scene/scene-shadow.js": 99,
5760
+ "./types/scene/scene-video.js": 100,
5761
+ "./types/scene/scene-volumetric.js": 101,
5762
+ "./types/scene/scene-youtube.js": 102,
5763
+ "./types/scene/scene.js": 103,
5764
+ "./types/trigger/trigger-image.js": 104,
5765
+ "./util/plattar-util.js": 105,
5766
+ "./version": 106
5540
5767
  }],
5541
- 43: [function (require, module, exports) {
5768
+ 44: [function (require, module, exports) {
5542
5769
  var fetch = require("node-fetch");
5543
5770
 
5544
5771
  var PlattarQuery = /*#__PURE__*/function () {
@@ -6022,10 +6249,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
6022
6249
 
6023
6250
  module.exports = PlattarQuery;
6024
6251
  }, {
6025
- "../util/plattar-util.js": 104,
6026
- "node-fetch": 130
6252
+ "../util/plattar-util.js": 105,
6253
+ "node-fetch": 131
6027
6254
  }],
6028
- 44: [function (require, module, exports) {
6255
+ 45: [function (require, module, exports) {
6029
6256
  (function (process) {
6030
6257
  (function () {
6031
6258
  var fetch = require("node-fetch");
@@ -6247,10 +6474,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
6247
6474
  }).call(this);
6248
6475
  }).call(this, require('_process'));
6249
6476
  }, {
6250
- "_process": 132,
6251
- "node-fetch": 130
6477
+ "_process": 133,
6478
+ "node-fetch": 131
6252
6479
  }],
6253
- 45: [function (require, module, exports) {
6480
+ 46: [function (require, module, exports) {
6254
6481
  var PlattarBase = require("./interfaces/plattar-base.js");
6255
6482
 
6256
6483
  var Application = /*#__PURE__*/function (_PlattarBase) {
@@ -6276,9 +6503,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
6276
6503
 
6277
6504
  module.exports = Application;
6278
6505
  }, {
6279
- "./interfaces/plattar-base.js": 61
6506
+ "./interfaces/plattar-base.js": 62
6280
6507
  }],
6281
- 46: [function (require, module, exports) {
6508
+ 47: [function (require, module, exports) {
6282
6509
  var PlattarBase = require("../interfaces/plattar-base");
6283
6510
 
6284
6511
  var Brief = /*#__PURE__*/function (_PlattarBase2) {
@@ -6304,9 +6531,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
6304
6531
 
6305
6532
  module.exports = Brief;
6306
6533
  }, {
6307
- "../interfaces/plattar-base": 61
6534
+ "../interfaces/plattar-base": 62
6308
6535
  }],
6309
- 47: [function (require, module, exports) {
6536
+ 48: [function (require, module, exports) {
6310
6537
  var PlattarBase = require("../interfaces/plattar-base");
6311
6538
 
6312
6539
  var CommentBrief = /*#__PURE__*/function (_PlattarBase3) {
@@ -6332,9 +6559,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
6332
6559
 
6333
6560
  module.exports = CommentBrief;
6334
6561
  }, {
6335
- "../interfaces/plattar-base": 61
6562
+ "../interfaces/plattar-base": 62
6336
6563
  }],
6337
- 48: [function (require, module, exports) {
6564
+ 49: [function (require, module, exports) {
6338
6565
  var PlattarBase = require("../interfaces/plattar-base");
6339
6566
 
6340
6567
  var CommentQuote = /*#__PURE__*/function (_PlattarBase4) {
@@ -6360,9 +6587,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
6360
6587
 
6361
6588
  module.exports = CommentQuote;
6362
6589
  }, {
6363
- "../interfaces/plattar-base": 61
6590
+ "../interfaces/plattar-base": 62
6364
6591
  }],
6365
- 49: [function (require, module, exports) {
6592
+ 50: [function (require, module, exports) {
6366
6593
  var PlattarBase = require("../interfaces/plattar-base");
6367
6594
 
6368
6595
  var CommentSolution = /*#__PURE__*/function (_PlattarBase5) {
@@ -6388,9 +6615,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
6388
6615
 
6389
6616
  module.exports = CommentSolution;
6390
6617
  }, {
6391
- "../interfaces/plattar-base": 61
6618
+ "../interfaces/plattar-base": 62
6392
6619
  }],
6393
- 50: [function (require, module, exports) {
6620
+ 51: [function (require, module, exports) {
6394
6621
  var PlattarBase = require("../interfaces/plattar-base");
6395
6622
 
6396
6623
  var Folder = /*#__PURE__*/function (_PlattarBase6) {
@@ -6416,9 +6643,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
6416
6643
 
6417
6644
  module.exports = Folder;
6418
6645
  }, {
6419
- "../interfaces/plattar-base": 61
6646
+ "../interfaces/plattar-base": 62
6420
6647
  }],
6421
- 51: [function (require, module, exports) {
6648
+ 52: [function (require, module, exports) {
6422
6649
  var PlattarBase = require("../interfaces/plattar-base");
6423
6650
 
6424
6651
  var PipelineUser = /*#__PURE__*/function (_PlattarBase7) {
@@ -6444,9 +6671,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
6444
6671
 
6445
6672
  module.exports = PipelineUser;
6446
6673
  }, {
6447
- "../interfaces/plattar-base": 61
6674
+ "../interfaces/plattar-base": 62
6448
6675
  }],
6449
- 52: [function (require, module, exports) {
6676
+ 53: [function (require, module, exports) {
6450
6677
  var PlattarBase = require("../interfaces/plattar-base");
6451
6678
 
6452
6679
  var Quote = /*#__PURE__*/function (_PlattarBase8) {
@@ -6472,9 +6699,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
6472
6699
 
6473
6700
  module.exports = Quote;
6474
6701
  }, {
6475
- "../interfaces/plattar-base": 61
6702
+ "../interfaces/plattar-base": 62
6476
6703
  }],
6477
- 53: [function (require, module, exports) {
6704
+ 54: [function (require, module, exports) {
6478
6705
  var PlattarBase = require("../interfaces/plattar-base");
6479
6706
 
6480
6707
  var Rating = /*#__PURE__*/function (_PlattarBase9) {
@@ -6500,9 +6727,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
6500
6727
 
6501
6728
  module.exports = Rating;
6502
6729
  }, {
6503
- "../interfaces/plattar-base": 61
6730
+ "../interfaces/plattar-base": 62
6504
6731
  }],
6505
- 54: [function (require, module, exports) {
6732
+ 55: [function (require, module, exports) {
6506
6733
  var PlattarBase = require("../interfaces/plattar-base");
6507
6734
 
6508
6735
  var Solution = /*#__PURE__*/function (_PlattarBase10) {
@@ -6528,9 +6755,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
6528
6755
 
6529
6756
  module.exports = Solution;
6530
6757
  }, {
6531
- "../interfaces/plattar-base": 61
6758
+ "../interfaces/plattar-base": 62
6532
6759
  }],
6533
- 55: [function (require, module, exports) {
6760
+ 56: [function (require, module, exports) {
6534
6761
  var FileBase = require("./file-base.js");
6535
6762
 
6536
6763
  var FileAudio = /*#__PURE__*/function (_FileBase) {
@@ -6556,9 +6783,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
6556
6783
 
6557
6784
  module.exports = FileAudio;
6558
6785
  }, {
6559
- "./file-base.js": 56
6786
+ "./file-base.js": 57
6560
6787
  }],
6561
- 56: [function (require, module, exports) {
6788
+ 57: [function (require, module, exports) {
6562
6789
  var PlattarBase = require("../interfaces/plattar-base.js");
6563
6790
 
6564
6791
  var Server = require("../../server/plattar-server.js");
@@ -6644,14 +6871,14 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
6644
6871
 
6645
6872
  module.exports = FileBase;
6646
6873
  }, {
6647
- "../../server/plattar-server.js": 44,
6648
- "../interfaces/plattar-base.js": 61,
6649
- "./file-audio.js": 55,
6650
- "./file-image.js": 57,
6651
- "./file-model.js": 58,
6652
- "./file-video.js": 60
6874
+ "../../server/plattar-server.js": 45,
6875
+ "../interfaces/plattar-base.js": 62,
6876
+ "./file-audio.js": 56,
6877
+ "./file-image.js": 58,
6878
+ "./file-model.js": 59,
6879
+ "./file-video.js": 61
6653
6880
  }],
6654
- 57: [function (require, module, exports) {
6881
+ 58: [function (require, module, exports) {
6655
6882
  var FileBase = require("./file-base.js");
6656
6883
 
6657
6884
  var FileImage = /*#__PURE__*/function (_FileBase2) {
@@ -6677,9 +6904,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
6677
6904
 
6678
6905
  module.exports = FileImage;
6679
6906
  }, {
6680
- "./file-base.js": 56
6907
+ "./file-base.js": 57
6681
6908
  }],
6682
- 58: [function (require, module, exports) {
6909
+ 59: [function (require, module, exports) {
6683
6910
  var FileBase = require("./file-base.js");
6684
6911
 
6685
6912
  var FileModel = /*#__PURE__*/function (_FileBase3) {
@@ -6705,9 +6932,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
6705
6932
 
6706
6933
  module.exports = FileModel;
6707
6934
  }, {
6708
- "./file-base.js": 56
6935
+ "./file-base.js": 57
6709
6936
  }],
6710
- 59: [function (require, module, exports) {
6937
+ 60: [function (require, module, exports) {
6711
6938
  var FileBase = require("./file-base.js");
6712
6939
 
6713
6940
  var FileScript = /*#__PURE__*/function (_FileBase4) {
@@ -6733,9 +6960,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
6733
6960
 
6734
6961
  module.exports = FileScript;
6735
6962
  }, {
6736
- "./file-base.js": 56
6963
+ "./file-base.js": 57
6737
6964
  }],
6738
- 60: [function (require, module, exports) {
6965
+ 61: [function (require, module, exports) {
6739
6966
  var FileBase = require("./file-base.js");
6740
6967
 
6741
6968
  var FileVideo = /*#__PURE__*/function (_FileBase5) {
@@ -6761,9 +6988,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
6761
6988
 
6762
6989
  module.exports = FileVideo;
6763
6990
  }, {
6764
- "./file-base.js": 56
6991
+ "./file-base.js": 57
6765
6992
  }],
6766
- 61: [function (require, module, exports) {
6993
+ 62: [function (require, module, exports) {
6767
6994
  var PlattarObject = require("./plattar-object.js");
6768
6995
 
6769
6996
  var Server = require("../../server/plattar-server.js");
@@ -6792,10 +7019,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
6792
7019
 
6793
7020
  module.exports = PlattarBase;
6794
7021
  }, {
6795
- "../../server/plattar-server.js": 44,
6796
- "./plattar-object.js": 63
7022
+ "../../server/plattar-server.js": 45,
7023
+ "./plattar-object.js": 64
6797
7024
  }],
6798
- 62: [function (require, module, exports) {
7025
+ 63: [function (require, module, exports) {
6799
7026
  /**
6800
7027
  * Handles the list of relationships for the provided object
6801
7028
  */
@@ -6931,9 +7158,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
6931
7158
 
6932
7159
  module.exports = PlattarObjectRelations;
6933
7160
  }, {
6934
- "../../util/plattar-util.js": 104
7161
+ "../../util/plattar-util.js": 105
6935
7162
  }],
6936
- 63: [function (require, module, exports) {
7163
+ 64: [function (require, module, exports) {
6937
7164
  var PlattarQuery = require("../../server/plattar-query.js");
6938
7165
 
6939
7166
  var PlattarObjectRelations = require("./plattar-object-relations.js");
@@ -7113,10 +7340,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7113
7340
 
7114
7341
  module.exports = PlattarObject;
7115
7342
  }, {
7116
- "../../server/plattar-query.js": 43,
7117
- "./plattar-object-relations.js": 62
7343
+ "../../server/plattar-query.js": 44,
7344
+ "./plattar-object-relations.js": 63
7118
7345
  }],
7119
- 64: [function (require, module, exports) {
7346
+ 65: [function (require, module, exports) {
7120
7347
  var PlattarBase = require("../interfaces/plattar-base.js");
7121
7348
 
7122
7349
  var ApplicationBuild = /*#__PURE__*/function (_PlattarBase12) {
@@ -7142,9 +7369,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7142
7369
 
7143
7370
  module.exports = ApplicationBuild;
7144
7371
  }, {
7145
- "../interfaces/plattar-base.js": 61
7372
+ "../interfaces/plattar-base.js": 62
7146
7373
  }],
7147
- 65: [function (require, module, exports) {
7374
+ 66: [function (require, module, exports) {
7148
7375
  var PlattarBase = require("../interfaces/plattar-base.js");
7149
7376
 
7150
7377
  var AssetLibrary = /*#__PURE__*/function (_PlattarBase13) {
@@ -7170,9 +7397,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7170
7397
 
7171
7398
  module.exports = AssetLibrary;
7172
7399
  }, {
7173
- "../interfaces/plattar-base.js": 61
7400
+ "../interfaces/plattar-base.js": 62
7174
7401
  }],
7175
- 66: [function (require, module, exports) {
7402
+ 67: [function (require, module, exports) {
7176
7403
  var PlattarBase = require("../interfaces/plattar-base.js");
7177
7404
 
7178
7405
  var AsyncJob = /*#__PURE__*/function (_PlattarBase14) {
@@ -7203,9 +7430,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7203
7430
 
7204
7431
  module.exports = AsyncJob;
7205
7432
  }, {
7206
- "../interfaces/plattar-base.js": 61
7433
+ "../interfaces/plattar-base.js": 62
7207
7434
  }],
7208
- 67: [function (require, module, exports) {
7435
+ 68: [function (require, module, exports) {
7209
7436
  var PlattarBase = require("../interfaces/plattar-base.js");
7210
7437
 
7211
7438
  var ScriptEvent = /*#__PURE__*/function (_PlattarBase15) {
@@ -7231,9 +7458,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7231
7458
 
7232
7459
  module.exports = ScriptEvent;
7233
7460
  }, {
7234
- "../interfaces/plattar-base.js": 61
7461
+ "../interfaces/plattar-base.js": 62
7235
7462
  }],
7236
- 68: [function (require, module, exports) {
7463
+ 69: [function (require, module, exports) {
7237
7464
  var PlattarBase = require("../interfaces/plattar-base.js");
7238
7465
 
7239
7466
  var Tag = /*#__PURE__*/function (_PlattarBase16) {
@@ -7259,9 +7486,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7259
7486
 
7260
7487
  module.exports = Tag;
7261
7488
  }, {
7262
- "../interfaces/plattar-base.js": 61
7489
+ "../interfaces/plattar-base.js": 62
7263
7490
  }],
7264
- 69: [function (require, module, exports) {
7491
+ 70: [function (require, module, exports) {
7265
7492
  var PlattarBase = require("../interfaces/plattar-base.js");
7266
7493
 
7267
7494
  var Server = require("../../server/plattar-server.js");
@@ -7319,21 +7546,21 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7319
7546
 
7320
7547
  module.exports = CardBase;
7321
7548
  }, {
7322
- "../../server/plattar-server.js": 44,
7323
- "../interfaces/plattar-base.js": 61,
7324
- "./card-button.js": 70,
7325
- "./card-html.js": 71,
7326
- "./card-iframe.js": 72,
7327
- "./card-image.js": 73,
7328
- "./card-map.js": 74,
7329
- "./card-paragraph.js": 75,
7330
- "./card-row.js": 76,
7331
- "./card-slider.js": 77,
7332
- "./card-title.js": 78,
7333
- "./card-video.js": 79,
7334
- "./card-youtube.js": 80
7549
+ "../../server/plattar-server.js": 45,
7550
+ "../interfaces/plattar-base.js": 62,
7551
+ "./card-button.js": 71,
7552
+ "./card-html.js": 72,
7553
+ "./card-iframe.js": 73,
7554
+ "./card-image.js": 74,
7555
+ "./card-map.js": 75,
7556
+ "./card-paragraph.js": 76,
7557
+ "./card-row.js": 77,
7558
+ "./card-slider.js": 78,
7559
+ "./card-title.js": 79,
7560
+ "./card-video.js": 80,
7561
+ "./card-youtube.js": 81
7335
7562
  }],
7336
- 70: [function (require, module, exports) {
7563
+ 71: [function (require, module, exports) {
7337
7564
  var CardBase = require("./card-base.js");
7338
7565
 
7339
7566
  var CardButton = /*#__PURE__*/function (_CardBase) {
@@ -7359,9 +7586,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7359
7586
 
7360
7587
  module.exports = CardButton;
7361
7588
  }, {
7362
- "./card-base.js": 69
7589
+ "./card-base.js": 70
7363
7590
  }],
7364
- 71: [function (require, module, exports) {
7591
+ 72: [function (require, module, exports) {
7365
7592
  var CardBase = require("./card-base.js");
7366
7593
 
7367
7594
  var CardHTML = /*#__PURE__*/function (_CardBase2) {
@@ -7387,9 +7614,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7387
7614
 
7388
7615
  module.exports = CardHTML;
7389
7616
  }, {
7390
- "./card-base.js": 69
7617
+ "./card-base.js": 70
7391
7618
  }],
7392
- 72: [function (require, module, exports) {
7619
+ 73: [function (require, module, exports) {
7393
7620
  var CardBase = require("./card-base.js");
7394
7621
 
7395
7622
  var CardIFrame = /*#__PURE__*/function (_CardBase3) {
@@ -7415,9 +7642,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7415
7642
 
7416
7643
  module.exports = CardIFrame;
7417
7644
  }, {
7418
- "./card-base.js": 69
7645
+ "./card-base.js": 70
7419
7646
  }],
7420
- 73: [function (require, module, exports) {
7647
+ 74: [function (require, module, exports) {
7421
7648
  var CardBase = require("./card-base.js");
7422
7649
 
7423
7650
  var CardImage = /*#__PURE__*/function (_CardBase4) {
@@ -7443,9 +7670,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7443
7670
 
7444
7671
  module.exports = CardImage;
7445
7672
  }, {
7446
- "./card-base.js": 69
7673
+ "./card-base.js": 70
7447
7674
  }],
7448
- 74: [function (require, module, exports) {
7675
+ 75: [function (require, module, exports) {
7449
7676
  var CardBase = require("./card-base.js");
7450
7677
 
7451
7678
  var CardMap = /*#__PURE__*/function (_CardBase5) {
@@ -7471,9 +7698,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7471
7698
 
7472
7699
  module.exports = CardMap;
7473
7700
  }, {
7474
- "./card-base.js": 69
7701
+ "./card-base.js": 70
7475
7702
  }],
7476
- 75: [function (require, module, exports) {
7703
+ 76: [function (require, module, exports) {
7477
7704
  var CardBase = require("./card-base.js");
7478
7705
 
7479
7706
  var CardParagraph = /*#__PURE__*/function (_CardBase6) {
@@ -7499,9 +7726,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7499
7726
 
7500
7727
  module.exports = CardParagraph;
7501
7728
  }, {
7502
- "./card-base.js": 69
7729
+ "./card-base.js": 70
7503
7730
  }],
7504
- 76: [function (require, module, exports) {
7731
+ 77: [function (require, module, exports) {
7505
7732
  var CardBase = require("./card-base.js");
7506
7733
 
7507
7734
  var CardRow = /*#__PURE__*/function (_CardBase7) {
@@ -7527,9 +7754,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7527
7754
 
7528
7755
  module.exports = CardRow;
7529
7756
  }, {
7530
- "./card-base.js": 69
7757
+ "./card-base.js": 70
7531
7758
  }],
7532
- 77: [function (require, module, exports) {
7759
+ 78: [function (require, module, exports) {
7533
7760
  var CardBase = require("./card-base.js");
7534
7761
 
7535
7762
  var CardSlider = /*#__PURE__*/function (_CardBase8) {
@@ -7555,9 +7782,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7555
7782
 
7556
7783
  module.exports = CardSlider;
7557
7784
  }, {
7558
- "./card-base.js": 69
7785
+ "./card-base.js": 70
7559
7786
  }],
7560
- 78: [function (require, module, exports) {
7787
+ 79: [function (require, module, exports) {
7561
7788
  var CardBase = require("./card-base.js");
7562
7789
 
7563
7790
  var CardTitle = /*#__PURE__*/function (_CardBase9) {
@@ -7583,9 +7810,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7583
7810
 
7584
7811
  module.exports = CardTitle;
7585
7812
  }, {
7586
- "./card-base.js": 69
7813
+ "./card-base.js": 70
7587
7814
  }],
7588
- 79: [function (require, module, exports) {
7815
+ 80: [function (require, module, exports) {
7589
7816
  var CardBase = require("./card-base.js");
7590
7817
 
7591
7818
  var CardVideo = /*#__PURE__*/function (_CardBase10) {
@@ -7611,9 +7838,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7611
7838
 
7612
7839
  module.exports = CardVideo;
7613
7840
  }, {
7614
- "./card-base.js": 69
7841
+ "./card-base.js": 70
7615
7842
  }],
7616
- 80: [function (require, module, exports) {
7843
+ 81: [function (require, module, exports) {
7617
7844
  var CardBase = require("./card-base.js");
7618
7845
 
7619
7846
  var CardYoutube = /*#__PURE__*/function (_CardBase11) {
@@ -7639,9 +7866,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7639
7866
 
7640
7867
  module.exports = CardYoutube;
7641
7868
  }, {
7642
- "./card-base.js": 69
7869
+ "./card-base.js": 70
7643
7870
  }],
7644
- 81: [function (require, module, exports) {
7871
+ 82: [function (require, module, exports) {
7645
7872
  var PlattarBase = require("../interfaces/plattar-base.js");
7646
7873
 
7647
7874
  var Page = /*#__PURE__*/function (_PlattarBase18) {
@@ -7667,9 +7894,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7667
7894
 
7668
7895
  module.exports = Page;
7669
7896
  }, {
7670
- "../interfaces/plattar-base.js": 61
7897
+ "../interfaces/plattar-base.js": 62
7671
7898
  }],
7672
- 82: [function (require, module, exports) {
7899
+ 83: [function (require, module, exports) {
7673
7900
  var ProductBase = require("./product-base.js");
7674
7901
 
7675
7902
  var ProductAnnotation = /*#__PURE__*/function (_ProductBase) {
@@ -7695,9 +7922,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7695
7922
 
7696
7923
  module.exports = ProductAnnotation;
7697
7924
  }, {
7698
- "./product-base.js": 83
7925
+ "./product-base.js": 84
7699
7926
  }],
7700
- 83: [function (require, module, exports) {
7927
+ 84: [function (require, module, exports) {
7701
7928
  var PlattarBase = require("../interfaces/plattar-base.js");
7702
7929
 
7703
7930
  var Server = require("../../server/plattar-server.js");
@@ -7737,12 +7964,12 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7737
7964
 
7738
7965
  module.exports = ProductBase;
7739
7966
  }, {
7740
- "../../server/plattar-server.js": 44,
7741
- "../interfaces/plattar-base.js": 61,
7742
- "./product-annotation.js": 82,
7743
- "./product-variation.js": 84
7967
+ "../../server/plattar-server.js": 45,
7968
+ "../interfaces/plattar-base.js": 62,
7969
+ "./product-annotation.js": 83,
7970
+ "./product-variation.js": 85
7744
7971
  }],
7745
- 84: [function (require, module, exports) {
7972
+ 85: [function (require, module, exports) {
7746
7973
  var ProductBase = require("./product-base.js");
7747
7974
 
7748
7975
  var ProductVariation = /*#__PURE__*/function (_ProductBase2) {
@@ -7768,9 +7995,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7768
7995
 
7769
7996
  module.exports = ProductVariation;
7770
7997
  }, {
7771
- "./product-base.js": 83
7998
+ "./product-base.js": 84
7772
7999
  }],
7773
- 85: [function (require, module, exports) {
8000
+ 86: [function (require, module, exports) {
7774
8001
  var PlattarBase = require("../interfaces/plattar-base.js");
7775
8002
 
7776
8003
  var Product = /*#__PURE__*/function (_PlattarBase20) {
@@ -7796,9 +8023,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7796
8023
 
7797
8024
  module.exports = Product;
7798
8025
  }, {
7799
- "../interfaces/plattar-base.js": 61
8026
+ "../interfaces/plattar-base.js": 62
7800
8027
  }],
7801
- 86: [function (require, module, exports) {
8028
+ 87: [function (require, module, exports) {
7802
8029
  var SceneBase = require("./scene-base.js");
7803
8030
 
7804
8031
  var SceneAnnotation = /*#__PURE__*/function (_SceneBase) {
@@ -7824,9 +8051,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7824
8051
 
7825
8052
  module.exports = SceneAnnotation;
7826
8053
  }, {
7827
- "./scene-base.js": 88
8054
+ "./scene-base.js": 89
7828
8055
  }],
7829
- 87: [function (require, module, exports) {
8056
+ 88: [function (require, module, exports) {
7830
8057
  var SceneBase = require("./scene-base.js");
7831
8058
 
7832
8059
  var SceneAudio = /*#__PURE__*/function (_SceneBase2) {
@@ -7852,9 +8079,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7852
8079
 
7853
8080
  module.exports = SceneAudio;
7854
8081
  }, {
7855
- "./scene-base.js": 88
8082
+ "./scene-base.js": 89
7856
8083
  }],
7857
- 88: [function (require, module, exports) {
8084
+ 89: [function (require, module, exports) {
7858
8085
  var PlattarBase = require("../interfaces/plattar-base.js");
7859
8086
 
7860
8087
  var Server = require("../../server/plattar-server.js");
@@ -7918,24 +8145,24 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7918
8145
 
7919
8146
  module.exports = SceneBase;
7920
8147
  }, {
7921
- "../../server/plattar-server.js": 44,
7922
- "../interfaces/plattar-base.js": 61,
7923
- "./scene-annotation.js": 86,
7924
- "./scene-audio.js": 87,
7925
- "./scene-button.js": 89,
7926
- "./scene-camera.js": 90,
7927
- "./scene-carousel.js": 91,
7928
- "./scene-image.js": 92,
7929
- "./scene-model.js": 93,
7930
- "./scene-panorama.js": 94,
7931
- "./scene-poller.js": 95,
7932
- "./scene-product.js": 96,
7933
- "./scene-shadow.js": 98,
7934
- "./scene-video.js": 99,
7935
- "./scene-volumetric.js": 100,
7936
- "./scene-youtube.js": 101
8148
+ "../../server/plattar-server.js": 45,
8149
+ "../interfaces/plattar-base.js": 62,
8150
+ "./scene-annotation.js": 87,
8151
+ "./scene-audio.js": 88,
8152
+ "./scene-button.js": 90,
8153
+ "./scene-camera.js": 91,
8154
+ "./scene-carousel.js": 92,
8155
+ "./scene-image.js": 93,
8156
+ "./scene-model.js": 94,
8157
+ "./scene-panorama.js": 95,
8158
+ "./scene-poller.js": 96,
8159
+ "./scene-product.js": 97,
8160
+ "./scene-shadow.js": 99,
8161
+ "./scene-video.js": 100,
8162
+ "./scene-volumetric.js": 101,
8163
+ "./scene-youtube.js": 102
7937
8164
  }],
7938
- 89: [function (require, module, exports) {
8165
+ 90: [function (require, module, exports) {
7939
8166
  var SceneBase = require("./scene-base.js");
7940
8167
 
7941
8168
  var SceneButton = /*#__PURE__*/function (_SceneBase3) {
@@ -7961,9 +8188,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7961
8188
 
7962
8189
  module.exports = SceneButton;
7963
8190
  }, {
7964
- "./scene-base.js": 88
8191
+ "./scene-base.js": 89
7965
8192
  }],
7966
- 90: [function (require, module, exports) {
8193
+ 91: [function (require, module, exports) {
7967
8194
  var SceneBase = require("./scene-base.js");
7968
8195
 
7969
8196
  var SceneCamera = /*#__PURE__*/function (_SceneBase4) {
@@ -7989,9 +8216,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
7989
8216
 
7990
8217
  module.exports = SceneCamera;
7991
8218
  }, {
7992
- "./scene-base.js": 88
8219
+ "./scene-base.js": 89
7993
8220
  }],
7994
- 91: [function (require, module, exports) {
8221
+ 92: [function (require, module, exports) {
7995
8222
  var SceneBase = require("./scene-base.js");
7996
8223
 
7997
8224
  var SceneCarousel = /*#__PURE__*/function (_SceneBase5) {
@@ -8017,9 +8244,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
8017
8244
 
8018
8245
  module.exports = SceneCarousel;
8019
8246
  }, {
8020
- "./scene-base.js": 88
8247
+ "./scene-base.js": 89
8021
8248
  }],
8022
- 92: [function (require, module, exports) {
8249
+ 93: [function (require, module, exports) {
8023
8250
  var SceneBase = require("./scene-base.js");
8024
8251
 
8025
8252
  var SceneImage = /*#__PURE__*/function (_SceneBase6) {
@@ -8045,9 +8272,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
8045
8272
 
8046
8273
  module.exports = SceneImage;
8047
8274
  }, {
8048
- "./scene-base.js": 88
8275
+ "./scene-base.js": 89
8049
8276
  }],
8050
- 93: [function (require, module, exports) {
8277
+ 94: [function (require, module, exports) {
8051
8278
  var SceneBase = require("./scene-base.js");
8052
8279
 
8053
8280
  var SceneModel = /*#__PURE__*/function (_SceneBase7) {
@@ -8073,9 +8300,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
8073
8300
 
8074
8301
  module.exports = SceneModel;
8075
8302
  }, {
8076
- "./scene-base.js": 88
8303
+ "./scene-base.js": 89
8077
8304
  }],
8078
- 94: [function (require, module, exports) {
8305
+ 95: [function (require, module, exports) {
8079
8306
  var SceneBase = require("./scene-base.js");
8080
8307
 
8081
8308
  var ScenePanorama = /*#__PURE__*/function (_SceneBase8) {
@@ -8101,9 +8328,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
8101
8328
 
8102
8329
  module.exports = ScenePanorama;
8103
8330
  }, {
8104
- "./scene-base.js": 88
8331
+ "./scene-base.js": 89
8105
8332
  }],
8106
- 95: [function (require, module, exports) {
8333
+ 96: [function (require, module, exports) {
8107
8334
  var SceneBase = require("./scene-base.js");
8108
8335
 
8109
8336
  var ScenePoller = /*#__PURE__*/function (_SceneBase9) {
@@ -8129,9 +8356,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
8129
8356
 
8130
8357
  module.exports = ScenePoller;
8131
8358
  }, {
8132
- "./scene-base.js": 88
8359
+ "./scene-base.js": 89
8133
8360
  }],
8134
- 96: [function (require, module, exports) {
8361
+ 97: [function (require, module, exports) {
8135
8362
  var SceneBase = require("./scene-base.js");
8136
8363
 
8137
8364
  var SceneProduct = /*#__PURE__*/function (_SceneBase10) {
@@ -8157,9 +8384,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
8157
8384
 
8158
8385
  module.exports = SceneProduct;
8159
8386
  }, {
8160
- "./scene-base.js": 88
8387
+ "./scene-base.js": 89
8161
8388
  }],
8162
- 97: [function (require, module, exports) {
8389
+ 98: [function (require, module, exports) {
8163
8390
  var SceneBase = require("./scene-base.js");
8164
8391
 
8165
8392
  var SceneScript = /*#__PURE__*/function (_SceneBase11) {
@@ -8185,9 +8412,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
8185
8412
 
8186
8413
  module.exports = SceneScript;
8187
8414
  }, {
8188
- "./scene-base.js": 88
8415
+ "./scene-base.js": 89
8189
8416
  }],
8190
- 98: [function (require, module, exports) {
8417
+ 99: [function (require, module, exports) {
8191
8418
  var SceneBase = require("./scene-base.js");
8192
8419
 
8193
8420
  var SceneShadow = /*#__PURE__*/function (_SceneBase12) {
@@ -8213,9 +8440,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
8213
8440
 
8214
8441
  module.exports = SceneShadow;
8215
8442
  }, {
8216
- "./scene-base.js": 88
8443
+ "./scene-base.js": 89
8217
8444
  }],
8218
- 99: [function (require, module, exports) {
8445
+ 100: [function (require, module, exports) {
8219
8446
  var SceneBase = require("./scene-base.js");
8220
8447
 
8221
8448
  var SceneVideo = /*#__PURE__*/function (_SceneBase13) {
@@ -8241,9 +8468,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
8241
8468
 
8242
8469
  module.exports = SceneVideo;
8243
8470
  }, {
8244
- "./scene-base.js": 88
8471
+ "./scene-base.js": 89
8245
8472
  }],
8246
- 100: [function (require, module, exports) {
8473
+ 101: [function (require, module, exports) {
8247
8474
  var SceneBase = require("./scene-base.js");
8248
8475
 
8249
8476
  var SceneVolumetric = /*#__PURE__*/function (_SceneBase14) {
@@ -8269,9 +8496,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
8269
8496
 
8270
8497
  module.exports = SceneVolumetric;
8271
8498
  }, {
8272
- "./scene-base.js": 88
8499
+ "./scene-base.js": 89
8273
8500
  }],
8274
- 101: [function (require, module, exports) {
8501
+ 102: [function (require, module, exports) {
8275
8502
  var SceneBase = require("./scene-base.js");
8276
8503
 
8277
8504
  var SceneYoutube = /*#__PURE__*/function (_SceneBase15) {
@@ -8297,9 +8524,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
8297
8524
 
8298
8525
  module.exports = SceneYoutube;
8299
8526
  }, {
8300
- "./scene-base.js": 88
8527
+ "./scene-base.js": 89
8301
8528
  }],
8302
- 102: [function (require, module, exports) {
8529
+ 103: [function (require, module, exports) {
8303
8530
  var PlattarBase = require("../interfaces/plattar-base.js");
8304
8531
 
8305
8532
  var Scene = /*#__PURE__*/function (_PlattarBase22) {
@@ -8325,9 +8552,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
8325
8552
 
8326
8553
  module.exports = Scene;
8327
8554
  }, {
8328
- "../interfaces/plattar-base.js": 61
8555
+ "../interfaces/plattar-base.js": 62
8329
8556
  }],
8330
- 103: [function (require, module, exports) {
8557
+ 104: [function (require, module, exports) {
8331
8558
  var PlattarBase = require("../interfaces/plattar-base.js");
8332
8559
 
8333
8560
  var TriggerImage = /*#__PURE__*/function (_PlattarBase23) {
@@ -8353,9 +8580,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
8353
8580
 
8354
8581
  module.exports = TriggerImage;
8355
8582
  }, {
8356
- "../interfaces/plattar-base.js": 61
8583
+ "../interfaces/plattar-base.js": 62
8357
8584
  }],
8358
- 104: [function (require, module, exports) {
8585
+ 105: [function (require, module, exports) {
8359
8586
  var Application = require("../types/application.js"); // import Scene types and its children
8360
8587
 
8361
8588
 
@@ -8742,64 +8969,64 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
8742
8969
 
8743
8970
  module.exports = PlattarUtil;
8744
8971
  }, {
8745
- "../types/application.js": 45,
8746
- "../types/content-pipeline/brief.js": 46,
8747
- "../types/content-pipeline/comment-brief.js": 47,
8748
- "../types/content-pipeline/comment-quote.js": 48,
8749
- "../types/content-pipeline/comment-solution.js": 49,
8750
- "../types/content-pipeline/folder.js": 50,
8751
- "../types/content-pipeline/pipeline-user.js": 51,
8752
- "../types/content-pipeline/quote.js": 52,
8753
- "../types/content-pipeline/rating.js": 53,
8754
- "../types/content-pipeline/solution.js": 54,
8755
- "../types/file/file-audio.js": 55,
8756
- "../types/file/file-image.js": 57,
8757
- "../types/file/file-model.js": 58,
8758
- "../types/file/file-script.js": 59,
8759
- "../types/file/file-video.js": 60,
8760
- "../types/interfaces/plattar-object.js": 63,
8761
- "../types/misc/application-build.js": 64,
8762
- "../types/misc/asset-library": 65,
8763
- "../types/misc/async-job.js": 66,
8764
- "../types/misc/script-event.js": 67,
8765
- "../types/misc/tag.js": 68,
8766
- "../types/page/card-button.js": 70,
8767
- "../types/page/card-html.js": 71,
8768
- "../types/page/card-iframe.js": 72,
8769
- "../types/page/card-image.js": 73,
8770
- "../types/page/card-map.js": 74,
8771
- "../types/page/card-paragraph.js": 75,
8772
- "../types/page/card-row.js": 76,
8773
- "../types/page/card-slider.js": 77,
8774
- "../types/page/card-title.js": 78,
8775
- "../types/page/card-video.js": 79,
8776
- "../types/page/card-youtube.js": 80,
8777
- "../types/page/page.js": 81,
8778
- "../types/product/product-annotation.js": 82,
8779
- "../types/product/product-variation.js": 84,
8780
- "../types/product/product.js": 85,
8781
- "../types/scene/scene-annotation.js": 86,
8782
- "../types/scene/scene-audio.js": 87,
8783
- "../types/scene/scene-button.js": 89,
8784
- "../types/scene/scene-camera.js": 90,
8785
- "../types/scene/scene-carousel.js": 91,
8786
- "../types/scene/scene-image.js": 92,
8787
- "../types/scene/scene-model.js": 93,
8788
- "../types/scene/scene-panorama.js": 94,
8789
- "../types/scene/scene-poller.js": 95,
8790
- "../types/scene/scene-product.js": 96,
8791
- "../types/scene/scene-script.js": 97,
8792
- "../types/scene/scene-shadow.js": 98,
8793
- "../types/scene/scene-video.js": 99,
8794
- "../types/scene/scene-volumetric.js": 100,
8795
- "../types/scene/scene-youtube.js": 101,
8796
- "../types/scene/scene.js": 102,
8797
- "../types/trigger/trigger-image.js": 103
8972
+ "../types/application.js": 46,
8973
+ "../types/content-pipeline/brief.js": 47,
8974
+ "../types/content-pipeline/comment-brief.js": 48,
8975
+ "../types/content-pipeline/comment-quote.js": 49,
8976
+ "../types/content-pipeline/comment-solution.js": 50,
8977
+ "../types/content-pipeline/folder.js": 51,
8978
+ "../types/content-pipeline/pipeline-user.js": 52,
8979
+ "../types/content-pipeline/quote.js": 53,
8980
+ "../types/content-pipeline/rating.js": 54,
8981
+ "../types/content-pipeline/solution.js": 55,
8982
+ "../types/file/file-audio.js": 56,
8983
+ "../types/file/file-image.js": 58,
8984
+ "../types/file/file-model.js": 59,
8985
+ "../types/file/file-script.js": 60,
8986
+ "../types/file/file-video.js": 61,
8987
+ "../types/interfaces/plattar-object.js": 64,
8988
+ "../types/misc/application-build.js": 65,
8989
+ "../types/misc/asset-library": 66,
8990
+ "../types/misc/async-job.js": 67,
8991
+ "../types/misc/script-event.js": 68,
8992
+ "../types/misc/tag.js": 69,
8993
+ "../types/page/card-button.js": 71,
8994
+ "../types/page/card-html.js": 72,
8995
+ "../types/page/card-iframe.js": 73,
8996
+ "../types/page/card-image.js": 74,
8997
+ "../types/page/card-map.js": 75,
8998
+ "../types/page/card-paragraph.js": 76,
8999
+ "../types/page/card-row.js": 77,
9000
+ "../types/page/card-slider.js": 78,
9001
+ "../types/page/card-title.js": 79,
9002
+ "../types/page/card-video.js": 80,
9003
+ "../types/page/card-youtube.js": 81,
9004
+ "../types/page/page.js": 82,
9005
+ "../types/product/product-annotation.js": 83,
9006
+ "../types/product/product-variation.js": 85,
9007
+ "../types/product/product.js": 86,
9008
+ "../types/scene/scene-annotation.js": 87,
9009
+ "../types/scene/scene-audio.js": 88,
9010
+ "../types/scene/scene-button.js": 90,
9011
+ "../types/scene/scene-camera.js": 91,
9012
+ "../types/scene/scene-carousel.js": 92,
9013
+ "../types/scene/scene-image.js": 93,
9014
+ "../types/scene/scene-model.js": 94,
9015
+ "../types/scene/scene-panorama.js": 95,
9016
+ "../types/scene/scene-poller.js": 96,
9017
+ "../types/scene/scene-product.js": 97,
9018
+ "../types/scene/scene-script.js": 98,
9019
+ "../types/scene/scene-shadow.js": 99,
9020
+ "../types/scene/scene-video.js": 100,
9021
+ "../types/scene/scene-volumetric.js": 101,
9022
+ "../types/scene/scene-youtube.js": 102,
9023
+ "../types/scene/scene.js": 103,
9024
+ "../types/trigger/trigger-image.js": 104
8798
9025
  }],
8799
- 105: [function (require, module, exports) {
9026
+ 106: [function (require, module, exports) {
8800
9027
  module.exports = "1.120.1";
8801
9028
  }, {}],
8802
- 106: [function (require, module, exports) {
9029
+ 107: [function (require, module, exports) {
8803
9030
  var QRCodeStyling = require("qr-code-styling");
8804
9031
 
8805
9032
  var BaseElement = /*#__PURE__*/function (_HTMLElement2) {
@@ -8859,8 +9086,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
8859
9086
  return;
8860
9087
  }
8861
9088
 
8862
- var width = this.hasAttribute("width") ? parseInt(this.getAttribute("width")) : 512;
8863
- var height = this.hasAttribute("height") ? parseInt(this.getAttribute("height")) : 512;
9089
+ var width = this.hasAttribute("width") ? this.getAttribute("width") : "100%";
9090
+ var height = this.hasAttribute("height") ? this.getAttribute("height") : "100%";
8864
9091
  var margin = this.hasAttribute("margin") ? this.getAttribute("margin") : 0;
8865
9092
  var image = this.hasAttribute("image") ? this.getAttribute("image") : undefined;
8866
9093
  var color = this.hasAttribute("color") ? this.getAttribute("color") : "#000000";
@@ -8986,8 +9213,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
8986
9213
 
8987
9214
  if (this._divContainer) {
8988
9215
  var div = this._divContainer;
8989
- div.style.width = width + "px";
8990
- div.style.height = height + "px";
9216
+ div.style.width = width;
9217
+ div.style.height = height;
8991
9218
  }
8992
9219
  }
8993
9220
  }, {
@@ -9057,9 +9284,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
9057
9284
 
9058
9285
  module.exports = BaseElement;
9059
9286
  }, {
9060
- "qr-code-styling": 133
9287
+ "qr-code-styling": 134
9061
9288
  }],
9062
- 107: [function (require, module, exports) {
9289
+ 108: [function (require, module, exports) {
9063
9290
  var BaseElement = require("./base/base-element.js");
9064
9291
 
9065
9292
  var QRCodeElement = /*#__PURE__*/function (_BaseElement) {
@@ -9078,9 +9305,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
9078
9305
 
9079
9306
  module.exports = QRCodeElement;
9080
9307
  }, {
9081
- "./base/base-element.js": 106
9308
+ "./base/base-element.js": 107
9082
9309
  }],
9083
- 108: [function (require, module, exports) {
9310
+ 109: [function (require, module, exports) {
9084
9311
  "use strict";
9085
9312
 
9086
9313
  var QRCodeElement = require("./elements/qrcode-element.js");
@@ -9098,13 +9325,13 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
9098
9325
  version: Version
9099
9326
  };
9100
9327
  }, {
9101
- "./elements/qrcode-element.js": 107,
9102
- "./version": 109
9328
+ "./elements/qrcode-element.js": 108,
9329
+ "./version": 110
9103
9330
  }],
9104
- 109: [function (require, module, exports) {
9105
- module.exports = "1.122.1";
9106
- }, {}],
9107
9331
  110: [function (require, module, exports) {
9332
+ module.exports = "1.134.1";
9333
+ }, {}],
9334
+ 111: [function (require, module, exports) {
9108
9335
  "use strict";
9109
9336
 
9110
9337
  var __importDefault = this && this.__importDefault || function (mod) {
@@ -9338,11 +9565,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
9338
9565
 
9339
9566
  exports.Configurator = Configurator;
9340
9567
  }, {
9341
- "./remote-request": 112,
9342
- "@plattar/plattar-api": 42,
9343
- "object-hash": 131
9568
+ "./remote-request": 113,
9569
+ "@plattar/plattar-api": 43,
9570
+ "object-hash": 132
9344
9571
  }],
9345
- 111: [function (require, module, exports) {
9572
+ 112: [function (require, module, exports) {
9346
9573
  "use strict";
9347
9574
 
9348
9575
  var __importDefault = this && this.__importDefault || function (mod) {
@@ -9437,11 +9664,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
9437
9664
 
9438
9665
  exports.ModelConverter = ModelConverter;
9439
9666
  }, {
9440
- "./remote-request": 112,
9441
- "@plattar/plattar-api": 42,
9442
- "object-hash": 131
9667
+ "./remote-request": 113,
9668
+ "@plattar/plattar-api": 43,
9669
+ "object-hash": 132
9443
9670
  }],
9444
- 112: [function (require, module, exports) {
9671
+ 113: [function (require, module, exports) {
9445
9672
  "use strict";
9446
9673
 
9447
9674
  var __importDefault = this && this.__importDefault || function (mod) {
@@ -9529,9 +9756,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
9529
9756
 
9530
9757
  exports.RemoteRequest = RemoteRequest;
9531
9758
  }, {
9532
- "node-fetch": 130
9759
+ "node-fetch": 131
9533
9760
  }],
9534
- 113: [function (require, module, exports) {
9761
+ 114: [function (require, module, exports) {
9535
9762
  "use strict";
9536
9763
 
9537
9764
  var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
@@ -9602,11 +9829,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
9602
9829
 
9603
9830
  console.log("using @plattar/plattar-services v" + version_1["default"]);
9604
9831
  }, {
9605
- "./core/configurator": 110,
9606
- "./core/model-converter": 111,
9607
- "./version": 114
9832
+ "./core/configurator": 111,
9833
+ "./core/model-converter": 112,
9834
+ "./version": 115
9608
9835
  }],
9609
- 114: [function (require, module, exports) {
9836
+ 115: [function (require, module, exports) {
9610
9837
  "use strict";
9611
9838
 
9612
9839
  Object.defineProperty(exports, "__esModule", {
@@ -9614,7 +9841,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
9614
9841
  });
9615
9842
  exports["default"] = "1.120.1";
9616
9843
  }, {}],
9617
- 115: [function (require, module, exports) {
9844
+ 116: [function (require, module, exports) {
9618
9845
  var Util = require("../../util/util");
9619
9846
 
9620
9847
  var ElementController = require("../controllers/element-controller");
@@ -9793,10 +10020,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
9793
10020
 
9794
10021
  module.exports = BaseElement;
9795
10022
  }, {
9796
- "../../util/util": 128,
9797
- "../controllers/element-controller": 117
10023
+ "../../util/util": 129,
10024
+ "../controllers/element-controller": 118
9798
10025
  }],
9799
- 116: [function (require, module, exports) {
10026
+ 117: [function (require, module, exports) {
9800
10027
  var BaseElement = require("./base/base-element.js");
9801
10028
 
9802
10029
  var ConfiguratorElement = /*#__PURE__*/function (_BaseElement2) {
@@ -9848,9 +10075,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
9848
10075
 
9849
10076
  module.exports = ConfiguratorElement;
9850
10077
  }, {
9851
- "./base/base-element.js": 115
10078
+ "./base/base-element.js": 116
9852
10079
  }],
9853
- 117: [function (require, module, exports) {
10080
+ 118: [function (require, module, exports) {
9854
10081
  var Util = require("../../util/util.js");
9855
10082
 
9856
10083
  var _require = require("@plattar/context-messenger"),
@@ -9972,11 +10199,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
9972
10199
 
9973
10200
  module.exports = ElementController;
9974
10201
  }, {
9975
- "../../util/util.js": 128,
9976
- "./iframe-controller.js": 118,
10202
+ "../../util/util.js": 129,
10203
+ "./iframe-controller.js": 119,
9977
10204
  "@plattar/context-messenger": 21
9978
10205
  }],
9979
- 118: [function (require, module, exports) {
10206
+ 119: [function (require, module, exports) {
9980
10207
  var Util = require("../../util/util.js");
9981
10208
 
9982
10209
  var IFrameController = /*#__PURE__*/function () {
@@ -10090,9 +10317,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
10090
10317
 
10091
10318
  module.exports = IFrameController;
10092
10319
  }, {
10093
- "../../util/util.js": 128
10320
+ "../../util/util.js": 129
10094
10321
  }],
10095
- 119: [function (require, module, exports) {
10322
+ 120: [function (require, module, exports) {
10096
10323
  var BaseElement = require("./base/base-element.js");
10097
10324
 
10098
10325
  var EditorElement = /*#__PURE__*/function (_BaseElement3) {
@@ -10123,9 +10350,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
10123
10350
 
10124
10351
  module.exports = EditorElement;
10125
10352
  }, {
10126
- "./base/base-element.js": 115
10353
+ "./base/base-element.js": 116
10127
10354
  }],
10128
- 120: [function (require, module, exports) {
10355
+ 121: [function (require, module, exports) {
10129
10356
  var BaseElement = require("./base/base-element.js");
10130
10357
 
10131
10358
  var EWallElement = /*#__PURE__*/function (_BaseElement4) {
@@ -10178,9 +10405,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
10178
10405
 
10179
10406
  module.exports = EWallElement;
10180
10407
  }, {
10181
- "./base/base-element.js": 115
10408
+ "./base/base-element.js": 116
10182
10409
  }],
10183
- 121: [function (require, module, exports) {
10410
+ 122: [function (require, module, exports) {
10184
10411
  var BaseElement = require("./base/base-element.js");
10185
10412
 
10186
10413
  var FaceARElement = /*#__PURE__*/function (_BaseElement5) {
@@ -10210,6 +10437,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
10210
10437
  return [{
10211
10438
  key: "variation-id",
10212
10439
  map: "variationId"
10440
+ }, {
10441
+ key: "variation-sku",
10442
+ map: "variationSku"
10213
10443
  }, {
10214
10444
  key: "product-id",
10215
10445
  map: "productId"
@@ -10228,9 +10458,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
10228
10458
 
10229
10459
  module.exports = FaceARElement;
10230
10460
  }, {
10231
- "./base/base-element.js": 115
10461
+ "./base/base-element.js": 116
10232
10462
  }],
10233
- 122: [function (require, module, exports) {
10463
+ 123: [function (require, module, exports) {
10234
10464
  var BaseElement = require("./base/base-element.js");
10235
10465
 
10236
10466
  var ModelElement = /*#__PURE__*/function (_BaseElement6) {
@@ -10262,6 +10492,14 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
10262
10492
  map: "model_id"
10263
10493
  }];
10264
10494
  }
10495
+ }, {
10496
+ key: "optionalAttributes",
10497
+ get: function get() {
10498
+ return [{
10499
+ key: "mode",
10500
+ map: "mode"
10501
+ }];
10502
+ }
10265
10503
  }]);
10266
10504
 
10267
10505
  return ModelElement;
@@ -10269,9 +10507,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
10269
10507
 
10270
10508
  module.exports = ModelElement;
10271
10509
  }, {
10272
- "./base/base-element.js": 115
10510
+ "./base/base-element.js": 116
10273
10511
  }],
10274
- 123: [function (require, module, exports) {
10512
+ 124: [function (require, module, exports) {
10275
10513
  var BaseElement = require("./base/base-element.js");
10276
10514
 
10277
10515
  var ProductElement = /*#__PURE__*/function (_BaseElement7) {
@@ -10309,6 +10547,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
10309
10547
  return [{
10310
10548
  key: "variation-id",
10311
10549
  map: "variation_id"
10550
+ }, {
10551
+ key: "variation-sku",
10552
+ map: "variationSku"
10312
10553
  }, {
10313
10554
  key: "show-ar",
10314
10555
  map: "show_ar"
@@ -10321,9 +10562,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
10321
10562
 
10322
10563
  module.exports = ProductElement;
10323
10564
  }, {
10324
- "./base/base-element.js": 115
10565
+ "./base/base-element.js": 116
10325
10566
  }],
10326
- 124: [function (require, module, exports) {
10567
+ 125: [function (require, module, exports) {
10327
10568
  var BaseElement = require("./base/base-element.js");
10328
10569
 
10329
10570
  var StudioElement = /*#__PURE__*/function (_BaseElement8) {
@@ -10354,9 +10595,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
10354
10595
 
10355
10596
  module.exports = StudioElement;
10356
10597
  }, {
10357
- "./base/base-element.js": 115
10598
+ "./base/base-element.js": 116
10358
10599
  }],
10359
- 125: [function (require, module, exports) {
10600
+ 126: [function (require, module, exports) {
10360
10601
  var BaseElement = require("./base/base-element.js");
10361
10602
 
10362
10603
  var ViewerElement = /*#__PURE__*/function (_BaseElement9) {
@@ -10386,6 +10627,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
10386
10627
  return [{
10387
10628
  key: "variation-id",
10388
10629
  map: "variationId"
10630
+ }, {
10631
+ key: "variation-sku",
10632
+ map: "variationSku"
10389
10633
  }, {
10390
10634
  key: "product-id",
10391
10635
  map: "productId"
@@ -10401,9 +10645,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
10401
10645
 
10402
10646
  module.exports = ViewerElement;
10403
10647
  }, {
10404
- "./base/base-element.js": 115
10648
+ "./base/base-element.js": 116
10405
10649
  }],
10406
- 126: [function (require, module, exports) {
10650
+ 127: [function (require, module, exports) {
10407
10651
  var BaseElement = require("./base/base-element.js");
10408
10652
 
10409
10653
  var WebXRElement = /*#__PURE__*/function (_BaseElement10) {
@@ -10434,9 +10678,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
10434
10678
 
10435
10679
  module.exports = WebXRElement;
10436
10680
  }, {
10437
- "./base/base-element.js": 115
10681
+ "./base/base-element.js": 116
10438
10682
  }],
10439
- 127: [function (require, module, exports) {
10683
+ 128: [function (require, module, exports) {
10440
10684
  "use strict";
10441
10685
 
10442
10686
  var WebXRElement = require("./elements/webxr-element.js");
@@ -10500,18 +10744,18 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
10500
10744
  version: Version
10501
10745
  };
10502
10746
  }, {
10503
- "./elements/configurator-element.js": 116,
10504
- "./elements/editor-element.js": 119,
10505
- "./elements/ewall-element.js": 120,
10506
- "./elements/facear-element.js": 121,
10507
- "./elements/model-element.js": 122,
10508
- "./elements/product-element.js": 123,
10509
- "./elements/studio-element.js": 124,
10510
- "./elements/viewer-element.js": 125,
10511
- "./elements/webxr-element.js": 126,
10512
- "./version": 129
10747
+ "./elements/configurator-element.js": 117,
10748
+ "./elements/editor-element.js": 120,
10749
+ "./elements/ewall-element.js": 121,
10750
+ "./elements/facear-element.js": 122,
10751
+ "./elements/model-element.js": 123,
10752
+ "./elements/product-element.js": 124,
10753
+ "./elements/studio-element.js": 125,
10754
+ "./elements/viewer-element.js": 126,
10755
+ "./elements/webxr-element.js": 127,
10756
+ "./version": 130
10513
10757
  }],
10514
- 128: [function (require, module, exports) {
10758
+ 129: [function (require, module, exports) {
10515
10759
  var Util = /*#__PURE__*/function () {
10516
10760
  function Util() {
10517
10761
  _classCallCheck(this, Util);
@@ -10591,10 +10835,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
10591
10835
 
10592
10836
  module.exports = Util;
10593
10837
  }, {}],
10594
- 129: [function (require, module, exports) {
10595
- module.exports = "1.130.1";
10596
- }, {}],
10597
10838
  130: [function (require, module, exports) {
10839
+ module.exports = "1.135.1";
10840
+ }, {}],
10841
+ 131: [function (require, module, exports) {
10598
10842
  (function (global) {
10599
10843
  (function () {
10600
10844
  "use strict"; // ref: https://github.com/tc39/proposal-global
@@ -10631,7 +10875,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
10631
10875
  }).call(this);
10632
10876
  }).call(this, typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {});
10633
10877
  }, {}],
10634
- 131: [function (require, module, exports) {
10878
+ 132: [function (require, module, exports) {
10635
10879
  (function (global) {
10636
10880
  (function () {
10637
10881
  !function (e) {
@@ -11903,7 +12147,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
11903
12147
  }).call(this);
11904
12148
  }).call(this, typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {});
11905
12149
  }, {}],
11906
- 132: [function (require, module, exports) {
12150
+ 133: [function (require, module, exports) {
11907
12151
  // shim for using process in browser
11908
12152
  var process = module.exports = {}; // cached from whatever global is present so that test runners that stub it
11909
12153
  // don't break things. But we need to wrap it in a try catch in case it is
@@ -12113,7 +12357,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
12113
12357
  return 0;
12114
12358
  };
12115
12359
  }, {}],
12116
- 133: [function (require, module, exports) {
12360
+ 134: [function (require, module, exports) {
12117
12361
  !function (t, e) {
12118
12362
  "object" == _typeof(exports) && "object" == _typeof(module) ? module.exports = e() : "function" == typeof define && define.amd ? define([], e) : "object" == _typeof(exports) ? exports.QRCodeStyling = e() : t.QRCodeStyling = e();
12119
12363
  }(self, function () {