@intent-hq/web 2.392.0 → 2.392.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/chunks/{CB8FMdnB.js → 0TbppU-W.js} +2 -2
- package/web/app/immutable/chunks/{D7rh8Clb.js → 3rqOYBi3.js} +1 -1
- package/web/app/immutable/chunks/{B_DmwFyf.js → 50HYkjWD.js} +3 -3
- package/web/app/immutable/chunks/{B77w2td3.js → 7zxUzaYz.js} +1 -1
- package/web/app/immutable/chunks/{CV86ty5-.js → 9AKr1UyY.js} +1 -1
- package/web/app/immutable/chunks/{IhhtpC0N.js → AlO3r9jV.js} +1 -1
- package/web/app/immutable/chunks/{BybDBA-a.js → B0oQ37UY.js} +1 -1
- package/web/app/immutable/chunks/{B_GvRk21.js → B2frqTj8.js} +1 -1
- package/web/app/immutable/chunks/{mE5-Vs-0.js → B6wkNYPs.js} +1 -1
- package/web/app/immutable/chunks/{B4OBYHli.js → B97l6Xkk.js} +1 -1
- package/web/app/immutable/chunks/{DnNE_pmq.js → B9NjB9vD.js} +1 -1
- package/web/app/immutable/chunks/{C6DQmPVB.js → B9ZgGXDm.js} +1 -1
- package/web/app/immutable/chunks/{DpDGJXfb.js → BB5TUToP.js} +2 -2
- package/web/app/immutable/chunks/{lE7gD_tn.js → BDRM-DVo.js} +1 -1
- package/web/app/immutable/chunks/{Bg5K6Ci3.js → BE3g5vcj.js} +1 -1
- package/web/app/immutable/chunks/{BxCgCRwx.js → BJEFEyAm.js} +1 -1
- package/web/app/immutable/chunks/BPFSAjsd.js +411 -0
- package/web/app/immutable/chunks/{1NvRJVY9.js → BS9LmSp_.js} +1 -1
- package/web/app/immutable/chunks/{Bk3dX2Ob.js → BSMi55yC.js} +1 -1
- package/web/app/immutable/chunks/{qqJggbSF.js → BSpgPPjp.js} +1 -1
- package/web/app/immutable/chunks/{Dv2WcD53.js → BTE0066U.js} +1 -1
- package/web/app/immutable/chunks/{BnGY4PVn.js → BUF0WvAS.js} +1 -1
- package/web/app/immutable/chunks/{CDD7ui9Z.js → BUPWY1pO.js} +1 -1
- package/web/app/immutable/chunks/{CQPid4Qr.js → BVBh582U.js} +1 -1
- package/web/app/immutable/chunks/{Bdh-SKNo.js → BdlwjSpf.js} +1 -1
- package/web/app/immutable/chunks/{B_4oJZFT.js → Bhul7r_Y.js} +1 -1
- package/web/app/immutable/chunks/{DQ3EU1b-.js → BlVpCoL1.js} +1 -1
- package/web/app/immutable/chunks/{DQYwt0RJ.js → Bp6DusVC.js} +1 -1
- package/web/app/immutable/chunks/{k5fprFtz.js → BuM8LV7z.js} +1 -1
- package/web/app/immutable/chunks/{D8CQQUv8.js → BvByaKKp.js} +1 -1
- package/web/app/immutable/chunks/{BJRZEnHw.js → BvvIG-FE.js} +1 -1
- package/web/app/immutable/chunks/{D5A4PJDt.js → BwFe8eI9.js} +1 -1
- package/web/app/immutable/chunks/{DITs7RNY.js → Bwa2n5jC.js} +1 -1
- package/web/app/immutable/chunks/{BnbmXiW4.js → ByvcSsIj.js} +1 -1
- package/web/app/immutable/chunks/{vpLnaArD.js → C13CRqsS.js} +1 -1
- package/web/app/immutable/chunks/{BK5l06W2.js → C6Af0QaF.js} +1 -1
- package/web/app/immutable/chunks/{udmuNwTR.js → C7MFACZg.js} +1 -1
- package/web/app/immutable/chunks/{pUywXnJP.js → C9DStJW1.js} +1 -1
- package/web/app/immutable/chunks/{uPtH8pRz.js → C9iwh4F-.js} +1 -1
- package/web/app/immutable/chunks/{B6SGYvow.js → CA5vNvRD.js} +3 -3
- package/web/app/immutable/chunks/{CcijsN8m.js → CBQrOO2t.js} +1 -1
- package/web/app/immutable/chunks/{CSbEYhAV.js → CCyGGl6b.js} +1 -1
- package/web/app/immutable/chunks/{BCwKGJpG.js → CDcxODgf.js} +1 -1
- package/web/app/immutable/chunks/{Bj58rFtD.js → CEqrck_t.js} +1 -1
- package/web/app/immutable/chunks/{Ca1iiPGq.js → CGJ5yTzR.js} +3 -3
- package/web/app/immutable/chunks/{BPd-Q6x4.js → CJItvMq2.js} +1 -1
- package/web/app/immutable/chunks/{Qvf67TfJ.js → CLX81MHV.js} +1 -1
- package/web/app/immutable/chunks/{DzNzbnYA.js → CPNOsHfj.js} +1 -1
- package/web/app/immutable/chunks/{BjPpzZjk.js → CPav-V5t.js} +2 -2
- package/web/app/immutable/chunks/{Cv6grH4l.js → CPmXQBUf.js} +1 -1
- package/web/app/immutable/chunks/{CtcGxSOx.js → CQClkuxa.js} +1 -1
- package/web/app/immutable/chunks/{BbK9qDRy.js → CRFyRwf-.js} +1 -1
- package/web/app/immutable/chunks/{_IIJlCYC.js → CRIoGx5T.js} +1 -1
- package/web/app/immutable/chunks/{D_-4DIK6.js → CSzXeH2S.js} +1 -1
- package/web/app/immutable/chunks/{kSTrWIIB.js → CUiYYsIq.js} +1 -1
- package/web/app/immutable/chunks/{C3AR_gNB.js → CUmvnJK5.js} +1 -1
- package/web/app/immutable/chunks/{AVUhaNFO.js → CWS5g6aA.js} +1 -1
- package/web/app/immutable/chunks/{7590d3_e.js → CY56l_5k.js} +1 -1
- package/web/app/immutable/chunks/{BRPh2Gky.js → CcBmcC9f.js} +2 -2
- package/web/app/immutable/chunks/{CykElrvo.js → CcMCIG6E.js} +2 -2
- package/web/app/immutable/chunks/{BqF1bVQC.js → CccfsETL.js} +2 -2
- package/web/app/immutable/chunks/{Boky5e4-.js → CdLJ0-dH.js} +1 -1
- package/web/app/immutable/chunks/{DwJUGAx4.js → Cdw7QKyr.js} +3 -3
- package/web/app/immutable/chunks/{DqQWmhFJ.js → CeHL-3WK.js} +1 -1
- package/web/app/immutable/chunks/{ggRB4LMK.js → CewZlXwy.js} +1 -1
- package/web/app/immutable/chunks/{Fiwts6D3.js → CiNmS1jZ.js} +1 -1
- package/web/app/immutable/chunks/{B-mEBo1a.js → CngTEvgU.js} +1 -1
- package/web/app/immutable/chunks/{R2QRct6h.js → CorT7tdR.js} +1 -1
- package/web/app/immutable/chunks/{Bs5b-3jJ.js → Cp4SiU7R.js} +1 -1
- package/web/app/immutable/chunks/{C3cVfkio.js → CpT48V2z.js} +1 -1
- package/web/app/immutable/chunks/{C8TRSNUb.js → Ct0fN4Lt.js} +1 -1
- package/web/app/immutable/chunks/{8ljmIEEj.js → CtzbB_EQ.js} +1 -1
- package/web/app/immutable/chunks/{B76dt5zP.js → CzK_7_Jd.js} +1 -1
- package/web/app/immutable/chunks/{C0JQvbI4.js → D-j7vD5Z.js} +1 -1
- package/web/app/immutable/chunks/{CtBzyNOX.js → D0DIeAXH.js} +1 -1
- package/web/app/immutable/chunks/{CVZzx9IJ.js → D6EyZ2rd.js} +1 -1
- package/web/app/immutable/chunks/{DwwEvwlj.js → D8MIwtpL.js} +1 -1
- package/web/app/immutable/chunks/{CUtsQ_at.js → DA3tGWzX.js} +1 -1
- package/web/app/immutable/chunks/{D7VoSTzK.js → DDDvNwR-.js} +1 -1
- package/web/app/immutable/chunks/{IHdKCjQM.js → DEsM7h8K.js} +2 -2
- package/web/app/immutable/chunks/{BZnji9hP.js → DFNKkiho.js} +4 -4
- package/web/app/immutable/chunks/{B469nFvV.js → DIME5LWK.js} +2 -2
- package/web/app/immutable/chunks/{BkxevPaB.js → DIxibpTv.js} +1 -1
- package/web/app/immutable/chunks/{CXTQXSCs.js → DL__HI6l.js} +1 -1
- package/web/app/immutable/chunks/{mpTxy2jJ.js → DNup87JQ.js} +1 -1
- package/web/app/immutable/chunks/{BNNeufNk.js → DQe_5JbW.js} +1 -1
- package/web/app/immutable/chunks/{BLUGgUG-.js → DTNrtzyx.js} +1 -1
- package/web/app/immutable/chunks/{C-BJXKy-.js → DTbyG794.js} +1 -1
- package/web/app/immutable/chunks/{B8RXlIBH.js → DTco_120.js} +1 -1
- package/web/app/immutable/chunks/{C7q_UkFQ.js → DUcJILSg.js} +1 -1
- package/web/app/immutable/chunks/{CxuKWK-9.js → DY9w61PC.js} +6 -6
- package/web/app/immutable/chunks/{wRT2cc73.js → DYzxLuOL.js} +1 -1
- package/web/app/immutable/chunks/{BhxHPYvf.js → D_R1vNH8.js} +1 -1
- package/web/app/immutable/chunks/{CyHB14hJ.js → D_YMc8vN.js} +1 -1
- package/web/app/immutable/chunks/{wtJmZfcy.js → DaTkisKB.js} +1 -1
- package/web/app/immutable/chunks/{CDjbPb5H.js → DaTwSOqs.js} +1 -1
- package/web/app/immutable/chunks/{D42wJcQ3.js → DbB491_u.js} +1 -1
- package/web/app/immutable/chunks/{BjEG_fCJ.js → DdU2snxg.js} +1 -1
- package/web/app/immutable/chunks/{BFVncOQi.js → DdYVblGk.js} +1 -1
- package/web/app/immutable/chunks/DejjV5ft.js +1 -0
- package/web/app/immutable/chunks/{DtuubiMf.js → Dgvdn_ax.js} +1 -1
- package/web/app/immutable/chunks/{Cb6ALa0V.js → Dhs7RSq9.js} +1 -1
- package/web/app/immutable/chunks/{BzKqzACd.js → DivmpPFQ.js} +1 -1
- package/web/app/immutable/chunks/{Xk1ND_1x.js → DlnCrS3y.js} +1 -1
- package/web/app/immutable/chunks/{i2kR60wc.js → DmtYsVlu.js} +2 -2
- package/web/app/immutable/chunks/{B8pX1T5t.js → DotCIVLI.js} +1 -1
- package/web/app/immutable/chunks/{CkTAy7fl.js → Dp0kLnIL.js} +1 -1
- package/web/app/immutable/chunks/{BnJ52enz.js → DqCgFTqN.js} +1 -1
- package/web/app/immutable/chunks/{DPbxpEc3.js → DuFY1gwd.js} +4 -4
- package/web/app/immutable/chunks/{BmyNM7bS.js → DvdITStP.js} +1 -1
- package/web/app/immutable/chunks/{B9-jkWWp.js → Dvzvnzzu.js} +1 -1
- package/web/app/immutable/chunks/{ynQC8xZQ.js → DznISJQO.js} +1 -1
- package/web/app/immutable/chunks/{BN9pl0_x.js → FS0kRzLP.js} +1 -1
- package/web/app/immutable/chunks/{w3KJAO4V.js → H8hIaDaV.js} +1 -1
- package/web/app/immutable/chunks/{7BHYBi88.js → KPBWxwIA.js} +1 -1
- package/web/app/immutable/chunks/{CPUJ3EYc.js → KRACSBb9.js} +1 -1
- package/web/app/immutable/chunks/{DbSflHPQ.js → KvfW-q1N.js} +1 -1
- package/web/app/immutable/chunks/{vezRCn6E.js → MFTfhUYi.js} +1 -1
- package/web/app/immutable/chunks/{CkyxPppw.js → OuI4JmWC.js} +1 -1
- package/web/app/immutable/chunks/{Cx8Rw_sH.js → PejVYY2W.js} +3 -3
- package/web/app/immutable/chunks/{m8Q2Rt7R.js → QKQvZF-2.js} +2 -2
- package/web/app/immutable/chunks/{BKxcGjV6.js → R3fZBk-k.js} +1 -1
- package/web/app/immutable/chunks/{CGO_zr9m.js → RqSv1iWX.js} +1 -1
- package/web/app/immutable/chunks/{zFu37m6L.js → WWq3hijy.js} +1 -1
- package/web/app/immutable/chunks/{CDUMf4mn.js → Xr-aTNRN.js} +1 -1
- package/web/app/immutable/chunks/{BCL-o_Md.js → ZIePA90q.js} +3 -3
- package/web/app/immutable/chunks/{xK5y1U34.js → a3O-Ns1M.js} +1 -1
- package/web/app/immutable/chunks/{DfyDNbbj.js → aoX2v33V.js} +4 -4
- package/web/app/immutable/chunks/{Z_lXVxA_.js → b7gnFN68.js} +1 -1
- package/web/app/immutable/chunks/{D3m2Y1N8.js → ciQFmiC4.js} +1 -1
- package/web/app/immutable/chunks/{DsDbrkJf.js → f0WUpIfB.js} +1 -1
- package/web/app/immutable/chunks/{CIqC9ucK.js → gX9ZnDRD.js} +1 -1
- package/web/app/immutable/chunks/{CqPoxrPz.js → gXHlCg5O.js} +1 -1
- package/web/app/immutable/chunks/{D7z6HEeo.js → i2Q0D3-m.js} +1 -1
- package/web/app/immutable/chunks/{y83c7yRZ.js → oM2TfoNE.js} +1 -1
- package/web/app/immutable/chunks/{BirGv2ci.js → pQalwNsE.js} +1 -1
- package/web/app/immutable/chunks/{qLTVpfPn.js → r4dmBxo_.js} +1 -1
- package/web/app/immutable/chunks/{DJSAkzw5.js → rmHQzJ1a.js} +1 -1
- package/web/app/immutable/chunks/{DYrrsQ1p.js → vJJtTADX.js} +1 -1
- package/web/app/immutable/chunks/{C-e2e9PC.js → vq6mxGLA.js} +1 -1
- package/web/app/immutable/chunks/{DT_a2Oi3.js → x9IQ_8UO.js} +1 -1
- package/web/app/immutable/chunks/{DeLdUBWT.js → z2uEgbos.js} +1 -1
- package/web/app/immutable/entry/{app.aDjWpyk7.js → app.Dh0FLLBd.js} +2 -2
- package/web/app/immutable/entry/start.IMZH36aM.js +1 -0
- package/web/app/immutable/nodes/{0.D_e7AeTl.js → 0.BlcS-Hyh.js} +1 -1
- package/web/app/immutable/nodes/{1.DA21OvwY.js → 1.BMTchPFq.js} +1 -1
- package/web/app/immutable/nodes/{10.CSASJEbg.js → 10.CfDNhRgU.js} +1 -1
- package/web/app/immutable/nodes/{11.DW2JfBsq.js → 11.CxSRkGHD.js} +1 -1
- package/web/app/immutable/nodes/{15.DrH3We44.js → 15.DCpm4k7K.js} +1 -1
- package/web/app/immutable/nodes/{19.DyUaZQFK.js → 19.C2T81__z.js} +2 -2
- package/web/app/immutable/nodes/{2.CTOsyef2.js → 2.1iJIAnw5.js} +1 -1
- package/web/app/immutable/nodes/{20.BPfqGZ4o.js → 20.BHRuLw4-.js} +1 -1
- package/web/app/immutable/nodes/{3.xcZps6DB.js → 3.BDDby9Gq.js} +1 -1
- package/web/app/immutable/nodes/{4.DaJkDmFI.js → 4.utfN0vdd.js} +1 -1
- package/web/app/immutable/nodes/{5.7rTxN-4O.js → 5.Z6w8za6J.js} +1 -1
- package/web/app/immutable/nodes/{6.tsWwri9c.js → 6.w_k_ibWb.js} +1 -1
- package/web/app/immutable/nodes/{7.CDTojphP.js → 7.I-q-I1bs.js} +1 -1
- package/web/app/immutable/nodes/{8.BO5ffLDm.js → 8.BgjULPKU.js} +1 -1
- package/web/app/immutable/nodes/{9.D0POivb2.js → 9.DOkmR0cl.js} +2 -2
- package/web/app/version.json +1 -1
- package/web/index.html +9 -9
- package/web/app/immutable/chunks/C4AJzMws.js +0 -411
- package/web/app/immutable/chunks/DrCYFWYk.js +0 -1
- package/web/app/immutable/entry/start.1qdHg029.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./3SdAC2_C.js";import{p as De}from"./CA6H1-bp.js";import"./BRCr02in.js";import{j as Oe,k as we,c as We,l as ke}from"./CxR-pcVt.js";import{s as qe}from"./C0JQvbI4.js";import{i as _e}from"./Bu13V5mO.js";function Ze(t,i={}){const l=(i.axis??"y")==="y"?"height":"width",o=parseFloat(getComputedStyle(t)[l]);if(!Number.isFinite(o))return{duration:0};const v=i.duration??160,y=v<=80?"fast":v<=160?"moderate":"slow";return Oe(t,{axis:i.axis,tier:y},{direction:"in"})}function $e(){return qe.get("enableComponentTransitions")}const Ae={request(){},settle(){}},O=new WeakMap,He=2,ze=2e3,re=2,Pe=1e3,Ve=3e3;function et(t,i){let l=i.enabled??!0,o=i.follow,v=i.onFollowChange,y=i.onScrollStateChange,T=i.threshold??100,w=!1,h=null,u=null,m=null,x=null,d=null,b=null,M=null,F=null,S=0,R=null,g=!1,$=null;const L=new Set,W=new Map,P=new WeakSet,k=new Map,A=document.createElement("div");A.dataset.followBottomAnchor="",A.setAttribute("aria-hidden","true"),A.style.cssText=`height:1px;${i.layoutNeutralBottomAnchor?"margin-top:-1px;":""}overflow-anchor:auto;pointer-events:none;flex:0 0 auto;`;function G(e){e===A||k.has(e)||(k.set(e,e.style.overflowAnchor),e.style.overflowAnchor="none")}function V(e){const n=k.get(e);n!==void 0&&(e.style.overflowAnchor=n,k.delete(e))}function I(e){if(e)for(const r of t.children)r instanceof HTMLElement&&G(r);else for(const r of k.keys())V(r);const n=e?"auto":"none";A.style.overflowAnchor!==n&&(A.style.overflowAnchor=n),e?(A.parentElement!==t||A.nextSibling)&&t.append(A):A.remove()}function H(){I(o)}function C(){A.remove();for(const e of k.keys())V(e)}function Y(e){P.add(e),x?.observe(e)}function j(){d!==null&&cancelAnimationFrame(d),F!==null&&cancelAnimationFrame(F),d=null,F=null,S=0,R=null}function c(){return Math.max(0,t.scrollHeight-t.clientHeight)}function D(){return $??=getComputedStyle(t).overflowAnchor!=="none",$}function q(){const e=c(),n=t.scrollTop,r=h??void 0;h={maximum:e,scrollTop:n};const f={maximum:e,scrollTop:n,previous:r};return p.observe(f),f}function U(e=q()){return e.scrollTop!==e.maximum&&(t.scrollTop=e.maximum),h={maximum:e.maximum,scrollTop:e.maximum},{maximum:e.maximum,scrollTop:e.maximum}}function N(e=q()){const n=Math.max(0,e.maximum-e.scrollTop),r=n<=T;u?.distanceFromBottom===n&&u.isAtBottom===r&&u.isFollowing===o||(u={distanceFromBottom:n,isAtBottom:r,isFollowing:o},y?.({distanceFromBottom:n,isAtBottom:r,isFollowing:o}))}function _(e,n=!0){if(p.cancel(),!l){o=e;return}const r=o!==e;r&&(o=e,I(e)),r&&n&&v?.(e),e||j(),N()}function ee(e,n=!0){if(!L.delete(e))return;const r=(W.get(e.element)??1)-1;r>0?W.set(e.element,r):(W.delete(e.element),P.has(e.element)||x?.unobserve?.(e.element)),S=0,n&&X()}function te(e=!0){if(L.size===0)return;const n=performance.now();for(const r of L)(!t.contains(r.element)||n>=r.expiresAt)&&ee(r,e)}function oe(){if(d=null,g||!l||!o)return;if(te(!1),L.size>0){d=requestAnimationFrame(oe);return}const e=U(),{maximum:n}=e;N(e),n===R?S+=1:(S=0,R=n),S<He&&(d=requestAnimationFrame(oe))}function X(){g||!l||!o||d!==null||(d=requestAnimationFrame(oe))}function z(e=!0){if(g||!l||!o)return;const n=U(),{maximum:r}=n;N(n),S=0,R=r,e&&X()}function ne(){M===null&&(M=requestAnimationFrame(()=>{M=null,!(g||!l)&&N()}))}function Te(){if(F=null,g||!l)return;let e=q();const n=e.scrollTop!==e.maximum;e=U(e),(n||e.maximum!==R||L.size>0)&&(S=0,R=e.maximum,X()),N(e)}function Fe(){if(!(g||!l)){if(o){if(d!==null||F!==null)return;F=requestAnimationFrame(Te);return}ne()}}function Se(){if(!(g||!l)){if(o){z(F===null);return}ne()}}const K={followAndScroll(){_(!0),z()},isFollowing:()=>o,isNativeScrollAnchoringActive:()=>!o&&getComputedStyle(t).overflowAnchor!=="none",hasActiveMutation:()=>o?(te(),L.size>0):!1,beforeMutation(e,n){if(g||!l||!o)return Ae;const r={element:e,expiresAt:performance.now()+(n.maxHoldMs??ze)};L.add(r);const f=W.get(e)??0;return W.set(e,f+1),f===0&&!P.has(e)&&x?.observe(e),S=0,X(),{request(){!L.has(r)||g||(D()?X():z())},settle(){if(!(g||!L.has(r))){if(D()){ee(r);return}ee(r,!1),z()}}}}};function Le(){let e=null,n=null,r=null,f;function Q(s){return!e||s&&e.wheel!==s?!1:!e.wheel?.defaultPrevented&&performance.now()<e.expiresAt}function Me(s,a){if(s.maximum-s.scrollTop<=re)return!0;const B=s.previous;return a&&B!==void 0&&B.maximum<s.maximum&&B.maximum-s.scrollTop<=re}function Z(s,a){return Me(s,a)?(K.followAndScroll(),!0):!1}function ge(s){const a=q();return Q(s)&&Z(a,!0)}function Re(s){f=s,r===null&&(r=requestAnimationFrame(()=>{r=null;const a=f;f=void 0,!(g||!l||!Q(a))&&(ge(a)||N())}))}function Ne(s,a){const B=Math.max(0,a.maximum-a.scrollTop);if(a.maximum!==s.maximum)return s.maximum=a.maximum,s.distance=B,s.movedTowardBottom=!1,!1;const ve=B-s.distance;return s.distance=B,ve>0?(s.movedTowardBottom=!1,_(!1),!0):ve===0?!1:(s.movedTowardBottom=!0,Z(a,!1))}function Ce(s){if(o||!e)return!1;const a=s.previous;return a&&s.scrollTop<a.scrollTop?(e=null,!1):(!a||s.scrollTop>a.scrollTop)&&Q()&&Z(s,!0)}return{isDragging:()=>n!==null,start(s,a){const B=s==="touch"?Ve:Pe;e={wheel:a,expiresAt:performance.now()+B}},grab(s){if(e=null,!s){n=null;return}const a=c();n={maximum:a,distance:Math.max(0,a-t.scrollTop),movedTowardBottom:!1}},move(s){return n?Ne(n,s):Ce(s)},land(s,a){if(s==="frame"){Re(a);return}if(s==="scrollend"){Q()&&ge(),e=null;return}if(!n)return;const{movedTowardBottom:B}=n;n=null,B&&Z(q(),!1)||N()},observe(s){const a=s.previous;e&&a!==void 0&&s.maximum<a.maximum&&s.maximum-s.scrollTop<=re&&(e=null)},cancel(){e=null},requestBottom(){K.followAndScroll()},reset(){e=null,n=null,f=void 0,r!==null&&cancelAnimationFrame(r),r=null}}}const p=Le();function ie(e){e.deltaY<0?_(!1):e.deltaY>0&&(p.start("wheel",e),p.land("frame",e))}function le(e){e.target===t?p.land("scrollend"):p.cancel()}let se=0;function ae(e){p.cancel(),w=!1,se=e.touches[0]?.clientY??0}function ue(e){const n=e.touches[0]?.clientY??0,r=se-n;w=r>0,r<0&&_(!1)}function ce(){w&&p.start("touch"),p.land("frame")}function fe(e){if(p.cancel(),["ArrowUp","PageUp","Home"].includes(e.key))_(!1);else if(["ArrowDown","PageDown","End"].includes(e.key)){if(e.target instanceof Element&&_e(e.target))return;if(e.key==="End"){p.requestBottom();return}p.start("keyboard"),p.land("frame")}}function Be(e){if(e.button!==0||e.target!==t)return!1;const n=Math.max(0,t.offsetWidth-t.clientWidth);if(n===0)return!1;const r=t.getBoundingClientRect(),f=t.offsetWidth>0?n*(r.width/t.offsetWidth):n;return getComputedStyle(t).direction==="rtl"?e.clientX<=r.left+f:e.clientX>=r.right-f}function me(){const e=p.isDragging();if(!e&&o&&d!==null)return;let n=q();p.move(n)||(o&&!e&&(n=U(n)),N(n))}function de(e){p.grab(Be(e))}function J(){p.land("release")}function Ee(){if(!m){m=new MutationObserver(e=>{let n=!1;for(const r of e)if(r.type==="childList"){for(const f of r.removedNodes)n=!0,f instanceof HTMLElement&&V(f);for(const f of r.addedNodes)f instanceof HTMLElement&&f!==A&&x&&(Y(f),o&&f.parentElement===t&&G(f))}n&&te(),I(o),Fe()}),m.observe(t,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),x=new ResizeObserver(Se),Y(t);for(const e of t.children)e instanceof HTMLElement&&e!==A&&Y(e)}}function be(){m?.disconnect(),m=null,x?.disconnect(),x=null}function pe(e=!1){if(!l||g)return;if(O.set(t,K),t.addEventListener("scroll",me,{passive:!0}),t.addEventListener("scrollend",le,{passive:!0,capture:!0}),t.addEventListener("wheel",ie,{passive:!0}),t.addEventListener("touchstart",ae,{passive:!0}),t.addEventListener("touchmove",ue,{passive:!0}),t.addEventListener("touchend",ce,{passive:!0}),t.addEventListener("keydown",fe),t.addEventListener("pointerdown",de,{passive:!0}),window.addEventListener("pointerup",J,{passive:!0}),window.addEventListener("pointercancel",J,{passive:!0}),H(),Ee(),e){b=requestAnimationFrame(()=>{b=null,!(g||!l)&&(D(),o?z():N())});return}D();let n=q();o&&(n=U(n),R=n.maximum),N(n)}function he(){p.reset(),w=!1,h=null,L.clear(),W.clear(),j(),b!==null&&cancelAnimationFrame(b),b=null,M!==null&&cancelAnimationFrame(M),M=null,u=null,$=null,O.get(t)===K&&O.delete(t),be(),C(),t.removeEventListener("scroll",me),t.removeEventListener("scrollend",le,!0),t.removeEventListener("wheel",ie),t.removeEventListener("touchstart",ae),t.removeEventListener("touchmove",ue),t.removeEventListener("touchend",ce),t.removeEventListener("keydown",fe),t.removeEventListener("pointerdown",de),window.removeEventListener("pointerup",J),window.removeEventListener("pointercancel",J)}return pe(!0),{update(e){v=e.onFollowChange,y=e.onScrollStateChange,T=e.threshold??100;const n=e.enabled??!0;if(l!==n&&(n||he(),l=n,l)){o=e.follow,pe(!0);return}l?e.follow&&!o?(_(!0,!1),z()):!e.follow&&o?_(!1,!1):b===null&&ne():o=e.follow},destroy(){g=!0,he()}}}function tt(t){return O.get(t)?.isFollowing()??!1}function ot(t){return O.get(t)?.isNativeScrollAnchoringActive()??!1}function nt(t){return O.get(t)?.hasActiveMutation()??!1}function xe(t,i={}){let l=t;for(;l;){const o=O.get(l);if(o)return o.beforeMutation(t,i);l=l.parentElement}return Ae}function Ie(t){const{scrollTop:i,scrollHeight:l,clientHeight:o}=t;return l-i-o}function Ye(t,i=100){return Ie(t)<=i}function Ue(t,i=!1){t.scrollTo({top:t.scrollHeight,behavior:i?"smooth":"auto"})}function rt(t){const i=O.get(t);if(i){i.followAndScroll();return}Ue(t)}function it(t,i,l=150,o){const v=t();if(!v)return;const y=v.scrollTop,T=performance.now();function w(u){return 1-Math.pow(1-u,3)}function h(u){const m=t();if(!m)return;const x=u-T,d=Math.min(x/l,1),b=typeof i=="function"?i(m):i;m.scrollTop=y+(b-y)*w(d),d<1?requestAnimationFrame(h):o?.(m)}requestAnimationFrame(h)}function lt(t,i="[data-message-id], [data-lazy-turn-key]"){const l=t.scrollTop,o=t.getBoundingClientRect(),v=Ye(t,100);if(v&&O.get(t)?.isFollowing()!==!1)return{element:null,offsetFromViewport:0,scrollTop:l,isNearBottom:v};const y=t.querySelectorAll(i);let T=null,w=0,h;for(const u of y){const m=u.getBoundingClientRect();if(m.top>=o.bottom)break;if(m.top>=o.top){T||(T=u,w=m.top-o.top);const x=u.getAttribute("data-message-id");if(x){h={id:x,offsetFromViewport:m.top-o.top};break}}}return{element:T,offsetFromViewport:w,scrollTop:l,isNearBottom:v,...h?{message:h}:{}}}function ye(t,i){if(i.message){const l=t.querySelector(`[data-message-id="${CSS.escape(i.message.id)}"]`);if(l)return{element:l,offsetFromViewport:i.message.offsetFromViewport}}return i.element?.isConnected?{element:i.element,offsetFromViewport:i.offsetFromViewport}:null}function st(t,i){return ye(t,i)!==null}function at(t,i){const l=ye(t,i);if(l){const{element:o,offsetFromViewport:v}=l,y=t.getBoundingClientRect(),h=o.getBoundingClientRect().top-y.top-v;Math.abs(h)>5&&(t.scrollTop+=h)}}function E(t,i){const l=Number.parseFloat(String(t[i]));return Number.isFinite(l)?l:0}function ut(t,i={},l={}){const o=t,y={maxHoldMs:we[i.tier??"moderate"].settleMs*2+500};let T=xe(o,y);const w=()=>{T?.settle(),T=null},h=()=>{T??=xe(o,y)};if(!$e()||De())return w(),{duration:0};const u=getComputedStyle(o),m=i.axis??"y",x=o.getBoundingClientRect(),d=m==="y"?E(u,"height")||x.height:E(u,"width")||x.width;if(!Number.isFinite(d)||d<=0)return w(),{duration:0};const b=E(u,"opacity")||1,M=i.tier??"moderate",F=we[M],S=l.direction==="out",R=typeof u.getPropertyValue=="function"?S?We(o,{tier:M}):ke(o,{tier:M}):{duration:S?F.exit.duration:F.settleMs,easing:F.exit.easing},g=R.duration??(S?F.exit.duration:F.settleMs),$=i.y??-4,L=E(u,"paddingTop"),W=E(u,"paddingBottom"),P=E(u,"marginTop"),k=E(u,"marginBottom"),A=E(u,"paddingLeft"),G=E(u,"paddingRight"),V=E(u,"marginLeft"),I=E(u,"marginRight");let H=null,C=l.direction==="out"?"outro":l.direction==="in"?"intro":"idle";const Y=(c,D)=>{o.style.overflow="hidden",m==="y"?(o.style.height=`${c*d}px`,o.style.paddingTop=`${c*L}px`,o.style.paddingBottom=`${c*W}px`,o.style.marginTop=`${c*P}px`,o.style.marginBottom=`${c*k}px`):(o.style.width=`${c*d}px`,o.style.paddingLeft=`${c*A}px`,o.style.paddingRight=`${c*G}px`,o.style.marginLeft=`${c*V}px`,o.style.marginRight=`${c*I}px`),o.style.opacity=`${c*b}`,o.style.transform=m==="y"?`translateY(${$*D}px)`:`translateX(${$*D}px)`},j=()=>{o.style.overflow="",o.style.height="",o.style.width="",o.style.paddingTop="",o.style.paddingBottom="",o.style.marginTop="",o.style.marginBottom="",o.style.paddingLeft="",o.style.paddingRight="",o.style.marginLeft="",o.style.marginRight="",o.style.opacity="",o.style.transform=""};return{duration:g,easing:R.easing,tick:(c,D)=>{if(l.direction==="both"&&(H===null?c<1&&(C="outro"):c<H?(h(),C="outro"):c>H&&(h(),C="intro")),H=c,c===1&&C!=="outro"){j(),w(),C="idle";return}Y(c,D),T?.request(),c===0&&C==="outro"&&(w(),C="idle")}}}export{it as a,$e as b,xe as c,st as d,lt as e,et as f,rt as g,nt as h,tt as i,ot as j,Ze as k,Ue as l,at as r,ut as s};
|
|
1
|
+
import"./3SdAC2_C.js";import{p as De}from"./CA6H1-bp.js";import"./BRCr02in.js";import{j as Oe,k as we,c as We,l as ke}from"./CxR-pcVt.js";import{s as qe}from"./D-j7vD5Z.js";import{i as _e}from"./Bu13V5mO.js";function Ze(t,i={}){const l=(i.axis??"y")==="y"?"height":"width",o=parseFloat(getComputedStyle(t)[l]);if(!Number.isFinite(o))return{duration:0};const v=i.duration??160,y=v<=80?"fast":v<=160?"moderate":"slow";return Oe(t,{axis:i.axis,tier:y},{direction:"in"})}function $e(){return qe.get("enableComponentTransitions")}const Ae={request(){},settle(){}},O=new WeakMap,He=2,ze=2e3,re=2,Pe=1e3,Ve=3e3;function et(t,i){let l=i.enabled??!0,o=i.follow,v=i.onFollowChange,y=i.onScrollStateChange,T=i.threshold??100,w=!1,h=null,u=null,m=null,x=null,d=null,b=null,M=null,F=null,S=0,R=null,g=!1,$=null;const L=new Set,W=new Map,P=new WeakSet,k=new Map,A=document.createElement("div");A.dataset.followBottomAnchor="",A.setAttribute("aria-hidden","true"),A.style.cssText=`height:1px;${i.layoutNeutralBottomAnchor?"margin-top:-1px;":""}overflow-anchor:auto;pointer-events:none;flex:0 0 auto;`;function G(e){e===A||k.has(e)||(k.set(e,e.style.overflowAnchor),e.style.overflowAnchor="none")}function V(e){const n=k.get(e);n!==void 0&&(e.style.overflowAnchor=n,k.delete(e))}function I(e){if(e)for(const r of t.children)r instanceof HTMLElement&&G(r);else for(const r of k.keys())V(r);const n=e?"auto":"none";A.style.overflowAnchor!==n&&(A.style.overflowAnchor=n),e?(A.parentElement!==t||A.nextSibling)&&t.append(A):A.remove()}function H(){I(o)}function C(){A.remove();for(const e of k.keys())V(e)}function Y(e){P.add(e),x?.observe(e)}function j(){d!==null&&cancelAnimationFrame(d),F!==null&&cancelAnimationFrame(F),d=null,F=null,S=0,R=null}function c(){return Math.max(0,t.scrollHeight-t.clientHeight)}function D(){return $??=getComputedStyle(t).overflowAnchor!=="none",$}function q(){const e=c(),n=t.scrollTop,r=h??void 0;h={maximum:e,scrollTop:n};const f={maximum:e,scrollTop:n,previous:r};return p.observe(f),f}function U(e=q()){return e.scrollTop!==e.maximum&&(t.scrollTop=e.maximum),h={maximum:e.maximum,scrollTop:e.maximum},{maximum:e.maximum,scrollTop:e.maximum}}function N(e=q()){const n=Math.max(0,e.maximum-e.scrollTop),r=n<=T;u?.distanceFromBottom===n&&u.isAtBottom===r&&u.isFollowing===o||(u={distanceFromBottom:n,isAtBottom:r,isFollowing:o},y?.({distanceFromBottom:n,isAtBottom:r,isFollowing:o}))}function _(e,n=!0){if(p.cancel(),!l){o=e;return}const r=o!==e;r&&(o=e,I(e)),r&&n&&v?.(e),e||j(),N()}function ee(e,n=!0){if(!L.delete(e))return;const r=(W.get(e.element)??1)-1;r>0?W.set(e.element,r):(W.delete(e.element),P.has(e.element)||x?.unobserve?.(e.element)),S=0,n&&X()}function te(e=!0){if(L.size===0)return;const n=performance.now();for(const r of L)(!t.contains(r.element)||n>=r.expiresAt)&&ee(r,e)}function oe(){if(d=null,g||!l||!o)return;if(te(!1),L.size>0){d=requestAnimationFrame(oe);return}const e=U(),{maximum:n}=e;N(e),n===R?S+=1:(S=0,R=n),S<He&&(d=requestAnimationFrame(oe))}function X(){g||!l||!o||d!==null||(d=requestAnimationFrame(oe))}function z(e=!0){if(g||!l||!o)return;const n=U(),{maximum:r}=n;N(n),S=0,R=r,e&&X()}function ne(){M===null&&(M=requestAnimationFrame(()=>{M=null,!(g||!l)&&N()}))}function Te(){if(F=null,g||!l)return;let e=q();const n=e.scrollTop!==e.maximum;e=U(e),(n||e.maximum!==R||L.size>0)&&(S=0,R=e.maximum,X()),N(e)}function Fe(){if(!(g||!l)){if(o){if(d!==null||F!==null)return;F=requestAnimationFrame(Te);return}ne()}}function Se(){if(!(g||!l)){if(o){z(F===null);return}ne()}}const K={followAndScroll(){_(!0),z()},isFollowing:()=>o,isNativeScrollAnchoringActive:()=>!o&&getComputedStyle(t).overflowAnchor!=="none",hasActiveMutation:()=>o?(te(),L.size>0):!1,beforeMutation(e,n){if(g||!l||!o)return Ae;const r={element:e,expiresAt:performance.now()+(n.maxHoldMs??ze)};L.add(r);const f=W.get(e)??0;return W.set(e,f+1),f===0&&!P.has(e)&&x?.observe(e),S=0,X(),{request(){!L.has(r)||g||(D()?X():z())},settle(){if(!(g||!L.has(r))){if(D()){ee(r);return}ee(r,!1),z()}}}}};function Le(){let e=null,n=null,r=null,f;function Q(s){return!e||s&&e.wheel!==s?!1:!e.wheel?.defaultPrevented&&performance.now()<e.expiresAt}function Me(s,a){if(s.maximum-s.scrollTop<=re)return!0;const B=s.previous;return a&&B!==void 0&&B.maximum<s.maximum&&B.maximum-s.scrollTop<=re}function Z(s,a){return Me(s,a)?(K.followAndScroll(),!0):!1}function ge(s){const a=q();return Q(s)&&Z(a,!0)}function Re(s){f=s,r===null&&(r=requestAnimationFrame(()=>{r=null;const a=f;f=void 0,!(g||!l||!Q(a))&&(ge(a)||N())}))}function Ne(s,a){const B=Math.max(0,a.maximum-a.scrollTop);if(a.maximum!==s.maximum)return s.maximum=a.maximum,s.distance=B,s.movedTowardBottom=!1,!1;const ve=B-s.distance;return s.distance=B,ve>0?(s.movedTowardBottom=!1,_(!1),!0):ve===0?!1:(s.movedTowardBottom=!0,Z(a,!1))}function Ce(s){if(o||!e)return!1;const a=s.previous;return a&&s.scrollTop<a.scrollTop?(e=null,!1):(!a||s.scrollTop>a.scrollTop)&&Q()&&Z(s,!0)}return{isDragging:()=>n!==null,start(s,a){const B=s==="touch"?Ve:Pe;e={wheel:a,expiresAt:performance.now()+B}},grab(s){if(e=null,!s){n=null;return}const a=c();n={maximum:a,distance:Math.max(0,a-t.scrollTop),movedTowardBottom:!1}},move(s){return n?Ne(n,s):Ce(s)},land(s,a){if(s==="frame"){Re(a);return}if(s==="scrollend"){Q()&&ge(),e=null;return}if(!n)return;const{movedTowardBottom:B}=n;n=null,B&&Z(q(),!1)||N()},observe(s){const a=s.previous;e&&a!==void 0&&s.maximum<a.maximum&&s.maximum-s.scrollTop<=re&&(e=null)},cancel(){e=null},requestBottom(){K.followAndScroll()},reset(){e=null,n=null,f=void 0,r!==null&&cancelAnimationFrame(r),r=null}}}const p=Le();function ie(e){e.deltaY<0?_(!1):e.deltaY>0&&(p.start("wheel",e),p.land("frame",e))}function le(e){e.target===t?p.land("scrollend"):p.cancel()}let se=0;function ae(e){p.cancel(),w=!1,se=e.touches[0]?.clientY??0}function ue(e){const n=e.touches[0]?.clientY??0,r=se-n;w=r>0,r<0&&_(!1)}function ce(){w&&p.start("touch"),p.land("frame")}function fe(e){if(p.cancel(),["ArrowUp","PageUp","Home"].includes(e.key))_(!1);else if(["ArrowDown","PageDown","End"].includes(e.key)){if(e.target instanceof Element&&_e(e.target))return;if(e.key==="End"){p.requestBottom();return}p.start("keyboard"),p.land("frame")}}function Be(e){if(e.button!==0||e.target!==t)return!1;const n=Math.max(0,t.offsetWidth-t.clientWidth);if(n===0)return!1;const r=t.getBoundingClientRect(),f=t.offsetWidth>0?n*(r.width/t.offsetWidth):n;return getComputedStyle(t).direction==="rtl"?e.clientX<=r.left+f:e.clientX>=r.right-f}function me(){const e=p.isDragging();if(!e&&o&&d!==null)return;let n=q();p.move(n)||(o&&!e&&(n=U(n)),N(n))}function de(e){p.grab(Be(e))}function J(){p.land("release")}function Ee(){if(!m){m=new MutationObserver(e=>{let n=!1;for(const r of e)if(r.type==="childList"){for(const f of r.removedNodes)n=!0,f instanceof HTMLElement&&V(f);for(const f of r.addedNodes)f instanceof HTMLElement&&f!==A&&x&&(Y(f),o&&f.parentElement===t&&G(f))}n&&te(),I(o),Fe()}),m.observe(t,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),x=new ResizeObserver(Se),Y(t);for(const e of t.children)e instanceof HTMLElement&&e!==A&&Y(e)}}function be(){m?.disconnect(),m=null,x?.disconnect(),x=null}function pe(e=!1){if(!l||g)return;if(O.set(t,K),t.addEventListener("scroll",me,{passive:!0}),t.addEventListener("scrollend",le,{passive:!0,capture:!0}),t.addEventListener("wheel",ie,{passive:!0}),t.addEventListener("touchstart",ae,{passive:!0}),t.addEventListener("touchmove",ue,{passive:!0}),t.addEventListener("touchend",ce,{passive:!0}),t.addEventListener("keydown",fe),t.addEventListener("pointerdown",de,{passive:!0}),window.addEventListener("pointerup",J,{passive:!0}),window.addEventListener("pointercancel",J,{passive:!0}),H(),Ee(),e){b=requestAnimationFrame(()=>{b=null,!(g||!l)&&(D(),o?z():N())});return}D();let n=q();o&&(n=U(n),R=n.maximum),N(n)}function he(){p.reset(),w=!1,h=null,L.clear(),W.clear(),j(),b!==null&&cancelAnimationFrame(b),b=null,M!==null&&cancelAnimationFrame(M),M=null,u=null,$=null,O.get(t)===K&&O.delete(t),be(),C(),t.removeEventListener("scroll",me),t.removeEventListener("scrollend",le,!0),t.removeEventListener("wheel",ie),t.removeEventListener("touchstart",ae),t.removeEventListener("touchmove",ue),t.removeEventListener("touchend",ce),t.removeEventListener("keydown",fe),t.removeEventListener("pointerdown",de),window.removeEventListener("pointerup",J),window.removeEventListener("pointercancel",J)}return pe(!0),{update(e){v=e.onFollowChange,y=e.onScrollStateChange,T=e.threshold??100;const n=e.enabled??!0;if(l!==n&&(n||he(),l=n,l)){o=e.follow,pe(!0);return}l?e.follow&&!o?(_(!0,!1),z()):!e.follow&&o?_(!1,!1):b===null&&ne():o=e.follow},destroy(){g=!0,he()}}}function tt(t){return O.get(t)?.isFollowing()??!1}function ot(t){return O.get(t)?.isNativeScrollAnchoringActive()??!1}function nt(t){return O.get(t)?.hasActiveMutation()??!1}function xe(t,i={}){let l=t;for(;l;){const o=O.get(l);if(o)return o.beforeMutation(t,i);l=l.parentElement}return Ae}function Ie(t){const{scrollTop:i,scrollHeight:l,clientHeight:o}=t;return l-i-o}function Ye(t,i=100){return Ie(t)<=i}function Ue(t,i=!1){t.scrollTo({top:t.scrollHeight,behavior:i?"smooth":"auto"})}function rt(t){const i=O.get(t);if(i){i.followAndScroll();return}Ue(t)}function it(t,i,l=150,o){const v=t();if(!v)return;const y=v.scrollTop,T=performance.now();function w(u){return 1-Math.pow(1-u,3)}function h(u){const m=t();if(!m)return;const x=u-T,d=Math.min(x/l,1),b=typeof i=="function"?i(m):i;m.scrollTop=y+(b-y)*w(d),d<1?requestAnimationFrame(h):o?.(m)}requestAnimationFrame(h)}function lt(t,i="[data-message-id], [data-lazy-turn-key]"){const l=t.scrollTop,o=t.getBoundingClientRect(),v=Ye(t,100);if(v&&O.get(t)?.isFollowing()!==!1)return{element:null,offsetFromViewport:0,scrollTop:l,isNearBottom:v};const y=t.querySelectorAll(i);let T=null,w=0,h;for(const u of y){const m=u.getBoundingClientRect();if(m.top>=o.bottom)break;if(m.top>=o.top){T||(T=u,w=m.top-o.top);const x=u.getAttribute("data-message-id");if(x){h={id:x,offsetFromViewport:m.top-o.top};break}}}return{element:T,offsetFromViewport:w,scrollTop:l,isNearBottom:v,...h?{message:h}:{}}}function ye(t,i){if(i.message){const l=t.querySelector(`[data-message-id="${CSS.escape(i.message.id)}"]`);if(l)return{element:l,offsetFromViewport:i.message.offsetFromViewport}}return i.element?.isConnected?{element:i.element,offsetFromViewport:i.offsetFromViewport}:null}function st(t,i){return ye(t,i)!==null}function at(t,i){const l=ye(t,i);if(l){const{element:o,offsetFromViewport:v}=l,y=t.getBoundingClientRect(),h=o.getBoundingClientRect().top-y.top-v;Math.abs(h)>5&&(t.scrollTop+=h)}}function E(t,i){const l=Number.parseFloat(String(t[i]));return Number.isFinite(l)?l:0}function ut(t,i={},l={}){const o=t,y={maxHoldMs:we[i.tier??"moderate"].settleMs*2+500};let T=xe(o,y);const w=()=>{T?.settle(),T=null},h=()=>{T??=xe(o,y)};if(!$e()||De())return w(),{duration:0};const u=getComputedStyle(o),m=i.axis??"y",x=o.getBoundingClientRect(),d=m==="y"?E(u,"height")||x.height:E(u,"width")||x.width;if(!Number.isFinite(d)||d<=0)return w(),{duration:0};const b=E(u,"opacity")||1,M=i.tier??"moderate",F=we[M],S=l.direction==="out",R=typeof u.getPropertyValue=="function"?S?We(o,{tier:M}):ke(o,{tier:M}):{duration:S?F.exit.duration:F.settleMs,easing:F.exit.easing},g=R.duration??(S?F.exit.duration:F.settleMs),$=i.y??-4,L=E(u,"paddingTop"),W=E(u,"paddingBottom"),P=E(u,"marginTop"),k=E(u,"marginBottom"),A=E(u,"paddingLeft"),G=E(u,"paddingRight"),V=E(u,"marginLeft"),I=E(u,"marginRight");let H=null,C=l.direction==="out"?"outro":l.direction==="in"?"intro":"idle";const Y=(c,D)=>{o.style.overflow="hidden",m==="y"?(o.style.height=`${c*d}px`,o.style.paddingTop=`${c*L}px`,o.style.paddingBottom=`${c*W}px`,o.style.marginTop=`${c*P}px`,o.style.marginBottom=`${c*k}px`):(o.style.width=`${c*d}px`,o.style.paddingLeft=`${c*A}px`,o.style.paddingRight=`${c*G}px`,o.style.marginLeft=`${c*V}px`,o.style.marginRight=`${c*I}px`),o.style.opacity=`${c*b}`,o.style.transform=m==="y"?`translateY(${$*D}px)`:`translateX(${$*D}px)`},j=()=>{o.style.overflow="",o.style.height="",o.style.width="",o.style.paddingTop="",o.style.paddingBottom="",o.style.marginTop="",o.style.marginBottom="",o.style.paddingLeft="",o.style.paddingRight="",o.style.marginLeft="",o.style.marginRight="",o.style.opacity="",o.style.transform=""};return{duration:g,easing:R.easing,tick:(c,D)=>{if(l.direction==="both"&&(H===null?c<1&&(C="outro"):c<H?(h(),C="outro"):c>H&&(h(),C="intro")),H=c,c===1&&C!=="outro"){j(),w(),C="idle";return}Y(c,D),T?.request(),c===0&&C==="outro"&&(w(),C="idle")}}}export{it as a,$e as b,xe as c,st as d,lt as e,et as f,rt as g,nt as h,tt as i,ot as j,Ze as k,Ue as l,at as r,ut as s};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var d=Object.defineProperty;var f=(e,s,t)=>s in e?d(e,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[s]=t;var n=(e,s,t)=>f(e,typeof s!="symbol"?s+"":s,t);import{aV as p,o as g,aT as c,l as u}from"./
|
|
1
|
+
var d=Object.defineProperty;var f=(e,s,t)=>s in e?d(e,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[s]=t;var n=(e,s,t)=>f(e,typeof s!="symbol"?s+"":s,t);import{aV as p,o as g,aT as c,l as u}from"./DuFY1gwd.js";import{h as b}from"./DEB8jcix.js";function m(e,s,t,r=!1){const o=[0];if(t.decorations?.some(i=>typeof i.start=="number"||typeof i.end=="number")===!0)for(let i=e.indexOf(`
|
|
2
2
|
`);i!==-1;i=e.indexOf(`
|
|
3
3
|
`,i+1))o.push(i+1);const a={type:"element",tagName:"code",properties:{},children:[]},h=p(s.tokens,{decorations:t.decorations,mergeWhitespaces:t.mergeWhitespaces,lineOffsets:o,cacheHtmlStyles:r});for(let i=0;i<h.length;i++)i>0&&a.children.push({type:"text",value:`
|
|
4
4
|
`}),a.children.push(h[i]);const l={type:"root",children:[{type:"element",tagName:"pre",properties:{class:"diffs",style:s.rootStyle===!1?void 0:s.rootStyle??[s.fg!=null?`color:${s.fg}`:"",s.bg!=null?`background-color:${s.bg}`:""].filter(Boolean).join(";"),tabIndex:0},children:[a]}]};return b(l)}var O=class{constructor(e,s){n(this,"name");n(this,"themeResolver");n(this,"disposed",!1);this.name=e,this.themeResolver=s,g(e)}codeToHtml(e,s){return m(e,this.codeToTokens(e,s),s,this.name==="highlights")}get isDisposed(){return this.disposed}dispose(){this.disposed||(this.disposed=!0,this.releaseResources(),c())}assertNotDisposed(){if(this.disposed)throw new u}},v=class{constructor(){n(this,"disposed",!1);n(this,"stableOffset",0);n(this,"unstable",[]);n(this,"pendingCarriageReturn","")}enqueue(e){this.assertActive(),e=this.pendingCarriageReturn+e,this.pendingCarriageReturn=e.endsWith("\r")?"\r":"",this.pendingCarriageReturn!==""&&(e=e.slice(0,-1));const s=this.unstable.length,t=[],{unstable:r,tailLength:o}=this.tokenizeChunk(e,t);return this.pendingCarriageReturn!==""&&r.push({content:"\r",offset:this.stableOffset+o}),this.unstable=r,{recall:s,stable:t,unstable:r}}pushLineBreak(e,s,t){for(let r=0;r<t.length;r++)e.push({content:t[r],offset:this.stableOffset+s+r});this.stableOffset+=s+t.length}close(){const e=this.unstable;return this.dispose(),{stable:e}}clear(){this.assertActive(),this.stableOffset=0,this.unstable=[],this.pendingCarriageReturn="",this.resetSource()}dispose(){this.disposed||(this.disposed=!0,this.unstable=[],this.releaseSource())}copyStateTo(e){e.stableOffset=this.stableOffset,e.unstable=this.unstable.slice(),e.pendingCarriageReturn=this.pendingCarriageReturn}assertActive(){if(this.disposed)throw new Error("stream tokenizer is disposed")}};export{v as B,O as D};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{I as le}from"./DzNzbnYA.js";import{p as he}from"./D_-4DIK6.js";import{Y as $e,b0 as fe,aZ as ge,U as ue,V as ye,a_ as xe,b as h,W as J,ay as w,aW as me,X as P,bh as pe,b4 as be,r as we,z as B,q as ke,O as ve,aM as Ce}from"./BZnji9hP.js";import{p as Ee}from"./BBfR26V0.js";var m={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Be=ve.gitGraph,S=h(()=>ke({...Be,...J().gitGraph}),"getConfig"),d=new le(()=>{const e=S(),r=e.mainBranchName,t=e.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:t}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function Y(){return Ce({length:7})}h(Y,"getID");function te(e,r){const t=Object.create(null);return e.reduce((s,o)=>{const i=r(o);return t[i]||(t[i]=!0,s.push(o)),s},[])}h(te,"uniqBy");var Te=h(function(e){d.records.direction=e},"setDirection"),Le=h(function(e){w.debug("options str",e),e=e?.trim(),e=e||"{}";try{d.records.options=JSON.parse(e)}catch(r){w.error("error while parsing gitGraph options",r.message)}},"setOptions"),Me=h(function(){return d.records.options},"getOptions"),Re=h(function(e){let r=e.msg,t=e.id;const s=e.type;let o=e.tags;w.info("commit",r,t,s,o),w.debug("Entering commit:",r,t,s,o);const i=S();t=B.sanitizeText(t,i),r=B.sanitizeText(r,i),o=o?.map(a=>B.sanitizeText(a,i));const n={id:t||d.records.seq+"-"+Y(),message:r,seq:d.records.seq++,type:s??m.NORMAL,tags:o??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=n,w.info("main branch",i.mainBranchName),d.records.commits.has(n.id)&&w.warn(`Commit ID ${n.id} already exists`),d.records.commits.set(n.id,n),d.records.branches.set(d.records.currBranch,n.id),w.debug("in pushCommit "+n.id)},"commit"),Ie=h(function(e){let r=e.name;const t=e.order;if(r=B.sanitizeText(r,S()),d.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);d.records.branches.set(r,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(r,{name:r,order:t}),ae(r),w.debug("in createBranch")},"branch"),Oe=h(e=>{let r=e.branch,t=e.id;const s=e.type,o=e.tags,i=S();r=B.sanitizeText(r,i),t&&(t=B.sanitizeText(t,i));const n=d.records.branches.get(d.records.currBranch),a=d.records.branches.get(r),l=n?d.records.commits.get(n):void 0,f=a?d.records.commits.get(a):void 0;if(l&&f&&l.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(d.records.currBranch===r){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},c}if(!d.records.branches.has(r)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},c}if(f===void 0||!f){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},c}if(l===f){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(t&&d.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${r} ${t} ${s} ${o?.join(" ")}`,token:`merge ${r} ${t} ${s} ${o?.join(" ")}`,expected:[`merge ${r} ${t}_UNIQUE ${s} ${o?.join(" ")}`]},c}const g=a||"",$={id:t||`${d.records.seq}-${Y()}`,message:`merged branch ${r} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:m.MERGE,customType:s,customId:!!t,tags:o??[]};d.records.head=$,d.records.commits.set($.id,$),d.records.branches.set(d.records.currBranch,$.id),w.debug(d.records.branches),w.debug("in mergeBranch")},"merge"),_e=h(function(e){let r=e.id,t=e.targetId,s=e.tags,o=e.parent;w.debug("Entering cherryPick:",r,t,s);const i=S();if(r=B.sanitizeText(r,i),t=B.sanitizeText(t,i),s=s?.map(l=>B.sanitizeText(l,i)),o=B.sanitizeText(o,i),!r||!d.records.commits.has(r)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},l}const n=d.records.commits.get(r);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===m.MERGE&&!o)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(a===d.records.currBranch){const $=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const l=d.records.branches.get(d.records.currBranch);if(l===void 0||!l){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const f=d.records.commits.get(l);if(f===void 0||!f){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const g={id:d.records.seq+"-"+Y(),message:`cherry-picked ${n?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,n.id],branch:d.records.currBranch,type:m.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${n.id}${n.type===m.MERGE?`|parent:${o}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.debug(d.records.branches),w.debug("in cherryPick")}},"cherryPick"),ae=h(function(e){if(e=B.sanitizeText(e,S()),d.records.branches.has(e)){d.records.currBranch=e;const r=d.records.branches.get(d.records.currBranch);r===void 0||!r?d.records.head=null:d.records.head=d.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}},"checkout");function V(e,r,t){const s=e.indexOf(r);s===-1?e.push(t):e.splice(s,1,t)}h(V,"upsert");function Q(e){const r=e.reduce((o,i)=>o.seq>i.seq?o:i,e[0]);let t="";e.forEach(function(o){o===r?t+=" *":t+=" |"});const s=[t,r.id,r.seq];for(const o in d.records.branches)d.records.branches.get(o)===r.id&&s.push(o);if(w.debug(s.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const o=d.records.commits.get(r.parents[0]);V(e,r,o),r.parents[1]&&e.push(d.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const o=d.records.commits.get(r.parents[0]);V(e,r,o)}}e=te(e,o=>o.id),Q(e)}h(Q,"prettyPrintCommitHistory");var Ge=h(function(){w.debug(d.records.commits);const e=ne()[0];Q([e])},"prettyPrint"),He=h(function(){d.reset(),we()},"clear"),Se=h(function(){return[...d.records.branchConfig.values()].map((r,t)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${t}`)}).sort((r,t)=>(r.order??0)-(t.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),Ae=h(function(){return d.records.branches},"getBranches"),We=h(function(){return d.records.commits},"getCommits"),ne=h(function(){const e=[...d.records.commits.values()];return e.forEach(function(r){w.debug(r.id)}),e.sort((r,t)=>r.seq-t.seq),e},"getCommitsArray"),De=h(function(){return d.records.currBranch},"getCurrentBranch"),qe=h(function(){return d.records.direction},"getDirection"),Pe=h(function(){return d.records.head},"getHead"),se={commitType:m,getConfig:S,setDirection:Te,setOptions:Le,getOptions:Me,commit:Re,branch:Ie,merge:Oe,cherryPick:_e,checkout:ae,prettyPrint:Ge,clear:He,getBranchesAsObjArray:Se,getBranches:Ae,getCommits:We,getCommitsArray:ne,getCurrentBranch:De,getDirection:qe,getHead:Pe,setAccTitle:xe,getAccTitle:ye,getAccDescription:ue,setAccDescription:ge,setDiagramTitle:fe,getDiagramTitle:$e},Ne=h((e,r)=>{he(e,r),e.dir&&r.setDirection(e.dir);for(const t of e.statements)Fe(t,r)},"populate"),Fe=h((e,r)=>{const s={Commit:h(o=>r.commit(ze(o)),"Commit"),Branch:h(o=>r.branch(Ye(o)),"Branch"),Merge:h(o=>r.merge(je(o)),"Merge"),Checkout:h(o=>r.checkout(Ue(o)),"Checkout"),CherryPicking:h(o=>r.cherryPick(Ke(o)),"CherryPicking")}[e.$type];s?s(e):w.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),ze=h(e=>({id:e.id,msg:e.message??"",type:e.type!==void 0?m[e.type]:m.NORMAL,tags:e.tags??void 0}),"parseCommit"),Ye=h(e=>({name:e.name,order:e.order??0}),"parseBranch"),je=h(e=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?m[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ue=h(e=>e.branch,"parseCheckout"),Ke=h(e=>({id:e.id,targetId:"",tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),"parseCherryPicking"),Ve={parse:h(async e=>{const r=await Ee("gitGraph",e);w.debug(r),Ne(r,se)},"parse")},O=10,_=40,L=4,R=2,G=8,j=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),X=12,Z=new Set(["redux-color","redux-dark-color"]),Xe=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),H=h((e,r,t=!1)=>t&&e>0?(e-1)%(r-1)+1:e%r,"calcColorIndex"),C=new Map,E=new Map,F=30,D=new Map,z=[],I=0,y="LR",Je=h(()=>{C.clear(),E.clear(),D.clear(),I=0,z=[],y="LR"},"clear"),oe=h(e=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e=="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=s.trim(),r.appendChild(o)}),r},"drawText"),ce=h(e=>{let r,t,s;return y==="BT"?(t=h((o,i)=>o<=i,"comparisonFunc"),s=1/0):(t=h((o,i)=>o>=i,"comparisonFunc"),s=0),e.forEach(o=>{const i=y==="TB"||y=="BT"?E.get(o)?.y:E.get(o)?.x;i!==void 0&&t(i,s)&&(r=o,s=i)}),r},"findClosestParent"),Qe=h(e=>{let r="",t=1/0;return e.forEach(s=>{const o=E.get(s).y;o<=t&&(r=s,t=o)}),r||void 0},"findClosestParentBT"),Ze=h((e,r,t)=>{let s=t,o=t;const i=[];e.forEach(n=>{const a=r.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(s=rr(a),o=Math.max(s,o)):i.push(a),tr(a,s)}),s=o,i.forEach(n=>{ar(n,s,t)}),e.forEach(n=>{const a=r.get(n);if(a?.parents.length){const l=Qe(a.parents);s=E.get(l).y-_,s<=o&&(o=s);const f=C.get(a.branch).pos,g=s-O;E.set(a.id,{x:f,y:g})}})},"setParallelBTPos"),er=h(e=>{const r=ce(e.parents.filter(s=>s!==null));if(!r)throw new Error(`Closest parent not found for commit ${e.id}`);const t=E.get(r)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${e.id}`);return t},"findClosestParentPos"),rr=h(e=>er(e)+_,"calculateCommitPosition"),tr=h((e,r)=>{const t=C.get(e.branch);if(!t)throw new Error(`Branch not found for commit ${e.id}`);const s=t.pos,o=r+O;return E.set(e.id,{x:s,y:o}),{x:s,y:o}},"setCommitPosition"),ar=h((e,r,t)=>{const s=C.get(e.branch);if(!s)throw new Error(`Branch not found for commit ${e.id}`);const o=r+t,i=s.pos;E.set(e.id,{x:i,y:o})},"setRootPosition"),nr=h((e,r,t,s,o,i)=>{const{theme:n}=P(),a=j.has(n??""),l=Z.has(n??""),f=Xe.has(n??"");if(i===m.HIGHLIGHT)e.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${r.id} commit-highlight${H(o,G,l)} ${s}-outer`),e.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${r.id} commit${H(o,G,l)} ${s}-inner`);else if(i===m.CHERRY_PICK)e.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`);else{const g=e.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${r.id} commit${H(o,G,l)}`),i===m.MERGE){const $=e.append("circle");$.attr("cx",t.x),$.attr("cy",t.y),$.attr("r",a?5:6),$.attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}if(i===m.REVERSE){const $=e.append("path"),c=a?4:5;$.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}}},"drawCommitBullet"),sr=h((e,r,t,s,o)=>{if(r.type!==m.CHERRY_PICK&&(r.customId&&r.type===m.MERGE||r.type!==m.MERGE)&&o.showCommitLabel){const i=e.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),a=i.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(r.id),l=a.node()?.getBBox();if(l&&(n.attr("x",t.posWithOffset-l.width/2-R).attr("y",t.y+13.5).attr("width",l.width+2*R).attr("height",l.height+2*R),y==="TB"||y==="BT"?(n.attr("x",t.x-(l.width+4*L+5)).attr("y",t.y-12),a.attr("x",t.x-(l.width+4*L)).attr("y",t.y+l.height-12)):a.attr("x",t.posWithOffset-l.width/2),o.rotateCommitLabel))if(y==="TB"||y==="BT")a.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),n.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-(l.width+10)/25*9.5,g=10+l.width/25*8.5;i.attr("transform","translate("+f+", "+g+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),or=h((e,r,t,s)=>{if(r.tags.length>0){let o=0,i=0,n=0;const a=[];for(const l of r.tags.reverse()){const f=e.insert("polygon"),g=e.append("circle"),$=e.append("text").attr("y",t.y-16-o).attr("class","tag-label").text(l),c=$.node()?.getBBox();if(!c)throw new Error("Tag bbox not found");i=Math.max(i,c.width),n=Math.max(n,c.height),$.attr("x",t.posWithOffset-c.width/2),a.push({tag:$,hole:g,rect:f,yOffset:o}),o+=20}for(const{tag:l,hole:f,rect:g,yOffset:$}of a){const c=n/2,x=t.y-19.2-$;if(g.attr("class","tag-label-bkg").attr("points",`
|
|
1
|
+
import{I as le}from"./CPNOsHfj.js";import{p as he}from"./CSzXeH2S.js";import{Y as $e,b0 as fe,aZ as ge,U as ue,V as ye,a_ as xe,b as h,W as J,ay as w,aW as me,X as P,bh as pe,b4 as be,r as we,z as B,q as ke,O as ve,aM as Ce}from"./DFNKkiho.js";import{p as Ee}from"./BBfR26V0.js";var m={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Be=ve.gitGraph,S=h(()=>ke({...Be,...J().gitGraph}),"getConfig"),d=new le(()=>{const e=S(),r=e.mainBranchName,t=e.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:t}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function Y(){return Ce({length:7})}h(Y,"getID");function te(e,r){const t=Object.create(null);return e.reduce((s,o)=>{const i=r(o);return t[i]||(t[i]=!0,s.push(o)),s},[])}h(te,"uniqBy");var Te=h(function(e){d.records.direction=e},"setDirection"),Le=h(function(e){w.debug("options str",e),e=e?.trim(),e=e||"{}";try{d.records.options=JSON.parse(e)}catch(r){w.error("error while parsing gitGraph options",r.message)}},"setOptions"),Me=h(function(){return d.records.options},"getOptions"),Re=h(function(e){let r=e.msg,t=e.id;const s=e.type;let o=e.tags;w.info("commit",r,t,s,o),w.debug("Entering commit:",r,t,s,o);const i=S();t=B.sanitizeText(t,i),r=B.sanitizeText(r,i),o=o?.map(a=>B.sanitizeText(a,i));const n={id:t||d.records.seq+"-"+Y(),message:r,seq:d.records.seq++,type:s??m.NORMAL,tags:o??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=n,w.info("main branch",i.mainBranchName),d.records.commits.has(n.id)&&w.warn(`Commit ID ${n.id} already exists`),d.records.commits.set(n.id,n),d.records.branches.set(d.records.currBranch,n.id),w.debug("in pushCommit "+n.id)},"commit"),Ie=h(function(e){let r=e.name;const t=e.order;if(r=B.sanitizeText(r,S()),d.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);d.records.branches.set(r,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(r,{name:r,order:t}),ae(r),w.debug("in createBranch")},"branch"),Oe=h(e=>{let r=e.branch,t=e.id;const s=e.type,o=e.tags,i=S();r=B.sanitizeText(r,i),t&&(t=B.sanitizeText(t,i));const n=d.records.branches.get(d.records.currBranch),a=d.records.branches.get(r),l=n?d.records.commits.get(n):void 0,f=a?d.records.commits.get(a):void 0;if(l&&f&&l.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(d.records.currBranch===r){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},c}if(!d.records.branches.has(r)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},c}if(f===void 0||!f){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},c}if(l===f){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(t&&d.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${r} ${t} ${s} ${o?.join(" ")}`,token:`merge ${r} ${t} ${s} ${o?.join(" ")}`,expected:[`merge ${r} ${t}_UNIQUE ${s} ${o?.join(" ")}`]},c}const g=a||"",$={id:t||`${d.records.seq}-${Y()}`,message:`merged branch ${r} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:m.MERGE,customType:s,customId:!!t,tags:o??[]};d.records.head=$,d.records.commits.set($.id,$),d.records.branches.set(d.records.currBranch,$.id),w.debug(d.records.branches),w.debug("in mergeBranch")},"merge"),_e=h(function(e){let r=e.id,t=e.targetId,s=e.tags,o=e.parent;w.debug("Entering cherryPick:",r,t,s);const i=S();if(r=B.sanitizeText(r,i),t=B.sanitizeText(t,i),s=s?.map(l=>B.sanitizeText(l,i)),o=B.sanitizeText(o,i),!r||!d.records.commits.has(r)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},l}const n=d.records.commits.get(r);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===m.MERGE&&!o)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(a===d.records.currBranch){const $=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const l=d.records.branches.get(d.records.currBranch);if(l===void 0||!l){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const f=d.records.commits.get(l);if(f===void 0||!f){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const g={id:d.records.seq+"-"+Y(),message:`cherry-picked ${n?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,n.id],branch:d.records.currBranch,type:m.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${n.id}${n.type===m.MERGE?`|parent:${o}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.debug(d.records.branches),w.debug("in cherryPick")}},"cherryPick"),ae=h(function(e){if(e=B.sanitizeText(e,S()),d.records.branches.has(e)){d.records.currBranch=e;const r=d.records.branches.get(d.records.currBranch);r===void 0||!r?d.records.head=null:d.records.head=d.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}},"checkout");function V(e,r,t){const s=e.indexOf(r);s===-1?e.push(t):e.splice(s,1,t)}h(V,"upsert");function Q(e){const r=e.reduce((o,i)=>o.seq>i.seq?o:i,e[0]);let t="";e.forEach(function(o){o===r?t+=" *":t+=" |"});const s=[t,r.id,r.seq];for(const o in d.records.branches)d.records.branches.get(o)===r.id&&s.push(o);if(w.debug(s.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const o=d.records.commits.get(r.parents[0]);V(e,r,o),r.parents[1]&&e.push(d.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const o=d.records.commits.get(r.parents[0]);V(e,r,o)}}e=te(e,o=>o.id),Q(e)}h(Q,"prettyPrintCommitHistory");var Ge=h(function(){w.debug(d.records.commits);const e=ne()[0];Q([e])},"prettyPrint"),He=h(function(){d.reset(),we()},"clear"),Se=h(function(){return[...d.records.branchConfig.values()].map((r,t)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${t}`)}).sort((r,t)=>(r.order??0)-(t.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),Ae=h(function(){return d.records.branches},"getBranches"),We=h(function(){return d.records.commits},"getCommits"),ne=h(function(){const e=[...d.records.commits.values()];return e.forEach(function(r){w.debug(r.id)}),e.sort((r,t)=>r.seq-t.seq),e},"getCommitsArray"),De=h(function(){return d.records.currBranch},"getCurrentBranch"),qe=h(function(){return d.records.direction},"getDirection"),Pe=h(function(){return d.records.head},"getHead"),se={commitType:m,getConfig:S,setDirection:Te,setOptions:Le,getOptions:Me,commit:Re,branch:Ie,merge:Oe,cherryPick:_e,checkout:ae,prettyPrint:Ge,clear:He,getBranchesAsObjArray:Se,getBranches:Ae,getCommits:We,getCommitsArray:ne,getCurrentBranch:De,getDirection:qe,getHead:Pe,setAccTitle:xe,getAccTitle:ye,getAccDescription:ue,setAccDescription:ge,setDiagramTitle:fe,getDiagramTitle:$e},Ne=h((e,r)=>{he(e,r),e.dir&&r.setDirection(e.dir);for(const t of e.statements)Fe(t,r)},"populate"),Fe=h((e,r)=>{const s={Commit:h(o=>r.commit(ze(o)),"Commit"),Branch:h(o=>r.branch(Ye(o)),"Branch"),Merge:h(o=>r.merge(je(o)),"Merge"),Checkout:h(o=>r.checkout(Ue(o)),"Checkout"),CherryPicking:h(o=>r.cherryPick(Ke(o)),"CherryPicking")}[e.$type];s?s(e):w.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),ze=h(e=>({id:e.id,msg:e.message??"",type:e.type!==void 0?m[e.type]:m.NORMAL,tags:e.tags??void 0}),"parseCommit"),Ye=h(e=>({name:e.name,order:e.order??0}),"parseBranch"),je=h(e=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?m[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ue=h(e=>e.branch,"parseCheckout"),Ke=h(e=>({id:e.id,targetId:"",tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),"parseCherryPicking"),Ve={parse:h(async e=>{const r=await Ee("gitGraph",e);w.debug(r),Ne(r,se)},"parse")},O=10,_=40,L=4,R=2,G=8,j=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),X=12,Z=new Set(["redux-color","redux-dark-color"]),Xe=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),H=h((e,r,t=!1)=>t&&e>0?(e-1)%(r-1)+1:e%r,"calcColorIndex"),C=new Map,E=new Map,F=30,D=new Map,z=[],I=0,y="LR",Je=h(()=>{C.clear(),E.clear(),D.clear(),I=0,z=[],y="LR"},"clear"),oe=h(e=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e=="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=s.trim(),r.appendChild(o)}),r},"drawText"),ce=h(e=>{let r,t,s;return y==="BT"?(t=h((o,i)=>o<=i,"comparisonFunc"),s=1/0):(t=h((o,i)=>o>=i,"comparisonFunc"),s=0),e.forEach(o=>{const i=y==="TB"||y=="BT"?E.get(o)?.y:E.get(o)?.x;i!==void 0&&t(i,s)&&(r=o,s=i)}),r},"findClosestParent"),Qe=h(e=>{let r="",t=1/0;return e.forEach(s=>{const o=E.get(s).y;o<=t&&(r=s,t=o)}),r||void 0},"findClosestParentBT"),Ze=h((e,r,t)=>{let s=t,o=t;const i=[];e.forEach(n=>{const a=r.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(s=rr(a),o=Math.max(s,o)):i.push(a),tr(a,s)}),s=o,i.forEach(n=>{ar(n,s,t)}),e.forEach(n=>{const a=r.get(n);if(a?.parents.length){const l=Qe(a.parents);s=E.get(l).y-_,s<=o&&(o=s);const f=C.get(a.branch).pos,g=s-O;E.set(a.id,{x:f,y:g})}})},"setParallelBTPos"),er=h(e=>{const r=ce(e.parents.filter(s=>s!==null));if(!r)throw new Error(`Closest parent not found for commit ${e.id}`);const t=E.get(r)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${e.id}`);return t},"findClosestParentPos"),rr=h(e=>er(e)+_,"calculateCommitPosition"),tr=h((e,r)=>{const t=C.get(e.branch);if(!t)throw new Error(`Branch not found for commit ${e.id}`);const s=t.pos,o=r+O;return E.set(e.id,{x:s,y:o}),{x:s,y:o}},"setCommitPosition"),ar=h((e,r,t)=>{const s=C.get(e.branch);if(!s)throw new Error(`Branch not found for commit ${e.id}`);const o=r+t,i=s.pos;E.set(e.id,{x:i,y:o})},"setRootPosition"),nr=h((e,r,t,s,o,i)=>{const{theme:n}=P(),a=j.has(n??""),l=Z.has(n??""),f=Xe.has(n??"");if(i===m.HIGHLIGHT)e.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${r.id} commit-highlight${H(o,G,l)} ${s}-outer`),e.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${r.id} commit${H(o,G,l)} ${s}-inner`);else if(i===m.CHERRY_PICK)e.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`);else{const g=e.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${r.id} commit${H(o,G,l)}`),i===m.MERGE){const $=e.append("circle");$.attr("cx",t.x),$.attr("cy",t.y),$.attr("r",a?5:6),$.attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}if(i===m.REVERSE){const $=e.append("path"),c=a?4:5;$.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}}},"drawCommitBullet"),sr=h((e,r,t,s,o)=>{if(r.type!==m.CHERRY_PICK&&(r.customId&&r.type===m.MERGE||r.type!==m.MERGE)&&o.showCommitLabel){const i=e.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),a=i.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(r.id),l=a.node()?.getBBox();if(l&&(n.attr("x",t.posWithOffset-l.width/2-R).attr("y",t.y+13.5).attr("width",l.width+2*R).attr("height",l.height+2*R),y==="TB"||y==="BT"?(n.attr("x",t.x-(l.width+4*L+5)).attr("y",t.y-12),a.attr("x",t.x-(l.width+4*L)).attr("y",t.y+l.height-12)):a.attr("x",t.posWithOffset-l.width/2),o.rotateCommitLabel))if(y==="TB"||y==="BT")a.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),n.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-(l.width+10)/25*9.5,g=10+l.width/25*8.5;i.attr("transform","translate("+f+", "+g+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),or=h((e,r,t,s)=>{if(r.tags.length>0){let o=0,i=0,n=0;const a=[];for(const l of r.tags.reverse()){const f=e.insert("polygon"),g=e.append("circle"),$=e.append("text").attr("y",t.y-16-o).attr("class","tag-label").text(l),c=$.node()?.getBBox();if(!c)throw new Error("Tag bbox not found");i=Math.max(i,c.width),n=Math.max(n,c.height),$.attr("x",t.posWithOffset-c.width/2),a.push({tag:$,hole:g,rect:f,yOffset:o}),o+=20}for(const{tag:l,hole:f,rect:g,yOffset:$}of a){const c=n/2,x=t.y-19.2-$;if(g.attr("class","tag-label-bkg").attr("points",`
|
|
2
2
|
${s-i/2-L/2},${x+R}
|
|
3
3
|
${s-i/2-L/2},${x-R}
|
|
4
4
|
${t.posWithOffset-i/2-L},${x-c-R}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/DvEcqVUt.js","/app/immutable/chunks/TdGvVwuC.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/Fcr7AvC-.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/nodes/0.D_e7AeTl.js","/app/immutable/chunks/CWfjuhY2.js","/app/immutable/chunks/BhYXv0ZM.js","/app/immutable/chunks/Cc0763mU.js","/app/immutable/chunks/BIv0yV05.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/D0qhIm1r.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BS1zON0P.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/Cu9dGfYE.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/B_QPRXJ5.js","/app/immutable/chunks/BwweojP5.js","/app/immutable/chunks/BqF1bVQC.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/assets/0.f7Q6Jfdh.css","/app/immutable/nodes/1.DA21OvwY.js","/app/immutable/chunks/CxuKWK-9.js","/app/immutable/chunks/CPUJ3EYc.js","/app/immutable/chunks/ChHRVjww.js","/app/immutable/chunks/2z64ELW5.js","/app/immutable/chunks/BRCr02in.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/CA6H1-bp.js","/app/immutable/chunks/Beq_QLuz.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/BAtAwQ72.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/nodes/2.CTOsyef2.js","/app/immutable/chunks/CbSZGuz9.js","/app/immutable/chunks/cD292w1o.js","/app/immutable/chunks/CZfU7DE3.js","/app/immutable/chunks/C7b3vXLD.js","/app/immutable/chunks/BCwKGJpG.js","/app/immutable/chunks/B8pX1T5t.js","/app/immutable/chunks/CkyxPppw.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/C4AJzMws.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/B0SSzYpD.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/C0JQvbI4.js","/app/immutable/chunks/Xk1ND_1x.js","/app/immutable/chunks/CL3a4Hm1.js","/app/immutable/chunks/k5fprFtz.js","/app/immutable/chunks/_IjN0Lbt.js","/app/immutable/chunks/CH7HNVC2.js","/app/immutable/chunks/DrCYFWYk.js","/app/immutable/chunks/B_DmwFyf.js","/app/immutable/chunks/s_T1Uukt.js","/app/immutable/chunks/BnbmXiW4.js","/app/immutable/chunks/DkQdSPDN.js","/app/immutable/chunks/DRMe5Ypb.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/CxR-pcVt.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.DylRFR3N.css","/app/immutable/chunks/D4WPlvMg.js","/app/immutable/chunks/vezRCn6E.js","/app/immutable/chunks/ZfkZCfTr.js","/app/immutable/chunks/BjEG_fCJ.js","/app/immutable/chunks/CQcEqK4G.js","/app/immutable/chunks/Y8hdNZSZ.js","/app/immutable/chunks/BmqZzhgO.js","/app/immutable/chunks/BonA_mfc.js","/app/immutable/chunks/9ryMZ44V.js","/app/immutable/chunks/DPbxpEc3.js","/app/immutable/chunks/udmuNwTR.js","/app/immutable/chunks/BLUGgUG-.js","/app/immutable/chunks/8ljmIEEj.js","/app/immutable/chunks/CCAtqaSn.js","/app/immutable/chunks/DpDGJXfb.js","/app/immutable/chunks/BFVncOQi.js","/app/immutable/chunks/Bvwrya09.js","/app/immutable/chunks/x4bPxhVW.js","/app/immutable/chunks/BzXQ5SMs.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/O5ZlQHf9.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/YqTahsxp.js","/app/immutable/chunks/BVhnyyZ7.js","/app/immutable/chunks/ghzRmqKs.js","/app/immutable/chunks/u_H5ILVa.js","/app/immutable/chunks/2OP7IVCM.js","/app/immutable/chunks/Bu13V5mO.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/wtJmZfcy.js","/app/immutable/chunks/CSiaiLHL.js","/app/immutable/chunks/DepS1LOg.js","/app/immutable/chunks/WWDClKTE.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/D6H34kDj.js","/app/immutable/chunks/BO4HougN.js","/app/immutable/chunks/Bw-Zu1Zf.js","/app/immutable/chunks/BYfDvU8j.js","/app/immutable/chunks/D8cNe_33.js","/app/immutable/chunks/BFO-Le8U.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/chunks/BzW_moTi.js","/app/immutable/chunks/CDUMf4mn.js","/app/immutable/chunks/C3KgmGxd.js","/app/immutable/chunks/gNR_yDDX.js","/app/immutable/chunks/BjLb7AHW.js","/app/immutable/chunks/UWtWVoQE.js","/app/immutable/chunks/DAsc1V4f.js","/app/immutable/chunks/BsieX9dN.js","/app/immutable/chunks/iMqZaR5X.js","/app/immutable/assets/SettingsPage.CKvEnOAL.css","/app/immutable/chunks/Tgw7Kdvt.js","/app/immutable/chunks/Cz3WzTlQ.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/DcrCEeFN.js","/app/immutable/chunks/Ch9YoFhc.js","/app/immutable/chunks/DfINI0LK.js","/app/immutable/chunks/CWtyXmQ4.js","/app/immutable/chunks/B469nFvV.js","/app/immutable/chunks/BnnKw3Va.js","/app/immutable/chunks/BJIUXUAo.js","/app/immutable/assets/select-viewport.CV-KWLNP.css","/app/immutable/chunks/C2RnxEnO.js","/app/immutable/chunks/CVx5OKWy.js","/app/immutable/chunks/D7KhILhs.js","/app/immutable/chunks/B8m3-qrW.js","/app/immutable/chunks/CpK0xLH4.js","/app/immutable/chunks/ZmAQurQV.js","/app/immutable/chunks/BKGQPtRi.js","/app/immutable/assets/checkbox.D429NJZk.css","/app/immutable/assets/directory-picker-service.uzk1xoHg.css","/app/immutable/chunks/C7q_UkFQ.js","/app/immutable/chunks/D42wJcQ3.js","/app/immutable/chunks/koUs6Gjt.js","/app/immutable/assets/slider.kL-wkHnx.css","/app/immutable/assets/AttachmentPreview.DWUPhcKi.css","/app/immutable/chunks/CjrqEuvI.js","/app/immutable/chunks/BmyNM7bS.js","/app/immutable/chunks/zFu37m6L.js","/app/immutable/chunks/COmspkQo.js","/app/immutable/chunks/lK1e5NlM.js","/app/immutable/chunks/OqslD7bF.js","/app/immutable/chunks/BpFxCD0b.js","/app/immutable/chunks/qLTVpfPn.js","/app/immutable/chunks/l3Y4i65_.js","/app/immutable/chunks/Cx8Rw_sH.js","/app/immutable/chunks/CTkkv_Ih.js","/app/immutable/chunks/DWjpzYNk.js","/app/immutable/chunks/B2-ooCTr.js","/app/immutable/chunks/Dbqo6rfT.js","/app/immutable/chunks/BCL-o_Md.js","/app/immutable/chunks/Bh3yfjRP.js","/app/immutable/chunks/D_jEt7ej.js","/app/immutable/chunks/IHdKCjQM.js","/app/immutable/chunks/Qvf67TfJ.js","/app/immutable/chunks/DON9zoQ1.js","/app/immutable/assets/AgentAvatar.CZKKHyEm.css","/app/immutable/assets/avatar-state.BzFIexJN.css","/app/immutable/chunks/DJZIHUd7.js","/app/immutable/assets/TipTapEditor.BmeA7Qtk.css","/app/immutable/chunks/jphlY6bT.js","/app/immutable/chunks/BusD2v6a.js","/app/immutable/assets/image-context-items.D_hsaikk.css","/app/immutable/chunks/uPtH8pRz.js","/app/immutable/chunks/CV86ty5-.js","/app/immutable/chunks/DqFGUV9A.js","/app/immutable/chunks/DP31pjuo.js","/app/immutable/chunks/CQ409-Pj.js","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/C-BsEdGZ.js","/app/immutable/chunks/BzKqzACd.js","/app/immutable/chunks/A0p6PvBn.js","/app/immutable/chunks/DfyDNbbj.js","/app/immutable/chunks/D-N7efrx.js","/app/immutable/chunks/C8OXQeb2.js","/app/immutable/chunks/Ce-va2I0.js","/app/immutable/chunks/Dk9lUzSs.js","/app/immutable/assets/CompactWorkspaceInitializer.i4vCnRqW.css","/app/immutable/chunks/BDQvAsU6.js","/app/immutable/chunks/Ca1iiPGq.js","/app/immutable/assets/workspace-key-menu.DrT-Fxqq.css","/app/immutable/chunks/BalE-G27.js","/app/immutable/chunks/DhXSKt_a.js","/app/immutable/chunks/CXygwMkb.js","/app/immutable/chunks/U5o8u-di.js","/app/immutable/chunks/DwJUGAx4.js","/app/immutable/chunks/BKD7o1lQ.js","/app/immutable/assets/MarkdownViewer.D2MexjjT.css","/app/immutable/chunks/goTpbPhD.js","/app/immutable/chunks/CGcJ5lqH.js","/app/immutable/chunks/iNacp7Sr.js","/app/immutable/chunks/CXXVPWBH.js","/app/immutable/chunks/Rq6GuI3F.js","/app/immutable/chunks/CB8FMdnB.js","/app/immutable/chunks/BCw-LKCu.js","/app/immutable/chunks/CCSQmeuF.js","/app/immutable/chunks/D5ocbEo-.js","/app/immutable/chunks/BdWMbiFk.js","/app/immutable/assets/Terminal.Ddek5eNE.css","/app/immutable/chunks/BK5l06W2.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/chunks/BbIcudMY.js","/app/immutable/assets/2.Vr3nl0E4.css","/app/immutable/nodes/3.xcZps6DB.js","/app/immutable/nodes/4.DaJkDmFI.js","/app/immutable/nodes/5.7rTxN-4O.js","/app/immutable/nodes/6.tsWwri9c.js","/app/immutable/chunks/Bj58rFtD.js","/app/immutable/chunks/DsDbrkJf.js","/app/immutable/chunks/CXTQXSCs.js","/app/immutable/assets/PanelContentRenderer.C1wFV-kd.css","/app/immutable/chunks/Bky3Gaqa.js","/app/immutable/chunks/DITs7RNY.js","/app/immutable/chunks/Bs5b-3jJ.js","/app/immutable/chunks/B6SGYvow.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/dvKmN4h6.js","/app/immutable/chunks/f5b-J-bi.js","/app/immutable/chunks/BQ5x_RaT.js","/app/immutable/assets/DockScreenshotEditorWindow.DNkBhnHK.css","/app/immutable/assets/dock-tokens.C3wiNkmL.css","/app/immutable/chunks/C-e2e9PC.js","/app/immutable/chunks/D179JMBI.js","/app/immutable/chunks/B76dt5zP.js","/app/immutable/chunks/BjPpzZjk.js","/app/immutable/chunks/C8PR5GO9.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/mpTxy2jJ.js","/app/immutable/chunks/DEB8jcix.js","/app/immutable/chunks/lwn02icp.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/C1SGWBXH.js","/app/immutable/chunks/CcNhqKh5.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/BZnji9hP.js","/app/immutable/assets/DiagramPresentation.C2GLYoBN.css","/app/immutable/chunks/BGSmaq6H.js","/app/immutable/chunks/BRPh2Gky.js","/app/immutable/chunks/DgAgTFcK.js","/app/immutable/chunks/m8Q2Rt7R.js","/app/immutable/chunks/DMOXpjfz.js","/app/immutable/chunks/D7VoSTzK.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.Cjb73igJ.css","/app/immutable/chunks/D7z6HEeo.js","/app/immutable/chunks/kSTrWIIB.js","/app/immutable/chunks/BybDBA-a.js","/app/immutable/chunks/T6UBEOFc.js","/app/immutable/assets/conversation-turns.P_pkAsRX.css","/app/immutable/chunks/D9gMMVdB.js","/app/immutable/chunks/iViWtmHm.js","/app/immutable/chunks/gKdztwD8.js","/app/immutable/chunks/DHMxSQaO.js","/app/immutable/chunks/DqQWmhFJ.js","/app/immutable/chunks/xK5y1U34.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/chunks/52kdRKiP.js","/app/immutable/chunks/DL6gGkHp.js","/app/immutable/assets/DockRecordingEditor.BX1NXczK.css","/app/immutable/assets/ChatPanel.B73KM22O.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/chunks/CykElrvo.js","/app/immutable/chunks/DWGXN6Nr.js","/app/immutable/assets/ResizablePanel.Bi3i2_fe.css","/app/immutable/assets/6.DBgC2kSL.css","/app/immutable/nodes/7.CDTojphP.js","/app/immutable/assets/7.D6ebrVTb.css","/app/immutable/nodes/8.BO5ffLDm.js","/app/immutable/chunks/C3cVfkio.js","/app/immutable/nodes/9.D0POivb2.js","/app/immutable/chunks/pUywXnJP.js","/app/immutable/chunks/D3yXvqwY.js","/app/immutable/chunks/-xCKOX3D.js","/app/immutable/chunks/CdtwTpzR.js","/app/immutable/chunks/B9R2bql6.js","/app/immutable/assets/9.CfWCtgHG.css","/app/immutable/nodes/10.CSASJEbg.js","/app/immutable/chunks/CRm25OCR.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/w3KJAO4V.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/DoFGyuPK.js","/app/immutable/assets/scroll-area.bHHIbcsu.css","/app/immutable/chunks/DjAFd7Fr.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/wEnqV1Ol.js","/app/immutable/chunks/ByaJIEgQ.js","/app/immutable/chunks/C3AR_gNB.js","/app/immutable/assets/10.xCAPscJx.css","/app/immutable/nodes/11.DW2JfBsq.js","/app/immutable/assets/11.BO7QC36g.css","/app/immutable/nodes/12.B8s5KuaN.js","/app/immutable/nodes/13.J8EpPA9A.js","/app/immutable/assets/13.CF5xLHXq.css","/app/immutable/nodes/14.C5TLXVit.js","/app/immutable/chunks/B36ccT8S.js","/app/immutable/assets/14.BuZANxI8.css","/app/immutable/nodes/15.DrH3We44.js","/app/immutable/assets/15.CWppUCpM.css","/app/immutable/nodes/16.T0PyvW1V.js","/app/immutable/assets/16.DBFWhlfB.css","/app/immutable/nodes/17.pi-yfOoM.js","/app/immutable/nodes/18.CTVha2lA.js","/app/immutable/nodes/19.DyUaZQFK.js","/app/immutable/assets/19.Cznk2DRv.css","/app/immutable/nodes/20.BPfqGZ4o.js","/app/immutable/assets/20.BdP13STv.css"])))=>i.map(i=>d[i]);
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/DvEcqVUt.js","/app/immutable/chunks/TdGvVwuC.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/Fcr7AvC-.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/nodes/0.BlcS-Hyh.js","/app/immutable/chunks/CWfjuhY2.js","/app/immutable/chunks/BhYXv0ZM.js","/app/immutable/chunks/Cc0763mU.js","/app/immutable/chunks/BIv0yV05.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/D0qhIm1r.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BS1zON0P.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/Cu9dGfYE.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/B_QPRXJ5.js","/app/immutable/chunks/BwweojP5.js","/app/immutable/chunks/CccfsETL.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/assets/0.f7Q6Jfdh.css","/app/immutable/nodes/1.BMTchPFq.js","/app/immutable/chunks/DY9w61PC.js","/app/immutable/chunks/KRACSBb9.js","/app/immutable/chunks/ChHRVjww.js","/app/immutable/chunks/2z64ELW5.js","/app/immutable/chunks/BRCr02in.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/CA6H1-bp.js","/app/immutable/chunks/Beq_QLuz.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/BAtAwQ72.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/nodes/2.1iJIAnw5.js","/app/immutable/chunks/CbSZGuz9.js","/app/immutable/chunks/cD292w1o.js","/app/immutable/chunks/CZfU7DE3.js","/app/immutable/chunks/C7b3vXLD.js","/app/immutable/chunks/CDcxODgf.js","/app/immutable/chunks/DotCIVLI.js","/app/immutable/chunks/OuI4JmWC.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/BPFSAjsd.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/B0SSzYpD.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/D-j7vD5Z.js","/app/immutable/chunks/DlnCrS3y.js","/app/immutable/chunks/CL3a4Hm1.js","/app/immutable/chunks/BuM8LV7z.js","/app/immutable/chunks/_IjN0Lbt.js","/app/immutable/chunks/CH7HNVC2.js","/app/immutable/chunks/DejjV5ft.js","/app/immutable/chunks/50HYkjWD.js","/app/immutable/chunks/s_T1Uukt.js","/app/immutable/chunks/ByvcSsIj.js","/app/immutable/chunks/DkQdSPDN.js","/app/immutable/chunks/DRMe5Ypb.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/CxR-pcVt.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.DylRFR3N.css","/app/immutable/chunks/D4WPlvMg.js","/app/immutable/chunks/MFTfhUYi.js","/app/immutable/chunks/ZfkZCfTr.js","/app/immutable/chunks/DdU2snxg.js","/app/immutable/chunks/CQcEqK4G.js","/app/immutable/chunks/Y8hdNZSZ.js","/app/immutable/chunks/BmqZzhgO.js","/app/immutable/chunks/BonA_mfc.js","/app/immutable/chunks/9ryMZ44V.js","/app/immutable/chunks/DuFY1gwd.js","/app/immutable/chunks/C7MFACZg.js","/app/immutable/chunks/DTNrtzyx.js","/app/immutable/chunks/CtzbB_EQ.js","/app/immutable/chunks/CCAtqaSn.js","/app/immutable/chunks/BB5TUToP.js","/app/immutable/chunks/DdYVblGk.js","/app/immutable/chunks/Bvwrya09.js","/app/immutable/chunks/x4bPxhVW.js","/app/immutable/chunks/BzXQ5SMs.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/O5ZlQHf9.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/YqTahsxp.js","/app/immutable/chunks/BVhnyyZ7.js","/app/immutable/chunks/ghzRmqKs.js","/app/immutable/chunks/u_H5ILVa.js","/app/immutable/chunks/2OP7IVCM.js","/app/immutable/chunks/Bu13V5mO.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/DaTkisKB.js","/app/immutable/chunks/CSiaiLHL.js","/app/immutable/chunks/DepS1LOg.js","/app/immutable/chunks/WWDClKTE.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/D6H34kDj.js","/app/immutable/chunks/BO4HougN.js","/app/immutable/chunks/Bw-Zu1Zf.js","/app/immutable/chunks/BYfDvU8j.js","/app/immutable/chunks/D8cNe_33.js","/app/immutable/chunks/BFO-Le8U.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/chunks/BzW_moTi.js","/app/immutable/chunks/Xr-aTNRN.js","/app/immutable/chunks/C3KgmGxd.js","/app/immutable/chunks/gNR_yDDX.js","/app/immutable/chunks/BjLb7AHW.js","/app/immutable/chunks/UWtWVoQE.js","/app/immutable/chunks/DAsc1V4f.js","/app/immutable/chunks/BsieX9dN.js","/app/immutable/chunks/iMqZaR5X.js","/app/immutable/assets/SettingsPage.CKvEnOAL.css","/app/immutable/chunks/Tgw7Kdvt.js","/app/immutable/chunks/Cz3WzTlQ.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/DcrCEeFN.js","/app/immutable/chunks/Ch9YoFhc.js","/app/immutable/chunks/DfINI0LK.js","/app/immutable/chunks/CWtyXmQ4.js","/app/immutable/chunks/DIME5LWK.js","/app/immutable/chunks/BnnKw3Va.js","/app/immutable/chunks/BJIUXUAo.js","/app/immutable/assets/select-viewport.CV-KWLNP.css","/app/immutable/chunks/C2RnxEnO.js","/app/immutable/chunks/CVx5OKWy.js","/app/immutable/chunks/D7KhILhs.js","/app/immutable/chunks/B8m3-qrW.js","/app/immutable/chunks/CpK0xLH4.js","/app/immutable/chunks/ZmAQurQV.js","/app/immutable/chunks/BKGQPtRi.js","/app/immutable/assets/checkbox.D429NJZk.css","/app/immutable/assets/directory-picker-service.uzk1xoHg.css","/app/immutable/chunks/DUcJILSg.js","/app/immutable/chunks/DbB491_u.js","/app/immutable/chunks/koUs6Gjt.js","/app/immutable/assets/slider.kL-wkHnx.css","/app/immutable/assets/AttachmentPreview.DWUPhcKi.css","/app/immutable/chunks/CjrqEuvI.js","/app/immutable/chunks/DvdITStP.js","/app/immutable/chunks/WWq3hijy.js","/app/immutable/chunks/COmspkQo.js","/app/immutable/chunks/lK1e5NlM.js","/app/immutable/chunks/OqslD7bF.js","/app/immutable/chunks/BpFxCD0b.js","/app/immutable/chunks/r4dmBxo_.js","/app/immutable/chunks/l3Y4i65_.js","/app/immutable/chunks/PejVYY2W.js","/app/immutable/chunks/CTkkv_Ih.js","/app/immutable/chunks/DWjpzYNk.js","/app/immutable/chunks/B2-ooCTr.js","/app/immutable/chunks/Dbqo6rfT.js","/app/immutable/chunks/ZIePA90q.js","/app/immutable/chunks/Bh3yfjRP.js","/app/immutable/chunks/D_jEt7ej.js","/app/immutable/chunks/DEsM7h8K.js","/app/immutable/chunks/CLX81MHV.js","/app/immutable/chunks/DON9zoQ1.js","/app/immutable/assets/AgentAvatar.CZKKHyEm.css","/app/immutable/assets/avatar-state.BzFIexJN.css","/app/immutable/chunks/DJZIHUd7.js","/app/immutable/assets/TipTapEditor.BmeA7Qtk.css","/app/immutable/chunks/jphlY6bT.js","/app/immutable/chunks/BusD2v6a.js","/app/immutable/assets/image-context-items.D_hsaikk.css","/app/immutable/chunks/C9iwh4F-.js","/app/immutable/chunks/9AKr1UyY.js","/app/immutable/chunks/DqFGUV9A.js","/app/immutable/chunks/DP31pjuo.js","/app/immutable/chunks/CQ409-Pj.js","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/C-BsEdGZ.js","/app/immutable/chunks/DivmpPFQ.js","/app/immutable/chunks/A0p6PvBn.js","/app/immutable/chunks/aoX2v33V.js","/app/immutable/chunks/D-N7efrx.js","/app/immutable/chunks/C8OXQeb2.js","/app/immutable/chunks/Ce-va2I0.js","/app/immutable/chunks/Dk9lUzSs.js","/app/immutable/assets/CompactWorkspaceInitializer.i4vCnRqW.css","/app/immutable/chunks/BDQvAsU6.js","/app/immutable/chunks/CGJ5yTzR.js","/app/immutable/assets/workspace-key-menu.DrT-Fxqq.css","/app/immutable/chunks/BalE-G27.js","/app/immutable/chunks/DhXSKt_a.js","/app/immutable/chunks/CXygwMkb.js","/app/immutable/chunks/U5o8u-di.js","/app/immutable/chunks/Cdw7QKyr.js","/app/immutable/chunks/BKD7o1lQ.js","/app/immutable/assets/MarkdownViewer.D2MexjjT.css","/app/immutable/chunks/goTpbPhD.js","/app/immutable/chunks/CGcJ5lqH.js","/app/immutable/chunks/iNacp7Sr.js","/app/immutable/chunks/CXXVPWBH.js","/app/immutable/chunks/Rq6GuI3F.js","/app/immutable/chunks/0TbppU-W.js","/app/immutable/chunks/BCw-LKCu.js","/app/immutable/chunks/CCSQmeuF.js","/app/immutable/chunks/D5ocbEo-.js","/app/immutable/chunks/BdWMbiFk.js","/app/immutable/assets/Terminal.Ddek5eNE.css","/app/immutable/chunks/C6Af0QaF.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/chunks/BbIcudMY.js","/app/immutable/assets/2.Vr3nl0E4.css","/app/immutable/nodes/3.BDDby9Gq.js","/app/immutable/nodes/4.utfN0vdd.js","/app/immutable/nodes/5.Z6w8za6J.js","/app/immutable/nodes/6.w_k_ibWb.js","/app/immutable/chunks/CEqrck_t.js","/app/immutable/chunks/f0WUpIfB.js","/app/immutable/chunks/DL__HI6l.js","/app/immutable/assets/PanelContentRenderer.C1wFV-kd.css","/app/immutable/chunks/Bky3Gaqa.js","/app/immutable/chunks/Bwa2n5jC.js","/app/immutable/chunks/Cp4SiU7R.js","/app/immutable/chunks/CA5vNvRD.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/dvKmN4h6.js","/app/immutable/chunks/f5b-J-bi.js","/app/immutable/chunks/BQ5x_RaT.js","/app/immutable/assets/DockScreenshotEditorWindow.DNkBhnHK.css","/app/immutable/assets/dock-tokens.C3wiNkmL.css","/app/immutable/chunks/vq6mxGLA.js","/app/immutable/chunks/D179JMBI.js","/app/immutable/chunks/CzK_7_Jd.js","/app/immutable/chunks/CPav-V5t.js","/app/immutable/chunks/C8PR5GO9.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/DNup87JQ.js","/app/immutable/chunks/DEB8jcix.js","/app/immutable/chunks/lwn02icp.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/C1SGWBXH.js","/app/immutable/chunks/CcNhqKh5.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/DFNKkiho.js","/app/immutable/assets/DiagramPresentation.C2GLYoBN.css","/app/immutable/chunks/BGSmaq6H.js","/app/immutable/chunks/CcBmcC9f.js","/app/immutable/chunks/DgAgTFcK.js","/app/immutable/chunks/QKQvZF-2.js","/app/immutable/chunks/DMOXpjfz.js","/app/immutable/chunks/DDDvNwR-.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.Cjb73igJ.css","/app/immutable/chunks/i2Q0D3-m.js","/app/immutable/chunks/CUiYYsIq.js","/app/immutable/chunks/B0oQ37UY.js","/app/immutable/chunks/T6UBEOFc.js","/app/immutable/assets/conversation-turns.P_pkAsRX.css","/app/immutable/chunks/D9gMMVdB.js","/app/immutable/chunks/iViWtmHm.js","/app/immutable/chunks/gKdztwD8.js","/app/immutable/chunks/DHMxSQaO.js","/app/immutable/chunks/CeHL-3WK.js","/app/immutable/chunks/a3O-Ns1M.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/chunks/52kdRKiP.js","/app/immutable/chunks/DL6gGkHp.js","/app/immutable/assets/DockRecordingEditor.BX1NXczK.css","/app/immutable/assets/ChatPanel.B73KM22O.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/chunks/CcMCIG6E.js","/app/immutable/chunks/DWGXN6Nr.js","/app/immutable/assets/ResizablePanel.Bi3i2_fe.css","/app/immutable/assets/6.DBgC2kSL.css","/app/immutable/nodes/7.I-q-I1bs.js","/app/immutable/assets/7.D6ebrVTb.css","/app/immutable/nodes/8.BgjULPKU.js","/app/immutable/chunks/CpT48V2z.js","/app/immutable/nodes/9.DOkmR0cl.js","/app/immutable/chunks/C9DStJW1.js","/app/immutable/chunks/D3yXvqwY.js","/app/immutable/chunks/-xCKOX3D.js","/app/immutable/chunks/CdtwTpzR.js","/app/immutable/chunks/B9R2bql6.js","/app/immutable/assets/9.CfWCtgHG.css","/app/immutable/nodes/10.CfDNhRgU.js","/app/immutable/chunks/CRm25OCR.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/H8hIaDaV.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/DoFGyuPK.js","/app/immutable/assets/scroll-area.bHHIbcsu.css","/app/immutable/chunks/DjAFd7Fr.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/wEnqV1Ol.js","/app/immutable/chunks/ByaJIEgQ.js","/app/immutable/chunks/CUmvnJK5.js","/app/immutable/assets/10.xCAPscJx.css","/app/immutable/nodes/11.CxSRkGHD.js","/app/immutable/assets/11.BO7QC36g.css","/app/immutable/nodes/12.B8s5KuaN.js","/app/immutable/nodes/13.J8EpPA9A.js","/app/immutable/assets/13.CF5xLHXq.css","/app/immutable/nodes/14.C5TLXVit.js","/app/immutable/chunks/B36ccT8S.js","/app/immutable/assets/14.BuZANxI8.css","/app/immutable/nodes/15.DCpm4k7K.js","/app/immutable/assets/15.CWppUCpM.css","/app/immutable/nodes/16.T0PyvW1V.js","/app/immutable/assets/16.DBFWhlfB.css","/app/immutable/nodes/17.pi-yfOoM.js","/app/immutable/nodes/18.CTVha2lA.js","/app/immutable/nodes/19.C2T81__z.js","/app/immutable/assets/19.Cznk2DRv.css","/app/immutable/nodes/20.BHRuLw4-.js","/app/immutable/assets/20.BdP13STv.css"])))=>i.map(i=>d[i]);
|
|
2
2
|
import{_ as o,bm as X,t as lt,bo as f,bw as dt,b as pt,c as ft}from"../chunks/Fcr7AvC-.js";import{l as x}from"../chunks/BdWqymET.js";import{s as gt}from"../chunks/D-N7efrx.js";import{bs as Et,cb as vt,ca as Tt,bk as bt,aD as m,bH as F,c0 as ht,ay as T,bS as It,W as c,bn as At,bV as U,aA as g,a7 as I,c9 as y,a5 as Ot,bA as Rt,aB as q,b$ as Pt,b_ as Dt,bO as Lt}from"../chunks/3SdAC2_C.js";import{i as k}from"../chunks/BhYXv0ZM.js";import{c as V}from"../chunks/2z64ELW5.js";import{b as S}from"../chunks/Dn334wJv.js";const yt=async()=>{window.location.pathname.startsWith("/sandbox")||await o(()=>import("../chunks/DvEcqVUt.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url)},Vt=/^[a-zA-Z_$]{1,3}\.call is not a function$/;function St(t){return t instanceof Error&&t.name==="TypeError"&&Vt.test(t.message)&&typeof t.stack=="string"&&t.stack.includes("bits-ui")}const K=500,wt=8,xt=/[a-z][a-z0-9+.-]*:\/\/\S+/gi,kt=/[)\]}>'".,;:]+$/,Nt=/[^/]+\.[cm]?[jt]s(?::\d+){0,2}$/;function Ct(t){const e=kt.exec(t)?.[0]??"",a=t.slice(0,t.length-e.length),n=a.indexOf("://"),i=a.slice(0,n),s=a.slice(n+3).split("#")[0].split("?")[0],_=s.indexOf("/"),l=_===-1?s:s.slice(0,_),d=l.slice(l.lastIndexOf("@")+1),p=_===-1?"":s.slice(_);if(p===""||p==="/")return`${i}://${d}${e}`;const O=Nt.exec(p)?.[0];return`${i}://${d}/${O??"<redacted>"}${e}`}function w(t){const e=t.replace(xt,Ct);return e.length>K?`${e.slice(0,K)}…`:e}function jt(t){return typeof t!="string"||t.length===0?null:t.split(`
|
|
3
3
|
`).slice(0,wt).map(w).join(`
|
|
4
|
-
`)}function Mt(t,e){if(t instanceof Error)return{name:w(String(t.name)),message:w(String(t.message)),stack:jt(t.stack),routeId:e};if(t&&typeof t=="object"){const a="message"in t?t.message:void 0;return{name:"object",message:typeof a=="string"?w(a):"[non-Error object]",stack:null,routeId:e}}return{name:typeof t,message:w(String(t)),stack:null,routeId:e}}let Z=!1,A=0;const Ft=2,Ut=({error:t,event:e})=>{if(t&&typeof t=="object"&&"message"in t){const a=String(t.message);if(a.includes("no diff result available"))return{message:""};if(a.includes("isInHiddenArea"))return{message:""};if(a.includes("TextModel got disposed"))return{message:""}}if(t&&typeof t=="object"&&"message"in t){const a=String(t.message);if(a.includes("Not found: /index.html")||a.includes("Not found"))return Z?(A++,A>=Ft&&(x.warn('Multiple consecutive "Not found" errors detected, router may be corrupted',{url:e.url.toString(),routeId:e.route.id,consecutiveErrors:A}),A=0,typeof window<"u"&&setTimeout(()=>{x.info("Triggering full page reload to recover from router corruption"),window.location.reload()},100)),x.error("Client navigation error:",{error:t,url:e.url.toString(),routeId:e.route.id}),{message:X.hooks_client_pageNotFound_message()}):(Z=!0,A=0,{message:""});A=0}return gt(t)?{message:""}:St(t)?{message:""}:(x.error("Client error:",Mt(t,e.route.id)),{message:X.hooks_client_unexpected_error()})},Yt={};var zt=q('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),Bt=q("<!> <!>",1);function J(t,e){if(new.target)return lt({component:J,...t});Et(e,!0);let a=f(e,"stores",7),n=f(e,"page",7),i=f(e,"constructors",7),s=f(e,"components",23,()=>[]),_=f(e,"form",7),l=f(e,"data_0",7,null),d=f(e,"data_1",7,null),p=f(e,"data_2",7,null);vt(()=>a().page.set(n())),Tt(()=>{a(),n(),i(),s(),_(),l(),d(),p(),a().page.notify()});let O=U(!1),z=U(!1),B=U(null);bt(()=>{const r=a().page.subscribe(()=>{m(O)&&(F(z,!0),ht().then(()=>{F(B,document.title||"untitled page",!0)}))});return F(O,!0),r});const Y=y(()=>i()[2]);var tt={get stores(){return a()},set stores(r){a(r),g()},get page(){return n()},set page(r){n(r),g()},get constructors(){return i()},set constructors(r){i(r),g()},get components(){return s()},set components(r=[]){s(r),g()},get form(){return _()},set form(r){_(r),g()},get data_0(){return l()},set data_0(r=null){l(r),g()},get data_1(){return d()},set data_1(r=null){d(r),g()},get data_2(){return p()},set data_2(r=null){p(r),g()},$set:dt,$on:(r,u)=>pt(e,r,u)},G=Bt(),W=T(G);{var et=r=>{const u=y(()=>i()[0]);var E=I(),R=T(E);V(R,()=>m(u),(v,b)=>{S(b(v,{get data(){return l()},get form(){return _()},get params(){return n().params},children:(P,Wt)=>{var $=I(),st=T($);{var nt=h=>{const N=y(()=>i()[1]);var D=I(),C=T(D);V(C,()=>m(N),(j,M)=>{S(M(j,{get data(){return d()},get form(){return _()},get params(){return n().params},children:(L,$t)=>{var H=I(),_t=T(H);V(_t,()=>m(Y),(ut,mt)=>{S(mt(ut,{get data(){return p()},get form(){return _()},get params(){return n().params}}),ct=>s()[2]=ct,()=>s()?.[2])}),c(L,H)},$$slots:{default:!0}}),L=>s()[1]=L,()=>s()?.[1])}),c(h,D)},it=h=>{const N=y(()=>i()[1]);var D=I(),C=T(D);V(C,()=>m(N),(j,M)=>{S(M(j,{get data(){return d()},get form(){return _()},get params(){return n().params}}),L=>s()[1]=L,()=>s()?.[1])}),c(h,D)};k(st,h=>{i()[2]?h(nt):h(it,-1)})}c(P,$)},$$slots:{default:!0}}),P=>s()[0]=P,()=>s()?.[0])}),c(r,E)},rt=r=>{const u=y(()=>i()[0]);var E=I(),R=T(E);V(R,()=>m(u),(v,b)=>{S(b(v,{get data(){return l()},get form(){return _()},get params(){return n().params}}),P=>s()[0]=P,()=>s()?.[0])}),c(r,E)};k(W,r=>{i()[1]?r(et):r(rt,-1)})}var ot=It(W,2);{var at=r=>{var u=zt(),E=Ot(u);{var R=v=>{var b=Pt();Dt(()=>Lt(b,m(B))),c(v,b)};k(E,v=>{m(z)&&v(R)})}Rt(u),c(r,u)};k(ot,r=>{m(O)&&r(at)})}return c(t,G),At(tt)}const te=ft(J),ee=[()=>o(()=>import("../nodes/0.D_e7AeTl.js"),__vite__mapDeps([6,4,5,7,8,9,10,11,3,12,13,14,15,16,2,17,18,19,20,21,22,23]),import.meta.url),()=>o(()=>import("../nodes/1.DA21OvwY.js"),__vite__mapDeps([24,4,5,8,25,26,27,28,7,29,3,30,31,32,33,34,11,1,2,35,9]),import.meta.url),()=>o(()=>import("../nodes/2.CTOsyef2.js"),__vite__mapDeps([36,4,5,7,37,8,9,29,3,30,27,28,31,33,38,2,12,13,14,15,16,11,39,34,1,35,20,40,25,41,21,22,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,32,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,19,100,101,102,10,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,18,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,26,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210]),import.meta.url),()=>o(()=>import("../nodes/3.xcZps6DB.js"),__vite__mapDeps([211,4,5,8,64,31,7,29,3,30,25,26,27,28,32,33,34,11,1,2,35,9,43,44,42,45,38,12,13,14,15,16,39,20,40,21,22,41]),import.meta.url),()=>o(()=>import("../nodes/4.DaJkDmFI.js"),__vite__mapDeps([212,4,5,7,10,11,3,46,12,13,14,15,16,2,38,39,27,28,8,29,30,31,34,1,35,20,40,47,44,48,49,50,51,52,53,54,55,56,57,21,22,58,59,60,61,32,33,9,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,41,45,90,91,92,93,94,95,96,97,98,99,19,100,101,102,43,25,42,103,104,105,106,107,108]),import.meta.url),()=>o(()=>import("../nodes/5.7rTxN-4O.js"),__vite__mapDeps([213,4,5,7,201,202,12,13,14,15,3,16,2,11,27,28,8,29,30,31,203,150,134,133,32,33,34,1,35,9,132,124,111,64,85,125,63,120,121,88,89,86,66,87,130,62,44,200,107,108,10,46,38,39,20,40,47,48,49,50,51,52,53,54,55,56,57,21,22,58,59,60,61,65,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,41,45,90,91,92,93,94,95,96,97,98,99,19,100,101,102,43,25,42,103,104,105,106]),import.meta.url),()=>o(()=>import("../nodes/6.tsWwri9c.js"),__vite__mapDeps([214,4,5,65,215,8,28,29,3,7,30,202,12,13,14,15,16,2,11,32,33,31,34,1,35,9,216,133,134,27,217,40,38,39,20,69,57,83,218,113,81,55,56,61,62,63,64,66,67,111,85,86,87,123,124,125,120,121,88,89,96,110,112,114,115,116,117,118,119,122,126,44,52,53,47,54,50,21,22,127,128,129,130,131,132,43,25,42,45,41,135,136,137,138,187,162,163,164,165,77,51,49,48,78,153,154,147,155,156,157,109,158,140,18,141,142,159,160,161,166,167,168,148,169,150,170,188,179,90,219,220,221,196,222,223,224,72,225,73,226,227,228,139,76,143,229,95,230,231,232,233,194,234,79,94,186,235,236,237,238,205,239,102,240,241,242,243,244,209,190,245,246,247,248,177,193,195,249,26,250,182,251,252,253,71,74,75,60,68,254,255,149,256,207,208,257,258,92,259,260,261,262,263,264,183,101,184,265,266,267,268,191,91,171,269,270,192,271,37,203,272,273,178,274]),import.meta.url),()=>o(()=>import("../nodes/7.CDTojphP.js"),__vite__mapDeps([275,4,5,8,31,7,29,3,30,33,38,2,12,13,14,15,16,11,39,27,28,34,1,35,20,40,44,26,25,49,50,47,48,222,9,64,223,61,32,62,63,65,66,67,159,53,140,18,132,124,111,85,125,120,121,88,89,86,87,133,134,130,96,52,54,55,56,57,21,22,141,142,131,126,115,116,224,72,225,123,73,226,148,227,228,51,153,154,128,114,129,147,155,156,157,109,69,110,112,113,117,118,119,122,127,43,42,45,41,135,136,137,138,158,160,161,162,163,164,165,166,167,168,169,150,170,139,76,143,77,78,229,95,230,231,232,233,194,234,79,94,186,235,236,196,237,238,205,239,102,240,241,242,243,244,209,190,245,246,247,248,177,193,195,249,81,187,188,179,90,250,182,251,252,253,255,97,98,276]),import.meta.url),()=>o(()=>import("../nodes/8.BO5ffLDm.js"),__vite__mapDeps([277,4,5,65,113,278,21,14,22,41,13,12,15,3,7,16,2,11,61,8,29,30,32,33,31,34,1,35,28,9,40,62,63,27,64,66,67,134,219]),import.meta.url),()=>o(()=>import("../nodes/9.D0POivb2.js"),__vite__mapDeps([279,4,5,8,9,31,7,29,3,30,33,32,34,11,1,2,35,28,85,120,64,111,121,88,89,110,112,65,113,114,27,86,66,87,115,116,117,118,119,122,123,124,125,63,96,61,40,62,12,13,14,15,16,67,126,44,52,38,39,20,53,47,54,55,56,57,50,21,22,127,128,129,130,131,132,133,134,43,25,42,45,41,69,135,136,137,138,172,146,147,150,141,142,148,26,59,157,280,281,203,78,159,160,226,233,194,82,70,49,48,250,264,183,182,101,163,164,149,168,80,278,154,155,260,261,99,91,282,90,283,284,81,68,105,267,156,166,285,228]),import.meta.url),()=>o(()=>import("../nodes/10.CSASJEbg.js"),__vite__mapDeps([286,4,5,215,8,28,29,3,7,30,202,12,13,14,15,16,2,11,32,33,31,34,1,35,9,216,133,134,27,217,40,38,39,20,69,57,83,218,26,25,55,56,180,64,44,181,58,51,52,53,47,54,50,21,22,49,48,59,60,61,62,63,65,66,67,68,95,96,136,113,114,111,85,137,154,130,120,121,88,89,128,129,147,155,156,157,132,124,125,86,87,153,109,110,112,115,116,117,118,119,122,123,126,127,131,43,42,45,41,135,138,158,140,18,141,142,159,160,161,162,163,164,165,166,167,168,148,169,150,170,182,183,139,76,143,177,184,37,185,94,259,98,196,189,81,280,281,203,92,80,271,79,101,230,272,263,231,229,232,233,194,234,226,186,235,264,265,248,273,175,204,174,104,105,106,107,108,176,205,206,287,200,288,289,93,290,152,149,99,291,292,100,293,294,295,256,296,198,297,171,261,192,298]),import.meta.url),()=>o(()=>import("../nodes/11.DW2JfBsq.js"),__vite__mapDeps([299,4,5,8,42,25,31,7,29,3,30,28,12,13,14,15,16,2,11,27,33,189,116,32,34,1,35,9,119,64,111,85,61,40,62,63,65,66,67,109,96,257,192,155,124,291,292,100,38,39,20,287,200,107,108,106,53,47,44,45,160,288,117,102,295,101,300]),import.meta.url),()=>o(()=>import("../nodes/12.B8s5KuaN.js"),__vite__mapDeps([301,4,5,65,113,27,28,8,7,29,3,30,31]),import.meta.url),()=>o(()=>import("../nodes/13.J8EpPA9A.js"),__vite__mapDeps([302,4,5,8,9,32,7,29,3,30,33,31,34,11,1,2,35,28,27,134,219,303]),import.meta.url),()=>o(()=>import("../nodes/14.C5TLXVit.js"),__vite__mapDeps([304,4,5,8,29,3,7,30,34,11,1,2,35,134,219,33,31,32,28,9,305,13,173,196,111,64,85,40,115,116,136,65,113,114,137,127,128,129,27,130,120,121,63,88,89,306]),import.meta.url),()=>o(()=>import("../nodes/15.DrH3We44.js"),__vite__mapDeps([307,4,5,8,54,12,13,14,15,3,7,16,2,11,55,39,56,38,27,28,29,30,31,34,1,35,20,40,57,50,134,219,33,46,47,44,48,49,51,52,53,21,22,58,59,60,61,32,9,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,41,45,90,91,92,93,94,95,96,97,98,99,19,100,101,102,43,25,42,10,103,104,105,106,107,108,244,194,140,18,132,124,111,125,120,121,133,130,141,142,131,126,115,116,209,117,190,245,144,112,113,114,118,122,123,163,164,177,162,165,187,153,154,128,129,147,155,156,157,109,110,119,127,135,136,137,138,158,159,160,161,166,167,168,148,169,150,170,188,284,254,224,139,143,222,223,225,226,227,228,229,230,231,232,233,234,186,235,236,196,237,238,205,239,240,241,242,243,246,247,248,193,195,249,26,179,250,182,251,252,253,255,149,256,207,208,257,258,305,308]),import.meta.url),()=>o(()=>import("../nodes/16.T0PyvW1V.js"),__vite__mapDeps([309,4,5,29,3,7,30,34,11,1,2,35,134,219,33,8,31,64,72,224,28,16,196,32,9,75,76,40,53,47,44,310,228]),import.meta.url),()=>o(()=>import("../nodes/17.pi-yfOoM.js"),__vite__mapDeps([311,4,5,8,9,29,3,7,30,34,11,1,2,35,134,219,33,266,31,96,225,15,16,32,28,85,86,66,87,123,124,111,64,125,63,120,121,88,89,27,53,47,44,48,73,72,224,226,148,227,228,122,40,267,196,74,268]),import.meta.url),()=>o(()=>import("../nodes/18.CTVha2lA.js"),__vite__mapDeps([312,4,5,29,3,7,30,34,11,1,2,35,134,219,33]),import.meta.url),()=>o(()=>import("../nodes/19.DyUaZQFK.js"),__vite__mapDeps([313,4,5,8,53,11,3,47,44,27,28,7,29,30,31,32,33,34,1,2,35,9,12,13,14,15,16,64,186,79,38,39,20,40,54,55,56,57,50,179,90,62,84,112,65,113,114,111,85,86,66,87,115,116,117,118,160,132,124,125,63,120,121,88,89,133,134,130,131,145,146,127,128,129,147,141,142,148,70,137,99,43,25,42,45,21,22,41,314]),import.meta.url),()=>o(()=>import("../nodes/20.BPfqGZ4o.js"),__vite__mapDeps([315,4,5,65,29,3,7,30,34,11,1,2,35,134,219,33,8,215,28,202,12,13,14,15,16,32,31,9,216,133,27,217,40,38,39,20,69,57,83,218,272,248,166,56,22,103,316]),import.meta.url)],re=[],oe={"/(app)":[6,[2],[3]],"/(app)/agent/[id]":[7,[2],[3]],"/(app)/desktop-control-agent":[8,[2],[3]],"/desktop-overlay":[13],"/dev-console":[14],"/dock-annotation":[16],"/dock-capture-editor":[17],"/dock":[15],"/frame":[18],"/hud":[19,[4]],"/(app)/settings":[9,[2],[3]],"/tab-window/[id]":[20,[5]],"/(app)/workspace/creating":[12,[2],[3]],"/(app)/workspace/[id]":[10,[2],[3]],"/(app)/workspace/[id]/files":[11,[2],[3]]},Q={handleError:Ut||(({error:t})=>{console.error(t)}),init:yt,reroute:(()=>{}),transport:{}},Gt=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.decode])),ae=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.encode])),se=!1,ne=(t,e)=>Gt[t](e),ie=()=>o(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(t=>t.default);export{ne as decode,Gt as decoders,oe as dictionary,ae as encoders,ie as get_error_template,se as hash,Q as hooks,Yt as matchers,ee as nodes,te as root,re as server_loads};
|
|
4
|
+
`)}function Mt(t,e){if(t instanceof Error)return{name:w(String(t.name)),message:w(String(t.message)),stack:jt(t.stack),routeId:e};if(t&&typeof t=="object"){const a="message"in t?t.message:void 0;return{name:"object",message:typeof a=="string"?w(a):"[non-Error object]",stack:null,routeId:e}}return{name:typeof t,message:w(String(t)),stack:null,routeId:e}}let Z=!1,A=0;const Ft=2,Ut=({error:t,event:e})=>{if(t&&typeof t=="object"&&"message"in t){const a=String(t.message);if(a.includes("no diff result available"))return{message:""};if(a.includes("isInHiddenArea"))return{message:""};if(a.includes("TextModel got disposed"))return{message:""}}if(t&&typeof t=="object"&&"message"in t){const a=String(t.message);if(a.includes("Not found: /index.html")||a.includes("Not found"))return Z?(A++,A>=Ft&&(x.warn('Multiple consecutive "Not found" errors detected, router may be corrupted',{url:e.url.toString(),routeId:e.route.id,consecutiveErrors:A}),A=0,typeof window<"u"&&setTimeout(()=>{x.info("Triggering full page reload to recover from router corruption"),window.location.reload()},100)),x.error("Client navigation error:",{error:t,url:e.url.toString(),routeId:e.route.id}),{message:X.hooks_client_pageNotFound_message()}):(Z=!0,A=0,{message:""});A=0}return gt(t)?{message:""}:St(t)?{message:""}:(x.error("Client error:",Mt(t,e.route.id)),{message:X.hooks_client_unexpected_error()})},Yt={};var zt=q('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),Bt=q("<!> <!>",1);function J(t,e){if(new.target)return lt({component:J,...t});Et(e,!0);let a=f(e,"stores",7),n=f(e,"page",7),i=f(e,"constructors",7),s=f(e,"components",23,()=>[]),_=f(e,"form",7),l=f(e,"data_0",7,null),d=f(e,"data_1",7,null),p=f(e,"data_2",7,null);vt(()=>a().page.set(n())),Tt(()=>{a(),n(),i(),s(),_(),l(),d(),p(),a().page.notify()});let O=U(!1),z=U(!1),B=U(null);bt(()=>{const r=a().page.subscribe(()=>{m(O)&&(F(z,!0),ht().then(()=>{F(B,document.title||"untitled page",!0)}))});return F(O,!0),r});const Y=y(()=>i()[2]);var tt={get stores(){return a()},set stores(r){a(r),g()},get page(){return n()},set page(r){n(r),g()},get constructors(){return i()},set constructors(r){i(r),g()},get components(){return s()},set components(r=[]){s(r),g()},get form(){return _()},set form(r){_(r),g()},get data_0(){return l()},set data_0(r=null){l(r),g()},get data_1(){return d()},set data_1(r=null){d(r),g()},get data_2(){return p()},set data_2(r=null){p(r),g()},$set:dt,$on:(r,u)=>pt(e,r,u)},G=Bt(),W=T(G);{var et=r=>{const u=y(()=>i()[0]);var E=I(),R=T(E);V(R,()=>m(u),(v,b)=>{S(b(v,{get data(){return l()},get form(){return _()},get params(){return n().params},children:(P,Wt)=>{var $=I(),st=T($);{var nt=h=>{const N=y(()=>i()[1]);var D=I(),C=T(D);V(C,()=>m(N),(j,M)=>{S(M(j,{get data(){return d()},get form(){return _()},get params(){return n().params},children:(L,$t)=>{var H=I(),_t=T(H);V(_t,()=>m(Y),(ut,mt)=>{S(mt(ut,{get data(){return p()},get form(){return _()},get params(){return n().params}}),ct=>s()[2]=ct,()=>s()?.[2])}),c(L,H)},$$slots:{default:!0}}),L=>s()[1]=L,()=>s()?.[1])}),c(h,D)},it=h=>{const N=y(()=>i()[1]);var D=I(),C=T(D);V(C,()=>m(N),(j,M)=>{S(M(j,{get data(){return d()},get form(){return _()},get params(){return n().params}}),L=>s()[1]=L,()=>s()?.[1])}),c(h,D)};k(st,h=>{i()[2]?h(nt):h(it,-1)})}c(P,$)},$$slots:{default:!0}}),P=>s()[0]=P,()=>s()?.[0])}),c(r,E)},rt=r=>{const u=y(()=>i()[0]);var E=I(),R=T(E);V(R,()=>m(u),(v,b)=>{S(b(v,{get data(){return l()},get form(){return _()},get params(){return n().params}}),P=>s()[0]=P,()=>s()?.[0])}),c(r,E)};k(W,r=>{i()[1]?r(et):r(rt,-1)})}var ot=It(W,2);{var at=r=>{var u=zt(),E=Ot(u);{var R=v=>{var b=Pt();Dt(()=>Lt(b,m(B))),c(v,b)};k(E,v=>{m(z)&&v(R)})}Rt(u),c(r,u)};k(ot,r=>{m(O)&&r(at)})}return c(t,G),At(tt)}const te=ft(J),ee=[()=>o(()=>import("../nodes/0.BlcS-Hyh.js"),__vite__mapDeps([6,4,5,7,8,9,10,11,3,12,13,14,15,16,2,17,18,19,20,21,22,23]),import.meta.url),()=>o(()=>import("../nodes/1.BMTchPFq.js"),__vite__mapDeps([24,4,5,8,25,26,27,28,7,29,3,30,31,32,33,34,11,1,2,35,9]),import.meta.url),()=>o(()=>import("../nodes/2.1iJIAnw5.js"),__vite__mapDeps([36,4,5,7,37,8,9,29,3,30,27,28,31,33,38,2,12,13,14,15,16,11,39,34,1,35,20,40,25,41,21,22,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,32,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,19,100,101,102,10,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,18,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,26,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210]),import.meta.url),()=>o(()=>import("../nodes/3.BDDby9Gq.js"),__vite__mapDeps([211,4,5,8,64,31,7,29,3,30,25,26,27,28,32,33,34,11,1,2,35,9,43,44,42,45,38,12,13,14,15,16,39,20,40,21,22,41]),import.meta.url),()=>o(()=>import("../nodes/4.utfN0vdd.js"),__vite__mapDeps([212,4,5,7,10,11,3,46,12,13,14,15,16,2,38,39,27,28,8,29,30,31,34,1,35,20,40,47,44,48,49,50,51,52,53,54,55,56,57,21,22,58,59,60,61,32,33,9,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,41,45,90,91,92,93,94,95,96,97,98,99,19,100,101,102,43,25,42,103,104,105,106,107,108]),import.meta.url),()=>o(()=>import("../nodes/5.Z6w8za6J.js"),__vite__mapDeps([213,4,5,7,201,202,12,13,14,15,3,16,2,11,27,28,8,29,30,31,203,150,134,133,32,33,34,1,35,9,132,124,111,64,85,125,63,120,121,88,89,86,66,87,130,62,44,200,107,108,10,46,38,39,20,40,47,48,49,50,51,52,53,54,55,56,57,21,22,58,59,60,61,65,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,41,45,90,91,92,93,94,95,96,97,98,99,19,100,101,102,43,25,42,103,104,105,106]),import.meta.url),()=>o(()=>import("../nodes/6.w_k_ibWb.js"),__vite__mapDeps([214,4,5,65,215,8,28,29,3,7,30,202,12,13,14,15,16,2,11,32,33,31,34,1,35,9,216,133,134,27,217,40,38,39,20,69,57,83,218,113,81,55,56,61,62,63,64,66,67,111,85,86,87,123,124,125,120,121,88,89,96,110,112,114,115,116,117,118,119,122,126,44,52,53,47,54,50,21,22,127,128,129,130,131,132,43,25,42,45,41,135,136,137,138,187,162,163,164,165,77,51,49,48,78,153,154,147,155,156,157,109,158,140,18,141,142,159,160,161,166,167,168,148,169,150,170,188,179,90,219,220,221,196,222,223,224,72,225,73,226,227,228,139,76,143,229,95,230,231,232,233,194,234,79,94,186,235,236,237,238,205,239,102,240,241,242,243,244,209,190,245,246,247,248,177,193,195,249,26,250,182,251,252,253,71,74,75,60,68,254,255,149,256,207,208,257,258,92,259,260,261,262,263,264,183,101,184,265,266,267,268,191,91,171,269,270,192,271,37,203,272,273,178,274]),import.meta.url),()=>o(()=>import("../nodes/7.I-q-I1bs.js"),__vite__mapDeps([275,4,5,8,31,7,29,3,30,33,38,2,12,13,14,15,16,11,39,27,28,34,1,35,20,40,44,26,25,49,50,47,48,222,9,64,223,61,32,62,63,65,66,67,159,53,140,18,132,124,111,85,125,120,121,88,89,86,87,133,134,130,96,52,54,55,56,57,21,22,141,142,131,126,115,116,224,72,225,123,73,226,148,227,228,51,153,154,128,114,129,147,155,156,157,109,69,110,112,113,117,118,119,122,127,43,42,45,41,135,136,137,138,158,160,161,162,163,164,165,166,167,168,169,150,170,139,76,143,77,78,229,95,230,231,232,233,194,234,79,94,186,235,236,196,237,238,205,239,102,240,241,242,243,244,209,190,245,246,247,248,177,193,195,249,81,187,188,179,90,250,182,251,252,253,255,97,98,276]),import.meta.url),()=>o(()=>import("../nodes/8.BgjULPKU.js"),__vite__mapDeps([277,4,5,65,113,278,21,14,22,41,13,12,15,3,7,16,2,11,61,8,29,30,32,33,31,34,1,35,28,9,40,62,63,27,64,66,67,134,219]),import.meta.url),()=>o(()=>import("../nodes/9.DOkmR0cl.js"),__vite__mapDeps([279,4,5,8,9,31,7,29,3,30,33,32,34,11,1,2,35,28,85,120,64,111,121,88,89,110,112,65,113,114,27,86,66,87,115,116,117,118,119,122,123,124,125,63,96,61,40,62,12,13,14,15,16,67,126,44,52,38,39,20,53,47,54,55,56,57,50,21,22,127,128,129,130,131,132,133,134,43,25,42,45,41,69,135,136,137,138,172,146,147,150,141,142,148,26,59,157,280,281,203,78,159,160,226,233,194,82,70,49,48,250,264,183,182,101,163,164,149,168,80,278,154,155,260,261,99,91,282,90,283,284,81,68,105,267,156,166,285,228]),import.meta.url),()=>o(()=>import("../nodes/10.CfDNhRgU.js"),__vite__mapDeps([286,4,5,215,8,28,29,3,7,30,202,12,13,14,15,16,2,11,32,33,31,34,1,35,9,216,133,134,27,217,40,38,39,20,69,57,83,218,26,25,55,56,180,64,44,181,58,51,52,53,47,54,50,21,22,49,48,59,60,61,62,63,65,66,67,68,95,96,136,113,114,111,85,137,154,130,120,121,88,89,128,129,147,155,156,157,132,124,125,86,87,153,109,110,112,115,116,117,118,119,122,123,126,127,131,43,42,45,41,135,138,158,140,18,141,142,159,160,161,162,163,164,165,166,167,168,148,169,150,170,182,183,139,76,143,177,184,37,185,94,259,98,196,189,81,280,281,203,92,80,271,79,101,230,272,263,231,229,232,233,194,234,226,186,235,264,265,248,273,175,204,174,104,105,106,107,108,176,205,206,287,200,288,289,93,290,152,149,99,291,292,100,293,294,295,256,296,198,297,171,261,192,298]),import.meta.url),()=>o(()=>import("../nodes/11.CxSRkGHD.js"),__vite__mapDeps([299,4,5,8,42,25,31,7,29,3,30,28,12,13,14,15,16,2,11,27,33,189,116,32,34,1,35,9,119,64,111,85,61,40,62,63,65,66,67,109,96,257,192,155,124,291,292,100,38,39,20,287,200,107,108,106,53,47,44,45,160,288,117,102,295,101,300]),import.meta.url),()=>o(()=>import("../nodes/12.B8s5KuaN.js"),__vite__mapDeps([301,4,5,65,113,27,28,8,7,29,3,30,31]),import.meta.url),()=>o(()=>import("../nodes/13.J8EpPA9A.js"),__vite__mapDeps([302,4,5,8,9,32,7,29,3,30,33,31,34,11,1,2,35,28,27,134,219,303]),import.meta.url),()=>o(()=>import("../nodes/14.C5TLXVit.js"),__vite__mapDeps([304,4,5,8,29,3,7,30,34,11,1,2,35,134,219,33,31,32,28,9,305,13,173,196,111,64,85,40,115,116,136,65,113,114,137,127,128,129,27,130,120,121,63,88,89,306]),import.meta.url),()=>o(()=>import("../nodes/15.DCpm4k7K.js"),__vite__mapDeps([307,4,5,8,54,12,13,14,15,3,7,16,2,11,55,39,56,38,27,28,29,30,31,34,1,35,20,40,57,50,134,219,33,46,47,44,48,49,51,52,53,21,22,58,59,60,61,32,9,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,41,45,90,91,92,93,94,95,96,97,98,99,19,100,101,102,43,25,42,10,103,104,105,106,107,108,244,194,140,18,132,124,111,125,120,121,133,130,141,142,131,126,115,116,209,117,190,245,144,112,113,114,118,122,123,163,164,177,162,165,187,153,154,128,129,147,155,156,157,109,110,119,127,135,136,137,138,158,159,160,161,166,167,168,148,169,150,170,188,284,254,224,139,143,222,223,225,226,227,228,229,230,231,232,233,234,186,235,236,196,237,238,205,239,240,241,242,243,246,247,248,193,195,249,26,179,250,182,251,252,253,255,149,256,207,208,257,258,305,308]),import.meta.url),()=>o(()=>import("../nodes/16.T0PyvW1V.js"),__vite__mapDeps([309,4,5,29,3,7,30,34,11,1,2,35,134,219,33,8,31,64,72,224,28,16,196,32,9,75,76,40,53,47,44,310,228]),import.meta.url),()=>o(()=>import("../nodes/17.pi-yfOoM.js"),__vite__mapDeps([311,4,5,8,9,29,3,7,30,34,11,1,2,35,134,219,33,266,31,96,225,15,16,32,28,85,86,66,87,123,124,111,64,125,63,120,121,88,89,27,53,47,44,48,73,72,224,226,148,227,228,122,40,267,196,74,268]),import.meta.url),()=>o(()=>import("../nodes/18.CTVha2lA.js"),__vite__mapDeps([312,4,5,29,3,7,30,34,11,1,2,35,134,219,33]),import.meta.url),()=>o(()=>import("../nodes/19.C2T81__z.js"),__vite__mapDeps([313,4,5,8,53,11,3,47,44,27,28,7,29,30,31,32,33,34,1,2,35,9,12,13,14,15,16,64,186,79,38,39,20,40,54,55,56,57,50,179,90,62,84,112,65,113,114,111,85,86,66,87,115,116,117,118,160,132,124,125,63,120,121,88,89,133,134,130,131,145,146,127,128,129,147,141,142,148,70,137,99,43,25,42,45,21,22,41,314]),import.meta.url),()=>o(()=>import("../nodes/20.BHRuLw4-.js"),__vite__mapDeps([315,4,5,65,29,3,7,30,34,11,1,2,35,134,219,33,8,215,28,202,12,13,14,15,16,32,31,9,216,133,27,217,40,38,39,20,69,57,83,218,272,248,166,56,22,103,316]),import.meta.url)],re=[],oe={"/(app)":[6,[2],[3]],"/(app)/agent/[id]":[7,[2],[3]],"/(app)/desktop-control-agent":[8,[2],[3]],"/desktop-overlay":[13],"/dev-console":[14],"/dock-annotation":[16],"/dock-capture-editor":[17],"/dock":[15],"/frame":[18],"/hud":[19,[4]],"/(app)/settings":[9,[2],[3]],"/tab-window/[id]":[20,[5]],"/(app)/workspace/creating":[12,[2],[3]],"/(app)/workspace/[id]":[10,[2],[3]],"/(app)/workspace/[id]/files":[11,[2],[3]]},Q={handleError:Ut||(({error:t})=>{console.error(t)}),init:yt,reroute:(()=>{}),transport:{}},Gt=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.decode])),ae=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.encode])),se=!1,ne=(t,e)=>Gt[t](e),ie=()=>o(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(t=>t.default);export{ne as decode,Gt as decoders,oe as dictionary,ae as encoders,ie as get_error_template,se as hash,Q as hooks,Yt as matchers,ee as nodes,te as root,re as server_loads};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as o,s as r}from"../chunks/DY9w61PC.js";export{o as load_css,r as start};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as L,bo as O,bw as I,bs as ee,bq as te,b as N,br as ne,bp as oe}from"../chunks/Fcr7AvC-.js";import{bs as P,bj as re,bk as se,a7 as b,ay as h,bf as T,W as E,bn as W,aA as R}from"../chunks/3SdAC2_C.js";import{t as $}from"../chunks/CWfjuhY2.js";import{i as ie}from"../chunks/BhYXv0ZM.js";import{k as ae}from"../chunks/Cc0763mU.js";import{w as ce}from"../chunks/BIv0yV05.js";import{JH as ue}from"../chunks/D0qhIm1r.js";import{z as de,I as B}from"../chunks/Bqd7fdCF.js";import{initAppStore as le}from"../chunks/Cu9dGfYE.js";import{J as fe,H as me}from"../chunks/BwweojP5.js";import{i as pe}from"../chunks/
|
|
1
|
+
import{t as L,bo as O,bw as I,bs as ee,bq as te,b as N,br as ne,bp as oe}from"../chunks/Fcr7AvC-.js";import{bs as P,bj as re,bk as se,a7 as b,ay as h,bf as T,W as E,bn as W,aA as R}from"../chunks/3SdAC2_C.js";import{t as $}from"../chunks/CWfjuhY2.js";import{i as ie}from"../chunks/BhYXv0ZM.js";import{k as ae}from"../chunks/Cc0763mU.js";import{w as ce}from"../chunks/BIv0yV05.js";import{JH as ue}from"../chunks/D0qhIm1r.js";import{z as de,I as B}from"../chunks/Bqd7fdCF.js";import{initAppStore as le}from"../chunks/Cu9dGfYE.js";import{J as fe,H as me}from"../chunks/BwweojP5.js";import{i as pe}from"../chunks/CccfsETL.js";const we=!1,ve=!1,ge=!0,Ce=Object.freeze(Object.defineProperty({__proto__:null,csr:ge,prerender:ve,ssr:we},Symbol.toStringTag,{value:"Module"}));function be(e,t,r){const f=le(e);let p=t.startSagas(e),s=!1;const l=()=>{if(!s){s=!0;try{for(const m of p)m()}finally{f.dispose(),r?.rootStoreStop===l&&(r.rootStoreStop=void 0,r.rootStoreReplaceSagas=void 0)}}};return l}const j=3,Y=4,he=100;let A=null;function S(e){const t=Date.now();A!==null&&A.direction===e&&t-A.at<he||(A={direction:e,at:t},e==="back"?history.back():history.forward())}function Ee(){return document.querySelector("webview:hover")!==null}function Ae(e){e!=="back"&&e!=="forward"||Ee()||S(e)}function q(e){return e.target instanceof Element&&e.target.closest("webview")!==null}function C(e){q(e)||(e.button===j?(e.preventDefault(),S("back")):e.button===Y&&(e.preventDefault(),S("forward")))}function F(e){q(e)||(e.button===j||e.button===Y)&&e.preventDefault()}function ye(e=window){return e.addEventListener("mouseup",C,{capture:!0}),e.addEventListener("mousedown",F,{capture:!0}),()=>{e.removeEventListener("mouseup",C,{capture:!0}),e.removeEventListener("mousedown",F,{capture:!0})}}function _e(e){const t=new Set,r="data-window-animation-paused",f=()=>e.hasAttribute("data-window-blurred");function p(i){const n=new Set;for(const o of i){if(!(o instanceof CSSAnimation)||o.playState!=="running"&&o.playState!=="paused"||o.effect?.getTiming().iterations!==1/0)continue;const d=o.effect?.target;d instanceof Element&&n.add(d)}for(const o of n)t.has(o)||(t.add(o),o.setAttribute(r,""))}function s(){for(const i of t)i.removeAttribute(r);t.clear()}function l(i){for(const n of i)!t.has(n)||e.contains(n)&&n.getAnimations({subtree:!0}).some(d=>d instanceof CSSAnimation&&d.effect?.target===n&&d.effect?.getTiming().iterations===1/0)||(t.delete(n),n.removeAttribute(r))}const m=new MutationObserver(i=>{if(!f())return;const n=new Set,o=new Set;for(const a of i){if(a.type==="childList")for(const c of a.addedNodes)c instanceof Element&&n.add(c);else if(a.target instanceof Element&&a.attributeName!==r&&a.attributeName!=="data-window-blurred")n.add(a.target);else continue;if(a.target instanceof Element)for(const c of t)(a.target.contains(c)||!e.contains(c))&&o.add(c)}l(o);const d=[];for(const a of n){if(!e.contains(a))continue;let c=a.parentElement;for(;c&&!n.has(c);)c=c.parentElement;c||d.push(...a.getAnimations({subtree:!0}))}p(d)});function v(){m.disconnect(),f()?(m.observe(e,{childList:!0,attributes:!0,subtree:!0}),p(e.getAnimations({subtree:!0}))):s()}function u(i){!f()||!(i.target instanceof Element)||(l([i.target]),p(i.target.getAnimations({subtree:!0})))}function w(i){!f()||!(i.target instanceof Element)||l([i.target])}const g=new MutationObserver(v);return g.observe(e,{attributes:!0,attributeFilter:["data-window-blurred"]}),e.addEventListener("animationstart",u,!0),e.addEventListener("animationcancel",w,!0),v(),{destroy(){g.disconnect(),m.disconnect(),e.removeEventListener("animationstart",u,!0),e.removeEventListener("animationcancel",w,!0),s()}}}function z(e,t){if(new.target)return L({component:z,...e});P(t,!0);const r=()=>ee(m,"$resolvedLocale$",f),[f,p]=te();let s=O(t,"children",7);const l=be(ue,{startSagas:()=>[]},void 0);re(l);const m=fe(),v=me();se(()=>{const n=!pe()&&window.location.pathname!=="/dock";let o=document.hasFocus(),d=!1;const a=()=>{document.documentElement.toggleAttribute("data-window-blurred",n&&d&&!o)},c=_=>{o=_,a()},H=()=>c(!1),M=()=>c(!0),K=v.subscribe(_=>{d=_,a()}),k=window.electronAPI,D=de();let y;a(),n&&(D?y=k?.on?.("window:focus",c):(window.addEventListener("blur",H),window.addEventListener("focus",M)));const Q=_e(document.documentElement),X=ce(document.getElementById("splash"));document.getElementById("app-drag-region")?.remove();const Z=ye(window),U=window.electronAPI?.on?.(B.APP.HISTORY_NAVIGATE,Ae);return()=>{K(),Q.destroy(),y?k.offById("window:focus",y):n&&!D&&(window.removeEventListener("blur",H),window.removeEventListener("focus",M)),document.documentElement.removeAttribute("data-window-blurred"),X(),Z(),U&&window.electronAPI.offById(B.APP.HISTORY_NAVIGATE,U)}});var u={get children(){return s()},set children(n){s(n),R()},$set:I,$on:(n,o)=>N(t,n,o)},w=b(),g=h(w);ae(g,r,n=>{var o=b(),d=h(o);$(d,()=>s()??T),E(n,o)}),E(e,w);var i=W(u);return p(),i}const x="/dev-console";function Se(e){return e===x||e.startsWith(x+"/")}const G="/desktop-overlay";function Le(e){return e===G||e.startsWith(`${G}/`)}const V="/frame";function Oe(e){return e===V||e===`${V}/`}function J(e,t){if(new.target)return L({component:J,...e});P(t,!0);let r=O(t,"children",7);const f=typeof window<"u"&&(Se(window.location.pathname)||Le(window.location.pathname)||Oe(window.location.pathname));var p={get children(){return r()},set children(u){r(u),R()},$set:I,$on:(u,w)=>N(t,u,w)},s=b(),l=h(s);{var m=u=>{var w=b(),g=h(w);$(g,()=>r()??T),E(u,w)},v=u=>{z(u,{get children(){return r()}})};ie(l,u=>{f?u(m):u(v,-1)})}return E(e,s),W(p)}var Ie=new Set(["$$slots","$$events","$$legacy","children"]);function Ne(e,t){if(new.target)return L({component:Ne,...e});P(t,!0);let r=O(t,"children",7),f=oe(t,Ie);var p={get children(){return r()},set children(s){r(s),R()},$set:I,$on:(s,l)=>N(t,s,l)};return J(e,ne(()=>f,{children:(s,l)=>{var m=b(),v=h(m);$(v,()=>r()??T),E(s,m)},$$slots:{default:!0}})),W(p)}export{Ne as component,Ce as universal};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as W,bw as A,b as D,bm as u,br as R,bp as U}from"../chunks/Fcr7AvC-.js";import{bs as E,ca as V,aD as e,a7 as X,ay as Y,W as _,bn as N,c9 as y,a5 as a,bA as s,bS as f,bl as $,be as Z,b$ as ee,b_ as k,bO as m,aB as O}from"../chunks/3SdAC2_C.js";import{i as T}from"../chunks/BhYXv0ZM.js";import{g as re}from"../chunks/
|
|
1
|
+
import{t as W,bw as A,b as D,bm as u,br as R,bp as U}from"../chunks/Fcr7AvC-.js";import{bs as E,ca as V,aD as e,a7 as X,ay as Y,W as _,bn as N,c9 as y,a5 as a,bA as s,bS as f,bl as $,be as Z,b$ as ee,b_ as k,bO as m,aB as O}from"../chunks/3SdAC2_C.js";import{i as T}from"../chunks/BhYXv0ZM.js";import{g as re}from"../chunks/DY9w61PC.js";import{p as b}from"../chunks/KRACSBb9.js";import{F as te,cT as ae}from"../chunks/ChHRVjww.js";import{f as se}from"../chunks/Beq_QLuz.js";import"../chunks/BAtAwQ72.js";var oe=O('<p class="text-sm text-subtle"> </p>'),ie=O('<div class="min-h-screen flex items-center justify-center p-6 bg-background"><div class="w-full max-w-md" role="alert" aria-live="assertive"><div class="bg-card border border-border rounded-xl shadow-lg p-8 space-y-6 text-center"><div class="flex justify-center"><div class="w-14 h-14 rounded-full bg-warning/10 flex items-center justify-center opacity-50"><!></div></div> <div class="space-y-3"><h2 class="text-2xl font-semibold text-foreground"> </h2> <!> <p class="text-base text-subtle leading-relaxed break-words"> </p></div> <div class="flex items-center justify-center gap-3 flex-wrap"><!></div></div></div></div>');function q(i,o){if(new.target)return W({component:q,...i});E(o,!0);let c=y(()=>b.error),r=y(()=>b.status),v=y(()=>e(r)===404&&b.url.pathname!=="/");V(()=>{e(v)?(console.warn("[+error.svelte:root] 404, redirecting to /",{url:b.url.href,status:e(r)}),re("/",{replaceState:!0})):console.error("[+error.svelte:root]",{status:e(r),error:e(c)})});var g={$set:A,$on:(l,n)=>D(o,l,n)},j=X(),G=Y(j);{var H=l=>{var n=ie(),F=a(n),S=a(F),x=a(S),z=a(x),I=a(z);te(I,{get icon(){return ae},size:"lg",class:"text-warning"}),s(z),s(x);var w=f(x,2),B=a(w),J=$(B,!0),C=f(B,2);{var K=t=>{var d=oe(),p=$(d,!0);k(h=>m(p,h),[()=>u.error_page_status_label({status:e(r)})]),_(t,d)};T(C,t=>{e(r)&&e(r)!==500&&t(K)})}var L=f(C,2),M=$(L,!0);s(w);var P=f(w,2),Q=a(P);se(Q,{variant:"outline",size:"default",onclick:()=>window.location.reload(),children:(t,d)=>{Z();var p=ee();k(h=>m(p,h),[()=>u.error_page_reload_button()]),_(t,p)},$$slots:{default:!0}}),s(P),s(S),s(F),s(n),k((t,d)=>{m(J,t),m(M,d)},[()=>u.error_page_title(),()=>e(c)?.message||u.error_page_unexpected_fallback()]),_(l,n)};T(G,l=>{e(v)||l(H)})}return _(i,j),N(g)}var le=new Set(["$$slots","$$events","$$legacy"]);function ne(i,o){if(new.target)return W({component:ne,...i});E(o,!0);let c=U(o,le);var r={$set:A,$on:(v,g)=>D(o,v,g)};return q(i,R(()=>c)),N(r)}export{ne as component};
|