HomeDashboard/.venv/lib/python3.12/site-packages/nicegui/elements/mermaid/dist/chunk-7SRKK4IT-oi13fkBO.js

22 lines
449 KiB
JavaScript
Raw Normal View History

2026-01-03 14:54:18 +01:00
import{m as e}from"./index-BDq3hoFe.js";function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function n(e){if(Array.isArray(e))return e}function r(e){if(Array.isArray(e))return t(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,v(r.key),r)}}function o(e,t,n){return t&&i(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(t,n){var r=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=m(t))||n){r&&(t=r);var a=0,i=e(function(){},"F");return{s:i,n:e(function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},"n"),e:e(function(e){throw e},"e"),f:i}}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,s=!0,l=!1;return{s:e(function(){r=r.call(t)},"s"),n:e(function(){var e=r.next();return s=e.done,e},"n"),e:e(function(e){l=!0,o=e},"e"),f:e(function(){try{s||null==r.return||r.return()}finally{if(l)throw o}},"f")}}function l(e,t,n){return(t=v(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function c(e,t){var n=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw a}}return s}}function d(){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 h(){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 f(e,t){return n(e)||c(e,t)||m(e,t)||d()}function p(e){return r(e)||u(e)||m(e)||h()}function g(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function v(e){var t=g(e,"string");return"symbol"==typeof t?t:t+""}function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}e(t,"_arrayLikeToArray"),e(n,"_arrayWithHoles"),e(r,"_arrayWithoutHoles"),e(a,"_classCallCheck"),e(i,"_defineProperties"),e(o,"_createClass"),e(s,"_createForOfIteratorHelper"),e(l,"_defineProperty$1"),e(u,"_iterableToArray"),e(c,"_iterableToArrayLimit"),e(d,"_nonIterableRest"),e(h,"_nonIterableSpread"),e(f,"_slicedToArray"),e(p,"_toConsumableArray"),e(g,"_toPrimitive"),e(v,"_toPropertyKey"),e(y,"_typeof"),e(m,"_unsupportedIterableToArray");var b=typeof window>"u"?null:window,x=b?b.navigator:null;b&&b.document;var w,E,C,T,k,S,P,B,_,D,A,M,R,I,L,N,z,O,F,V,q,j,X,Y,W,H,K,G,U=y(""),Z=y({}),$=y(function(){}),Q=typeof HTMLElement>"u"?"undefined":y(HTMLElement),J=e(function(e){return e&&e.instanceString&&te(e.instanceString)?e.instanceString():null},"instanceStr"),ee=e(function(e){return null!=e&&y(e)==U},"string"),te=e(function(e){return null!=e&&y(e)===$},"fn"),ne=e(function(e){return!le(e)&&(Array.isArray?Array.isArray(e):null!=e&&e instanceof Array)},"array"),re=e(function(e){return null!=e&&y(
/*! Bundled license information:
cytoscape/dist/cytoscape.esm.mjs:
(*!
Embeddable Minimum Strictly-Compliant Promises/A+ 1.1.1 Thenable
Copyright (c) 2013-2014 Ralf S. Engelschall (http://engelschall.com)
Licensed under The MIT License (http://opensource.org/licenses/MIT)
*)
(*!
Event object based on jQuery events, MIT license
https://jquery.org/license/
https://tldrlegal.com/license/mit-license
https://github.com/jquery/jquery/blob/master/src/event.js
*)
(*! Bezier curve function generator. Copyright Gaetan Renaudeau. MIT License: http://en.wikipedia.org/wiki/MIT_License *)
(*! Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License *)
*/
export{fg as r};
//# sourceMappingURL=chunk-7SRKK4IT-oi13fkBO.js.map