recce-nightly 0.62.0.20250417__py3-none-any.whl → 1.30.0.20251221__py3-none-any.whl
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.
Potentially problematic release.
This version of recce-nightly might be problematic. Click here for more details.
- recce/VERSION +1 -1
- recce/__init__.py +27 -22
- recce/adapter/base.py +11 -14
- recce/adapter/dbt_adapter/__init__.py +845 -461
- recce/adapter/dbt_adapter/dbt_version.py +3 -0
- recce/adapter/sqlmesh_adapter.py +24 -35
- recce/apis/check_api.py +59 -42
- recce/apis/check_events_api.py +353 -0
- recce/apis/check_func.py +41 -35
- recce/apis/run_api.py +25 -19
- recce/apis/run_func.py +64 -25
- recce/artifact.py +119 -51
- recce/cli.py +1301 -324
- recce/config.py +43 -34
- recce/connect_to_cloud.py +138 -0
- recce/core.py +55 -47
- recce/data/404/index.html +2 -0
- recce/data/404.html +2 -1
- recce/data/__next.@lineage.!KHNsb3Qp.__PAGE__.txt +7 -0
- recce/data/__next.@lineage.!KHNsb3Qp.txt +4 -0
- recce/data/__next.__PAGE__.txt +6 -0
- recce/data/__next._full.txt +32 -0
- recce/data/__next._head.txt +8 -0
- recce/data/__next._index.txt +14 -0
- recce/data/__next._tree.txt +8 -0
- recce/data/_next/static/chunks/025a7e3e3f9f40ae.js +1 -0
- recce/data/_next/static/chunks/0ce56d67ef5779ca.js +4 -0
- recce/data/_next/static/chunks/1a6a78780155dac7.js +48 -0
- recce/data/_next/static/chunks/1de8485918b9182a.css +2 -0
- recce/data/_next/static/chunks/1e4b1b50d1e34993.js +1 -0
- recce/data/_next/static/chunks/206d5d181e4c738e.js +1 -0
- recce/data/_next/static/chunks/2c357efc34c5b859.js +25 -0
- recce/data/_next/static/chunks/2e9d95d2d48c479c.js +1 -0
- recce/data/_next/static/chunks/2f016dc4a3edad2e.js +2 -0
- recce/data/_next/static/chunks/313251962d698f7c.js +1 -0
- recce/data/_next/static/chunks/3a9f021f38eb5574.css +1 -0
- recce/data/_next/static/chunks/40079da8d2b8f651.js +1 -0
- recce/data/_next/static/chunks/4599182bffb64661.js +38 -0
- recce/data/_next/static/chunks/4e62f6e184173580.js +1 -0
- recce/data/_next/static/chunks/5c4dfb0d09eaa401.js +1 -0
- recce/data/_next/static/chunks/69e4f06ccfdfc3ac.js +1 -0
- recce/data/_next/static/chunks/6b206cb4707d6bee.js +1 -0
- recce/data/_next/static/chunks/6d8557f062aa4386.css +1 -0
- recce/data/_next/static/chunks/7fbe3650bd83b6b5.js +1 -0
- recce/data/_next/static/chunks/83fa823a825674f6.js +1 -0
- recce/data/_next/static/chunks/848a6c9b5f55f7ed.js +1 -0
- recce/data/_next/static/chunks/859462b0858aef88.css +2 -0
- recce/data/_next/static/chunks/923964f18c87d0f1.css +1 -0
- recce/data/_next/static/chunks/939390f911895d7c.js +48 -0
- recce/data/_next/static/chunks/99a9817237a07f43.js +1 -0
- recce/data/_next/static/chunks/9fed8b4b2b924054.js +5 -0
- recce/data/_next/static/chunks/b6949f6c5892110c.js +1 -0
- recce/data/_next/static/chunks/b851a1d3f8149828.js +1 -0
- recce/data/_next/static/chunks/c734f9ad957de0b4.js +1 -0
- recce/data/_next/static/chunks/cdde321b0ec75717.js +2 -0
- recce/data/_next/static/chunks/d0f91117d77ff844.css +1 -0
- recce/data/_next/static/chunks/d6c8667911c2500f.js +1 -0
- recce/data/_next/static/chunks/da8dab68c02752cf.js +74 -0
- recce/data/_next/static/chunks/dc074049c9d12d97.js +109 -0
- recce/data/_next/static/chunks/ee7f1a8227342421.js +1 -0
- recce/data/_next/static/chunks/fa2f4e56c2fccc73.js +1 -0
- recce/data/_next/static/chunks/turbopack-1fad664f62979b93.js +3 -0
- recce/data/_next/static/media/favicon.a8d38d84.ico +0 -0
- recce/data/_next/static/media/montserrat-cyrillic-800-normal.d80d830d.woff2 +0 -0
- recce/data/_next/static/media/montserrat-cyrillic-800-normal.f9d58125.woff +0 -0
- recce/data/_next/static/media/montserrat-cyrillic-ext-800-normal.076c2a93.woff2 +0 -0
- recce/data/_next/static/media/montserrat-cyrillic-ext-800-normal.a4fa76b5.woff +0 -0
- recce/data/_next/static/media/montserrat-latin-800-normal.cde454cc.woff2 +0 -0
- recce/data/_next/static/media/montserrat-latin-800-normal.d5761935.woff +0 -0
- recce/data/_next/static/media/montserrat-latin-ext-800-normal.40ec0659.woff2 +0 -0
- recce/data/_next/static/media/montserrat-latin-ext-800-normal.b671449b.woff +0 -0
- recce/data/_next/static/media/montserrat-vietnamese-800-normal.9f7b8541.woff +0 -0
- recce/data/_next/static/media/montserrat-vietnamese-800-normal.f9eb854e.woff2 +0 -0
- recce/data/_next/static/nX-Uz0AH6Tc6hIQUFGqaB/_buildManifest.js +11 -0
- recce/data/_next/static/nX-Uz0AH6Tc6hIQUFGqaB/_clientMiddlewareManifest.json +1 -0
- recce/data/_not-found/__next._full.txt +24 -0
- recce/data/_not-found/__next._head.txt +8 -0
- recce/data/_not-found/__next._index.txt +13 -0
- recce/data/_not-found/__next._not-found.__PAGE__.txt +5 -0
- recce/data/_not-found/__next._not-found.txt +4 -0
- recce/data/_not-found/__next._tree.txt +6 -0
- recce/data/_not-found/index.html +2 -0
- recce/data/_not-found/index.txt +24 -0
- recce/data/auth_callback.html +68 -0
- recce/data/checks/__next.@lineage.__DEFAULT__.txt +7 -0
- recce/data/checks/__next._full.txt +39 -0
- recce/data/checks/__next._head.txt +8 -0
- recce/data/checks/__next._index.txt +14 -0
- recce/data/checks/__next._tree.txt +8 -0
- recce/data/checks/__next.checks.__PAGE__.txt +10 -0
- recce/data/checks/__next.checks.txt +4 -0
- recce/data/checks/index.html +2 -0
- recce/data/checks/index.txt +39 -0
- recce/data/imgs/reload-image.svg +4 -0
- recce/data/index.html +2 -27
- recce/data/index.txt +32 -7
- recce/data/lineage/__next.@lineage.__DEFAULT__.txt +7 -0
- recce/data/lineage/__next._full.txt +39 -0
- recce/data/lineage/__next._head.txt +8 -0
- recce/data/lineage/__next._index.txt +14 -0
- recce/data/lineage/__next._tree.txt +8 -0
- recce/data/lineage/__next.lineage.__PAGE__.txt +10 -0
- recce/data/lineage/__next.lineage.txt +4 -0
- recce/data/lineage/index.html +2 -0
- recce/data/lineage/index.txt +39 -0
- recce/data/query/__next.@lineage.__DEFAULT__.txt +7 -0
- recce/data/query/__next._full.txt +37 -0
- recce/data/query/__next._head.txt +8 -0
- recce/data/query/__next._index.txt +14 -0
- recce/data/query/__next._tree.txt +8 -0
- recce/data/query/__next.query.__PAGE__.txt +9 -0
- recce/data/query/__next.query.txt +4 -0
- recce/data/query/index.html +2 -0
- recce/data/query/index.txt +37 -0
- recce/diff.py +6 -12
- recce/event/CONFIG.bak +1 -0
- recce/event/__init__.py +86 -74
- recce/event/collector.py +33 -22
- recce/event/track.py +49 -27
- recce/exceptions.py +1 -1
- recce/git.py +7 -7
- recce/github.py +57 -53
- recce/mcp_server.py +725 -0
- recce/models/__init__.py +4 -1
- recce/models/check.py +438 -21
- recce/models/run.py +1 -0
- recce/models/types.py +134 -28
- recce/pull_request.py +27 -25
- recce/run.py +179 -122
- recce/server.py +394 -104
- recce/state/__init__.py +31 -0
- recce/state/cloud.py +644 -0
- recce/state/const.py +26 -0
- recce/state/local.py +56 -0
- recce/state/state.py +119 -0
- recce/state/state_loader.py +174 -0
- recce/summary.py +196 -149
- recce/tasks/__init__.py +19 -3
- recce/tasks/core.py +11 -13
- recce/tasks/dataframe.py +82 -18
- recce/tasks/histogram.py +69 -34
- recce/tasks/lineage.py +2 -2
- recce/tasks/profile.py +152 -86
- recce/tasks/query.py +180 -89
- recce/tasks/rowcount.py +37 -31
- recce/tasks/schema.py +18 -15
- recce/tasks/top_k.py +35 -35
- recce/tasks/utils.py +147 -0
- recce/tasks/valuediff.py +247 -155
- recce/util/__init__.py +3 -0
- recce/util/api_token.py +80 -0
- recce/util/breaking.py +105 -100
- recce/util/cll.py +274 -219
- recce/util/cloud/__init__.py +15 -0
- recce/util/cloud/base.py +115 -0
- recce/util/cloud/check_events.py +190 -0
- recce/util/cloud/checks.py +242 -0
- recce/util/io.py +22 -17
- recce/util/lineage.py +65 -16
- recce/util/logger.py +1 -1
- recce/util/onboarding_state.py +45 -0
- recce/util/perf_tracking.py +85 -0
- recce/util/recce_cloud.py +347 -72
- recce/util/singleton.py +4 -4
- recce/util/startup_perf.py +121 -0
- recce/yaml/__init__.py +7 -10
- recce_nightly-1.30.0.20251221.dist-info/METADATA +195 -0
- recce_nightly-1.30.0.20251221.dist-info/RECORD +183 -0
- {recce_nightly-0.62.0.20250417.dist-info → recce_nightly-1.30.0.20251221.dist-info}/WHEEL +1 -2
- recce/data/_next/static/chunks/1f229bf6-d9fe92e56db8d93b.js +0 -1
- recce/data/_next/static/chunks/29e3cc0d-8c150e37dff9631b.js +0 -1
- recce/data/_next/static/chunks/36e1c10d-bb0210cbd6573a8d.js +0 -1
- recce/data/_next/static/chunks/3998a672-eaad84bdd88cc73e.js +0 -1
- recce/data/_next/static/chunks/450c323b-1bb5db526e54435a.js +0 -1
- recce/data/_next/static/chunks/47d8844f-79a1b53c66a7d7ec.js +0 -1
- recce/data/_next/static/chunks/500-e51c92a025a51234.js +0 -65
- recce/data/_next/static/chunks/6dc81886-c94b9b91bc2c3caf.js +0 -1
- recce/data/_next/static/chunks/700-3b65fc3666820d00.js +0 -2
- recce/data/_next/static/chunks/7a8a3e83-d7fa409d97b38b2b.js +0 -1
- recce/data/_next/static/chunks/7f27ae6c-413f6b869a04183a.js +0 -1
- recce/data/_next/static/chunks/9746af58-d74bef4d03eea6ab.js +0 -1
- recce/data/_next/static/chunks/a30376cd-7d806e1602f2dc3a.js +0 -1
- recce/data/_next/static/chunks/app/_not-found/page-8a886fa0855c3105.js +0 -1
- recce/data/_next/static/chunks/app/layout-9102e22cb73f74d6.js +0 -1
- recce/data/_next/static/chunks/app/page-9adc25782272ed2e.js +0 -1
- recce/data/_next/static/chunks/b63b1b3f-7395c74e11a14e95.js +0 -1
- recce/data/_next/static/chunks/c132bf7d-8102037f9ccf372a.js +0 -1
- recce/data/_next/static/chunks/c1ceaa8b-a1e442154d23515e.js +0 -1
- recce/data/_next/static/chunks/cd9f8d63-cf0d5a7b0f7a92e8.js +0 -54
- recce/data/_next/static/chunks/ce84277d-f42c2c58049cea2d.js +0 -1
- recce/data/_next/static/chunks/e24bf851-0f8cbc99656833e7.js +0 -1
- recce/data/_next/static/chunks/fee69bc6-f17d36c080742e74.js +0 -1
- recce/data/_next/static/chunks/framework-ded83d71b51ce901.js +0 -1
- recce/data/_next/static/chunks/main-a0859f1f36d0aa6c.js +0 -1
- recce/data/_next/static/chunks/main-app-0225a2255968e566.js +0 -1
- recce/data/_next/static/chunks/pages/_app-d5672bf3d8b6371b.js +0 -1
- recce/data/_next/static/chunks/pages/_error-ed75be3f25588548.js +0 -1
- recce/data/_next/static/chunks/webpack-567d72f0bc0820d5.js +0 -1
- recce/data/_next/static/css/c9ecb46a4b21c126.css +0 -14
- recce/data/_next/static/media/montserrat-cyrillic-800-normal.22628180.woff2 +0 -0
- recce/data/_next/static/media/montserrat-cyrillic-800-normal.31d693bb.woff +0 -0
- recce/data/_next/static/media/montserrat-cyrillic-ext-800-normal.7e2c1e62.woff +0 -0
- recce/data/_next/static/media/montserrat-cyrillic-ext-800-normal.94a63aea.woff2 +0 -0
- recce/data/_next/static/media/montserrat-latin-800-normal.6f8fa298.woff2 +0 -0
- recce/data/_next/static/media/montserrat-latin-800-normal.97e20d5e.woff +0 -0
- recce/data/_next/static/media/montserrat-latin-ext-800-normal.013b84f9.woff2 +0 -0
- recce/data/_next/static/media/montserrat-latin-ext-800-normal.aff52ab0.woff +0 -0
- recce/data/_next/static/media/montserrat-vietnamese-800-normal.5f21869b.woff +0 -0
- recce/data/_next/static/media/montserrat-vietnamese-800-normal.c0035377.woff2 +0 -0
- recce/data/_next/static/qiyFlux77VkhxiceAJe_F/_buildManifest.js +0 -1
- recce/state.py +0 -753
- recce_nightly-0.62.0.20250417.dist-info/METADATA +0 -311
- recce_nightly-0.62.0.20250417.dist-info/RECORD +0 -139
- recce_nightly-0.62.0.20250417.dist-info/top_level.txt +0 -2
- tests/__init__.py +0 -0
- tests/adapter/__init__.py +0 -0
- tests/adapter/dbt_adapter/__init__.py +0 -0
- tests/adapter/dbt_adapter/conftest.py +0 -13
- tests/adapter/dbt_adapter/dbt_test_helper.py +0 -283
- tests/adapter/dbt_adapter/test_dbt_adapter.py +0 -40
- tests/adapter/dbt_adapter/test_dbt_cll.py +0 -102
- tests/adapter/dbt_adapter/test_selector.py +0 -177
- tests/tasks/__init__.py +0 -0
- tests/tasks/conftest.py +0 -4
- tests/tasks/test_histogram.py +0 -137
- tests/tasks/test_lineage.py +0 -42
- tests/tasks/test_preset_checks.py +0 -50
- tests/tasks/test_profile.py +0 -73
- tests/tasks/test_query.py +0 -151
- tests/tasks/test_row_count.py +0 -116
- tests/tasks/test_schema.py +0 -99
- tests/tasks/test_top_k.py +0 -73
- tests/tasks/test_valuediff.py +0 -74
- tests/test_cli.py +0 -122
- tests/test_config.py +0 -45
- tests/test_core.py +0 -27
- tests/test_dbt.py +0 -36
- tests/test_pull_request.py +0 -130
- tests/test_server.py +0 -98
- tests/test_state.py +0 -123
- tests/test_summary.py +0 -57
- /recce/data/_next/static/chunks/{polyfills-42372ed130431b0a.js → a6dad97d9634a72d.js} +0 -0
- /recce/data/_next/static/{qiyFlux77VkhxiceAJe_F → nX-Uz0AH6Tc6hIQUFGqaB}/_ssgManifest.js +0 -0
- {recce_nightly-0.62.0.20250417.dist-info → recce_nightly-1.30.0.20251221.dist-info}/entry_points.txt +0 -0
- {recce_nightly-0.62.0.20250417.dist-info → recce_nightly-1.30.0.20251221.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,128490,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function({html:e,height:t=null,width:r=null,children:l,dataNtpc:n=""}){return(0,s.useEffect)(()=>{n&&performance.mark("mark_feature_usage",{detail:{feature:`next-third-parties-${n}`}})},[n]),(0,i.jsxs)(i.Fragment,{children:[l,e?(0,i.jsx)("div",{style:{height:null!=t?`${t}px`:"auto",width:null!=r?`${r}px`:"auto"},"data-ntpc":n,dangerouslySetInnerHTML:{__html:e}}):null]})};let i=e.r(19483),s=e.r(187725)},102528,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i={cancelIdleCallback:function(){return n},requestIdleCallback:function(){return l}};for(var s in i)Object.defineProperty(r,s,{enumerable:!0,get:i[s]});let l="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},485153,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i={default:function(){return y},handleClientScriptLoad:function(){return g},initScriptLoader:function(){return x}};for(var s in i)Object.defineProperty(r,s,{enumerable:!0,get:i[s]});let l=e.r(481258),n=e.r(744066),o=e.r(19483),a=l._(e.r(316245)),c=n._(e.r(187725)),d=e.r(691277),u=e.r(684423),h=e.r(102528),f=new Map,p=new Set,m=e=>{let{src:t,id:r,onLoad:i=()=>{},onReady:s=null,dangerouslySetInnerHTML:l,children:n="",strategy:o="afterInteractive",onError:c,stylesheets:d}=e,h=r||t;if(h&&p.has(h))return;if(f.has(t)){p.add(h),f.get(t).then(i,c);return}let m=()=>{s&&s(),p.add(h)},g=document.createElement("script"),x=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),i&&i.call(this,t),m()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});l?(g.innerHTML=l.__html||"",m()):n?(g.textContent="string"==typeof n?n:Array.isArray(n)?n.join(""):"",m()):t&&(g.src=t,f.set(t,x)),(0,u.setAttributesFromProps)(g,e),"worker"===o&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",o),d&&(e=>{if(a.default.preinit)return e.forEach(e=>{a.default.preinit(e,{as:"style"})});if("undefined"!=typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(d),document.body.appendChild(g)};function g(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,h.requestIdleCallback)(()=>m(e))}):m(e)}function x(e){e.forEach(g),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");p.add(t)})}function v(e){let{id:t,src:r="",onLoad:i=()=>{},onReady:s=null,strategy:l="afterInteractive",onError:n,stylesheets:u,...f}=e,{updateScripts:g,scripts:x,getIsSsr:v,appDir:y,nonce:b}=(0,c.useContext)(d.HeadManagerContext);b=f.nonce||b;let S=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let e=t||r;S.current||(s&&e&&p.has(e)&&s(),S.current=!0)},[s,t,r]);let j=(0,c.useRef)(!1);if((0,c.useEffect)(()=>{if(!j.current){if("afterInteractive"===l)m(e);else"lazyOnload"===l&&("complete"===document.readyState?(0,h.requestIdleCallback)(()=>m(e)):window.addEventListener("load",()=>{(0,h.requestIdleCallback)(()=>m(e))}));j.current=!0}},[e,l]),("beforeInteractive"===l||"worker"===l)&&(g?(x[l]=(x[l]||[]).concat([{id:t,src:r,onLoad:i,onReady:s,onError:n,...f,nonce:b}]),g(x)):v&&v()?p.add(t||r):v&&!v()&&m({...e,nonce:b})),y){if(u&&u.forEach(e=>{a.default.preinit(e,{as:"style"})}),"beforeInteractive"===l)if(!r)return f.dangerouslySetInnerHTML&&(f.children=f.dangerouslySetInnerHTML.__html,delete f.dangerouslySetInnerHTML),(0,o.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([0,{...f,id:t}])})`}});else return a.default.preload(r,f.integrity?{as:"script",integrity:f.integrity,nonce:b,crossOrigin:f.crossOrigin}:{as:"script",nonce:b,crossOrigin:f.crossOrigin}),(0,o.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([r,{...f,id:t}])})`}});"afterInteractive"===l&&r&&a.default.preload(r,f.integrity?{as:"script",integrity:f.integrity,nonce:b,crossOrigin:f.crossOrigin}:{as:"script",nonce:b,crossOrigin:f.crossOrigin})}return null}Object.defineProperty(v,"__nextScript",{value:!0});let y=v;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},721979,(e,t,r)=>{t.exports=e.r(485153)},634135,(e,t,r)=>{"use strict";var i=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.sendGTMEvent=void 0,r.GoogleTagManager=function(e){let{gtmId:t,gtmScriptUrl:r,dataLayerName:i="dataLayer",auth:a,preview:c,dataLayer:d,nonce:u}=e;o=i;let h=new URL(r||"https://www.googletagmanager.com/gtm.js");return t&&h.searchParams.set("id",t),"dataLayer"!==i&&h.searchParams.set("l",i),a&&h.searchParams.set("gtm_auth",a),c&&(h.searchParams.set("gtm_preview",c),h.searchParams.set("gtm_cookies_win","x")),(0,l.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:`
|
|
2
|
+
(function(w,l){
|
|
3
|
+
w[l]=w[l]||[];
|
|
4
|
+
w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});
|
|
5
|
+
${d?`w[l].push(${JSON.stringify(d)})`:""}
|
|
6
|
+
})(window,'${i}');`},nonce:u}),(0,s.jsx)(n.default,{id:"_next-gtm","data-ntpc":"GTM",src:h.href,nonce:u})]})};let s=e.r(19483),l=e.r(187725),n=i(e.r(721979)),o="dataLayer";r.sendGTMEvent=(e,t)=>{let r=t||o;window[r]=window[r]||[],window[r].push(e)}},585116,(e,t,r)=>{"use strict";let i;var s=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.GoogleAnalytics=function(e){let{gaId:t,debugMode:r,dataLayerName:s="dataLayer",nonce:a}=e;return void 0===i&&(i=s),(0,n.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:`
|
|
7
|
+
window['${s}'] = window['${s}'] || [];
|
|
8
|
+
function gtag(){window['${s}'].push(arguments);}
|
|
9
|
+
gtag('js', new Date());
|
|
10
|
+
|
|
11
|
+
gtag('config', '${t}' ${r?",{ 'debug_mode': true }":""});`},nonce:a}),(0,l.jsx)(o.default,{id:"_next-ga",src:`https://www.googletagmanager.com/gtag/js?id=${t}`,nonce:a})]})},r.sendGAEvent=function(){void 0===i?console.warn("@next/third-parties: GA has not been initialized"):window[i]?window[i].push(arguments):console.warn(`@next/third-parties: GA dataLayer ${i} does not exist`)};let l=e.r(19483),n=e.r(187725),o=s(e.r(721979))},84654,e=>{"use strict";var t=e.i(19483),r=e.i(63257);e.i(316575);var i=e.i(187725),s=e.i(854920),l=e.i(519273);let n="function"==typeof(0,s.globalCss)({}),o=(e,t=!1)=>{let r={};t&&e.colorSchemes&&"function"==typeof e.getColorSchemeSelector&&Object.entries(e.colorSchemes).forEach(([t,i])=>{let s=e.getColorSchemeSelector(t);s.startsWith("@")?r[s]={":root":{colorScheme:i.palette?.mode}}:r[s.replace(/\s*&/,"")]={colorScheme:i.palette?.mode}});let i={html:{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}},"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...{color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}},"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...r},s=e.components?.MuiCssBaseline?.styleOverrides;return s&&(i=[i,s]),i},a="mui-ecs",c=(0,s.globalCss)(n?({theme:e,enableColorScheme:t})=>o(e,t):({theme:e})=>{let t,r;return r=Array.isArray(t=o(e,!1))?t[0]:t,!e.vars&&r&&(r.html[`:root:has(${a})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([t,i])=>{let s=e.getColorSchemeSelector(t);s.startsWith("@")?r[s]={[`:root:not(:has(.${a}))`]:{colorScheme:i.palette?.mode}}:r[s.replace(/\s*&/,"")]={[`&:not(:has(.${a}))`]:{colorScheme:i.palette?.mode}}}),t}),d=function(e){let{children:r,enableColorScheme:s=!1}=(0,l.useDefaultProps)({props:e,name:"MuiCssBaseline"});return(0,t.jsxs)(i.Fragment,{children:[n&&(0,t.jsx)(c,{enableColorScheme:s}),!n&&!s&&(0,t.jsx)("span",{className:a,style:{display:"none"}}),r]})},u=i.createContext(null);function h(){return i.useContext(u)}let f="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",p=function(e){let{children:r,theme:s}=e,l=h(),n=i.useMemo(()=>{var e,t;let r=null===l?{...s}:(e=l,"function"==typeof(t=s)?t(e):{...e,...t});return null!=r&&(r[f]=null!==l),r},[s,l]);return(0,t.jsx)(u.Provider,{value:n,children:r})};var m=e.i(959184),g=e.i(106556),x=e.i(358102),v=e.i(741610),y=e.i(86396),b=e.i(244875),S=e.i(498386);let j={};function w(e,t,r,s=!1){return i.useMemo(()=>{let i=e&&t[e]||t;if("function"==typeof r){let l=r(i),n=e?{...t,[e]:l}:l;return s?()=>n:n}return e?{...t,[e]:r}:{...t,...r}},[e,t,r,s])}let C=function(e){let{children:r,theme:i,themeId:s}=e,l=(0,g.default)(j),n=h()||j,o=w(s,l,i),a=w(s,n,i,!0),c="rtl"===(s?o[s]:o).direction,d=function(e){let r=(0,g.default)(),i=(0,b.default)()||"",{modularCssLayers:s}=e,l="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return(l=s&&null===r?"string"==typeof s?s.replace(/mui(?!\.)/g,l):`@layer ${l};`:"",(0,y.default)(()=>{let e=document.querySelector("head");if(!e)return;let t=e.firstChild;if(l){if(t&&t.hasAttribute?.("data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===i)return;let r=document.createElement("style");r.setAttribute("data-mui-layer-order",i),r.textContent=l,e.prepend(r)}else e.querySelector(`style[data-mui-layer-order="${i}"]`)?.remove()},[l,i]),l)?(0,t.jsx)(S.default,{styles:l}):null}(o);return(0,t.jsx)(p,{theme:a,children:(0,t.jsx)(m.ThemeContext.Provider,{value:o,children:(0,t.jsx)(x.default,{value:c,children:(0,t.jsxs)(v.default,{value:s?o[s].components:o.components,children:[d,r]})})})})};var k=e.i(269008);function E({theme:e,...r}){let i=k.default in e?e[k.default]:void 0;return(0,t.jsx)(C,{...r,themeId:i?k.default:void 0,theme:i||e})}var O=e.i(727047),A=e.i(273323);let M="mode",R="color-scheme";function _(){}let z=({key:e,storageWindow:t})=>(t||"undefined"==typeof window||(t=window),{get(r){let i;if("undefined"!=typeof window){if(!t)return r;try{i=t.localStorage.getItem(e)}catch{}return i||r}},set:r=>{if(t)try{t.localStorage.setItem(e,r)}catch{}},subscribe:r=>{if(!t)return _;let i=t=>{let i=t.newValue;t.key===e&&r(i)};return t.addEventListener("storage",i),()=>{t.removeEventListener("storage",i)}}});function I(){}function T(e){if("undefined"!=typeof window&&"function"==typeof window.matchMedia&&"system"===e)return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function W(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}var L=e.i(266198),N=e.i(247014);let{CssVarsProvider:P,useColorScheme:$,getInitColorSchemeScript:F}=function(e){let{themeId:r,theme:s={},modeStorageKey:l=M,colorSchemeStorageKey:n=R,disableTransitionOnChange:o=!1,defaultColorScheme:a,resolveTheme:c}=e,d={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},u=i.createContext(void 0),f={},p={},m="string"==typeof a?a:a.light,g="string"==typeof a?a:a.dark;return{CssVarsProvider:function(e){let{children:d,theme:m,modeStorageKey:g=l,colorSchemeStorageKey:x=n,disableTransitionOnChange:v=o,storageManager:b,storageWindow:S="undefined"==typeof window?void 0:window,documentNode:j="undefined"==typeof document?void 0:document,colorSchemeNode:w="undefined"==typeof document?void 0:document.documentElement,disableNestedContext:k=!1,disableStyleSheetGeneration:E=!1,defaultMode:O="system",forceThemeRerender:_=!1,noSsr:L}=e,N=i.useRef(!1),P=h(),$=i.useContext(u),F=!!$&&!k,D=i.useMemo(()=>m||("function"==typeof s?s():s),[m]),H=D[r],q=H||D,{colorSchemes:B=f,components:V=p,cssVarPrefix:K}=q,G=Object.keys(B).filter(e=>!!B[e]).join(","),Q=i.useMemo(()=>G.split(","),[G]),X="string"==typeof a?a:a.light,Y="string"==typeof a?a:a.dark,U=B[X]&&B[Y]?O:B[q.defaultColorScheme]?.palette?.mode||q.palette?.mode,{mode:J,setMode:Z,systemMode:ee,lightColorScheme:et,darkColorScheme:er,colorScheme:ei,setColorScheme:es}=function(e){let{defaultMode:t="light",defaultLightColorScheme:r,defaultDarkColorScheme:s,supportedColorSchemes:l=[],modeStorageKey:n=M,colorSchemeStorageKey:o=R,storageWindow:a="undefined"==typeof window?void 0:window,storageManager:c=z,noSsr:d=!1}=e,u=l.join(","),h=l.length>1,f=i.useMemo(()=>c?.({key:n,storageWindow:a}),[c,n,a]),p=i.useMemo(()=>c?.({key:`${o}-light`,storageWindow:a}),[c,o,a]),m=i.useMemo(()=>c?.({key:`${o}-dark`,storageWindow:a}),[c,o,a]),[g,x]=i.useState(()=>{let e=f?.get(t)||t,i=p?.get(r)||r,l=m?.get(s)||s;return{mode:e,systemMode:T(e),lightColorScheme:i,darkColorScheme:l}}),[v,y]=i.useState(d||!h);i.useEffect(()=>{y(!0)},[]);let b=W(g,e=>"light"===e?g.lightColorScheme:"dark"===e?g.darkColorScheme:void 0),S=i.useCallback(e=>{x(r=>{if(e===r.mode)return r;let i=e??t;return f?.set(i),{...r,mode:i,systemMode:T(i)}})},[f,t]),j=i.useCallback(e=>{e?"string"==typeof e?e&&!u.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):x(t=>{let r={...t};return W(t,t=>{"light"===t&&(p?.set(e),r.lightColorScheme=e),"dark"===t&&(m?.set(e),r.darkColorScheme=e)}),r}):x(t=>{let i={...t},l=null===e.light?r:e.light,n=null===e.dark?s:e.dark;return l&&(u.includes(l)?(i.lightColorScheme=l,p?.set(l)):console.error(`\`${l}\` does not exist in \`theme.colorSchemes\`.`)),n&&(u.includes(n)?(i.darkColorScheme=n,m?.set(n)):console.error(`\`${n}\` does not exist in \`theme.colorSchemes\`.`)),i}):x(e=>(p?.set(r),m?.set(s),{...e,lightColorScheme:r,darkColorScheme:s}))},[u,p,m,r,s]),w=i.useCallback(e=>{"system"===g.mode&&x(t=>{let r=e?.matches?"dark":"light";return t.systemMode===r?t:{...t,systemMode:r}})},[g.mode]),C=i.useRef(w);return C.current=w,i.useEffect(()=>{if("function"!=typeof window.matchMedia||!h)return;let e=(...e)=>C.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}},[h]),i.useEffect(()=>{if(h){let e=f?.subscribe(e=>{(!e||["light","dark","system"].includes(e))&&S(e||t)})||I,r=p?.subscribe(e=>{(!e||u.match(e))&&j({light:e})})||I,i=m?.subscribe(e=>{(!e||u.match(e))&&j({dark:e})})||I;return()=>{e(),r(),i()}}},[j,S,u,t,a,h,f,p,m]),{...g,mode:v?g.mode:void 0,systemMode:v?g.systemMode:void 0,colorScheme:v?b:void 0,setMode:S,setColorScheme:j}}({supportedColorSchemes:Q,defaultLightColorScheme:X,defaultDarkColorScheme:Y,modeStorageKey:g,colorSchemeStorageKey:x,defaultMode:U,storageManager:b,storageWindow:S,noSsr:L}),el=J,en=ei;F&&(el=$.mode,en=$.colorScheme);let eo=en||q.defaultColorScheme;q.vars&&!_&&(eo=q.defaultColorScheme);let ea=i.useMemo(()=>{let e=q.generateThemeVars?.()||q.vars,t={...q,components:V,colorSchemes:B,cssVarPrefix:K,vars:e};if("function"==typeof t.generateSpacing&&(t.spacing=t.generateSpacing()),eo){let e=B[eo];e&&"object"==typeof e&&Object.keys(e).forEach(r=>{e[r]&&"object"==typeof e[r]?t[r]={...t[r],...e[r]}:t[r]=e[r]})}return c?c(t):t},[q,eo,V,B,K]),ec=q.colorSchemeSelector;(0,y.default)(()=>{if(en&&w&&ec&&"media"!==ec){let e=ec;if("class"===ec&&(e=".%s"),"data"===ec&&(e="[data-%s]"),ec?.startsWith("data-")&&!ec.includes("%s")&&(e=`[${ec}="%s"]`),e.startsWith("."))w.classList.remove(...Q.map(t=>e.substring(1).replace("%s",t))),w.classList.add(e.substring(1).replace("%s",en));else{let t=e.replace("%s",en).match(/\[([^\]]+)\]/);if(t){let[e,r]=t[1].split("=");r||Q.forEach(t=>{w.removeAttribute(e.replace(en,t))}),w.setAttribute(e,r?r.replace(/"|'/g,""):"")}else w.setAttribute(e,en)}}},[en,ec,w,Q]),i.useEffect(()=>{let e;if(v&&N.current&&j){let t=j.createElement("style");t.appendChild(j.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),j.head.appendChild(t),window.getComputedStyle(j.body),e=setTimeout(()=>{j.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[en,v,j]),i.useEffect(()=>(N.current=!0,()=>{N.current=!1}),[]);let ed=i.useMemo(()=>({allColorSchemes:Q,colorScheme:en,darkColorScheme:er,lightColorScheme:et,mode:el,setColorScheme:es,setMode:Z,systemMode:ee}),[Q,en,er,et,el,es,Z,ee,ea.colorSchemeSelector]),eu=!0;(E||!1===q.cssVariables||F&&P?.cssVarPrefix===K)&&(eu=!1);let eh=(0,t.jsxs)(i.Fragment,{children:[(0,t.jsx)(C,{themeId:H?r:void 0,theme:ea,children:d}),eu&&(0,t.jsx)(A.GlobalStyles,{styles:ea.generateStyleSheets?.()||[]})]});return F?eh:(0,t.jsx)(u.Provider,{value:ed,children:eh})},useColorScheme:()=>i.useContext(u)||d,getInitColorSchemeScript:e=>(function(e){let{defaultMode:r="system",defaultLightColorScheme:i="light",defaultDarkColorScheme:s="dark",modeStorageKey:l=M,colorSchemeStorageKey:n=R,attribute:o="data-color-scheme",colorSchemeNode:a="document.documentElement",nonce:c}=e||{},d="",u=o;if("class"===o&&(u=".%s"),"data"===o&&(u="[data-%s]"),u.startsWith(".")){let e=u.substring(1);d+=`${a}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));
|
|
12
|
+
${a}.classList.add('${e}'.replace('%s', colorScheme));`}let h=u.match(/\[([^[\]]+)\]/);if(h){let[e,t]=h[1].split("=");t||(d+=`${a}.removeAttribute('${e}'.replace('%s', light));
|
|
13
|
+
${a}.removeAttribute('${e}'.replace('%s', dark));`),d+=`
|
|
14
|
+
${a}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:'""'});`}else".%s"!==u&&(d+=`${a}.setAttribute('${u}', colorScheme);`);return(0,t.jsx)("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?c:"",dangerouslySetInnerHTML:{__html:`(function() {
|
|
15
|
+
try {
|
|
16
|
+
let colorScheme = '';
|
|
17
|
+
const mode = localStorage.getItem('${l}') || '${r}';
|
|
18
|
+
const dark = localStorage.getItem('${n}-dark') || '${s}';
|
|
19
|
+
const light = localStorage.getItem('${n}-light') || '${i}';
|
|
20
|
+
if (mode === 'system') {
|
|
21
|
+
// handle system mode
|
|
22
|
+
const mql = window.matchMedia('(prefers-color-scheme: dark)');
|
|
23
|
+
if (mql.matches) {
|
|
24
|
+
colorScheme = dark
|
|
25
|
+
} else {
|
|
26
|
+
colorScheme = light
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
if (mode === 'light') {
|
|
30
|
+
colorScheme = light;
|
|
31
|
+
}
|
|
32
|
+
if (mode === 'dark') {
|
|
33
|
+
colorScheme = dark;
|
|
34
|
+
}
|
|
35
|
+
if (colorScheme) {
|
|
36
|
+
${d}
|
|
37
|
+
}
|
|
38
|
+
} catch(e){}})();`}},"mui-color-scheme-init")})({colorSchemeStorageKey:n,defaultLightColorScheme:m,defaultDarkColorScheme:g,modeStorageKey:l,...e})}}({themeId:k.default,theme:()=>(0,L.default)({cssVariables:!0}),colorSchemeStorageKey:"mui-color-scheme",modeStorageKey:"mui-mode",defaultColorScheme:{light:"light",dark:"dark"},resolveTheme:e=>{let t={...e,typography:(0,N.default)(e.palette,e.typography)};return t.unstable_sx=function(e){return(0,O.default)({sx:e,theme:this})},t}});function D({theme:e,...r}){let s=i.useMemo(()=>{if("function"==typeof e)return e;let t=k.default in e?e[k.default]:e;return"colorSchemes"in t?null:"vars"in t?e:{...e,vars:null}},[e]);return s?(0,t.jsx)(E,{theme:s,...r}):(0,t.jsx)(P,{theme:e,...r})}var H=(e,t,r,i,s,l,n,o)=>{let a=document.documentElement,c=["light","dark"];function d(t){var r;(Array.isArray(e)?e:[e]).forEach(e=>{let r="class"===e,i=r&&l?s.map(e=>l[e]||e):s;r?(a.classList.remove(...i),a.classList.add(l&&l[t]?l[t]:t)):a.setAttribute(e,t)}),r=t,o&&c.includes(r)&&(a.style.colorScheme=r)}if(i)d(i);else try{let e=localStorage.getItem(t)||r,i=n&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;d(i)}catch(e){}},q=i.createContext(void 0),B={setTheme:e=>{},themes:[]};i.memo(({forcedTheme:e,storageKey:t,attribute:r,enableSystem:s,enableColorScheme:l,defaultTheme:n,value:o,themes:a,nonce:c,scriptProps:d})=>{let u=JSON.stringify([r,t,n,e,a,o,s,l]).slice(1,-1);return i.createElement("script",{...d,suppressHydrationWarning:!0,nonce:"undefined"==typeof window?c:"",dangerouslySetInnerHTML:{__html:`(${H.toString()})(${u})`}})});var V=e.i(960247);function K({children:e,forcedTheme:r,enableCssBaseline:s=!1}){var l;let{resolvedTheme:n}=null!=(l=i.useContext(q))?l:B,o=(0,i.useMemo)(()=>"dark"===(r??n)?V.darkTheme:V.lightTheme,[r,n]);return(0,t.jsxs)(D,{theme:o,children:[s&&(0,t.jsx)(d,{}),e]})}var G=e.i(377855),Q=e.i(705443),X=e.i(503135),Y=e.i(916955),U=e.i(29134),J=e.i(69993),Z=e.i(912007),ee=e.i(475119),et=e.i(560214);function er({children:e}){return(0,t.jsx)(Z.RecceInstanceInfoProvider,{children:(0,t.jsx)(et.RecceShareStateContextProvider,{children:(0,t.jsx)(ee.RecceQueryContextProvider,{children:(0,t.jsx)(Y.LineageGraphContextProvider,{children:(0,t.jsx)(ee.RowCountStateContextProvider,{children:(0,t.jsx)(U.RecceActionContextProvider,{children:(0,t.jsx)(J.RecceCheckContextProvider,{children:e})})})})})})})}var ei=e.i(324066),es=e.i(924011),el=e.i(659004),en=e.i(692555),eo=e.i(73371),ea=e.i(336277),ec=e.i(427938),ed=e.i(333207),eu=e.i(569210);let eh=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var ef=e.g&&e.g.Object===Object&&e.g,ep="object"==typeof self&&self&&self.Object===Object&&self,em=ef||ep||Function("return this")();let eg=function(){return em.Date.now()};var ex=/\s/;let ev=function(e){for(var t=e.length;t--&&ex.test(e.charAt(t)););return t};var ey=/^\s+/,eb=em.Symbol,eS=Object.prototype,ej=eS.hasOwnProperty,ew=eS.toString,eC=eb?eb.toStringTag:void 0;let ek=function(e){var t=ej.call(e,eC),r=e[eC];try{e[eC]=void 0;var i=!0}catch(e){}var s=ew.call(e);return i&&(t?e[eC]=r:delete e[eC]),s};var eE=Object.prototype.toString,eO=eb?eb.toStringTag:void 0;let eA=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":eO&&eO in Object(e)?ek(e):eE.call(e)},eM=function(e){return"symbol"==typeof e||null!=e&&"object"==typeof e&&"[object Symbol]"==eA(e)};var eR=0/0,e_=/^[-+]0x[0-9a-f]+$/i,ez=/^0b[01]+$/i,eI=/^0o[0-7]+$/i,eT=parseInt;let eW=function(e){if("number"==typeof e)return e;if(eM(e))return eR;if(eh(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=eh(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=(t=e)?t.slice(0,ev(t)+1).replace(ey,""):t;var i=ez.test(e);return i||eI.test(e)?eT(e.slice(2),i?2:8):e_.test(e)?eR:+e};var eL=Math.max,eN=Math.min;let eP=function(e,t,r){var i,s,l,n,o,a,c=0,d=!1,u=!1,h=!0;if("function"!=typeof e)throw TypeError("Expected a function");function f(t){var r=i,l=s;return i=s=void 0,c=t,n=e.apply(l,r)}function p(e){var r=e-a,i=e-c;return void 0===a||r>=t||r<0||u&&i>=l}function m(){var e,r,i,s=eg();if(p(s))return g(s);o=setTimeout(m,(e=s-a,r=s-c,i=t-e,u?eN(i,l-r):i))}function g(e){return(o=void 0,h&&i)?f(e):(i=s=void 0,n)}function x(){var e,r=eg(),l=p(r);if(i=arguments,s=this,a=r,l){if(void 0===o)return c=e=a,o=setTimeout(m,t),d?f(e):n;if(u)return clearTimeout(o),o=setTimeout(m,t),f(a)}return void 0===o&&(o=setTimeout(m,t)),n}return t=eW(t)||0,eh(r)&&(d=!!r.leading,l=(u="maxWait"in r)?eL(eW(r.maxWait)||0,t):l,h="trailing"in r?!!r.trailing:h),x.cancel=function(){void 0!==o&&clearTimeout(o),c=0,i=a=s=o=void 0},x.flush=function(){return void 0===o?n:g(eg())},x},e$=function(e,t,r){var i=!0,s=!0;if("function"!=typeof e)throw TypeError("Expected a function");return eh(r)&&(i="leading"in r?!!r.leading:i,s="trailing"in r?!!r.trailing:s),eP(e,t,{leading:i,maxWait:t,trailing:s})};var eF=function(){return(eF=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)};function eD(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}function eH(e){return e&&e.ownerDocument?e.ownerDocument:document}var eq=function(e){return Array.prototype.reduce.call(e,function(e,t){var r=t.name.match(/data-simplebar-(.+)/);if(r){var i=r[1].replace(/\W+(.)/g,function(e,t){return t.toUpperCase()});switch(t.value){case"true":case void 0:e[i]=!0;break;case"false":e[i]=!1;break;default:e[i]=t.value}}return e},{})};function eB(e,t){var r;e&&(r=e.classList).add.apply(r,t.split(" "))}function eV(e,t){e&&t.split(" ").forEach(function(t){e.classList.remove(t)})}function eK(e){return".".concat(e.split(" ").join("."))}var eG=!!("undefined"!=typeof window&&window.document&&window.document.createElement),eQ=Object.freeze({__proto__:null,addClasses:eB,canUseDOM:eG,classNamesToQuery:eK,getElementDocument:eH,getElementWindow:eD,getOptions:eq,removeClasses:eV}),eX=null,eY=null;function eU(){if(null===eX){if("undefined"==typeof document)return eX=0;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var r=t.getBoundingClientRect().right;e.removeChild(t),eX=r}return eX}eG&&window.addEventListener("resize",function(){eY!==window.devicePixelRatio&&(eY=window.devicePixelRatio,eX=null)});var eJ=function(){function e(t,r){void 0===r&&(r={});var i=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var e=eD(i.el);i.scrollXTicking||(e.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(e.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0),i.isScrolling||(i.isScrolling=!0,eB(i.el,i.classNames.scrolling)),i.showScrollbar("x"),i.showScrollbar("y"),i.onStopScrolling()},this.scrollX=function(){i.axis.x.isOverflowing&&i.positionScrollbar("x"),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&i.positionScrollbar("y"),i.scrollYTicking=!1},this._onStopScrolling=function(){eV(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(eB(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){eV(i.el,i.classNames.mouseEntered),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isMouseEntering=!1},this._onMouseMove=function(e){i.mouseX=e.clientX,i.mouseY=e.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1},this._onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.onPointerEvent=function(e){var t,r;i.axis.x.track.el&&i.axis.y.track.el&&i.axis.x.scrollbar.el&&i.axis.y.scrollbar.el&&(i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(t=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(r=i.isWithinBounds(i.axis.y.track.rect)),(t||r)&&(e.stopPropagation(),"pointerdown"===e.type&&"touch"!==e.pointerType&&(t&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(e,"x"):i.onTrackClick(e,"x")),r&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(e,"y"):i.onTrackClick(e,"y")))))},this.drag=function(t){if(i.draggedAxis&&i.contentWrapperEl){var r,s,l,n,o,a,c,d,u,h,f,p=i.axis[i.draggedAxis].track,m=null!=(s=null==(r=p.rect)?void 0:r[i.axis[i.draggedAxis].sizeAttr])?s:0,g=i.axis[i.draggedAxis].scrollbar,x=null!=(n=null==(l=i.contentWrapperEl)?void 0:l[i.axis[i.draggedAxis].scrollSizeAttr])?n:0,v=parseInt(null!=(a=null==(o=i.elStyles)?void 0:o[i.axis[i.draggedAxis].sizeAttr])?a:"0px",10);t.preventDefault(),t.stopPropagation();var y=("y"===i.draggedAxis?t.pageY:t.pageX)-(null!=(d=null==(c=p.rect)?void 0:c[i.axis[i.draggedAxis].offsetAttr])?d:0)-i.axis[i.draggedAxis].dragOffset,b=(y="x"===i.draggedAxis&&i.isRtl?(null!=(h=null==(u=p.rect)?void 0:u[i.axis[i.draggedAxis].sizeAttr])?h:0)-g.size-y:y)/(m-g.size)*(x-v);"x"===i.draggedAxis&&i.isRtl&&(b=(null==(f=e.getRtlHelpers())?void 0:f.isScrollingToNegative)?-b:b),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=b}},this.onEndDrag=function(e){i.isDragging=!1;var t=eH(i.el),r=eD(i.el);e.preventDefault(),e.stopPropagation(),eV(i.el,i.classNames.dragging),i.onStopScrolling(),t.removeEventListener("mousemove",i.drag,!0),t.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=r.setTimeout(function(){t.removeEventListener("click",i.preventClick,!0),t.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=t,this.options=eF(eF({},e.defaultOptions),r),this.classNames=eF(eF({},e.defaultOptions.classNames),r.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},"object"!=typeof this.el||!this.el.nodeName)throw Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=e$(this._onMouseMove,64),this.onWindowResize=eP(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=eP(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=eP(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var r=t.firstElementChild,i=null==r?void 0:r.firstElementChild;if(!i)return null;document.body.appendChild(r),r.scrollLeft=0;var s=e.getOffset(r),l=e.getOffset(i);r.scrollLeft=-999;var n=e.getOffset(i);return document.body.removeChild(r),e.rtlHelpers={isScrollOriginAtZero:s.left!==l.left,isScrollingToNegative:l.left!==n.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{if(this.contentWrapperEl&&"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style)return 0;return eU()}catch(e){return eU()}},e.getOffset=function(e){var t=e.getBoundingClientRect(),r=eH(e),i=eD(e);return{top:t.top+(i.pageYOffset||r.documentElement.scrollTop),left:t.left+(i.pageXOffset||r.documentElement.scrollLeft)}},e.prototype.init=function(){eG&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var e,t;this.wrapperEl=this.el.querySelector(eK(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(eK(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(eK(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(eK(this.classNames.offset)),this.maskEl=this.el.querySelector(eK(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,eK(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(eK(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(eK(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(eK(this.classNames.track)).concat(eK(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(eK(this.classNames.track)).concat(eK(this.classNames.vertical))),this.axis.x.scrollbar.el=(null==(e=this.axis.x.track.el)?void 0:e.querySelector(eK(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=(null==(t=this.axis.y.track.el)?void 0:t.querySelector(eK(this.classNames.scrollbar)))||null,this.options.autoHide||(eB(this.axis.x.scrollbar.el,this.classNames.visible),eB(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var e,t=this,r=eD(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),null==(e=this.contentWrapperEl)||e.addEventListener("scroll",this.onScroll),r.addEventListener("resize",this.onWindowResize),this.contentEl){if(window.ResizeObserver){var i=!1,s=r.ResizeObserver||ResizeObserver;this.resizeObserver=new s(function(){i&&r.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),r.requestAnimationFrame(function(){i=!0})}this.mutationObserver=new r.MutationObserver(function(){r.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(this.heightAutoObserverEl&&this.contentEl&&this.contentWrapperEl&&this.wrapperEl&&this.placeholderEl){var e=eD(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var t=this.contentEl.offsetWidth,r=this.heightAutoObserverEl.offsetHeight<=1,i=this.heightAutoObserverEl.offsetWidth<=1||t>0,s=this.contentWrapperEl.offsetWidth,l=this.elStyles.overflowX,n=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var o=this.contentEl.scrollHeight,a=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=r?"auto":"100%",this.placeholderEl.style.width=i?"".concat(t||a,"px"):"auto",this.placeholderEl.style.height="".concat(o,"px");var c=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=0!==t&&a>t,this.axis.y.isOverflowing=o>c,this.axis.x.isOverflowing="hidden"!==l&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==n&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var d=this.axis.x.isOverflowing?this.scrollbarWidth:0,u=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&a>s-u,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&o>c-d,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(e){if(void 0===e&&(e="y"),!this.axis[e].isOverflowing||!this.contentEl)return 0;var t,r,i,s=this.contentEl[this.axis[e].scrollSizeAttr],l=null!=(r=null==(t=this.axis[e].track.el)?void 0:t[this.axis[e].offsetSizeAttr])?r:0;return i=Math.max(~~(l/s*l),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(i=Math.min(i,this.options.scrollbarMaxSize)),i},e.prototype.positionScrollbar=function(t){void 0===t&&(t="y");var r,i,s,l=this.axis[t].scrollbar;if(this.axis[t].isOverflowing&&this.contentWrapperEl&&l.el&&this.elStyles){var n=this.contentWrapperEl[this.axis[t].scrollSizeAttr],o=(null==(r=this.axis[t].track.el)?void 0:r[this.axis[t].offsetSizeAttr])||0,a=parseInt(this.elStyles[this.axis[t].sizeAttr],10),c=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];c="x"===t&&this.isRtl&&(null==(i=e.getRtlHelpers())?void 0:i.isScrollOriginAtZero)?-c:c,"x"===t&&this.isRtl&&(c=(null==(s=e.getRtlHelpers())?void 0:s.isScrollingToNegative)?c:-c);var d=c/(n-a),u=~~((o-l.size)*d);u="x"===t&&this.isRtl?-u+(o-l.size):u,l.el.style.transform="x"===t?"translate3d(".concat(u,"px, 0, 0)"):"translate3d(0, ".concat(u,"px, 0)")}},e.prototype.toggleTrackVisibility=function(e){void 0===e&&(e="y");var t=this.axis[e].track.el,r=this.axis[e].scrollbar.el;t&&r&&this.contentWrapperEl&&(this.axis[e].isOverflowing||this.axis[e].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(e))):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(e))),this.axis[e].isOverflowing?r.style.display="block":r.style.display="none")},e.prototype.showScrollbar=function(e){void 0===e&&(e="y"),this.axis[e].isOverflowing&&!this.axis[e].scrollbar.isVisible&&(eB(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(e){void 0===e&&(e="y"),!this.isDragging&&this.axis[e].isOverflowing&&this.axis[e].scrollbar.isVisible&&(eV(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(e){void 0===e&&(e="y");var t=this.axis[e];t.track.el&&t.scrollbar.el&&(t.track.rect=t.track.el.getBoundingClientRect(),t.scrollbar.rect=t.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(t.track.rect)?(this.showScrollbar(e),eB(t.track.el,this.classNames.hover),this.isWithinBounds(t.scrollbar.rect)?eB(t.scrollbar.el,this.classNames.hover):eV(t.scrollbar.el,this.classNames.hover)):(eV(t.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},e.prototype.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),eV(this.axis[e].track.el,this.classNames.hover),eV(this.axis[e].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)},e.prototype.onDragStart=function(e,t){void 0===t&&(t="y"),this.isDragging=!0;var r,i=eH(this.el),s=eD(this.el),l=this.axis[t].scrollbar,n="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=n-((null==(r=l.rect)?void 0:r[this.axis[t].offsetAttr])||0),this.draggedAxis=t,eB(this.el,this.classNames.dragging),i.addEventListener("mousemove",this.drag,!0),i.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(i.addEventListener("click",this.preventClick,!0),i.addEventListener("dblclick",this.preventClick,!0)):(s.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(e,t){var r,i,s,l,n=this;void 0===t&&(t="y");var o=this.axis[t];if(this.options.clickOnTrack&&o.scrollbar.el&&this.contentWrapperEl){e.preventDefault();var a=eD(this.el);this.axis[t].scrollbar.rect=o.scrollbar.el.getBoundingClientRect();var c=null!=(i=null==(r=this.axis[t].scrollbar.rect)?void 0:r[this.axis[t].offsetAttr])?i:0,d=parseInt(null!=(l=null==(s=this.elStyles)?void 0:s[this.axis[t].sizeAttr])?l:"0px",10),u=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],h=("y"===t?this.mouseY-c:this.mouseX-c)<0?-1:1,f=-1===h?u-d:u+d,p=function(){n.contentWrapperEl&&(-1===h?u>f&&(u-=40,n.contentWrapperEl[n.axis[t].scrollOffsetAttr]=u,a.requestAnimationFrame(p)):u<f&&(u+=40,n.contentWrapperEl[n.axis[t].scrollOffsetAttr]=u,a.requestAnimationFrame(p)))};p()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var e=eD(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},e.prototype.findChild=function(e,t){var r=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,function(e){return r.call(e,t)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=eq,e.helpers=eQ,e}(),eZ=function(){return(eZ=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},e0=i.forwardRef(function(e,t){var r=e.children,s=e.scrollableNodeProps,l=void 0===s?{}:s,n=function(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,i=Object.getOwnPropertySymbols(e);s<i.length;s++)0>t.indexOf(i[s])&&Object.prototype.propertyIsEnumerable.call(e,i[s])&&(r[i[s]]=e[i[s]]);return r}(e,["children","scrollableNodeProps"]),o=i.useRef(),a=i.useRef(),c=i.useRef(),d={},u={};Object.keys(n).forEach(function(e){Object.prototype.hasOwnProperty.call(eJ.defaultOptions,e)?d[e]=n[e]:u[e]=n[e]});var h=eZ(eZ({},eJ.defaultOptions.classNames),d.classNames),f=eZ(eZ({},l),{className:"".concat(h.contentWrapper).concat(l.className?" ".concat(l.className):""),tabIndex:d.tabIndex||eJ.defaultOptions.tabIndex,role:"region","aria-label":d.ariaLabel||eJ.defaultOptions.ariaLabel});return i.useEffect(function(){var e;return a.current=f.ref?f.ref.current:a.current,o.current&&(e=new eJ(o.current,eZ(eZ(eZ({},d),a.current&&{scrollableNode:a.current}),c.current&&{contentNode:c.current})),"function"==typeof t?t(e):t&&(t.current=e)),function(){null==e||e.unMount(),e=null,"function"==typeof t&&t(null)}},[]),i.createElement("div",eZ({"data-simplebar":"init",ref:o},u),i.createElement("div",{className:h.wrapper},i.createElement("div",{className:h.heightAutoObserverWrapperEl},i.createElement("div",{className:h.heightAutoObserverEl})),i.createElement("div",{className:h.mask},i.createElement("div",{className:h.offset},"function"==typeof r?r({scrollableNodeRef:a,scrollableNodeProps:eZ(eZ({},f),{ref:a}),contentNodeRef:c,contentNodeProps:{className:h.contentEl,ref:c}}):i.createElement("div",eZ({},f),i.createElement("div",{className:h.contentEl},r)))),i.createElement("div",{className:h.placeholder})),i.createElement("div",{className:"".concat(h.track," ").concat(h.horizontal)},i.createElement("div",{className:h.scrollbar})),i.createElement("div",{className:"".concat(h.track," ").concat(h.vertical)},i.createElement("div",{className:h.scrollbar})))});e0.displayName="SimpleBar";var e1=e.i(407101),e5=e.i(396080),e2=e.i(461566),e8=e.i(372230),e3=e.i(197068),e7=e.i(388797),e4=e.i(203158),e6=e.i(505251),e9=e.i(263710);let te=({run:e,isSelected:r,onSelectRun:i,onAddToChecklist:s,onGoToCheck:l})=>{let{featureToggles:n}=(0,Z.useRecceInstanceContext)(),{data:o}=(0,ed.useQuery)({queryKey:e1.cacheKeys.run(e.run_id),queryFn:async()=>await (0,e2.waitRun)(e.run_id),enabled:"running"===e.status,retry:!1}),a=(0,e8.findByRunType)(e.type).icon,c=e.check_id,d=n.disableUpdateChecklist;return(0,t.jsxs)(ei.default,{sx:{minWidth:"200px",display:"flex",flexDirection:"column",width:"100%",p:"5px 20px",cursor:"pointer",borderBottom:"solid 1px lightgray",borderLeft:"4px solid",borderLeftColor:r?"amber.400":"transparent",backgroundColor:r?"amber.50":"transparent","&:hover":{bgcolor:r?"orange.50":"grey.200"}},onClick:()=>{i(e.run_id)},children:[(0,t.jsxs)(ei.default,{sx:{display:"flex",alignItems:"center",gap:"12px"},onClick:()=>{},children:[(0,t.jsx)(a,{}),(0,t.jsx)(ei.default,{className:"no-track-pii-safe",sx:{flex:1,textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",color:e.name?"inherit":"grey.500",fontSize:"11pt",fontWeight:500},children:(e.name??"").trim()||"<no name>"}),c?(0,t.jsx)(e3.default,{title:"Go to Check",children:(0,t.jsx)(ec.default,{component:"span","aria-label":"Go to Check",onClick:e=>{e.preventDefault(),e.stopPropagation(),l(c)},children:(0,t.jsx)(eu.FaCheckCircle,{color:"green"})})}):d?null:(0,t.jsx)(e3.default,{title:"Add to Checklist",children:(0,t.jsx)(ec.default,{component:"span","aria-label":"Add to Checklist",onClick:t=>{t.preventDefault(),t.stopPropagation(),(0,e4.trackHistoryAction)({name:"add_to_checklist"}),s(e.run_id)},children:(0,t.jsx)(eu.FaRegCheckCircle,{})})})]}),(0,t.jsx)(ei.default,{sx:{display:"flex",justifyContent:"start",fontSize:"11pt",color:"grey.500",gap:"3px",alignItems:"center"},children:(0,t.jsx)(e9.RunStatusAndDate,{run:o??e})})]})},tt=({runAt:e})=>{let r=e?(0,e9.formatRunDate)(new Date(e)):null;return(0,t.jsx)(ei.default,{sx:{minWidth:"200px",width:"100%",p:"5px 20px",borderBottom:"solid 1px lightgray",color:"grey.500",fontSize:"11pt"},children:r})},tr=()=>{let{closeHistory:e}=(0,U.useRecceActionContext)(),{data:r,isLoading:i}=(0,ed.useQuery)({queryKey:e1.cacheKeys.runs(),queryFn:async()=>await (0,e2.listRuns)(),retry:!1});return(0,t.jsxs)(ei.default,{sx:{display:"flex",flexDirection:"column",height:"100%"},children:[(0,t.jsxs)(ea.default,{direction:"row",alignItems:"center",sx:{width:"100%",flex:"0 0 54px",px:"24px 8px",borderBottom:"solid 1px lightgray"},children:[(0,t.jsx)(ec.default,{variant:"h6",children:"History"}),(0,t.jsx)(ei.default,{sx:{flex:1}}),(0,t.jsx)(eo.default,{"aria-label":"Close History",onClick:()=>{(0,e4.trackHistoryAction)({name:"hide"}),e()},children:(0,t.jsx)(e7.PiX,{})})]}),(0,t.jsx)(ei.default,{sx:{flex:"1 1 auto"},children:i?"Loading...":r?.length===0?(0,t.jsx)(ei.default,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",color:"grey.400"},children:"No runs"}):(0,t.jsx)(e0,{style:{minHeight:"100%",height:0},children:(r??[]).map((e,i)=>{if(null!=r){let s=0===i?null:new Date(r[i-1].run_at).toDateString();return(0,t.jsx)(ti,{run:e,previousDate:s},e.run_id)}})})})]})};function ti({run:e,previousDate:s}){let[,l]=(0,e6.useAppLocation)(),n=(0,r.useQueryClient)(),{showRunId:o,runId:a}=(0,U.useRecceActionContext)(),c=new Date(e.run_at).toDateString(),d=(0,i.useCallback)(async e=>{let t=await (0,e5.createCheckByRun)(e);await n.invalidateQueries({queryKey:e1.cacheKeys.checks()}),l(`/checks/?id=${t.check_id}`)},[l,n]),u=(0,i.useCallback)(e=>{(0,e4.trackHistoryAction)({name:"go_to_check"}),l(`/checks/?id=${e}`)},[l]);return(0,t.jsxs)(i.default.Fragment,{children:[null!=s&&s!==c&&(0,t.jsx)(tt,{runAt:e.run_at},c),(0,t.jsx)(te,{run:e,isSelected:e.run_id===a,onSelectRun:e=>{(0,e4.trackHistoryAction)({name:"click_run"}),o(e,!1)},onGoToCheck:u,onAddToChecklist:d},e.run_id)]})}var ts=e.i(170660),tl=e.i(435843),tn=e.i(286568),to=e.i(407670),ta=e.i(132136),tc=e.i(721739),td=e.i(65089),tu=e.i(76130),th=e.i(562903),tf=e.i(468836),tp=e.i(11321),tm=e.i(772510),tg=e.i(845209),tx=e.i(233799),tv=e.i(664766),ty=e.i(838208),tb=e.i(603338),tS=e.i(638337),tj=e.i(5288),tw=e.i(272064);let tC=()=>{var e;let s,{featureToggles:l}=(0,Z.useRecceInstanceContext)(),{fileName:n,cloudMode:o,isDemoSite:a,envInfo:c}=(0,Y.useLineageGraphContext)(),[d,u]=(0,i.useState)(!1),[h,f]=(0,i.useState)(!1),p=!n&&!o&&!a,{data:m}=(0,e5.useChecks)(p),g=void 0!=m&&m.filter(e=>!e.is_preset).length>0;e=p&&g,(0,i.useEffect)(()=>{let t=e=>{e.preventDefault()};return e&&window.addEventListener("beforeunload",t),()=>{e&&window.removeEventListener("beforeunload",t)}},[e]);let[{newFileName:x,errorMessage:v,modified:y,overwriteWithMethod:b,bypass:S},j]=(0,i.useState)({newFileName:n??"recce_state.json"}),w=(0,i.useRef)(null),{toastSuccess:C,toastError:k}={toastSuccess:e=>{G.toaster.create({description:e,type:"success",duration:5e3,closable:!0})},toastError:(e,t)=>{let r=e;null!=t&&(r=t instanceof ty.AxiosError?`${e}. ${String(t.response?.data?.detail)}`:`${e}. ${t}`),G.toaster.create({description:r,type:"error",duration:5e3,closable:!0})}},E=(0,r.useQueryClient)(),O=()=>u(!1),A=()=>f(!1),M=async(e,t)=>{if(!x)return;let r="true"===localStorage.getItem(tS.localStorageKeys.bypassSaveOverwrite);try{"save"===e?await (0,tj.saveAs)({filename:x,overwrite:t??r}):await (0,tj.rename)({filename:x,overwrite:t??r}),C("save"===e?"Save file successfully":"Rename file successfully"),await E.invalidateQueries({queryKey:e1.cacheKeys.lineage()}),S&&localStorage.setItem(tS.localStorageKeys.bypassSaveOverwrite,"true")}catch(t){if(t instanceof ty.AxiosError&&t.response?.status===409){j(t=>({...t,overwriteWithMethod:e})),f(!0);return}k("save"===e?"Save file failed":"Rename file failed",t)}finally{O()}};if(o||a)return(0,t.jsx)(t.Fragment,{});if(l.disableSaveToFile&&n){let e=c?.stateMetadata?.generated_at,t=e?(0,e9.formatRunDateTime)(new Date(e)):null;s=t?`${n} (${t})`:null}return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(ea.default,{direction:"row",alignItems:"center",justifyContent:"center",children:[(0,t.jsx)(ei.default,{sx:{fontWeight:600},children:s??n??"New Instance"+(g?" (unsaved)":"")}),!l.disableSaveToFile&&(0,t.jsx)(e3.default,{title:n?"Change Filename":"Save",enterDelay:1e3,children:(0,t.jsx)(eo.default,{onClick:()=>{j({newFileName:n??"recce_state.json",modified:!n}),u(!0)},"aria-label":n?"Change Filename":"Save",size:"small",children:(0,t.jsx)(ei.default,{component:n?tw.IconEdit:tw.IconSave,sx:{fontSize:16,verticalAlign:"middle"}})})})]}),(0,t.jsxs)(tf.default,{open:d,onClose:O,children:[(0,t.jsxs)(tg.default,{sx:{display:"flex",alignItems:"center"},children:[n?"Change Filename":"Save File",(0,t.jsx)(ei.default,{sx:{flexGrow:1}}),(0,t.jsx)(eo.default,{size:"small",onClick:O,children:(0,t.jsx)(tb.IoClose,{})})]}),(0,t.jsx)(tm.default,{onKeyDown:e=>{e.stopPropagation()},children:(0,t.jsx)(tv.default,{inputRef:w,value:x,label:"File name",placeholder:"Enter filename",error:!!v,helperText:v,fullWidth:!0,size:"small",sx:{mt:1},onChange:e=>{let t,r=e.target.value;r?r.endsWith(".json")?/^[a-zA-Z0-9 _-]+\.json$/.test(r)?n&&r===n&&(t="Filename is the same as the current one."):t="Invalid filename. Only alphanumeric, space, _ and - are allowed.":t="Filename must end with .json.":t="Filename cannot be empty.",j(e=>({...e,modified:!0,newFileName:r,errorMessage:t}))},onKeyDown:e=>{"Enter"===e.key?v||(n?M("rename"):M("save")):"Escape"===e.key&&O()}})}),(0,t.jsxs)(tp.default,{sx:{gap:"5px"},children:[(0,t.jsx)(tu.default,{size:"small",color:n?"inherit":"iochmara",variant:"contained",onClick:async()=>{await M("save")},disabled:!x||!!v||!y,children:n?"Save as New File":"Confirm"}),n&&(0,t.jsx)(tu.default,{size:"small",color:"iochmara",variant:"contained",onClick:async()=>{await M("rename")},disabled:!x||!!v||!y,children:"Rename"})]})]}),(0,t.jsxs)(tf.default,{open:h,onClose:A,children:[(0,t.jsxs)(tg.default,{sx:{display:"flex",alignItems:"center"},children:["Overwrite File?",(0,t.jsx)(ei.default,{sx:{flexGrow:1}}),(0,t.jsx)(eo.default,{size:"small",onClick:A,children:(0,t.jsx)(tb.IoClose,{})})]}),(0,t.jsxs)(tm.default,{sx:{borderTop:"solid 1px lightgray",borderBottom:"solid 1px lightgray"},onKeyDown:e=>{e.stopPropagation()},children:[(0,t.jsx)(ec.default,{sx:{fontSize:"12pt"},children:"save"===b?"Saving a file with this name will overwrite the existing file. Are you sure you wish to continue?":"Renaming the file with this name will overwrite the existing file. Are you sure you wish to continue?"}),(0,t.jsx)(tx.default,{control:(0,t.jsx)(th.default,{size:"small",checked:S,onChange:e=>{j(t=>({...t,bypass:e.target.checked}))}}),label:(0,t.jsx)(ec.default,{sx:{fontWeight:"bold",pt:"8px"},children:"Don't show this again"})})]}),(0,t.jsxs)(tp.default,{sx:{gap:"5px"},children:[(0,t.jsx)(tu.default,{variant:"outlined",onClick:()=>{A(),u(!0),j(e=>({...e,overwriteWithMethod:void 0}))},size:"small",children:"Back"}),(0,t.jsx)(tu.default,{size:"small",color:"iochmara",variant:"contained",onClick:()=>{b&&(M(b,!0),A())},children:"Overwrite"})]})]})]})};var tk=e.i(230902),tE=e.i(82114);function tO(){let{featureToggles:e}=(0,Z.useRecceInstanceContext)(),r=async()=>{try{let e=await (0,tj.exportState)(),t=JSON.stringify(e,null,2),r=new Blob([t],{type:"application/json"}),i=new Date,s=`recce-state-${(0,tk.format)(i,"yyyy-MM-dd-HH-mm-ss")}.json`;(0,tE.default)(r,s)}catch(e){console.error("Export failed",e),G.toaster.create({title:"Export failed",description:String(e),type:"error",duration:5e3,closable:!0})}};return(0,t.jsx)(e3.default,{title:"Export",children:(0,t.jsx)(eo.default,{size:"small","aria-label":"Export state",onClick:async()=>{await r(),(0,e4.trackStateAction)({name:"export"})},disabled:e.disableExportStateFile,children:(0,t.jsx)(ei.default,{component:tw.IconExport,sx:{verticalAlign:"middle",width:"16px",height:"16px"}})})})}var tA=e.i(21292),tM=e.i(536925),tR=e.i(453330);let t_=["Processing...","Still processing, please wait...","Almost there, thanks for your patience..."];function tz(){let{successToast:e,failToast:r}=(0,tR.useClipBoardToast)(),[,s]=(0,tM.useCopyToClipboard)(),{authed:l}=(0,Z.useRecceInstanceContext)(),{shareUrl:n,isLoading:o,error:a,handleShareClick:c}=(0,et.useRecceShareStateContext)(),[d,u]=(0,i.useState)(!1),[h,f]=(0,i.useState)(0),[p,m]=(0,i.useState)(o);o!==p&&(m(o),o&&f(0)),(0,tM.useInterval)(()=>{f(e=>Math.min(e+1,t_.length-1))},o?3e4:null);let g=async()=>{try{await s(String(n)),e("Copied the link to clipboard")}catch(e){r("Failed to copy the link",e)}};return l?(0,t.jsxs)(ea.default,{direction:"row",sx:{flex:1,alignItems:"center",gap:"5px"},children:[(0,t.jsx)(tu.default,{size:"xsmall",variant:"outlined",color:"neutral",startIcon:(0,t.jsx)(tA.TbCloudUpload,{}),endIcon:n?(0,t.jsx)(ei.default,{component:e7.PiCheckCircle,sx:{color:"success.main"}}):void 0,onClick:async()=>{await c(),(0,e4.trackShareState)({name:"create"})},disabled:o,children:o?"Sharing...":"Share"}),o&&(0,t.jsx)(ec.default,{sx:{fontSize:14,color:"grey.500"},children:t_[h]}),(0,t.jsxs)(ea.default,{direction:"row",spacing:.5,alignItems:"center",children:[n&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ei.default,{sx:{overflowX:"auto",whiteSpace:"nowrap",maxWidth:"350px"},children:(0,t.jsx)(ec.default,{sx:{fontSize:14},children:n})}),(0,t.jsx)(eo.default,{size:"small","aria-label":"Copy the share URL",onClick:async()=>{await g(),(0,e4.trackShareState)({name:"copy"})},children:(0,t.jsx)(e7.PiCopy,{})})]}),a&&(0,t.jsx)(ec.default,{sx:{fontSize:14,color:"error.main"},children:a})]})]}):(0,t.jsxs)(ea.default,{direction:"row",sx:{flex:1,alignItems:"center"},children:[(0,t.jsx)(tu.default,{size:"xsmall",color:"neutral",variant:"outlined",onClick:()=>{u(!0)},startIcon:(0,t.jsx)(tA.TbCloudUpload,{}),children:"Share"}),d&&(0,t.jsx)(en.default,{parentOpen:d,handleParentClose:u,ignoreCookie:!0,variant:"enable-share"})]})}var tI=e.i(670857),tT=e.i(634665),tW=e.i(830520);function tL(){return(0,t.jsx)(e3.default,{title:"Syncing",children:(0,t.jsx)(ei.default,{sx:{mx:"10px"},children:(0,t.jsx)(es.default,{size:20})})})}function tN(){let[e,s]=(0,i.useState)(!1),l=(0,r.useQueryClient)(),[n,o]=(0,e6.useAppLocation)(),[a,c]=(0,i.useState)(!1),[d,u]=(0,i.useState)(""),{data:h}=(0,tW.useRecceInstanceInfo)(),f=()=>c(!1),p=(0,i.useCallback)(async e=>{if(c(!1),s(!0),"conflict"===(await (0,tj.syncState)(e)).status){c(!0),s(!1);return}for(;await (0,tj.isStateSyncing)();)await new Promise(e=>setTimeout(e,1e3));G.toaster.create({description:"Sync Completed",type:"success",duration:5e3,closable:!0}),s(!1),u(""),await l.invalidateQueries({queryKey:e1.cacheKeys.lineage()}),await l.invalidateQueries({queryKey:e1.cacheKeys.checks()}),await l.invalidateQueries({queryKey:e1.cacheKeys.runs()}),/^\/checks\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/.test(n)&&o("/checks")},[l,n,o]);return e?(0,t.jsx)(tL,{}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(e3.default,{title:"Sync with Cloud",children:(0,t.jsx)(eo.default,{size:"small","aria-label":"Sync state",onClick:()=>p(h?.session_id?{method:"merge"}:{}),children:(0,t.jsx)(ei.default,{component:tw.IconSync,sx:{fontSize:16,verticalAlign:"middle"}})})}),(0,t.jsxs)(tf.default,{open:a,onClose:f,children:[(0,t.jsxs)(tg.default,{sx:{display:"flex",alignItems:"center",fontWeight:"bold"},children:["Sync with Cloud",(0,t.jsx)(ei.default,{sx:{flexGrow:1}}),(0,t.jsx)(eo.default,{size:"small",onClick:f,children:(0,t.jsx)(tb.IoClose,{})})]}),(0,t.jsxs)(tm.default,{children:[(0,t.jsx)(ec.default,{children:"New changes have been detected in the cloud. Please choose a method to sync your state"}),(0,t.jsx)(ei.default,{sx:{mt:"5px"},children:(0,t.jsx)(tT.default,{value:d,onChange:e=>{u(e.target.value)},children:(0,t.jsxs)(ea.default,{direction:"column",children:[(0,t.jsx)(tx.default,{value:"merge",control:(0,t.jsx)(tI.default,{}),label:(0,t.jsxs)(ea.default,{direction:"row",alignItems:"center",children:["Merge",(0,t.jsx)(e3.default,{title:"This will merge the local and remote states.",children:(0,t.jsx)(ei.default,{component:e7.PiInfo,sx:{ml:2,cursor:"pointer"}})})]})}),(0,t.jsx)(tx.default,{value:"overwrite",control:(0,t.jsx)(tI.default,{}),label:(0,t.jsxs)(ea.default,{direction:"row",alignItems:"center",children:["Overwrite",(0,t.jsx)(e3.default,{title:"This will overwrite the remote state file with the local state.",children:(0,t.jsx)(ei.default,{component:e7.PiInfo,sx:{ml:2,cursor:"pointer"}})})]})}),(0,t.jsx)(tx.default,{value:"revert",control:(0,t.jsx)(tI.default,{}),label:(0,t.jsxs)(ea.default,{direction:"row",alignItems:"center",children:["Revert",(0,t.jsx)(e3.default,{title:"This will discard local changes and revert to the cloud state.",children:(0,t.jsx)(ei.default,{component:e7.PiInfo,sx:{ml:2,cursor:"pointer"}})})]})})]})})})]}),(0,t.jsxs)(tp.default,{children:[(0,t.jsx)(tu.default,{onClick:f,sx:{mr:1},children:"Cancel"}),(0,t.jsx)(tu.default,{color:"iochmara",variant:"contained",onClick:()=>p({method:d||void 0}),disabled:!d,children:"Sync"})]})]})]})}let tP=[{path:"/lineage",name:"Lineage"},{path:"/query",name:"Query"},{path:"/checks",name:"Checklist"}];function t$({queryKey:e,fetchCallback:r,selectCallback:i}){let{data:s,isLoading:l,error:n}=(0,ed.useQuery)({queryKey:e,queryFn:r,select:i});return l||n||0===s?(0,t.jsx)(t.Fragment,{}):(0,t.jsx)(ei.default,{bgcolor:"brand.main",display:"flex",justifyContent:"center",alignItems:"center",p:1,borderRadius:"100%",color:"white",fontWeight:700,fontSize:"0.75rem",children:(0,t.jsx)("span",{children:s})})}function tF(){return(0,t.jsx)(t$,{queryKey:e1.cacheKeys.checks(),fetchCallback:e5.listChecks,selectCallback:e=>e.filter(e=>!e.is_checked).length})}function tD(){let e=(0,el.usePathname)(),{isDemoSite:r,isLoading:s,cloudMode:l}=(0,Y.useLineageGraphContext)(),{featureToggles:n}=(0,Z.useRecceInstanceContext)(),{data:o,isLoading:a}=(0,tn.useRecceServerFlag)(),c=(0,i.useRef)(null);(0,i.useEffect)(()=>{c.current&&c.current!==e&&(0,e4.trackNavigation)({from:c.current,to:e}),c.current=e},[e]);let d=(0,i.useMemo)(()=>e.startsWith("/checks")?"/checks":e.startsWith("/query")?"/query":e.startsWith("/runs")?"/runs":"/lineage",[e]);return(0,t.jsx)(ei.default,{sx:{borderBottom:"1px solid lightgray",px:"12px"},children:(0,t.jsxs)(ei.default,{sx:{display:"grid",gridTemplateColumns:"1fr auto 1fr",width:"100%",alignItems:"center"},children:[(0,t.jsx)(ta.default,{value:d,sx:{borderBottom:"none",minHeight:"auto"},children:tP.map(({path:e,name:r})=>"Query"===r&&o?.single_env_onboarding?null:"Checklist"===r&&tF?(0,t.jsx)(to.default,{value:e,disabled:s||a,sx:{p:0},label:(0,t.jsx)(ei.default,{sx:{display:"flex",alignItems:"center",gap:"4px"},children:(0,t.jsxs)(tc.default,{href:e,style:{textDecoration:"none",color:"inherit",padding:"0.875rem 1.1875rem",display:"flex",gap:3,alignItems:"center"},children:[r," ",(0,t.jsx)(tF,{})]})})},e):(0,t.jsx)(to.default,{value:e,disabled:s||a,sx:{p:0},label:(0,t.jsx)(ei.default,{sx:{display:"flex",alignItems:"center",gap:"4px"},children:(0,t.jsx)(tc.default,{href:e,style:{textDecoration:"none",color:"inherit",padding:"0.875rem 1.1875rem"},children:r})})},e))}),(0,t.jsxs)(ei.default,{sx:{display:"flex",alignItems:"center",gap:"12px",justifyContent:"center"},children:[!s&&!r&&(0,t.jsx)(tC,{}),!s&&!r&&!o?.single_env_onboarding&&!n.disableShare&&(0,t.jsx)(tz,{})]}),!s&&(0,t.jsxs)(ei.default,{sx:{display:"flex",justifyContent:"right",alignItems:"center",mr:"8px"},children:[(0,t.jsx)(td.EnvInfo,{}),l&&(0,t.jsx)(tN,{}),(0,t.jsx)(tO,{})]})]})})}var tH=e.i(7284);let tq=function(e){let t=i.useRef({});return i.useEffect(()=>{t.current=e}),t.current};var tB=e.i(778024);let tV=function(e){let{badgeContent:t,invisible:r=!1,max:i=99,showZero:s=!1}=e,l=tq({badgeContent:t,max:i}),n=r;!1!==r||0!==t||s||(n=!0);let{badgeContent:o,max:a=i}=n?l:e,c=o&&Number(o)>a?`${a}+`:o;return{badgeContent:o,invisible:n,max:a,displayValue:c}};var tK=e.i(446547),tG=e.i(73205),tQ=e.i(860223),tX=e.i(578509),tY=e.i(435983),tU=e.i(446519);function tJ(e){return(0,tU.default)("MuiBadge",e)}let tZ=(0,tY.default)("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]);var t0=e.i(577950);let t1=(0,tK.styled)("span",{name:"MuiBadge",slot:"Root"})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),t5=(0,tK.styled)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.badge,t[r.variant],t[`anchorOrigin${(0,tX.default)(r.anchorOrigin.vertical)}${(0,tX.default)(r.anchorOrigin.horizontal)}${(0,tX.default)(r.overlap)}`],"default"!==r.color&&t[`color${(0,tX.default)(r.color)}`],r.invisible&&t.invisible]}})((0,tG.default)(({theme:e})=>({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.entries(e.palette).filter((0,tQ.default)(["contrastText"])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText}})),{props:{variant:"dot"},style:{borderRadius:4,height:8,minWidth:8,padding:0}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${tZ.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${tZ.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${tZ.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${tZ.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${tZ.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${tZ.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${tZ.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${tZ.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}]})));function t2(e){return{vertical:e?.vertical??"top",horizontal:e?.horizontal??"right"}}let t8=i.forwardRef(function(e,r){let i=(0,l.useDefaultProps)({props:e,name:"MuiBadge"}),{anchorOrigin:s,className:n,classes:o,component:a,components:c={},componentsProps:d={},children:u,overlap:h="rectangular",color:f="default",invisible:p=!1,max:m=99,badgeContent:g,slots:x,slotProps:v,showZero:y=!1,variant:b="standard",...S}=i,{badgeContent:j,invisible:w,max:C,displayValue:k}=tV({max:m,invisible:p,badgeContent:g,showZero:y}),E=tq({anchorOrigin:t2(s),color:f,overlap:h,variant:b,badgeContent:g}),O=w||null==j&&"dot"!==b,{color:A=f,overlap:M=h,anchorOrigin:R,variant:_=b}=O?E:i,z=t2(R),I="dot"!==_?k:void 0,T={...i,badgeContent:j,invisible:O,max:C,displayValue:I,showZero:y,anchorOrigin:z,color:A,overlap:M,variant:_},W=(e=>{let{color:t,anchorOrigin:r,invisible:i,overlap:s,variant:l,classes:n={}}=e,o={root:["root"],badge:["badge",l,i&&"invisible",`anchorOrigin${(0,tX.default)(r.vertical)}${(0,tX.default)(r.horizontal)}`,`anchorOrigin${(0,tX.default)(r.vertical)}${(0,tX.default)(r.horizontal)}${(0,tX.default)(s)}`,`overlap${(0,tX.default)(s)}`,"default"!==t&&`color${(0,tX.default)(t)}`]};return(0,tB.default)(o,tJ,n)})(T),L={slots:{root:x?.root??c.Root,badge:x?.badge??c.Badge},slotProps:{root:v?.root??d.root,badge:v?.badge??d.badge}},[N,P]=(0,t0.default)("root",{elementType:t1,externalForwardedProps:{...L,...S},ownerState:T,className:(0,tH.default)(W.root,n),ref:r,additionalProps:{as:a}}),[$,F]=(0,t0.default)("badge",{elementType:t5,externalForwardedProps:L,ownerState:T,className:W.badge});return(0,t.jsxs)(N,{...P,children:[u,(0,t.jsx)($,{...F,children:I})]})});var t3=e.i(939338);function t7(){let{version:e,latestVersion:r}=function(){let[e,t]=(0,i.useState)(""),[r,s]=(0,i.useState)("");return(0,i.useEffect)(()=>{!async function(){try{let{version:e,latestVersion:r}=(await Q.axiosClient.get("/api/version")).data;t(e),s(r)}catch(e){console.error("Error fetching version number:",e)}}()},[]),{version:e,latestVersion:r}}(),s=(0,i.useMemo)(()=>RegExp("^\\d+\\.\\d+\\.\\d+$"),[]);return((0,i.useEffect)(()=>{if(s.test(e)&&e!==r){let e="recce-update-toast-shown";sessionStorage.getItem(e)||setTimeout(()=>{G.toaster.create({id:"recce-update-available",title:"Update available",description:(0,t.jsxs)("span",{children:["A new version of Recce (v",r,") is available.",(0,t.jsx)("br",{}),"Please run"," ",(0,t.jsx)(ei.default,{component:"code",sx:{bgcolor:"grey.200",px:.5,py:.25,borderRadius:.5,fontFamily:"monospace",fontSize:"0.875em"},children:"pip install --upgrade recce"})," ","to update Recce.",(0,t.jsx)("br",{}),(0,t.jsx)(t3.default,{sx:{color:"primary.main",fontWeight:"bold","&:hover":{textDecoration:"underline"}},href:`https://github.com/DataRecce/recce/releases/tag/v${r}`,target:"_blank",children:"Click here to view the detail of latest release"})]}),duration:6e4,closable:!0}),sessionStorage.setItem(e,"true")},0)}},[e,r,s]),s.test(e))?(0,t.jsx)(t3.default,{href:`https://github.com/DataRecce/recce/releases/tag/v${e}`,sx:{"&:hover":{textDecoration:"none"},fontSize:"sm",color:"rgba(255,255,255,0.8)",textTransform:"uppercase",borderWidth:1,px:1,borderRadius:.75},target:"_blank",children:e}):(0,t.jsx)(ec.default,{component:"span",sx:{fontSize:"sm",color:"rgba(255,255,255,0.8)",textTransform:"uppercase",borderWidth:1,px:1,borderRadius:.75},children:e})}var t4=e.i(224378),t6=e.i(36239),t9=e.i(610985),re=e.i(754228),rt=e.i(571167),rr=e.i(135301),ri=e.i(263712),rs=e.i(180806),rl=e.i(422508);function rn(){var e;let{data:r,isLoading:s,error:l}=(0,ed.useQuery)({queryKey:e1.cacheKeys.user(),queryFn:rl.fetchUser,retry:!1}),{data:n}=(0,ed.useQuery)({queryKey:["github-avatar",r?.id],queryFn:()=>r?(0,rl.fetchGitHubAvatar)(r.id):Promise.resolve(null),enabled:!!r?.id&&"github"===r.login_type,retry:!1,staleTime:3e5}),[o,a]=(0,i.useState)(null),c=e=>{a(e.currentTarget)},d=()=>{a(null)},u=!s&&!l&&r;return(0,t.jsxs)(t.Fragment,{children:[s?(0,t.jsx)(ei.default,{onClick:c,sx:{width:32,height:32,borderRadius:"50%",bgcolor:"white",color:"primary.main",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer"},children:(0,t.jsx)(es.default,{size:16})}):(0,t.jsx)(t6.default,{onClick:c,src:n||void 0,sx:{width:28,height:28,cursor:"pointer",outline:"1px solid white",fontSize:"0.875rem"},children:(e=r?.login)?e.charAt(0).toUpperCase():"U"}),(0,t.jsxs)(rr.default,{anchorEl:o,open:!!o,onClose:d,slotProps:{paper:{sx:{bgcolor:"white",borderColor:"grey.200",boxShadow:3,minWidth:180}}},children:[(0,t.jsxs)(ei.default,{sx:{px:2,py:1.5},children:[s&&(0,t.jsxs)(ei.default,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,t.jsx)(ec.default,{variant:"body2",color:"text.primary",children:"Loading..."}),(0,t.jsx)(es.default,{size:16})]}),l&&(0,t.jsx)(ec.default,{variant:"caption",color:"error",children:"Failed to load user information"}),u&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ec.default,{variant:"body2",fontWeight:"600",color:"text.primary",children:r.login}),r.email&&(0,t.jsx)(ec.default,{variant:"caption",color:"text.secondary",children:r.email})]})]}),(0,t.jsx)(t9.default,{}),(0,t.jsxs)(ri.default,{onClick:()=>{window.open("https://cloud.datarecce.io/","_blank"),d()},children:[(0,t.jsx)(re.default,{children:(0,t.jsx)(eu.FaCloud,{})}),(0,t.jsx)(rt.default,{children:"Recce Cloud"})]}),(0,t.jsxs)(ri.default,{onClick:()=>{window.open(rs.RECCE_SUPPORT_CALENDAR_URL,"_blank"),d()},children:[(0,t.jsx)(re.default,{children:(0,t.jsx)(eu.FaUser,{})}),(0,t.jsx)(rt.default,{children:"Get live support"})]})]})]})}var ro=e.i(928296);function ra(){let{remainingSeconds:e,isEnabled:r}=(0,X.useIdleTimeout)();return!r||null===e||e>60?null:(0,t.jsxs)(t8,{color:"warning",variant:"standard",sx:{display:"flex",alignItems:"center",gap:1,fontSize:"0.75rem",mr:2},children:[(0,t.jsx)(ei.default,{component:tb.IoWarning,sx:{display:"inline-flex"}}),"Idle timeout: ",(0,ro.formatDuration)(e,"compact")]})}function rc({icon:e,href:r,sx:i,...s}){return(0,t.jsx)(t3.default,{sx:{height:"20px",color:"white",...i},href:r,target:"_blank",...s,children:(0,t.jsx)(e,{style:{color:"white",width:20,height:20}})})}function rd(){let{reviewMode:e,isDemoSite:r,envInfo:s,cloudMode:l}=(0,Y.useLineageGraphContext)(),{featureToggles:n,authed:o}=(0,Z.useRecceInstanceContext)(),{url:a,id:c}=s?.pullRequest??{},d=a?a.split("/").pop():null,u=l||o?"https://cloud.datarecce.io/":"https://reccehq.com/",[h,f]=(0,i.useState)(!1);return(0,t.jsxs)(ei.default,{sx:{display:"flex",gap:"10px",minHeight:"40px",alignItems:"center",bgcolor:"rgb(255, 110, 66)"},children:[(0,t.jsx)(t3.default,{href:u,target:"_blank",sx:{"&:hover":{textDecoration:"none"}},children:(0,t.jsxs)(ei.default,{sx:{display:"flex",gap:"10px",alignItems:"center"},children:[(0,t.jsx)(ei.default,{component:"img",sx:{width:20,height:20,ml:"18px"},src:"/logo/recce-logo-white.png",alt:"recce-logo-white"}),(0,t.jsx)(ec.default,{variant:"h4",sx:{fontFamily:'"Montserrat", sans-serif',color:"white",fontSize:"1.25rem"},children:"RECCE"})]})}),(0,t.jsx)(t7,{}),(n.mode??e)&&(0,t.jsx)(t8,{sx:{fontSize:"0.875rem",color:"rgba(255,255,255,0.8)",textTransform:"uppercase",borderWidth:1,px:1,borderRadius:.75,borderColor:"rgba(255,255,255,0.8)"},children:n.mode??"review mode"}),l&&c&&(0,t.jsx)(t8,{sx:{fontSize:"0.875rem",color:"rgba(255,255,255,0.8)",textTransform:"uppercase",borderWidth:1,px:1,borderRadius:.75,borderColor:"rgba(255,255,255,0.8)"},children:(0,t.jsxs)(ea.default,{direction:"row",spacing:1,alignItems:"center",children:[(0,t.jsx)(ei.default,{children:"cloud mode"}),(0,t.jsx)(ei.default,{sx:{borderLeft:"1px solid rgba(255,255,255,0.8)",pl:"8px"},children:(0,t.jsxs)(t3.default,{href:a,sx:{"&:hover":{textDecoration:"none"}},target:"_blank",children:[(0,t.jsx)(t4.VscGitPullRequest,{style:{color:"rgba(255,255,255,0.8)",width:12,height:12,marginRight:2,display:"inline",verticalAlign:"middle"}}),(0,t.jsx)(ec.default,{component:"span",sx:{color:"rgba(255,255,255,0.8)",display:"inline"},children:`#${String(c)}`})]})})]})}),r&&a&&d&&(0,t.jsx)(t8,{sx:{fontSize:"0.875rem",color:"rgba(255,255,255,0.8)",textTransform:"uppercase",borderWidth:1,px:1,borderRadius:.75,borderColor:"rgba(255,255,255,0.8)"},children:(0,t.jsxs)(ea.default,{direction:"row",spacing:1,alignItems:"center",children:[(0,t.jsx)(ei.default,{children:"demo mode"}),(0,t.jsx)(ei.default,{sx:{borderLeft:"1px solid rgba(255,255,255,0.8)",pl:"8px"},children:(0,t.jsxs)(t3.default,{href:a,sx:{"&:hover":{textDecoration:"none"}},target:"_blank",children:[(0,t.jsx)(t4.VscGitPullRequest,{style:{color:"rgba(255,255,255,0.8)",width:12,height:12,marginRight:2,display:"inline",verticalAlign:"middle"}}),(0,t.jsx)(ec.default,{component:"span",sx:{color:"rgba(255,255,255,0.8)",display:"inline"},children:`#${d}`})]})})]})}),(0,t.jsx)(ei.default,{sx:{flex:1}}),(r||"read only"===n.mode)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(rc,{icon:eu.FaGithub,href:"https://github.com/DataRecce/recce"}),(0,t.jsx)(rc,{icon:eu.FaSlack,href:"https://getdbt.slack.com/archives/C05C28V7CPP"}),(0,t.jsx)(rc,{sx:{mr:2},icon:eu.FaQuestionCircle,href:"https://docs.datarecce.io"})]}),!r&&"read only"!==n.mode&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ra,{}),o||l?(0,t.jsx)(ei.default,{sx:{mr:2},children:(0,t.jsx)(rn,{})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ei.default,{component:"button",sx:{color:"white",fontSize:"0.875rem",fontWeight:600,bgcolor:"brand.700",borderRadius:1,px:3,py:1,mr:2,cursor:"pointer",border:"none"},onClick:()=>{f(!0)},children:"Connect to Cloud"}),h&&(0,t.jsx)(en.default,{parentOpen:h,handleParentClose:f,ignoreCookie:!0,variant:"user-profile"})]})]})]})}function ru(){return(0,t.jsx)(ei.default,{sx:{display:"flex",height:"100%",alignItems:"center",justifyContent:"center",contain:"size"},children:(0,t.jsx)(ei.default,{sx:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"},children:(0,t.jsx)(es.default,{size:48})})})}function rh({children:e,lineage:r}){let s=(0,el.usePathname)(),{isDemoSite:l,isLoading:n,isCodespace:o}=(0,Y.useLineageGraphContext)(),{featureToggles:a}=(0,Z.useRecceInstanceContext)();return(0,i.useEffect)(()=>{(0,e4.trackInit)()},[]),(0,t.jsxs)(ei.default,{sx:{display:"flex",flexDirection:"column",height:"100vh",overflow:"hidden"},children:[(0,t.jsx)(rd,{}),(0,t.jsx)(tD,{}),(0,t.jsx)(rf,{isLineageRoute:"/lineage"===s||"/"===s,lineage:r,children:e}),!n&&!l&&!o&&null===a.mode&&(0,t.jsx)(en.default,{})]})}function rf({children:e,lineage:r,isLineageRoute:s}){let{isRunResultOpen:l,isHistoryOpen:n,closeRunResult:o}=(0,U.useRecceActionContext)(),{data:a}=(0,tn.useRecceServerFlag)(),c=(0,el.usePathname)(),d=l&&!c.startsWith("/checks"),u=n&&!c.startsWith("/checks");return(0,t.jsxs)(tl.HSplit,{sizes:[0,100],minSize:300*!!u,gutterSize:5*!!u,style:{height:"100%"},children:[(0,t.jsx)(ei.default,{style:{contain:"size"},suppressHydrationWarning:!0,children:u&&(0,t.jsx)(tr,{})}),(0,t.jsxs)(tl.VSplit,{sizes:d?[50,50]:[100,0],minSize:100*!!d,gutterSize:5*!!d,style:{flex:"1",contain:"size"},children:[(0,t.jsx)(i.Suspense,{fallback:(0,t.jsx)(ru,{}),children:(0,t.jsxs)(ei.default,{sx:{p:0,contain:"content"},suppressHydrationWarning:!0,children:[(0,t.jsx)(ei.default,{sx:{display:s?"block":"none",height:"100%",position:s?"relative":"absolute",inset:0},children:r}),!s&&e]})}),(0,t.jsx)(ei.default,{sx:{height:"100%"},suppressHydrationWarning:!0,children:d?(0,t.jsx)(ts.RunResultPane,{onClose:o,isSingleEnvironment:!!a?.single_env_onboarding}):null})]})]})}function rp({children:e,lineage:i}){return(0,t.jsx)(K,{forcedTheme:"light",enableCssBaseline:!0,children:(0,t.jsx)(r.QueryClientProvider,{client:Q.reactQueryClient,children:(0,t.jsx)(X.IdleTimeoutProvider,{children:(0,t.jsxs)(er,{children:[(0,t.jsx)(rh,{lineage:i,children:e}),(0,t.jsx)(G.Toaster,{})]})})})})}e.s(["default",()=>rp],84654)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,130209,e=>{"use strict";var t=e.i(187725),a=e.i(599973),r=e.i(889747),i=e.i(279743),o=e.i(204039),l=class extends i.Subscribable{#e;#t=void 0;#a;#r;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#e.defaultMutationOptions(e),(0,o.shallowEqualObjects)(this.options,t)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#a,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,o.hashKey)(t.mutationKey)!==(0,o.hashKey)(this.options.mutationKey)?this.reset():this.#a?.state.status==="pending"&&this.#a.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#a?.removeObserver(this)}onMutationUpdate(e){this.#i(),this.#o(e)}getCurrentResult(){return this.#t}reset(){this.#a?.removeObserver(this),this.#a=void 0,this.#i(),this.#o()}mutate(e,t){return this.#r=t,this.#a?.removeObserver(this),this.#a=this.#e.getMutationCache().build(this.#e,this.options),this.#a.addObserver(this),this.#a.execute(e)}#i(){let e=this.#a?.state??(0,a.getDefaultState)();this.#t={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#o(e){r.notifyManager.batch(()=>{if(this.#r&&this.hasListeners()){let t=this.#t.variables,a=this.#t.context,r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};e?.type==="success"?(this.#r.onSuccess?.(e.data,t,a,r),this.#r.onSettled?.(e.data,null,t,a,r)):e?.type==="error"&&(this.#r.onError?.(e.error,t,a,r),this.#r.onSettled?.(void 0,e.error,t,a,r))}this.listeners.forEach(e=>{e(this.#t)})})}},n=e.i(63257);function s(e,a){let i=(0,n.useQueryClient)(a),[s]=t.useState(()=>new l(i,e));t.useEffect(()=>{s.setOptions(e)},[s,e]);let d=t.useSyncExternalStore(t.useCallback(e=>s.subscribe(r.notifyManager.batchCalls(e)),[s]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),c=t.useCallback((e,t)=>{s.mutate(e,t).catch(o.noop)},[s]);if(d.error&&(0,o.shouldThrowError)(s.options.throwOnError,[d.error]))throw d.error;return{...d,mutate:c,mutateAsync:d.mutate}}e.s(["useMutation",()=>s],130209)},325782,e=>{"use strict";e.i(316575);var t=e.i(187725),a=e.i(7284),r=e.i(778024),i=e.i(36297),o=e.i(19483);let l=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");var n=e.i(723938),s=e.i(578509),d=e.i(98648),c=e.i(446547),u=e.i(73205),p=e.i(860223),f=e.i(519273),h=e.i(435983),m=e.i(446519);function g(e){return(0,m.default)("MuiChip",e)}let x=(0,h.default)("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]);var y=e.i(577950);let v=(0,c.styled)("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e,{color:r,iconColor:i,clickable:o,onDelete:l,size:n,variant:d}=a;return[{[`& .${x.avatar}`]:t.avatar},{[`& .${x.avatar}`]:t[`avatar${(0,s.default)(n)}`]},{[`& .${x.avatar}`]:t[`avatarColor${(0,s.default)(r)}`]},{[`& .${x.icon}`]:t.icon},{[`& .${x.icon}`]:t[`icon${(0,s.default)(n)}`]},{[`& .${x.icon}`]:t[`iconColor${(0,s.default)(i)}`]},{[`& .${x.deleteIcon}`]:t.deleteIcon},{[`& .${x.deleteIcon}`]:t[`deleteIcon${(0,s.default)(n)}`]},{[`& .${x.deleteIcon}`]:t[`deleteIconColor${(0,s.default)(r)}`]},{[`& .${x.deleteIcon}`]:t[`deleteIcon${(0,s.default)(d)}Color${(0,s.default)(r)}`]},t.root,t[`size${(0,s.default)(n)}`],t[`color${(0,s.default)(r)}`],o&&t.clickable,o&&"default"!==r&&t[`clickableColor${(0,s.default)(r)}`],l&&t.deletable,l&&"default"!==r&&t[`deletableColor${(0,s.default)(r)}`],t[d],t[`${d}${(0,s.default)(r)}`]]}})((0,u.default)(({theme:e})=>{let t="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,lineHeight:1.5,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${x.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${x.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${x.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${x.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${x.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${x.icon}`]:{marginLeft:5,marginRight:-6},[`& .${x.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.alpha((e.vars||e).palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.alpha((e.vars||e).palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${x.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${x.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter((0,p.default)(["contrastText"])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText,[`& .${x.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[t].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].contrastText}}}})),{props:e=>e.iconColor===e.color,style:{[`& .${x.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:e=>e.iconColor===e.color&&"default"!==e.color,style:{[`& .${x.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${x.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}},...Object.entries(e.palette).filter((0,p.default)(["dark"])).map(([t])=>({props:{color:t,onDelete:!0},style:{[`&.${x.focusVisible}`]:{background:(e.vars||e).palette[t].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)},[`&.${x.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter((0,p.default)(["dark"])).map(([t])=>({props:{color:t,clickable:!0},style:{[`&:hover, &.${x.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${x.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${x.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${x.avatar}`]:{marginLeft:4},[`& .${x.avatarSmall}`]:{marginLeft:2},[`& .${x.icon}`]:{marginLeft:4},[`& .${x.iconSmall}`]:{marginLeft:2},[`& .${x.deleteIcon}`]:{marginRight:5},[`& .${x.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter((0,p.default)()).map(([t])=>({props:{variant:"outlined",color:t},style:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.alpha((e.vars||e).palette[t].main,.7)}`,[`&.${x.clickable}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)},[`&.${x.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.focusOpacity)},[`& .${x.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[t].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].main}}}}))]}})),b=(0,c.styled)("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{let{ownerState:a}=e,{size:r}=a;return[t.label,t[`label${(0,s.default)(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function C(e){return"Backspace"===e.key||"Delete"===e.key}let S=t.forwardRef(function(e,i){let c=(0,f.useDefaultProps)({props:e,name:"MuiChip"}),{avatar:u,className:p,clickable:h,color:m="default",component:x,deleteIcon:S,disabled:j=!1,icon:w,label:$,onClick:R,onDelete:k,onKeyDown:I,onKeyUp:M,size:L="medium",variant:z="filled",tabIndex:O,skipFocusWhenDisabled:P=!1,slots:E={},slotProps:A={},...T}=c,H=t.useRef(null),V=(0,n.default)(H,i),D=e=>{e.stopPropagation(),k&&k(e)},N=!1!==h&&!!R||h,B=N||k?d.default:x||"div",F={...c,component:B,disabled:j,size:L,color:m,iconColor:t.isValidElement(w)&&w.props.color||m,onDelete:!!k,clickable:N,variant:z},_=(e=>{let{classes:t,disabled:a,size:i,color:o,iconColor:l,onDelete:n,clickable:d,variant:c}=e,u={root:["root",c,a&&"disabled",`size${(0,s.default)(i)}`,`color${(0,s.default)(o)}`,d&&"clickable",d&&`clickableColor${(0,s.default)(o)}`,n&&"deletable",n&&`deletableColor${(0,s.default)(o)}`,`${c}${(0,s.default)(o)}`],label:["label",`label${(0,s.default)(i)}`],avatar:["avatar",`avatar${(0,s.default)(i)}`,`avatarColor${(0,s.default)(o)}`],icon:["icon",`icon${(0,s.default)(i)}`,`iconColor${(0,s.default)(l)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,s.default)(i)}`,`deleteIconColor${(0,s.default)(o)}`,`deleteIcon${(0,s.default)(c)}Color${(0,s.default)(o)}`]};return(0,r.default)(u,g,t)})(F),G=B===d.default?{component:x||"div",focusVisibleClassName:_.focusVisible,...k&&{disableRipple:!0}}:{},K=null;k&&(K=S&&t.isValidElement(S)?t.cloneElement(S,{className:(0,a.default)(S.props.className,_.deleteIcon),onClick:D}):(0,o.jsx)(l,{className:_.deleteIcon,onClick:D}));let Z=null;u&&t.isValidElement(u)&&(Z=t.cloneElement(u,{className:(0,a.default)(_.avatar,u.props.className)}));let U=null;w&&t.isValidElement(w)&&(U=t.cloneElement(w,{className:(0,a.default)(_.icon,w.props.className)}));let W={slots:E,slotProps:A},[q,Q]=(0,y.default)("root",{elementType:v,externalForwardedProps:{...W,...T},ownerState:F,shouldForwardComponentProp:!0,ref:V,className:(0,a.default)(_.root,p),additionalProps:{disabled:!!N&&!!j||void 0,tabIndex:P&&j?-1:O,...G},getSlotProps:e=>({...e,onClick:t=>{e.onClick?.(t),R?.(t)},onKeyDown:t=>{e.onKeyDown?.(t),t.currentTarget===t.target&&C(t)&&t.preventDefault(),I&&I(t)},onKeyUp:t=>{e.onKeyUp?.(t),t.currentTarget===t.target&&k&&C(t)&&k(t),M&&M(t)}})}),[Y,J]=(0,y.default)("label",{elementType:b,externalForwardedProps:W,ownerState:F,className:_.label});return(0,o.jsxs)(q,{as:B,...Q,children:[Z||U,(0,o.jsx)(Y,{...J,children:$}),K]})});e.s(["default",0,S],325782)},42409,e=>{"use strict";var t=e.i(955343);function a(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M12 16L6 10H18L12 16Z"},child:[]}]})(e)}function r(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M12 8L18 14H6L12 8Z"},child:[]}]})(e)}function i(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM4 5V19H20V5H4ZM12 15H18V17H12V15ZM8.66685 12L5.83842 9.17157L7.25264 7.75736L11.4953 12L7.25264 16.2426L5.83842 14.8284L8.66685 12Z"},child:[]}]})(e)}function o(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M18 3C19.6569 3 21 4.34315 21 6C21 7.65685 19.6569 9 18 9H15C13.6941 9 12.5831 8.16562 12.171 7.0009L11 7C9.9 7 9 7.9 9 9L9.0009 9.17102C10.1656 9.58312 11 10.6941 11 12C11 13.3059 10.1656 14.4169 9.0009 14.829L9 15C9 16.1 9.9 17 11 17L12.1707 17.0001C12.5825 15.8349 13.6937 15 15 15H18C19.6569 15 21 16.3431 21 18C21 19.6569 19.6569 21 18 21H15C13.6941 21 12.5831 20.1656 12.171 19.0009L11 19C8.79 19 7 17.21 7 15H5C3.34315 15 2 13.6569 2 12C2 10.3431 3.34315 9 5 9H7C7 6.79086 8.79086 5 11 5L12.1707 5.00009C12.5825 3.83485 13.6937 3 15 3H18ZM18 17H15C14.4477 17 14 17.4477 14 18C14 18.5523 14.4477 19 15 19H18C18.5523 19 19 18.5523 19 18C19 17.4477 18.5523 17 18 17ZM8 11H5C4.44772 11 4 11.4477 4 12C4 12.5523 4.44772 13 5 13H8C8.55228 13 9 12.5523 9 12C9 11.4477 8.55228 11 8 11ZM18 5H15C14.4477 5 14 5.44772 14 6C14 6.55228 14.4477 7 15 7H18C18.5523 7 19 6.55228 19 6C19 5.44772 18.5523 5 18 5Z"},child:[]}]})(e)}function l(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M12.0049 22.0027C6.48204 22.0027 2.00488 17.5256 2.00488 12.0027C2.00488 6.4799 6.48204 2.00275 12.0049 2.00275C17.5277 2.00275 22.0049 6.4799 22.0049 12.0027C22.0049 17.5256 17.5277 22.0027 12.0049 22.0027ZM12.0049 20.0027C16.4232 20.0027 20.0049 16.421 20.0049 12.0027C20.0049 7.58447 16.4232 4.00275 12.0049 4.00275C7.5866 4.00275 4.00488 7.58447 4.00488 12.0027C4.00488 16.421 7.5866 20.0027 12.0049 20.0027ZM7.00488 9.00275L10.0049 5.50275L13.0049 9.00275H11.0049V13.0027H9.00488V9.00275H7.00488ZM17.0049 15.0027L14.0049 18.5027L11.0049 15.0027H13.0049V11.0027H15.0049V15.0027H17.0049Z"},child:[]}]})(e)}e.s(["RiArrowDownSFill",()=>a,"RiArrowUpSFill",()=>r,"RiMindMap",()=>o,"RiSwapLine",()=>l,"RiTerminalBoxLine",()=>i])},913369,e=>{"use strict";var t=e.i(19483),a=e.i(324066),r=e.i(939338),i=e.i(359143),o=e.i(187725),l=e.i(180806);function n({children:e,display:n}){let[s,d]=(0,o.useState)(!1),c=(0,o.useRef)(null),u=(0,o.useRef)(null),p=(0,o.useCallback)(()=>{c.current&&(clearTimeout(c.current),c.current=null),d(!0)},[]),f=(0,o.useCallback)(()=>{c.current=setTimeout(()=>{d(!1)},100)},[]);return n?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.default,{ref:u,onMouseEnter:p,onMouseLeave:f,sx:{display:"contents"},children:e}),(0,t.jsxs)(i.default,{open:s,anchorEl:u.current,onClose:()=>d(!1),anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},disableAutoFocus:!0,disableEnforceFocus:!0,sx:{pointerEvents:"none"},slotProps:{paper:{onMouseEnter:p,onMouseLeave:f,sx:{bgcolor:"grey.600",color:"white",p:1.5,pointerEvents:"auto"}}},children:["Connect to a data warehouse to unlock Diff."," ",(0,t.jsx)(r.default,{href:l.RECCE_SUPPORT_CALENDAR_URL,target:"_blank",sx:{color:"white",textDecoration:"underline"},children:"Learn more"}),"."]})]}):e}e.s(["default",()=>n])},2936,507524,e=>{"use strict";var t=e.i(19483),a=e.i(324066),r=e.i(76130),i=e.i(224378),o=e.i(203158),l=e.i(29134);function n(){let{isHistoryOpen:e,showHistory:n}=(0,l.useRecceActionContext)();if(!e)return(0,t.jsxs)(a.default,{children:[(0,t.jsx)(a.default,{sx:{fontSize:"8pt"},children:"History"}),(0,t.jsx)(r.default,{size:"xsmall",variant:"outlined",startIcon:(0,t.jsx)(i.VscHistory,{}),onClick:()=>{(0,o.trackHistoryAction)({name:e?"hide":"show"}),n()},children:"Show"})]})}e.s(["default",()=>n],2936);var s=e.i(461566);async function d(e,t){return await (0,s.submitRun)("query",e,t)}async function c(e,t){return await (0,s.submitRun)("query_base",e,t)}async function u(e,t){return await (0,s.submitRun)("query_diff",e,t)}e.s(["submitQuery",()=>d,"submitQueryBase",()=>c,"submitQueryDiff",()=>u],507524)},182809,373921,e=>{"use strict";var t=e.i(19483),a=e.i(324066),r=e.i(336277),i=e.i(197068),o=e.i(427938),l=e.i(187725),n=e.i(388797),s=e.i(916955),d=e.i(76130),c=e.i(325782),u=e.i(610985),p=e.i(278903),f=e.i(135301),h=e.i(263712),m=e.i(228337);let g=e=>{let{defaultValues:r,suggestionList:n,onValuesChange:s,className:g}=e,[x,y]=(0,l.useState)(r??[]),[v,b]=(0,l.useState)(""),[C,S]=(0,l.useState)(!1),[j,w]=(0,l.useState)(null),$=(0,l.useRef)(null),R=e=>{x.includes(e)||(b(""),y([...x,e]),s([...x,e]))},k=v.toLowerCase(),I=n?.filter(e=>""===k||e.toLowerCase().includes(k)).filter(e=>!x.includes(e))??[],M=()=>{switch(e.size){case"2xs":return"0.625rem";case"xs":return"0.75rem";default:return"0.875rem"}};return(0,t.jsxs)(a.default,{sx:{display:"flex",alignItems:"center",width:e.width},className:g,children:[(0,t.jsxs)(d.default,{variant:"outlined",color:"neutral",size:"small",onClick:e=>{w(e.currentTarget),setTimeout(()=>$.current?.focus(),100)},disabled:e.disabled,sx:{width:"100%",height:(()=>{switch(e.size){case"2xs":return 24;case"xs":return 28;case"sm":return 32;default:return 36}})(),justifyContent:"space-between",textTransform:"none",fontSize:M(),fontWeight:"normal",px:1},children:[(0,t.jsx)(o.default,{component:"span",sx:{fontSize:M(),color:x.length>0?"text.primary":"text.secondary",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:(x.length>1?`${x.length} ${e.unitName}s selected`:1===x.length?x[0]:"")||e.placeholder||""}),x.length>0&&(0,t.jsx)(o.default,{component:"span",onClick:e=>{e.stopPropagation(),b(""),y([]),s([])},sx:{fontSize:M(),color:"primary.main",cursor:"pointer",ml:1,"&:hover":{textDecoration:"underline"}},children:"Clear"})]}),(0,t.jsxs)(f.default,{anchorEl:j,open:!!j,onClose:()=>{w(null),S(!1)},slotProps:{paper:{sx:{width:e.width,fontSize:M()}}},children:[(0,t.jsx)(a.default,{sx:{px:.5,py:.5},children:(0,t.jsxs)(a.default,{sx:{border:"1px solid",borderColor:"divider",borderRadius:1,p:.5,display:"flex",flexWrap:"wrap",gap:.5,alignItems:"center"},className:"no-track-pii-safe",children:[x.map(e=>(0,t.jsx)(c.default,{label:e,size:"small",onDelete:()=>{y(x.filter(t=>t!==e)),s(x.filter(t=>t!==e))},sx:{height:22,fontSize:M()}},e)),(0,t.jsx)(p.default,{inputRef:$,placeholder:"Filter or add custom keys",value:v,onChange:e=>{b(e.target.value),S(!0)},onKeyDown:e=>{"Escape"!==e.key&&e.stopPropagation();let t=e.target,a=t.value.trim().replace(",","");switch(e.key){case",":case"Enter":e.preventDefault(),a&&(R(a),b(""));break;case"Backspace":""===t.value&&x.length>0&&(y(x.slice(0,-1)),s(x.slice(0,-1)))}},onBlur:()=>{$.current&&C&&$.current.focus()},sx:{flex:1,minWidth:120,fontSize:M(),"& input":{p:.5}}})]})}),(0,t.jsx)(u.default,{}),""!==v&&!n?.includes(v)&&(0,t.jsxs)(h.default,{onClick:()=>{R(v),S(!1)},sx:{fontSize:M()},children:["Add '",v,"' to the list"]}),I.slice(0,10).map((e,a)=>(0,t.jsx)(h.default,{onClick:()=>{R(e)},sx:{fontSize:M()},children:e},m.default.uniqueId(`option-${a}`))),I.length>10&&(0,t.jsx)(i.default,{title:"Please use filter to find more items",placement:"top",children:(0,t.jsxs)(a.default,{px:1.5,py:.5,color:"text.secondary",fontSize:"8pt",children:["and ",I.length-10," more items..."]})})]})]})};e.s(["QueryForm",0,({defaultPrimaryKeys:e,onPrimaryKeysChange:d,...c})=>{let{lineageGraph:u,isActionAvailable:p}=(0,s.useLineageGraphContext)(),f=(0,l.useMemo)(()=>{if(!u)return[];let e=new Set;for(let t in u.nodes){let a=u.nodes[t];Object.entries({...a.data.data.base?.columns??{},...a.data.data.current?.columns??{}}).forEach(([t,a])=>{a?.unique&&e.add(t)})}return Array.from(e).sort()},[u]);return(0,t.jsx)(a.default,{sx:{display:"flex"},...c,children:(0,t.jsxs)(r.default,{spacing:0,sx:{m:"0 0.5rem"},children:[(0,t.jsxs)(r.default,{direction:"row",alignItems:"center",spacing:.5,children:[(0,t.jsx)(o.default,{component:"label",sx:{fontSize:"0.625rem",color:"text.secondary"},children:"Diff with Primary Key(s) (suggested)"}),(0,t.jsx)(i.default,{title:"Provide a primary key to perform query diff in data warehouse and only return changed rows.",placement:"bottom-end",children:(0,t.jsx)(a.default,{component:"span",sx:{display:"flex",color:"grey.600",cursor:"help"},children:(0,t.jsx)(n.PiInfo,{fontSize:"0.75rem"})})})]}),(0,t.jsx)(g,{className:"no-track-pii-safe",unitName:"key",defaultValues:e,suggestionList:f,onValuesChange:d,size:"2xs",width:"240px",placeholder:"Select or type to add keys",disabled:!p("query_diff_with_primary_key")})]})})}],182809);var x=e.i(180806);function y(e){return e?.organization_name&&e.web_url?`${e.web_url}/organizations/${e.organization_name}/settings`:x.RECCE_SUPPORT_CALENDAR_URL}e.s(["getSettingsUrl",()=>y],373921)},505172,e=>{"use strict";e.i(316575);var t=e.i(187725),a=e.i(7284),r=e.i(778024),i=e.i(427447),o=e.i(446547),l=e.i(73205),n=e.i(519273),s=e.i(981335),d=e.i(723938),c=e.i(577950),u=e.i(838443),p=e.i(435983),f=e.i(446519);function h(e){return(0,f.default)("MuiListItem",e)}(0,p.default)("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);let m=(0,p.default)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function g(e){return(0,f.default)("MuiListItemSecondaryAction",e)}(0,p.default)("MuiListItemSecondaryAction",["root","disableGutters"]);var x=e.i(19483);let y=(0,o.styled)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,a.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),v=t.forwardRef(function(e,i){let o=(0,n.useDefaultProps)({props:e,name:"MuiListItemSecondaryAction"}),{className:l,...s}=o,d=t.useContext(u.default),c={...o,disableGutters:d.disableGutters},p=(e=>{let{disableGutters:t,classes:a}=e;return(0,r.default)({root:["root",t&&"disableGutters"]},g,a)})(c);return(0,x.jsx)(y,{className:(0,a.default)(p.root,l),ownerState:c,ref:i,...s})});v.muiName="ListItemSecondaryAction";let b=(0,o.styled)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,a.dense&&t.dense,"flex-start"===a.alignItems&&t.alignItemsFlexStart,a.divider&&t.divider,!a.disableGutters&&t.gutters,!a.disablePadding&&t.padding,a.hasSecondaryAction&&t.secondaryAction]}})((0,l.default)(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>!e.disablePadding&&e.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:e})=>!e.disablePadding&&!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>!e.disablePadding&&!!e.secondaryAction,style:{paddingRight:48}},{props:({ownerState:e})=>!!e.secondaryAction,style:{[`& > .${m.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>e.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:e})=>e.hasSecondaryAction,style:{paddingRight:48}}]}))),C=(0,o.styled)("li",{name:"MuiListItem",slot:"Container"})({position:"relative"}),S=t.forwardRef(function(e,o){let l=(0,n.useDefaultProps)({props:e,name:"MuiListItem"}),{alignItems:p="center",children:f,className:m,component:g,components:y={},componentsProps:S={},ContainerComponent:j="li",ContainerProps:{className:w,...$}={},dense:R=!1,disableGutters:k=!1,disablePadding:I=!1,divider:M=!1,secondaryAction:L,slotProps:z={},slots:O={},...P}=l,E=t.useContext(u.default),A=t.useMemo(()=>({dense:R||E.dense||!1,alignItems:p,disableGutters:k}),[p,E.dense,R,k]),T=t.useRef(null),H=t.Children.toArray(f),V=H.length&&(0,s.default)(H[H.length-1],["ListItemSecondaryAction"]),D={...l,alignItems:p,dense:A.dense,disableGutters:k,disablePadding:I,divider:M,hasSecondaryAction:V},N=(e=>{let{alignItems:t,classes:a,dense:i,disableGutters:o,disablePadding:l,divider:n,hasSecondaryAction:s}=e;return(0,r.default)({root:["root",i&&"dense",!o&&"gutters",!l&&"padding",n&&"divider","flex-start"===t&&"alignItemsFlexStart",s&&"secondaryAction"],container:["container"],secondaryAction:["secondaryAction"]},h,a)})(D),B=(0,d.default)(T,o),[F,_]=(0,c.default)("secondaryAction",{elementType:v,externalForwardedProps:{slots:O,slotProps:z},ownerState:D,className:N.secondaryAction}),G=O.root||y.Root||b,K=z.root||S.root||{},Z={className:(0,a.default)(N.root,K.className,m),...P},U=g||"li";return V?(U=Z.component||g?U:"div","li"===j&&("li"===U?U="div":"li"===Z.component&&(Z.component="div")),(0,x.jsx)(u.default.Provider,{value:A,children:(0,x.jsxs)(C,{as:j,className:(0,a.default)(N.container,w),ref:B,ownerState:D,...$,children:[(0,x.jsx)(G,{...K,...!(0,i.default)(G)&&{as:U,ownerState:{...D,...K.ownerState}},...Z,children:H}),H.pop()]})})):(0,x.jsx)(u.default.Provider,{value:A,children:(0,x.jsxs)(G,{...K,as:U,ref:B,...!(0,i.default)(G)&&{ownerState:{...D,...K.ownerState}},...Z,children:[H,L&&(0,x.jsx)(F,{..._,children:L})]})})});e.s(["default",0,S],505172)},783586,e=>{"use strict";var t=e.i(19483),a=e.i(324066),r=e.i(76130),i=e.i(939338),o=e.i(228628),l=e.i(505172),n=e.i(336277),s=e.i(427938),d=e.i(42409);function c(){return(0,t.jsx)(n.default,{sx:{flex:1,height:"100%",minHeight:0,m:1,p:2,bgcolor:"iochmara.50",borderRadius:2,boxShadow:2,justifyContent:"center"},children:(0,t.jsxs)(n.default,{sx:{width:"80%",overflowY:"auto",gap:3,px:4,pb:4},alignSelf:"center",children:[(0,t.jsxs)(n.default,{alignItems:"center",spacing:2,children:[(0,t.jsx)(a.default,{sx:{p:1,bgcolor:"white",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:2},children:(0,t.jsx)(a.default,{component:d.RiTerminalBoxLine,sx:{fontSize:28,color:"iochmara.500"}})}),(0,t.jsx)(s.default,{variant:"h5",sx:{mt:2},children:"Wait, there's more!"}),(0,t.jsxs)(s.default,{sx:{textAlign:"center"},children:["Recce is currently running in"," ",(0,t.jsx)(s.default,{component:"span",sx:{fontWeight:"bold"},children:"limited functionality mode"})," ","so you can run queries but"," ",(0,t.jsx)(s.default,{component:"span",sx:{fontWeight:"bold"},children:"can't diff the results yet!"})]})]}),(0,t.jsxs)(n.default,{spacing:1,children:[(0,t.jsx)(s.default,{children:"To unlock the full power of Recce, set up a base environment of dbt artifacts for comparison."}),(0,t.jsx)(s.default,{children:"Once configured, you'll be able to:"}),(0,t.jsxs)(o.default,{sx:{listStyleType:"disc",pl:2},children:[(0,t.jsx)(l.default,{sx:{display:"list-item",p:0},children:(0,t.jsx)(s.default,{children:"Run statistical data diffs"})}),(0,t.jsx)(l.default,{sx:{display:"list-item",p:0},children:(0,t.jsx)(s.default,{children:"Run query diffs"})}),(0,t.jsx)(l.default,{sx:{display:"list-item",p:0},children:(0,t.jsx)(s.default,{children:"Save checks to your Recce Checklist"})}),(0,t.jsx)(l.default,{sx:{display:"list-item",p:0},children:(0,t.jsx)(s.default,{children:"...and more!"})})]}),(0,t.jsx)(s.default,{children:"Take the next step toward better data impact assessment."})]}),(0,t.jsx)(n.default,{sx:{width:"100%",mt:3},children:(0,t.jsx)(r.default,{color:"iochmara",variant:"contained",size:"large",onClick:()=>{window.open("https://docs.datarecce.io/get-started/#prepare-dbt-artifacts","_blank")},children:"Start Now"})})]})})}function u(){return(0,t.jsxs)(n.default,{direction:"row",spacing:"10px",alignItems:"flex-start",children:[(0,t.jsx)(a.default,{component:d.RiMindMap,sx:{color:"iochmara.main",fontSize:20}}),(0,t.jsxs)(n.default,{spacing:"5px",children:[(0,t.jsxs)(s.default,{sx:{fontWeight:700},children:["Single Environment Mode"," ",(0,t.jsx)(s.default,{component:"span",sx:{color:"error.main",fontWeight:600},children:"Limited Functionality"})]}),(0,t.jsx)(s.default,{sx:{fontSize:"0.875rem"},children:"Single Environment Mode allows you to explore your dbt project but won't show data comparisons between environments."}),(0,t.jsx)(s.default,{sx:{fontSize:"0.875rem"},children:"To set up full environment comparison:"}),(0,t.jsxs)(o.default,{sx:{pl:2},children:[(0,t.jsx)(l.default,{sx:{p:0,display:"list-item"},children:(0,t.jsx)(s.default,{sx:{fontSize:"0.875rem"},children:"Run `recce debug` for setup assistance"})}),(0,t.jsx)(l.default,{sx:{p:0,display:"list-item"},children:(0,t.jsxs)(s.default,{sx:{fontSize:"0.875rem"},children:["Visit"," ",(0,t.jsx)(i.default,{sx:{color:"primary.main",fontWeight:500},target:"_blank",href:"https://docs.datarecce.io/configure-diff/",children:"docs"})," ","for configuration details"]})})]})]})]})}e.s(["BaseEnvironmentSetupGuide",()=>c,"BaseEnvironmentSetupNotification",()=>u])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,817172,r=>{"use strict";r.s(["compressionScript",()=>'var WebWorker=function(r){"use strict";var n=Uint8Array,e=Uint16Array,f=Uint32Array,t=new n([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),a=new n([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),o=new n([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),i=function(r,n){for(var t=new e(31),a=0;a<31;++a)t[a]=n+=1<<r[a-1];var o=new f(t[30]);for(a=1;a<30;++a)for(var i=t[a];i<t[a+1];++i)o[i]=i-t[a]<<5|a;return[t,o]},v=i(t,2),u=v[0],s=v[1];u[28]=258,s[258]=28;for(var l=i(a,0)[1],c=new e(32768),h=0;h<32768;++h){var g=(43690&h)>>>1|(21845&h)<<1;g=(61680&(g=(52428&g)>>>2|(13107&g)<<2))>>>4|(3855&g)<<4,c[h]=((65280&g)>>>8|(255&g)<<8)>>>1}var w=function(r,n,f){for(var t=r.length,a=0,o=new e(n);a<t;++a)++o[r[a]-1];var i,v=new e(n);for(a=0;a<n;++a)v[a]=v[a-1]+o[a-1]<<1;if(f){i=new e(1<<n);var u=15-n;for(a=0;a<t;++a)if(r[a])for(var s=a<<4|r[a],l=n-r[a],h=v[r[a]-1]++<<l,g=h|(1<<l)-1;h<=g;++h)i[c[h]>>>u]=s}else for(i=new e(t),a=0;a<t;++a)i[a]=c[v[r[a]-1]++]>>>15-r[a];return i},d=new n(288);for(h=0;h<144;++h)d[h]=8;for(h=144;h<256;++h)d[h]=9;for(h=256;h<280;++h)d[h]=7;for(h=280;h<288;++h)d[h]=8;var m=new n(32);for(h=0;h<32;++h)m[h]=5;var y=w(d,9,0),M=w(m,5,0),p=function(r){return(r/8|0)+(7&r&&1)},b=function(r,t,a){(null==a||a>r.length)&&(a=r.length);var o=new(r instanceof e?e:r instanceof f?f:n)(a-t);return o.set(r.subarray(t,a)),o},C=function(r,n,e){e<<=7&n;var f=n/8|0;r[f]|=e,r[f+1]|=e>>>8},S=function(r,n,e){e<<=7&n;var f=n/8|0;r[f]|=e,r[f+1]|=e>>>8,r[f+2]|=e>>>16},x=function(r,f){for(var t=[],a=0;a<r.length;++a)r[a]&&t.push({s:a,f:r[a]});var o=t.length,i=t.slice();if(!o)return[new n(0),0];if(1==o){var v=new n(t[0].s+1);return v[t[0].s]=1,[v,1]}t.sort(function(r,n){return r.f-n.f}),t.push({s:-1,f:25001});var u=t[0],s=t[1],l=0,c=1,h=2;for(t[0]={s:-1,f:u.f+s.f,l:u,r:s};c!=o-1;)u=t[t[l].f<t[h].f?l++:h++],s=t[l!=c&&t[l].f<t[h].f?l++:h++],t[c++]={s:-1,f:u.f+s.f,l:u,r:s};var g=i[0].s;for(a=1;a<o;++a)i[a].s>g&&(g=i[a].s);var w=new e(g+1),d=A(t[c-1],w,0);if(d>f){a=0;var m=0,y=d-f,M=1<<y;for(i.sort(function(r,n){return w[n.s]-w[r.s]||r.f-n.f});a<o;++a){var p=i[a].s;if(!(w[p]>f))break;m+=M-(1<<d-w[p]),w[p]=f}for(m>>>=y;m>0;){var b=i[a].s;w[b]<f?m-=1<<f-w[b]++-1:++a}for(;a>=0&&m;--a){var C=i[a].s;w[C]==f&&(--w[C],++m)}d=f}return[new n(w),d]},A=function(r,n,e){return-1==r.s?Math.max(A(r.l,n,e+1),A(r.r,n,e+1)):n[r.s]=e},O=function(r){for(var n=r.length;n&&!r[--n];);for(var f=new e(++n),t=0,a=r[0],o=1,i=function(r){f[t++]=r},v=1;v<=n;++v)if(r[v]==a&&v!=n)++o;else{if(!a&&o>2){for(;o>138;o-=138)i(32754);o>2&&(i(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(i(a),--o;o>6;o-=6)i(8304);o>2&&(i(o-3<<5|8208),o=0)}for(;o--;)i(a);o=1,a=r[v]}return[f.subarray(0,t),n]},T=function(r,n){for(var e=0,f=0;f<n.length;++f)e+=r[f]*n[f];return e},k=function(r,n,e){var f=e.length,t=p(n+2);r[t]=255&f,r[t+1]=f>>>8,r[t+2]=255^r[t],r[t+3]=255^r[t+1];for(var a=0;a<f;++a)r[t+a+4]=e[a];return 8*(t+4+f)},E=function(r,n,f,i,v,u,s,l,c,h,g){C(n,g++,f),++v[256];for(var p=x(v,15),b=p[0],A=p[1],E=x(u,15),J=E[0],N=E[1],U=O(b),D=U[0],I=U[1],W=O(J),_=W[0],j=W[1],P=new e(19),q=0;q<D.length;++q)P[31&D[q]]++;for(q=0;q<_.length;++q)P[31&_[q]]++;for(var z=x(P,7),B=z[0],F=z[1],G=19;G>4&&!B[o[G-1]];--G);var H,K,L,Q,R=h+5<<3,V=T(v,d)+T(u,m)+s,X=T(v,b)+T(u,J)+s+14+3*G+T(P,B)+(2*P[16]+3*P[17]+7*P[18]);if(R<=V&&R<=X)return k(n,g,r.subarray(c,c+h));if(C(n,g,1+(X<V)),g+=2,X<V){H=w(b,A,0),K=b,L=w(J,N,0),Q=J;var Y=w(B,F,0);C(n,g,I-257),C(n,g+5,j-1),C(n,g+10,G-4),g+=14;for(q=0;q<G;++q)C(n,g+3*q,B[o[q]]);g+=3*G;for(var Z=[D,_],$=0;$<2;++$){var rr=Z[$];for(q=0;q<rr.length;++q){var nr=31&rr[q];C(n,g,Y[nr]),g+=B[nr],nr>15&&(C(n,g,rr[q]>>>5&127),g+=rr[q]>>>12)}}}else H=y,K=d,L=M,Q=m;for(q=0;q<l;++q)if(i[q]>255){nr=i[q]>>>18&31;S(n,g,H[nr+257]),g+=K[nr+257],nr>7&&(C(n,g,i[q]>>>23&31),g+=t[nr]);var er=31&i[q];S(n,g,L[er]),g+=Q[er],er>3&&(S(n,g,i[q]>>>5&8191),g+=a[er])}else S(n,g,H[i[q]]),g+=K[i[q]];return S(n,g,H[256]),g+K[256]},J=new f([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),N=function(r,o,i,v,u){return function(r,o,i,v,u,c){var h=r.length,g=new n(v+h+5*(1+Math.floor(h/7e3))+u),w=g.subarray(v,g.length-u),d=0;if(!o||h<8)for(var m=0;m<=h;m+=65535){var y=m+65535;y<h?d=k(w,d,r.subarray(m,y)):(w[m]=c,d=k(w,d,r.subarray(m,h)))}else{for(var M=J[o-1],C=M>>>13,S=8191&M,x=(1<<i)-1,A=new e(32768),O=new e(x+1),T=Math.ceil(i/3),N=2*T,U=function(n){return(r[n]^r[n+1]<<T^r[n+2]<<N)&x},D=new f(25e3),I=new e(288),W=new e(32),_=0,j=0,P=(m=0,0),q=0,z=0;m<h;++m){var B=U(m),F=32767&m,G=O[B];if(A[F]=G,O[B]=F,q<=m){var H=h-m;if((_>7e3||P>24576)&&H>423){d=E(r,w,0,D,I,W,j,P,z,m-z,d),P=_=j=0,z=m;for(var K=0;K<286;++K)I[K]=0;for(K=0;K<30;++K)W[K]=0}var L=2,Q=0,R=S,V=F-G&32767;if(H>2&&B==U(m-V))for(var X=Math.min(C,H)-1,Y=Math.min(32767,m),Z=Math.min(258,H);V<=Y&&--R&&F!=G;){if(r[m+L]==r[m+L-V]){for(var $=0;$<Z&&r[m+$]==r[m+$-V];++$);if($>L){if(L=$,Q=V,$>X)break;var rr=Math.min(V,$-2),nr=0;for(K=0;K<rr;++K){var er=m-V+K+32768&32767,fr=er-A[er]+32768&32767;fr>nr&&(nr=fr,G=er)}}}V+=(F=G)-(G=A[F])+32768&32767}if(Q){D[P++]=268435456|s[L]<<18|l[Q];var tr=31&s[L],ar=31&l[Q];j+=t[tr]+a[ar],++I[257+tr],++W[ar],q=m+L,++_}else D[P++]=r[m],++I[r[m]]}}d=E(r,w,c,D,I,W,j,P,z,m-z,d)}return b(g,0,v+p(d)+u)}(r,null==o.level?6:o.level,null==o.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(r.length)))):12+o.mem,i,v,!u)};function U(r,n){void 0===n&&(n={});var e=function(){var r=1,n=0;return{p:function(e){for(var f=r,t=n,a=e.length,o=0;o!=a;){for(var i=Math.min(o+5552,a);o<i;++o)t+=f+=e[o];f%=65521,t%=65521}r=f,n=t},d:function(){return(r>>>8<<16|(255&n)<<8|n>>>8)+2*((255&r)<<23)}}}();e.p(r);var f,t,a,o=N(r,n,2,4);return f=o,t=n.level,a=0==t?0:t<6?1:9==t?3:2,f[0]=120,f[1]=a<<6|(a?32-2*a:1),function(r,n,e){for(;e;++n)r[n]=e,e>>>=8}(o,o.length-4,e.d()),o}const D=r=>{const e={...r,v:"v1"};return function(r,n){var e="";if(!n&&"undefined"!=typeof TextDecoder)return(new TextDecoder).decode(r);for(var f=0;f<r.length;){var t=r[f++];t<128||n?e+=String.fromCharCode(t):t<224?e+=String.fromCharCode((31&t)<<6|63&r[f++]):t<240?e+=String.fromCharCode((15&t)<<12|(63&r[f++])<<6|63&r[f++]):(t=((15&t)<<18|(63&r[f++])<<12|(63&r[f++])<<6|63&r[f++])-65536,e+=String.fromCharCode(55296|t>>10,56320|1023&t))}return e}(U(function(r,e){var f=r.length;if(!e&&"undefined"!=typeof TextEncoder)return(new TextEncoder).encode(r);for(var t=new n(r.length+(r.length>>>1)),a=0,o=function(r){t[a++]=r},i=0;i<f;++i){if(a+5>t.length){var v=new n(a+8+(f-i<<1));v.set(t),t=v}var u=r.charCodeAt(i);u<128||e?o(u):u<2048?(o(192|u>>>6),o(128|63&u)):u>55295&&u<57344?(o(240|(u=65536+(1047552&u)|1023&r.charCodeAt(++i))>>>18),o(128|u>>>12&63),o(128|u>>>6&63),o(128|63&u)):(o(224|u>>>12),o(128|u>>>6&63),o(128|63&u))}return b(t,0,a)}(JSON.stringify(e))),!0)};onmessage=r=>{const{event:n,sessionId:e}="string"==typeof r.data?JSON.parse(r.data):r.data,f=JSON.stringify(D(n));postMessage({compressedEvent:f,sessionId:e})};const I=onmessage;return r.compressionOnMessage=I,Object.defineProperty(r,"__esModule",{value:!0}),r}({});\n'])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,707802,(e,t,r)=>{var n={229:function(e){var t,r,n,o=e.exports={};function u(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:u}catch(e){t=u}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===u||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}var l=[],a=!1,c=-1;function f(){a&&n&&(a=!1,n.length?l=n.concat(l):c=-1,l.length&&p())}function p(){if(!a){var e=s(f);a=!0;for(var t=l.length;t;){for(n=l,l=[];++c<t;)n&&n[c].run();c=-1,t=l.length}n=null,a=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function y(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new d(e,t)),1!==l.length||a||s(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=y,o.addListener=y,o.once=y,o.off=y,o.removeListener=y,o.removeAllListeners=y,o.emit=y,o.prependListener=y,o.prependOnceListener=y,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},o={};function u(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}},i=!0;try{n[e](r,r.exports,u),i=!1}finally{i&&delete o[e]}return r.exports}u.ab="/ROOT/node_modules/.pnpm/next@16.0.10_@babel+core@7.28.5_@opentelemetry+api@1.9.0_babel-plugin-macros@3.1.0_reac_b41129a5d0dbb99ff13b71aa74cb05b9/node_modules/next/dist/compiled/process/",t.exports=u(229)},316575,(e,t,r)=>{"use strict";var n,o;t.exports=(null==(n=e.g.process)?void 0:n.env)&&"object"==typeof(null==(o=e.g.process)?void 0:o.env)?e.g.process:e.r(707802)},107425,(e,t,r)=>{"use strict";var n=Symbol.for("react.transitional.element");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var u in r={},t)"key"!==u&&(r[u]=t[u]);else r=t;return{$$typeof:n,type:e,key:o,ref:void 0!==(t=r.ref)?t:null,props:r}}r.Fragment=Symbol.for("react.fragment"),r.jsx=o,r.jsxs=o},19483,(e,t,r)=>{"use strict";t.exports=e.r(107425)},334231,(e,t,r)=>{"use strict";var n=e.i(316575),o=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),h=Symbol.for("react.activity"),m=Symbol.for("react.view_transition"),v=Symbol.iterator,b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,g={};function S(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}function j(){}function x(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}S.prototype.isReactComponent={},S.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},S.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},j.prototype=S.prototype;var E=x.prototype=new j;E.constructor=x,_(E,S.prototype),E.isPureReactComponent=!0;var w=Array.isArray;function T(){}var O={H:null,A:null,T:null,S:null},C=Object.prototype.hasOwnProperty;function R(e,t,r){var n=r.ref;return{$$typeof:o,type:e,key:t,ref:void 0!==n?n:null,props:r}}function H(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var k=/\/+/g;function A(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function P(e,t,r){if(null==e)return e;var n=[],i=0;return!function e(t,r,n,i,s){var l,a,c,f=typeof t;("undefined"===f||"boolean"===f)&&(t=null);var p=!1;if(null===t)p=!0;else switch(f){case"bigint":case"string":case"number":p=!0;break;case"object":switch(t.$$typeof){case o:case u:p=!0;break;case y:return e((p=t._init)(t._payload),r,n,i,s)}}if(p)return s=s(t),p=""===i?"."+A(t,0):i,w(s)?(n="",null!=p&&(n=p.replace(k,"$&/")+"/"),e(s,r,n,"",function(e){return e})):null!=s&&(H(s)&&(l=s,a=n+(null==s.key||t&&t.key===s.key?"":(""+s.key).replace(k,"$&/")+"/")+p,s=R(l.type,a,l.props)),r.push(s)),1;p=0;var d=""===i?".":i+":";if(w(t))for(var h=0;h<t.length;h++)f=d+A(i=t[h],h),p+=e(i,r,n,f,s);else if("function"==typeof(h=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=v&&c[v]||c["@@iterator"])?c:null))for(t=h.call(t),h=0;!(i=t.next()).done;)f=d+A(i=i.value,h++),p+=e(i,r,n,f,s);else if("object"===f){if("function"==typeof t.then)return e(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(T,T):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(t),r,n,i,s);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(r=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return p}(e,n,"","",function(e){return t.call(r,e,i++)}),n}function $(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var M="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof n.default&&"function"==typeof n.default.emit)return void n.default.emit("uncaughtException",e);console.error(e)};function I(e){var t=O.T,r={};r.types=null!==t?t.types:null,O.T=r;try{var n=e(),o=O.S;null!==o&&o(r,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&n.then(T,M)}catch(e){M(e)}finally{null!==t&&null!==r.types&&(t.types=r.types),O.T=t}}function L(e){var t=O.T;if(null!==t){var r=t.types;null===r?t.types=[e]:-1===r.indexOf(e)&&r.push(e)}else I(L.bind(null,e))}r.Activity=h,r.Children={map:P,forEach:function(e,t,r){P(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!H(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},r.Component=S,r.Fragment=i,r.Profiler=l,r.PureComponent=x,r.StrictMode=s,r.Suspense=p,r.ViewTransition=m,r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=O,r.__COMPILER_RUNTIME={__proto__:null,c:function(e){return O.H.useMemoCache(e)}},r.addTransitionType=L,r.cache=function(e){return function(){return e.apply(null,arguments)}},r.cacheSignal=function(){return null},r.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n=_({},e.props),o=e.key;if(null!=t)for(u in void 0!==t.key&&(o=""+t.key),t)C.call(t,u)&&"key"!==u&&"__self"!==u&&"__source"!==u&&("ref"!==u||void 0!==t.ref)&&(n[u]=t[u]);var u=arguments.length-2;if(1===u)n.children=r;else if(1<u){for(var i=Array(u),s=0;s<u;s++)i[s]=arguments[s+2];n.children=i}return R(e.type,o,n)},r.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:a,_context:e},e},r.createElement=function(e,t,r){var n,o={},u=null;if(null!=t)for(n in void 0!==t.key&&(u=""+t.key),t)C.call(t,n)&&"key"!==n&&"__self"!==n&&"__source"!==n&&(o[n]=t[n]);var i=arguments.length-2;if(1===i)o.children=r;else if(1<i){for(var s=Array(i),l=0;l<i;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(n in i=e.defaultProps)void 0===o[n]&&(o[n]=i[n]);return R(e,u,o)},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:f,render:e}},r.isValidElement=H,r.lazy=function(e){return{$$typeof:y,_payload:{_status:-1,_result:e},_init:$}},r.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},r.startTransition=I,r.unstable_useCacheRefresh=function(){return O.H.useCacheRefresh()},r.use=function(e){return O.H.use(e)},r.useActionState=function(e,t,r){return O.H.useActionState(e,t,r)},r.useCallback=function(e,t){return O.H.useCallback(e,t)},r.useContext=function(e){return O.H.useContext(e)},r.useDebugValue=function(){},r.useDeferredValue=function(e,t){return O.H.useDeferredValue(e,t)},r.useEffect=function(e,t){return O.H.useEffect(e,t)},r.useEffectEvent=function(e){return O.H.useEffectEvent(e)},r.useId=function(){return O.H.useId()},r.useImperativeHandle=function(e,t,r){return O.H.useImperativeHandle(e,t,r)},r.useInsertionEffect=function(e,t){return O.H.useInsertionEffect(e,t)},r.useLayoutEffect=function(e,t){return O.H.useLayoutEffect(e,t)},r.useMemo=function(e,t){return O.H.useMemo(e,t)},r.useOptimistic=function(e,t){return O.H.useOptimistic(e,t)},r.useReducer=function(e,t,r){return O.H.useReducer(e,t,r)},r.useRef=function(e){return O.H.useRef(e)},r.useState=function(e){return O.H.useState(e)},r.useSyncExternalStore=function(e,t,r){return O.H.useSyncExternalStore(e,t,r)},r.useTransition=function(){return O.H.useTransition()},r.version="19.3.0-canary-52684925-20251110"},187725,(e,t,r)=>{"use strict";t.exports=e.r(334231)},653910,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let n=e.r(19483),o=e.r(673671),u={fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},i={fontSize:"14px",fontWeight:400,lineHeight:"28px",margin:"0 8px"},s=function({error:e}){let t=e?.digest;return(0,n.jsxs)("html",{id:"__next_error__",children:[(0,n.jsx)("head",{}),(0,n.jsxs)("body",{children:[(0,n.jsx)(o.HandleISRError,{error:e}),(0,n.jsx)("div",{style:u,children:(0,n.jsxs)("div",{children:[(0,n.jsxs)("h2",{style:i,children:["Application error: a ",t?"server":"client","-side exception has occurred while loading ",window.location.hostname," (see the"," ",t?"server logs":"browser console"," for more information)."]}),t?(0,n.jsx)("p",{style:i,children:`Digest: ${t}`}):null]})})]})]})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},684423,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"setAttributesFromProps",{enumerable:!0,get:function(){return i}});let n={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},o=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function u(e){return["async","defer","noModule"].includes(e)}function i(e,t){for(let[r,i]of Object.entries(t)){if(!t.hasOwnProperty(r)||o.includes(r)||void 0===i)continue;let s=n[r]||r.toLowerCase();"SCRIPT"===e.tagName&&u(s)?e[s]=!!i:e.setAttribute(s,String(i)),(!1===i||"SCRIPT"===e.tagName&&u(s)&&(!i||"false"===i))&&(e.setAttribute(s,""),e.removeAttribute(s))}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},691277,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=e.r(481258)._(e.r(187725)).default.createContext({})}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,829216,e=>{"use strict";var i=e.i(19483),t=e.i(918132),r=e.i(302061);function n(){return(0,i.jsx)(t.ReactFlowProvider,{children:(0,i.jsx)(r.LineageView,{interactive:!0})})}e.s(["LineagePage",()=>n])},670337,e=>{"use strict";var i=e.i(19483),t=e.i(829216);function r(){return(0,i.jsx)(t.LineagePage,{})}e.s(["default",()=>r])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[data-simplebar]{flex-flow:column wrap;place-content:flex-start;align-items:flex-start;position:relative}.simplebar-wrapper{width:inherit;height:inherit;max-width:inherit;max-height:inherit;overflow:hidden}.simplebar-mask{direction:inherit;z-index:0;margin:0;padding:0;position:absolute;inset:0;overflow:hidden;width:auto!important;height:auto!important}.simplebar-offset{-webkit-overflow-scrolling:touch;margin:0;padding:0;position:absolute;inset:0;direction:inherit!important;box-sizing:inherit!important;resize:none!important}.simplebar-content-wrapper{direction:inherit;scrollbar-width:none;-ms-overflow-style:none;width:auto;max-width:100%;height:100%;max-height:100%;display:block;position:relative;overflow:auto;box-sizing:border-box!important}.simplebar-content-wrapper::-webkit-scrollbar{width:0;height:0;display:none}.simplebar-hide-scrollbar::-webkit-scrollbar{width:0;height:0;display:none}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{pointer-events:none;width:100%;max-width:100%;max-height:100%}.simplebar-height-auto-observer-wrapper{float:left;z-index:-1;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0;width:100%;max-width:1px;height:100%;max-height:1px;margin:0;padding:0;position:relative;overflow:hidden;box-sizing:inherit!important}.simplebar-height-auto-observer{box-sizing:inherit;opacity:0;pointer-events:none;z-index:-1;width:1000%;min-width:1px;height:1000%;min-height:1px;display:block;position:absolute;top:0;left:0;overflow:hidden}.simplebar-track{z-index:1;pointer-events:none;position:absolute;bottom:0;right:0;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-khtml-user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{min-height:10px;position:absolute;left:0;right:0}.simplebar-scrollbar:before{content:"";opacity:0;background:#000;border-radius:7px;transition:opacity .2s linear .5s;position:absolute;left:2px;right:2px}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-duration:0s;transition-delay:0s}.simplebar-track.simplebar-vertical{width:11px;top:0}.simplebar-scrollbar:before{inset:2px}.simplebar-track.simplebar-horizontal{height:11px;left:0}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{width:auto;min-width:10px;min-height:0;inset:0 auto 0 0}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{left:0;right:auto}.simplebar-dummy-scrollbar-size{opacity:0;visibility:hidden;direction:rtl;width:500px;height:500px;position:fixed;overflow:scroll hidden;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{visibility:hidden;scrollbar-width:none;-ms-overflow-style:none;position:fixed;left:0;overflow-y:scroll}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,585190,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return a}});let a=e=>{}},153029,e=>{"use strict";var t=function(){var t="ampIntegrationContext";return"undefined"!=typeof globalThis&&void 0!==globalThis[t]?globalThis[t]:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof self?self:e.g};e.s(["getGlobalScope",()=>t])},69993,e=>{"use strict";var t=e.i(19483),r=e.i(187725);let a=(0,r.createContext)({latestSelectedCheckId:"",setLatestSelectedCheckId:()=>{}});function o({children:e}){let[o,l]=r.default.useState("");return(0,t.jsx)(a.Provider,{value:{setLatestSelectedCheckId:l,latestSelectedCheckId:o},children:e})}e.s(["RecceCheckContextProvider",()=>o,"useRecceCheckContext",0,()=>(0,r.useContext)(a)])},36239,e=>{"use strict";e.i(316575);var t=e.i(187725),r=e.i(7284),a=e.i(778024),o=e.i(446547),l=e.i(73205),i=e.i(519273),s=e.i(36297),n=e.i(19483);let c=(0,s.default)((0,n.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var u=e.i(435983),d=e.i(446519);function f(e){return(0,d.default)("MuiAvatar",e)}(0,u.default)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);var p=e.i(577950);let h=(0,o.styled)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],r.colorDefault&&t.colorDefault]}})((0,l.default)(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(e.vars||e).palette.background.default,...e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.grey[400],...e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})}}}]}))),v=(0,o.styled)("img",{name:"MuiAvatar",slot:"Img"})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),g=(0,o.styled)(c,{name:"MuiAvatar",slot:"Fallback"})({width:"75%",height:"75%"}),m=t.forwardRef(function(e,o){let l=(0,i.useDefaultProps)({props:e,name:"MuiAvatar"}),{alt:s,children:c,className:u,component:d="div",slots:m={},slotProps:y={},imgProps:b,sizes:k,src:w,srcSet:P,variant:x="circular",...C}=l,j=null,S={...l,component:d,variant:x},T=function({crossOrigin:e,referrerPolicy:r,src:a,srcSet:o}){let[l,i]=t.useState(!1);return t.useEffect(()=>{if(!a&&!o)return;i(!1);let t=!0,l=new Image;return l.onload=()=>{t&&i("loaded")},l.onerror=()=>{t&&i("error")},l.crossOrigin=e,l.referrerPolicy=r,l.src=a,o&&(l.srcset=o),()=>{t=!1}},[e,r,a,o]),l}({...b,..."function"==typeof y.img?y.img(S):y.img,src:w,srcSet:P}),R=w||P,A=R&&"error"!==T;S.colorDefault=!A,delete S.ownerState;let F=(e=>{let{classes:t,variant:r,colorDefault:o}=e;return(0,a.default)({root:["root",r,o&&"colorDefault"],img:["img"],fallback:["fallback"]},f,t)})(S),[I,M]=(0,p.default)("root",{ref:o,className:(0,r.default)(F.root,u),elementType:h,externalForwardedProps:{slots:m,slotProps:y,component:d,...C},ownerState:S}),[D,O]=(0,p.default)("img",{className:F.img,elementType:v,externalForwardedProps:{slots:m,slotProps:{img:{...b,...y.img}}},additionalProps:{alt:s,src:w,srcSet:P,sizes:k},ownerState:S}),[z,B]=(0,p.default)("fallback",{className:F.fallback,elementType:g,externalForwardedProps:{slots:m,slotProps:y},shouldForwardComponentProp:!0,ownerState:S});return j=A?(0,n.jsx)(D,{...O}):c||0===c?c:R&&s?s[0]:(0,n.jsx)(z,{...B}),(0,n.jsx)(I,{...M,children:j})});e.s(["default",0,m],36239)},422508,e=>{"use strict";var t=e.i(31368),r=e.i(705443);async function a(){try{return(await r.axiosClient.get("/api/users")).data}catch(e){throw console.error("Error fetching user data:",e),e}}async function o(e){try{return(await t.default.get(`https://api.github.com/user/${e}`)).data.avatar_url}catch(e){return console.warn("Failed to fetch GitHub avatar:",e),null}}e.s(["fetchGitHubAvatar",()=>o,"fetchUser",()=>a])},18737,e=>{e.v(t=>Promise.all(["static/chunks/206d5d181e4c738e.js"].map(t=>e.l(t))).then(()=>t(962027)))},686224,e=>{e.v(t=>Promise.all(["static/chunks/5c4dfb0d09eaa401.js"].map(t=>e.l(t))).then(()=>t(817172)))},525120,e=>{e.v(t=>Promise.all(["static/chunks/b851a1d3f8149828.js"].map(t=>e.l(t))).then(()=>t(423142)))},197107,e=>{e.v(t=>Promise.all(["static/chunks/025a7e3e3f9f40ae.js"].map(t=>e.l(t))).then(()=>t(795773)))},33542,e=>{e.v(t=>Promise.all(["static/chunks/ee7f1a8227342421.js"].map(t=>e.l(t))).then(()=>t(576864)))}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,601217,t=>{"use strict";let r,e,n,o,i=(t,r)=>r.some(r=>t instanceof r),f=new WeakMap,u=new WeakMap,s=new WeakMap,a={get(t,r,e){if(t instanceof IDBTransaction){if("done"===r)return f.get(t);if("store"===r)return e.objectStoreNames[1]?void 0:e.objectStore(e.objectStoreNames[0])}return h(t[r])},set:(t,r,e)=>(t[r]=e,!0),has:(t,r)=>t instanceof IDBTransaction&&("done"===r||"store"===r)||r in t};function h(t){if(t instanceof IDBRequest){let r;return r=new Promise((r,e)=>{let n=()=>{t.removeEventListener("success",o),t.removeEventListener("error",i)},o=()=>{r(h(t.result)),n()},i=()=>{e(t.error),n()};t.addEventListener("success",o),t.addEventListener("error",i)}),s.set(r,t),r}if(u.has(t))return u.get(t);let r=function(t){if("function"==typeof t)return(o||(o=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(t)?function(...r){return t.apply(c(this),r),h(this.request)}:function(...r){return h(t.apply(c(this),r))};return(t instanceof IDBTransaction&&function(t){if(f.has(t))return;let r=new Promise((r,e)=>{let n=()=>{t.removeEventListener("complete",o),t.removeEventListener("error",i),t.removeEventListener("abort",i)},o=()=>{r(),n()},i=()=>{e(t.error||new DOMException("AbortError","AbortError")),n()};t.addEventListener("complete",o),t.addEventListener("error",i),t.addEventListener("abort",i)});f.set(t,r)}(t),i(t,n||(n=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])))?new Proxy(t,a):t}(t);return r!==t&&(u.set(t,r),s.set(r,t)),r}let c=t=>s.get(t);function l(t,r,{blocked:e,upgrade:n,blocking:o,terminated:i}={}){let f=indexedDB.open(t,r),u=h(f);return n&&f.addEventListener("upgradeneeded",t=>{n(h(f.result),t.oldVersion,t.newVersion,h(f.transaction),t)}),e&&f.addEventListener("blocked",t=>e(t.oldVersion,t.newVersion,t)),u.then(t=>{i&&t.addEventListener("close",()=>i()),o&&t.addEventListener("versionchange",t=>o(t.oldVersion,t.newVersion,t))}).catch(()=>{}),u}let p=["get","getKey","getAll","getAllKeys","count"],y=["put","add","delete","clear"],g=new Map;function d(t,r){if(!(t instanceof IDBDatabase&&!(r in t)&&"string"==typeof r))return;if(g.get(r))return g.get(r);let e=r.replace(/FromIndex$/,""),n=r!==e,o=y.includes(e);if(!(e in(n?IDBIndex:IDBObjectStore).prototype)||!(o||p.includes(e)))return;let i=async function(t,...r){let i=this.transaction(t,o?"readwrite":"readonly"),f=i.store;return n&&(f=f.index(r.shift())),(await Promise.all([f[e](...r),o&&i.done]))[0]};return g.set(r,i),i}a={...r=a,get:(t,e,n)=>d(t,e)||r.get(t,e,n),has:(t,e)=>!!d(t,e)||r.has(t,e)};let v=["continue","continuePrimaryKey","advance"],b={},w=new WeakMap,m=new WeakMap,E={get(t,r){if(!v.includes(r))return t[r];let e=b[r];return e||(e=b[r]=function(...t){w.set(this,m.get(this)[r](...t))}),e}};async function*B(...t){let r=this;if(r instanceof IDBCursor||(r=await r.openCursor(...t)),!r)return;let e=new Proxy(r,E);for(m.set(e,r),s.set(e,c(r));r;)yield e,r=await (w.get(e)||r.continue()),w.delete(e)}function A(t,r){return r===Symbol.asyncIterator&&i(t,[IDBIndex,IDBObjectStore,IDBCursor])||"iterate"===r&&i(t,[IDBIndex,IDBObjectStore])}a={...e=a,get:(t,r,n)=>A(t,r)?B:e.get(t,r,n),has:(t,r)=>A(t,r)||e.has(t,r)},t.s(["openDB",()=>l])},415306,(t,r,e)=>{var n={675:function(t,r){"use strict";r.byteLength=function(t){var r=s(t),e=r[0],n=r[1];return(e+n)*3/4-n},r.toByteArray=function(t){var r,e,i=s(t),f=i[0],u=i[1],a=new o((f+u)*3/4-u),h=0,c=u>0?f-4:f;for(e=0;e<c;e+=4)r=n[t.charCodeAt(e)]<<18|n[t.charCodeAt(e+1)]<<12|n[t.charCodeAt(e+2)]<<6|n[t.charCodeAt(e+3)],a[h++]=r>>16&255,a[h++]=r>>8&255,a[h++]=255&r;return 2===u&&(r=n[t.charCodeAt(e)]<<2|n[t.charCodeAt(e+1)]>>4,a[h++]=255&r),1===u&&(r=n[t.charCodeAt(e)]<<10|n[t.charCodeAt(e+1)]<<4|n[t.charCodeAt(e+2)]>>2,a[h++]=r>>8&255,a[h++]=255&r),a},r.fromByteArray=function(t){for(var r,n=t.length,o=n%3,i=[],f=0,u=n-o;f<u;f+=16383)i.push(function(t,r,n){for(var o,i=[],f=r;f<n;f+=3)o=(t[f]<<16&0xff0000)+(t[f+1]<<8&65280)+(255&t[f+2]),i.push(e[o>>18&63]+e[o>>12&63]+e[o>>6&63]+e[63&o]);return i.join("")}(t,f,f+16383>u?u:f+16383));return 1===o?i.push(e[(r=t[n-1])>>2]+e[r<<4&63]+"=="):2===o&&i.push(e[(r=(t[n-2]<<8)+t[n-1])>>10]+e[r>>4&63]+e[r<<2&63]+"="),i.join("")};for(var e=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,u=i.length;f<u;++f)e[f]=i[f],n[i.charCodeAt(f)]=f;function s(t){var r=t.length;if(r%4>0)throw Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");-1===e&&(e=r);var n=e===r?0:4-e%4;return[e,n]}n[45]=62,n[95]=63},72:function(t,r,e){"use strict";var n=e(675),o=e(783),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function f(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,u.prototype),r}function u(t,r,e){if("number"==typeof t){if("string"==typeof r)throw TypeError('The "string" argument must be of type string. Received type number');return h(t)}return s(t,r,e)}function s(t,r,e){if("string"==typeof t){var n=t,o=r;if(("string"!=typeof o||""===o)&&(o="utf8"),!u.isEncoding(o))throw TypeError("Unknown encoding: "+o);var i=0|p(n,o),s=f(i),a=s.write(n,o);return a!==i&&(s=s.slice(0,a)),s}if(ArrayBuffer.isView(t))return c(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(U(t,ArrayBuffer)||t&&U(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(U(t,SharedArrayBuffer)||t&&U(t.buffer,SharedArrayBuffer)))return function(t,r,e){var n;if(r<0||t.byteLength<r)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===r&&void 0===e?new Uint8Array(t):void 0===e?new Uint8Array(t,r):new Uint8Array(t,r,e),u.prototype),n}(t,r,e);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var h=t.valueOf&&t.valueOf();if(null!=h&&h!==t)return u.from(h,r,e);var y=function(t){if(u.isBuffer(t)){var r=0|l(t.length),e=f(r);return 0===e.length||t.copy(e,0,0,r),e}return void 0!==t.length?"number"!=typeof t.length||function(t){return t!=t}(t.length)?f(0):c(t):"Buffer"===t.type&&Array.isArray(t.data)?c(t.data):void 0}(t);if(y)return y;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return u.from(t[Symbol.toPrimitive]("string"),r,e);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function a(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function h(t){return a(t),f(t<0?0:0|l(t))}function c(t){for(var r=t.length<0?0:0|l(t.length),e=f(r),n=0;n<r;n+=1)e[n]=255&t[n];return e}r.Buffer=u,r.SlowBuffer=function(t){return+t!=t&&(t=0),u.alloc(+t)},r.INSPECT_MAX_BYTES=50,r.kMaxLength=0x7fffffff,u.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),42===t.foo()}catch(t){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(t,r,e){return s(t,r,e)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(t,r,e){return(a(t),t<=0)?f(t):void 0!==r?"string"==typeof e?f(t).fill(r,e):f(t).fill(r):f(t)},u.allocUnsafe=function(t){return h(t)},u.allocUnsafeSlow=function(t){return h(t)};function l(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function p(t,r){if(u.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||U(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===e)return 0;for(var o=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return x(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*e;case"hex":return e>>>1;case"base64":return S(t).length;default:if(o)return n?-1:x(t).length;r=(""+r).toLowerCase(),o=!0}}function y(t,r,e){var o,i,f,u=!1;if((void 0===r||r<0)&&(r=0),r>this.length||((void 0===e||e>this.length)&&(e=this.length),e<=0||(e>>>=0)<=(r>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var o="",i=r;i<e;++i)o+=_[t[i]];return o}(this,r,e);case"utf8":case"utf-8":return b(this,r,e);case"ascii":return function(t,r,e){var n="";e=Math.min(t.length,e);for(var o=r;o<e;++o)n+=String.fromCharCode(127&t[o]);return n}(this,r,e);case"latin1":case"binary":return function(t,r,e){var n="";e=Math.min(t.length,e);for(var o=r;o<e;++o)n+=String.fromCharCode(t[o]);return n}(this,r,e);case"base64":return o=this,i=r,f=e,0===i&&f===o.length?n.fromByteArray(o):n.fromByteArray(o.slice(i,f));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,r,e){for(var n=t.slice(r,e),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(this,r,e);default:if(u)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),u=!0}}function g(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}function d(t,r,e,n,o){var i;if(0===t.length)return -1;if("string"==typeof e?(n=e,e=0):e>0x7fffffff?e=0x7fffffff:e<-0x80000000&&(e=-0x80000000),(i=e*=1)!=i&&(e=o?0:t.length-1),e<0&&(e=t.length+e),e>=t.length)if(o)return -1;else e=t.length-1;else if(e<0)if(!o)return -1;else e=0;if("string"==typeof r&&(r=u.from(r,n)),u.isBuffer(r))return 0===r.length?-1:v(t,r,e,n,o);if("number"==typeof r){if(r&=255,"function"==typeof Uint8Array.prototype.indexOf)if(o)return Uint8Array.prototype.indexOf.call(t,r,e);else return Uint8Array.prototype.lastIndexOf.call(t,r,e);return v(t,[r],e,n,o)}throw TypeError("val must be string, number or Buffer")}function v(t,r,e,n,o){var i,f=1,u=t.length,s=r.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||r.length<2)return -1;f=2,u/=2,s/=2,e/=2}function a(t,r){return 1===f?t[r]:t.readUInt16BE(r*f)}if(o){var h=-1;for(i=e;i<u;i++)if(a(t,i)===a(r,-1===h?0:i-h)){if(-1===h&&(h=i),i-h+1===s)return h*f}else -1!==h&&(i-=i-h),h=-1}else for(e+s>u&&(e=u-s),i=e;i>=0;i--){for(var c=!0,l=0;l<s;l++)if(a(t,i+l)!==a(r,l)){c=!1;break}if(c)return i}return -1}u.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==u.prototype},u.compare=function(t,r){if(U(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),U(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var e=t.length,n=r.length,o=0,i=Math.min(e,n);o<i;++o)if(t[o]!==r[o]){e=t[o],n=r[o];break}return e<n?-1:+(n<e)},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,r){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);if(void 0===r)for(e=0,r=0;e<t.length;++e)r+=t[e].length;var e,n=u.allocUnsafe(r),o=0;for(e=0;e<t.length;++e){var i=t[e];if(U(i,Uint8Array)&&(i=u.from(i)),!u.isBuffer(i))throw TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},u.byteLength=p,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)g(this,r,r+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)g(this,r,r+3),g(this,r+1,r+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)g(this,r,r+7),g(this,r+1,r+6),g(this,r+2,r+5),g(this,r+3,r+4);return this},u.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?b(this,0,t):y.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(t){if(!u.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",e=r.INSPECT_MAX_BYTES;return t=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(t+=" ... "),"<Buffer "+t+">"},i&&(u.prototype[i]=u.prototype.inspect),u.prototype.compare=function(t,r,e,n,o){if(U(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===r&&(r=0),void 0===e&&(e=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),r<0||e>t.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&r>=e)return 0;if(n>=o)return -1;if(r>=e)return 1;if(r>>>=0,e>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var i=o-n,f=e-r,s=Math.min(i,f),a=this.slice(n,o),h=t.slice(r,e),c=0;c<s;++c)if(a[c]!==h[c]){i=a[c],f=h[c];break}return i<f?-1:+(f<i)},u.prototype.includes=function(t,r,e){return -1!==this.indexOf(t,r,e)},u.prototype.indexOf=function(t,r,e){return d(this,t,r,e,!0)},u.prototype.lastIndexOf=function(t,r,e){return d(this,t,r,e,!1)};function b(t,r,e){e=Math.min(t.length,e);for(var n=[],o=r;o<e;){var i,f,u,s,a=t[o],h=null,c=a>239?4:a>223?3:a>191?2:1;if(o+c<=e)switch(c){case 1:a<128&&(h=a);break;case 2:(192&(i=t[o+1]))==128&&(s=(31&a)<<6|63&i)>127&&(h=s);break;case 3:i=t[o+1],f=t[o+2],(192&i)==128&&(192&f)==128&&(s=(15&a)<<12|(63&i)<<6|63&f)>2047&&(s<55296||s>57343)&&(h=s);break;case 4:i=t[o+1],f=t[o+2],u=t[o+3],(192&i)==128&&(192&f)==128&&(192&u)==128&&(s=(15&a)<<18|(63&i)<<12|(63&f)<<6|63&u)>65535&&s<1114112&&(h=s)}null===h?(h=65533,c=1):h>65535&&(h-=65536,n.push(h>>>10&1023|55296),h=56320|1023&h),n.push(h),o+=c}var l=n,p=l.length;if(p<=4096)return String.fromCharCode.apply(String,l);for(var y="",g=0;g<p;)y+=String.fromCharCode.apply(String,l.slice(g,g+=4096));return y}function w(t,r,e){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+r>e)throw RangeError("Trying to access beyond buffer length")}function m(t,r,e,n,o,i){if(!u.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(r>o||r<i)throw RangeError('"value" argument is out of bounds');if(e+n>t.length)throw RangeError("Index out of range")}function E(t,r,e,n,o,i){if(e+n>t.length||e<0)throw RangeError("Index out of range")}function B(t,r,e,n,i){return r*=1,e>>>=0,i||E(t,r,e,4,34028234663852886e22,-34028234663852886e22),o.write(t,r,e,n,23,4),e+4}function A(t,r,e,n,i){return r*=1,e>>>=0,i||E(t,r,e,8,17976931348623157e292,-17976931348623157e292),o.write(t,r,e,n,52,8),e+8}u.prototype.write=function(t,r,e,n){if(void 0===r)n="utf8",e=this.length,r=0;else if(void 0===e&&"string"==typeof r)n=r,e=this.length,r=0;else if(isFinite(r))r>>>=0,isFinite(e)?(e>>>=0,void 0===n&&(n="utf8")):(n=e,e=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,f,u,s,a,h,c,l=this.length-r;if((void 0===e||e>l)&&(e=l),t.length>0&&(e<0||r<0)||r>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(t,r,e,n){e=Number(e)||0;var o=t.length-e;n?(n=Number(n))>o&&(n=o):n=o;var i=r.length;n>i/2&&(n=i/2);for(var f=0;f<n;++f){var u,s=parseInt(r.substr(2*f,2),16);if((u=s)!=u)break;t[e+f]=s}return f}(this,t,r,e);case"utf8":case"utf-8":return o=r,i=e,T(x(t,this.length-o),this,o,i);case"ascii":return f=r,u=e,T(O(t),this,f,u);case"latin1":case"binary":return function(t,r,e,n){return T(O(r),t,e,n)}(this,t,r,e);case"base64":return s=r,a=e,T(S(t),this,s,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h=r,c=e,T(function(t,r){for(var e,n,o=[],i=0;i<t.length&&!((r-=2)<0);++i)n=(e=t.charCodeAt(i))>>8,o.push(e%256),o.push(n);return o}(t,this.length-h),this,h,c);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},u.prototype.slice=function(t,r){var e=this.length;t=~~t,r=void 0===r?e:~~r,t<0?(t+=e)<0&&(t=0):t>e&&(t=e),r<0?(r+=e)<0&&(r=0):r>e&&(r=e),r<t&&(r=t);var n=this.subarray(t,r);return Object.setPrototypeOf(n,u.prototype),n},u.prototype.readUIntLE=function(t,r,e){t>>>=0,r>>>=0,e||w(t,r,this.length);for(var n=this[t],o=1,i=0;++i<r&&(o*=256);)n+=this[t+i]*o;return n},u.prototype.readUIntBE=function(t,r,e){t>>>=0,r>>>=0,e||w(t,r,this.length);for(var n=this[t+--r],o=1;r>0&&(o*=256);)n+=this[t+--r]*o;return n},u.prototype.readUInt8=function(t,r){return t>>>=0,r||w(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,r){return t>>>=0,r||w(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,r){return t>>>=0,r||w(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,r){return t>>>=0,r||w(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},u.prototype.readUInt32BE=function(t,r){return t>>>=0,r||w(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,r,e){t>>>=0,r>>>=0,e||w(t,r,this.length);for(var n=this[t],o=1,i=0;++i<r&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*r)),n},u.prototype.readIntBE=function(t,r,e){t>>>=0,r>>>=0,e||w(t,r,this.length);for(var n=r,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*r)),i},u.prototype.readInt8=function(t,r){return(t>>>=0,r||w(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},u.prototype.readInt16LE=function(t,r){t>>>=0,r||w(t,2,this.length);var e=this[t]|this[t+1]<<8;return 32768&e?0xffff0000|e:e},u.prototype.readInt16BE=function(t,r){t>>>=0,r||w(t,2,this.length);var e=this[t+1]|this[t]<<8;return 32768&e?0xffff0000|e:e},u.prototype.readInt32LE=function(t,r){return t>>>=0,r||w(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,r){return t>>>=0,r||w(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,r){return t>>>=0,r||w(t,4,this.length),o.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,r){return t>>>=0,r||w(t,4,this.length),o.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,r){return t>>>=0,r||w(t,8,this.length),o.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,r){return t>>>=0,r||w(t,8,this.length),o.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,r,e,n){if(t*=1,r>>>=0,e>>>=0,!n){var o=Math.pow(2,8*e)-1;m(this,t,r,e,o,0)}var i=1,f=0;for(this[r]=255&t;++f<e&&(i*=256);)this[r+f]=t/i&255;return r+e},u.prototype.writeUIntBE=function(t,r,e,n){if(t*=1,r>>>=0,e>>>=0,!n){var o=Math.pow(2,8*e)-1;m(this,t,r,e,o,0)}var i=e-1,f=1;for(this[r+i]=255&t;--i>=0&&(f*=256);)this[r+i]=t/f&255;return r+e},u.prototype.writeUInt8=function(t,r,e){return t*=1,r>>>=0,e||m(this,t,r,1,255,0),this[r]=255&t,r+1},u.prototype.writeUInt16LE=function(t,r,e){return t*=1,r>>>=0,e||m(this,t,r,2,65535,0),this[r]=255&t,this[r+1]=t>>>8,r+2},u.prototype.writeUInt16BE=function(t,r,e){return t*=1,r>>>=0,e||m(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=255&t,r+2},u.prototype.writeUInt32LE=function(t,r,e){return t*=1,r>>>=0,e||m(this,t,r,4,0xffffffff,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t,r+4},u.prototype.writeUInt32BE=function(t,r,e){return t*=1,r>>>=0,e||m(this,t,r,4,0xffffffff,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},u.prototype.writeIntLE=function(t,r,e,n){if(t*=1,r>>>=0,!n){var o=Math.pow(2,8*e-1);m(this,t,r,e,o-1,-o)}var i=0,f=1,u=0;for(this[r]=255&t;++i<e&&(f*=256);)t<0&&0===u&&0!==this[r+i-1]&&(u=1),this[r+i]=(t/f|0)-u&255;return r+e},u.prototype.writeIntBE=function(t,r,e,n){if(t*=1,r>>>=0,!n){var o=Math.pow(2,8*e-1);m(this,t,r,e,o-1,-o)}var i=e-1,f=1,u=0;for(this[r+i]=255&t;--i>=0&&(f*=256);)t<0&&0===u&&0!==this[r+i+1]&&(u=1),this[r+i]=(t/f|0)-u&255;return r+e},u.prototype.writeInt8=function(t,r,e){return t*=1,r>>>=0,e||m(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=255&t,r+1},u.prototype.writeInt16LE=function(t,r,e){return t*=1,r>>>=0,e||m(this,t,r,2,32767,-32768),this[r]=255&t,this[r+1]=t>>>8,r+2},u.prototype.writeInt16BE=function(t,r,e){return t*=1,r>>>=0,e||m(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=255&t,r+2},u.prototype.writeInt32LE=function(t,r,e){return t*=1,r>>>=0,e||m(this,t,r,4,0x7fffffff,-0x80000000),this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4},u.prototype.writeInt32BE=function(t,r,e){return t*=1,r>>>=0,e||m(this,t,r,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},u.prototype.writeFloatLE=function(t,r,e){return B(this,t,r,!0,e)},u.prototype.writeFloatBE=function(t,r,e){return B(this,t,r,!1,e)},u.prototype.writeDoubleLE=function(t,r,e){return A(this,t,r,!0,e)},u.prototype.writeDoubleBE=function(t,r,e){return A(this,t,r,!1,e)},u.prototype.copy=function(t,r,e,n){if(!u.isBuffer(t))throw TypeError("argument should be a Buffer");if(e||(e=0),n||0===n||(n=this.length),r>=t.length&&(r=t.length),r||(r=0),n>0&&n<e&&(n=e),n===e||0===t.length||0===this.length)return 0;if(r<0)throw RangeError("targetStart out of bounds");if(e<0||e>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-r<n-e&&(n=t.length-r+e);var o=n-e;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(r,e,n);else if(this===t&&e<r&&r<n)for(var i=o-1;i>=0;--i)t[i+r]=this[i+e];else Uint8Array.prototype.set.call(t,this.subarray(e,n),r);return o},u.prototype.fill=function(t,r,e,n){if("string"==typeof t){if("string"==typeof r?(n=r,r=0,e=this.length):"string"==typeof e&&(n=e,e=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===t.length){var o,i=t.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(t=i)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(r<0||this.length<r||this.length<e)throw RangeError("Out of range index");if(e<=r)return this;if(r>>>=0,e=void 0===e?this.length:e>>>0,t||(t=0),"number"==typeof t)for(o=r;o<e;++o)this[o]=t;else{var f=u.isBuffer(t)?t:u.from(t,n),s=f.length;if(0===s)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<e-r;++o)this[o+r]=f[o%s]}return this};var I=/[^+/0-9A-Za-z-_]/g;function x(t,r){r=r||1/0;for(var e,n=t.length,o=null,i=[],f=0;f<n;++f){if((e=t.charCodeAt(f))>55295&&e<57344){if(!o){if(e>56319||f+1===n){(r-=3)>-1&&i.push(239,191,189);continue}o=e;continue}if(e<56320){(r-=3)>-1&&i.push(239,191,189),o=e;continue}e=(o-55296<<10|e-56320)+65536}else o&&(r-=3)>-1&&i.push(239,191,189);if(o=null,e<128){if((r-=1)<0)break;i.push(e)}else if(e<2048){if((r-=2)<0)break;i.push(e>>6|192,63&e|128)}else if(e<65536){if((r-=3)<0)break;i.push(e>>12|224,e>>6&63|128,63&e|128)}else if(e<1114112){if((r-=4)<0)break;i.push(e>>18|240,e>>12&63|128,e>>6&63|128,63&e|128)}else throw Error("Invalid code point")}return i}function O(t){for(var r=[],e=0;e<t.length;++e)r.push(255&t.charCodeAt(e));return r}function S(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(I,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function T(t,r,e,n){for(var o=0;o<n&&!(o+e>=r.length)&&!(o>=t.length);++o)r[o+e]=t[o];return o}function U(t,r){return t instanceof r||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===r.name}var _=function(){for(var t="0123456789abcdef",r=Array(256),e=0;e<16;++e)for(var n=16*e,o=0;o<16;++o)r[n+o]=t[e]+t[o];return r}()},783:function(t,r){r.read=function(t,r,e,n,o){var i,f,u=8*o-n-1,s=(1<<u)-1,a=s>>1,h=-7,c=e?o-1:0,l=e?-1:1,p=t[r+c];for(c+=l,i=p&(1<<-h)-1,p>>=-h,h+=u;h>0;i=256*i+t[r+c],c+=l,h-=8);for(f=i&(1<<-h)-1,i>>=-h,h+=n;h>0;f=256*f+t[r+c],c+=l,h-=8);if(0===i)i=1-a;else{if(i===s)return f?NaN:1/0*(p?-1:1);f+=Math.pow(2,n),i-=a}return(p?-1:1)*f*Math.pow(2,i-n)},r.write=function(t,r,e,n,o,i){var f,u,s,a=8*i-o-1,h=(1<<a)-1,c=h>>1,l=5960464477539062e-23*(23===o),p=n?0:i-1,y=n?1:-1,g=+(r<0||0===r&&1/r<0);for(isNaN(r=Math.abs(r))||r===1/0?(u=+!!isNaN(r),f=h):(f=Math.floor(Math.log(r)/Math.LN2),r*(s=Math.pow(2,-f))<1&&(f--,s*=2),f+c>=1?r+=l/s:r+=l*Math.pow(2,1-c),r*s>=2&&(f++,s/=2),f+c>=h?(u=0,f=h):f+c>=1?(u=(r*s-1)*Math.pow(2,o),f+=c):(u=r*Math.pow(2,c-1)*Math.pow(2,o),f=0));o>=8;t[e+p]=255&u,p+=y,u/=256,o-=8);for(f=f<<o|u,a+=o;a>0;t[e+p]=255&f,p+=y,f/=256,a-=8);t[e+p-y]|=128*g}}},o={};function i(t){var r=o[t];if(void 0!==r)return r.exports;var e=o[t]={exports:{}},f=!0;try{n[t](e,e.exports,i),f=!1}finally{f&&delete o[t]}return e.exports}i.ab="/ROOT/node_modules/.pnpm/next@16.0.10_@babel+core@7.28.5_@opentelemetry+api@1.9.0_babel-plugin-macros@3.1.0_reac_b41129a5d0dbb99ff13b71aa74cb05b9/node_modules/next/dist/compiled/buffer/",r.exports=i(72)},824627,t=>{"use strict";var r=function(t,e){return(r=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,e)};function e(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var n=function(){return(n=Object.assign||function(t){for(var r,e=1,n=arguments.length;e<n;e++)for(var o in r=arguments[e])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t}).apply(this,arguments)};function o(t,r){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>r.indexOf(n)&&(e[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)0>r.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(e[n[o]]=t[n[o]]);return e}function i(t,r,e,n){return new(e||(e=Promise))(function(o,i){function f(t){try{s(n.next(t))}catch(t){i(t)}}function u(t){try{s(n.throw(t))}catch(t){i(t)}}function s(t){var r;t.done?o(t.value):((r=t.value)instanceof e?r:new e(function(t){t(r)})).then(f,u)}s((n=n.apply(t,r||[])).next())})}function f(t,r){var e,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},f=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return f.next=u(0),f.throw=u(1),f.return=u(2),"function"==typeof Symbol&&(f[Symbol.iterator]=function(){return this}),f;function u(u){return function(s){var a=[u,s];if(e)throw TypeError("Generator is already executing.");for(;f&&(f=0,a[0]&&(i=0)),i;)try{if(e=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=r.call(t,i)}catch(t){a=[6,t],n=0}finally{e=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}}function u(t){var r="function"==typeof Symbol&&Symbol.iterator,e=r&&t[r],n=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(t,r){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var n,o,i=e.call(t),f=[];try{for(;(void 0===r||r-- >0)&&!(n=i.next()).done;)f.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(o)throw o.error}}return f}function a(t,r,e){if(e||2==arguments.length)for(var n,o=0,i=r.length;o<i;o++)!n&&o in r||(n||(n=Array.prototype.slice.call(r,0,o)),n[o]=r[o]);return t.concat(n||Array.prototype.slice.call(r))}function h(t){return this instanceof h?(this.v=t,this):new h(t)}function c(t,r,e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,o=e.apply(t,r||[]),i=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),f("next"),f("throw"),f("return",function(t){return function(r){return Promise.resolve(r).then(t,a)}}),n[Symbol.asyncIterator]=function(){return this},n;function f(t,r){o[t]&&(n[t]=function(r){return new Promise(function(e,n){i.push([t,r,e,n])>1||u(t,r)})},r&&(n[t]=r(n[t])))}function u(t,r){try{var e;(e=o[t](r)).value instanceof h?Promise.resolve(e.value.v).then(s,a):c(i[0][2],e)}catch(t){c(i[0][3],t)}}function s(t){u("next",t)}function a(t){u("throw",t)}function c(t,r){t(r),i.shift(),i.length&&u(i[0][0],i[0][1])}}function l(t){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,e=t[Symbol.asyncIterator];return e?e.call(t):(t=u(t),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(e){r[e]=t[e]&&function(r){return new Promise(function(n,o){var i,f,u;i=n,f=o,u=(r=t[e](r)).done,Promise.resolve(r.value).then(function(t){i({value:t,done:u})},f)})}}}"function"==typeof SuppressedError&&SuppressedError,t.s(["__assign",()=>n,"__asyncGenerator",()=>c,"__asyncValues",()=>l,"__await",()=>h,"__awaiter",()=>i,"__extends",()=>e,"__generator",()=>f,"__read",()=>s,"__rest",()=>o,"__spreadArray",()=>a,"__values",()=>u])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,408821,e=>{"use strict";var r=e.i(19483),t=e.i(324066),i=e.i(76130),o=e.i(427938),n=e.i(542098),s=e.i(187725);function a({error:e,reset:a}){return(0,s.useEffect)(()=>{n.captureException(e,{tags:{errorBoundary:"app",digest:e.digest},extra:{componentStack:e.stack}}),console.error("App Error Boundary caught error:",e)},[e]),(0,r.jsx)(t.default,{sx:{height:"100%",bgcolor:"grey.50",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,r.jsxs)(t.default,{sx:{p:2,display:"flex",flexDirection:"column",justifyContent:"flex-start",bgcolor:"white",border:"solid lightgray 1px",borderRadius:"8px",minHeight:"200px",boxShadow:3},children:[(0,r.jsx)(o.default,{variant:"h6",sx:{width:"800px",mb:2},children:"You have encountered an error"}),(0,r.jsx)(t.default,{sx:{flex:1,fontSize:"10pt",color:"grey.600",mb:2},children:e.message||String(e)}),e.digest&&(0,r.jsxs)(t.default,{sx:{fontSize:"9pt",color:"grey.400",mb:2},children:["Error ID: ",e.digest]}),(0,r.jsx)(i.default,{sx:{justifySelf:"center",alignSelf:"center",mt:"20px"},color:"iochmara",variant:"contained",size:"small",onClick:()=>{a()},children:"Try again"})]})})}e.s(["default",()=>a])}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
.index-column{color:gray;text-align:right}.rdg-cell{border-style:solid;border-width:0 1px 1px 0;border-color:var(--rdg-border-color);background-color:var(--rdg-background-color)}.rdg-cell[role=columnheader],.rdg-cell.rdg-cell-frozen[role=gridcell]{background-color:#f5f5f5}.diff-header-added,.diff-header-added.rdg-cell.rdg-cell-frozen[role=gridcell]{color:#fff;background-color:#15803d}.diff-header-removed,.diff-header-removed.rdg-cell.rdg-cell-frozen[role=gridcell]{color:#fff;background-color:#f43f5e}.diff-cell-added.rdg-cell{color:#000;background-color:#cefece}.diff-cell-removed.rdg-cell,.diff-cell-modified.rdg-cell{color:#000;background-color:#ffc5c5}.cell-show-context-menu{overflow:visible}.grid-header:hover .pin-icon,.grid-header:hover .key-icon{display:block}.rdg-row:hover .row-context-menu{visibility:visible;width:auto}
|
|
2
|
+
@layer rdg{@layer Defaults,FocusSink,CheckboxInput,CheckboxIcon,CheckboxLabel,Cell,HeaderCell,SummaryCell,EditCell,Row,HeaderRow,SummaryRow,GroupedRow,Root;}@layer rdg.MeasuringCell{.mlln6zg7-0-0-beta-58{contain:strict;visibility:hidden;grid-row:1}}@layer rdg.Cell{.cj343x07-0-0-beta-58{border-inline-end:var(--rdg-border-width)solid var(--rdg-border-color);border-block-end:var(--rdg-border-width)solid var(--rdg-border-color);grid-row-start:var(--rdg-grid-row-start);background-color:inherit;white-space:nowrap;text-overflow:ellipsis;outline:none;align-content:center;padding-block:0;padding-inline:8px;position:relative;overflow:clip}.cj343x07-0-0-beta-58[aria-selected=true]{outline:var(--rdg-selection-width)solid var(--rdg-selection-color);outline-offset:calc(var(--rdg-selection-width)*-1)}}@layer rdg.Cell{.csofj7r7-0-0-beta-58{z-index:1;position:sticky}.csofj7r7-0-0-beta-58:nth-last-child(1 of .csofj7r7-0-0-beta-58){box-shadow:var(--rdg-cell-frozen-box-shadow)}}@layer rdg.DragHandle{.ch2wcw87-0-0-beta-58{--rdg-drag-handle-size:8px;z-index:0;cursor:move;inline-size:var(--rdg-drag-handle-size);block-size:var(--rdg-drag-handle-size);background-color:var(--rdg-selection-color);place-self:end}.ch2wcw87-0-0-beta-58:hover{--rdg-drag-handle-size:16px;border:2px solid var(--rdg-selection-color);background-color:var(--rdg-background-color)}}@layer rdg.DragHandle{.c1wvphzh7-0-0-beta-58{z-index:1;position:sticky}}@layer rdg.CheckboxInput{.c1bn88vv7-0-0-beta-58{block-size:20px;inline-size:20px;margin:auto;display:block}.c1bn88vv7-0-0-beta-58:focus-visible{outline:2px solid var(--rdg-checkbox-focus-color);outline-offset:-3px}.c1bn88vv7-0-0-beta-58:enabled{cursor:pointer}}@layer rdg.GroupCellContent{.g1s9ylgp7-0-0-beta-58{outline:none}}@layer rdg.GroupCellCaret{.cz54e4y7-0-0-beta-58{stroke:currentColor;stroke-width:1.5px;fill:#0000;vertical-align:middle;margin-inline-start:4px}.cz54e4y7-0-0-beta-58>path{transition:d .1s}}@layer rdg.SortableHeaderCell{.h44jtk67-0-0-beta-58{display:flex}}@layer rdg.SortableHeaderCellName{.hcgkhxz7-0-0-beta-58{text-overflow:ellipsis;flex-grow:1;overflow:clip}}@layer rdg.Cell{.c6ra8a37-0-0-beta-58{background-color:#ccf}}@layer rdg.EditCell{.cis5rrm7-0-0-beta-58{padding:0}}@layer rdg.HeaderCell{.c6l2wv17-0-0-beta-58{cursor:pointer}}@layer rdg.HeaderCell{.c1kqdw7y7-0-0-beta-58{touch-action:none}}@layer rdg.HeaderCell{.r1y6ywlx7-0-0-beta-58{cursor:col-resize;inline-size:10px;position:absolute;inset-block:0;inset-inline-end:0}}@layer rdg.HeaderCell{.c1bezg5o7-0-0-beta-58{background-color:var(--rdg-header-draggable-background-color)}}@layer rdg.HeaderCell{.c1vc96037-0-0-beta-58{background-color:var(--rdg-header-draggable-background-color)}}@layer rdg.HeaderCell{.d8rwc9w7-0-0-beta-58{outline-offset:-2px;border-radius:4px;outline:2px solid #008cff;width:fit-content}}@layer rdg.Row{.r1upfr807-0-0-beta-58{background-color:var(--rdg-background-color);display:contents}.r1upfr807-0-0-beta-58:hover{background-color:var(--rdg-row-hover-background-color)}.r1upfr807-0-0-beta-58[aria-selected=true]{background-color:var(--rdg-row-selected-background-color)}.r1upfr807-0-0-beta-58[aria-selected=true]:hover{background-color:var(--rdg-row-selected-hover-background-color)}}@layer rdg.FocusSink{.r190mhd37-0-0-beta-58{outline:2px solid var(--rdg-selection-color);outline-offset:-2px}}@layer rdg.FocusSink{.r139qu9m7-0-0-beta-58:before{content:"";border-inline-start:2px solid var(--rdg-selection-color);block-size:100%;display:inline-block;position:sticky;inset-inline-start:0}}@layer rdg.HeaderRow{.h10tskcx7-0-0-beta-58{background-color:var(--rdg-header-background-color);font-weight:700;display:contents}.h10tskcx7-0-0-beta-58>.cj343x07-0-0-beta-58{z-index:2;position:sticky}.h10tskcx7-0-0-beta-58>.csofj7r7-0-0-beta-58{z-index:3}}@layer rdg.SortIcon{.a3ejtar7-0-0-beta-58{fill:currentColor}.a3ejtar7-0-0-beta-58>path{transition:d .1s}}@layer rdg.Defaults{.rnvodz57-0-0-beta-58 *,.rnvodz57-0-0-beta-58 :before,.rnvodz57-0-0-beta-58 :after{box-sizing:inherit}}@layer rdg.Root{.rnvodz57-0-0-beta-58{--rdg-selection-width:2px;--rdg-selection-color:#67afe9;--rdg-font-size:14px;--rdg-cell-frozen-box-shadow:2px 0 5px -2px #8888884d;--rdg-border-width:1px;--rdg-summary-border-width:calc(var(--rdg-border-width)*2);--rdg-color:var(--lightningcss-light,#000)var(--lightningcss-dark,#ddd);--rdg-border-color:var(--lightningcss-light,#ddd)var(--lightningcss-dark,#444);--rdg-summary-border-color:var(--lightningcss-light,#aaa)var(--lightningcss-dark,#555);--rdg-background-color:var(--lightningcss-light,#fff)var(--lightningcss-dark,#212121);--rdg-header-background-color:var(--lightningcss-light,#f9f9f9)var(--lightningcss-dark,#1b1b1b);--rdg-header-draggable-background-color:var(--lightningcss-light,#e7e7e7)var(--lightningcss-dark,#2d2d2d);--rdg-row-hover-background-color:var(--lightningcss-light,#f5f5f5)var(--lightningcss-dark,#171717);--rdg-row-selected-background-color:var(--lightningcss-light,#dbecfa)var(--lightningcss-dark,#1a73bc);--rdg-row-selected-hover-background-color:var(--lightningcss-light,#c9e3f8)var(--lightningcss-dark,#1768ab);--rdg-checkbox-focus-color:#61b8ff}.rnvodz57-0-0-beta-58.rdg-dark{--rdg-color-scheme:dark}.rnvodz57-0-0-beta-58.rdg-light{--rdg-color-scheme:light}.rnvodz57-0-0-beta-58{color-scheme:var(--rdg-color-scheme,light dark)}.rnvodz57-0-0-beta-58:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){--rdg-cell-frozen-box-shadow:-2px 0 5px -2px #8888884d}.rnvodz57-0-0-beta-58{accent-color:var(--lightningcss-light,#005194)var(--lightningcss-dark,#94cfff);contain:content;content-visibility:auto;border:1px solid var(--rdg-border-color);box-sizing:border-box;background-color:var(--rdg-background-color);block-size:350px;color:var(--rdg-color);font-size:var(--rdg-font-size);display:grid;overflow:auto}.rnvodz57-0-0-beta-58:before{content:"";grid-area:1/1/-1/-1}.rnvodz57-0-0-beta-58>:nth-last-child(1 of .rdg-top-summary-row)>.cj343x07-0-0-beta-58{border-block-end:var(--rdg-summary-border-width)solid var(--rdg-summary-border-color)}.rnvodz57-0-0-beta-58>:nth-child(1 of .rdg-bottom-summary-row)>.cj343x07-0-0-beta-58{border-block-start:var(--rdg-summary-border-width)solid var(--rdg-summary-border-color)}}@layer rdg.Root{.vlqv91k7-0-0-beta-58{-webkit-user-select:none;user-select:none}.vlqv91k7-0-0-beta-58 .r1upfr807-0-0-beta-58{cursor:move}}@layer rdg.FocusSink{.f1lsfrzw7-0-0-beta-58{pointer-events:none;z-index:1;grid-column:1/-1}}@layer rdg.FocusSink{.f1cte0lg7-0-0-beta-58{z-index:3}}@layer rdg.SummaryCell{.s8wc6fl7-0-0-beta-58{inset-block-start:var(--rdg-summary-row-top);inset-block-end:var(--rdg-summary-row-bottom)}}@layer rdg.SummaryRow{.skuhp557-0-0-beta-58>.cj343x07-0-0-beta-58{position:sticky}}@layer rdg.SummaryRow{.tf8l5ub7-0-0-beta-58>.cj343x07-0-0-beta-58{z-index:2}.tf8l5ub7-0-0-beta-58>.csofj7r7-0-0-beta-58{z-index:3}}@layer rdg.GroupedRow{.g1yxluv37-0-0-beta-58:not([aria-selected=true]){background-color:var(--rdg-header-background-color)}:is(.g1yxluv37-0-0-beta-58>.cj343x07-0-0-beta-58:not(:last-child,.csofj7r7-0-0-beta-58),.g1yxluv37-0-0-beta-58>:nth-last-child(n+2 of .csofj7r7-0-0-beta-58)){border-inline-end:none}}@layer rdg.TextEditor{.t7vyx3i7-0-0-beta-58{appearance:none;box-sizing:border-box;vertical-align:top;block-size:100%;inline-size:100%;color:var(--rdg-color);background-color:var(--rdg-background-color);font-family:inherit;font-size:var(--rdg-font-size);border:2px solid #ccc;padding-block:0;padding-inline:6px}.t7vyx3i7-0-0-beta-58:focus{border-color:var(--rdg-selection-color);outline:none}.t7vyx3i7-0-0-beta-58::placeholder{color:#999;opacity:1}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:800;src:url(../media/montserrat-cyrillic-ext-800-normal.076c2a93.woff2)format("woff2"),url(../media/montserrat-cyrillic-ext-800-normal.a4fa76b5.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:800;src:url(../media/montserrat-cyrillic-800-normal.d80d830d.woff2)format("woff2"),url(../media/montserrat-cyrillic-800-normal.f9d58125.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:800;src:url(../media/montserrat-vietnamese-800-normal.f9eb854e.woff2)format("woff2"),url(../media/montserrat-vietnamese-800-normal.9f7b8541.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:800;src:url(../media/montserrat-latin-ext-800-normal.40ec0659.woff2)format("woff2"),url(../media/montserrat-latin-ext-800-normal.b671449b.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:800;src:url(../media/montserrat-latin-800-normal.cde454cc.woff2)format("woff2"),url(../media/montserrat-latin-800-normal.d5761935.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
|