d1s 0.3.14 → 0.3.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.next/BUILD_ID +1 -1
- package/dist/.next/app-build-manifest.json +146 -127
- package/dist/.next/app-path-routes-manifest.json +8 -6
- package/dist/.next/build-manifest.json +14 -14
- package/dist/.next/prerender-manifest.json +3 -3
- package/dist/.next/react-loadable-manifest.json +36 -3
- package/dist/.next/routes-manifest.json +8 -0
- package/dist/.next/server/app/[...studio]/page.js +2 -0
- package/dist/.next/server/app/[...studio]/page.js.nft.json +1 -0
- package/dist/.next/server/app/[...studio]/page_client-reference-manifest.js +1 -0
- package/dist/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/_not-found.html +1 -1
- package/dist/.next/server/app/_not-found.rsc +12 -12
- package/dist/.next/server/app/api/cloudflare/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/databases/route.js +1 -1
- package/dist/.next/server/app/api/databases/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/migrations/list/route.js +1 -1
- package/dist/.next/server/app/api/migrations/list/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/migrations/sync/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/migrations/sync-files/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/pro/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/pull-data/confirm/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/pull-remote/confirm/route.js +1 -1
- package/dist/.next/server/app/api/pull-remote/confirm/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/pull-remote/preview/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/push-remote/confirm/route.js +1 -1
- package/dist/.next/server/app/api/push-remote/confirm/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/push-remote/preview/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/query/route.js +2 -2
- package/dist/.next/server/app/api/query/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/schema/route.js +55 -1
- package/dist/.next/server/app/api/schema/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/schema/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/tables/[name]/import/route.js +1 -1
- package/dist/.next/server/app/api/tables/[name]/import/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/tables/[name]/route.js +2 -2
- package/dist/.next/server/app/api/tables/[name]/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/tables/route.js +1 -1
- package/dist/.next/server/app/api/tables/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/telemetry/route.js +1 -0
- package/dist/.next/server/app/api/telemetry/route.js.nft.json +1 -0
- package/dist/.next/server/app/api/telemetry/route_client-reference-manifest.js +1 -0
- package/dist/.next/server/app/api/time-travel/preview/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/time-travel/restore/route.js +1 -1
- package/dist/.next/server/app/api/time-travel/restore/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/update/route.js +1 -1
- package/dist/.next/server/app/api/update/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/index.html +2 -2
- package/dist/.next/server/app/index.rsc +14 -14
- package/dist/.next/server/app/page.js +2 -59
- package/dist/.next/server/app/page.js.nft.json +1 -1
- package/dist/.next/server/app/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app-paths-manifest.json +8 -6
- package/dist/.next/server/chunks/366.js +1 -1
- package/dist/.next/server/chunks/386.js +2 -2
- package/dist/.next/server/chunks/560.js +54 -0
- package/dist/.next/server/chunks/602.js +5 -0
- package/dist/.next/server/chunks/839.js +1 -1
- package/dist/.next/server/middleware-build-manifest.js +1 -1
- package/dist/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/dist/.next/server/next-font-manifest.js +1 -1
- package/dist/.next/server/next-font-manifest.json +1 -1
- package/dist/.next/server/pages/404.html +1 -1
- package/dist/.next/server/pages/500.html +1 -1
- package/dist/.next/server/server-reference-manifest.json +1 -1
- package/dist/.next/static/G1OnwcVv2tEZk5TPti3NX/_buildManifest.js +1 -0
- package/dist/.next/static/chunks/164f4fb6.ca8844c7aa0d818b.js +1 -0
- package/dist/.next/static/chunks/195.7e82e2247322aa7c.js +1 -0
- package/dist/.next/static/chunks/199.36887c084c5a42f2.js +1 -0
- package/dist/.next/static/chunks/1a258343.d8cc6367f6702160.js +1 -0
- package/dist/.next/static/chunks/241.8d5142e5ca2adc27.js +1 -0
- package/dist/.next/static/chunks/255-249e483089def0f6.js +1 -0
- package/dist/.next/static/chunks/2f0b94e8.ea60580ce276fab2.js +1 -0
- package/dist/.next/static/chunks/311.3fdc12abbef5cc96.js +1 -0
- package/dist/.next/static/chunks/421-0a458fb5e77c694a.js +1 -0
- package/dist/.next/static/chunks/4bd1b696-409494caf8c83275.js +1 -0
- package/dist/.next/static/chunks/654-687990059c93dd4a.js +1 -0
- package/dist/.next/static/chunks/675-8e205c837b6393a6.js +1 -0
- package/dist/.next/static/chunks/69-7a6ccf1639eeb906.js +1 -0
- package/dist/.next/static/chunks/823-dc74fc65f3694c6c.js +1 -0
- package/dist/.next/static/chunks/931.cf77a97cd839555d.js +1 -0
- package/dist/.next/static/chunks/950.76c5dbcabbb992b0.js +1 -0
- package/dist/.next/static/chunks/ad2866b8.635304a38afc0b68.js +1 -0
- package/dist/.next/static/chunks/app/[...studio]/page-38356f60d1fbc393.js +1 -0
- package/dist/.next/static/chunks/app/_not-found/page-97885f45f20098bb.js +1 -0
- package/dist/.next/static/chunks/app/api/cloudflare/route-baabb0d8a398f597.js +1 -0
- package/dist/.next/static/chunks/app/api/databases/route-baabb0d8a398f597.js +1 -0
- package/dist/.next/static/chunks/app/api/migrations/list/route-baabb0d8a398f597.js +1 -0
- package/dist/.next/static/chunks/app/api/migrations/sync/route-baabb0d8a398f597.js +1 -0
- package/dist/.next/static/chunks/app/api/migrations/sync-files/route-baabb0d8a398f597.js +1 -0
- package/dist/.next/static/chunks/app/api/pro/route-baabb0d8a398f597.js +1 -0
- package/dist/.next/static/chunks/app/api/pull-data/confirm/route-baabb0d8a398f597.js +1 -0
- package/dist/.next/static/chunks/app/api/pull-remote/confirm/route-baabb0d8a398f597.js +1 -0
- package/dist/.next/static/chunks/app/api/pull-remote/preview/route-baabb0d8a398f597.js +1 -0
- package/dist/.next/static/chunks/app/api/push-remote/confirm/route-baabb0d8a398f597.js +1 -0
- package/dist/.next/static/chunks/app/api/push-remote/preview/route-baabb0d8a398f597.js +1 -0
- package/dist/.next/static/chunks/app/api/query/route-baabb0d8a398f597.js +1 -0
- package/dist/.next/static/chunks/app/api/schema/route-baabb0d8a398f597.js +1 -0
- package/dist/.next/static/chunks/app/api/tables/[name]/import/route-baabb0d8a398f597.js +1 -0
- package/dist/.next/static/chunks/app/api/tables/[name]/route-baabb0d8a398f597.js +1 -0
- package/dist/.next/static/chunks/app/api/tables/route-baabb0d8a398f597.js +1 -0
- package/dist/.next/static/chunks/app/api/telemetry/route-baabb0d8a398f597.js +1 -0
- package/dist/.next/static/chunks/app/api/time-travel/preview/route-baabb0d8a398f597.js +1 -0
- package/dist/.next/static/chunks/app/api/time-travel/restore/route-baabb0d8a398f597.js +1 -0
- package/dist/.next/static/chunks/app/api/update/route-baabb0d8a398f597.js +1 -0
- package/dist/.next/static/chunks/app/layout-43778cd3861c1c13.js +1 -0
- package/dist/.next/static/chunks/app/page-0d3e101d89fb6b5c.js +1 -0
- package/dist/.next/static/chunks/bc98253f.d6fc8a0138855acd.js +1 -0
- package/dist/.next/static/chunks/framework-1ce91eb6f9ecda85.js +1 -0
- package/dist/.next/static/chunks/main-app-70845f4d3fb604e3.js +1 -0
- package/dist/.next/static/chunks/main-f7b2399a8f36d1ab.js +1 -0
- package/dist/.next/static/chunks/pages/_app-5addca2b3b969fde.js +1 -0
- package/dist/.next/static/chunks/pages/_error-022e4ac7bbb9914f.js +1 -0
- package/dist/.next/static/chunks/webpack-e5f3140484164ef5.js +1 -0
- package/dist/.next/static/css/e7ec8efa0df1ac51.css +3 -0
- package/dist/.next/static/media/013b72fa676f92e0-s.woff2 +0 -0
- package/dist/.next/static/media/22a5144ee8d83bca-s.p.woff2 +0 -0
- package/dist/.next/static/media/2b5b02fc7e511755-s.woff2 +0 -0
- package/dist/.next/static/media/65f03d54ccadf4a8-s.woff2 +0 -0
- package/dist/.next/static/media/7d4881bb7e1bf84d-s.p.woff2 +0 -0
- package/dist/.next/static/media/9766a7e9e2e0ad5a-s.woff2 +0 -0
- package/dist/.next/static/media/aa016aab0e6d1295-s.woff2 +0 -0
- package/dist/.next/static/media/b66cf8e69499582a-s.woff2 +0 -0
- package/dist/.next/static/media/b9408752a0c24fb9-s.woff2 +0 -0
- package/dist/.next/static/media/e038a29029a234f2-s.woff2 +0 -0
- package/dist/.next/static/media/f639721981034f88-s.woff2 +0 -0
- package/dist/.next/trace +4 -3
- package/dist/app/[...studio]/page.jsx +1 -0
- package/dist/app/api/query/route.js +67 -1
- package/dist/app/api/schema/route.js +108 -22
- package/dist/app/api/telemetry/route.js +42 -0
- package/dist/app/page.jsx +122 -6
- package/dist/lib/client-telemetry.js +13 -0
- package/dist/lib/local-db.js +14 -2
- package/dist/lib/telemetry.js +13 -8
- package/package.json +3 -1
- package/dist/.next/static/chunks/1a258343.234dd786cf6c097e.js +0 -1
- package/dist/.next/static/chunks/255-4f212684648fcab9.js +0 -1
- package/dist/.next/static/chunks/421-55f8ce492f5bd9c3.js +0 -1
- package/dist/.next/static/chunks/4bd1b696-c023c6e3521b1417.js +0 -1
- package/dist/.next/static/chunks/654-f2f8931465d44ae7.js +0 -1
- package/dist/.next/static/chunks/69-00a70b2df83ed9ee.js +0 -1
- package/dist/.next/static/chunks/823-77b9a2d152da81dd.js +0 -1
- package/dist/.next/static/chunks/95.8b08bca2768cb67c.js +0 -1
- package/dist/.next/static/chunks/950.edd33691c78c1807.js +0 -1
- package/dist/.next/static/chunks/app/_not-found/page-255a8a616fa8d3a5.js +0 -1
- package/dist/.next/static/chunks/app/api/cloudflare/route-58aca057db1e5530.js +0 -1
- package/dist/.next/static/chunks/app/api/databases/route-58aca057db1e5530.js +0 -1
- package/dist/.next/static/chunks/app/api/migrations/list/route-58aca057db1e5530.js +0 -1
- package/dist/.next/static/chunks/app/api/migrations/sync/route-58aca057db1e5530.js +0 -1
- package/dist/.next/static/chunks/app/api/migrations/sync-files/route-58aca057db1e5530.js +0 -1
- package/dist/.next/static/chunks/app/api/pro/route-58aca057db1e5530.js +0 -1
- package/dist/.next/static/chunks/app/api/pull-data/confirm/route-58aca057db1e5530.js +0 -1
- package/dist/.next/static/chunks/app/api/pull-remote/confirm/route-58aca057db1e5530.js +0 -1
- package/dist/.next/static/chunks/app/api/pull-remote/preview/route-58aca057db1e5530.js +0 -1
- package/dist/.next/static/chunks/app/api/push-remote/confirm/route-58aca057db1e5530.js +0 -1
- package/dist/.next/static/chunks/app/api/push-remote/preview/route-58aca057db1e5530.js +0 -1
- package/dist/.next/static/chunks/app/api/query/route-58aca057db1e5530.js +0 -1
- package/dist/.next/static/chunks/app/api/schema/route-58aca057db1e5530.js +0 -1
- package/dist/.next/static/chunks/app/api/tables/[name]/import/route-58aca057db1e5530.js +0 -1
- package/dist/.next/static/chunks/app/api/tables/[name]/route-58aca057db1e5530.js +0 -1
- package/dist/.next/static/chunks/app/api/tables/route-58aca057db1e5530.js +0 -1
- package/dist/.next/static/chunks/app/api/time-travel/preview/route-58aca057db1e5530.js +0 -1
- package/dist/.next/static/chunks/app/api/time-travel/restore/route-58aca057db1e5530.js +0 -1
- package/dist/.next/static/chunks/app/api/update/route-58aca057db1e5530.js +0 -1
- package/dist/.next/static/chunks/app/layout-a5219438265f0b6c.js +0 -1
- package/dist/.next/static/chunks/app/page-5f5e2a64d451ecb1.js +0 -1
- package/dist/.next/static/chunks/framework-a6e0b7e30f98059a.js +0 -1
- package/dist/.next/static/chunks/main-0bd218f776705cbf.js +0 -1
- package/dist/.next/static/chunks/main-app-d20e9d5e211da7c8.js +0 -1
- package/dist/.next/static/chunks/pages/_app-7d307437aca18ad4.js +0 -1
- package/dist/.next/static/chunks/pages/_error-cb2a52f75f2162e2.js +0 -1
- package/dist/.next/static/chunks/webpack-d5e8b5757f0fec83.js +0 -1
- package/dist/.next/static/css/262ae258bbcfd289.css +0 -3
- package/dist/.next/static/media/4cf2300e9c8272f7-s.p.woff2 +0 -0
- package/dist/.next/static/media/747892c23ea88013-s.woff2 +0 -0
- package/dist/.next/static/media/8d697b304b401681-s.woff2 +0 -0
- package/dist/.next/static/media/93f479601ee12b01-s.p.woff2 +0 -0
- package/dist/.next/static/media/9610d9e46709d722-s.woff2 +0 -0
- package/dist/.next/static/media/ba015fad6dcf6784-s.woff2 +0 -0
- package/dist/.next/static/o_MkOiVF7_eRHovqofgAP/_buildManifest.js +0 -1
- /package/dist/.next/static/{o_MkOiVF7_eRHovqofgAP → G1OnwcVv2tEZk5TPti3NX}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[195],{5225:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});let r=(0,n(14294).A)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},8301:()=>{},8828:(t,e,n)=>{"use strict";t.exports=n(83654)},14806:(t,e,n)=>{"use strict";t.exports=n(30125)},17482:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});let r=(0,n(14294).A)("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]])},23718:(t,e,n)=>{"use strict";n.d(e,{h:()=>h,n:()=>s});var r=n(12115),i=n(8828);let o=t=>{let e,n=new Set,r=(t,r)=>{let i="function"==typeof t?t(e):t;if(!Object.is(i,e)){let t=e;e=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},e,i),n.forEach(n=>n(e,t))}},i=()=>e,o={setState:r,getState:i,getInitialState:()=>a,subscribe:t=>(n.add(t),()=>n.delete(t)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},a=e=t(r,i,o);return o},{useDebugValue:a}=r,{useSyncExternalStoreWithSelector:u}=i,l=t=>t;function s(t,e=l,n){let r=u(t.subscribe,t.getState,t.getServerState||t.getInitialState,e,n);return a(r),r}let c=(t,e)=>{let n=(t=>t?o(t):o)(t),r=(t,r=e)=>s(n,t,r);return Object.assign(r,n),r},h=(t,e)=>t?c(t,e):c},30125:(t,e,n)=>{"use strict";var r=n(12115),i="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},o=r.useState,a=r.useEffect,u=r.useLayoutEffect,l=r.useDebugValue;function s(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!i(t,n)}catch(t){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var n=e(),r=o({inst:{value:n,getSnapshot:e}}),i=r[0].inst,c=r[1];return u(function(){i.value=n,i.getSnapshot=e,s(i)&&c({inst:i})},[t,n,e]),a(function(){return s(i)&&c({inst:i}),t(function(){s(i)&&c({inst:i})})},[t]),l(n),n};e.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},43621:(t,e,n)=>{"use strict";n.d(e,{A:()=>function t(e){if("string"==typeof e||"number"==typeof e)return""+e;let n="";if(Array.isArray(e))for(let r=0,i;r<e.length;r++)""!==(i=t(e[r]))&&(n+=(n&&" ")+i);else for(let t in e)e[t]&&(n+=(n&&" ")+t);return n}})},55958:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});let r=(0,n(14294).A)("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]])},57459:(t,e,n)=>{"use strict";function r(t,e){if(Object.is(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(let[n,r]of t)if(!Object.is(r,e.get(n)))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(let n of t)if(!e.has(n))return!1;return!0}let n=Object.keys(t);if(n.length!==Object.keys(e).length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(e,r)||!Object.is(t[r],e[r]))return!1;return!0}n.d(e,{x:()=>r})},68288:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});let r=(0,n(14294).A)("Key",[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]])},76122:(t,e,n)=>{"use strict";n.d(e,{Do:()=>u,WZ:()=>i,TG:()=>l,ny:()=>o,yX:()=>s,xN:()=>c,Qc:()=>a,I$:()=>rc,aQ:()=>ry,di:()=>rg,kO:()=>rE,rN:()=>nF,bi:()=>rt,_s:()=>n$,aE:()=>nt,Hm:()=>n8,tM:()=>eG,KE:()=>ng,tn:()=>eQ,xc:()=>eZ,us:()=>nA,IO:()=>e7,e_:()=>nC,Fp:()=>nj,Mi:()=>nf,HF:()=>e1,Eo:()=>nT,b5:()=>nJ,Tq:()=>ne,qX:()=>nX,q1:()=>nB,M_:()=>n1,oj:()=>nP,aZ:()=>e6,aW:()=>n5,uD:()=>nE,Jo:()=>e4,U$:()=>e9,X6:()=>nd,oN:()=>nQ,ah:()=>nK,R4:()=>n_,r8:()=>rr,ZO:()=>eU,bK:()=>eJ,b$:()=>e2,uj:()=>nV,v5:()=>nH,Ue:()=>nb,Er:()=>nL,oB:()=>e5,kf:()=>ny,mW:()=>np,Q6:()=>nN,QE:()=>nk,kM:()=>nc,No:()=>ro,Ff:()=>nv,zj:()=>nx,s_:()=>nm,vS:()=>n9,qn:()=>ru,uL:()=>ri,YN:()=>nz});var r,i,o,a,u,l,s,c,h={value:()=>{}};function f(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw Error("illegal type: "+t);r[t]=[]}return new d(r)}function d(t){this._=t}function p(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=h,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}function y(){}function g(t){return null==t?y:function(){return this.querySelector(t)}}function m(){return[]}function v(t){return null==t?m:function(){return this.querySelectorAll(t)}}function x(t){return function(){return this.matches(t)}}function w(t){return function(e){return e.matches(t)}}d.prototype=f.prototype={constructor:d,on:function(t,e){var n,r=this._,i=(t+"").trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");if(n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!r.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:e}}),o=-1,a=i.length;if(arguments.length<2){for(;++o<a;)if((n=(t=i[o]).type)&&(n=function(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}(r[n],t.name)))return n;return}if(null!=e&&"function"!=typeof e)throw Error("invalid callback: "+e);for(;++o<a;)if(n=(t=i[o]).type)r[n]=p(r[n],t.name,e);else if(null==e)for(n in r)r[n]=p(r[n],t.name,null);return this},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new d(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(r=this._[t],o=0,n=r.length;o<n;++o)r[o].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(e,n)}};var _=Array.prototype.find;function b(){return this.firstElementChild}var M=Array.prototype.filter;function E(){return Array.from(this.children)}function k(t){return Array(t.length)}function A(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function $(t,e,n,r,i,o){for(var a,u=0,l=e.length,s=o.length;u<s;++u)(a=e[u])?(a.__data__=o[u],r[u]=a):n[u]=new A(t,o[u]);for(;u<l;++u)(a=e[u])&&(i[u]=a)}function z(t,e,n,r,i,o,a){var u,l,s,c=new Map,h=e.length,f=o.length,d=Array(h);for(u=0;u<h;++u)(l=e[u])&&(d[u]=s=a.call(l,l.__data__,u,e)+"",c.has(s)?i[u]=l:c.set(s,l));for(u=0;u<f;++u)s=a.call(t,o[u],u,o)+"",(l=c.get(s))?(r[u]=l,l.__data__=o[u],c.delete(s)):n[u]=new A(t,o[u]);for(u=0;u<h;++u)(l=e[u])&&c.get(d[u])===l&&(i[u]=l)}function N(t){return t.__data__}function S(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}A.prototype={constructor:A,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var T="http://www.w3.org/1999/xhtml";let P={svg:"http://www.w3.org/2000/svg",xhtml:T,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function I(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),P.hasOwnProperty(e)?{space:P[e],local:t}:t}function H(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function L(t,e){return t.style.getPropertyValue(e)||H(t).getComputedStyle(t,null).getPropertyValue(e)}function B(t){return t.trim().split(/^|\s+/)}function O(t){return t.classList||new C(t)}function C(t){this._node=t,this._names=B(t.getAttribute("class")||"")}function D(t,e){for(var n=O(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function q(t,e){for(var n=O(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function j(){this.textContent=""}function R(){this.innerHTML=""}function X(){this.nextSibling&&this.parentNode.appendChild(this)}function V(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Y(t){var e=I(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===T&&e.documentElement.namespaceURI===T?e.createElement(t):e.createElementNS(n,t)}})(e)}function F(){return null}function K(){var t=this.parentNode;t&&t.removeChild(this)}function W(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Z(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function U(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r<o;++r)(n=e[r],t.type&&n.type!==t.type||n.name!==t.name)?e[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?e.length=i:delete this.__on}}}function Q(t,e,n){return function(){var r,i=this.__on,o=function(t){e.call(this,t,this.__data__)};if(i){for(var a=0,u=i.length;a<u;++a)if((r=i[a]).type===t.type&&r.name===t.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),r.value=e;return}}this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}function G(t,e,n){var r=H(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}C.prototype={add:function(t){0>this._names.indexOf(t)&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var J=[null];function tt(t,e){this._groups=t,this._parents=e}function te(){return new tt([[document.documentElement]],J)}function tn(t){return"string"==typeof t?new tt([[document.querySelector(t)]],[document.documentElement]):new tt([[t]],J)}function tr(t,e){if(t=function(t){let e;for(;e=t.sourceEvent;)t=e;return t}(t),void 0===e&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(e.getScreenCTM().inverse())).x,r.y]}if(e.getBoundingClientRect){var i=e.getBoundingClientRect();return[t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop]}}return[t.pageX,t.pageY]}tt.prototype=te.prototype={constructor:tt,select:function(t){"function"!=typeof t&&(t=g(t));for(var e=this._groups,n=e.length,r=Array(n),i=0;i<n;++i)for(var o,a,u=e[i],l=u.length,s=r[i]=Array(l),c=0;c<l;++c)(o=u[c])&&(a=t.call(o,o.__data__,c,u))&&("__data__"in o&&(a.__data__=o.__data__),s[c]=a);return new tt(r,this._parents)},selectAll:function(t){if("function"==typeof t){var e;e=t,t=function(){var t;return t=e.apply(this,arguments),null==t?[]:Array.isArray(t)?t:Array.from(t)}}else t=v(t);for(var n=this._groups,r=n.length,i=[],o=[],a=0;a<r;++a)for(var u,l=n[a],s=l.length,c=0;c<s;++c)(u=l[c])&&(i.push(t.call(u,u.__data__,c,l)),o.push(u));return new tt(i,o)},selectChild:function(t){var e;return this.select(null==t?b:(e="function"==typeof t?t:w(t),function(){return _.call(this.children,e)}))},selectChildren:function(t){var e;return this.selectAll(null==t?E:(e="function"==typeof t?t:w(t),function(){return M.call(this.children,e)}))},filter:function(t){"function"!=typeof t&&(t=x(t));for(var e=this._groups,n=e.length,r=Array(n),i=0;i<n;++i)for(var o,a=e[i],u=a.length,l=r[i]=[],s=0;s<u;++s)(o=a[s])&&t.call(o,o.__data__,s,a)&&l.push(o);return new tt(r,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,N);var n=e?z:$,r=this._parents,i=this._groups;"function"!=typeof t&&(v=t,t=function(){return v});for(var o=i.length,a=Array(o),u=Array(o),l=Array(o),s=0;s<o;++s){var c=r[s],h=i[s],f=h.length,d="object"==typeof(m=t.call(c,c&&c.__data__,s,r))&&"length"in m?m:Array.from(m),p=d.length,y=u[s]=Array(p),g=a[s]=Array(p);n(c,h,y,g,l[s]=Array(f),d,e);for(var m,v,x,w,_=0,b=0;_<p;++_)if(x=y[_]){for(_>=b&&(b=_+1);!(w=g[b])&&++b<p;);x._next=w||null}}return(a=new tt(a,r))._enter=u,a._exit=l,a},enter:function(){return new tt(this._enter||this._groups.map(k),this._parents)},exit:function(){return new tt(this._exit||this._groups.map(k),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,o=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=e&&(i=e(i))&&(i=i.selection()),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,o=r.length,a=Math.min(i,o),u=Array(i),l=0;l<a;++l)for(var s,c=n[l],h=r[l],f=c.length,d=u[l]=Array(f),p=0;p<f;++p)(s=c[p]||h[p])&&(d[p]=s);for(;l<i;++l)u[l]=n[l];return new tt(u,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=S);for(var n=this._groups,r=n.length,i=Array(r),o=0;o<r;++o){for(var a,u=n[o],l=u.length,s=i[o]=Array(l),c=0;c<l;++c)(a=u[c])&&(s[c]=a);s.sort(e)}return new tt(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){let t=0;for(let e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,o=e[n],a=0,u=o.length;a<u;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,e){var n=I(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof e?n.local?function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}:function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}:n.local?function(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}:function(t,e){return function(){this.setAttribute(t,e)}})(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}:function(t,e,n){return function(){this.style.setProperty(t,e,n)}})(t,e,null==n?"":n)):L(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var n=B(t+"");if(arguments.length<2){for(var r=O(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?function(t,e){return function(){(e.apply(this,arguments)?D:q)(this,t)}}:e?function(t){return function(){D(this,t)}}:function(t){return function(){q(this,t)}})(n,e))},text:function(t){return arguments.length?this.each(null==t?j:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?R:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML},raise:function(){return this.each(X)},lower:function(){return this.each(V)},append:function(t){var e="function"==typeof t?t:Y(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var n="function"==typeof t?t:Y(t),r=null==e?F:"function"==typeof e?e:g(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(K)},clone:function(t){return this.select(t?Z:W)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,o=(t+"").trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}),a=o.length;if(arguments.length<2){var u=this.node().__on;if(u){for(var l,s=0,c=u.length;s<c;++s)for(r=0,l=u[s];r<a;++r)if((i=o[r]).type===l.type&&i.name===l.name)return l.value}return}for(r=0,u=e?Q:U;r<a;++r)this.each(u(o[r],e,n));return this},dispatch:function(t,e){return this.each(("function"==typeof e?function(t,e){return function(){return G(this,t,e.apply(this,arguments))}}:function(t,e){return function(){return G(this,t,e)}})(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r,i=t[e],o=0,a=i.length;o<a;++o)(r=i[o])&&(yield r)}};let ti={passive:!1},to={capture:!0,passive:!1};function ta(t){t.stopImmediatePropagation()}function tu(t){t.preventDefault(),t.stopImmediatePropagation()}function tl(t){var e=t.document.documentElement,n=tn(t).on("dragstart.drag",tu,to);"onselectstart"in e?n.on("selectstart.drag",tu,to):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}function ts(t,e){var n=t.document.documentElement,r=tn(t).on("dragstart.drag",null);e&&(r.on("click.drag",tu,to),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}let tc=t=>()=>t;function th(t,{sourceEvent:e,subject:n,target:r,identifier:i,active:o,x:a,y:u,dx:l,dy:s,dispatch:c}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:a,enumerable:!0,configurable:!0},y:{value:u,enumerable:!0,configurable:!0},dx:{value:l,enumerable:!0,configurable:!0},dy:{value:s,enumerable:!0,configurable:!0},_:{value:c}})}function tf(t){return!t.ctrlKey&&!t.button}function td(){return this.parentNode}function tp(t,e){return null==e?{x:t.x,y:t.y}:e}function ty(){return navigator.maxTouchPoints||"ontouchstart"in this}function tg(t){return((t=Math.exp(t))+1/t)/2}th.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};let tm=function t(e,n,r){function i(t,i){var o,a,u=t[0],l=t[1],s=t[2],c=i[0],h=i[1],f=i[2],d=c-u,p=h-l,y=d*d+p*p;if(y<1e-12)a=Math.log(f/s)/e,o=function(t){return[u+t*d,l+t*p,s*Math.exp(e*t*a)]};else{var g=Math.sqrt(y),m=(f*f-s*s+r*y)/(2*s*n*g),v=(f*f-s*s-r*y)/(2*f*n*g),x=Math.log(Math.sqrt(m*m+1)-m);a=(Math.log(Math.sqrt(v*v+1)-v)-x)/e,o=function(t){var r,i,o=t*a,c=tg(x),h=s/(n*g)*(c*(((r=Math.exp(2*(r=e*o+x)))-1)/(r+1))-((i=Math.exp(i=x))-1/i)/2);return[u+h*d,l+h*p,s*c/tg(e*o+x)]}}return o.duration=1e3*a*e/Math.SQRT2,o}return i.rho=function(e){var n=Math.max(.001,+e),r=n*n;return t(n,r,r*r)},i}(Math.SQRT2,2,4);var tv,tx,tw=0,t_=0,tb=0,tM=0,tE=0,tk=0,tA="object"==typeof performance&&performance.now?performance:Date,t$="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function tz(){return tE||(t$(tN),tE=tA.now()+tk)}function tN(){tE=0}function tS(){this._call=this._time=this._next=null}function tT(t,e,n){var r=new tS;return r.restart(t,e,n),r}function tP(){tE=(tM=tA.now())+tk,tw=t_=0;try{tz(),++tw;for(var t,e=tv;e;)(t=tE-e._time)>=0&&e._call.call(void 0,t),e=e._next;--tw}finally{tw=0,function(){for(var t,e,n=tv,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:tv=e);tx=t,tH(r)}(),tE=0}}function tI(){var t=tA.now(),e=t-tM;e>1e3&&(tk-=e,tM=t)}function tH(t){!tw&&(t_&&(t_=clearTimeout(t_)),t-tE>24?(t<1/0&&(t_=setTimeout(tP,t-tA.now()-tk)),tb&&(tb=clearInterval(tb))):(tb||(tM=tA.now(),tb=setInterval(tI,1e3)),tw=1,t$(tP)))}function tL(t,e,n){var r=new tS;return e=null==e?0:+e,r.restart(n=>{r.stop(),t(n+e)},e,n),r}tS.prototype=tT.prototype={constructor:tS,restart:function(t,e,n){if("function"!=typeof t)throw TypeError("callback is not a function");n=(null==n?tz():+n)+(null==e?0:+e),this._next||tx===this||(tx?tx._next=this:tv=this,tx=this),this._call=t,this._time=n,tH()},stop:function(){this._call&&(this._call=null,this._time=1/0,tH())}};var tB=f("start","end","cancel","interrupt"),tO=[];function tC(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(l){var s,c,h,f;if(1!==n.state)return u();for(s in i)if((f=i[s]).name===n.name){if(3===f.state)return tL(o);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[s]):+s<e&&(f.state=6,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete i[s])}if(tL(function(){3===n.state&&(n.state=4,n.timer.restart(a,n.delay,n.time),a(l))}),n.state=2,n.on.call("start",t,t.__data__,n.index,n.group),2===n.state){for(s=0,n.state=3,r=Array(h=n.tween.length),c=-1;s<h;++s)(f=n.tween[s].value.call(t,t.__data__,n.index,n.group))&&(r[++c]=f);r.length=c+1}}function a(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(u),n.state=5,1),o=-1,a=r.length;++o<a;)r[o].call(t,i);5===n.state&&(n.on.call("end",t,t.__data__,n.index,n.group),u())}function u(){for(var r in n.state=6,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=tT(function(t){n.state=1,n.timer.restart(o,n.delay,n.time),n.delay<=t&&o(t-n.delay)},0,n.time)}(t,n,{name:e,index:r,group:i,on:tB,tween:tO,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function tD(t,e){var n=tj(t,e);if(n.state>0)throw Error("too late; already scheduled");return n}function tq(t,e){var n=tj(t,e);if(n.state>3)throw Error("too late; already running");return n}function tj(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw Error("transition not found");return n}function tR(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o){if((n=o[i]).name!==e){a=!1;continue}r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]}a&&delete t.__transition}}function tX(t,e){return t*=1,e*=1,function(n){return t*(1-n)+e*n}}var tV=180/Math.PI,tY={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function tF(t,e,n,r,i,o){var a,u,l;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(l=t*n+e*r)&&(n-=t*l,r-=e*l),(u=Math.sqrt(n*n+r*r))&&(n/=u,r/=u,l/=u),t*r<e*n&&(t=-t,e=-e,l=-l,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*tV,skewX:Math.atan(l)*tV,scaleX:a,scaleY:u}}function tK(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(o,a){var u,l,s,c,h=[],f=[];return o=t(o),a=t(a),!function(t,r,i,o,a,u){if(t!==i||r!==o){var l=a.push("translate(",null,e,null,n);u.push({i:l-4,x:tX(t,i)},{i:l-2,x:tX(r,o)})}else(i||o)&&a.push("translate("+i+e+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,h,f),u=o.rotate,l=a.rotate,u!==l?(u-l>180?l+=360:l-u>180&&(u+=360),f.push({i:h.push(i(h)+"rotate(",null,r)-2,x:tX(u,l)})):l&&h.push(i(h)+"rotate("+l+r),s=o.skewX,c=a.skewX,s!==c?f.push({i:h.push(i(h)+"skewX(",null,r)-2,x:tX(s,c)}):c&&h.push(i(h)+"skewX("+c+r),!function(t,e,n,r,o,a){if(t!==n||e!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:tX(t,n)},{i:u-2,x:tX(e,r)})}else(1!==n||1!==r)&&o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,h,f),o=a=null,function(t){for(var e,n=-1,r=f.length;++n<r;)h[(e=f[n]).i]=e.x(t);return h.join("")}}}var tW=tK(function(t){let e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?tY:tF(e.a,e.b,e.c,e.d,e.e,e.f)},"px, ","px)","deg)"),tZ=tK(function(t){return null==t?tY:(r||(r=document.createElementNS("http://www.w3.org/2000/svg","g")),r.setAttribute("transform",t),t=r.transform.baseVal.consolidate())?tF((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):tY},", ",")",")");function tU(t,e,n){var r=t._id;return t.each(function(){var t=tq(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return tj(t,r).value[e]}}function tQ(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function tG(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function tJ(){}var t0="\\s*([+-]?\\d+)\\s*",t1="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",t2="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",t5=/^#([0-9a-f]{3,8})$/,t8=RegExp(`^rgb\\(${t0},${t0},${t0}\\)$`),t3=RegExp(`^rgb\\(${t2},${t2},${t2}\\)$`),t4=RegExp(`^rgba\\(${t0},${t0},${t0},${t1}\\)$`),t6=RegExp(`^rgba\\(${t2},${t2},${t2},${t1}\\)$`),t9=RegExp(`^hsl\\(${t1},${t2},${t2}\\)$`),t7=RegExp(`^hsla\\(${t1},${t2},${t2},${t1}\\)$`),et={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function ee(){return this.rgb().formatHex()}function en(){return this.rgb().formatRgb()}function er(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=t5.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?ei(e):3===n?new eu(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?eo(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?eo(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=t8.exec(t))?new eu(e[1],e[2],e[3],1):(e=t3.exec(t))?new eu(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=t4.exec(t))?eo(e[1],e[2],e[3],e[4]):(e=t6.exec(t))?eo(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=t9.exec(t))?ed(e[1],e[2]/100,e[3]/100,1):(e=t7.exec(t))?ed(e[1],e[2]/100,e[3]/100,e[4]):et.hasOwnProperty(t)?ei(et[t]):"transparent"===t?new eu(NaN,NaN,NaN,0):null}function ei(t){return new eu(t>>16&255,t>>8&255,255&t,1)}function eo(t,e,n,r){return r<=0&&(t=e=n=NaN),new eu(t,e,n,r)}function ea(t,e,n,r){var i;return 1==arguments.length?((i=t)instanceof tJ||(i=er(i)),i)?new eu((i=i.rgb()).r,i.g,i.b,i.opacity):new eu:new eu(t,e,n,null==r?1:r)}function eu(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function el(){return`#${ef(this.r)}${ef(this.g)}${ef(this.b)}`}function es(){let t=ec(this.opacity);return`${1===t?"rgb(":"rgba("}${eh(this.r)}, ${eh(this.g)}, ${eh(this.b)}${1===t?")":`, ${t})`}`}function ec(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function eh(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function ef(t){return((t=eh(t))<16?"0":"")+t.toString(16)}function ed(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new ey(t,e,n,r)}function ep(t){if(t instanceof ey)return new ey(t.h,t.s,t.l,t.opacity);if(t instanceof tJ||(t=er(t)),!t)return new ey;if(t instanceof ey)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,u=o-i,l=(o+i)/2;return u?(a=e===o?(n-r)/u+(n<r)*6:n===o?(r-e)/u+2:(e-n)/u+4,u/=l<.5?o+i:2-o-i,a*=60):u=l>0&&l<1?0:a,new ey(a,u,l,t.opacity)}function ey(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function eg(t){return(t=(t||0)%360)<0?t+360:t}function em(t){return Math.max(0,Math.min(1,t||0))}function ev(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}function ex(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}tQ(tJ,er,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:ee,formatHex:ee,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return ep(this).formatHsl()},formatRgb:en,toString:en}),tQ(eu,ea,tG(tJ,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new eu(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new eu(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new eu(eh(this.r),eh(this.g),eh(this.b),ec(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:el,formatHex:el,formatHex8:function(){return`#${ef(this.r)}${ef(this.g)}${ef(this.b)}${ef((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:es,toString:es})),tQ(ey,function(t,e,n,r){return 1==arguments.length?ep(t):new ey(t,e,n,null==r?1:r)},tG(tJ,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new ey(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new ey(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new eu(ev(t>=240?t-240:t+120,i,r),ev(t,i,r),ev(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new ey(eg(this.h),em(this.s),em(this.l),ec(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=ec(this.opacity);return`${1===t?"hsl(":"hsla("}${eg(this.h)}, ${100*em(this.s)}%, ${100*em(this.l)}%${1===t?")":`, ${t})`}`}}));let ew=t=>()=>t;function e_(t,e){var n=e-t;return n?function(e){return t+e*n}:ew(isNaN(t)?e:t)}let eb=function t(e){var n,r=1==(n=+e)?e_:function(t,e){var r,i,o;return e-t?(r=t,i=e,r=Math.pow(r,o=n),i=Math.pow(i,o)-r,o=1/o,function(t){return Math.pow(r+t*i,o)}):ew(isNaN(t)?e:t)};function i(t,e){var n=r((t=ea(t)).r,(e=ea(e)).r),i=r(t.g,e.g),o=r(t.b,e.b),a=e_(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return i.gamma=t,i}(1);function eM(t){return function(e){var n,r,i=e.length,o=Array(i),a=Array(i),u=Array(i);for(n=0;n<i;++n)r=ea(e[n]),o[n]=r.r||0,a[n]=r.g||0,u[n]=r.b||0;return o=t(o),a=t(a),u=t(u),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=u(t),r+""}}}eM(function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,u=r<e-1?t[r+2]:2*o-i;return ex((n-r/e)*e,a,i,o,u)}}),eM(function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],o=t[r%e],a=t[(r+1)%e],u=t[(r+2)%e];return ex((n-r/e)*e,i,o,a,u)}});var eE=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ek=RegExp(eE.source,"g");function eA(t,e){var n,r,i,o,a,u=eE.lastIndex=ek.lastIndex=0,l=-1,s=[],c=[];for(t+="",e+="";(i=eE.exec(t))&&(o=ek.exec(e));)(a=o.index)>u&&(a=e.slice(u,a),s[l]?s[l]+=a:s[++l]=a),(i=i[0])===(o=o[0])?s[l]?s[l]+=o:s[++l]=o:(s[++l]=null,c.push({i:l,x:tX(i,o)})),u=ek.lastIndex;return u<e.length&&(a=e.slice(u),s[l]?s[l]+=a:s[++l]=a),s.length<2?c[0]?(n=c[0].x,function(t){return n(t)+""}):(r=e,function(){return r}):(e=c.length,function(t){for(var n,r=0;r<e;++r)s[(n=c[r]).i]=n.x(t);return s.join("")})}function e$(t,e){var n;return("number"==typeof e?tX:e instanceof er?eb:(n=er(e))?(e=n,eb):eA)(t,e)}var ez=te.prototype.constructor;function eN(t){return function(){this.style.removeProperty(t)}}var eS=0;function eT(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}var eP=te.prototype;eT.prototype=(function(t){return te().transition(t)}).prototype={constructor:eT,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=g(t));for(var r=this._groups,i=r.length,o=Array(i),a=0;a<i;++a)for(var u,l,s=r[a],c=s.length,h=o[a]=Array(c),f=0;f<c;++f)(u=s[f])&&(l=t.call(u,u.__data__,f,s))&&("__data__"in u&&(l.__data__=u.__data__),h[f]=l,tC(h[f],e,n,f,h,tj(u,n)));return new eT(o,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=v(t));for(var r=this._groups,i=r.length,o=[],a=[],u=0;u<i;++u)for(var l,s=r[u],c=s.length,h=0;h<c;++h)if(l=s[h]){for(var f,d=t.call(l,l.__data__,h,s),p=tj(l,n),y=0,g=d.length;y<g;++y)(f=d[y])&&tC(f,e,n,y,d,p);o.push(d),a.push(l)}return new eT(o,a,e,n)},selectChild:eP.selectChild,selectChildren:eP.selectChildren,filter:function(t){"function"!=typeof t&&(t=x(t));for(var e=this._groups,n=e.length,r=Array(n),i=0;i<n;++i)for(var o,a=e[i],u=a.length,l=r[i]=[],s=0;s<u;++s)(o=a[s])&&t.call(o,o.__data__,s,a)&&l.push(o);return new eT(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw Error();for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=Array(r),u=0;u<o;++u)for(var l,s=e[u],c=n[u],h=s.length,f=a[u]=Array(h),d=0;d<h;++d)(l=s[d]||c[d])&&(f[d]=l);for(;u<r;++u)a[u]=e[u];return new eT(a,this._parents,this._name,this._id)},selection:function(){return new ez(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=++eS,r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],l=u.length,s=0;s<l;++s)if(a=u[s]){var c=tj(a,e);tC(a,t,n,s,u,{time:c.time+c.delay+c.duration,delay:0,duration:c.duration,ease:c.ease})}return new eT(r,this._parents,t,n)},call:eP.call,nodes:eP.nodes,node:eP.node,size:eP.size,empty:eP.empty,each:eP.each,on:function(t,e){var n,r,i,o,a,u,l=this._id;return arguments.length<2?tj(this.node(),l).on.on(t):this.each((n=l,r=t,i=e,u=(r+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t})?tD:tq,function(){var t=u(this,n),e=t.on;e!==o&&(a=(o=e).copy()).on(r,i),t.on=a}))},attr:function(t,e){var n=I(t),r="transform"===n?tZ:e$;return this.attrTween(t,"function"==typeof e?(n.local?function(t,e,n){var r,i,o;return function(){var a,u,l=n(this);return null==l?void this.removeAttributeNS(t.space,t.local):(a=this.getAttributeNS(t.space,t.local))===(u=l+"")?null:a===r&&u===i?o:(i=u,o=e(r=a,l))}}:function(t,e,n){var r,i,o;return function(){var a,u,l=n(this);return null==l?void this.removeAttribute(t):(a=this.getAttribute(t))===(u=l+"")?null:a===r&&u===i?o:(i=u,o=e(r=a,l))}})(n,r,tU(this,"attr."+t,e)):null==e?(n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(n):(n.local?function(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===r?i:i=e(r=a,n)}}:function(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttribute(t);return a===o?null:a===r?i:i=e(r=a,n)}})(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw Error();var r=I(t);return this.tween(n,(r.local?function(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e){this.setAttributeNS(t.space,t.local,i.call(this,e))}),n}return i._value=e,i}:function(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e){this.setAttribute(t,i.call(this,e))}),n}return i._value=e,i})(r,e))},style:function(t,e,n){var r,i,o,a,u,l,s,c,h,f,d,p,y,g,m,v,x,w,_,b,M,E="transform"==(t+="")?tW:e$;return null==e?this.styleTween(t,(r=t,function(){var t=L(this,r),e=(this.style.removeProperty(r),L(this,r));return t===e?null:t===i&&e===o?a:a=E(i=t,o=e)})).on("end.style."+t,eN(t)):"function"==typeof e?this.styleTween(t,(u=t,l=tU(this,"style."+t,e),function(){var t=L(this,u),e=l(this),n=e+"";return null==e&&(this.style.removeProperty(u),n=e=L(this,u)),t===n?null:t===s&&n===c?h:(c=n,h=E(s=t,e))})).each((f=this._id,x="end."+(v="style."+(d=t)),function(){var t=tq(this,f),e=t.on,n=null==t.value[v]?m||(m=eN(d)):void 0;(e!==p||g!==n)&&(y=(p=e).copy()).on(x,g=n),t.on=y})):this.styleTween(t,(w=t,M=e+"",function(){var t=L(this,w);return t===M?null:t===_?b:b=E(_=t,e)}),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw Error();return this.tween(r,function(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&function(e){this.style.setProperty(t,o.call(this,e),n)}),r}return o._value=e,o}(t,e,null==n?"":n))},text:function(t){var e,n;return this.tween("text","function"==typeof t?(e=tU(this,"text",t),function(){var t=e(this);this.textContent=null==t?"":t}):(n=null==t?"":t+"",function(){this.textContent=n}))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw Error();return this.tween(e,function(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&function(t){this.textContent=r.call(this,t)}),e}return r._value=t,r}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=tj(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==e?function(t,e){var n,r;return function(){var i=tq(this,t),o=i.tween;if(o!==n){r=n=o;for(var a=0,u=r.length;a<u;++a)if(r[a].name===e){(r=r.slice()).splice(a,1);break}}i.tween=r}}:function(t,e,n){var r,i;if("function"!=typeof n)throw Error();return function(){var o=tq(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var u={name:e,value:n},l=0,s=i.length;l<s;++l)if(i[l].name===e){i[l]=u;break}l===s&&i.push(u)}o.tween=i}})(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){tD(this,t).delay=+e.apply(this,arguments)}}:function(t,e){return e*=1,function(){tD(this,t).delay=e}})(e,t)):tj(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){tq(this,t).duration=+e.apply(this,arguments)}}:function(t,e){return e*=1,function(){tq(this,t).duration=e}})(e,t)):tj(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw Error();return function(){tq(this,t).ease=e}}(e,t)):tj(this.node(),e).ease},easeVarying:function(t){var e;if("function"!=typeof t)throw Error();return this.each((e=this._id,function(){var n=t.apply(this,arguments);if("function"!=typeof n)throw Error();tq(this,e).ease=n}))},end:function(){var t,e,n=this,r=n._id,i=n.size();return new Promise(function(o,a){var u={value:a},l={value:function(){0==--i&&o()}};n.each(function(){var n=tq(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(u),e._.interrupt.push(u),e._.end.push(l)),n.on=e}),0===i&&o()})},[Symbol.iterator]:eP[Symbol.iterator]};var eI={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};te.prototype.interrupt=function(t){return this.each(function(){tR(this,t)})},te.prototype.transition=function(t){var e,n;t instanceof eT?(e=t._id,t=t._name):(e=++eS,(n=eI).time=tz(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],l=u.length,s=0;s<l;++s)(a=u[s])&&tC(a,t,e,s,u,n||function(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw Error(`transition ${e} not found`);return n}(a,e));return new eT(r,this._parents,t,e)};let eH=t=>()=>t;function eL(t,{sourceEvent:e,target:n,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function eB(t,e,n){this.k=t,this.x=e,this.y=n}eB.prototype={constructor:eB,scale:function(t){return 1===t?this:new eB(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new eB(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var eO=new eB(1,0,0);function eC(t){for(;!t.__zoom;)if(!(t=t.parentNode))return eO;return t.__zoom}function eD(t){t.stopImmediatePropagation()}function eq(t){t.preventDefault(),t.stopImmediatePropagation()}function ej(t){return(!t.ctrlKey||"wheel"===t.type)&&!t.button}function eR(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function eX(){return this.__zoom||eO}function eV(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function eY(){return navigator.maxTouchPoints||"ontouchstart"in this}function eF(t,e,n){var r=t.invertX(e[0][0])-n[0][0],i=t.invertX(e[1][0])-n[1][0],o=t.invertY(e[0][1])-n[0][1],a=t.invertY(e[1][1])-n[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}function eK(){var t,e,n,r=ej,i=eR,o=eF,a=eV,u=eY,l=[0,1/0],s=[[-1/0,-1/0],[1/0,1/0]],c=250,h=tm,d=f("start","zoom","end"),p=0,y=10;function g(t){t.property("__zoom",eX).on("wheel.zoom",M,{passive:!1}).on("mousedown.zoom",E).on("dblclick.zoom",k).filter(u).on("touchstart.zoom",A).on("touchmove.zoom",$).on("touchend.zoom touchcancel.zoom",z).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function m(t,e){return(e=Math.max(l[0],Math.min(l[1],e)))===t.k?t:new eB(e,t.x,t.y)}function v(t,e,n){var r=e[0]-n[0]*t.k,i=e[1]-n[1]*t.k;return r===t.x&&i===t.y?t:new eB(t.k,r,i)}function x(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function w(t,e,n,r){t.on("start.zoom",function(){_(this,arguments).event(r).start()}).on("interrupt.zoom end.zoom",function(){_(this,arguments).event(r).end()}).tween("zoom",function(){var t=arguments,o=_(this,t).event(r),a=i.apply(this,t),u=null==n?x(a):"function"==typeof n?n.apply(this,t):n,l=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),s=this.__zoom,c="function"==typeof e?e.apply(this,t):e,f=h(s.invert(u).concat(l/s.k),c.invert(u).concat(l/c.k));return function(t){if(1===t)t=c;else{var e=f(t),n=l/e[2];t=new eB(n,u[0]-e[0]*n,u[1]-e[1]*n)}o.zoom(null,t)}})}function _(t,e,n){return!n&&t.__zooming||new b(t,e)}function b(t,e){this.that=t,this.args=e,this.active=0,this.sourceEvent=null,this.extent=i.apply(t,e),this.taps=0}function M(t,...e){if(r.apply(this,arguments)){var n=_(this,e).event(t),i=this.__zoom,u=Math.max(l[0],Math.min(l[1],i.k*Math.pow(2,a.apply(this,arguments)))),c=tr(t);if(n.wheel)(n.mouse[0][0]!==c[0]||n.mouse[0][1]!==c[1])&&(n.mouse[1]=i.invert(n.mouse[0]=c)),clearTimeout(n.wheel);else{if(i.k===u)return;n.mouse=[c,i.invert(c)],tR(this),n.start()}eq(t),n.wheel=setTimeout(function(){n.wheel=null,n.end()},150),n.zoom("mouse",o(v(m(i,u),n.mouse[0],n.mouse[1]),n.extent,s))}}function E(t,...e){if(!n&&r.apply(this,arguments)){var i=t.currentTarget,a=_(this,e,!0).event(t),u=tn(t.view).on("mousemove.zoom",function(t){if(eq(t),!a.moved){var e=t.clientX-c,n=t.clientY-h;a.moved=e*e+n*n>p}a.event(t).zoom("mouse",o(v(a.that.__zoom,a.mouse[0]=tr(t,i),a.mouse[1]),a.extent,s))},!0).on("mouseup.zoom",function(t){u.on("mousemove.zoom mouseup.zoom",null),ts(t.view,a.moved),eq(t),a.event(t).end()},!0),l=tr(t,i),c=t.clientX,h=t.clientY;tl(t.view),eD(t),a.mouse=[l,this.__zoom.invert(l)],tR(this),a.start()}}function k(t,...e){if(r.apply(this,arguments)){var n=this.__zoom,a=tr(t.changedTouches?t.changedTouches[0]:t,this),u=n.invert(a),l=n.k*(t.shiftKey?.5:2),h=o(v(m(n,l),a,u),i.apply(this,e),s);eq(t),c>0?tn(this).transition().duration(c).call(w,h,a,t):tn(this).call(g.transform,h,a,t)}}function A(n,...i){if(r.apply(this,arguments)){var o,a,u,l,s=n.touches,c=s.length,h=_(this,i,n.changedTouches.length===c).event(n);for(eD(n),a=0;a<c;++a)l=[l=tr(u=s[a],this),this.__zoom.invert(l),u.identifier],h.touch0?h.touch1||h.touch0[2]===l[2]||(h.touch1=l,h.taps=0):(h.touch0=l,o=!0,h.taps=1+!!t);t&&(t=clearTimeout(t)),o&&(h.taps<2&&(e=l[0],t=setTimeout(function(){t=null},500)),tR(this),h.start())}}function $(t,...e){if(this.__zooming){var n,r,i,a,u=_(this,e).event(t),l=t.changedTouches,c=l.length;for(eq(t),n=0;n<c;++n)i=tr(r=l[n],this),u.touch0&&u.touch0[2]===r.identifier?u.touch0[0]=i:u.touch1&&u.touch1[2]===r.identifier&&(u.touch1[0]=i);if(r=u.that.__zoom,u.touch1){var h=u.touch0[0],f=u.touch0[1],d=u.touch1[0],p=u.touch1[1],y=(y=d[0]-h[0])*y+(y=d[1]-h[1])*y,g=(g=p[0]-f[0])*g+(g=p[1]-f[1])*g;r=m(r,Math.sqrt(y/g)),i=[(h[0]+d[0])/2,(h[1]+d[1])/2],a=[(f[0]+p[0])/2,(f[1]+p[1])/2]}else{if(!u.touch0)return;i=u.touch0[0],a=u.touch0[1]}u.zoom("touch",o(v(r,i,a),u.extent,s))}}function z(t,...r){if(this.__zooming){var i,o,a=_(this,r).event(t),u=t.changedTouches,l=u.length;for(eD(t),n&&clearTimeout(n),n=setTimeout(function(){n=null},500),i=0;i<l;++i)o=u[i],a.touch0&&a.touch0[2]===o.identifier?delete a.touch0:a.touch1&&a.touch1[2]===o.identifier&&delete a.touch1;if(a.touch1&&!a.touch0&&(a.touch0=a.touch1,delete a.touch1),a.touch0)a.touch0[1]=this.__zoom.invert(a.touch0[0]);else if(a.end(),2===a.taps&&(o=tr(o,this),Math.hypot(e[0]-o[0],e[1]-o[1])<y)){var s=tn(this).on("dblclick.zoom");s&&s.apply(this,arguments)}}}return g.transform=function(t,e,n,r){var i=t.selection?t.selection():t;i.property("__zoom",eX),t!==i?w(t,e,n,r):i.interrupt().each(function(){_(this,arguments).event(r).start().zoom(null,"function"==typeof e?e.apply(this,arguments):e).end()})},g.scaleBy=function(t,e,n,r){g.scaleTo(t,function(){var t=this.__zoom.k,n="function"==typeof e?e.apply(this,arguments):e;return t*n},n,r)},g.scaleTo=function(t,e,n,r){g.transform(t,function(){var t=i.apply(this,arguments),r=this.__zoom,a=null==n?x(t):"function"==typeof n?n.apply(this,arguments):n,u=r.invert(a),l="function"==typeof e?e.apply(this,arguments):e;return o(v(m(r,l),a,u),t,s)},n,r)},g.translateBy=function(t,e,n,r){g.transform(t,function(){return o(this.__zoom.translate("function"==typeof e?e.apply(this,arguments):e,"function"==typeof n?n.apply(this,arguments):n),i.apply(this,arguments),s)},null,r)},g.translateTo=function(t,e,n,r,a){g.transform(t,function(){var t=i.apply(this,arguments),a=this.__zoom,u=null==r?x(t):"function"==typeof r?r.apply(this,arguments):r;return o(eO.translate(u[0],u[1]).scale(a.k).translate("function"==typeof e?-e.apply(this,arguments):-e,"function"==typeof n?-n.apply(this,arguments):-n),t,s)},r,a)},b.prototype={event:function(t){return t&&(this.sourceEvent=t),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(t,e){return this.mouse&&"mouse"!==t&&(this.mouse[1]=e.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=e.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=e.invert(this.touch1[0])),this.that.__zoom=e,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){var e=tn(this.that).datum();d.call(t,this.that,new eL(t,{sourceEvent:this.sourceEvent,target:g,type:t,transform:this.that.__zoom,dispatch:d}),e)}},g.wheelDelta=function(t){return arguments.length?(a="function"==typeof t?t:eH(+t),g):a},g.filter=function(t){return arguments.length?(r="function"==typeof t?t:eH(!!t),g):r},g.touchable=function(t){return arguments.length?(u="function"==typeof t?t:eH(!!t),g):u},g.extent=function(t){return arguments.length?(i="function"==typeof t?t:eH([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),g):i},g.scaleExtent=function(t){return arguments.length?(l[0]=+t[0],l[1]=+t[1],g):[l[0],l[1]]},g.translateExtent=function(t){return arguments.length?(s[0][0]=+t[0][0],s[1][0]=+t[1][0],s[0][1]=+t[0][1],s[1][1]=+t[1][1],g):[[s[0][0],s[0][1]],[s[1][0],s[1][1]]]},g.constrain=function(t){return arguments.length?(o=t,g):o},g.duration=function(t){return arguments.length?(c=+t,g):c},g.interpolate=function(t){return arguments.length?(h=t,g):h},g.on=function(){var t=d.on.apply(d,arguments);return t===d?g:t},g.clickDistance=function(t){return arguments.length?(p=(t*=1)*t,g):Math.sqrt(p)},g.tapDistance=function(t){return arguments.length?(y=+t,g):y},g}function eW(t,e){var n,r,i=typeof e;return null==e||"boolean"===i?ew(e):("number"===i?tX:"string"===i?(r=er(e))?(e=r,eb):eA:e instanceof er?eb:e instanceof Date?function(t,e){var n=new Date;return t*=1,e*=1,function(r){return n.setTime(t*(1-r)+e*r),n}}:!ArrayBuffer.isView(n=e)||n instanceof DataView?Array.isArray(e)?function(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=Array(i),a=Array(r);for(n=0;n<i;++n)o[n]=eW(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<i;++n)a[n]=o[n](t);return a}}:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?function(t,e){var n,r={},i={};for(n in(null===t||"object"!=typeof t)&&(t={}),(null===e||"object"!=typeof e)&&(e={}),e)n in t?r[n]=eW(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}:tX:function(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(n=0;n<r;++n)i[n]=t[n]*(1-o)+e[n]*o;return i}})(t,e)}eC.prototype=eB.prototype;let eZ={error001:()=>"[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001",error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:t=>`Node type "${t}" not found. Using fallback type "default".`,error004:()=>"The React Flow parent container needs a width and a height to render the graph.",error005:()=>"Only child nodes can use a parent extent.",error006:()=>"Can't create edge. An edge needs a source and a target.",error007:t=>`The old edge with id=${t} does not exist.`,error009:t=>`Marker type "${t}" doesn't exist.`,error008:(t,{id:e,sourceHandle:n,targetHandle:r})=>`Couldn't create edge for ${t} handle id: "${"source"===t?n:r}", edge id: ${e}.`,error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:t=>`Edge type "${t}" not found. Using fallback type "default".`,error012:t=>`Node with id "${t}" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.`,error013:(t="react")=>`It seems that you haven't loaded the styles. Please import '@xyflow/${t}/dist/style.css' or base.css to make sure everything is working properly.`,error014:()=>"useNodeConnections: No node ID found. Call useNodeConnections inside a custom Node or provide a node ID.",error015:()=>"It seems that you are trying to drag a node that is not initialized. Please use onNodesChange as explained in the docs."},eU=[[-1/0,-1/0],[1/0,1/0]],eQ=["Enter"," ","Escape"],eG={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":"Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.","node.a11yDescription.ariaLiveMessage":({direction:t,x:e,y:n})=>`Moved selected node ${t}. New position, x: ${e}, y: ${n}`,"edge.a11yDescription.default":"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.","controls.ariaLabel":"Control Panel","controls.zoomIn.ariaLabel":"Zoom In","controls.zoomOut.ariaLabel":"Zoom Out","controls.fitView.ariaLabel":"Fit View","controls.interactive.ariaLabel":"Toggle Interactivity","minimap.ariaLabel":"Mini Map","handle.ariaLabel":"Handle"};!function(t){t.Strict="strict",t.Loose="loose"}(i||(i={})),function(t){t.Free="free",t.Vertical="vertical",t.Horizontal="horizontal"}(o||(o={})),function(t){t.Partial="partial",t.Full="full"}(a||(a={}));let eJ={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};!function(t){t.Bezier="default",t.Straight="straight",t.Step="step",t.SmoothStep="smoothstep",t.SimpleBezier="simplebezier"}(u||(u={})),function(t){t.Arrow="arrow",t.ArrowClosed="arrowclosed"}(l||(l={})),function(t){t.Left="left",t.Top="top",t.Right="right",t.Bottom="bottom"}(s||(s={}));let e0={[s.Left]:s.Right,[s.Right]:s.Left,[s.Top]:s.Bottom,[s.Bottom]:s.Top};function e1(t){return null===t?null:t?"valid":"invalid"}let e2=t=>"id"in t&&"source"in t&&"target"in t,e5=t=>"id"in t&&"position"in t&&!("source"in t)&&!("target"in t),e8=t=>"id"in t&&"internals"in t&&!("source"in t)&&!("target"in t),e3=(t,e=[0,0])=>{let{width:n,height:r}=nE(t),i=t.origin??e,o=n*i[0],a=r*i[1];return{x:t.position.x-o,y:t.position.y-a}},e4=(t,e={nodeOrigin:[0,0]})=>0===t.length?{x:0,y:0,width:0,height:0}:ns(t.reduce((t,n)=>{let r="string"==typeof n,i=e.nodeLookup||r?void 0:n;return e.nodeLookup&&(i=r?e.nodeLookup.get(n):e8(n)?n:e.nodeLookup.get(n.id)),nu(t,i?nh(i,e.nodeOrigin):{x:0,y:0,x2:0,y2:0})},{x:1/0,y:1/0,x2:-1/0,y2:-1/0})),e6=(t,e={})=>{let n={x:1/0,y:1/0,x2:-1/0,y2:-1/0},r=!1;return t.forEach(t=>{(void 0===e.filter||e.filter(t))&&(n=nu(n,nh(t)),r=!0)}),r?ns(n):{x:0,y:0,width:0,height:0}},e9=(t,e,[n,r,i]=[0,0,1],o=!1,a=!1)=>{let u={...nv(e,[n,r,i]),width:e.width/i,height:e.height/i},l=[];for(let e of t.values()){let{measured:t,selectable:n=!0,hidden:r=!1}=e;if(a&&!n||r)continue;let i=t.width??e.width??e.initialWidth??null,s=t.height??e.height??e.initialHeight??null,c=nd(u,nc(e)),h=(i??0)*(s??0),f=o&&c>0;(!e.internals.handleBounds||f||c>=h||e.dragging)&&l.push(e)}return l};async function e7({nodes:t,width:e,height:n,panZoom:r,minZoom:i,maxZoom:o},a){if(0===t.size)return Promise.resolve(!0);let u=n_(e6(function(t,e){let n=new Map,r=e?.nodes?new Set(e.nodes.map(t=>t.id)):null;return t.forEach(t=>{t.measured.width&&t.measured.height&&(e?.includeHiddenNodes||!t.hidden)&&(!r||r.has(t.id))&&n.set(t.id,t)}),n}(t,a)),e,n,a?.minZoom??i,a?.maxZoom??o,a?.padding??.1);return await r.setViewport(u,{duration:a?.duration,ease:a?.ease,interpolate:a?.interpolate}),Promise.resolve(!0)}function nt({nodeId:t,nextPosition:e,nodeLookup:n,nodeOrigin:r=[0,0],nodeExtent:i,onError:o}){let a=n.get(t),u=a.parentId?n.get(a.parentId):void 0,{x:l,y:s}=u?u.internals.positionAbsolute:{x:0,y:0},c=a.origin??r,h=a.extent||i;if("parent"!==a.extent||a.expandParent)u&&nM(a.extent)&&(h=[[a.extent[0][0]+l,a.extent[0][1]+s],[a.extent[1][0]+l,a.extent[1][1]+s]]);else if(u){let t=u.measured.width,e=u.measured.height;t&&e&&(h=[[l,s],[l+t,s+e]])}else o?.("005",eZ.error005());let f=nM(h)?nr(e,h,a.measured):e;return(void 0===a.measured.width||void 0===a.measured.height)&&o?.("015",eZ.error015()),{position:{x:f.x-l+(a.measured.width??0)*c[0],y:f.y-s+(a.measured.height??0)*c[1]},positionAbsolute:f}}async function ne({nodesToRemove:t=[],edgesToRemove:e=[],nodes:n,edges:r,onBeforeDelete:i}){let o=new Set(t.map(t=>t.id)),a=[];for(let t of n){if(!1===t.deletable)continue;let e=o.has(t.id),n=!e&&t.parentId&&a.find(e=>e.id===t.parentId);(e||n)&&a.push(t)}let u=new Set(e.map(t=>t.id)),l=r.filter(t=>!1!==t.deletable),s=((t,e)=>{let n=new Set;return t.forEach(t=>{n.add(t.id)}),e.filter(t=>n.has(t.source)||n.has(t.target))})(a,l);for(let t of l)u.has(t.id)&&!s.find(e=>e.id===t.id)&&s.push(t);if(!i)return{edges:s,nodes:a};let c=await i({nodes:a,edges:s});return"boolean"==typeof c?c?{edges:s,nodes:a}:{edges:[],nodes:[]}:c}let nn=(t,e=0,n=1)=>Math.min(Math.max(t,e),n),nr=(t={x:0,y:0},e,n)=>({x:nn(t.x,e[0][0],e[1][0]-(n?.width??0)),y:nn(t.y,e[0][1],e[1][1]-(n?.height??0))});function ni(t,e,n){let{width:r,height:i}=nE(n),{x:o,y:a}=n.internals.positionAbsolute;return nr(t,[[o,a],[o+r,a+i]],e)}let no=(t,e,n)=>t<e?nn(Math.abs(t-e),1,e)/e:t>n?-nn(Math.abs(t-n),1,e)/e:0,na=(t,e,n=15,r=40)=>[no(t.x,r,e.width-r)*n,no(t.y,r,e.height-r)*n],nu=(t,e)=>({x:Math.min(t.x,e.x),y:Math.min(t.y,e.y),x2:Math.max(t.x2,e.x2),y2:Math.max(t.y2,e.y2)}),nl=({x:t,y:e,width:n,height:r})=>({x:t,y:e,x2:t+n,y2:e+r}),ns=({x:t,y:e,x2:n,y2:r})=>({x:t,y:e,width:n-t,height:r-e}),nc=(t,e=[0,0])=>{let{x:n,y:r}=e8(t)?t.internals.positionAbsolute:e3(t,e);return{x:n,y:r,width:t.measured?.width??t.width??t.initialWidth??0,height:t.measured?.height??t.height??t.initialHeight??0}},nh=(t,e=[0,0])=>{let{x:n,y:r}=e8(t)?t.internals.positionAbsolute:e3(t,e);return{x:n,y:r,x2:n+(t.measured?.width??t.width??t.initialWidth??0),y2:r+(t.measured?.height??t.height??t.initialHeight??0)}},nf=(t,e)=>ns(nu(nl(t),nl(e))),nd=(t,e)=>Math.ceil(Math.max(0,Math.min(t.x+t.width,e.x+e.width)-Math.max(t.x,e.x))*Math.max(0,Math.min(t.y+t.height,e.y+e.height)-Math.max(t.y,e.y))),np=t=>ny(t.width)&&ny(t.height)&&ny(t.x)&&ny(t.y),ny=t=>!isNaN(t)&&isFinite(t),ng=(t,e)=>{},nm=(t,e=[1,1])=>({x:e[0]*Math.round(t.x/e[0]),y:e[1]*Math.round(t.y/e[1])}),nv=({x:t,y:e},[n,r,i],o=!1,a=[1,1])=>{let u={x:(t-n)/i,y:(e-r)/i};return o?nm(u,a):u},nx=({x:t,y:e},[n,r,i])=>({x:t*i+n,y:e*i+r});function nw(t,e){if("number"==typeof t)return Math.floor((e-e/(1+t))*.5);if("string"==typeof t&&t.endsWith("px")){let e=parseFloat(t);if(!Number.isNaN(e))return Math.floor(e)}if("string"==typeof t&&t.endsWith("%")){let n=parseFloat(t);if(!Number.isNaN(n))return Math.floor(e*n*.01)}return console.error(`[React Flow] The padding value "${t}" is invalid. Please provide a number or a string with a valid unit (px or %).`),0}let n_=(t,e,n,r,i,o)=>{let a=function(t,e,n){if("string"==typeof t||"number"==typeof t){let r=nw(t,n),i=nw(t,e);return{top:r,right:i,bottom:r,left:i,x:2*i,y:2*r}}if("object"==typeof t){let r=nw(t.top??t.y??0,n),i=nw(t.bottom??t.y??0,n),o=nw(t.left??t.x??0,e),a=nw(t.right??t.x??0,e);return{top:r,right:a,bottom:i,left:o,x:o+a,y:r+i}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}(o,e,n),u=nn(Math.min((e-a.x)/t.width,(n-a.y)/t.height),r,i),l=t.x+t.width/2,s=t.y+t.height/2,c=e/2-l*u,h=n/2-s*u,f=function(t,e,n,r,i,o){let{x:a,y:u}=nx(t,[e,n,r]),{x:l,y:s}=nx({x:t.x+t.width,y:t.y+t.height},[e,n,r]);return{left:Math.floor(a),top:Math.floor(u),right:Math.floor(i-l),bottom:Math.floor(o-s)}}(t,c,h,u,e,n),d={left:Math.min(f.left-a.left,0),top:Math.min(f.top-a.top,0),right:Math.min(f.right-a.right,0),bottom:Math.min(f.bottom-a.bottom,0)};return{x:c-d.left+d.right,y:h-d.top+d.bottom,zoom:u}},nb=()=>"undefined"!=typeof navigator&&navigator?.userAgent?.indexOf("Mac")>=0;function nM(t){return null!=t&&"parent"!==t}function nE(t){return{width:t.measured?.width??t.width??t.initialWidth??0,height:t.measured?.height??t.height??t.initialHeight??0}}function nk(t){return(t.measured?.width??t.width??t.initialWidth)!==void 0&&(t.measured?.height??t.height??t.initialHeight)!==void 0}function nA(t,e={width:0,height:0},n,r,i){let o={...t},a=r.get(n);if(a){let t=a.origin||i;o.x+=a.internals.positionAbsolute.x-(e.width??0)*t[0],o.y+=a.internals.positionAbsolute.y-(e.height??0)*t[1]}return o}function n$(t,e){if(t.size!==e.size)return!1;for(let n of t)if(!e.has(n))return!1;return!0}function nz(){let t,e;return{promise:new Promise((n,r)=>{t=n,e=r}),resolve:t,reject:e}}function nN(t){return{...eG,...t||{}}}function nS(t,{snapGrid:e=[0,0],snapToGrid:n=!1,transform:r,containerBounds:i}){let{x:o,y:a}=nB(t),u=nv({x:o-(i?.left??0),y:a-(i?.top??0)},r),{x:l,y:s}=n?nm(u,e):u;return{xSnapped:l,ySnapped:s,...u}}let nT=t=>({width:t.offsetWidth,height:t.offsetHeight}),nP=t=>t?.getRootNode?.()||window?.document,nI=["INPUT","SELECT","TEXTAREA"];function nH(t){let e=t.composedPath?.()?.[0]||t.target;return e?.nodeType===1&&(nI.includes(e.nodeName)||e.hasAttribute("contenteditable")||!!e.closest(".nokey"))}let nL=t=>"clientX"in t,nB=(t,e)=>{let n=nL(t),r=n?t.clientX:t.touches?.[0].clientX,i=n?t.clientY:t.touches?.[0].clientY;return{x:r-(e?.left??0),y:i-(e?.top??0)}},nO=(t,e,n,r,i)=>{let o=e.querySelectorAll(`.${t}`);return o&&o.length?Array.from(o).map(e=>{let o=e.getBoundingClientRect();return{id:e.getAttribute("data-handleid"),type:t,nodeId:i,position:e.getAttribute("data-handlepos"),x:(o.left-n.left)/r,y:(o.top-n.top)/r,...nT(e)}}):null};function nC({sourceX:t,sourceY:e,targetX:n,targetY:r,sourceControlX:i,sourceControlY:o,targetControlX:a,targetControlY:u}){let l=.125*t+.375*i+.375*a+.125*n,s=.125*e+.375*o+.375*u+.125*r,c=Math.abs(l-t),h=Math.abs(s-e);return[l,s,c,h]}function nD(t,e){return t>=0?.5*t:25*e*Math.sqrt(-t)}function nq({pos:t,x1:e,y1:n,x2:r,y2:i,c:o}){switch(t){case s.Left:return[e-nD(e-r,o),n];case s.Right:return[e+nD(r-e,o),n];case s.Top:return[e,n-nD(n-i,o)];case s.Bottom:return[e,n+nD(i-n,o)]}}function nj({sourceX:t,sourceY:e,sourcePosition:n=s.Bottom,targetX:r,targetY:i,targetPosition:o=s.Top,curvature:a=.25}){let[u,l]=nq({pos:n,x1:t,y1:e,x2:r,y2:i,c:a}),[c,h]=nq({pos:o,x1:r,y1:i,x2:t,y2:e,c:a}),[f,d,p,y]=nC({sourceX:t,sourceY:e,targetX:r,targetY:i,sourceControlX:u,sourceControlY:l,targetControlX:c,targetControlY:h});return[`M${t},${e} C${u},${l} ${c},${h} ${r},${i}`,f,d,p,y]}function nR({sourceX:t,sourceY:e,targetX:n,targetY:r}){let i=Math.abs(n-t)/2,o=Math.abs(r-e)/2;return[n<t?n+i:n-i,r<e?r+o:r-o,i,o]}function nX({sourceNode:t,targetNode:e,selected:n=!1,zIndex:r=0,elevateOnSelect:i=!1,zIndexMode:o="basic"}){if("manual"===o)return r;let a=Math.max(t.parentId||i&&t.selected?t.internals.z:0,e.parentId||i&&e.selected?e.internals.z:0);return(i&&n?r+1e3:r)+a}function nV({sourceNode:t,targetNode:e,width:n,height:r,transform:i}){let o=nu(nh(t),nh(e));return o.x===o.x2&&(o.x2+=1),o.y===o.y2&&(o.y2+=1),nd({x:-i[0]/i[2],y:-i[1]/i[2],width:n/i[2],height:r/i[2]},ns(o))>0}let nY=({source:t,sourceHandle:e,target:n,targetHandle:r})=>`xy-edge__${t}${e||""}-${n}${r||""}`,nF=(t,e,n={})=>{let r;if(!t.source||!t.target)return ng("006",eZ.error006()),e;let i=n.getEdgeId||nY;return((t,e)=>e.some(e=>e.source===t.source&&e.target===t.target&&(e.sourceHandle===t.sourceHandle||!e.sourceHandle&&!t.sourceHandle)&&(e.targetHandle===t.targetHandle||!e.targetHandle&&!t.targetHandle)))(r=e2(t)?{...t}:{...t,id:i(t)},e)?e:(null===r.sourceHandle&&delete r.sourceHandle,null===r.targetHandle&&delete r.targetHandle,e.concat(r))};function nK({sourceX:t,sourceY:e,targetX:n,targetY:r}){let[i,o,a,u]=nR({sourceX:t,sourceY:e,targetX:n,targetY:r});return[`M ${t},${e}L ${n},${r}`,i,o,a,u]}let nW={[s.Left]:{x:-1,y:0},[s.Right]:{x:1,y:0},[s.Top]:{x:0,y:-1},[s.Bottom]:{x:0,y:1}},nZ=({source:t,sourcePosition:e=s.Bottom,target:n})=>e===s.Left||e===s.Right?t.x<n.x?{x:1,y:0}:{x:-1,y:0}:t.y<n.y?{x:0,y:1}:{x:0,y:-1},nU=(t,e)=>Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2));function nQ({sourceX:t,sourceY:e,sourcePosition:n=s.Bottom,targetX:r,targetY:i,targetPosition:o=s.Top,borderRadius:a=5,centerX:u,centerY:l,offset:c=20,stepPosition:h=.5}){let[f,d,p,y,g]=function({source:t,sourcePosition:e=s.Bottom,target:n,targetPosition:r=s.Top,center:i,offset:o,stepPosition:a}){let u,l,c=nW[e],h=nW[r],f={x:t.x+c.x*o,y:t.y+c.y*o},d={x:n.x+h.x*o,y:n.y+h.y*o},p=nZ({source:f,sourcePosition:e,target:d}),y=0!==p.x?"x":"y",g=p[y],m=[],v={x:0,y:0},x={x:0,y:0},[,,w,_]=nR({sourceX:t.x,sourceY:t.y,targetX:n.x,targetY:n.y});if(c[y]*h[y]==-1){"x"===y?(u=i.x??f.x+(d.x-f.x)*a,l=i.y??(f.y+d.y)/2):(u=i.x??(f.x+d.x)/2,l=i.y??f.y+(d.y-f.y)*a);let t=[{x:u,y:f.y},{x:u,y:d.y}],e=[{x:f.x,y:l},{x:d.x,y:l}];m=c[y]===g?"x"===y?t:e:"x"===y?e:t}else{let i=[{x:f.x,y:d.y}],a=[{x:d.x,y:f.y}];if(m="x"===y?c.x===g?a:i:c.y===g?i:a,e===r){let e=Math.abs(t[y]-n[y]);if(e<=o){let r=Math.min(o-1,o-e);c[y]===g?v[y]=(f[y]>t[y]?-1:1)*r:x[y]=(d[y]>n[y]?-1:1)*r}}if(e!==r){let t="x"===y?"y":"x",e=c[y]===h[t],n=f[t]>d[t],r=f[t]<d[t];(1===c[y]&&(!e&&n||e&&r)||1!==c[y]&&(!e&&r||e&&n))&&(m="x"===y?i:a)}let s={x:f.x+v.x,y:f.y+v.y},p={x:d.x+x.x,y:d.y+x.y};Math.max(Math.abs(s.x-m[0].x),Math.abs(p.x-m[0].x))>=Math.max(Math.abs(s.y-m[0].y),Math.abs(p.y-m[0].y))?(u=(s.x+p.x)/2,l=m[0].y):(u=m[0].x,l=(s.y+p.y)/2)}return[[t,{x:f.x+v.x,y:f.y+v.y},...m,{x:d.x+x.x,y:d.y+x.y},n],u,l,w,_]}({source:{x:t,y:e},sourcePosition:n,target:{x:r,y:i},targetPosition:o,center:{x:u,y:l},offset:c,stepPosition:h});return[f.reduce((t,e,n)=>t+(n>0&&n<f.length-1?function(t,e,n,r){let i=Math.min(nU(t,e)/2,nU(e,n)/2,r),{x:o,y:a}=e;if(t.x===o&&o===n.x||t.y===a&&a===n.y)return`L${o} ${a}`;if(t.y===a){let e=t.x<n.x?-1:1,r=t.y<n.y?1:-1;return`L ${o+i*e},${a}Q ${o},${a} ${o},${a+i*r}`}let u=t.x<n.x?1:-1,l=t.y<n.y?-1:1;return`L ${o},${a+i*l}Q ${o},${a} ${o+i*u},${a}`}(f[n-1],e,f[n+1],a):`${0===n?"M":"L"}${e.x} ${e.y}`),""),d,p,y,g]}function nG(t){return t&&!!(t.internals.handleBounds||t.handles?.length)&&!!(t.measured.width||t.width||t.initialWidth)}function nJ(t){let{sourceNode:e,targetNode:n}=t;if(!nG(e)||!nG(n))return null;let r=e.internals.handleBounds||n0(e.handles),o=n.internals.handleBounds||n0(n.handles),a=n2(r?.source??[],t.sourceHandle),u=n2(t.connectionMode===i.Strict?o?.target??[]:(o?.target??[]).concat(o?.source??[]),t.targetHandle);if(!a||!u)return t.onError?.("008",eZ.error008(!a?"source":"target",{id:t.id,sourceHandle:t.sourceHandle,targetHandle:t.targetHandle})),null;let l=a?.position||s.Bottom,c=u?.position||s.Top,h=n1(e,a,l),f=n1(n,u,c);return{sourceX:h.x,sourceY:h.y,targetX:f.x,targetY:f.y,sourcePosition:l,targetPosition:c}}function n0(t){if(!t)return null;let e=[],n=[];for(let r of t)r.width=r.width??1,r.height=r.height??1,"source"===r.type?e.push(r):"target"===r.type&&n.push(r);return{source:e,target:n}}function n1(t,e,n=s.Left,r=!1){let i=(e?.x??0)+t.internals.positionAbsolute.x,o=(e?.y??0)+t.internals.positionAbsolute.y,{width:a,height:u}=e??nE(t);if(r)return{x:i+a/2,y:o+u/2};switch(e?.position??n){case s.Top:return{x:i+a/2,y:o};case s.Right:return{x:i+a,y:o+u/2};case s.Bottom:return{x:i+a/2,y:o+u};case s.Left:return{x:i,y:o+u/2}}}function n2(t,e){return t&&(e?t.find(t=>t.id===e):t[0])||null}function n5(t,e){if(!t)return"";if("string"==typeof t)return t;let n=e?`${e}__`:"";return`${n}${Object.keys(t).sort().map(e=>`${e}=${t[e]}`).join("&")}`}function n8(t,{id:e,defaultColor:n,defaultMarkerStart:r,defaultMarkerEnd:i}){let o=new Set;return t.reduce((t,a)=>([a.markerStart||r,a.markerEnd||i].forEach(r=>{if(r&&"object"==typeof r){let i=n5(r,e);o.has(i)||(t.push({id:i,color:r.color||n,...r}),o.add(i))}}),t),[]).sort((t,e)=>t.id.localeCompare(e.id))}let n3={nodeOrigin:[0,0],nodeExtent:eU,elevateNodesOnSelect:!0,zIndexMode:"basic",defaults:{}},n4={...n3,checkEquality:!0};function n6(t,e){let n={...t};for(let t in e)void 0!==e[t]&&(n[t]=e[t]);return n}function n9(t,e,n){let r=n6(n3,n);for(let n of t.values())if(n.parentId)re(n,t,e,r);else{let t=nr(e3(n,r.nodeOrigin),nM(n.extent)?n.extent:r.nodeExtent,nE(n));n.internals.positionAbsolute=t}}function n7(t){return"manual"===t}function rt(t,e,n,r={}){let i=n6(n4,r),o={i:0},a=new Map(e),u=i?.elevateNodesOnSelect&&!n7(i.zIndexMode)?1e3:0,l=t.length>0;for(let s of(e.clear(),n.clear(),t)){let t=a.get(s.id);if(i.checkEquality&&s===t?.internals.userNode)e.set(s.id,t);else{let n=nr(e3(s,i.nodeOrigin),nM(s.extent)?s.extent:i.nodeExtent,nE(s));t={...i.defaults,...s,measured:{width:s.measured?.width,height:s.measured?.height},internals:{positionAbsolute:n,handleBounds:function(t,e){if(!t.handles)return t.measured?e?.internals.handleBounds:void 0;let n=[],r=[];for(let e of t.handles){let i={id:e.id,width:e.width??1,height:e.height??1,nodeId:t.id,x:e.x,y:e.y,position:e.position,type:e.type};"source"===e.type?n.push(i):"target"===e.type&&r.push(i)}return{source:n,target:r}}(s,t),z:rn(s,u,i.zIndexMode),userNode:s}},e.set(s.id,t)}void 0!==t.measured&&void 0!==t.measured.width&&void 0!==t.measured.height||t.hidden||(l=!1),s.parentId&&re(t,e,n,r,o)}return l}function re(t,e,n,r,i){let{elevateNodesOnSelect:o,nodeOrigin:a,nodeExtent:u,zIndexMode:l}=n6(n3,r),s=t.parentId,c=e.get(s);if(!c)return void console.warn(`Parent node ${s} not found. Please make sure that parent nodes are in front of their child nodes in the nodes array.`);!function(t,e){if(!t.parentId)return;let n=e.get(t.parentId);n?n.set(t.id,t):e.set(t.parentId,new Map([[t.id,t]]))}(t,n),i&&!c.parentId&&void 0===c.internals.rootParentIndex&&"auto"===l&&(c.internals.rootParentIndex=++i.i,c.internals.z=c.internals.z+10*i.i),i&&void 0!==c.internals.rootParentIndex&&(i.i=c.internals.rootParentIndex);let{x:h,y:f,z:d}=function(t,e,n,r,i,o){let{x:a,y:u}=e.internals.positionAbsolute,l=nE(t),s=e3(t,n),c=nM(t.extent)?nr(s,t.extent,l):s,h=nr({x:a+c.x,y:u+c.y},r,l);"parent"===t.extent&&(h=ni(h,l,e));let f=rn(t,i,o),d=e.internals.z??0;return{x:h.x,y:h.y,z:d>=f?d+1:f}}(t,c,a,u,o&&!n7(l)?1e3:0,l),{positionAbsolute:p}=t.internals,y=h!==p.x||f!==p.y;(y||d!==t.internals.z)&&e.set(t.id,{...t,internals:{...t.internals,positionAbsolute:y?{x:h,y:f}:p,z:d}})}function rn(t,e,n){let r=ny(t.zIndex)?t.zIndex:0;return n7(n)?r:r+(t.selected?e:0)}function rr(t,e,n,r=[0,0]){let i=[],o=new Map;for(let n of t){let t=e.get(n.parentId);if(!t)continue;let r=nf(o.get(n.parentId)?.expandedRect??nc(t),n.rect);o.set(n.parentId,{expandedRect:r,parent:t})}return o.size>0&&o.forEach(({expandedRect:e,parent:o},a)=>{let u=o.internals.positionAbsolute,l=nE(o),s=o.origin??r,c=e.x<u.x?Math.round(Math.abs(u.x-e.x)):0,h=e.y<u.y?Math.round(Math.abs(u.y-e.y)):0,f=Math.max(l.width,Math.round(e.width)),d=Math.max(l.height,Math.round(e.height)),p=(f-l.width)*s[0],y=(d-l.height)*s[1];(c>0||h>0||p||y)&&(i.push({id:a,type:"position",position:{x:o.position.x-c+p,y:o.position.y-h+y}}),n.get(a)?.forEach(e=>{t.some(t=>t.id===e.id)||i.push({id:e.id,type:"position",position:{x:e.position.x+c,y:e.position.y+h}})})),(l.width<e.width||l.height<e.height||c||h)&&i.push({id:a,type:"dimensions",setAttributes:!0,dimensions:{width:f+(c?s[0]*c-p:0),height:d+(h?s[1]*h-y:0)}})}),i}function ri(t,e,n,r,i,o,a){let u=r?.querySelector(".xyflow__viewport"),l=!1;if(!u)return{changes:[],updatedInternals:l};let s=[],c=window.getComputedStyle(u),{m22:h}=new window.DOMMatrixReadOnly(c.transform),f=[];for(let r of t.values()){let t=e.get(r.id);if(!t)continue;if(t.hidden){e.set(t.id,{...t,internals:{...t.internals,handleBounds:void 0}}),l=!0;continue}let u=nT(r.nodeElement),c=t.measured.width!==u.width||t.measured.height!==u.height;if(u.width&&u.height&&(c||!t.internals.handleBounds||r.force)){let d=r.nodeElement.getBoundingClientRect(),p=nM(t.extent)?t.extent:o,{positionAbsolute:y}=t.internals;t.parentId&&"parent"===t.extent?y=ni(y,u,e.get(t.parentId)):p&&(y=nr(y,p,u));let g={...t,measured:u,internals:{...t.internals,positionAbsolute:y,handleBounds:{source:nO("source",r.nodeElement,d,h,t.id),target:nO("target",r.nodeElement,d,h,t.id)}}};e.set(t.id,g),t.parentId&&re(g,e,n,{nodeOrigin:i,zIndexMode:a}),l=!0,c&&(s.push({id:t.id,type:"dimensions",dimensions:u}),t.expandParent&&t.parentId&&f.push({id:t.id,parentId:t.parentId,rect:nc(g,i)}))}}if(f.length>0){let t=rr(f,e,n,i);s.push(...t)}return{changes:s,updatedInternals:l}}async function ro({delta:t,panZoom:e,transform:n,translateExtent:r,width:i,height:o}){if(!e||!t.x&&!t.y)return Promise.resolve(!1);let a=await e.setViewportConstrained({x:n[0]+t.x,y:n[1]+t.y,zoom:n[2]},[[0,0],[i,o]],r);return Promise.resolve(!!a&&(a.x!==n[0]||a.y!==n[1]||a.k!==n[2]))}function ra(t,e,n,r,i,o){let a=i,u=r.get(a)||new Map;r.set(a,u.set(n,e)),a=`${i}-${t}`;let l=r.get(a)||new Map;if(r.set(a,l.set(n,e)),o){a=`${i}-${t}-${o}`;let u=r.get(a)||new Map;r.set(a,u.set(n,e))}}function ru(t,e,n){for(let r of(t.clear(),e.clear(),n)){let{source:n,target:i,sourceHandle:o=null,targetHandle:a=null}=r,u={edgeId:r.id,source:n,target:i,sourceHandle:o,targetHandle:a},l=`${n}-${o}--${i}-${a}`;ra("source",u,`${i}-${a}--${n}-${o}`,t,n,o),ra("target",u,l,t,i,a),e.set(r.id,r)}}function rl(t,e,n){let r=t;do{if(r?.matches?.(e))return!0;if(r===n)break;r=r?.parentElement}while(r);return!1}function rs({nodeId:t,dragItems:e,nodeLookup:n,dragging:r=!0}){let i=[];for(let[t,o]of e){let e=n.get(t)?.internals.userNode;e&&i.push({...e,position:o.position,dragging:r})}if(!t)return[i[0],i];let o=n.get(t)?.internals.userNode;return[o?{...o,position:e.get(t)?.position||o.position,dragging:r}:i[0],i]}function rc({onNodeMouseDown:t,getStoreItems:e,onDragStart:n,onDrag:r,onDragStop:i}){let o={x:null,y:null},a=0,u=new Map,l=!1,s={x:0,y:0},c=null,h=!1,d=null,p=!1,y=!1,g=null;return{update:function({noDragClassName:m,handleSelector:v,domNode:x,isSelectable:w,nodeId:_,nodeClickDistance:b=0}){function M({x:t,y:n}){let{nodeLookup:i,nodeExtent:a,snapGrid:l,snapToGrid:s,nodeOrigin:c,onNodeDrag:h,onSelectionDrag:f,onError:d,updateNodePositions:p}=e();o={x:t,y:n};let m=!1,v=u.size>1,x=v&&a?nl(e6(u)):null,w=v&&s?function({dragItems:t,snapGrid:e,x:n,y:r}){let i=t.values().next().value;if(!i)return null;let o={x:n-i.distance.x,y:r-i.distance.y},a=nm(o,e);return{x:a.x-o.x,y:a.y-o.y}}({dragItems:u,snapGrid:l,x:t,y:n}):null;for(let[e,r]of u){if(!i.has(e))continue;let o={x:t-r.distance.x,y:n-r.distance.y};s&&(o=w?{x:Math.round(o.x+w.x),y:Math.round(o.y+w.y)}:nm(o,l));let u=null;if(v&&a&&!r.extent&&x){let{positionAbsolute:t}=r.internals,e=t.x-x.x+a[0][0],n=t.x+r.measured.width-x.x2+a[1][0];u=[[e,t.y-x.y+a[0][1]],[n,t.y+r.measured.height-x.y2+a[1][1]]]}let{position:h,positionAbsolute:f}=nt({nodeId:e,nextPosition:o,nodeLookup:i,nodeExtent:u||a,nodeOrigin:c,onError:d});m=m||r.position.x!==h.x||r.position.y!==h.y,r.position=h,r.internals.positionAbsolute=f}if(y=y||m,m&&(p(u,!0),g&&(r||h||!_&&f))){let[t,e]=rs({nodeId:_,dragItems:u,nodeLookup:i});r?.(g,u,t,e),h?.(g,t,e),_||f?.(g,e)}}async function E(){if(!c)return;let{transform:t,panBy:n,autoPanSpeed:r,autoPanOnNodeDrag:i}=e();if(!i){l=!1,cancelAnimationFrame(a);return}let[u,h]=na(s,c,r);(0!==u||0!==h)&&(o.x=(o.x??0)-u/t[2],o.y=(o.y??0)-h/t[2],await n({x:u,y:h})&&M(o)),a=requestAnimationFrame(E)}function k(r){let{nodeLookup:i,multiSelectionActive:a,nodesDraggable:l,transform:s,snapGrid:f,snapToGrid:d,selectNodesOnDrag:p,onNodeDragStart:y,onSelectionDragStart:g,unselectNodesAndEdges:m}=e();h=!0,p&&w||a||!_||i.get(_)?.selected||m(),w&&p&&_&&t?.(_);let v=nS(r.sourceEvent,{transform:s,snapGrid:f,snapToGrid:d,containerBounds:c});if(o=v,(u=function(t,e,n,r){let i=new Map;for(let[o,a]of t)if((a.selected||a.id===r)&&(!a.parentId||!function t(e,n){if(!e.parentId)return!1;let r=n.get(e.parentId);return!!r&&(!!r.selected||t(r,n))}(a,t))&&(a.draggable||e&&void 0===a.draggable)){let e=t.get(o);e&&i.set(o,{id:o,position:e.position||{x:0,y:0},distance:{x:n.x-e.internals.positionAbsolute.x,y:n.y-e.internals.positionAbsolute.y},extent:e.extent,parentId:e.parentId,origin:e.origin,expandParent:e.expandParent,internals:{positionAbsolute:e.internals.positionAbsolute||{x:0,y:0}},measured:{width:e.measured.width??0,height:e.measured.height??0}})}return i}(i,l,v,_)).size>0&&(n||y||!_&&g)){let[t,e]=rs({nodeId:_,dragItems:u,nodeLookup:i});n?.(r.sourceEvent,u,t,e),y?.(r.sourceEvent,t,e),_||g?.(r.sourceEvent,e)}}d=tn(x);let A=(function(){var t,e,n,r,i=tf,o=td,a=tp,u=ty,l={},s=f("start","drag","end"),c=0,h=0;function d(t){t.on("mousedown.drag",p).filter(u).on("touchstart.drag",m).on("touchmove.drag",v,ti).on("touchend.drag touchcancel.drag",x).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function p(a,u){if(!r&&i.call(this,a,u)){var l=w(this,o.call(this,a,u),a,u,"mouse");l&&(tn(a.view).on("mousemove.drag",y,to).on("mouseup.drag",g,to),tl(a.view),ta(a),n=!1,t=a.clientX,e=a.clientY,l("start",a))}}function y(r){if(tu(r),!n){var i=r.clientX-t,o=r.clientY-e;n=i*i+o*o>h}l.mouse("drag",r)}function g(t){tn(t.view).on("mousemove.drag mouseup.drag",null),ts(t.view,n),tu(t),l.mouse("end",t)}function m(t,e){if(i.call(this,t,e)){var n,r,a=t.changedTouches,u=o.call(this,t,e),l=a.length;for(n=0;n<l;++n)(r=w(this,u,t,e,a[n].identifier,a[n]))&&(ta(t),r("start",t,a[n]))}}function v(t){var e,n,r=t.changedTouches,i=r.length;for(e=0;e<i;++e)(n=l[r[e].identifier])&&(tu(t),n("drag",t,r[e]))}function x(t){var e,n,i=t.changedTouches,o=i.length;for(r&&clearTimeout(r),r=setTimeout(function(){r=null},500),e=0;e<o;++e)(n=l[i[e].identifier])&&(ta(t),n("end",t,i[e]))}function w(t,e,n,r,i,o){var u,h,f,p=s.copy(),y=tr(o||n,e);if(null!=(f=a.call(t,new th("beforestart",{sourceEvent:n,target:d,identifier:i,active:c,x:y[0],y:y[1],dx:0,dy:0,dispatch:p}),r)))return u=f.x-y[0]||0,h=f.y-y[1]||0,function n(o,a,s){var g,m=y;switch(o){case"start":l[i]=n,g=c++;break;case"end":delete l[i],--c;case"drag":y=tr(s||a,e),g=c}p.call(o,t,new th(o,{sourceEvent:a,subject:f,target:d,identifier:i,active:g,x:y[0]+u,y:y[1]+h,dx:y[0]-m[0],dy:y[1]-m[1],dispatch:p}),r)}}return d.filter=function(t){return arguments.length?(i="function"==typeof t?t:tc(!!t),d):i},d.container=function(t){return arguments.length?(o="function"==typeof t?t:tc(t),d):o},d.subject=function(t){return arguments.length?(a="function"==typeof t?t:tc(t),d):a},d.touchable=function(t){return arguments.length?(u="function"==typeof t?t:tc(!!t),d):u},d.on=function(){var t=s.on.apply(s,arguments);return t===s?d:t},d.clickDistance=function(t){return arguments.length?(h=(t*=1)*t,d):Math.sqrt(h)},d})().clickDistance(b).on("start",t=>{let{domNode:n,nodeDragThreshold:r,transform:i,snapGrid:a,snapToGrid:u}=e();c=n?.getBoundingClientRect()||null,p=!1,y=!1,g=t.sourceEvent,0===r&&k(t),o=nS(t.sourceEvent,{transform:i,snapGrid:a,snapToGrid:u,containerBounds:c}),s=nB(t.sourceEvent,c)}).on("drag",t=>{let{autoPanOnNodeDrag:n,transform:r,snapGrid:i,snapToGrid:a,nodeDragThreshold:f,nodeLookup:d}=e(),y=nS(t.sourceEvent,{transform:r,snapGrid:i,snapToGrid:a,containerBounds:c});if(g=t.sourceEvent,("touchmove"===t.sourceEvent.type&&t.sourceEvent.touches.length>1||_&&!d.has(_))&&(p=!0),!p){if(!l&&n&&h&&(l=!0,E()),!h){let e=nB(t.sourceEvent,c),n=e.x-s.x,r=e.y-s.y;Math.sqrt(n*n+r*r)>f&&k(t)}(o.x!==y.xSnapped||o.y!==y.ySnapped)&&u&&h&&(s=nB(t.sourceEvent,c),M(y))}}).on("end",t=>{if(h&&!p&&(l=!1,h=!1,cancelAnimationFrame(a),u.size>0)){let{nodeLookup:n,updateNodePositions:r,onNodeDragStop:o,onSelectionDragStop:a}=e();if(y&&(r(u,!1),y=!1),i||o||!_&&a){let[e,r]=rs({nodeId:_,dragItems:u,nodeLookup:n,dragging:!1});i?.(t.sourceEvent,u,e,r),o?.(t.sourceEvent,e,r),_||a?.(t.sourceEvent,r)}}}).filter(t=>{let e=t.target;return!t.button&&(!m||!rl(e,`.${m}`,x))&&(!v||rl(e,v,x))});d.call(A)},destroy:function(){d?.on(".drag",null)}}}function rh(t,e,n,r,i,o=!1){let a=r.get(t);if(!a)return null;let u="strict"===i?a.internals.handleBounds?.[e]:[...a.internals.handleBounds?.source??[],...a.internals.handleBounds?.target??[]],l=(n?u?.find(t=>t.id===n):u?.[0])??null;return l&&o?{...l,...n1(a,l,l.position,!0)}:l}function rf(t,e){return t?t:e?.classList.contains("target")?"target":e?.classList.contains("source")?"source":null}let rd=()=>!0;function rp(t,{handle:e,connectionMode:n,fromNodeId:r,fromHandleId:o,fromType:a,doc:u,lib:l,flowId:s,isValidConnection:c=rd,nodeLookup:h}){let f="target"===a,d=e?u.querySelector(`.${l}-flow__handle[data-id="${s}-${e?.nodeId}-${e?.id}-${e?.type}"]`):null,{x:p,y}=nB(t),g=u.elementFromPoint(p,y),m=g?.classList.contains(`${l}-flow__handle`)?g:d,v={handleDomNode:m,isValid:!1,connection:null,toHandle:null};if(m){let t=rf(void 0,m),e=m.getAttribute("data-nodeid"),a=m.getAttribute("data-handleid"),u=m.classList.contains("connectable"),l=m.classList.contains("connectableend");if(!e||!t)return v;let s={source:f?e:r,sourceHandle:f?a:o,target:f?r:e,targetHandle:f?o:a};v.connection=s,v.isValid=u&&l&&(n===i.Strict?f&&"source"===t||!f&&"target"===t:e!==r||a!==o)&&c(s),v.toHandle=rh(e,t,a,h,n,!0)}return v}let ry={onPointerDown:function(t,{connectionMode:e,connectionRadius:n,handleId:r,nodeId:i,edgeUpdaterType:o,isTarget:a,domNode:u,nodeLookup:l,lib:c,autoPanOnConnect:h,flowId:f,panBy:d,cancelConnection:p,onConnectStart:y,onConnect:g,onConnectEnd:m,isValidConnection:v=rd,onReconnectEnd:x,updateConnection:w,getTransform:_,getFromHandle:b,autoPanSpeed:M,dragThreshold:E=1,handleDomNode:k}){let A,$=nP(t.target),z=0,{x:N,y:S}=nB(t),T=rf(o,k),P=u?.getBoundingClientRect(),I=!1;if(!P||!T)return;let H=rh(i,T,r,l,e);if(!H)return;let L=nB(t,P),B=!1,O=null,C=!1,D=null,q={...H,nodeId:i,type:T,position:H.position},j=l.get(i),R={inProgress:!0,isValid:null,from:n1(j,q,s.Left,!0),fromHandle:q,fromPosition:q.position,fromNode:j,to:L,toHandle:null,toPosition:e0[q.position],toNode:null,pointer:L};function X(){I=!0,w(R),y?.(t,{nodeId:i,handleId:r,handleType:T})}function V(t){var o,u;let p;if(!I){let{x:e,y:n}=nB(t),r=e-N,i=n-S;if(!(r*r+i*i>E*E))return;X()}if(!b()||!q)return void Y(t);let y=_();A=function(t,e,n,r){let i=[],o=1/0;for(let a of function(t,e,n){let r=[],i={x:t.x-n,y:t.y-n,width:2*n,height:2*n};for(let t of e.values())nd(i,nc(t))>0&&r.push(t);return r}(t,n,e+250))for(let n of[...a.internals.handleBounds?.source??[],...a.internals.handleBounds?.target??[]]){if(r.nodeId===n.nodeId&&r.type===n.type&&r.id===n.id)continue;let{x:u,y:l}=n1(a,n,n.position,!0),s=Math.sqrt(Math.pow(u-t.x,2)+Math.pow(l-t.y,2));s>e||(s<o?(i=[{...n,x:u,y:l}],o=s):s===o&&i.push({...n,x:u,y:l}))}if(!i.length)return null;if(i.length>1){let t="source"===r.type?"target":"source";return i.find(e=>e.type===t)??i[0]}return i[0]}(nv(L=nB(t,P),y,!1,[1,1]),n,l,q),B||(!function t(){if(!h||!P)return;let[e,n]=na(L,P,M);d({x:e,y:n}),z=requestAnimationFrame(t)}(),B=!0);let g=rp(t,{handle:A,connectionMode:e,fromNodeId:i,fromHandleId:r,fromType:a?"target":"source",isValidConnection:v,doc:$,lib:c,flowId:f,nodeLookup:l});D=g.handleDomNode,O=g.connection,o=!!A,u=g.isValid,p=null,u?p=!0:o&&!u&&(p=!1),C=p;let m=l.get(i),x=m?n1(m,q,s.Left,!0):R.from,k={...R,from:x,isValid:C,to:g.toHandle&&C?nx({x:g.toHandle.x,y:g.toHandle.y},y):L,toHandle:g.toHandle,toPosition:C&&g.toHandle?g.toHandle.position:e0[q.position],toNode:g.toHandle?l.get(g.toHandle.nodeId):null,pointer:L};w(k),R=k}function Y(t){if(!("touches"in t)||!(t.touches.length>0)){if(I){(A||D)&&O&&C&&g?.(O);let{inProgress:e,...n}=R,r={...n,toPosition:R.toHandle?R.toPosition:null};m?.(t,r),o&&x?.(t,r)}p(),cancelAnimationFrame(z),B=!1,C=!1,O=null,D=null,$.removeEventListener("mousemove",V),$.removeEventListener("mouseup",Y),$.removeEventListener("touchmove",V),$.removeEventListener("touchend",Y)}}0===E&&X(),$.addEventListener("mousemove",V),$.addEventListener("mouseup",Y),$.addEventListener("touchmove",V),$.addEventListener("touchend",Y)},isValid:rp};function rg({domNode:t,panZoom:e,getTransform:n,getViewScale:r}){let i=tn(t);return{update:function({translateExtent:t,width:o,height:a,zoomStep:u=1,pannable:l=!0,zoomable:s=!0,inversePan:c=!1}){let h=[0,0],f=eK().on("start",t=>{("mousedown"===t.sourceEvent.type||"touchstart"===t.sourceEvent.type)&&(h=[t.sourceEvent.clientX??t.sourceEvent.touches[0].clientX,t.sourceEvent.clientY??t.sourceEvent.touches[0].clientY])}).on("zoom",l?i=>{let u=n();if("mousemove"!==i.sourceEvent.type&&"touchmove"!==i.sourceEvent.type||!e)return;let l=[i.sourceEvent.clientX??i.sourceEvent.touches[0].clientX,i.sourceEvent.clientY??i.sourceEvent.touches[0].clientY],s=[l[0]-h[0],l[1]-h[1]];h=l;let f=r()*Math.max(u[2],Math.log(u[2]))*(c?-1:1),d={x:u[0]-s[0]*f,y:u[1]-s[1]*f};e.setViewportConstrained({x:d.x,y:d.y,zoom:u[2]},[[0,0],[o,a]],t)}:null).on("zoom.wheel",s?t=>{if("wheel"!==t.sourceEvent.type||!e)return;let r=n(),i=t.sourceEvent.ctrlKey&&nb()?10:1,o=-t.sourceEvent.deltaY*(1===t.sourceEvent.deltaMode?.05:t.sourceEvent.deltaMode?1:.002)*u,a=r[2]*Math.pow(2,o*i);e.scaleTo(a)}:null);i.call(f,{})},destroy:function(){i.on("zoom",null)},pointer:tr}}let rm=t=>({x:t.x,y:t.y,zoom:t.k}),rv=({x:t,y:e,zoom:n})=>eO.translate(t,e).scale(n),rx=(t,e)=>t.target.closest(`.${e}`),rw=(t,e)=>2===e&&Array.isArray(t)&&t.includes(2),r_=t=>((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2,rb=(t,e=0,n=r_,r=()=>{})=>{let i="number"==typeof e&&e>0;return i||r(),i?t.transition().duration(e).ease(n).on("end",r):t},rM=t=>{let e=t.ctrlKey&&nb()?10:1;return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*e};function rE({domNode:t,minZoom:e,maxZoom:n,translateExtent:r,viewport:i,onPanZoom:a,onPanZoomStart:u,onPanZoomEnd:l,onDraggingChange:s}){let c={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{x:0,y:0,zoom:0},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},h=t.getBoundingClientRect(),f=eK().scaleExtent([e,n]).translateExtent(r),d=tn(t).call(f);v({x:i.x,y:i.y,zoom:nn(i.zoom,e,n)},[[0,0],[h.width,h.height]],r);let p=d.on("wheel.zoom"),y=d.on("dblclick.zoom");function g(t,e){return d?new Promise(n=>{f?.interpolate(e?.interpolate==="linear"?eW:tm).transform(rb(d,e?.duration,e?.ease,()=>n(!0)),t)}):Promise.resolve(!1)}function m(){f.on("zoom",null)}async function v(t,e,n){let r=rv(t),i=f?.constrain()(r,e,n);return i&&await g(i),new Promise(t=>t(i))}return f.wheelDelta(rM),{update:function({noWheelClassName:t,noPanClassName:e,onPaneContextMenu:n,userSelectionActive:r,panOnScroll:i,panOnDrag:h,panOnScrollMode:g,panOnScrollSpeed:v,preventScrolling:x,zoomOnPinch:w,zoomOnScroll:_,zoomOnDoubleClick:b,zoomActivationKeyPressed:M,lib:E,onTransformChange:k,connectionInProgress:A,paneClickDistance:$,selectionOnDrag:z}){r&&!c.isZoomingOrPanning&&m();let N=i&&!M&&!r;f.clickDistance(z?1/0:!ny($)||$<0?0:$);let S=N?function({zoomPanValues:t,noWheelClassName:e,d3Selection:n,d3Zoom:r,panOnScrollMode:i,panOnScrollSpeed:a,zoomOnPinch:u,onPanZoomStart:l,onPanZoom:s,onPanZoomEnd:c}){return h=>{if(rx(h,e))return h.ctrlKey&&h.preventDefault(),!1;h.preventDefault(),h.stopImmediatePropagation();let f=n.property("__zoom").k||1;if(h.ctrlKey&&u){let t=tr(h),e=f*Math.pow(2,rM(h));r.scaleTo(n,e,t,h);return}let d=1===h.deltaMode?20:1,p=i===o.Vertical?0:h.deltaX*d,y=i===o.Horizontal?0:h.deltaY*d;!nb()&&h.shiftKey&&i!==o.Vertical&&(p=h.deltaY*d,y=0),r.translateBy(n,-(p/f)*a,-(y/f)*a,{internal:!0});let g=rm(n.property("__zoom"));clearTimeout(t.panScrollTimeout),t.isPanScrolling?(s?.(h,g),t.panScrollTimeout=setTimeout(()=>{c?.(h,g),t.isPanScrolling=!1},150)):(t.isPanScrolling=!0,l?.(h,g))}}({zoomPanValues:c,noWheelClassName:t,d3Selection:d,d3Zoom:f,panOnScrollMode:g,panOnScrollSpeed:v,zoomOnPinch:w,onPanZoomStart:u,onPanZoom:a,onPanZoomEnd:l}):function({noWheelClassName:t,preventScrolling:e,d3ZoomHandler:n}){return function(r,i){let o="wheel"===r.type,a=!e&&o&&!r.ctrlKey,u=rx(r,t);if(r.ctrlKey&&o&&u&&r.preventDefault(),a||u)return null;r.preventDefault(),n.call(this,r,i)}}({noWheelClassName:t,preventScrolling:x,d3ZoomHandler:p});if(d.on("wheel.zoom",S,{passive:!1}),!r){let t=function({zoomPanValues:t,onDraggingChange:e,onPanZoomStart:n}){return r=>{if(r.sourceEvent?.internal)return;let i=rm(r.transform);t.mouseButton=r.sourceEvent?.button||0,t.isZoomingOrPanning=!0,t.prevViewport=i,r.sourceEvent?.type==="mousedown"&&e(!0),n&&n?.(r.sourceEvent,i)}}({zoomPanValues:c,onDraggingChange:s,onPanZoomStart:u});f.on("start",t);let e=function({zoomPanValues:t,panOnDrag:e,onPaneContextMenu:n,onTransformChange:r,onPanZoom:i}){return o=>{t.usedRightMouseButton=!!(n&&rw(e,t.mouseButton??0)),o.sourceEvent?.sync||r([o.transform.x,o.transform.y,o.transform.k]),i&&!o.sourceEvent?.internal&&i?.(o.sourceEvent,rm(o.transform))}}({zoomPanValues:c,panOnDrag:h,onPaneContextMenu:!!n,onPanZoom:a,onTransformChange:k});f.on("zoom",e);let r=function({zoomPanValues:t,panOnDrag:e,panOnScroll:n,onDraggingChange:r,onPanZoomEnd:i,onPaneContextMenu:o}){return a=>{if(!a.sourceEvent?.internal&&(t.isZoomingOrPanning=!1,o&&rw(e,t.mouseButton??0)&&!t.usedRightMouseButton&&a.sourceEvent&&o(a.sourceEvent),t.usedRightMouseButton=!1,r(!1),i)){let e=rm(a.transform);t.prevViewport=e,clearTimeout(t.timerId),t.timerId=setTimeout(()=>{i?.(a.sourceEvent,e)},150*!!n)}}}({zoomPanValues:c,panOnDrag:h,panOnScroll:i,onPaneContextMenu:n,onPanZoomEnd:l,onDraggingChange:s});f.on("end",r)}let T=function({zoomActivationKeyPressed:t,zoomOnScroll:e,zoomOnPinch:n,panOnDrag:r,panOnScroll:i,zoomOnDoubleClick:o,userSelectionActive:a,noWheelClassName:u,noPanClassName:l,lib:s,connectionInProgress:c}){return h=>{let f=t||e,d=n&&h.ctrlKey,p="wheel"===h.type;if(1===h.button&&"mousedown"===h.type&&(rx(h,`${s}-flow__node`)||rx(h,`${s}-flow__edge`)))return!0;if(!r&&!f&&!i&&!o&&!n||a||c&&!p||rx(h,u)&&p||rx(h,l)&&(!p||i&&p&&!t)||!n&&h.ctrlKey&&p)return!1;if(!n&&"touchstart"===h.type&&h.touches?.length>1)return h.preventDefault(),!1;if(!f&&!i&&!d&&p||!r&&("mousedown"===h.type||"touchstart"===h.type)||Array.isArray(r)&&!r.includes(h.button)&&"mousedown"===h.type)return!1;let y=Array.isArray(r)&&r.includes(h.button)||!h.button||h.button<=1;return(!h.ctrlKey||p)&&y}}({zoomActivationKeyPressed:M,panOnDrag:h,zoomOnScroll:_,panOnScroll:i,zoomOnDoubleClick:b,zoomOnPinch:w,userSelectionActive:r,noPanClassName:e,noWheelClassName:t,lib:E,connectionInProgress:A});f.filter(T),b?d.on("dblclick.zoom",y):d.on("dblclick.zoom",null)},destroy:m,setViewport:async function t(t,e){let n=rv(t);return await g(n,e),new Promise(t=>t(n))},setViewportConstrained:v,getViewport:function(){let t=d?eC(d.node()):{x:0,y:0,k:1};return{x:t.x,y:t.y,zoom:t.k}},scaleTo:function(t,e){return d?new Promise(n=>{f?.interpolate(e?.interpolate==="linear"?eW:tm).scaleTo(rb(d,e?.duration,e?.ease,()=>n(!0)),t)}):Promise.resolve(!1)},scaleBy:function(t,e){return d?new Promise(n=>{f?.interpolate(e?.interpolate==="linear"?eW:tm).scaleBy(rb(d,e?.duration,e?.ease,()=>n(!0)),t)}):Promise.resolve(!1)},setScaleExtent:function(t){f?.scaleExtent(t)},setTranslateExtent:function(t){f?.translateExtent(t)},syncViewport:function(t){if(d){let e=rv(t),n=d.property("__zoom");(n.k!==t.zoom||n.x!==t.x||n.y!==t.y)&&f?.transform(d,e,null,{sync:!0})}},setClickDistance:function(t){let e=!ny(t)||t<0?0:t;f?.clickDistance(e)}}}!function(t){t.Line="line",t.Handle="handle"}(c||(c={}))},83654:(t,e,n)=>{"use strict";var r=n(12115),i=n(14806),o="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},a=i.useSyncExternalStore,u=r.useRef,l=r.useEffect,s=r.useMemo,c=r.useDebugValue;e.useSyncExternalStoreWithSelector=function(t,e,n,r,i){var h=u(null);if(null===h.current){var f={hasValue:!1,value:null};h.current=f}else f=h.current;var d=a(t,(h=s(function(){function t(t){if(!l){if(l=!0,a=t,t=r(t),void 0!==i&&f.hasValue){var e=f.value;if(i(e,t))return u=e}return u=t}if(e=u,o(a,t))return e;var n=r(t);return void 0!==i&&i(e,n)?(a=t,e):(a=t,u=n)}var a,u,l=!1,s=void 0===n?null:n;return[function(){return t(e())},null===s?void 0:function(){return t(s())}]},[e,n,r,i]))[0],h[1]);return l(function(){f.hasValue=!0,f.value=d},[d]),c(d),d}},88822:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});let r=(0,n(14294).A)("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]])}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[199],{19:(t,r,e)=>{"use strict";var n=e(78894),i=Math.min;t.exports=function(t){var r=n(t);return r>0?i(r,0x1fffffffffffff):0}},190:(t,r,e)=>{"use strict";var n=e(20161),i=e(30852),o=e(58777);t.exports=n?function(t,r,e){return i.f(t,r,o(1,e))}:function(t,r,e){return t[r]=e,t}},488:t=>{"use strict";t.exports=function(t){return null==t}},1097:t=>{t.exports=function(t){this.ok=!1,this.alpha=1,"#"==t.charAt(0)&&(t=t.substr(1,6));var r={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};t=r[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var e=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3]),parseFloat(t[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],n=0;n<e.length;n++){var i=e[n].re,o=e[n].process,a=i.exec(t);if(a){var s=o(a);this.r=s[0],this.g=s[1],this.b=s[2],s.length>3&&(this.alpha=s[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var t=this.r.toString(16),r=this.g.toString(16),e=this.b.toString(16);return 1==t.length&&(t="0"+t),1==r.length&&(r="0"+r),1==e.length&&(e="0"+e),"#"+t+r+e},this.getHelpXML=function(){for(var t=[],n=0;n<e.length;n++)for(var i=e[n].example,o=0;o<i.length;o++)t[t.length]=i[o];for(var a in r)t[t.length]=a;var s=document.createElement("ul");s.setAttribute("id","rgbcolor-examples");for(var n=0;n<t.length;n++)try{var u=document.createElement("li"),c=new RGBColor(t[n]),f=document.createElement("div");f.style.cssText="margin: 3px; border: 1px solid black; background:"+c.toHex()+"; color:"+c.toHex(),f.appendChild(document.createTextNode("test"));var l=document.createTextNode(" "+t[n]+" -> "+c.toRGB()+" -> "+c.toHex());u.appendChild(f),u.appendChild(l),s.appendChild(u)}catch(t){}return s}}},1154:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},3202:(t,r,e)=>{"use strict";var n=e(28905),i=TypeError;t.exports=function(t){if(n(t))throw new i("The method doesn't accept regular expressions");return t}},3262:(t,r,e)=>{"use strict";var n=e(92912),i=e(80997),o=e(82002),a=e(97374),s=e(24400),u=e(53988),c=e(38253),f=e(8480).get,l=e(37862),p=e(82515),h=u("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,d=v,y=i("".charAt),m=i("".indexOf),g=i("".replace),x=i("".slice),b=function(){var t=/a/,r=/b*/g;return n(v,t,"a"),n(v,r,"a"),0!==t.lastIndex||0!==r.lastIndex}(),O=s.BROKEN_CARET,T=void 0!==/()??/.exec("")[1],E=function(t,r){for(var e=t.groups=c(null),n=0;n<r.length;n++){var i=r[n];e[i[0]]=t[i[1]]}};(b||T||O||l||p)&&(d=function(t){var r,e,i,s=f(this),u=o(t),c=s.raw;if(c)return c.lastIndex=this.lastIndex,r=n(d,c,u),this.lastIndex=c.lastIndex,r&&s.groups&&E(r,s.groups),r;var l=s.groups,p=O&&this.sticky,N=n(a,this),_=this.source,w=0,A=u;if(p){-1===m(N=g(N,"y",""),"g")&&(N+="g"),A=x(u,this.lastIndex);var R=this.lastIndex>0&&y(u,this.lastIndex-1);this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==R&&"\r"!==R&&"\u2028"!==R&&"\u2029"!==R)&&(_="(?: (?:"+_+"))",A=" "+A,w++),e=RegExp("^(?:"+_+")",N)}T&&(e=RegExp("^"+_+"$(?!\\s)",N)),b&&(i=this.lastIndex);var C=n(v,p?e:this,A);return p?C?(C.input=u,C[0]=x(C[0],w),C.index=this.lastIndex,this.lastIndex+=C[0].length):this.lastIndex=0:b&&C&&(this.lastIndex=this.global?C.index+C[0].length:i),T&&C&&C.length>1&&n(h,C[0],e,function(){for(var t=1;t<arguments.length-2;t++)void 0===arguments[t]&&(C[t]=void 0)}),C&&l&&E(C,l),C}),t.exports=d},4116:(t,r,e)=>{"use strict";var n=e(20161),i=e(53859),o=e(30852),a=e(48074),s=e(60616),u=e(63189);r.f=n&&!i?Object.defineProperties:function(t,r){a(t);for(var e,n=s(r),i=u(r),c=i.length,f=0;c>f;)o.f(t,e=i[f++],n[e]);return t}},5013:(t,r,e)=>{"use strict";t.exports=e(80997)([].slice)},5050:(t,r,e)=>{"use strict";var n=e(30842),i=e(80997),o=e(59749),a=e(68008),s=e(48074),u=i([].concat);t.exports=n("Reflect","ownKeys")||function(t){var r=o.f(s(t)),e=a.f;return e?u(r,e(t)):r}},5331:(t,r,e)=>{"use strict";var n=e(31989),i=e(33608),o=n.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},5996:(t,r,e)=>{"use strict";var n=e(44939),i=e(77097),o=e(86198).f,a=e(19),s=e(82002),u=e(3202),c=e(28891),f=e(23857),l=e(51422),p=i("".slice),h=Math.min,v=f("endsWith");n({target:"String",proto:!0,forced:!(!l&&!v&&function(){var t=o(String.prototype,"endsWith");return t&&!t.writable}())&&!v},{endsWith:function(t){var r=s(c(this));u(t);var e=s(t),n=arguments.length>1?arguments[1]:void 0,i=r.length,o=void 0===n?i:h(a(n),i);return p(r,o-e.length,o)===e}})},6126:(t,r,e)=>{"use strict";var n=e(58177),i=e(33608),o=e(20885),a=e(52134)("toStringTag"),s=Object,u="Arguments"===o(function(){return arguments}()),c=function(t,r){try{return t[r]}catch(t){}};t.exports=n?o:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=c(r=s(t),a))?e:u?o(r):"Object"===(n=o(r))&&i(r.callee)?"Arguments":n}},7082:(t,r,e)=>{"use strict";var n=e(91591),i=e(92855),o=e(28891),a=e(36183);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=n(Object.prototype,"__proto__","set"))(e,[]),r=e instanceof Array}catch(t){}return function(e,n){return o(e),a(n),i(e)&&(r?t(e,n):e.__proto__=n),e}}():void 0)},7667:(t,r,e)=>{"use strict";var n=e(94156),i=e(22856),o=e(89810),a=e(80523),s=TypeError,u="Reduce of empty array with no initial value",c=function(t){return function(r,e,c,f){var l=i(r),p=o(l),h=a(l);if(n(e),0===h&&c<2)throw new s(u);var v=t?h-1:0,d=t?-1:1;if(c<2)for(;;){if(v in p){f=p[v],v+=d;break}if(v+=d,t?v<0:h<=v)throw new s(u)}for(;t?v>=0:h>v;v+=d)v in p&&(f=e(f,p[v],v,l));return f}};t.exports={left:c(!1),right:c(!0)}},8443:(t,r,e)=>{"use strict";t.exports=e(31989).Promise},8480:(t,r,e)=>{"use strict";var n,i,o,a=e(5331),s=e(31989),u=e(92855),c=e(190),f=e(42996),l=e(63792),p=e(97898),h=e(47912),v="Object already initialized",d=s.TypeError,y=s.WeakMap;if(a||l.state){var m=l.state||(l.state=new y);m.get=m.get,m.has=m.has,m.set=m.set,n=function(t,r){if(m.has(t))throw new d(v);return r.facade=t,m.set(t,r),r},i=function(t){return m.get(t)||{}},o=function(t){return m.has(t)}}else{var g=p("state");h[g]=!0,n=function(t,r){if(f(t,g))throw new d(v);return r.facade=t,c(t,g,r),r},i=function(t){return f(t,g)?t[g]:{}},o=function(t){return f(t,g)}}t.exports={set:n,get:i,has:o,enforce:function(t){return o(t)?i(t):n(t,{})},getterFor:function(t){return function(r){var e;if(!u(r)||(e=i(r)).type!==t)throw new d("Incompatible receiver, "+t+" required");return e}}}},8632:(t,r)=>{"use strict";var e={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor;r.f=n&&!e.call({1:2},1)?function(t){var r=n(this,t);return!!r&&r.enumerable}:e},11747:function(t,r,e){var n=e(95704);(function(){var r,e,i,o;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:null!=n&&n.hrtime?(t.exports=function(){return(r()-o)/1e6},e=n.hrtime,o=(r=function(){var t;return 1e9*(t=e())[0]+t[1]})()-1e9*n.uptime()):Date.now?(t.exports=function(){return Date.now()-i},i=Date.now()):(t.exports=function(){return new Date().getTime()-i},i=new Date().getTime())}).call(this)},11827:(t,r,e)=>{"use strict";var n=e(94156),i=e(488);t.exports=function(t,r){var e=t[r];return i(e)?void 0:n(e)}},12703:(t,r,e)=>{"use strict";var n=e(92912),i=e(42996),o=e(98220),a=e(83216),s=e(97374),u=RegExp.prototype;t.exports=a.correct?function(t){return t.flags}:function(t){return!a.correct&&o(u,t)&&!i(t,"flags")?n(s,t):t.flags}},14144:(t,r,e)=>{"use strict";var n=e(31989),i=e(20161),o=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!i)return n[t];var r=o(n,t);return r&&r.value}},14383:(t,r,e)=>{"use strict";var n=e(78894),i=Math.max,o=Math.min;t.exports=function(t,r){var e=n(t);return e<0?i(e+r,0):o(e,r)}},14460:(t,r,e)=>{"use strict";var n=e(31989),i=e(60701),o=e(71669),a=e(95877),s=e(190),u=e(24386),c=e(52134)("iterator"),f=a.values,l=function(t,r){if(t){if(t[c]!==f)try{s(t,c,f)}catch(r){t[c]=f}if(u(t,r,!0),i[r]){for(var e in a)if(t[e]!==a[e])try{s(t,e,a[e])}catch(r){t[e]=a[e]}}}};for(var p in i)l(n[p]&&n[p].prototype,p);l(o,"DOMTokenList")},15217:(t,r,e)=>{"use strict";var n=e(1154),i=e(33608),o=/#|\.prototype\./,a=function(t,r){var e=u[s(t)];return e===f||e!==c&&(i(r)?n(r):!!r)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",f=a.POLYFILL="P";t.exports=a},15306:(t,r,e)=>{"use strict";var n=e(44939),i=e(3262);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},16730:t=>{"use strict";var r=String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},17505:(t,r,e)=>{"use strict";var n=e(42996),i=e(5050),o=e(86198),a=e(30852);t.exports=function(t,r,e){for(var s=i(r),u=a.f,c=o.f,f=0;f<s.length;f++){var l=s[f];n(t,l)||e&&n(e,l)||u(t,l,c(r,l))}}},19360:(t,r,e)=>{"use strict";t.exports=e(30842)("document","documentElement")},20161:(t,r,e)=>{"use strict";t.exports=!e(1154)(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},20666:(t,r,e)=>{"use strict";var n=e(31989),i=e(92855),o=n.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},20885:(t,r,e)=>{"use strict";var n=e(80997),i=n({}.toString),o=n("".slice);t.exports=function(t){return o(i(t),8,-1)}},22856:(t,r,e)=>{"use strict";var n=e(28891),i=Object;t.exports=function(t){return i(n(t))}},23185:t=>{"use strict";t.exports=" \n\v\f\r \xa0 \u2028\u2029\uFEFF"},23236:(t,r,e)=>{"use strict";var n=e(30842),i=e(70927),o=e(52134),a=e(20161),s=o("species");t.exports=function(t){var r=n(t);a&&r&&!r[s]&&i(r,s,{configurable:!0,get:function(){return this}})}},23857:(t,r,e)=>{"use strict";var n=e(52134)("match");t.exports=function(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[n]=!1,"/./"[t](r)}catch(t){}}return!1}},23936:(t,r,e)=>{"use strict";var n=e(80997),i=e(1154),o=e(33608),a=e(6126),s=e(30842),u=e(33343),c=function(){},f=s("Reflect","construct"),l=/^\s*(?:class|function)\b/,p=n(l.exec),h=!l.test(c),v=function(t){if(!o(t))return!1;try{return f(c,[],t),!0}catch(t){return!1}},d=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(l,u(t))}catch(t){return!0}};d.sham=!0,t.exports=!f||i(function(){var t;return v(v.call)||!v(Object)||!v(function(){t=!0})||t})?d:v},24019:(t,r,e)=>{"use strict";var n=e(48074),i=e(92855),o=e(87902);t.exports=function(t,r){if(n(t),i(r)&&r.constructor===t)return r;var e=o.f(t);return(0,e.resolve)(r),e.promise}},24055:(t,r,e)=>{"use strict";var n=e(76419).PROPER,i=e(1154),o=e(23185),a="\x85";t.exports=function(t){return i(function(){return!!o[t]()||a[t]()!==a||n&&o[t].name!==t})}},24386:(t,r,e)=>{"use strict";var n=e(30852).f,i=e(42996),o=e(52134)("toStringTag");t.exports=function(t,r,e){t&&!e&&(t=t.prototype),t&&!i(t,o)&&n(t,o,{configurable:!0,value:r})}},24400:(t,r,e)=>{"use strict";var n=e(1154),i=e(31989).RegExp,o=n(function(){var t=i("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),a=o||n(function(){return!i("a","y").sticky});t.exports={BROKEN_CARET:o||n(function(){var t=i("^r","gy");return t.lastIndex=2,null!==t.exec("str")}),MISSED_STICKY:a,UNSUPPORTED_Y:o}},25464:(t,r,e)=>{"use strict";var n=e(52134),i=e(38253),o=e(30852).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},26396:(t,r,e)=>{"use strict";var n=e(31989),i=Object.defineProperty;t.exports=function(t,r){try{i(n,t,{value:r,configurable:!0,writable:!0})}catch(e){n[t]=r}return r}},27612:(t,r,e)=>{"use strict";var n=e(92412),i=e(96696);t.exports=function(t){var r=n(t,"string");return i(r)?r:r+""}},28815:(t,r,e)=>{"use strict";var n=e(80997),i=e(28891),o=e(82002),a=e(23185),s=n("".replace),u=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),f=function(t){return function(r){var e=o(i(r));return 1&t&&(e=s(e,u,"")),2&t&&(e=s(e,c,"$1")),e}};t.exports={start:f(1),end:f(2),trim:f(3)}},28891:(t,r,e)=>{"use strict";var n=e(488),i=TypeError;t.exports=function(t){if(n(t))throw new i("Can't call method on "+t);return t}},28905:(t,r,e)=>{"use strict";var n=e(92855),i=e(20885),o=e(52134)("match");t.exports=function(t){var r;return n(t)&&(void 0!==(r=t[o])?!!r:"RegExp"===i(t))}},29755:(t,r,e)=>{"use strict";var n=e(1154);t.exports=function(t,r){var e=[][t];return!!e&&n(function(){e.call(null,r||function(){return 1},1)})}},29945:(t,r,e)=>{"use strict";var n=e(31989),i=e(8443),o=e(33608),a=e(15217),s=e(33343),u=e(52134),c=e(88858),f=e(51422),l=e(62402),p=i&&i.prototype,h=u("species"),v=!1,d=o(n.PromiseRejectionEvent);t.exports={CONSTRUCTOR:a("Promise",function(){var t=s(i),r=t!==String(i);if(!r&&66===l||f&&!(p.catch&&p.finally))return!0;if(!l||l<51||!/native code/.test(t)){var e=new i(function(t){t(1)}),n=function(t){t(function(){},function(){})};if((e.constructor={})[h]=n,!(v=e.then(function(){})instanceof n))return!0}return!r&&("BROWSER"===c||"DENO"===c)&&!d}),REJECTION_EVENT:d,SUBCLASSING:v}},30656:(t,r,e)=>{"use strict";var n=e(20885),i=e(488),o=e(11827),a=e(52134)("iterator"),s=Array.prototype;t.exports=function(t){if(!i(t))return o(t,a)||o(t,"@@iterator")||("Arguments"===n(t)?s[a]:void 0)}},30842:(t,r,e)=>{"use strict";var n=e(31989),i=e(33608);t.exports=function(t,r){var e;return arguments.length<2?i(e=n[t])?e:void 0:n[t]&&n[t][r]}},30852:(t,r,e)=>{"use strict";var n=e(20161),i=e(45120),o=e(53859),a=e(48074),s=e(27612),u=TypeError,c=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",p="configurable",h="writable";r.f=n?o?function(t,r,e){if(a(t),r=s(r),a(e),"function"==typeof t&&"prototype"===r&&"value"in e&&h in e&&!e[h]){var n=f(t,r);n&&n[h]&&(t[r]=e.value,e={configurable:p in e?e[p]:n[p],enumerable:l in e?e[l]:n[l],writable:!1})}return c(t,r,e)}:c:function(t,r,e){if(a(t),r=s(r),a(e),i)try{return c(t,r,e)}catch(t){}if("get"in e||"set"in e)throw new u("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},31877:(t,r,e)=>{"use strict";var n=e(80997),i=0,o=Math.random(),a=n(1.1.toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},31989:function(t,r,e){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e.g&&e.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},32725:(t,r,e)=>{"use strict";t.exports=e(58738)&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},33343:(t,r,e)=>{"use strict";var n=e(80997),i=e(33608),o=e(63792),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},33608:t=>{"use strict";var r="object"==typeof document&&document.all;t.exports=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(t){return"function"==typeof t}},33642:(t,r,e)=>{for(var n=e(11747),i="undefined"==typeof window?e.g:window,o=["moz","webkit"],a="AnimationFrame",s=i["request"+a],u=i["cancel"+a]||i["cancelRequest"+a],c=0;!s&&c<o.length;c++)s=i[o[c]+"Request"+a],u=i[o[c]+"Cancel"+a]||i[o[c]+"CancelRequest"+a];if(!s||!u){var f=0,l=0,p=[],h=1e3/60;s=function(t){if(0===p.length){var r=n(),e=Math.max(0,h-(r-f));f=e+r,setTimeout(function(){var t=p.slice(0);p.length=0;for(var r=0;r<t.length;r++)if(!t[r].cancelled)try{t[r].callback(f)}catch(t){setTimeout(function(){throw t},0)}},Math.round(e))}return p.push({handle:++l,callback:t,cancelled:!1}),l},u=function(t){for(var r=0;r<p.length;r++)p[r].handle===t&&(p[r].cancelled=!0)}}t.exports=function(t){return s.call(i,t)},t.exports.cancel=function(){u.apply(i,arguments)},t.exports.polyfill=function(t){t||(t=i),t.requestAnimationFrame=s,t.cancelAnimationFrame=u}},35046:(t,r,e)=>{"use strict";var n=e(44939),i=e(51422),o=e(29945).CONSTRUCTOR,a=e(8443),s=e(30842),u=e(33608),c=e(66141),f=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(t){return this.then(void 0,t)}}),!i&&u(a)){var l=s("Promise").prototype.catch;f.catch!==l&&c(f,"catch",l,{unsafe:!0})}},36183:(t,r,e)=>{"use strict";var n=e(74616),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o("Can't set "+i(t)+" as a prototype")}},36561:(t,r,e)=>{"use strict";var n=e(23936),i=e(16730),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a constructor")}},37420:(t,r,e)=>{"use strict";var n,i,o,a=e(1154),s=e(33608),u=e(92855),c=e(38253),f=e(72310),l=e(66141),p=e(52134),h=e(51422),v=p("iterator"),d=!1;[].keys&&("next"in(o=[].keys())?(i=f(f(o)))!==Object.prototype&&(n=i):d=!0),!u(n)||a(function(){var t={};return n[v].call(t)!==t})?n={}:h&&(n=c(n)),s(n[v])||l(n,v,function(){return this}),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},37862:(t,r,e)=>{"use strict";var n=e(1154),i=e(31989).RegExp;t.exports=n(function(){var t=i(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})},38253:(t,r,e)=>{"use strict";var n,i=e(48074),o=e(4116),a=e(93338),s=e(47912),u=e(19360),c=e(20666),f=e(97898),l="prototype",p="script",h=f("IE_PROTO"),v=function(){},d=function(t){return"<"+p+">"+t+"</"+p+">"},y=function(t){t.write(d("")),t.close();var r=t.parentWindow.Object;return t=null,r},m=function(){var t,r=c("iframe");return r.style.display="none",u.appendChild(r),r.src=String("java"+p+":"),(t=r.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F},g=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}g="undefined"!=typeof document?document.domain&&n?y(n):m():y(n);for(var t=a.length;t--;)delete g[l][a[t]];return g()};s[h]=!0,t.exports=Object.create||function(t,r){var e;return null!==t?(v[l]=i(t),e=new v,v[l]=null,e[h]=t):e=g(),void 0===r?e:o.f(e,r)}},38306:(t,r,e)=>{"use strict";var n=e(44939),i=e(92912),o=e(94156),a=e(87902),s=e(84754),u=e(48961);n({target:"Promise",stat:!0,forced:e(47868)},{race:function(t){var r=this,e=a.f(r),n=e.reject,c=s(function(){var a=o(r.resolve);u(t,function(t){i(a,r,t).then(e.resolve,n)})});return c.error&&n(c.value),e.promise}})},39510:(t,r,e)=>{"use strict";var n=e(92912),i=e(33608),o=e(48074),a=e(16730),s=e(30656),u=TypeError;t.exports=function(t,r){var e=arguments.length<2?s(t):r;if(i(e))return o(n(e,t));throw new u(a(t)+" is not iterable")}},39573:(t,r,e)=>{"use strict";var n=e(45484),i=e(92912),o=e(80997),a=e(86849),s=e(1154),u=e(48074),c=e(33608),f=e(92855),l=e(78894),p=e(19),h=e(82002),v=e(28891),d=e(83544),y=e(11827),m=e(48547),g=e(12703),x=e(44767),b=e(52134)("replace"),O=Math.max,T=Math.min,E=o([].concat),N=o([].push),_=o("".indexOf),w=o("".slice),A="$0"==="a".replace(/./,"$0"),R=!!/./[b]&&""===/./[b]("a","$0");a("replace",function(t,r,e){var o=R?"$":"$0";return[function(t,e){var n=v(this),o=f(t)?y(t,b):void 0;return o?i(o,t,n,e):i(r,h(n),t,e)},function(t,i){var a=u(this),s=h(t),f=c(i);f||(i=h(i));var v=h(g(a));if("string"==typeof i&&!~_(i,o)&&!~_(i,"$<")&&!~_(v,"y")){var y=e(r,a,s,i);if(y.done)return y.value}var b=!!~_(v,"g");b&&(I=!!~_(v,"u")||!!~_(v,"v"),a.lastIndex=0);for(var A=[];null!==(P=x(a,s))&&(N(A,P),b);){;""===h(P[0])&&(a.lastIndex=d(s,p(a.lastIndex),I))}for(var R="",C=0,S=0;S<A.length;S++){for(var M,I,L,P=A[S],j=h(P[0]),D=O(T(l(P.index),s.length),0),U=[],k=1;k<P.length;k++)N(U,void 0===(M=P[k])?M:String(M));var H=P.groups;if(f){var F=E([j],U,D,s);void 0!==H&&N(F,H),L=h(n(i,void 0,F))}else L=m(j,s,D,U,H,i);D>=C&&(R+=w(s,C,D)+L,C=D+j.length)}return R+w(s,C)}]},!!s(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!A||R)},40867:(t,r,e)=>{"use strict";var n=e(92912),i=e(33608),o=e(92855),a=TypeError;t.exports=function(t,r){var e,s;if("string"===r&&i(e=t.toString)&&!o(s=n(e,t))||i(e=t.valueOf)&&!o(s=n(e,t))||"string"!==r&&i(e=t.toString)&&!o(s=n(e,t)))return s;throw new a("Can't convert object to primitive value")}},42996:(t,r,e)=>{"use strict";var n=e(80997),i=e(22856),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return o(i(t),r)}},43585:(t,r,e)=>{"use strict";var n=e(52134)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,function(){throw 2})}catch(t){}t.exports=function(t,r){try{if(!r&&!i)return!1}catch(t){return!1}var e=!1;try{var o={};o[n]=function(){return{next:function(){return{done:e=!0}}}},t(o)}catch(t){}return e}},43782:(t,r,e)=>{"use strict";var n=e(44939),i=e(92912),o=e(94156),a=e(87902),s=e(84754),u=e(48961);n({target:"Promise",stat:!0,forced:e(47868)},{all:function(t){var r=this,e=a.f(r),n=e.resolve,c=e.reject,f=s(function(){var e=o(r.resolve),a=[],s=0,f=1;u(t,function(t){var o=s++,u=!1;f++,i(e,r,t).then(function(t){!u&&(u=!0,a[o]=t,--f||n(a))},c)}),--f||n(a)});return f.error&&c(f.value),e.promise}})},44767:(t,r,e)=>{"use strict";var n=e(92912),i=e(48074),o=e(33608),a=e(20885),s=e(3262),u=TypeError;t.exports=function(t,r){var e=t.exec;if(o(e)){var c=n(e,t,r);return null!==c&&i(c),c}if("RegExp"===a(t))return n(s,t,r);throw new u("RegExp#exec called on incompatible receiver")}},44893:(t,r,e)=>{"use strict";var n=e(20885);t.exports=Array.isArray||function(t){return"Array"===n(t)}},44939:(t,r,e)=>{"use strict";var n=e(31989),i=e(86198).f,o=e(190),a=e(66141),s=e(26396),u=e(17505),c=e(15217);t.exports=function(t,r){var e,f,l,p,h,v=t.target,d=t.global,y=t.stat;if(e=d?n:y?n[v]||s(v,{}):n[v]&&n[v].prototype)for(f in r){if(p=r[f],l=t.dontCallGetSet?(h=i(e,f))&&h.value:e[f],!c(d?f:v+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&o(p,"sham",!0),a(e,f,p,t)}}},45120:(t,r,e)=>{"use strict";var n=e(20161),i=e(1154),o=e(20666);t.exports=!n&&!i(function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},45484:(t,r,e)=>{"use strict";var n=e(61693),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},45932:t=>{"use strict";var r=function(){this.head=null,this.tail=null};r.prototype={add:function(t){var r={item:t,next:null},e=this.tail;e?e.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=r},47868:(t,r,e)=>{"use strict";var n=e(8443),i=e(43585);t.exports=e(29945).CONSTRUCTOR||!i(function(t){n.all(t).then(void 0,function(){})})},47912:t=>{"use strict";t.exports={}},48074:(t,r,e)=>{"use strict";var n=e(92855),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not an object")}},48547:(t,r,e)=>{"use strict";var n=e(80997),i=e(22856),o=Math.floor,a=n("".charAt),s=n("".replace),u=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,r,e,n,l,p){var h=e+t.length,v=n.length,d=f;return void 0!==l&&(l=i(l),d=c),s(p,d,function(i,s){var c;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return u(r,0,e);case"'":return u(r,h);case"<":c=l[u(s,1,-1)];break;default:var f=+s;if(0===f)return i;if(f>v){var p=o(f/10);if(0===p)return i;if(p<=v)return void 0===n[p-1]?a(s,1):n[p-1]+a(s,1);return i}c=n[f-1]}return void 0===c?"":c})}},48961:(t,r,e)=>{"use strict";var n=e(49189),i=e(92912),o=e(48074),a=e(16730),s=e(79620),u=e(80523),c=e(98220),f=e(39510),l=e(30656),p=e(82390),h=TypeError,v=function(t,r){this.stopped=t,this.result=r},d=v.prototype;t.exports=function(t,r,e){var y,m,g,x,b,O,T,E=e&&e.that,N=!!(e&&e.AS_ENTRIES),_=!!(e&&e.IS_RECORD),w=!!(e&&e.IS_ITERATOR),A=!!(e&&e.INTERRUPTED),R=n(r,E),C=function(t){var r=y;return y=void 0,r&&p(r,"normal"),new v(!0,t)},S=function(t){return N?(o(t),A?R(t[0],t[1],C):R(t[0],t[1])):A?R(t,C):R(t)};if(_)y=t.iterator;else if(w)y=t;else{if(!(m=l(t)))throw new h(a(t)+" is not iterable");if(s(m)){for(g=0,x=u(t);x>g;g++)if((b=S(t[g]))&&c(d,b))return b;return new v(!1)}y=f(t,m)}for(O=_?t.next:y.next;!(T=i(O,y)).done;){var M=T.value;try{b=S(M)}catch(t){if(y)p(y,"throw",t);else throw t}if("object"==typeof b&&b&&c(d,b))return b}return new v(!1)}},49189:(t,r,e)=>{"use strict";var n=e(77097),i=e(94156),o=e(61693),a=n(n.bind);t.exports=function(t,r){return i(t),void 0===r?t:o?a(t,r):function(){return t.apply(r,arguments)}}},51422:t=>{"use strict";t.exports=!1},51736:t=>{"use strict";t.exports=function(t,r){try{1==arguments.length?console.error(t):console.error(t,r)}catch(t){}}},51760:t=>{"use strict";t.exports=Object.create?Object.create(null):{}},52134:(t,r,e)=>{"use strict";var n=e(31989),i=e(53988),o=e(42996),a=e(31877),s=e(58738),u=e(32725),c=n.Symbol,f=i("wks"),l=u?c.for||c:c&&c.withoutSetter||a;t.exports=function(t){return o(f,t)||(f[t]=s&&o(c,t)?c[t]:l("Symbol."+t)),f[t]}},52601:(t,r,e)=>{"use strict";var n=e(80997),i=e(42996),o=e(60616),a=e(80116).indexOf,s=e(47912),u=n([].push);t.exports=function(t,r){var e,n=o(t),c=0,f=[];for(e in n)!i(s,e)&&i(n,e)&&u(f,e);for(;r.length>c;)i(n,e=r[c++])&&(~a(f,e)||u(f,e));return f}},53859:(t,r,e)=>{"use strict";var n=e(20161),i=e(1154);t.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},53988:(t,r,e)=>{"use strict";var n=e(63792),i=Object.create||Object;t.exports=function(t,r){return n[t]||(n[t]=r||i(null))}},55741:(t,r,e)=>{"use strict";var n=e(82682);t.exports=/ipad|iphone|ipod/i.test(n)&&/applewebkit/i.test(n)},55949:(t,r,e)=>{"use strict";var n=e(44939),i=e(30842),o=e(51422),a=e(8443),s=e(29945).CONSTRUCTOR,u=e(24019),c=i("Promise"),f=o&&!s;n({target:"Promise",stat:!0,forced:o||s},{resolve:function(t){return u(f&&this===c?a:this,t)}})},56593:(t,r,e)=>{"use strict";var n=e(44939),i=e(77097),o=e(80116).indexOf,a=e(29755),s=i([].indexOf),u=!!s&&1/s([1],1,-0)<0;n({target:"Array",proto:!0,forced:u||!a("indexOf")},{indexOf:function(t){var r=arguments.length>1?arguments[1]:void 0;return u?s(this,t,r)||0:o(this,t,r)}})},57880:(t,r,e)=>{"use strict";e.d(r,{LQ:()=>x});var n=function(t,r){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])})(t,r)};function i(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function e(){this.constructor=t}n(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}function o(t,r){var e=t[0],n=t[1];return[e*Math.cos(r)-n*Math.sin(r),e*Math.sin(r)+n*Math.cos(r)]}function a(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var e=0;e<t.length;e++)if("number"!=typeof t[e])throw Error("assertNumbers arguments["+e+"] is not a number. "+typeof t[e]+" == typeof "+t[e]);return!0}var s=Math.PI;function u(t,r,e){t.lArcFlag=+(0!==t.lArcFlag),t.sweepFlag=+(0!==t.sweepFlag);var n=t.rX,i=t.rY,a=t.x,u=t.y;n=Math.abs(t.rX),i=Math.abs(t.rY);var c=o([(r-a)/2,(e-u)/2],-t.xRot/180*s),f=c[0],l=c[1],p=Math.pow(f,2)/Math.pow(n,2)+Math.pow(l,2)/Math.pow(i,2);1<p&&(n*=Math.sqrt(p),i*=Math.sqrt(p)),t.rX=n,t.rY=i;var h=Math.pow(n,2)*Math.pow(l,2)+Math.pow(i,2)*Math.pow(f,2),v=(t.lArcFlag!==t.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(n,2)*Math.pow(i,2)-h)/h)),d=n*l/i*v,y=-i*f/n*v,m=o([d,y],t.xRot/180*s);t.cX=m[0]+(r+a)/2,t.cY=m[1]+(e+u)/2,t.phi1=Math.atan2((l-y)/i,(f-d)/n),t.phi2=Math.atan2((-l-y)/i,(-f-d)/n),0===t.sweepFlag&&t.phi2>t.phi1&&(t.phi2-=2*s),1===t.sweepFlag&&t.phi2<t.phi1&&(t.phi2+=2*s),t.phi1*=180/s,t.phi2*=180/s}function c(t,r,e){a(t,r,e);var n=t*t+r*r-e*e;if(0>n)return[];if(0===n)return[[t*e/(t*t+r*r),r*e/(t*t+r*r)]];var i=Math.sqrt(n);return[[(t*e+r*i)/(t*t+r*r),(r*e-t*i)/(t*t+r*r)],[(t*e-r*i)/(t*t+r*r),(r*e+t*i)/(t*t+r*r)]]}var f,l=Math.PI/180;function p(t,r,e,n){return t+Math.cos(n/180*s)*r+Math.sin(n/180*s)*e}function h(t,r,e,n){var i=r-t,o=e-r,a=3*i+3*(n-e)-6*o,s=6*(o-i),u=3*i;return 1e-6>Math.abs(a)?[-u/s]:function(t,r,e){void 0===e&&(e=1e-6);var n=t*t/4-r;if(n<-e)return[];if(n<=e)return[-t/2];var i=Math.sqrt(n);return[-t/2-i,-t/2+i]}(s/a,u/a,1e-6)}function v(t,r,e,n,i){var o=1-i;return o*o*o*t+3*o*o*i*r+3*o*i*i*e+i*i*i*n}!function(t){function r(){return i(function(t,r,e){return t.relative&&(void 0!==t.x1&&(t.x1+=r),void 0!==t.y1&&(t.y1+=e),void 0!==t.x2&&(t.x2+=r),void 0!==t.y2&&(t.y2+=e),void 0!==t.x&&(t.x+=r),void 0!==t.y&&(t.y+=e),t.relative=!1),t})}function e(){var t=NaN,r=NaN,e=NaN,n=NaN;return i(function(i,o,a){return i.type&x.SMOOTH_CURVE_TO&&(i.type=x.CURVE_TO,t=isNaN(t)?o:t,r=isNaN(r)?a:r,i.x1=i.relative?o-t:2*o-t,i.y1=i.relative?a-r:2*a-r),i.type&x.CURVE_TO?(t=i.relative?o+i.x2:i.x2,r=i.relative?a+i.y2:i.y2):(t=NaN,r=NaN),i.type&x.SMOOTH_QUAD_TO&&(i.type=x.QUAD_TO,e=isNaN(e)?o:e,n=isNaN(n)?a:n,i.x1=i.relative?o-e:2*o-e,i.y1=i.relative?a-n:2*a-n),i.type&x.QUAD_TO?(e=i.relative?o+i.x1:i.x1,n=i.relative?a+i.y1:i.y1):(e=NaN,n=NaN),i})}function n(){var t=NaN,r=NaN;return i(function(e,n,i){if(e.type&x.SMOOTH_QUAD_TO&&(e.type=x.QUAD_TO,t=isNaN(t)?n:t,r=isNaN(r)?i:r,e.x1=e.relative?n-t:2*n-t,e.y1=e.relative?i-r:2*i-r),e.type&x.QUAD_TO){t=e.relative?n+e.x1:e.x1,r=e.relative?i+e.y1:e.y1;var o=e.x1,a=e.y1;e.type=x.CURVE_TO,e.x1=((e.relative?0:n)+2*o)/3,e.y1=((e.relative?0:i)+2*a)/3,e.x2=(e.x+2*o)/3,e.y2=(e.y+2*a)/3}else t=NaN,r=NaN;return e})}function i(t){var r=0,e=0,n=NaN,i=NaN;return function(o){if(isNaN(n)&&!(o.type&x.MOVE_TO))throw Error("path must start with moveto");var a=t(o,r,e,n,i);return o.type&x.CLOSE_PATH&&(r=n,e=i),void 0!==o.x&&(r=o.relative?r+o.x:o.x),void 0!==o.y&&(e=o.relative?e+o.y:o.y),o.type&x.MOVE_TO&&(n=r,i=e),a}}function s(t,r,e,n,o,s){return a(t,r,e,n,o,s),i(function(i,a,u,c){var f=i.x1,l=i.x2,p=i.relative&&!isNaN(c),h=void 0!==i.x?i.x:p?0:a,v=void 0!==i.y?i.y:p?0:u;i.type&x.HORIZ_LINE_TO&&0!==r&&(i.type=x.LINE_TO,i.y=i.relative?0:u),i.type&x.VERT_LINE_TO&&0!==e&&(i.type=x.LINE_TO,i.x=i.relative?0:a),void 0!==i.x&&(i.x=i.x*t+v*e+(p?0:o)),void 0!==i.y&&(i.y=h*r+i.y*n+(p?0:s)),void 0!==i.x1&&(i.x1=i.x1*t+i.y1*e+(p?0:o)),void 0!==i.y1&&(i.y1=f*r+i.y1*n+(p?0:s)),void 0!==i.x2&&(i.x2=i.x2*t+i.y2*e+(p?0:o)),void 0!==i.y2&&(i.y2=l*r+i.y2*n+(p?0:s));var d=t*n-r*e;if(void 0!==i.xRot&&(1!==t||0!==r||0!==e||1!==n))if(0===d)delete i.rX,delete i.rY,delete i.xRot,delete i.lArcFlag,delete i.sweepFlag,i.type=x.LINE_TO;else{var y,m,g=i.xRot*Math.PI/180,b=Math.sin(g),O=Math.cos(g),T=1/((y=i.rX)*y),E=1/((m=i.rY)*m),N=O*O*T+b*b*E,_=2*b*O*(T-E),w=b*b*T+O*O*E,A=N*n*n-_*r*n+w*r*r,R=_*(t*n+r*e)-2*(N*e*n+w*t*r),C=N*e*e-_*t*e+w*t*t,S=(Math.atan2(R,A-C)+Math.PI)%Math.PI/2,M=Math.sin(S),I=Math.cos(S);i.rX=Math.abs(d)/Math.sqrt(I*I*A+R*M*I+M*M*C),i.rY=Math.abs(d)/Math.sqrt(M*M*A-R*M*I+I*I*C),i.xRot=180*S/Math.PI}return void 0!==i.sweepFlag&&0>d&&(i.sweepFlag=+!i.sweepFlag),i})}t.ROUND=function(t){function r(r){return Math.round(r*t)/t}return void 0===t&&(t=1e13),a(t),function(t){return void 0!==t.x1&&(t.x1=r(t.x1)),void 0!==t.y1&&(t.y1=r(t.y1)),void 0!==t.x2&&(t.x2=r(t.x2)),void 0!==t.y2&&(t.y2=r(t.y2)),void 0!==t.x&&(t.x=r(t.x)),void 0!==t.y&&(t.y=r(t.y)),void 0!==t.rX&&(t.rX=r(t.rX)),void 0!==t.rY&&(t.rY=r(t.rY)),t}},t.TO_ABS=r,t.TO_REL=function(){return i(function(t,r,e){return t.relative||(void 0!==t.x1&&(t.x1-=r),void 0!==t.y1&&(t.y1-=e),void 0!==t.x2&&(t.x2-=r),void 0!==t.y2&&(t.y2-=e),void 0!==t.x&&(t.x-=r),void 0!==t.y&&(t.y-=e),t.relative=!0),t})},t.NORMALIZE_HVZ=function(t,r,e){return void 0===t&&(t=!0),void 0===r&&(r=!0),void 0===e&&(e=!0),i(function(n,i,o,a,s){if(isNaN(a)&&!(n.type&x.MOVE_TO))throw Error("path must start with moveto");return r&&n.type&x.HORIZ_LINE_TO&&(n.type=x.LINE_TO,n.y=n.relative?0:o),e&&n.type&x.VERT_LINE_TO&&(n.type=x.LINE_TO,n.x=n.relative?0:i),t&&n.type&x.CLOSE_PATH&&(n.type=x.LINE_TO,n.x=n.relative?a-i:a,n.y=n.relative?s-o:s),n.type&x.ARC&&(0===n.rX||0===n.rY)&&(n.type=x.LINE_TO,delete n.rX,delete n.rY,delete n.xRot,delete n.lArcFlag,delete n.sweepFlag),n})},t.NORMALIZE_ST=e,t.QT_TO_C=n,t.INFO=i,t.SANITIZE=function(t){void 0===t&&(t=0),a(t);var r=NaN,e=NaN,n=NaN,o=NaN;return i(function(i,a,s,u,c){var f=Math.abs,l=!1,p=0,h=0;if(i.type&x.SMOOTH_CURVE_TO&&(p=isNaN(r)?0:a-r,h=isNaN(e)?0:s-e),i.type&(x.CURVE_TO|x.SMOOTH_CURVE_TO)?(r=i.relative?a+i.x2:i.x2,e=i.relative?s+i.y2:i.y2):(r=NaN,e=NaN),i.type&x.SMOOTH_QUAD_TO?(n=isNaN(n)?a:2*a-n,o=isNaN(o)?s:2*s-o):i.type&x.QUAD_TO?(n=i.relative?a+i.x1:i.x1,o=i.relative?s+i.y1:i.y2):(n=NaN,o=NaN),i.type&x.LINE_COMMANDS||i.type&x.ARC&&(0===i.rX||0===i.rY||!i.lArcFlag)||i.type&x.CURVE_TO||i.type&x.SMOOTH_CURVE_TO||i.type&x.QUAD_TO||i.type&x.SMOOTH_QUAD_TO){var v=void 0===i.x?0:i.relative?i.x:i.x-a,d=void 0===i.y?0:i.relative?i.y:i.y-s;p=isNaN(n)?void 0===i.x1?p:i.relative?i.x:i.x1-a:n-a,h=isNaN(o)?void 0===i.y1?h:i.relative?i.y:i.y1-s:o-s;var y=void 0===i.x2?0:i.relative?i.x:i.x2-a,m=void 0===i.y2?0:i.relative?i.y:i.y2-s;f(v)<=t&&f(d)<=t&&f(p)<=t&&f(h)<=t&&f(y)<=t&&f(m)<=t&&(l=!0)}return i.type&x.CLOSE_PATH&&f(a-u)<=t&&f(s-c)<=t&&(l=!0),l?[]:i})},t.MATRIX=s,t.ROTATE=function(t,r,e){void 0===r&&(r=0),void 0===e&&(e=0),a(t,r,e);var n=Math.sin(t),i=Math.cos(t);return s(i,n,-n,i,r-r*i+e*n,e-r*n-e*i)},t.TRANSLATE=function(t,r){return void 0===r&&(r=0),a(t,r),s(1,0,0,1,t,r)},t.SCALE=function(t,r){return void 0===r&&(r=t),a(t,r),s(t,0,0,r,0,0)},t.SKEW_X=function(t){return a(t),s(1,0,Math.atan(t),1,0,0)},t.SKEW_Y=function(t){return a(t),s(1,Math.atan(t),0,1,0,0)},t.X_AXIS_SYMMETRY=function(t){return void 0===t&&(t=0),a(t),s(-1,0,0,1,t,0)},t.Y_AXIS_SYMMETRY=function(t){return void 0===t&&(t=0),a(t),s(1,0,0,-1,0,t)},t.A_TO_C=function(){return i(function(t,r,e){return x.ARC===t.type?function(t,r,e){var n,i,a,s;t.cX||u(t,r,e);for(var c=Math.min(t.phi1,t.phi2),f=Math.max(t.phi1,t.phi2)-c,p=Math.ceil(f/90),h=Array(p),v=r,d=e,y=0;y<p;y++){var m,g,b,O,T,E,N=(m=t.phi1,g=t.phi2,(1-(b=y/p))*m+b*g),_=(O=t.phi1,T=t.phi2,(1-(E=(y+1)/p))*O+E*T),w=4/3*Math.tan((_-N)*l/4),A=[Math.cos(N*l)-w*Math.sin(N*l),Math.sin(N*l)+w*Math.cos(N*l)],R=A[0],C=A[1],S=[Math.cos(_*l),Math.sin(_*l)],M=S[0],I=S[1],L=[M+w*Math.sin(_*l),I-w*Math.cos(_*l)],P=L[0],j=L[1];h[y]={relative:t.relative,type:x.CURVE_TO};var D=function(r,e){var n=o([r*t.rX,e*t.rY],t.xRot),i=n[0],a=n[1];return[t.cX+i,t.cY+a]};n=D(R,C),h[y].x1=n[0],h[y].y1=n[1],i=D(P,j),h[y].x2=i[0],h[y].y2=i[1],a=D(M,I),h[y].x=a[0],h[y].y=a[1],t.relative&&(h[y].x1-=v,h[y].y1-=d,h[y].x2-=v,h[y].y2-=d,h[y].x-=v,h[y].y-=d),v=(s=[h[y].x,h[y].y])[0],d=s[1]}return h}(t,t.relative?0:r,t.relative?0:e):t})},t.ANNOTATE_ARCS=function(){return i(function(t,r,e){return t.relative&&(r=0,e=0),x.ARC===t.type&&u(t,r,e),t})},t.CLONE=function(){return function(t){var r={};for(var e in t)r[e]=t[e];return r}},t.CALCULATE_BOUNDS=function(){var t=function(t){var r={};for(var e in t)r[e]=t[e];return r},o=r(),a=n(),s=e(),f=i(function(r,e,n){var i=s(a(o(t(r))));function l(t){t>f.maxX&&(f.maxX=t),t<f.minX&&(f.minX=t)}function d(t){t>f.maxY&&(f.maxY=t),t<f.minY&&(f.minY=t)}if(i.type&x.DRAWING_COMMANDS&&(l(e),d(n)),i.type&x.HORIZ_LINE_TO&&l(i.x),i.type&x.VERT_LINE_TO&&d(i.y),i.type&x.LINE_TO&&(l(i.x),d(i.y)),i.type&x.CURVE_TO){l(i.x),d(i.y);for(var y=0,m=h(e,i.x1,i.x2,i.x);y<m.length;y++)0<(O=m[y])&&1>O&&l(v(e,i.x1,i.x2,i.x,O));for(var g=0,b=h(n,i.y1,i.y2,i.y);g<b.length;g++)0<(O=b[g])&&1>O&&d(v(n,i.y1,i.y2,i.y,O))}if(i.type&x.ARC){l(i.x),d(i.y),u(i,e,n);for(var O,T=i.xRot/180*Math.PI,E=Math.cos(T)*i.rX,N=Math.sin(T)*i.rX,_=-Math.sin(T)*i.rY,w=Math.cos(T)*i.rY,A=i.phi1<i.phi2?[i.phi1,i.phi2]:-180>i.phi2?[i.phi2+360,i.phi1+360]:[i.phi2,i.phi1],R=A[0],C=A[1],S=function(t){var r=t[0],e=180*Math.atan2(t[1],r)/Math.PI;return e<R?e+360:e},M=0,I=c(_,-E,0).map(S);M<I.length;M++)(O=I[M])>R&&O<C&&l(p(i.cX,E,_,O));for(var L=0,P=c(w,-N,0).map(S);L<P.length;L++)(O=P[L])>R&&O<C&&d(p(i.cY,N,w,O))}return r});return f.minX=1/0,f.maxX=-1/0,f.minY=1/0,f.maxY=-1/0,f}}(f||(f={}));var d,y=function(){function t(){}return t.prototype.round=function(t){return this.transform(f.ROUND(t))},t.prototype.toAbs=function(){return this.transform(f.TO_ABS())},t.prototype.toRel=function(){return this.transform(f.TO_REL())},t.prototype.normalizeHVZ=function(t,r,e){return this.transform(f.NORMALIZE_HVZ(t,r,e))},t.prototype.normalizeST=function(){return this.transform(f.NORMALIZE_ST())},t.prototype.qtToC=function(){return this.transform(f.QT_TO_C())},t.prototype.aToC=function(){return this.transform(f.A_TO_C())},t.prototype.sanitize=function(t){return this.transform(f.SANITIZE(t))},t.prototype.translate=function(t,r){return this.transform(f.TRANSLATE(t,r))},t.prototype.scale=function(t,r){return this.transform(f.SCALE(t,r))},t.prototype.rotate=function(t,r,e){return this.transform(f.ROTATE(t,r,e))},t.prototype.matrix=function(t,r,e,n,i,o){return this.transform(f.MATRIX(t,r,e,n,i,o))},t.prototype.skewX=function(t){return this.transform(f.SKEW_X(t))},t.prototype.skewY=function(t){return this.transform(f.SKEW_Y(t))},t.prototype.xSymmetry=function(t){return this.transform(f.X_AXIS_SYMMETRY(t))},t.prototype.ySymmetry=function(t){return this.transform(f.Y_AXIS_SYMMETRY(t))},t.prototype.annotateArcs=function(){return this.transform(f.ANNOTATE_ARCS())},t}(),m=function(t){return 48<=t.charCodeAt(0)&&57>=t.charCodeAt(0)},g=function(t){function r(){var r=t.call(this)||this;return r.curNumber="",r.curCommandType=-1,r.curCommandRelative=!1,r.canParseCommandOrComma=!0,r.curNumberHasExp=!1,r.curNumberHasExpDigits=!1,r.curNumberHasDecimal=!1,r.curArgs=[],r}return i(r,t),r.prototype.finish=function(t){if(void 0===t&&(t=[]),this.parse(" ",t),0!==this.curArgs.length||!this.canParseCommandOrComma)throw SyntaxError("Unterminated command at the path end.");return t},r.prototype.parse=function(t,r){var e=this;void 0===r&&(r=[]);for(var n=function(t){r.push(t),e.curArgs.length=0,e.canParseCommandOrComma=!0},i=0;i<t.length;i++){var o=t[i],a=this.curCommandType===x.ARC&&(3===this.curArgs.length||4===this.curArgs.length)&&1===this.curNumber.length&&("0"===this.curNumber||"1"===this.curNumber),s=m(o)&&("0"===this.curNumber&&"0"===o||a);if(!m(o)||s)if("e"!==o&&"E"!==o)if("-"!==o&&"+"!==o||!this.curNumberHasExp||this.curNumberHasExpDigits)if("."!==o||this.curNumberHasExp||this.curNumberHasDecimal||a){if(this.curNumber&&-1!==this.curCommandType){var u=Number(this.curNumber);if(isNaN(u))throw SyntaxError("Invalid number ending at "+i);if(this.curCommandType===x.ARC){if(0===this.curArgs.length||1===this.curArgs.length){if(0>u)throw SyntaxError('Expected positive number, got "'+u+'" at index "'+i+'"')}else if((3===this.curArgs.length||4===this.curArgs.length)&&"0"!==this.curNumber&&"1"!==this.curNumber)throw SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+i+'"')}this.curArgs.push(u),this.curArgs.length===b[this.curCommandType]&&(x.HORIZ_LINE_TO===this.curCommandType?n({type:x.HORIZ_LINE_TO,relative:this.curCommandRelative,x:u}):x.VERT_LINE_TO===this.curCommandType?n({type:x.VERT_LINE_TO,relative:this.curCommandRelative,y:u}):this.curCommandType===x.MOVE_TO||this.curCommandType===x.LINE_TO||this.curCommandType===x.SMOOTH_QUAD_TO?(n({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),x.MOVE_TO===this.curCommandType&&(this.curCommandType=x.LINE_TO)):this.curCommandType===x.CURVE_TO?n({type:x.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===x.SMOOTH_CURVE_TO?n({type:x.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===x.QUAD_TO?n({type:x.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===x.ARC&&n({type:x.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(" "!==o&&" "!==o&&"\r"!==o&&"\n"!==o)if(","===o&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if("+"!==o&&"-"!==o&&"."!==o)if(s)this.curNumber=o,this.curNumberHasDecimal=!1;else{if(0!==this.curArgs.length)throw SyntaxError("Unterminated command at index "+i+".");if(!this.canParseCommandOrComma)throw SyntaxError('Unexpected character "'+o+'" at index '+i+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,"z"!==o&&"Z"!==o)if("h"===o||"H"===o)this.curCommandType=x.HORIZ_LINE_TO,this.curCommandRelative="h"===o;else if("v"===o||"V"===o)this.curCommandType=x.VERT_LINE_TO,this.curCommandRelative="v"===o;else if("m"===o||"M"===o)this.curCommandType=x.MOVE_TO,this.curCommandRelative="m"===o;else if("l"===o||"L"===o)this.curCommandType=x.LINE_TO,this.curCommandRelative="l"===o;else if("c"===o||"C"===o)this.curCommandType=x.CURVE_TO,this.curCommandRelative="c"===o;else if("s"===o||"S"===o)this.curCommandType=x.SMOOTH_CURVE_TO,this.curCommandRelative="s"===o;else if("q"===o||"Q"===o)this.curCommandType=x.QUAD_TO,this.curCommandRelative="q"===o;else if("t"===o||"T"===o)this.curCommandType=x.SMOOTH_QUAD_TO,this.curCommandRelative="t"===o;else{if("a"!==o&&"A"!==o)throw SyntaxError('Unexpected character "'+o+'" at index '+i+".");this.curCommandType=x.ARC,this.curCommandRelative="a"===o}else r.push({type:x.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=o,this.curNumberHasDecimal="."===o}else this.curNumber+=o,this.curNumberHasDecimal=!0;else this.curNumber+=o;else this.curNumber+=o,this.curNumberHasExp=!0;else this.curNumber+=o,this.curNumberHasExpDigits=this.curNumberHasExp}return r},r.prototype.transform=function(t){return Object.create(this,{parse:{value:function(r,e){void 0===e&&(e=[]);for(var n=0,i=Object.getPrototypeOf(this).parse.call(this,r);n<i.length;n++){var o=t(i[n]);Array.isArray(o)?e.push.apply(e,o):e.push(o)}return e}}})},r}(y),x=function(t){function r(e){var n=t.call(this)||this;return n.commands="string"==typeof e?r.parse(e):e,n}return i(r,t),r.prototype.encode=function(){return r.encode(this.commands)},r.prototype.getBounds=function(){var t=f.CALCULATE_BOUNDS();return this.transform(t),t},r.prototype.transform=function(t){for(var r=[],e=0,n=this.commands;e<n.length;e++){var i=t(n[e]);Array.isArray(i)?r.push.apply(r,i):r.push(i)}return this.commands=r,this},r.encode=function(t){var r=t,e="";Array.isArray(r)||(r=[r]);for(var n=0;n<r.length;n++){var i=r[n];if(i.type===x.CLOSE_PATH)e+="z";else if(i.type===x.HORIZ_LINE_TO)e+=(i.relative?"h":"H")+i.x;else if(i.type===x.VERT_LINE_TO)e+=(i.relative?"v":"V")+i.y;else if(i.type===x.MOVE_TO)e+=(i.relative?"m":"M")+i.x+" "+i.y;else if(i.type===x.LINE_TO)e+=(i.relative?"l":"L")+i.x+" "+i.y;else if(i.type===x.CURVE_TO)e+=(i.relative?"c":"C")+i.x1+" "+i.y1+" "+i.x2+" "+i.y2+" "+i.x+" "+i.y;else if(i.type===x.SMOOTH_CURVE_TO)e+=(i.relative?"s":"S")+i.x2+" "+i.y2+" "+i.x+" "+i.y;else if(i.type===x.QUAD_TO)e+=(i.relative?"q":"Q")+i.x1+" "+i.y1+" "+i.x+" "+i.y;else if(i.type===x.SMOOTH_QUAD_TO)e+=(i.relative?"t":"T")+i.x+" "+i.y;else{if(i.type!==x.ARC)throw Error('Unexpected command type "'+i.type+'" at index '+n+".");e+=(i.relative?"a":"A")+i.rX+" "+i.rY+" "+i.xRot+" "+ +i.lArcFlag+" "+ +i.sweepFlag+" "+i.x+" "+i.y}}return e},r.parse=function(t){var r=new g,e=[];return r.parse(t,e),r.finish(e),e},r.CLOSE_PATH=1,r.MOVE_TO=2,r.HORIZ_LINE_TO=4,r.VERT_LINE_TO=8,r.LINE_TO=16,r.CURVE_TO=32,r.SMOOTH_CURVE_TO=64,r.QUAD_TO=128,r.SMOOTH_QUAD_TO=256,r.ARC=512,r.LINE_COMMANDS=r.LINE_TO|r.HORIZ_LINE_TO|r.VERT_LINE_TO,r.DRAWING_COMMANDS=r.HORIZ_LINE_TO|r.VERT_LINE_TO|r.LINE_TO|r.CURVE_TO|r.SMOOTH_CURVE_TO|r.QUAD_TO|r.SMOOTH_QUAD_TO|r.ARC,r}(y),b=((d={})[x.MOVE_TO]=2,d[x.LINE_TO]=2,d[x.HORIZ_LINE_TO]=1,d[x.VERT_LINE_TO]=1,d[x.CLOSE_PATH]=0,d[x.QUAD_TO]=4,d[x.SMOOTH_QUAD_TO]=2,d[x.CURVE_TO]=6,d[x.SMOOTH_CURVE_TO]=4,d[x.ARC]=7,d)},58177:(t,r,e)=>{"use strict";var n=e(52134)("toStringTag"),i={};i[n]="z",t.exports="[object z]"===String(i)},58201:(t,r,e)=>{"use strict";var n,i,o,a,s=e(44939),u=e(51422),c=e(88884),f=e(31989),l=e(84130),p=e(92912),h=e(66141),v=e(7082),d=e(24386),y=e(23236),m=e(94156),g=e(33608),x=e(92855),b=e(98522),O=e(88616),T=e(86284).set,E=e(77190),N=e(51736),_=e(84754),w=e(45932),A=e(8480),R=e(8443),C=e(29945),S=e(87902),M="Promise",I=C.CONSTRUCTOR,L=C.REJECTION_EVENT,P=C.SUBCLASSING,j=A.getterFor(M),D=A.set,U=R&&R.prototype,k=R,H=U,F=f.TypeError,V=f.document,Y=f.process,X=S.f,B=X,q=!!(V&&V.createEvent&&f.dispatchEvent),Q="unhandledrejection",G=function(t){var r;return!!(x(t)&&g(r=t.then))&&r},$=function(t,r){var e,n,i,o=r.value,a=1===r.state,s=a?t.ok:t.fail,u=t.resolve,c=t.reject,f=t.domain;try{s?(a||(2===r.rejection&&J(r),r.rejection=1),!0===s?e=o:(f&&f.enter(),e=s(o),f&&(f.exit(),i=!0)),e===t.promise?c(new F("Promise-chain cycle")):(n=G(e))?p(n,e,u,c):u(e)):c(o)}catch(t){f&&!i&&f.exit(),c(t)}},W=function(t,r){t.notified||(t.notified=!0,E(function(){for(var e,n=t.reactions;e=n.get();)$(e,t);t.notified=!1,r&&!t.rejection&&z(t)}))},Z=function(t,r,e){var n,i;q?((n=V.createEvent("Event")).promise=r,n.reason=e,n.initEvent(t,!1,!0),f.dispatchEvent(n)):n={promise:r,reason:e},!L&&(i=f["on"+t])?i(n):t===Q&&N("Unhandled promise rejection",e)},z=function(t){p(T,f,function(){var r,e=t.facade,n=t.value;if(K(t)&&(r=_(function(){c?Y.emit("unhandledRejection",n,e):Z(Q,e,n)}),t.rejection=c||K(t)?2:1,r.error))throw r.value})},K=function(t){return 1!==t.rejection&&!t.parent},J=function(t){p(T,f,function(){var r=t.facade;c?Y.emit("rejectionHandled",r):Z("rejectionhandled",r,t.value)})},tt=function(t,r,e){return function(n){t(r,n,e)}},tr=function(t,r,e){t.done||(t.done=!0,e&&(t=e),t.value=r,t.state=2,W(t,!0))},te=function(t,r,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===r)throw new F("Promise can't be resolved itself");var n=G(r);n?E(function(){var e={done:!1};try{p(n,r,tt(te,e,t),tt(tr,e,t))}catch(r){tr(e,r,t)}}):(t.value=r,t.state=1,W(t,!1))}catch(r){tr({done:!1},r,t)}}};if(I&&(H=(k=function(t){b(this,H),m(t),p(n,this);var r=j(this);try{t(tt(te,r),tt(tr,r))}catch(t){tr(r,t)}}).prototype,(n=function(t){D(this,{type:M,done:!1,notified:!1,parent:!1,reactions:new w,rejection:!1,state:0,value:null})}).prototype=h(H,"then",function(t,r){var e=j(this),n=X(O(this,k));return e.parent=!0,n.ok=!g(t)||t,n.fail=g(r)&&r,n.domain=c?Y.domain:void 0,0===e.state?e.reactions.add(n):E(function(){$(n,e)}),n.promise}),i=function(){var t=new n,r=j(t);this.promise=t,this.resolve=tt(te,r),this.reject=tt(tr,r)},S.f=X=function(t){return t===k||t===o?new i(t):B(t)},!u&&g(R)&&U!==Object.prototype)){a=U.then,P||h(U,"then",function(t,r){var e=this;return new k(function(t,r){p(a,e,t,r)}).then(t,r)},{unsafe:!0});try{delete U.constructor}catch(t){}v&&v(U,H)}s({global:!0,constructor:!0,wrap:!0,forced:I},{Promise:k}),o=l.Promise,d(k,M,!1,!0),y(M)},58431:(t,r,e)=>{"use strict";var n=e(44939),i=e(28815).trim;n({target:"String",proto:!0,forced:e(24055)("trim")},{trim:function(){return i(this)}})},58738:(t,r,e)=>{"use strict";var n=e(62402),i=e(1154),o=e(31989).String;t.exports=!!Object.getOwnPropertySymbols&&!i(function(){var t=Symbol("symbol detection");return!o(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41})},58777:t=>{"use strict";t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},59749:(t,r,e)=>{"use strict";var n=e(52601),i=e(93338).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},60616:(t,r,e)=>{"use strict";var n=e(89810),i=e(28891);t.exports=function(t){return n(i(t))}},60701:t=>{"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},60945:t=>{"use strict";var r=TypeError;t.exports=function(t,e){if(t<e)throw new r("Not enough arguments");return t}},61693:(t,r,e)=>{"use strict";t.exports=!e(1154)(function(){var t=(function(){}).bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},61922:(t,r,e)=>{"use strict";function n(t,r,e,n,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void e(t)}s.done?r(u):Promise.resolve(u).then(n,i)}function i(t){return function(){var r=this,e=arguments;return new Promise(function(i,o){var a=t.apply(r,e);function s(t){n(a,i,o,s,u,"next",t)}function u(t){n(a,i,o,s,u,"throw",t)}s(void 0)})}}e.d(r,{A:()=>i})},62402:(t,r,e)=>{"use strict";var n,i,o=e(31989),a=e(82682),s=o.process,u=o.Deno,c=s&&s.versions||u&&u.version,f=c&&c.v8;f&&(i=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]),t.exports=i},63189:(t,r,e)=>{"use strict";var n=e(52601),i=e(93338);t.exports=Object.keys||function(t){return n(t,i)}},63792:(t,r,e)=>{"use strict";var n=e(51422),i=e(31989),o=e(26396),a="__core-js_shared__",s=t.exports=i[a]||o(a,{});(s.versions||(s.versions=[])).push({version:"3.50.0",mode:n?"pure":"global",copyright:"\xa9 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.50.0/LICENSE",source:"https://github.com/zloirock/core-js"})},63951:(t,r,e)=>{"use strict";var n=e(44939),i=e(80997),o=e(44893),a=i([].reverse),s=[1,2];n({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),a(this)}})},66141:(t,r,e)=>{"use strict";var n=e(33608),i=e(30852),o=e(78782),a=e(26396);t.exports=function(t,r,e,s){s||(s={});var u=s.enumerable,c=void 0!==s.name?s.name:r;if(n(e)&&o(e,c,s),s.global)u?t[r]=e:a(r,e);else{try{s.unsafe?t[r]&&(u=!0):delete t[r]}catch(t){}u?t[r]=e:i.f(t,r,{value:e,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},67772:(t,r,e)=>{"use strict";var n=e(82682);t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},68008:(t,r)=>{"use strict";r.f=Object.getOwnPropertySymbols},69972:t=>{"use strict";t.exports=function(t,r){return{value:t,done:r}}},70326:(t,r,e)=>{"use strict";var n=e(44939),i=e(80997),o=e(3202),a=e(28891),s=e(82002),u=e(23857),c=i("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(t){return!!~c(s(a(this)),s(o(t)),arguments.length>1?arguments[1]:void 0)}})},70927:(t,r,e)=>{"use strict";var n=e(78782),i=e(30852);t.exports=function(t,r,e){return e.get&&n(e.get,r,{getter:!0}),e.set&&n(e.set,r,{setter:!0}),i.f(t,r,e)}},71669:(t,r,e)=>{"use strict";var n=e(20666)("span").classList,i=n&&n.constructor&&n.constructor.prototype;t.exports=i===Object.prototype?void 0:i},72310:(t,r,e)=>{"use strict";var n=e(42996),i=e(33608),o=e(22856),a=e(97898),s=e(87942),u=a("IE_PROTO"),c=Object,f=c.prototype;t.exports=s?c.getPrototypeOf:function(t){var r=o(t);if(n(r,u))return r[u];var e=r.constructor;return i(e)&&r instanceof e?e.prototype:r instanceof c?f:null}},73092:(t,r,e)=>{"use strict";var n=e(92912),i=e(80997),o=e(86849),a=e(48074),s=e(92855),u=e(19),c=e(82002),f=e(28891),l=e(11827),p=e(83544),h=e(12703),v=e(44767),d=i("".indexOf);o("match",function(t,r,e){return[function(r){var e=f(this),i=s(r)?l(r,t):void 0;if(i)return n(i,r,e);var o=c(e);return new RegExp(r)[t](o)},function(t){var n,i=a(this),o=c(t),s=e(r,i,o);if(s.done)return s.value;var f=c(h(i));if(!~d(f,"g"))return v(i,o);var l=!!~d(f,"u")||!!~d(f,"v");i.lastIndex=0;for(var y=[],m=0;null!==(n=v(i,o));){var g=c(n[0]);y[m]=g,""===g&&(i.lastIndex=p(o,u(i.lastIndex),l)),m++}return 0===m?null:y}]})},74616:(t,r,e)=>{"use strict";var n=e(92855);t.exports=function(t){return n(t)||null===t}},75689:(t,r,e)=>{"use strict";var n=e(82682);t.exports=/web0s(?!.*chrome)/i.test(n)},75839:(t,r,e)=>{"use strict";var n=e(37420).IteratorPrototype,i=e(38253),o=e(58777),a=e(24386),s=e(51760),u=function(){return this};t.exports=function(t,r,e,c){var f=r+" Iterator";return t.prototype=i(n,{next:o(+!c,e)}),a(t,f,!1,!0),s[f]=u,t}},76419:(t,r,e)=>{"use strict";var n=e(20161),i=e(42996),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&(!n||n&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:s&&"something"===(function(){}).name,CONFIGURABLE:u}},77097:(t,r,e)=>{"use strict";var n=e(20885),i=e(80997);t.exports=function(t){if("Function"===n(t))return i(t)}},77190:(t,r,e)=>{"use strict";var n,i,o,a,s,u=e(31989),c=e(14144),f=e(49189),l=e(86284).set,p=e(45932),h=e(55741),v=e(67772),d=e(75689),y=e(88884),m=u.MutationObserver||u.WebKitMutationObserver,g=u.document,x=u.process,b=u.Promise,O=c("queueMicrotask");if(!O){var T=new p,E=function(){var t,r;for(y&&(t=x.domain)&&t.exit();r=T.get();)try{r()}catch(t){throw T.head&&n(),t}t&&t.enter()};h||y||d||!m||!g?!v&&b&&b.resolve?((a=b.resolve(void 0)).constructor=b,s=f(a.then,a),n=function(){s(E)}):y?n=function(){x.nextTick(E)}:(l=f(l,u),n=function(){l(E)}):(i=!0,o=g.createTextNode(""),new m(E).observe(o,{characterData:!0}),n=function(){o.data=i=!i}),O=function(t){T.head||n(),T.add(t)}}t.exports=O},78277:(t,r,e)=>{"use strict";var n=e(44939),i=e(92912),o=e(51422),a=e(76419),s=e(33608),u=e(75839),c=e(72310),f=e(7082),l=e(24386),p=e(190),h=e(66141),v=e(52134),d=e(51760),y=e(37420),m=a.PROPER,g=a.CONFIGURABLE,x=y.IteratorPrototype,b=y.BUGGY_SAFARI_ITERATORS,O=v("iterator"),T="keys",E="values",N="entries",_=function(){return this};t.exports=function(t,r,e,a,v,y,w){u(e,r,a);var A,R,C,S=function(t){if(t===v&&j)return j;if(!b&&t&&t in L)return L[t];switch(t){case T:case E:case N:return function(){return new e(this,t)}}return function(){return new e(this)}},M=r+" Iterator",I=!1,L=t.prototype,P=L[O]||L["@@iterator"]||v&&L[v],j=!b&&P||S(v),D="Array"===r&&L.entries||P;if(D&&(A=c(D.call(new t)))!==Object.prototype&&A.next&&(!o&&c(A)!==x&&(f?f(A,x):s(A[O])||h(A,O,_)),l(A,M,!0,!0),o&&(d[M]=_)),m&&v===E&&P&&P.name!==E&&(!o&&g?p(L,"name",E):(I=!0,j=function(){return i(P,this)})),v)if(R={values:S(E),keys:y?j:S(T),entries:S(N)},w)for(C in R)!b&&!I&&C in L||h(L,C,R[C]);else n({target:r,proto:!0,forced:b||I},R);return(!o||w)&&L[O]!==j&&h(L,O,j,{name:v}),d[r]=j,R}},78420:(t,r,e)=>{"use strict";e.d(r,{A:()=>i});var n=e(33861);function i(t,r,e){var i;return(i=function(t,r){if("object"!=(0,n.A)(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=(0,n.A)(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(r,"string"),(r="symbol"==(0,n.A)(i)?i:i+"")in t)?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}},78782:(t,r,e)=>{"use strict";var n=e(80997),i=e(1154),o=e(33608),a=e(42996),s=e(20161),u=e(76419).CONFIGURABLE,c=e(33343),f=e(8480),l=f.enforce,p=f.get,h=String,v=Object.defineProperty,d=n("".slice),y=n("".replace),m=n([].join),g=s&&!i(function(){return 8!==v(function(){},"length",{value:8}).length}),x=String(String).split("String"),b=t.exports=function(t,r,e){"Symbol("===d(h(r),0,7)&&(r="["+y(h(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!a(t,"name")||u&&t.name!==r)&&(s?v(t,"name",{value:r,configurable:!0}):t.name=r),g&&e&&a(e,"arity")&&t.length!==e.arity&&v(t,"length",{value:e.arity});try{e&&a(e,"constructor")&&e.constructor?s&&v(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=l(t);return a(n,"source")||(n.source=m(x,"string"==typeof r?r:"")),t};Function.prototype.toString=b(function(){return o(this)&&p(this).source||c(this)},"toString")},78894:(t,r,e)=>{"use strict";var n=e(82872);t.exports=function(t){var r=+t;return r!=r||0===r?0:n(r)}},79084:(t,r,e)=>{"use strict";var n=e(44939),i=e(87902);n({target:"Promise",stat:!0,forced:e(29945).CONSTRUCTOR},{reject:function(t){var r=i.f(this);return(0,r.reject)(t),r.promise}})},79620:(t,r,e)=>{"use strict";var n=e(52134),i=e(51760),o=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},79757:(t,r,e)=>{"use strict";var n=e(92912),i=e(80997),o=e(86849),a=e(48074),s=e(92855),u=e(28891),c=e(88616),f=e(83544),l=e(19),p=e(82002),h=e(11827),v=e(12703),d=e(44767),y=e(24400),m=e(1154),g=y.UNSUPPORTED_Y,x=Math.min,b=i([].push),O=i("".slice),T=i("".indexOf),E=!m(function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"b"!==e[1]}),N="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;o("split",function(t,r,e){var i="0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:n(r,this,t,e)}:r;return[function(r,e){var o=u(this),a=s(r)?h(r,t):void 0;return a?n(a,r,o,e):n(i,p(o),r,e)},function(t,n){var o=a(this),s=p(t);if(!N){var u=e(i,o,s,n,i!==r);if(u.done)return u.value}var h=c(o,RegExp),y=p(v(o)),m=!!~T(y,"u")||!!~T(y,"v");g?~T(y,"g")||(y+="g"):~T(y,"y")||(y+="y");var E=new h(g?"^(?:"+o.source+")":o,y),_=void 0===n?0xffffffff:n>>>0;if(0===_)return[];if(0===s.length)return null===d(E,s)?[s]:[];for(var w=0,A=0,R=[];A<s.length;){E.lastIndex=g?0:A;var C,S=d(E,g?O(s,A):s);if(null===S||(C=x(l(E.lastIndex+(g?A:0)),s.length))===w)A=f(s,A,m);else{if(b(R,O(s,w,A)),R.length===_)return R;for(var M=1;M<=S.length-1;M++)if(b(R,S[M]),R.length===_)return R;A=w=C}}return b(R,O(s,w)),R}]},N||!E,g)},80116:(t,r,e)=>{"use strict";var n=e(60616),i=e(14383),o=e(80523),a=function(t){return function(r,e,a){var s,u=n(r),c=o(u);if(0===c)return!t&&-1;var f=i(a,c);if(t&&e!=e){for(;c>f;)if((s=u[f++])!=s)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===e)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},80523:(t,r,e)=>{"use strict";var n=e(19);t.exports=function(t){return n(t.length)}},80997:(t,r,e)=>{"use strict";var n=e(61693),i=Function.prototype,o=i.call,a=n&&i.bind.bind(o,o);t.exports=n?a:function(t){return function(){return o.apply(t,arguments)}}},81429:(t,r,e)=>{"use strict";var n=e(44939),i=e(77097),o=e(86198).f,a=e(19),s=e(82002),u=e(3202),c=e(28891),f=e(23857),l=e(51422),p=i("".slice),h=Math.min,v=f("startsWith");n({target:"String",proto:!0,forced:!(!l&&!v&&function(){var t=o(String.prototype,"startsWith");return t&&!t.writable}())&&!v},{startsWith:function(t){var r=s(c(this));u(t);var e=s(t),n=a(h(arguments.length>1?arguments[1]:void 0,r.length));return p(r,n,n+e.length)===e}})},82002:(t,r,e)=>{"use strict";var n=e(6126),i=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},82390:(t,r,e)=>{"use strict";var n=e(92912),i=e(48074),o=e(11827);t.exports=function(t,r,e){var a,s;i(t);try{if(!(a=o(t,"return"))){if("throw"===r)throw e;return e}a=n(a,t)}catch(t){s=!0,a=t}if("throw"===r)throw e;if(s)throw a;return i(a),e}},82515:(t,r,e)=>{"use strict";var n=e(1154),i=e(31989).RegExp;t.exports=n(function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})},82682:(t,r,e)=>{"use strict";var n=e(31989).navigator,i=n&&n.userAgent;t.exports=i?String(i):""},82872:t=>{"use strict";var r=Math.ceil,e=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?e:r)(n)}},83216:(t,r,e)=>{"use strict";var n=e(31989),i=e(1154),o=n.RegExp;t.exports={correct:!i(function(){var t=!0;try{o(".","d")}catch(r){t=!1}var r={},e="",n=t?"dgimsy":"gimsy",i=function(t,n){Object.defineProperty(r,t,{get:function(){return e+=n,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var s in t&&(a.hasIndices="d"),a)i(s,a[s]);return Object.getOwnPropertyDescriptor(o.prototype,"flags").get.call(r)!==n||e!==n})}},83544:(t,r,e)=>{"use strict";var n=e(93754).charAt;t.exports=function(t,r,e){return r+(e&&n(t,r).length||1)}},84130:(t,r,e)=>{"use strict";t.exports=e(31989)},84754:t=>{"use strict";t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},86198:(t,r,e)=>{"use strict";var n=e(20161),i=e(92912),o=e(8632),a=e(58777),s=e(60616),u=e(27612),c=e(42996),f=e(45120),l=Object.getOwnPropertyDescriptor;r.f=n?l:function(t,r){if(t=s(t),r=u(r),f)try{return l(t,r)}catch(t){}if(c(t,r))return a(!i(o.f,t,r),t[r])}},86284:(t,r,e)=>{"use strict";var n,i,o,a,s=e(31989),u=e(45484),c=e(49189),f=e(33608),l=e(42996),p=e(1154),h=e(19360),v=e(5013),d=e(20666),y=e(60945),m=e(55741),g=e(88884),x=s.setImmediate,b=s.clearImmediate,O=s.process,T=s.Dispatch,E=s.Function,N=s.MessageChannel,_=s.String,w=0,A={},R="onreadystatechange";p(function(){n=s.location});var C=function(t){if(l(A,t)){var r=A[t];delete A[t],r()}},S=function(t){return function(){C(t)}},M=function(t){C(t.data)},I=function(t){s.postMessage(_(t),n.protocol+"//"+n.host)};x&&b||(x=function(t){y(arguments.length,1);var r=f(t)?t:E(t),e=v(arguments,1);return A[++w]=function(){u(r,void 0,e)},i(w),w},b=function(t){delete A[t]},g?i=function(t){O.nextTick(S(t))}:T&&T.now?i=function(t){T.now(S(t))}:N&&!m?(a=(o=new N).port2,o.port1.onmessage=M,i=c(a.postMessage,a)):s.addEventListener&&f(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!p(I)?(i=I,s.addEventListener("message",M,!1)):i=R in d("script")?function(t){h.appendChild(d("script"))[R]=function(){h.removeChild(this),C(t)}}:function(t){setTimeout(S(t),0)}),t.exports={set:x,clear:b}},86849:(t,r,e)=>{"use strict";e(15306);var n=e(92912),i=e(66141),o=e(3262),a=e(1154),s=e(52134),u=e(190),c=s("species"),f=RegExp.prototype;t.exports=function(t,r,e,l){var p=s(t),h=!a(function(){var r={};return r[p]=function(){return 7},7!==""[t](r)}),v=h&&!a(function(){var r=!1,e=/a/;if("split"===t){var n={};n[c]=function(){return e},(e={constructor:n,flags:""})[p]=/./[p]}return e.exec=function(){return r=!0,null},e[p](""),!r});if(!h||!v||e){var d=/./[p],y=r(p,""[t],function(t,r,e,i,a){var s=r.exec;return s===o||s===f.exec?h&&!a?{done:!0,value:n(d,r,e,i)}:{done:!0,value:n(t,e,r,i)}:{done:!1}});i(String.prototype,t,y[0]),i(f,p,y[1])}l&&u(f[p],"sham",!0)}},87902:(t,r,e)=>{"use strict";var n=e(94156),i=TypeError,o=function(t){var r,e;this.promise=new t(function(t,n){if(void 0!==r||void 0!==e)throw new i("Bad Promise constructor");r=t,e=n}),this.resolve=n(r),this.reject=n(e)};t.exports.f=function(t){return new o(t)}},87942:(t,r,e)=>{"use strict";t.exports=!e(1154)(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},88616:(t,r,e)=>{"use strict";var n=e(48074),i=e(36561),o=e(488),a=e(52134)("species");t.exports=function(t,r){var e,s=n(t).constructor;return void 0===s||o(e=n(s)[a])?r:i(e)}},88858:(t,r,e)=>{"use strict";var n=e(31989),i=e(82682),o=e(20885),a=function(t){return i.slice(0,t.length)===t};t.exports=a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===o(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},88884:(t,r,e)=>{"use strict";t.exports="NODE"===e(88858)},89810:(t,r,e)=>{"use strict";var n=e(80997),i=e(1154),o=e(20885),a=Object,s=n("".split);t.exports=i(function(){return!a("z").propertyIsEnumerable(0)})?function(t){return"String"===o(t)?s(t,""):a(t)}:a},91591:(t,r,e)=>{"use strict";var n=e(80997),i=e(94156);t.exports=function(t,r,e){try{return n(i(Object.getOwnPropertyDescriptor(t,r)[e]))}catch(t){}}},91760:(t,r,e)=>{"use strict";var n=e(76419).PROPER,i=e(66141),o=e(48074),a=e(82002),s=e(1154),u=e(12703),c="toString",f=RegExp.prototype,l=f[c],p=s(function(){return"/a/b"!==l.call({source:"a",flags:"b"})}),h=n&&l.name!==c;(p||h)&&i(f,c,function(){var t=o(this);return"/"+a(t.source)+"/"+a(u(t))},{unsafe:!0})},91767:(t,r,e)=>{"use strict";e(58201),e(43782),e(35046),e(38306),e(79084),e(55949)},92412:(t,r,e)=>{"use strict";var n=e(92912),i=e(92855),o=e(96696),a=e(11827),s=e(40867),u=e(52134),c=TypeError,f=u("toPrimitive");t.exports=function(t,r){if(!i(t)||o(t))return t;var e,u=a(t,f);if(u){if(void 0===r&&(r="default"),!i(e=n(u,t,r))||o(e))return e;throw new c("Can't convert object to primitive value")}return void 0===r&&(r="number"),s(t,r)}},92855:(t,r,e)=>{"use strict";var n=e(33608);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},92893:(t,r,e)=>{"use strict";var n=e(44939),i=e(7667).left,o=e(29755),a=e(62402);n({target:"Array",proto:!0,forced:!e(88884)&&a>79&&a<83||!o("reduce")},{reduce:function(t){var r=arguments.length;return i(this,t,r,r>1?arguments[1]:void 0)}})},92912:(t,r,e)=>{"use strict";var n=e(61693),i=Function.prototype.call;t.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},93338:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},93754:(t,r,e)=>{"use strict";var n=e(80997),i=e(78894),o=e(82002),a=e(28891),s=n("".charAt),u=n("".charCodeAt),c=n("".slice),f=function(t){return function(r,e){var n,f,l=o(a(r)),p=i(e),h=l.length;return p<0||p>=h?t?"":void 0:(n=u(l,p))<55296||n>56319||p+1===h||(f=u(l,p+1))<56320||f>57343?t?s(l,p):n:t?c(l,p,p+2):(n-55296<<10)+(f-56320)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},94058:(t,r,e)=>{"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}e.d(r,{dD:()=>a});var i=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],o=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function a(t,r,e,a,u,c){if(!isNaN(c)&&!(c<1)){c|=0;var f=function(t,r,e,i,o){if("string"==typeof t&&(t=document.getElementById(t)),!t||"object"!==n(t)||!("getContext"in t))throw TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var a=t.getContext("2d");try{return a.getImageData(r,e,i,o)}catch(t){throw Error("unable to access image data: "+t)}}(t,r,e,a,u);f=function(t,r,e,n,a,u){for(var c,f=t.data,l=2*u+1,p=n-1,h=a-1,v=u+1,d=v*(v+1)/2,y=new s,m=y,g=1;g<l;g++)m=m.next=new s,g===v&&(c=m);m.next=y;for(var x=null,b=null,O=0,T=0,E=i[u],N=o[u],_=0;_<a;_++){m=y;for(var w=f[T],A=f[T+1],R=f[T+2],C=f[T+3],S=0;S<v;S++)m.r=w,m.g=A,m.b=R,m.a=C,m=m.next;for(var M=0,I=0,L=0,P=0,j=v*w,D=v*A,U=v*R,k=v*C,H=d*w,F=d*A,V=d*R,Y=d*C,X=1;X<v;X++){var B=T+((p<X?p:X)<<2),q=f[B],Q=f[B+1],G=f[B+2],$=f[B+3],W=v-X;H+=(m.r=q)*W,F+=(m.g=Q)*W,V+=(m.b=G)*W,Y+=(m.a=$)*W,M+=q,I+=Q,L+=G,P+=$,m=m.next}x=y,b=c;for(var Z=0;Z<n;Z++){var z=Y*E>>>N;if(f[T+3]=z,0!==z){var K=255/z;f[T]=(H*E>>>N)*K,f[T+1]=(F*E>>>N)*K,f[T+2]=(V*E>>>N)*K}else f[T]=f[T+1]=f[T+2]=0;H-=j,F-=D,V-=U,Y-=k,j-=x.r,D-=x.g,U-=x.b,k-=x.a;var J=Z+u+1;J=O+(J<p?J:p)<<2,M+=x.r=f[J],I+=x.g=f[J+1],L+=x.b=f[J+2],P+=x.a=f[J+3],H+=M,F+=I,V+=L,Y+=P,x=x.next;var tt=b,tr=tt.r,te=tt.g,tn=tt.b,ti=tt.a;j+=tr,D+=te,U+=tn,k+=ti,M-=tr,I-=te,L-=tn,P-=ti,b=b.next,T+=4}O+=n}for(var to=0;to<n;to++){var ta=f[T=to<<2],ts=f[T+1],tu=f[T+2],tc=f[T+3],tf=v*ta,tl=v*ts,tp=v*tu,th=v*tc,tv=d*ta,td=d*ts,ty=d*tu,tm=d*tc;m=y;for(var tg=0;tg<v;tg++)m.r=ta,m.g=ts,m.b=tu,m.a=tc,m=m.next;for(var tx=n,tb=0,tO=0,tT=0,tE=0,tN=1;tN<=u;tN++){T=tx+to<<2;var t_=v-tN;tv+=(m.r=ta=f[T])*t_,td+=(m.g=ts=f[T+1])*t_,ty+=(m.b=tu=f[T+2])*t_,tm+=(m.a=tc=f[T+3])*t_,tE+=ta,tb+=ts,tO+=tu,tT+=tc,m=m.next,tN<h&&(tx+=n)}T=to,x=y,b=c;for(var tw=0;tw<a;tw++){var tA=T<<2;f[tA+3]=tc=tm*E>>>N,tc>0?(tc=255/tc,f[tA]=(tv*E>>>N)*tc,f[tA+1]=(td*E>>>N)*tc,f[tA+2]=(ty*E>>>N)*tc):f[tA]=f[tA+1]=f[tA+2]=0,tv-=tf,td-=tl,ty-=tp,tm-=th,tf-=x.r,tl-=x.g,tp-=x.b,th-=x.a,tA=to+((tA=tw+v)<h?tA:h)*n<<2,tv+=tE+=x.r=f[tA],td+=tb+=x.g=f[tA+1],ty+=tO+=x.b=f[tA+2],tm+=tT+=x.a=f[tA+3],x=x.next,tf+=ta=b.r,tl+=ts=b.g,tp+=tu=b.b,th+=tc=b.a,tE-=ta,tb-=ts,tO-=tu,tT-=tc,b=b.next,T+=n}}return t}(f,0,0,a,u,c),t.getContext("2d").putImageData(f,r,e)}}var s=function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}},94156:(t,r,e)=>{"use strict";var n=e(33608),i=e(16730),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a function")}},95877:(t,r,e)=>{"use strict";var n=e(60616),i=e(25464),o=e(51760),a=e(8480),s=e(30852).f,u=e(78277),c=e(69972),f=e(51422),l=e(20161),p="Array Iterator",h=a.set,v=a.getterFor(p);t.exports=u(Array,"Array",function(t,r){h(this,{type:p,target:n(t),index:0,kind:r})},function(){var t=v(this),r=t.target,e=t.index++;if(!r||e>=r.length)return t.target=null,c(void 0,!0);switch(t.kind){case"keys":return c(e,!1);case"values":return c(r[e],!1)}return c([e,r[e]],!1)},"values");var d=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!f&&l&&"values"!==d.name)try{s(d,"name",{value:"values"})}catch(t){}},96696:(t,r,e)=>{"use strict";var n=e(30842),i=e(33608),o=e(98220),a=e(32725),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var r=n("Symbol");return i(r)&&o(r.prototype,s(t))}},97374:(t,r,e)=>{"use strict";var n=e(48074);t.exports=function(){var t=n(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r}},97898:(t,r,e)=>{"use strict";var n=e(53988),i=e(31877),o=n("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},98220:(t,r,e)=>{"use strict";t.exports=e(80997)({}.isPrototypeOf)},98522:(t,r,e)=>{"use strict";var n=e(98220),i=TypeError;t.exports=function(t,r){if(n(r,t))return t;throw new i("Incorrect invocation")}}}]);
|