reflex-agent 0.18.2 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-build-manifest.json +101 -102
- package/.next/app-path-routes-manifest.json +9 -9
- package/.next/build-manifest.json +5 -5
- package/.next/prerender-manifest.json +3 -3
- package/.next/react-loadable-manifest.json +1 -1
- package/.next/required-server-files.json +2 -1
- package/.next/server/app/_not-found/page.js +1 -1
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/agents/[agentId]/page.js +2 -2
- package/.next/server/app/agents/[agentId]/page.js.nft.json +1 -1
- package/.next/server/app/agents/[agentId]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/api/agents/[agentId]/respond/route.js +1 -1
- package/.next/server/app/api/agents/[agentId]/respond/route.js.nft.json +1 -1
- package/.next/server/app/api/agents/[agentId]/respond/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/images/[rootId]/[file]/route.js +1 -1
- package/.next/server/app/api/images/[rootId]/[file]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/oauth/callback/route.js +2 -2
- package/.next/server/app/api/oauth/callback/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/oauth/start/route.js +1 -1
- package/.next/server/app/api/oauth/start/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/roots/[id]/attachments/route.js +0 -0
- package/.next/server/app/api/roots/[id]/attachments/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/roots/[id]/chat/[topicId]/send/route.js +1 -1
- package/.next/server/app/api/roots/[id]/chat/[topicId]/send/route.js.nft.json +1 -1
- package/.next/server/app/api/roots/[id]/chat/[topicId]/send/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/roots/[id]/chat/[topicId]/stop/route.js +1 -1
- package/.next/server/app/api/roots/[id]/chat/[topicId]/stop/route.js.nft.json +1 -1
- package/.next/server/app/api/roots/[id]/chat/[topicId]/stop/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/roots/[id]/chat/[topicId]/stream/route.js +2 -2
- package/.next/server/app/api/roots/[id]/chat/[topicId]/stream/route.js.nft.json +1 -1
- package/.next/server/app/api/roots/[id]/chat/[topicId]/stream/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/roots/[id]/dashboard/route.js +1 -1
- package/.next/server/app/api/roots/[id]/dashboard/route.js.nft.json +1 -1
- package/.next/server/app/api/roots/[id]/dashboard/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/roots/[id]/suggestions/route.js +1 -1
- package/.next/server/app/api/roots/[id]/suggestions/route.js.nft.json +1 -1
- package/.next/server/app/api/roots/[id]/suggestions/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/utilities/[scope]/[id]/bundle.js/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/utilities/[scope]/[id]/host/route.js +1 -1
- package/.next/server/app/api/utilities/[scope]/[id]/host/route.js.nft.json +1 -1
- package/.next/server/app/api/utilities/[scope]/[id]/host/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/utilities/[scope]/[id]/host-api.mjs/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/utilities/[scope]/[id]/host-ui.mjs/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/utilities/[scope]/[id]/iframe/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/utilities/[scope]/[id]/style.css/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/utilities/install-archive/route_client-reference-manifest.js +1 -1
- package/.next/server/app/audit/page.js +2 -2
- package/.next/server/app/audit/page.js.nft.json +1 -1
- package/.next/server/app/audit/page_client-reference-manifest.js +1 -1
- package/.next/server/app/dispatcher/page.js +2 -2
- package/.next/server/app/dispatcher/page.js.nft.json +1 -1
- package/.next/server/app/dispatcher/page_client-reference-manifest.js +1 -1
- package/.next/server/app/onboarding/page.js +3 -3
- package/.next/server/app/onboarding/page.js.nft.json +1 -1
- package/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
- package/.next/server/app/page.js +2 -2
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/roots/[id]/chat/[topicId]/page.js +2 -2
- package/.next/server/app/roots/[id]/chat/[topicId]/page.js.nft.json +1 -1
- package/.next/server/app/roots/[id]/chat/[topicId]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/roots/[id]/kb/[...slug]/page.js +2 -2
- package/.next/server/app/roots/[id]/kb/[...slug]/page.js.nft.json +1 -1
- package/.next/server/app/roots/[id]/kb/[...slug]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/roots/[id]/memory/page.js +2 -2
- package/.next/server/app/roots/[id]/memory/page.js.nft.json +1 -1
- package/.next/server/app/roots/[id]/memory/page_client-reference-manifest.js +1 -1
- package/.next/server/app/roots/[id]/page.js +4 -4
- package/.next/server/app/roots/[id]/page.js.nft.json +1 -1
- package/.next/server/app/roots/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/roots/[id]/workflows/[wfId]/page.js +2 -2
- package/.next/server/app/roots/[id]/workflows/[wfId]/page.js.nft.json +1 -1
- package/.next/server/app/roots/[id]/workflows/[wfId]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/roots/[id]/workflows/page.js +2 -2
- package/.next/server/app/roots/[id]/workflows/page.js.nft.json +1 -1
- package/.next/server/app/roots/[id]/workflows/page_client-reference-manifest.js +1 -1
- package/.next/server/app/roots/new/page.js +4 -4
- package/.next/server/app/roots/new/page.js.nft.json +1 -1
- package/.next/server/app/roots/new/page_client-reference-manifest.js +1 -1
- package/.next/server/app/settings/page.js +5 -5
- package/.next/server/app/settings/page.js.nft.json +1 -1
- package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/server/app/share/[id]/file/page.js +2 -2
- package/.next/server/app/share/[id]/file/page.js.nft.json +1 -1
- package/.next/server/app/share/[id]/file/page_client-reference-manifest.js +1 -1
- package/.next/server/app/share/[id]/page.js +2 -2
- package/.next/server/app/share/[id]/page.js.nft.json +1 -1
- package/.next/server/app/share/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/utilities/[scope]/[id]/page.js +2 -2
- package/.next/server/app/utilities/[scope]/[id]/page.js.nft.json +1 -1
- package/.next/server/app/utilities/[scope]/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/utilities/page.js +2 -2
- package/.next/server/app/utilities/page.js.nft.json +1 -1
- package/.next/server/app/utilities/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +9 -9
- package/.next/server/chunks/{6435.js → 1088.js} +1 -1
- package/.next/server/chunks/1105.js +1 -1
- package/.next/server/chunks/1179.js +1 -0
- package/.next/server/chunks/1223.js +1 -1
- package/.next/server/chunks/1244.js +1 -1
- package/.next/server/chunks/1281.js +80 -0
- package/.next/server/chunks/1336.js +252 -0
- package/.next/server/chunks/1353.js +51 -0
- package/.next/server/chunks/1431.js +1 -0
- package/.next/server/chunks/146.js +2 -0
- package/.next/server/chunks/1491.js +79 -0
- package/.next/server/chunks/1496.js +148 -0
- package/.next/server/chunks/{9631.js → 1589.js} +2 -2
- package/.next/server/chunks/1623.js +1 -0
- package/.next/server/chunks/1862.js +77 -0
- package/.next/server/chunks/1888.js +1 -1
- package/.next/server/chunks/1908.js +1 -0
- package/.next/server/chunks/192.js +1 -0
- package/.next/server/chunks/2069.js +1 -0
- package/.next/server/chunks/2087.js +24 -0
- package/.next/server/chunks/209.js +1 -0
- package/.next/server/chunks/2115.js +77 -0
- package/.next/server/chunks/2232.js +80 -0
- package/.next/server/chunks/{4460.js → 2262.js} +2 -2
- package/.next/server/chunks/2280.js +1 -0
- package/.next/server/chunks/2433.js +1 -1
- package/.next/server/chunks/2485.js +3 -8
- package/.next/server/chunks/2503.js +1 -1
- package/.next/server/chunks/2539.js +93 -0
- package/.next/server/chunks/2764.js +80 -0
- package/.next/server/chunks/285.js +24 -75
- package/.next/server/chunks/2888.js +7 -0
- package/.next/server/chunks/302.js +1 -0
- package/.next/server/chunks/3029.js +36 -0
- package/.next/server/chunks/3110.js +0 -0
- package/.next/server/chunks/3117.js +1 -0
- package/.next/server/chunks/3258.js +23 -0
- package/.next/server/chunks/331.js +1 -0
- package/.next/server/chunks/3332.js +1 -1
- package/.next/server/chunks/{4251.js → 3474.js} +24 -25
- package/.next/server/chunks/3552.js +43 -0
- package/.next/server/chunks/3583.js +104 -0
- package/.next/server/chunks/3631.js +1 -0
- package/.next/server/chunks/3633.js +1 -0
- package/.next/server/chunks/383.js +1 -80
- package/.next/server/chunks/3834.js +1 -1
- package/.next/server/chunks/3953.js +1 -0
- package/.next/server/chunks/3992.js +1 -0
- package/.next/server/chunks/4013.js +1 -0
- package/.next/server/chunks/4031.js +3 -3
- package/.next/server/chunks/4119.js +1 -0
- package/.next/server/chunks/4230.js +12 -0
- package/.next/server/chunks/4250.js +1 -0
- package/.next/server/chunks/4294.js +1 -0
- package/.next/server/chunks/4312.js +1 -0
- package/.next/server/chunks/4342.js +1 -0
- package/.next/server/chunks/4360.js +1 -0
- package/.next/server/chunks/449.js +226 -0
- package/.next/server/chunks/4578.js +0 -0
- package/.next/server/chunks/4585.js +1 -0
- package/.next/server/chunks/4611.js +1 -1
- package/.next/server/chunks/4639.js +1 -0
- package/.next/server/chunks/4682.js +1 -0
- package/.next/server/chunks/4788.js +153 -0
- package/.next/server/chunks/4812.js +2 -2
- package/.next/server/chunks/4925.js +1 -1
- package/.next/server/chunks/4952.js +1 -0
- package/.next/server/chunks/4969.js +4 -1
- package/.next/server/chunks/4989.js +801 -0
- package/.next/server/chunks/5211.js +64 -0
- package/.next/server/chunks/5243.js +1 -1
- package/.next/server/chunks/5308.js +1 -0
- package/.next/server/chunks/5461.js +1 -0
- package/.next/server/chunks/5549.js +1 -0
- package/.next/server/chunks/5719.js +34 -0
- package/.next/server/chunks/5810.js +12 -0
- package/.next/server/chunks/5922.js +1 -0
- package/.next/server/chunks/6142.js +1 -1
- package/.next/server/chunks/6216.js +1 -1
- package/.next/server/chunks/6318.js +9 -0
- package/.next/server/chunks/6483.js +1 -1
- package/.next/server/chunks/6509.js +1 -0
- package/.next/server/chunks/6571.js +166 -0
- package/.next/server/chunks/660.js +1 -0
- package/.next/server/chunks/6692.js +1 -0
- package/.next/server/chunks/6730.js +1 -1
- package/.next/server/chunks/6852.js +1 -0
- package/.next/server/chunks/6970.js +1 -0
- package/.next/server/chunks/7007.js +1 -0
- package/.next/server/chunks/7188.js +1 -1
- package/.next/server/chunks/7220.js +1 -1
- package/.next/server/chunks/7228.js +1 -0
- package/.next/server/chunks/7244.js +1 -0
- package/.next/server/chunks/7373.js +90 -0
- package/.next/server/chunks/7430.js +1 -1
- package/.next/server/chunks/7523.js +1 -0
- package/.next/server/chunks/7576.js +1 -0
- package/.next/server/chunks/7742.js +7 -0
- package/.next/server/chunks/7811.js +215 -0
- package/.next/server/chunks/7885.js +1 -0
- package/.next/server/chunks/8032.js +3 -0
- package/.next/server/chunks/8095.js +24 -0
- package/.next/server/chunks/8129.js +5 -0
- package/.next/server/chunks/8294.js +1 -0
- package/.next/server/chunks/832.js +1 -0
- package/.next/server/chunks/8464.js +180 -0
- package/.next/server/chunks/8511.js +0 -0
- package/.next/server/chunks/8514.js +1 -1
- package/.next/server/chunks/8583.js +4 -0
- package/.next/server/chunks/8609.js +55 -0
- package/.next/server/chunks/8711.js +1 -0
- package/.next/server/chunks/8714.js +1 -0
- package/.next/server/chunks/8730.js +1 -0
- package/.next/server/chunks/8868.js +1 -0
- package/.next/server/chunks/9048.js +1 -0
- package/.next/server/chunks/9058.js +1 -0
- package/.next/server/chunks/9062.js +1 -0
- package/.next/server/chunks/9094.js +1 -0
- package/.next/server/chunks/9098.js +1 -1
- package/.next/server/chunks/9099.js +1 -0
- package/.next/server/chunks/9171.js +287 -0
- package/.next/server/chunks/9181.js +1 -0
- package/.next/server/chunks/9293.js +1 -1
- package/.next/server/chunks/9478.js +1 -0
- package/.next/server/chunks/9494.js +141 -0
- package/.next/server/chunks/952.js +1 -0
- package/.next/server/chunks/9600.js +1 -0
- package/.next/server/chunks/9607.js +29 -0
- package/.next/server/chunks/9653.js +115 -0
- package/.next/server/chunks/9784.js +1 -0
- package/.next/server/chunks/9798.js +1 -0
- package/.next/server/chunks/9990.js +1 -0
- package/.next/server/edge-instrumentation.js +2 -0
- package/.next/server/edge-instrumentation.js.map +1 -0
- package/.next/server/functions-config-manifest.json +3 -3
- package/.next/server/instrumentation.js +1 -0
- package/.next/server/instrumentation.js.nft.json +1 -0
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-manifest.json +6 -5
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/_error.js +3 -3
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/3363-f417b308a8cd156d.js +1 -0
- package/.next/static/chunks/3686-0107521d2c14950c.js +1 -0
- package/.next/static/chunks/3695-3576767108de7f38.js +1 -0
- package/.next/static/chunks/4108.19abaa6d618295ed.js +1 -0
- package/.next/static/chunks/5933-4013a6dab4565b5e.js +1 -0
- package/.next/static/chunks/7425-9684ea815b4b1731.js +1 -0
- package/.next/static/chunks/7552-def8a17828891c8c.js +1 -0
- package/.next/static/chunks/8776-2df966dd98c68fd7.js +1 -0
- package/.next/static/chunks/app/layout-baad68d32b917b8f.js +1 -0
- package/.next/static/chunks/app/onboarding/page-b1b1e6a4467ed781.js +1 -0
- package/.next/static/chunks/app/page-556a2139313c3c71.js +1 -0
- package/.next/static/chunks/app/roots/[id]/chat/[topicId]/page-52223811258d07b2.js +1 -0
- package/.next/static/chunks/app/roots/[id]/kb/[...slug]/page-0df769f27549cd16.js +1 -0
- package/.next/static/chunks/app/roots/[id]/memory/{page-4edc11023d8a13fd.js → page-1f6bc3a624b141a5.js} +1 -1
- package/.next/static/chunks/app/roots/[id]/page-17493991b2d391b3.js +1 -0
- package/.next/static/chunks/app/roots/[id]/workflows/[wfId]/page-a21fe3541418a80a.js +1 -0
- package/.next/static/chunks/app/roots/[id]/workflows/page-0952e5fb53d53c3e.js +1 -0
- package/.next/static/chunks/app/roots/new/{page-98d64261cc2ae2a1.js → page-4f571184c1856103.js} +1 -1
- package/.next/static/chunks/app/settings/page-8c0ad1c1856da988.js +1 -0
- package/.next/static/chunks/app/share/[id]/page-b27a0bc7b9c6cda9.js +1 -0
- package/.next/static/chunks/app/utilities/[scope]/[id]/page-0fe4c377098064d5.js +1 -0
- package/.next/static/chunks/app/utilities/page-445933dcd5a500ae.js +1 -0
- package/.next/static/chunks/{webpack-dbfe1e5d0f7f7a98.js → webpack-88066a85eb2d605f.js} +1 -1
- package/.next/trace +116 -90
- package/dist/lib/reflex/ids.js +66 -0
- package/dist/lib/reflex/ids.js.map +1 -0
- package/dist/lib/reflex/paths.js +26 -0
- package/dist/lib/reflex/paths.js.map +1 -1
- package/dist/lib/reflex/store/json-store.js +50 -0
- package/dist/lib/reflex/store/json-store.js.map +1 -0
- package/package.json +10 -6
- package/.next/server/chunks/133.js +0 -1
- package/.next/server/chunks/1358.js +0 -1
- package/.next/server/chunks/2389.js +0 -4
- package/.next/server/chunks/2787.js +0 -1
- package/.next/server/chunks/3240.js +0 -1
- package/.next/server/chunks/3295.js +0 -1
- package/.next/server/chunks/4842.js +0 -1
- package/.next/server/chunks/5319.js +0 -1
- package/.next/server/chunks/5543.js +0 -1
- package/.next/server/chunks/569.js +0 -1
- package/.next/server/chunks/6356.js +0 -3
- package/.next/server/chunks/7229.js +0 -2
- package/.next/server/chunks/7607.js +0 -1
- package/.next/server/chunks/8040.js +0 -1
- package/.next/server/chunks/8124.js +0 -1
- package/.next/server/chunks/8576.js +0 -7
- package/.next/server/chunks/9809.js +0 -1
- package/.next/server/chunks/9835.js +0 -1
- package/.next/static/chunks/2885-3b6efe9070ae7699.js +0 -1
- package/.next/static/chunks/334-e9ffb96d6720ee5b.js +0 -1
- package/.next/static/chunks/4108.a04c1e0b768f6392.js +0 -1
- package/.next/static/chunks/5371-f2503fe0dffea57d.js +0 -1
- package/.next/static/chunks/5744-eccd279a734c778c.js +0 -1
- package/.next/static/chunks/6568-e4d2de23d9f8d347.js +0 -1
- package/.next/static/chunks/6642-02be14d0b5ca62b7.js +0 -1
- package/.next/static/chunks/8566-5d4c89b722d9cee1.js +0 -1
- package/.next/static/chunks/8775-890699c74c28df61.js +0 -1
- package/.next/static/chunks/app/layout-48a6fb46c228b814.js +0 -1
- package/.next/static/chunks/app/onboarding/page-06103f281ff3f063.js +0 -1
- package/.next/static/chunks/app/page-eed31ba1b952cf24.js +0 -1
- package/.next/static/chunks/app/roots/[id]/chat/[topicId]/page-5fc17c5819406917.js +0 -1
- package/.next/static/chunks/app/roots/[id]/kb/[...slug]/page-a52b2005a7e538ca.js +0 -1
- package/.next/static/chunks/app/roots/[id]/page-0f0d498f4b4bd7bf.js +0 -1
- package/.next/static/chunks/app/roots/[id]/workflows/[wfId]/page-f93d6b1bb29e79f0.js +0 -1
- package/.next/static/chunks/app/roots/[id]/workflows/page-562913d54bcd08d5.js +0 -1
- package/.next/static/chunks/app/settings/page-7a4d8a407fbe5ed8.js +0 -1
- package/.next/static/chunks/app/share/[id]/page-a0540dba09771e84.js +0 -1
- package/.next/static/chunks/app/utilities/[scope]/[id]/page-2cee9be029f211c6.js +0 -1
- package/.next/static/chunks/app/utilities/page-197156f16167514e.js +0 -1
- /package/.next/static/{kKiRbrTiD77WXduAvKNfN → EXoiX_YvMRCB6oNXqJnaz}/_buildManifest.js +0 -0
- /package/.next/static/{kKiRbrTiD77WXduAvKNfN → EXoiX_YvMRCB6oNXqJnaz}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
exports.id=9171,exports.ids=[9171],exports.modules={566:function(a){a.exports=function(a,b,c){var d=function(a){return a.add(4-a.isoWeekday(),"day")},e=b.prototype;e.isoWeekYear=function(){return d(this).year()},e.isoWeek=function(a){if(!this.$utils().u(a))return this.add(7*(a-this.isoWeek()),"day");var b,e,f,g=d(this),h=(b=this.isoWeekYear(),f=4-(e=(this.$u?c.utc:c)().year(b).startOf("year")).isoWeekday(),e.isoWeekday()>4&&(f+=7),e.add(f,"day"));return g.diff(h,"week")+1},e.isoWeekday=function(a){return this.$utils().u(a)?this.day()||7:this.day(this.day()%7?a:a-7)};var f=e.startOf;e.startOf=function(a,b){var c=this.$utils(),d=!!c.u(b)||b;return"isoweek"===c.p(a)?d?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):f.bind(this)(a,b)}}},9171:(a,b,c)=>{"use strict";c.d(b,{diagram:()=>aL});var d,e,f,g=c(28056),h=c(6850),i=c(24613),j=c(57978),k=c(29318),l=c(566),m=c(64722),n=c(50676),o=c(54147),p=c(14861),q=function(){var a=(0,i.K2)(function(a,b,c,d){for(c=c||{},d=a.length;d--;c[a[d]]=b);return c},"o"),b=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],c=[1,26],d=[1,27],e=[1,28],f=[1,29],g=[1,30],h=[1,31],j=[1,32],k=[1,33],l=[1,34],m=[1,9],n=[1,10],o=[1,11],p=[1,12],q=[1,13],r=[1,14],s=[1,15],t=[1,16],u=[1,19],v=[1,20],w=[1,21],x=[1,22],y=[1,23],z=[1,25],A=[1,35],B={trace:(0,i.K2)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:(0,i.K2)(function(a,b,c,d,e,f,g){var h=f.length-1;switch(e){case 1:return f[h-1];case 2:case 6:case 7:this.$=[];break;case 3:f[h-1].push(f[h]),this.$=f[h-1];break;case 4:case 5:this.$=f[h];break;case 8:d.setWeekday("monday");break;case 9:d.setWeekday("tuesday");break;case 10:d.setWeekday("wednesday");break;case 11:d.setWeekday("thursday");break;case 12:d.setWeekday("friday");break;case 13:d.setWeekday("saturday");break;case 14:d.setWeekday("sunday");break;case 15:d.setWeekend("friday");break;case 16:d.setWeekend("saturday");break;case 17:d.setDateFormat(f[h].substr(11)),this.$=f[h].substr(11);break;case 18:d.enableInclusiveEndDates(),this.$=f[h].substr(18);break;case 19:d.TopAxis(),this.$=f[h].substr(8);break;case 20:d.setAxisFormat(f[h].substr(11)),this.$=f[h].substr(11);break;case 21:d.setTickInterval(f[h].substr(13)),this.$=f[h].substr(13);break;case 22:d.setExcludes(f[h].substr(9)),this.$=f[h].substr(9);break;case 23:d.setIncludes(f[h].substr(9)),this.$=f[h].substr(9);break;case 24:d.setTodayMarker(f[h].substr(12)),this.$=f[h].substr(12);break;case 27:d.setDiagramTitle(f[h].substr(6)),this.$=f[h].substr(6);break;case 28:this.$=f[h].trim(),d.setAccTitle(this.$);break;case 29:case 30:this.$=f[h].trim(),d.setAccDescription(this.$);break;case 31:d.addSection(f[h].substr(8)),this.$=f[h].substr(8);break;case 33:d.addTask(f[h-1],f[h]),this.$="task";break;case 34:this.$=f[h-1],d.setClickEvent(f[h-1],f[h],null);break;case 35:this.$=f[h-2],d.setClickEvent(f[h-2],f[h-1],f[h]);break;case 36:this.$=f[h-2],d.setClickEvent(f[h-2],f[h-1],null),d.setLink(f[h-2],f[h]);break;case 37:this.$=f[h-3],d.setClickEvent(f[h-3],f[h-2],f[h-1]),d.setLink(f[h-3],f[h]);break;case 38:this.$=f[h-2],d.setClickEvent(f[h-2],f[h],null),d.setLink(f[h-2],f[h-1]);break;case 39:this.$=f[h-3],d.setClickEvent(f[h-3],f[h-1],f[h]),d.setLink(f[h-3],f[h-2]);break;case 40:this.$=f[h-1],d.setLink(f[h-1],f[h]);break;case 41:case 47:this.$=f[h-1]+" "+f[h];break;case 42:case 43:case 45:this.$=f[h-2]+" "+f[h-1]+" "+f[h];break;case 44:case 46:this.$=f[h-3]+" "+f[h-2]+" "+f[h-1]+" "+f[h]}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},a(b,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:c,13:d,14:e,15:f,16:g,17:h,18:j,19:18,20:k,21:l,22:m,23:n,24:o,25:p,26:q,27:r,28:s,29:t,30:u,31:v,33:w,35:x,36:y,37:24,38:z,40:A},a(b,[2,7],{1:[2,1]}),a(b,[2,3]),{9:36,11:17,12:c,13:d,14:e,15:f,16:g,17:h,18:j,19:18,20:k,21:l,22:m,23:n,24:o,25:p,26:q,27:r,28:s,29:t,30:u,31:v,33:w,35:x,36:y,37:24,38:z,40:A},a(b,[2,5]),a(b,[2,6]),a(b,[2,17]),a(b,[2,18]),a(b,[2,19]),a(b,[2,20]),a(b,[2,21]),a(b,[2,22]),a(b,[2,23]),a(b,[2,24]),a(b,[2,25]),a(b,[2,26]),a(b,[2,27]),{32:[1,37]},{34:[1,38]},a(b,[2,30]),a(b,[2,31]),a(b,[2,32]),{39:[1,39]},a(b,[2,8]),a(b,[2,9]),a(b,[2,10]),a(b,[2,11]),a(b,[2,12]),a(b,[2,13]),a(b,[2,14]),a(b,[2,15]),a(b,[2,16]),{41:[1,40],43:[1,41]},a(b,[2,4]),a(b,[2,28]),a(b,[2,29]),a(b,[2,33]),a(b,[2,34],{42:[1,42],43:[1,43]}),a(b,[2,40],{41:[1,44]}),a(b,[2,35],{43:[1,45]}),a(b,[2,36]),a(b,[2,38],{42:[1,46]}),a(b,[2,37]),a(b,[2,39])],defaultActions:{},parseError:(0,i.K2)(function(a,b){if(b.recoverable)this.trace(a);else{var c=Error(a);throw c.hash=b,c}},"parseError"),parse:(0,i.K2)(function(a){var b=this,c=[0],d=[],e=[null],f=[],g=this.table,h="",j=0,k=0,l=0,m=f.slice.call(arguments,1),n=Object.create(this.lexer),o={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(o[p]=this.yy[p]);n.setInput(a,o),o.lexer=n,o.parser=this,void 0===n.yylloc&&(n.yylloc={});var q=n.yylloc;f.push(q);var r=n.options&&n.options.ranges;function s(){var a;return"number"!=typeof(a=d.pop()||n.lex()||1)&&(a instanceof Array&&(a=(d=a).pop()),a=b.symbols_[a]||a),a}"function"==typeof o.parseError?this.parseError=o.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,i.K2)(function(a){c.length=c.length-2*a,e.length=e.length-a,f.length=f.length-a},"popStack"),(0,i.K2)(s,"lex");for(var t,u,v,w,x,y,z,A,B,C={};;){if(v=c[c.length-1],this.defaultActions[v]?w=this.defaultActions[v]:(null==t&&(t=s()),w=g[v]&&g[v][t]),void 0===w||!w.length||!w[0]){var D="";for(y in B=[],g[v])this.terminals_[y]&&y>2&&B.push("'"+this.terminals_[y]+"'");D=n.showPosition?"Parse error on line "+(j+1)+":\n"+n.showPosition()+"\nExpecting "+B.join(", ")+", got '"+(this.terminals_[t]||t)+"'":"Parse error on line "+(j+1)+": Unexpected "+(1==t?"end of input":"'"+(this.terminals_[t]||t)+"'"),this.parseError(D,{text:n.match,token:this.terminals_[t]||t,line:n.yylineno,loc:q,expected:B})}if(w[0]instanceof Array&&w.length>1)throw Error("Parse Error: multiple actions possible at state: "+v+", token: "+t);switch(w[0]){case 1:c.push(t),e.push(n.yytext),f.push(n.yylloc),c.push(w[1]),t=null,u?(t=u,u=null):(k=n.yyleng,h=n.yytext,j=n.yylineno,q=n.yylloc,l>0&&l--);break;case 2:if(z=this.productions_[w[1]][1],C.$=e[e.length-z],C._$={first_line:f[f.length-(z||1)].first_line,last_line:f[f.length-1].last_line,first_column:f[f.length-(z||1)].first_column,last_column:f[f.length-1].last_column},r&&(C._$.range=[f[f.length-(z||1)].range[0],f[f.length-1].range[1]]),void 0!==(x=this.performAction.apply(C,[h,k,j,o,w[1],e,f].concat(m))))return x;z&&(c=c.slice(0,-1*z*2),e=e.slice(0,-1*z),f=f.slice(0,-1*z)),c.push(this.productions_[w[1]][0]),e.push(C.$),f.push(C._$),A=g[c[c.length-2]][c[c.length-1]],c.push(A);break;case 3:return!0}}return!0},"parse")};function C(){this.yy={}}return B.lexer={EOF:1,parseError:(0,i.K2)(function(a,b){if(this.yy.parser)this.yy.parser.parseError(a,b);else throw Error(a)},"parseError"),setInput:(0,i.K2)(function(a,b){return this.yy=b||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,i.K2)(function(){var a=this._input[0];return this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a,a.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},"input"),unput:(0,i.K2)(function(a){var b=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-b),this.offset-=b;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-b},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-b]),this.yyleng=this.yytext.length,this},"unput"),more:(0,i.K2)(function(){return this._more=!0,this},"more"),reject:(0,i.K2)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,i.K2)(function(a){this.unput(this.match.slice(a))},"less"),pastInput:(0,i.K2)(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,i.K2)(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,i.K2)(function(){var a=this.pastInput(),b=Array(a.length+1).join("-");return a+this.upcomingInput()+"\n"+b+"^"},"showPosition"),test_match:(0,i.K2)(function(a,b){var c,d,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),(d=a[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],c=this.performAction.call(this,this.yy,this,b,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack)for(var f in e)this[f]=e[f];return!1},"test_match"),next:(0,i.K2)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a,b,c,d,e=this._currentRules(),f=0;f<e.length;f++)if((c=this._input.match(this.rules[e[f]]))&&(!b||c[0].length>b[0].length)){if(b=c,d=f,this.options.backtrack_lexer){if(!1!==(a=this.test_match(c,e[f])))return a;if(!this._backtrack)return!1;b=!1;continue}if(!this.options.flex)break}return b?!1!==(a=this.test_match(b,e[d]))&&a:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,i.K2)(function(){var a=this.next();return a||this.lex()},"lex"),begin:(0,i.K2)(function(a){this.conditionStack.push(a)},"begin"),popState:(0,i.K2)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,i.K2)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,i.K2)(function(a){return(a=this.conditionStack.length-1-Math.abs(a||0))>=0?this.conditionStack[a]:"INITIAL"},"topState"),pushState:(0,i.K2)(function(a){this.begin(a)},"pushState"),stateStackSize:(0,i.K2)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,i.K2)(function(a,b,c,d){switch(c){case 0:return this.begin("open_directive"),"open_directive";case 1:return this.begin("acc_title"),31;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),33;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 15:case 18:case 21:case 24:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:case 9:case 10:case 12:case 13:break;case 11:return 10;case 14:this.begin("href");break;case 16:return 43;case 17:this.begin("callbackname");break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 41;case 22:return 42;case 23:this.begin("click");break;case 25:return 40;case 26:return 4;case 27:return 22;case 28:return 23;case 29:return 24;case 30:return 25;case 31:return 26;case 32:return 28;case 33:return 27;case 34:return 29;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return 20;case 43:return 21;case 44:return"date";case 45:return 30;case 46:return"accDescription";case 47:return 36;case 48:return 38;case 49:return 39;case 50:return":";case 51:return 6;case 52:return"INVALID"}},"anonymous"),rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:weekend\s+friday\b)/i,/^(?:weekend\s+saturday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}},(0,i.K2)(C,"Parser"),C.prototype=B,B.Parser=C,new C}();q.parser=q,k.extend(l),k.extend(m),k.extend(n);var r={friday:5,saturday:6},s="",t="",u=void 0,v="",w=[],x=[],y=new Map,z=[],A=[],B="",C="",D=["active","done","crit","milestone","vert"],E=[],F="",G=!1,H=!1,I="sunday",J="saturday",K=0,L=(0,i.K2)(function(){z=[],A=[],B="",E=[],aq=0,d=void 0,e=void 0,au=[],s="",t="",C="",u=void 0,v="",w=[],x=[],G=!1,H=!1,K=0,y=new Map,F="",(0,h.IU)(),I="sunday",J="saturday"},"clear"),M=(0,i.K2)(function(a){F=a},"setDiagramId"),N=(0,i.K2)(function(a){t=a},"setAxisFormat"),O=(0,i.K2)(function(){return t},"getAxisFormat"),P=(0,i.K2)(function(a){u=a},"setTickInterval"),Q=(0,i.K2)(function(){return u},"getTickInterval"),R=(0,i.K2)(function(a){v=a},"setTodayMarker"),S=(0,i.K2)(function(){return v},"getTodayMarker"),T=(0,i.K2)(function(a){s=a},"setDateFormat"),U=(0,i.K2)(function(){G=!0},"enableInclusiveEndDates"),V=(0,i.K2)(function(){return G},"endDatesAreInclusive"),W=(0,i.K2)(function(){H=!0},"enableTopAxis"),X=(0,i.K2)(function(){return H},"topAxisEnabled"),Y=(0,i.K2)(function(a){C=a},"setDisplayMode"),Z=(0,i.K2)(function(){return C},"getDisplayMode"),$=(0,i.K2)(function(){return s},"getDateFormat"),_=(0,i.K2)(function(a){w=a.toLowerCase().split(/[\s,]+/)},"setIncludes"),aa=(0,i.K2)(function(){return w},"getIncludes"),ab=(0,i.K2)(function(a){x=a.toLowerCase().split(/[\s,]+/)},"setExcludes"),ac=(0,i.K2)(function(){return x},"getExcludes"),ad=(0,i.K2)(function(){return y},"getLinks"),ae=(0,i.K2)(function(a){B=a,z.push(a)},"addSection"),af=(0,i.K2)(function(){return z},"getSections"),ag=(0,i.K2)(function(){let a=az(),b=0;for(;!a&&b<10;)a=az(),b++;return A=au},"getTasks"),ah=(0,i.K2)(function(a,b,c,d){let e=a.format(b.trim()),f=a.format("YYYY-MM-DD");return!(d.includes(e)||d.includes(f))&&(!!(c.includes("weekends")&&(a.isoWeekday()===r[J]||a.isoWeekday()===r[J]+1)||c.includes(a.format("dddd").toLowerCase()))||c.includes(e)||c.includes(f))},"isInvalidDate"),ai=(0,i.K2)(function(a){I=a},"setWeekday"),aj=(0,i.K2)(function(){return I},"getWeekday"),ak=(0,i.K2)(function(a){J=a},"setWeekend"),al=(0,i.K2)(function(a,b,c,d){let e;if(!c.length||a.manualEndTime)return;let[f,g]=am(e=(e=a.startTime instanceof Date?k(a.startTime):k(a.startTime,b,!0)).add(1,"d"),a.endTime instanceof Date?k(a.endTime):k(a.endTime,b,!0),b,c,d);a.endTime=f.toDate(),a.renderEndTime=g},"checkTaskDates"),am=(0,i.K2)(function(a,b,c,d,e){let f=!1,g=null,h=b.add(1e4,"d");for(;a<=b;){if(f||(g=b.toDate()),(f=ah(a,c,d,e))&&(b=b.add(1,"d"))>h)throw Error("Failed to find a valid date that was not excluded by `excludes` after 10,000 iterations.");a=a.add(1,"d")}return[b,g]},"fixTaskDates"),an=(0,i.K2)(function(a,b,c){if(c=c.trim(),(0,i.K2)(a=>{let b=a.trim();return"x"===b||"X"===b},"isTimestampFormat")(b)&&/^\d+$/.test(c))return new Date(Number(c));let d=/^after\s+(?<ids>[\d\w- ]+)/.exec(c);if(null!==d){let a=null;for(let b of d.groups.ids.split(" ")){let c=ax(b);void 0!==c&&(!a||c.endTime>a.endTime)&&(a=c)}if(a)return a.endTime;let b=new Date;return b.setHours(0,0,0,0),b}let e=k(c,b.trim(),!0);if(e.isValid())return e.toDate();{i.Rm.debug("Invalid date:"+c),i.Rm.debug("With date format:"+b.trim());let a=new Date(c);if(void 0===a||isNaN(a.getTime())||-1e4>a.getFullYear()||a.getFullYear()>1e4)throw Error("Invalid date:"+c);return a}},"getStartDate"),ao=(0,i.K2)(function(a){let b=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(a.trim());return null!==b?[Number.parseFloat(b[1]),b[2]]:[NaN,"ms"]},"parseDuration"),ap=(0,i.K2)(function(a,b,c,d=!1){c=c.trim();let e=/^until\s+(?<ids>[\d\w- ]+)/.exec(c);if(null!==e){let a=null;for(let b of e.groups.ids.split(" ")){let c=ax(b);void 0!==c&&(!a||c.startTime<a.startTime)&&(a=c)}if(a)return a.startTime;let b=new Date;return b.setHours(0,0,0,0),b}let f=k(c,b.trim(),!0);if(f.isValid())return d&&(f=f.add(1,"d")),f.toDate();let g=k(a),[h,i]=ao(c);if(!Number.isNaN(h)){let a=g.add(h,i);a.isValid()&&(g=a)}return g.toDate()},"getEndDate"),aq=0,ar=(0,i.K2)(function(a){return void 0===a?"task"+(aq+=1):a},"parseId"),as=(0,i.K2)(function(a,b){let c=(":"===b.substr(0,1)?b.substr(1,b.length):b).split(","),d={};aH(c,d,D);for(let a=0;a<c.length;a++)c[a]=c[a].trim();let e="";switch(c.length){case 1:d.id=ar(),d.startTime=a.endTime,e=c[0];break;case 2:d.id=ar(),d.startTime=an(void 0,s,c[0]),e=c[1];break;case 3:d.id=ar(c[0]),d.startTime=an(void 0,s,c[1]),e=c[2]}return e&&(d.endTime=ap(d.startTime,s,e,G),d.manualEndTime=k(e,"YYYY-MM-DD",!0).isValid(),al(d,s,x,w)),d},"compileData"),at=(0,i.K2)(function(a,b){let c=(":"===b.substr(0,1)?b.substr(1,b.length):b).split(","),d={};aH(c,d,D);for(let a=0;a<c.length;a++)c[a]=c[a].trim();switch(c.length){case 1:d.id=ar(),d.startTime={type:"prevTaskEnd",id:a},d.endTime={data:c[0]};break;case 2:d.id=ar(),d.startTime={type:"getStartDate",startData:c[0]},d.endTime={data:c[1]};break;case 3:d.id=ar(c[0]),d.startTime={type:"getStartDate",startData:c[1]},d.endTime={data:c[2]}}return d},"parseData"),au=[],av={},aw=(0,i.K2)(function(a,b){let c={section:B,type:B,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:b},task:a,classes:[]},d=at(e,b);c.raw.startTime=d.startTime,c.raw.endTime=d.endTime,c.id=d.id,c.prevTaskId=e,c.active=d.active,c.done=d.done,c.crit=d.crit,c.milestone=d.milestone,c.vert=d.vert,c.order=K,K++;let f=au.push(c);e=c.id,av[c.id]=f-1},"addTask"),ax=(0,i.K2)(function(a){return au[av[a]]},"findTaskById"),ay=(0,i.K2)(function(a,b){let c={section:B,type:B,description:a,task:a,classes:[]},e=as(d,b);c.startTime=e.startTime,c.endTime=e.endTime,c.id=e.id,c.active=e.active,c.done=e.done,c.crit=e.crit,c.milestone=e.milestone,c.vert=e.vert,d=c,A.push(c)},"addTaskOrg"),az=(0,i.K2)(function(){let a=(0,i.K2)(function(a){let b=au[a],c="";switch(au[a].raw.startTime.type){case"prevTaskEnd":{let a=ax(b.prevTaskId);b.startTime=a.endTime;break}case"getStartDate":(c=an(void 0,s,au[a].raw.startTime.startData))&&(au[a].startTime=c)}return au[a].startTime&&(au[a].endTime=ap(au[a].startTime,s,au[a].raw.endTime.data,G),au[a].endTime&&(au[a].processed=!0,au[a].manualEndTime=k(au[a].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),al(au[a],s,x,w))),au[a].processed},"compileTask"),b=!0;for(let[c,d]of au.entries())a(c),b=b&&d.processed;return b},"compileTasks"),aA=(0,i.K2)(function(a,b){let c=b;"loose"!==(0,h.D7)().securityLevel&&(c=(0,j.J)(b)),a.split(",").forEach(function(a){void 0!==ax(a)&&(aD(a,()=>{window.open(c,"_self")}),y.set(a,c))}),aB(a,"clickable")},"setLink"),aB=(0,i.K2)(function(a,b){a.split(",").forEach(function(a){let c=ax(a);void 0!==c&&c.classes.push(b)})},"setClass"),aC=(0,i.K2)(function(a,b,c){if("loose"!==(0,h.D7)().securityLevel||void 0===b)return;let d=[];if("string"==typeof c){d=c.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let a=0;a<d.length;a++){let b=d[a].trim();b.startsWith('"')&&b.endsWith('"')&&(b=b.substr(1,b.length-2)),d[a]=b}}0===d.length&&d.push(a),void 0!==ax(a)&&aD(a,()=>{g._K.runFunc(b,...d)})},"setClickFun"),aD=(0,i.K2)(function(a,b){E.push(function(){let c=F?`${F}-${a}`:a,d=document.querySelector(`[id="${c}"]`);null!==d&&d.addEventListener("click",function(){b()})},function(){let c=F?`${F}-${a}`:a,d=document.querySelector(`[id="${c}-text"]`);null!==d&&d.addEventListener("click",function(){b()})})},"pushFun"),aE=(0,i.K2)(function(a,b,c){a.split(",").forEach(function(a){aC(a,b,c)}),aB(a,"clickable")},"setClickEvent"),aF=(0,i.K2)(function(a){E.forEach(function(b){b(a)})},"bindFunctions"),aG={getConfig:(0,i.K2)(()=>(0,h.D7)().gantt,"getConfig"),clear:L,setDateFormat:T,getDateFormat:$,enableInclusiveEndDates:U,endDatesAreInclusive:V,enableTopAxis:W,topAxisEnabled:X,setAxisFormat:N,getAxisFormat:O,setTickInterval:P,getTickInterval:Q,setTodayMarker:R,getTodayMarker:S,setAccTitle:h.SV,getAccTitle:h.iN,setDiagramTitle:h.ke,getDiagramTitle:h.ab,setDiagramId:M,setDisplayMode:Y,getDisplayMode:Z,setAccDescription:h.EI,getAccDescription:h.m7,addSection:ae,getSections:af,getTasks:ag,addTask:aw,findTaskById:ax,addTaskOrg:ay,setIncludes:_,getIncludes:aa,setExcludes:ab,getExcludes:ac,setClickEvent:aE,setLink:aA,getLinks:ad,bindFunctions:aF,parseDuration:ao,isInvalidDate:ah,setWeekday:ai,getWeekday:aj,setWeekend:ak};function aH(a,b,c){let d=!0;for(;d;)d=!1,c.forEach(function(c){let e=RegExp("^\\s*"+c+"\\s*$");a[0].match(e)&&(b[c]=!0,a.shift(1),d=!0)})}(0,i.K2)(aH,"getTaskTags"),k.extend(o);var aI=(0,i.K2)(function(){i.Rm.debug("Something is calling, setConf, remove the call")},"setConf"),aJ={monday:p.ABi,tuesday:p.PGu,wednesday:p.GuW,thursday:p.Mol,friday:p.TUC,saturday:p.rGn,sunday:p.YPH},aK=(0,i.K2)((a,b)=>{let c=[...a].map(()=>-1/0),d=[...a].sort((a,b)=>a.startTime-b.startTime||a.order-b.order),e=0;for(let a of d)for(let d=0;d<c.length;d++)if(a.startTime>=c[d]){c[d]=a.endTime,a.order=d+b,d>e&&(e=d);break}return e},"getMaxIntersections"),aL={parser:q,db:aG,renderer:{setConf:aI,draw:(0,i.K2)(function(a,b,c,d){let e,g=(0,h.D7)().gantt;d.db.setDiagramId(b);let j=(0,h.D7)().securityLevel;"sandbox"===j&&(e=(0,p.Ltv)("#i"+b));let l="sandbox"===j?(0,p.Ltv)(e.nodes()[0].contentDocument.body):(0,p.Ltv)("body"),m="sandbox"===j?e.nodes()[0].contentDocument:document,n=m.getElementById(b);void 0===(f=n.parentElement.offsetWidth)&&(f=1200),void 0!==g.useWidth&&(f=g.useWidth);let o=d.db.getTasks(),q=[];for(let a of o)q.push(a.type);q=D(q);let r={},s=2*g.topPadding;if("compact"===d.db.getDisplayMode()||"compact"===g.displayMode){let a={};for(let b of o)void 0===a[b.section]?a[b.section]=[b]:a[b.section].push(b);let b=0;for(let c of Object.keys(a)){let d=aK(a[c],b)+1;b+=d,s+=d*(g.barHeight+g.barGap),r[c]=d}}else for(let a of(s+=o.length*(g.barHeight+g.barGap),q))r[a]=o.filter(b=>b.type===a).length;n.setAttribute("viewBox","0 0 "+f+" "+s);let t=l.select(`[id="${b}"]`),u=(0,p.w7C)().domain([(0,p.jkA)(o,function(a){return a.startTime}),(0,p.T9B)(o,function(a){return a.endTime})]).rangeRound([0,f-g.leftPadding-g.rightPadding]);function v(a,b){let c=a.startTime,d=b.startTime,e=0;return c>d?e=1:c<d&&(e=-1),e}function w(a,b,c){let e=g.barHeight,f=e+g.barGap,h=g.topPadding,i=g.leftPadding,j=(0,p.m4Y)().domain([0,q.length]).range(["#00B9FA","#F95002"]).interpolate(p.bEH);y(f,h,i,b,c,a,d.db.getExcludes(),d.db.getIncludes()),A(i,h,b,c),x(a,f,h,i,e,j,b,c),B(f,h,i,e,j),C(i,h,b,c)}function x(a,c,e,f,i,j,k){a.sort((a,b)=>a.vert===b.vert?0:a.vert?1:-1);let l=[...new Set(a.map(a=>a.order))].map(b=>a.find(a=>a.order===b));t.append("g").selectAll("rect").data(l).enter().append("rect").attr("x",0).attr("y",function(a,b){return a.order*c+e-2}).attr("width",function(){return k-g.rightPadding/2}).attr("height",c).attr("class",function(a){for(let[b,c]of q.entries())if(a.type===c)return"section section"+b%g.numberSectionStyles;return"section section0"}).enter();let m=t.append("g").selectAll("rect").data(a).enter(),n=d.db.getLinks();if(m.append("rect").attr("id",function(a){return b+"-"+a.id}).attr("rx",3).attr("ry",3).attr("x",function(a){return a.milestone?u(a.startTime)+f+.5*(u(a.endTime)-u(a.startTime))-.5*i:u(a.startTime)+f}).attr("y",function(a,b){return(b=a.order,a.vert)?g.gridLineStartPadding:b*c+e}).attr("width",function(a){return a.milestone?i:a.vert?.08*i:u(a.renderEndTime||a.endTime)-u(a.startTime)}).attr("height",function(a){return a.vert?o.length*(g.barHeight+g.barGap)+2*g.barHeight:i}).attr("transform-origin",function(a,b){return b=a.order,(u(a.startTime)+f+.5*(u(a.endTime)-u(a.startTime))).toString()+"px "+(b*c+e+.5*i).toString()+"px"}).attr("class",function(a){let b="";a.classes.length>0&&(b=a.classes.join(" "));let c=0;for(let[b,d]of q.entries())a.type===d&&(c=b%g.numberSectionStyles);let d="";return a.active?a.crit?d+=" activeCrit":d=" active":a.done?d=a.crit?" doneCrit":" done":a.crit&&(d+=" crit"),0===d.length&&(d=" task"),a.milestone&&(d=" milestone "+d),a.vert&&(d=" vert "+d),d+=c,"task"+(d+=" "+b)}),m.append("text").attr("id",function(a){return b+"-"+a.id+"-text"}).text(function(a){return a.task}).attr("font-size",g.fontSize).attr("x",function(a){let b=u(a.startTime),c=u(a.renderEndTime||a.endTime);if(a.milestone&&(b+=.5*(u(a.endTime)-u(a.startTime))-.5*i,c=b+i),a.vert)return u(a.startTime)+f;let d=this.getBBox().width;return d>c-b?c+d+1.5*g.leftPadding>k?b+f-5:c+f+5:(c-b)/2+b+f}).attr("y",function(a,b){return a.vert?g.gridLineStartPadding+o.length*(g.barHeight+g.barGap)+60:a.order*c+g.barHeight/2+(g.fontSize/2-2)+e}).attr("text-height",i).attr("class",function(a){let b=u(a.startTime),c=u(a.endTime);a.milestone&&(c=b+i);let d=this.getBBox().width,e="";a.classes.length>0&&(e=a.classes.join(" "));let f=0;for(let[b,c]of q.entries())a.type===c&&(f=b%g.numberSectionStyles);let h="";return(a.active&&(h=a.crit?"activeCritText"+f:"activeText"+f),a.done?h=a.crit?h+" doneCritText"+f:h+" doneText"+f:a.crit&&(h=h+" critText"+f),a.milestone&&(h+=" milestoneText"),a.vert&&(h+=" vertText"),d>c-b)?c+d+1.5*g.leftPadding>k?e+" taskTextOutsideLeft taskTextOutside"+f+" "+h:e+" taskTextOutsideRight taskTextOutside"+f+" "+h+" width-"+d:e+" taskText taskText"+f+" "+h+" width-"+d}),"sandbox"===(0,h.D7)().securityLevel){let a=(0,p.Ltv)("#i"+b).nodes()[0].contentDocument;m.filter(function(a){return n.has(a.id)}).each(function(c){var d=a.querySelector("#"+CSS.escape(b+"-"+c.id)),e=a.querySelector("#"+CSS.escape(b+"-"+c.id+"-text"));let f=d.parentNode;var g=a.createElement("a");g.setAttribute("xlink:href",n.get(c.id)),g.setAttribute("target","_top"),f.appendChild(g),g.appendChild(d),g.appendChild(e)})}}function y(a,c,e,f,h,j,l,m){let n,o;if(0===l.length&&0===m.length)return;for(let{startTime:a,endTime:b}of j)(void 0===n||a<n)&&(n=a),(void 0===o||b>o)&&(o=b);if(!n||!o)return;if(k(o).diff(k(n),"year")>5)return void i.Rm.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");let p=d.db.getDateFormat(),q=[],r=null,s=k(n);for(;s.valueOf()<=o;)d.db.isInvalidDate(s,p,l,m)?r?r.end=s:r={start:s,end:s}:r&&(q.push(r),r=null),s=s.add(1,"d");t.append("g").selectAll("rect").data(q).enter().append("rect").attr("id",a=>b+"-exclude-"+a.start.format("YYYY-MM-DD")).attr("x",a=>u(a.start.startOf("day"))+e).attr("y",g.gridLineStartPadding).attr("width",a=>u(a.end.endOf("day"))-u(a.start.startOf("day"))).attr("height",h-c-g.gridLineStartPadding).attr("transform-origin",function(b,c){return(u(b.start)+e+.5*(u(b.end)-u(b.start))).toString()+"px "+(c*a+.5*h).toString()+"px"}).attr("class","exclude-range")}function z(a,b,c,d){if(c<=0||a>b)return 1/0;let e=k.duration({[d??"day"]:c}).asMilliseconds();return e<=0?1/0:Math.ceil((b-a)/e)}function A(a,b,c,e){let f,h=d.db.getDateFormat(),j=d.db.getAxisFormat();f=j||("D"===h?"%d":g.axisFormat??"%Y-%m-%d");let k=(0,p.l78)(u).tickSize(-e+b+g.gridLineStartPadding).tickFormat((0,p.DCK)(f)),l=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(d.db.getTickInterval()||g.tickInterval);if(null!==l){let a=parseInt(l[1],10);if(isNaN(a)||a<=0)i.Rm.warn(`Invalid tick interval value: "${l[1]}". Skipping custom tick interval.`);else{let b=l[2],c=d.db.getWeekday()||g.weekday,e=u.domain(),f=z(e[0],e[1],a,b);if(f>1e4)i.Rm.warn(`The tick interval "${a}${b}" would generate ${f} ticks, which exceeds the maximum allowed (10000). This may indicate an invalid date or time range. Skipping custom tick interval.`);else switch(b){case"millisecond":k.ticks(p.t6C.every(a));break;case"second":k.ticks(p.ucG.every(a));break;case"minute":k.ticks(p.wXd.every(a));break;case"hour":k.ticks(p.Agd.every(a));break;case"day":k.ticks(p.UAC.every(a));break;case"week":k.ticks(aJ[c].every(a));break;case"month":k.ticks(p.Ui6.every(a))}}}if(t.append("g").attr("class","grid").attr("transform","translate("+a+", "+(e-50)+")").call(k).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),d.db.topAxisEnabled()||g.topAxis){let c=(0,p.tlR)(u).tickSize(-e+b+g.gridLineStartPadding).tickFormat((0,p.DCK)(f));if(null!==l){let a=parseInt(l[1],10);if(isNaN(a)||a<=0)i.Rm.warn(`Invalid tick interval value: "${l[1]}". Skipping custom tick interval.`);else{let b=l[2],e=d.db.getWeekday()||g.weekday,f=u.domain();if(1e4>=z(f[0],f[1],a,b))switch(b){case"millisecond":c.ticks(p.t6C.every(a));break;case"second":c.ticks(p.ucG.every(a));break;case"minute":c.ticks(p.wXd.every(a));break;case"hour":c.ticks(p.Agd.every(a));break;case"day":c.ticks(p.UAC.every(a));break;case"week":c.ticks(aJ[e].every(a));break;case"month":c.ticks(p.Ui6.every(a))}}}t.append("g").attr("class","grid").attr("transform","translate("+a+", "+b+")").call(c).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}function B(a,b){let c=0,d=Object.keys(r).map(a=>[a,r[a]]);t.append("g").selectAll("text").data(d).enter().append(function(a){let b=a[0].split(h.Y2.lineBreakRegex),c=-(b.length-1)/2,d=m.createElementNS("http://www.w3.org/2000/svg","text");for(let[a,e]of(d.setAttribute("dy",c+"em"),b.entries())){let b=m.createElementNS("http://www.w3.org/2000/svg","tspan");b.setAttribute("alignment-baseline","central"),b.setAttribute("x","10"),a>0&&b.setAttribute("dy","1em"),b.textContent=e,d.appendChild(b)}return d}).attr("x",10).attr("y",function(e,f){if(!(f>0))return e[1]*a/2+b;for(let g=0;g<f;g++)return c+=d[f-1][1],e[1]*a/2+c*a+b}).attr("font-size",g.sectionFontSize).attr("class",function(a){for(let[b,c]of q.entries())if(a[0]===c)return"sectionTitle sectionTitle"+b%g.numberSectionStyles;return"sectionTitle"})}function C(a,b,c,e){let f=d.db.getTodayMarker();if("off"===f)return;let h=t.append("g").attr("class","today"),i=new Date,j=h.append("line");j.attr("x1",u(i)+a).attr("x2",u(i)+a).attr("y1",g.titleTopMargin).attr("y2",e-g.titleTopMargin).attr("class","today"),""!==f&&j.attr("style",f.replace(/,/g,";"))}function D(a){let b={},c=[];for(let d=0,e=a.length;d<e;++d)Object.prototype.hasOwnProperty.call(b,a[d])||(b[a[d]]=!0,c.push(a[d]));return c}(0,i.K2)(v,"taskCompare"),o.sort(v),w(o,f,s),(0,h.a$)(t,s,f,g.useMaxWidth),t.append("text").text(d.db.getDiagramTitle()).attr("x",f/2).attr("y",g.titleTopMargin).attr("class","titleText"),(0,i.K2)(w,"makeGantt"),(0,i.K2)(x,"drawRects"),(0,i.K2)(y,"drawExcludeDays"),(0,i.K2)(z,"getEstimatedTickCount"),(0,i.K2)(A,"makeGrid"),(0,i.K2)(B,"vertLabels"),(0,i.K2)(C,"drawToday"),(0,i.K2)(D,"checkUnique")},"draw")},styles:(0,i.K2)(a=>`
|
|
2
|
+
.mermaid-main-font {
|
|
3
|
+
font-family: ${a.fontFamily};
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.exclude-range {
|
|
7
|
+
fill: ${a.excludeBkgColor};
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.section {
|
|
11
|
+
stroke: none;
|
|
12
|
+
opacity: 0.2;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.section0 {
|
|
16
|
+
fill: ${a.sectionBkgColor};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.section2 {
|
|
20
|
+
fill: ${a.sectionBkgColor2};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.section1,
|
|
24
|
+
.section3 {
|
|
25
|
+
fill: ${a.altSectionBkgColor};
|
|
26
|
+
opacity: 0.2;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.sectionTitle0 {
|
|
30
|
+
fill: ${a.titleColor};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.sectionTitle1 {
|
|
34
|
+
fill: ${a.titleColor};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.sectionTitle2 {
|
|
38
|
+
fill: ${a.titleColor};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.sectionTitle3 {
|
|
42
|
+
fill: ${a.titleColor};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.sectionTitle {
|
|
46
|
+
text-anchor: start;
|
|
47
|
+
font-family: ${a.fontFamily};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
/* Grid and axis */
|
|
52
|
+
|
|
53
|
+
.grid .tick {
|
|
54
|
+
stroke: ${a.gridColor};
|
|
55
|
+
opacity: 0.8;
|
|
56
|
+
shape-rendering: crispEdges;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.grid .tick text {
|
|
60
|
+
font-family: ${a.fontFamily};
|
|
61
|
+
fill: ${a.textColor};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.grid path {
|
|
65
|
+
stroke-width: 0;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
/* Today line */
|
|
70
|
+
|
|
71
|
+
.today {
|
|
72
|
+
fill: none;
|
|
73
|
+
stroke: ${a.todayLineColor};
|
|
74
|
+
stroke-width: 2px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
/* Task styling */
|
|
79
|
+
|
|
80
|
+
/* Default task */
|
|
81
|
+
|
|
82
|
+
.task {
|
|
83
|
+
stroke-width: 2;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.taskText {
|
|
87
|
+
text-anchor: middle;
|
|
88
|
+
font-family: ${a.fontFamily};
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.taskTextOutsideRight {
|
|
92
|
+
fill: ${a.taskTextDarkColor};
|
|
93
|
+
text-anchor: start;
|
|
94
|
+
font-family: ${a.fontFamily};
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.taskTextOutsideLeft {
|
|
98
|
+
fill: ${a.taskTextDarkColor};
|
|
99
|
+
text-anchor: end;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
/* Special case clickable */
|
|
104
|
+
|
|
105
|
+
.task.clickable {
|
|
106
|
+
cursor: pointer;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.taskText.clickable {
|
|
110
|
+
cursor: pointer;
|
|
111
|
+
fill: ${a.taskTextClickableColor} !important;
|
|
112
|
+
font-weight: bold;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.taskTextOutsideLeft.clickable {
|
|
116
|
+
cursor: pointer;
|
|
117
|
+
fill: ${a.taskTextClickableColor} !important;
|
|
118
|
+
font-weight: bold;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.taskTextOutsideRight.clickable {
|
|
122
|
+
cursor: pointer;
|
|
123
|
+
fill: ${a.taskTextClickableColor} !important;
|
|
124
|
+
font-weight: bold;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
/* Specific task settings for the sections*/
|
|
129
|
+
|
|
130
|
+
.taskText0,
|
|
131
|
+
.taskText1,
|
|
132
|
+
.taskText2,
|
|
133
|
+
.taskText3 {
|
|
134
|
+
fill: ${a.taskTextColor};
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.task0,
|
|
138
|
+
.task1,
|
|
139
|
+
.task2,
|
|
140
|
+
.task3 {
|
|
141
|
+
fill: ${a.taskBkgColor};
|
|
142
|
+
stroke: ${a.taskBorderColor};
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.taskTextOutside0,
|
|
146
|
+
.taskTextOutside2
|
|
147
|
+
{
|
|
148
|
+
fill: ${a.taskTextOutsideColor};
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.taskTextOutside1,
|
|
152
|
+
.taskTextOutside3 {
|
|
153
|
+
fill: ${a.taskTextOutsideColor};
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
/* Active task */
|
|
158
|
+
|
|
159
|
+
.active0,
|
|
160
|
+
.active1,
|
|
161
|
+
.active2,
|
|
162
|
+
.active3 {
|
|
163
|
+
fill: ${a.activeTaskBkgColor};
|
|
164
|
+
stroke: ${a.activeTaskBorderColor};
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.activeText0,
|
|
168
|
+
.activeText1,
|
|
169
|
+
.activeText2,
|
|
170
|
+
.activeText3 {
|
|
171
|
+
fill: ${a.taskTextDarkColor} !important;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
/* Completed task */
|
|
176
|
+
|
|
177
|
+
.done0,
|
|
178
|
+
.done1,
|
|
179
|
+
.done2,
|
|
180
|
+
.done3 {
|
|
181
|
+
stroke: ${a.doneTaskBorderColor};
|
|
182
|
+
fill: ${a.doneTaskBkgColor};
|
|
183
|
+
stroke-width: 2;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.doneText0,
|
|
187
|
+
.doneText1,
|
|
188
|
+
.doneText2,
|
|
189
|
+
.doneText3 {
|
|
190
|
+
fill: ${a.taskTextDarkColor} !important;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/* Done task text displayed outside the bar sits against the diagram background,
|
|
194
|
+
not against the done-task bar, so it must use the outside/contrast color. */
|
|
195
|
+
.doneText0.taskTextOutsideLeft,
|
|
196
|
+
.doneText0.taskTextOutsideRight,
|
|
197
|
+
.doneText1.taskTextOutsideLeft,
|
|
198
|
+
.doneText1.taskTextOutsideRight,
|
|
199
|
+
.doneText2.taskTextOutsideLeft,
|
|
200
|
+
.doneText2.taskTextOutsideRight,
|
|
201
|
+
.doneText3.taskTextOutsideLeft,
|
|
202
|
+
.doneText3.taskTextOutsideRight {
|
|
203
|
+
fill: ${a.taskTextOutsideColor} !important;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
/* Tasks on the critical line */
|
|
208
|
+
|
|
209
|
+
.crit0,
|
|
210
|
+
.crit1,
|
|
211
|
+
.crit2,
|
|
212
|
+
.crit3 {
|
|
213
|
+
stroke: ${a.critBorderColor};
|
|
214
|
+
fill: ${a.critBkgColor};
|
|
215
|
+
stroke-width: 2;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.activeCrit0,
|
|
219
|
+
.activeCrit1,
|
|
220
|
+
.activeCrit2,
|
|
221
|
+
.activeCrit3 {
|
|
222
|
+
stroke: ${a.critBorderColor};
|
|
223
|
+
fill: ${a.activeTaskBkgColor};
|
|
224
|
+
stroke-width: 2;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.doneCrit0,
|
|
228
|
+
.doneCrit1,
|
|
229
|
+
.doneCrit2,
|
|
230
|
+
.doneCrit3 {
|
|
231
|
+
stroke: ${a.critBorderColor};
|
|
232
|
+
fill: ${a.doneTaskBkgColor};
|
|
233
|
+
stroke-width: 2;
|
|
234
|
+
cursor: pointer;
|
|
235
|
+
shape-rendering: crispEdges;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.milestone {
|
|
239
|
+
transform: rotate(45deg) scale(0.8,0.8);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.milestoneText {
|
|
243
|
+
font-style: italic;
|
|
244
|
+
}
|
|
245
|
+
.doneCritText0,
|
|
246
|
+
.doneCritText1,
|
|
247
|
+
.doneCritText2,
|
|
248
|
+
.doneCritText3 {
|
|
249
|
+
fill: ${a.taskTextDarkColor} !important;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/* Done-crit task text outside the bar \u2014 same reasoning as doneText above. */
|
|
253
|
+
.doneCritText0.taskTextOutsideLeft,
|
|
254
|
+
.doneCritText0.taskTextOutsideRight,
|
|
255
|
+
.doneCritText1.taskTextOutsideLeft,
|
|
256
|
+
.doneCritText1.taskTextOutsideRight,
|
|
257
|
+
.doneCritText2.taskTextOutsideLeft,
|
|
258
|
+
.doneCritText2.taskTextOutsideRight,
|
|
259
|
+
.doneCritText3.taskTextOutsideLeft,
|
|
260
|
+
.doneCritText3.taskTextOutsideRight {
|
|
261
|
+
fill: ${a.taskTextOutsideColor} !important;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.vert {
|
|
265
|
+
stroke: ${a.vertLineColor};
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.vertText {
|
|
269
|
+
font-size: 15px;
|
|
270
|
+
text-anchor: middle;
|
|
271
|
+
fill: ${a.vertLineColor} !important;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.activeCritText0,
|
|
275
|
+
.activeCritText1,
|
|
276
|
+
.activeCritText2,
|
|
277
|
+
.activeCritText3 {
|
|
278
|
+
fill: ${a.taskTextDarkColor} !important;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.titleText {
|
|
282
|
+
text-anchor: middle;
|
|
283
|
+
font-size: 18px;
|
|
284
|
+
fill: ${a.titleColor||a.textColor};
|
|
285
|
+
font-family: ${a.fontFamily};
|
|
286
|
+
}
|
|
287
|
+
`,"getStyles")}},50676:function(a){a.exports=function(a,b){var c=b.prototype,d=c.format;c.format=function(a){var b=this,c=this.$locale();if(!this.isValid())return d.bind(this)(a);var e=this.$utils(),f=(a||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(a){switch(a){case"Q":return Math.ceil((b.$M+1)/3);case"Do":return c.ordinal(b.$D);case"gggg":return b.weekYear();case"GGGG":return b.isoWeekYear();case"wo":return c.ordinal(b.week(),"W");case"w":case"ww":return e.s(b.week(),"w"===a?1:2,"0");case"W":case"WW":return e.s(b.isoWeek(),"W"===a?1:2,"0");case"k":case"kk":return e.s(String(0===b.$H?24:b.$H),"k"===a?1:2,"0");case"X":return Math.floor(b.$d.getTime()/1e3);case"x":return b.$d.getTime();case"z":return"["+b.offsetName()+"]";case"zzz":return"["+b.offsetName("long")+"]";default:return a}});return d.bind(this)(f)}}},54147:function(a){a.exports=function(){"use strict";var a,b,c=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,d=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,e={years:31536e6,months:2628e6,days:864e5,hours:36e5,minutes:6e4,seconds:1e3,milliseconds:1,weeks:6048e5},f=function(a){return a instanceof l},g=function(a,b,c){return new l(a,c,b.$l)},h=function(a){return b.p(a)+"s"},i=function(a){return a<0},j=function(a){return i(a)?Math.ceil(a):Math.floor(a)},k=function(a,b){return a?i(a)?{negative:!0,format:""+Math.abs(a)+b}:{negative:!1,format:""+a+b}:{negative:!1,format:""}},l=function(){function i(a,b,d){var f=this;if(this.$d={},this.$l=d,void 0===a&&(this.$ms=0,this.parseFromMilliseconds()),b)return g(a*e[h(b)],this);if("number"==typeof a)return this.$ms=a,this.parseFromMilliseconds(),this;if("object"==typeof a)return Object.keys(a).forEach(function(b){f.$d[h(b)]=a[b]}),this.calMilliseconds(),this;if("string"==typeof a){var i=a.match(c);if(i){var j=i.slice(2).map(function(a){return null!=a?Number(a):0});return this.$d.years=j[0],this.$d.months=j[1],this.$d.weeks=j[2],this.$d.days=j[3],this.$d.hours=j[4],this.$d.minutes=j[5],this.$d.seconds=j[6],this.calMilliseconds(),this}}return this}var l=i.prototype;return l.calMilliseconds=function(){var a=this;this.$ms=Object.keys(this.$d).reduce(function(b,c){return b+(a.$d[c]||0)*e[c]},0)},l.parseFromMilliseconds=function(){var a=this.$ms;this.$d.years=j(a/31536e6),a%=31536e6,this.$d.months=j(a/2628e6),a%=2628e6,this.$d.days=j(a/864e5),a%=864e5,this.$d.hours=j(a/36e5),a%=36e5,this.$d.minutes=j(a/6e4),a%=6e4,this.$d.seconds=j(a/1e3),a%=1e3,this.$d.milliseconds=a},l.toISOString=function(){var a=k(this.$d.years,"Y"),b=k(this.$d.months,"M"),c=+this.$d.days||0;this.$d.weeks&&(c+=7*this.$d.weeks);var d=k(c,"D"),e=k(this.$d.hours,"H"),f=k(this.$d.minutes,"M"),g=this.$d.seconds||0;this.$d.milliseconds&&(g+=this.$d.milliseconds/1e3,g=Math.round(1e3*g)/1e3);var h=k(g,"S"),i=a.negative||b.negative||d.negative||e.negative||f.negative||h.negative,j=e.format||f.format||h.format?"T":"",l=(i?"-":"")+"P"+a.format+b.format+d.format+j+e.format+f.format+h.format;return"P"===l||"-P"===l?"P0D":l},l.toJSON=function(){return this.toISOString()},l.format=function(a){var c={Y:this.$d.years,YY:b.s(this.$d.years,2,"0"),YYYY:b.s(this.$d.years,4,"0"),M:this.$d.months,MM:b.s(this.$d.months,2,"0"),D:this.$d.days,DD:b.s(this.$d.days,2,"0"),H:this.$d.hours,HH:b.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:b.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:b.s(this.$d.seconds,2,"0"),SSS:b.s(this.$d.milliseconds,3,"0")};return(a||"YYYY-MM-DDTHH:mm:ss").replace(d,function(a,b){return b||String(c[a])})},l.as=function(a){return this.$ms/e[h(a)]},l.get=function(a){var b=this.$ms,c=h(a);return"milliseconds"===c?b%=1e3:b="weeks"===c?j(b/e[c]):this.$d[c],b||0},l.add=function(a,b,c){var d;return d=b?a*e[h(b)]:f(a)?a.$ms:g(a,this).$ms,g(this.$ms+d*(c?-1:1),this)},l.subtract=function(a,b){return this.add(a,b,!0)},l.locale=function(a){var b=this.clone();return b.$l=a,b},l.clone=function(){return g(this.$ms,this)},l.humanize=function(b){return a().add(this.$ms,"ms").locale(this.$l).fromNow(!b)},l.valueOf=function(){return this.asMilliseconds()},l.milliseconds=function(){return this.get("milliseconds")},l.asMilliseconds=function(){return this.as("milliseconds")},l.seconds=function(){return this.get("seconds")},l.asSeconds=function(){return this.as("seconds")},l.minutes=function(){return this.get("minutes")},l.asMinutes=function(){return this.as("minutes")},l.hours=function(){return this.get("hours")},l.asHours=function(){return this.as("hours")},l.days=function(){return this.get("days")},l.asDays=function(){return this.as("days")},l.weeks=function(){return this.get("weeks")},l.asWeeks=function(){return this.as("weeks")},l.months=function(){return this.get("months")},l.asMonths=function(){return this.as("months")},l.years=function(){return this.get("years")},l.asYears=function(){return this.as("years")},i}(),m=function(a,b,c){return a.add(b.years()*c,"y").add(b.months()*c,"M").add(b.days()*c,"d").add(b.hours()*c,"h").add(b.minutes()*c,"m").add(b.seconds()*c,"s").add(b.milliseconds()*c,"ms")};return function(c,d,e){a=e,b=e().$utils(),e.duration=function(a,b){return g(a,{$l:e.locale()},b)},e.isDuration=f;var h=d.prototype.add,i=d.prototype.subtract;d.prototype.add=function(a,b){return f(a)?m(this,a,1):h.bind(this)(a,b)},d.prototype.subtract=function(a,b){return f(a)?m(this,a,-1):i.bind(this)(a,b)}}}()},64722:function(a){a.exports=function(){"use strict";var a={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},b=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,c=/\d/,d=/\d\d/,e=/\d\d?/,f=/\d*[^-_:/,()\s\d]+/,g={},h=function(a){return(a*=1)+(a>68?1900:2e3)},i=function(a){return function(b){this[a]=+b}},j=[/[+-]\d\d:?(\d\d)?|Z/,function(a){(this.zone||(this.zone={})).offset=function(a){if(!a||"Z"===a)return 0;var b=a.match(/([+-]|\d\d)/g),c=60*b[1]+(+b[2]||0);return 0===c?0:"+"===b[0]?-c:c}(a)}],k=function(a){var b=g[a];return b&&(b.indexOf?b:b.s.concat(b.f))},l=function(a,b){var c,d=g.meridiem;if(d){for(var e=1;e<=24;e+=1)if(a.indexOf(d(e,0,b))>-1){c=e>12;break}}else c=a===(b?"pm":"PM");return c},m={A:[f,function(a){this.afternoon=l(a,!1)}],a:[f,function(a){this.afternoon=l(a,!0)}],Q:[c,function(a){this.month=3*(a-1)+1}],S:[c,function(a){this.milliseconds=100*a}],SS:[d,function(a){this.milliseconds=10*a}],SSS:[/\d{3}/,function(a){this.milliseconds=+a}],s:[e,i("seconds")],ss:[e,i("seconds")],m:[e,i("minutes")],mm:[e,i("minutes")],H:[e,i("hours")],h:[e,i("hours")],HH:[e,i("hours")],hh:[e,i("hours")],D:[e,i("day")],DD:[d,i("day")],Do:[f,function(a){var b=g.ordinal,c=a.match(/\d+/);if(this.day=c[0],b)for(var d=1;d<=31;d+=1)b(d).replace(/\[|\]/g,"")===a&&(this.day=d)}],w:[e,i("week")],ww:[d,i("week")],M:[e,i("month")],MM:[d,i("month")],MMM:[f,function(a){var b=k("months"),c=(k("monthsShort")||b.map(function(a){return a.slice(0,3)})).indexOf(a)+1;if(c<1)throw Error();this.month=c%12||c}],MMMM:[f,function(a){var b=k("months").indexOf(a)+1;if(b<1)throw Error();this.month=b%12||b}],Y:[/[+-]?\d+/,i("year")],YY:[d,function(a){this.year=h(a)}],YYYY:[/\d{4}/,i("year")],Z:j,ZZ:j};return function(c,d,e){e.p.customParseFormat=!0,c&&c.parseTwoDigitYear&&(h=c.parseTwoDigitYear);var f=d.prototype,i=f.parse;f.parse=function(c){var d=c.date,f=c.utc,h=c.args;this.$u=f;var j=h[1];if("string"==typeof j){var k=!0===h[2],l=!0===h[3],n=h[2];l&&(n=h[2]),g=this.$locale(),!k&&n&&(g=e.Ls[n]),this.$d=function(c,d,e,f){try{if(["x","X"].indexOf(d)>-1)return new Date(("X"===d?1e3:1)*c);var h=(function(c){var d,e;d=c,e=g&&g.formats;for(var f=(c=d.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(b,c,d){var f=d&&d.toUpperCase();return c||e[d]||a[d]||e[f].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(a,b,c){return b||c.slice(1)})})).match(b),h=f.length,i=0;i<h;i+=1){var j=f[i],k=m[j],l=k&&k[0],n=k&&k[1];f[i]=n?{regex:l,parser:n}:j.replace(/^\[|\]$/g,"")}return function(a){for(var b={},c=0,d=0;c<h;c+=1){var e=f[c];if("string"==typeof e)d+=e.length;else{var g=e.regex,i=e.parser,j=a.slice(d),k=g.exec(j)[0];i.call(b,k),a=a.replace(k,"")}}return function(a){var b=a.afternoon;if(void 0!==b){var c=a.hours;b?c<12&&(a.hours+=12):12===c&&(a.hours=0),delete a.afternoon}}(b),b}})(d)(c),i=h.year,j=h.month,k=h.day,l=h.hours,n=h.minutes,o=h.seconds,p=h.milliseconds,q=h.zone,r=h.week,s=new Date,t=k||(i||j?1:s.getDate()),u=i||s.getFullYear(),v=0;i&&!j||(v=j>0?j-1:s.getMonth());var w,x=l||0,y=n||0,z=o||0,A=p||0;return q?new Date(Date.UTC(u,v,t,x,y,z,A+60*q.offset*1e3)):e?new Date(Date.UTC(u,v,t,x,y,z,A)):(w=new Date(u,v,t,x,y,z,A),r&&(w=f(w).week(r).toDate()),w)}catch(a){return new Date("")}}(d,j,f,e),this.init(),n&&!0!==n&&(this.$L=this.locale(n).$L),(k||l)&&d!=this.format(j)&&(this.$d=new Date("")),g={}}else if(j instanceof Array)for(var o=j.length,p=1;p<=o;p+=1){h[1]=j[p-1];var q=e.apply(this,h);if(q.isValid()){this.$d=q.$d,this.$L=q.$L,this.init();break}p===o&&(this.$d=new Date(""))}else i.call(this,c)}}}()}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=9181,exports.ids=[9181],exports.modules={49181:(a,b,c)=>{c.d(b,{createPacketServices:()=>d.$});var d=c(14021);c(43283)}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=9293,exports.ids=[9293],exports.modules={59293:(a,b,c)=>{c.d(b,{getSecret:()=>l,listSecretKeys:()=>m});var d=c(73024),e=c(76760),f=c.n(e),g=c(77598),h=c(29163);let i=f().join((0,h._)(),"secrets");function j(a,b,c){return f().join(i,a,function(a,b){if("global"===a)return"_";if(!b)throw Error("project-scope secrets require rootId");return/^[a-f0-9]{8,64}$/.test(b)?b:(0,g.createHash)("sha1").update(b).digest("hex").slice(0,16)}(a,c),`${b}.json`)}async function k(a){try{let b=await d.promises.readFile(a,"utf8"),c=JSON.parse(b);if(1!==c.version||!c.values||"object"!=typeof c.values)return{version:1,values:{}};return{version:1,values:c.values}}catch{return{version:1,values:{}}}}async function l(a,b,c,d){let e=await k(j(a,b,d));return Object.prototype.hasOwnProperty.call(e.values,c)?e.values[c]:null}async function m(a,b,c){return Object.keys((await k(j(a,b,c))).values).sort()}}};
|
|
1
|
+
"use strict";exports.id=9293,exports.ids=[9293],exports.modules={59293:(a,b,c)=>{c.d(b,{getSecret:()=>l,listSecretKeys:()=>m});var d=c(73024),e=c(76760),f=c.n(e),g=c(77598),h=c(29163);c(32068);let i=f().join((0,h._)(),"secrets");function j(a,b,c){return f().join(i,a,function(a,b){if("global"===a)return"_";if(!b)throw Error("project-scope secrets require rootId");return/^[a-f0-9]{8,64}$/.test(b)?b:(0,g.createHash)("sha1").update(b).digest("hex").slice(0,16)}(a,c),`${b}.json`)}async function k(a){try{let b=await d.promises.readFile(a,"utf8"),c=JSON.parse(b);if(1!==c.version||!c.values||"object"!=typeof c.values)return{version:1,values:{}};return{version:1,values:c.values}}catch{return{version:1,values:{}}}}async function l(a,b,c,d){let e=await k(j(a,b,d));return Object.prototype.hasOwnProperty.call(e.values,c)?e.values[c]:null}async function m(a,b,c){return Object.keys((await k(j(a,b,c))).values).sort()}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=9478,exports.ids=[9478],exports.modules={59478:(a,b,c)=>{c.r(b),c.d(b,{render:()=>E});var d=c(88123);c(73064);var e=c(84976),f=c(34721);c(38033),c(88745),c(28056);var g=c(6850),h=c(24613),i=c(99784),j=c(24441),k=c(38955),l=c(73159);function m(a){var b,c,d,e={options:{directed:a.isDirected(),multigraph:a.isMultigraph(),compound:a.isCompound()},nodes:(b=a,l.A(b.nodes(),function(a){var c=b.node(a),d=b.parent(a),e={v:a};return j.A(c)||(e.value=c),j.A(d)||(e.parent=d),e})),edges:(c=a,l.A(c.edges(),function(a){var b=c.edge(a),d={v:a.v,w:a.w};return j.A(a.name)||(d.name=a.name),j.A(b)||(d.value=b),d}))};return j.A(a.graph())||(d=a.graph(),e.value=(0,k.A)(d,4)),e}c(35193);var n=c(98714),o=new Map,p=new Map,q=new Map,r=(0,h.K2)(()=>{p.clear(),q.clear(),o.clear()},"clear"),s=(0,h.K2)((a,b)=>{let c=p.get(b)||[];return h.Rm.trace("In isDescendant",b," ",a," = ",c.includes(a)),c.includes(a)},"isDescendant"),t=(0,h.K2)((a,b)=>{let c=p.get(b)||[];return h.Rm.info("Descendants of ",b," is ",c),h.Rm.info("Edge is ",a),a.v!==b&&a.w!==b&&(c?c.includes(a.v)||s(a.v,b)||s(a.w,b)||c.includes(a.w):(h.Rm.debug("Tilt, ",b,",not in descendants"),!1))},"edgeInCluster"),u=(0,h.K2)((a,b,c,d)=>{h.Rm.warn("Copying children of ",a,"root",d,"data",b.node(a),d);let e=b.children(a)||[];a!==d&&e.push(a),h.Rm.warn("Copying (nodes) clusterId",a,"nodes",e),e.forEach(e=>{if(b.children(e).length>0)u(e,b,c,d);else{let f=b.node(e);h.Rm.info("cp ",e," to ",d," with parent ",a),c.setNode(e,f),d!==b.parent(e)&&(h.Rm.warn("Setting parent",e,b.parent(e)),c.setParent(e,b.parent(e))),a!==d&&e!==a?(h.Rm.debug("Setting parent",e,a),c.setParent(e,a)):(h.Rm.info("In copy ",a,"root",d,"data",b.node(a),d),h.Rm.debug("Not Setting parent for node=",e,"cluster!==rootId",a!==d,"node!==clusterId",e!==a));let g=b.edges(e);h.Rm.debug("Copying Edges",g),g.forEach(e=>{h.Rm.info("Edge",e);let f=b.edge(e.v,e.w,e.name);h.Rm.info("Edge data",f,d);try{t(e,d)?(h.Rm.info("Copying as ",e.v,e.w,f,e.name),c.setEdge(e.v,e.w,f,e.name),h.Rm.info("newGraph edges ",c.edges(),c.edge(c.edges()[0]))):h.Rm.info("Skipping copy of edge ",e.v,"--\x3e",e.w," rootId: ",d," clusterId:",a)}catch(a){h.Rm.error(a)}})}h.Rm.debug("Removing node",e),b.removeNode(e)})},"copy"),v=(0,h.K2)((a,b)=>{let c=b.children(a),d=[...c];for(let e of c)q.set(e,a),d=[...d,...v(e,b)];return d},"extractDescendants"),w=(0,h.K2)((a,b,c)=>{let d=a.edges().filter(a=>a.v===b||a.w===b),e=a.edges().filter(a=>a.v===c||a.w===c),f=d.map(a=>({v:a.v===b?c:a.v,w:a.w===b?b:a.w})),g=e.map(a=>({v:a.v,w:a.w}));return f.filter(a=>g.some(b=>a.v===b.v&&a.w===b.w))},"findCommonEdges"),x=(0,h.K2)((a,b,c)=>{let d,e=b.children(a);if(h.Rm.trace("Searching children of id ",a,e),e.length<1)return a;for(let a of e){let e=x(a,b,c),f=w(b,c,e);if(e)if(!(f.length>0))return e;else d=e}return d},"findNonClusterChild"),y=(0,h.K2)(a=>o.has(a)&&o.get(a).externalConnections&&o.has(a)?o.get(a).id:a,"getAnchorId"),z=(0,h.K2)((a,b)=>{if(!a||b>10)return void h.Rm.debug("Opting out, no graph ");for(let b of(h.Rm.debug("Opting in, graph "),a.nodes().forEach(function(b){a.children(b).length>0&&(h.Rm.warn("Cluster identified",b," Replacement id in edges: ",x(b,a,b)),p.set(b,v(b,a)),o.set(b,{id:x(b,a,b),clusterData:a.node(b)}))}),a.nodes().forEach(function(b){let c=a.children(b),d=a.edges();c.length>0?(h.Rm.debug("Cluster identified",b,p),d.forEach(a=>{s(a.v,b)^s(a.w,b)&&(h.Rm.warn("Edge: ",a," leaves cluster ",b),h.Rm.warn("Descendants of XXX ",b,": ",p.get(b)),o.get(b).externalConnections=!0)})):h.Rm.debug("Not a cluster ",b,p)}),o.keys())){let c=o.get(b).id,d=a.parent(c);d!==b&&o.has(d)&&!o.get(d).externalConnections&&(o.get(b).id=d)}a.edges().forEach(function(b){let c=a.edge(b);h.Rm.warn("Edge "+b.v+" -> "+b.w+": "+JSON.stringify(b)),h.Rm.warn("Edge "+b.v+" -> "+b.w+": "+JSON.stringify(a.edge(b)));let d=b.v,e=b.w;if(h.Rm.warn("Fix XXX",o,"ids:",b.v,b.w,"Translating: ",o.get(b.v)," --- ",o.get(b.w)),o.get(b.v)||o.get(b.w)){if(h.Rm.warn("Fixing and trying - removing XXX",b.v,b.w,b.name),d=y(b.v),e=y(b.w),a.removeEdge(b.v,b.w,b.name),d!==b.v){let e=a.parent(d);o.get(e).externalConnections=!0,c.fromCluster=b.v}if(e!==b.w){let d=a.parent(e);o.get(d).externalConnections=!0,c.toCluster=b.w}h.Rm.warn("Fix Replacing with XXX",d,e,b.name),a.setEdge(d,e,c,b.name)}}),h.Rm.warn("Adjusted Graph",m(a)),A(a,0),h.Rm.trace(o)},"adjustClustersAndEdges"),A=(0,h.K2)((a,b)=>{if(h.Rm.warn("extractor - ",b,m(a),a.children("D")),b>10)return void h.Rm.error("Bailing out");let c=a.nodes(),d=!1;for(let b of c){let c=a.children(b);d=d||c.length>0}if(!d)return void h.Rm.debug("Done, no node has children",a.nodes());for(let d of(h.Rm.debug("Nodes = ",c,b),c))if(h.Rm.debug("Extracting node",d,o,o.has(d)&&!o.get(d).externalConnections,!a.parent(d),a.node(d),a.children("D")," Depth ",b),o.has(d))if(!o.get(d).externalConnections&&a.children(d)&&a.children(d).length>0){h.Rm.warn("Cluster without external connections, without a parent and with children",d,b);let c="TB"===a.graph().rankdir?"LR":"TB";o.get(d)?.clusterData?.dir&&(c=o.get(d).clusterData.dir,h.Rm.warn("Fixing dir",o.get(d).clusterData.dir,c));let e=new n.T({multigraph:!0,compound:!0}).setGraph({rankdir:c,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});h.Rm.warn("Old graph before copy",m(a)),u(d,a,e,d),a.setNode(d,{clusterNode:!0,id:d,clusterData:o.get(d).clusterData,label:o.get(d).label,graph:e}),h.Rm.warn("New graph after copy node: (",d,")",m(e)),h.Rm.debug("Old graph after copy",m(a))}else h.Rm.warn("Cluster ** ",d," **not meeting the criteria !externalConnections:",!o.get(d).externalConnections," no parent: ",!a.parent(d)," children ",a.children(d)&&a.children(d).length>0,a.children("D"),b),h.Rm.debug(o);else h.Rm.debug("Not a cluster",d,b);for(let d of(c=a.nodes(),h.Rm.warn("New list of nodes",c),c)){let c=a.node(d);h.Rm.warn(" Now next level",d,c),c?.clusterNode&&A(c.graph,b+1)}},"extractor"),B=(0,h.K2)((a,b)=>{if(0===b.length)return[];let c=Object.assign([],b);return b.forEach(b=>{let d=a.children(b),e=B(a,d);c=[...c,...e]}),c},"sorter"),C=(0,h.K2)(a=>B(a,a.children()),"sortNodesByHierarchy"),D=(0,h.K2)(async(a,b,c,g,j,k)=>{h.Rm.warn("Graph in recursive render:XAX",m(b),j);let l=b.graph().rankdir;h.Rm.trace("Dir in recursive render - dir:",l);let n=a.insert("g").attr("class","root");b.nodes()?h.Rm.info("Recursive render XXX",b.nodes()):h.Rm.info("No nodes found for",b),b.edges().length>0&&h.Rm.info("Recursive edges",b.edge(b.edges()[0]));let p=n.insert("g").attr("class","clusters"),q=n.insert("g").attr("class","edgePaths"),r=n.insert("g").attr("class","edgeLabels"),s=n.insert("g").attr("class","nodes");await Promise.all(b.nodes().map(async function(a){let d=b.node(a);if(void 0!==j){let c=JSON.parse(JSON.stringify(j.clusterData));h.Rm.trace("Setting data for parent cluster XXX\n Node.id = ",a,"\n data=",c.height,"\nParent cluster",j.height),b.setNode(j.id,c),b.parent(a)||(h.Rm.trace("Setting parent",a,j.id),b.setParent(a,j.id,c))}if(h.Rm.info("(Insert) Node XXX"+a+": "+JSON.stringify(b.node(a))),d?.clusterNode){h.Rm.info("Cluster identified XBX",a,d.width,b.node(a));let{ranksep:f,nodesep:i}=b.graph();d.graph.setGraph({...d.graph.graph(),ranksep:f+25,nodesep:i});let j=await D(s,d.graph,c,g,b.node(a),k),l=j.elem;(0,e.lC)(d,l),d.diff=j.diff||0,h.Rm.info("New compound node after recursive render XAX",a,"width",d.width,"height",d.height),(0,e.U7)(l,d)}else b.children(a).length>0?(h.Rm.trace("Cluster - the non recursive path XBX",a,d.id,d,d.width,"Graph:",b),h.Rm.trace(x(d.id,b)),o.set(d.id,{id:x(d.id,b),node:d})):(h.Rm.trace("Node - the non recursive path XAX",a,s,b.node(a),l),await (0,e.on)(s,b.node(a),{config:k,dir:l}))}));let t=(0,h.K2)(async()=>{let a=b.edges().map(async function(a){let c=b.edge(a.v,a.w,a.name);h.Rm.info("Edge "+a.v+" -> "+a.w+": "+JSON.stringify(a)),h.Rm.info("Edge "+a.v+" -> "+a.w+": ",a," ",JSON.stringify(b.edge(a))),h.Rm.info("Fix",o,"ids:",a.v,a.w,"Translating: ",o.get(a.v),o.get(a.w)),await (0,d.jP)(r,c)});await Promise.all(a)},"processEdges");await t(),h.Rm.info("Graph before layout:",JSON.stringify(m(b))),h.Rm.info("############################################# XXX"),h.Rm.info("### Layout ### XXX"),h.Rm.info("############################################# XXX"),(0,i.Zp)(b),h.Rm.info("Graph after layout:",JSON.stringify(m(b)));let u=0,{subGraphTitleTotalMargin:v}=(0,f.O)(k);return await Promise.all(C(b).map(async function(a){let c=b.node(a);if(h.Rm.info("Position XBX => "+a+": ("+c.x,","+c.y,") width: ",c.width," height: ",c.height),c?.clusterNode)c.y+=v,h.Rm.info("A tainted cluster node XBX1",a,c.id,c.width,c.height,c.x,c.y,b.parent(a)),o.get(c.id).node=c,(0,e.U_)(c);else if(b.children(a).length>0){h.Rm.info("A pure cluster node XBX1",a,c.id,c.x,c.y,c.width,c.height,b.parent(a)),c.height+=v,b.node(c.parentId);let d=c?.padding/2||0,f=c?.labelBBox?.height||0;h.Rm.debug("OffsetY",f-d||0,"labelHeight",f,"halfPadding",d),await (0,e.U)(p,c),o.get(c.id).node=c}else{let a=b.node(c.parentId);c.y+=v/2,h.Rm.info("A regular node XBX1 - using the padding",c.id,"parent",c.parentId,c.width,c.height,c.x,c.y,"offsetY",c.offsetY,"parent",a,a?.offsetY,c),(0,e.U_)(c)}})),b.edges().forEach(function(a){let e=b.edge(a);h.Rm.info("Edge "+a.v+" -> "+a.w+": "+JSON.stringify(e),e),e.points.forEach(a=>a.y+=v/2);let f=b.node(a.v);var i=b.node(a.w);let j=(0,d.Jo)(q,e,o,c,f,i,g);(0,d.T_)(e,j)}),b.nodes().forEach(function(a){let c=b.node(a);h.Rm.info(a,c.type,c.diff),c.isGroup&&(u=c.diff)}),h.Rm.warn("Returning from recursive render XAX",n,u),{elem:n,diff:u}},"recursiveRender"),E=(0,h.K2)(async(a,b)=>{let c=new n.T({multigraph:!0,compound:!0}).setGraph({rankdir:a.direction,nodesep:a.config?.nodeSpacing||a.config?.flowchart?.nodeSpacing||a.nodeSpacing,ranksep:a.config?.rankSpacing||a.config?.flowchart?.rankSpacing||a.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),f=b.select("g");(0,d.g0)(f,a.markers,a.type,a.diagramId),(0,e.gh)(),(0,d.IU)(),(0,e.IU)(),r(),a.nodes.forEach(a=>{c.setNode(a.id,{...a}),a.parentId&&c.setParent(a.id,a.parentId)}),h.Rm.debug("Edges:",a.edges),a.edges.forEach(a=>{if(a.start===a.end){let b=a.start,d=b+"---"+b+"---1",e=b+"---"+b+"---2",f=c.node(b);c.setNode(d,{domId:d,id:d,parentId:f.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),c.setParent(d,f.parentId),c.setNode(e,{domId:e,id:e,parentId:f.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),c.setParent(e,f.parentId);let g=structuredClone(a),h=structuredClone(a),i=structuredClone(a);g.label="",g.arrowTypeEnd="none",g.endLabelLeft="",g.endLabelRight="",g.startLabelLeft="",g.id=b+"-cyclic-special-1",h.startLabelRight="",h.startLabelLeft="",h.endLabelLeft="",h.endLabelRight="",h.arrowTypeStart="none",h.arrowTypeEnd="none",h.id=b+"-cyclic-special-mid",i.label="",i.startLabelRight="",i.startLabelLeft="",i.arrowTypeStart="none",f.isGroup&&(g.fromCluster=b,i.toCluster=b),i.id=b+"-cyclic-special-2",i.arrowTypeStart="none",c.setEdge(b,d,g,b+"-cyclic-special-0"),c.setEdge(d,e,h,b+"-cyclic-special-1"),c.setEdge(e,b,i,b+"-cyc<lic-special-2")}else c.setEdge(a.start,a.end,{...a},a.id)}),h.Rm.warn("Graph at first:",JSON.stringify(m(c))),z(c),h.Rm.warn("Graph after XAX:",JSON.stringify(m(c)));let i=(0,g.D7)();await D(f,c,a.type,a.diagramId,void 0,i)},"render")}};
|