Skip to content

Commit

Permalink
deploy: 7cf0ab4
Browse files Browse the repository at this point in the history
  • Loading branch information
ImCoolNowRight committed Dec 3, 2024
1 parent 0093771 commit 679b427
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 63 deletions.
2 changes: 1 addition & 1 deletion iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -527,4 +527,4 @@

import './2114.ca9bcca4.iframe.bundle.js';

import './main.1e40b216.iframe.bundle.js';</script></body></html>
import './main.ef89d967.iframe.bundle.js';</script></body></html>
1 change: 0 additions & 1 deletion main.1e40b216.iframe.bundle.js.map

This file was deleted.

64 changes: 37 additions & 27 deletions main.1e40b216.iframe.bundle.js → main.ef89d967.iframe.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -7622,18 +7622,18 @@ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLim
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
/**
* Copyright 2023 Comcast Cable Communications Management, LLC
Expand Down Expand Up @@ -7833,32 +7833,42 @@ function removeEmptyObjects(obj) {
}
return obj; // Always return obj, even if it's empty
}
function safeStringify(originalObj) {
var obj = _objectSpread({}, originalObj);
var seen = new WeakSet(); // WeakSet is used to store references to objects we've processed

// This map will store hashes of objects to detect duplicates.

return JSON.stringify(obj, function (key, value) {
if (_typeof(value) === 'object' && value !== null) {
if (seen.has(value)) {
return '[Circular]'; // Replace circular references with a string
}
seen.add(value); // Mark this object as seen
}
return value; // Return the value as is
});
}
function createSharedReferences() {
var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var seenObjects = new Map();
var seenObjects = new Map(); // Store original reference -> shared reference

// Generates a hash for an object.
// Sorting keys ensures consistent hash regardless of property order.
function hash(object) {
return JSON.stringify(object, Object.keys(object).sort());
}
function process(currentObj) {
for (var key in currentObj) {
if (currentObj.hasOwnProperty(key)) {
var value = currentObj[key];
if (_typeof(value) === 'object' && value !== null) {
// Ensure it's an object
var valueHash = hash(value);
if (seenObjects.has(valueHash)) {
// If we've seen this object before, replace the current reference
// with the original reference.
currentObj[key] = seenObjects.get(valueHash);
} else {
seenObjects.set(valueHash, value);
process(value); // Recursively process this object
var queue = [currentObj]; // Use a queue for breadth-first traversal

while (queue.length > 0) {
var current = queue.shift();
for (var key in current) {
if (current.hasOwnProperty(key)) {
var value = current[key];
if (_typeof(value) === 'object' && value !== null) {
var cacheKey = safeStringify(value);
if (seenObjects.has(cacheKey)) {
// Replace duplicate reference with the shared reference
current[key] = seenObjects.get(cacheKey);
} else {
// Add child objects to the queue for processing
seenObjects.set(cacheKey, value);
queue.push(value);
}
}
}
}
Expand Down Expand Up @@ -13034,4 +13044,4 @@ module.exports = __STORYBOOK_MODULE_PREVIEW_API__;
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ }
]);
//# sourceMappingURL=main.1e40b216.iframe.bundle.js.map
//# sourceMappingURL=main.ef89d967.iframe.bundle.js.map
1 change: 1 addition & 0 deletions main.ef89d967.iframe.bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion project.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"generatedAt":1730301159979,"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"testPackages":{"babel-jest":"29.7.0"},"monorepo":"Workspaces","packageManager":{"type":"yarn","version":"3.2.3"},"preview":{"usesGlobals":true},"framework":{"name":"@storybook/html-webpack5","options":{}},"builder":"@storybook/builder-webpack5","renderer":"@storybook/html","portableStoriesFileCount":0,"storybookVersion":"8.3.2","storybookVersionSpecifier":"^8.2.9","language":"javascript","storybookPackages":{"@storybook/addon-actions":{"version":"8.3.2"},"@storybook/addon-designs":{"version":"8.0.3"},"@storybook/addon-interactions":{"version":"8.3.2"},"@storybook/addon-links":{"version":"8.3.2"},"@storybook/addon-mdx-gfm":{"version":"8.3.2"},"@storybook/addon-storysource":{"version":"8.3.2"},"@storybook/blocks":{"version":"8.3.2"},"@storybook/html":{"version":"8.3.2"},"@storybook/html-webpack5":{"version":"8.3.2"},"@storybook/manager-api":{"version":"8.3.2"},"@storybook/test":{"version":"8.3.2"},"@storybook/theming":{"version":"8.3.2"},"storybook":{"version":"8.3.2"}},"addons":{"@storybook/addon-essentials":{"options":{"backgrounds":false,"outline":false,"measure":false,"viewport":false},"version":"8.3.2"},"@storybook/addon-docs":{"version":"8.3.2"},"$SNIP/node_modules/@storybook/addon-designs":{"version":null},"$SNIP/node_modules/@storybook/addon-storysource":{"version":null},"@storybook/addon-webpack5-compiler-babel":{"version":"3.0.3"}}}
{"generatedAt":1733256381992,"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"testPackages":{"babel-jest":"29.7.0"},"monorepo":"Workspaces","packageManager":{"type":"yarn","version":"3.2.3"},"preview":{"usesGlobals":true},"framework":{"name":"@storybook/html-webpack5","options":{}},"builder":"@storybook/builder-webpack5","renderer":"@storybook/html","portableStoriesFileCount":0,"storybookVersion":"8.3.2","storybookVersionSpecifier":"^8.2.9","language":"javascript","storybookPackages":{"@storybook/addon-actions":{"version":"8.3.2"},"@storybook/addon-designs":{"version":"8.0.3"},"@storybook/addon-interactions":{"version":"8.3.2"},"@storybook/addon-links":{"version":"8.3.2"},"@storybook/addon-mdx-gfm":{"version":"8.3.2"},"@storybook/addon-storysource":{"version":"8.3.2"},"@storybook/blocks":{"version":"8.3.2"},"@storybook/html":{"version":"8.3.2"},"@storybook/html-webpack5":{"version":"8.3.2"},"@storybook/manager-api":{"version":"8.3.2"},"@storybook/test":{"version":"8.3.2"},"@storybook/theming":{"version":"8.3.2"},"storybook":{"version":"8.3.2"}},"addons":{"@storybook/addon-essentials":{"options":{"backgrounds":false,"outline":false,"measure":false,"viewport":false},"version":"8.3.2"},"@storybook/addon-docs":{"version":"8.3.2"},"$SNIP/node_modules/@storybook/addon-designs":{"version":null},"$SNIP/node_modules/@storybook/addon-storysource":{"version":null},"@storybook/addon-webpack5-compiler-babel":{"version":"3.0.3"}}}
66 changes: 33 additions & 33 deletions sb-addons/storybook-6/manager-bundle.js

Large diffs are not rendered by default.

0 comments on commit 679b427

Please sign in to comment.