@intent-hq/web 2.327.0 → 2.327.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/{Bx77RH2D.js → -M5ArFu9.js} +1 -1
- package/web/app/immutable/chunks/{DiU_67YU.js → 0GcDPFAS.js} +1 -1
- package/web/app/immutable/chunks/{DG_DKtEi.js → 3ltPZd_n.js} +1 -1
- package/web/app/immutable/chunks/{DzgG9d04.js → 4MDpT4VG.js} +1 -1
- package/web/app/immutable/chunks/{BsxzjRia.js → 64lOi4Xe.js} +1 -1
- package/web/app/immutable/chunks/{Bxb00R27.js → 7Nb-tEer.js} +1 -1
- package/web/app/immutable/chunks/{CZ3gqcH0.js → 7t1XfqI3.js} +1 -1
- package/web/app/immutable/chunks/{CHtnIE14.js → A8xzSidY.js} +1 -1
- package/web/app/immutable/chunks/{dSxiKw5u.js → B-r2QfY2.js} +1 -1
- package/web/app/immutable/chunks/{Ovgvmxzk.js → B30-sYDS.js} +1 -1
- package/web/app/immutable/chunks/{D88AXVkV.js → B7bvyyYD.js} +1 -1
- package/web/app/immutable/chunks/{B3sypLPs.js → B7ookV3M.js} +1 -1
- package/web/app/immutable/chunks/{CECd-ew5.js → BB6ApKQZ.js} +1 -1
- package/web/app/immutable/chunks/{x_2obwKo.js → BBkcKcU8.js} +1 -1
- package/web/app/immutable/chunks/{BX_AS4NO.js → BCLA-ClZ.js} +1 -1
- package/web/app/immutable/chunks/{ChbqD4nY.js → BEWET3uQ.js} +2 -2
- package/web/app/immutable/chunks/{BHt8Cv_F.js → BIlDYPC_.js} +1 -1
- package/web/app/immutable/chunks/{DyVs3tqq.js → BLE555FN.js} +4 -4
- package/web/app/immutable/chunks/{C7QVfuKS.js → BPU4W-ai.js} +1 -1
- package/web/app/immutable/chunks/{cEpdukj-.js → BRua-6UM.js} +1 -1
- package/web/app/immutable/chunks/{MFRf7XsP.js → BSGuytEP.js} +1 -1
- package/web/app/immutable/chunks/{BuxJaWiM.js → BTBcxnN8.js} +4 -4
- package/web/app/immutable/chunks/{shMIdOXY.js → BTS44Ia3.js} +4 -4
- package/web/app/immutable/chunks/{1vv2LgJU.js → BV2NfA3h.js} +1 -1
- package/web/app/immutable/chunks/{kD3RPqIy.js → BVSo0mI7.js} +1 -1
- package/web/app/immutable/chunks/{AyNqjFrC.js → BWUOkr40.js} +1 -1
- package/web/app/immutable/chunks/{jkLGgu1-.js → BX1HymTE.js} +3 -3
- package/web/app/immutable/chunks/{C46AGI2o.js → BX3vzTpn.js} +1 -1
- package/web/app/immutable/chunks/{Bw_y1gSr.js → BXYIlyr0.js} +1 -1
- package/web/app/immutable/chunks/{DBZtPAw6.js → BYcS-OAO.js} +1 -1
- package/web/app/immutable/chunks/{L34ozHWW.js → Bay8SY9e.js} +1 -1
- package/web/app/immutable/chunks/{Cw90TeMe.js → BcdAyX4K.js} +2 -2
- package/web/app/immutable/chunks/{giU_rdFX.js → BdSGNHEM.js} +1 -1
- package/web/app/immutable/chunks/{C2jgF35o.js → Be_ON1DI.js} +1 -1
- package/web/app/immutable/chunks/{BRqn1o3u.js → BkFZSZBw.js} +1 -1
- package/web/app/immutable/chunks/{DJwbeAP3.js → BkHD8RFf.js} +1 -1
- package/web/app/immutable/chunks/{D9xO6S0s.js → BkbuDEW6.js} +1 -1
- package/web/app/immutable/chunks/{Btvd3YqX.js → BsC5Vdmg.js} +2 -2
- package/web/app/immutable/chunks/{DywqqPBY.js → BsOdwfJ2.js} +1 -1
- package/web/app/immutable/chunks/{CchLUU-A.js → BuVVc2l9.js} +1 -1
- package/web/app/immutable/chunks/{BNn8Ec2v.js → Bwb9opno.js} +1 -1
- package/web/app/immutable/chunks/{CZ2HrVJB.js → BwfrxhET.js} +1 -1
- package/web/app/immutable/chunks/{CEB0BOhp.js → C1vG2W_v.js} +1 -1
- package/web/app/immutable/chunks/{CrgKSEA9.js → C2eGBEPE.js} +4 -4
- package/web/app/immutable/chunks/{dHhYWIBz.js → C3DbH19I.js} +1 -1
- package/web/app/immutable/chunks/{CCTMo-Up.js → C6HefDtf.js} +1 -1
- package/web/app/immutable/chunks/{C_P93GWd.js → C6ibAYOP.js} +1 -1
- package/web/app/immutable/chunks/{Bpv_7NSe.js → CAKIN9jR.js} +1 -1
- package/web/app/immutable/chunks/{D7CVY9y_.js → CARGil7N.js} +1 -1
- package/web/app/immutable/chunks/{7DG8yVyI.js → CAqh5rmU.js} +1 -1
- package/web/app/immutable/chunks/{C2u3n3wb.js → CCqeKXhI.js} +1 -1
- package/web/app/immutable/chunks/{DttEjUfQ.js → CE6SftSb.js} +2 -2
- package/web/app/immutable/chunks/{BGS5RHiS.js → CFMVBWPg.js} +3 -3
- package/web/app/immutable/chunks/{D1TG5G7m.js → CIdiIwVr.js} +1 -1
- package/web/app/immutable/chunks/{Ca70R1oc.js → COC8ycoj.js} +1 -1
- package/web/app/immutable/chunks/{Bgx4jaT-.js → COhk9eQe.js} +3 -3
- package/web/app/immutable/chunks/{DhMntDzP.js → COyOtekU.js} +1 -1
- package/web/app/immutable/chunks/{Dv5eIHFX.js → CS6MUgvJ.js} +1 -1
- package/web/app/immutable/chunks/{Dz2fLbdn.js → CTygu5pv.js} +1 -1
- package/web/app/immutable/chunks/{BoLnGk3G.js → CUBPdQc3.js} +1 -1
- package/web/app/immutable/chunks/{DM-tQz5k.js → CUNfV-oG.js} +1 -1
- package/web/app/immutable/chunks/{CGyfJ3wZ.js → CY7bNGyv.js} +12 -12
- package/web/app/immutable/chunks/{CnMWAn59.js → C_rSlxHm.js} +1 -1
- package/web/app/immutable/chunks/{CV8S2_aN.js → CbNg55gb.js} +1 -1
- package/web/app/immutable/chunks/{gAYIZ12J.js → CfMhquYs.js} +1 -1
- package/web/app/immutable/chunks/{T-K_7EnC.js → Cg5C1MrF.js} +1 -1
- package/web/app/immutable/chunks/{D3JfjJlO.js → ChHo_2Kq.js} +1 -1
- package/web/app/immutable/chunks/{QbsT67gn.js → CiOl9c9q.js} +1 -1
- package/web/app/immutable/chunks/{DG0gPQWA.js → CnoeAOCE.js} +1 -1
- package/web/app/immutable/chunks/{CMGTMc9v.js → Ct-dlzru.js} +1 -1
- package/web/app/immutable/chunks/{BTHiTKPc.js → CtSt73sJ.js} +1 -1
- package/web/app/immutable/chunks/{OJckcu3J.js → Ct_B1TOh.js} +1 -1
- package/web/app/immutable/chunks/{B1ohiv8G.js → CveDKSFg.js} +1 -1
- package/web/app/immutable/chunks/{MvsbJRbe.js → CwaJlHvl.js} +1 -1
- package/web/app/immutable/chunks/{C28yvyOi.js → Cy-COy2y.js} +1 -1
- package/web/app/immutable/chunks/{B07w1Xvt.js → D2jjmu4v.js} +1 -1
- package/web/app/immutable/chunks/{D-RJNO4X.js → DA0d2_fu.js} +1 -1
- package/web/app/immutable/chunks/{-y8aRUXK.js → DDbIukDL.js} +1 -1
- package/web/app/immutable/chunks/{BawcAaK2.js → DEylYCps.js} +1 -1
- package/web/app/immutable/chunks/{DStHpf1P.js → DGOeaTcp.js} +1 -1
- package/web/app/immutable/chunks/{TthnIsvT.js → DJ4-kbB4.js} +1 -1
- package/web/app/immutable/chunks/{Cq8Jt7n-.js → DOb8Kchl.js} +1 -1
- package/web/app/immutable/chunks/{CIas9vXT.js → DPkc4abw.js} +6 -6
- package/web/app/immutable/chunks/{COzH17cB.js → DPsk7Xmu.js} +1 -1
- package/web/app/immutable/chunks/{VGIN_p1t.js → DQW3vv7z.js} +2 -2
- package/web/app/immutable/chunks/{5cZ8f6NM.js → DRWb3sje.js} +1 -1
- package/web/app/immutable/chunks/{gTEq_pBM.js → DSTlg4w0.js} +1 -1
- package/web/app/immutable/chunks/{exWdi0_e.js → DSXweTPQ.js} +3 -3
- package/web/app/immutable/chunks/{CfbNoxr9.js → DSks1Sd3.js} +1 -1
- package/web/app/immutable/chunks/{CQs3nGye.js → DTWWM1mF.js} +1 -1
- package/web/app/immutable/chunks/{CI_vWjAX.js → DY34YAUg.js} +1 -1
- package/web/app/immutable/chunks/{Ctnx9l23.js → DYv6YVU6.js} +1 -1
- package/web/app/immutable/chunks/{DnFiaMvl.js → Dbo0LK0t.js} +1 -1
- package/web/app/immutable/chunks/{Cufju0io.js → Ddd4tibk.js} +1 -1
- package/web/app/immutable/chunks/{ifFNiH_Q.js → DdwmoVU4.js} +1 -1
- package/web/app/immutable/chunks/{CmKBHt37.js → Dfqtr6u5.js} +1 -1
- package/web/app/immutable/chunks/{BxbB0_fE.js → Dh9hsi3V.js} +2 -2
- package/web/app/immutable/chunks/{DRs_Vsjz.js → Dhe30u3B.js} +1 -1
- package/web/app/immutable/chunks/{wWvgnlMJ.js → DkUbh_iD.js} +2 -2
- package/web/app/immutable/chunks/{DNHsSCes.js → DlJbQHTT.js} +2 -2
- package/web/app/immutable/chunks/{DWPjXtoT.js → Dml3pCbo.js} +1 -1
- package/web/app/immutable/chunks/{BfxuxK8H.js → Dqktyx17.js} +1 -1
- package/web/app/immutable/chunks/{BotIyjuf.js → Duo9To9j.js} +1 -1
- package/web/app/immutable/chunks/{WfmfYu3F.js → DwfohDpO.js} +1 -1
- package/web/app/immutable/chunks/{BqIts_L0.js → DxO0RaOm.js} +1 -1
- package/web/app/immutable/chunks/{Cz7lWcpW.js → EsKpz1xg.js} +1 -1
- package/web/app/immutable/chunks/{Ct_6Kn0V.js → HNL944mw.js} +1 -1
- package/web/app/immutable/chunks/{1eeMnGBt.js → He8rzvWn.js} +1 -1
- package/web/app/immutable/chunks/{B7-qYhrK.js → IN5H29V-.js} +1 -1
- package/web/app/immutable/chunks/{wtQc1nfb.js → JKgT3h6U.js} +1 -1
- package/web/app/immutable/chunks/{BCH_5tMO.js → O0uPRDIU.js} +3 -3
- package/web/app/immutable/chunks/{CT-tNtwL.js → QHP8cHaW.js} +1 -1
- package/web/app/immutable/chunks/{D16bMDoO.js → UyxlQTVj.js} +1 -1
- package/web/app/immutable/chunks/{CtrcoLr_.js → VU4R1gKj.js} +1 -1
- package/web/app/immutable/chunks/{CWf45qwn.js → cP091E7D.js} +1 -1
- package/web/app/immutable/chunks/{O_PsNJaQ.js → fqXfkYA3.js} +1 -1
- package/web/app/immutable/chunks/{aYTkKC29.js → nWTC446c.js} +1 -1
- package/web/app/immutable/chunks/{BwA79r4u.js → om7e-2Da.js} +1 -1
- package/web/app/immutable/chunks/{CJfy0DGd.js → u2JaOdc9.js} +1 -1
- package/web/app/immutable/chunks/{FVYA7zYF.js → w57SWl6G.js} +1 -1
- package/web/app/immutable/chunks/{CAGE-6rK.js → xMXcl1K_.js} +1 -1
- package/web/app/immutable/chunks/{ComHdR-u.js → zfZ9LSKu.js} +1 -1
- package/web/app/immutable/entry/{app.D13wouTF.js → app.C8ZhaB4m.js} +2 -2
- package/web/app/immutable/entry/start.CcpVYiXq.js +1 -0
- package/web/app/immutable/nodes/{0.4_Enqr75.js → 0.BDAB8VWB.js} +1 -1
- package/web/app/immutable/nodes/{1.0GDoH7pL.js → 1.CVUy-46P.js} +1 -1
- package/web/app/immutable/nodes/{10.BLmBSn8S.js → 10.B-f9eiav.js} +1 -1
- package/web/app/immutable/nodes/{14.D9wSVPA8.js → 14.BvXwRXk_.js} +1 -1
- package/web/app/immutable/nodes/{17.D8qEGYSE.js → 17.2vxzrHyO.js} +2 -2
- package/web/app/immutable/nodes/{2.Bb9M8Sb_.js → 2.Bqgsv7WD.js} +4 -4
- package/web/app/immutable/nodes/{3.3kLveQ--.js → 3.BMV3o2AW.js} +1 -1
- package/web/app/immutable/nodes/{4.Di28fdFS.js → 4.DS2WiQYi.js} +1 -1
- package/web/app/immutable/nodes/{5.DFuaA1cK.js → 5.Cev1tKbw.js} +1 -1
- package/web/app/immutable/nodes/{6.CSKX9gfc.js → 6.Cx-CL8qG.js} +1 -1
- package/web/app/immutable/nodes/{7.pjH2istV.js → 7.DQIGXkGA.js} +1 -1
- package/web/app/immutable/nodes/{8.JlRHumI8.js → 8.CwodZ6Q4.js} +4 -4
- package/web/app/immutable/nodes/{9.Dfi2ySix.js → 9.BqamPD8c.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/index.html +9 -9
- package/web/app/immutable/entry/start.CNSNzsXg.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./DYhIMPy1.js";import{s as Be}from"./XNWMykPO.js";import{D as be,E as pe,c as Me,F as Ee}from"./1cW9cCot.js";import{s as Re}from"./C46AGI2o.js";function Pe(t,r={}){const l=(r.axis??"y")==="y"?"height":"width",o=parseFloat(getComputedStyle(t)[l]);if(!Number.isFinite(o))return{duration:0};const p=r.duration??160,v=p<=80?"fast":p<=160?"moderate":"slow";return be(t,{axis:r.axis,tier:v},{direction:"in"})}function Ce(){return Re.get("enableComponentTransitions")}const ve={request(){},settle(){}},k=new WeakMap,Ne=2,ke=2e3;function Ve(t,r){let l=r.enabled??!0,o=r.follow,p=r.onFollowChange,v=r.onScrollStateChange,g=r.threshold??100,d=!1,m=0,s=0,c=!1,w=null,F,y=null,E=null,L=null,T=null,A=null,O=null,R=null,C=null,M=0,N=null,h=!1,P=null;const S=new Set,q=new Map,V=new WeakSet,B=new Map,u=document.createElement("div");u.dataset.followBottomAnchor="",u.setAttribute("aria-hidden","true"),u.style.cssText=`height:1px;${r.layoutNeutralBottomAnchor?"margin-top:-1px;":""}overflow-anchor:auto;pointer-events:none;flex:0 0 auto;`;function I(e){e===u||B.has(e)||(B.set(e,e.style.overflowAnchor),e.style.overflowAnchor="none")}function Y(e){const n=B.get(e);n!==void 0&&(e.style.overflowAnchor=n,B.delete(e))}function a(e){if(e)for(const i of t.children)i instanceof HTMLElement&&I(i);else for(const i of B.keys())Y(i);const n=e?"auto":"none";u.style.overflowAnchor!==n&&(u.style.overflowAnchor=n),e?(u.parentElement!==t||u.nextSibling)&&t.append(u):u.remove()}function $(){a(o)}function ye(){u.remove();for(const e of B.keys())Y(e)}function K(e){V.add(e),T?.observe(e)}function ne(){A!==null&&cancelAnimationFrame(A),C!==null&&cancelAnimationFrame(C),A=null,C=null,M=0,N=null}function J(){return Math.max(0,t.scrollHeight-t.clientHeight)}function X(){return P??=getComputedStyle(t).overflowAnchor!=="none",P}function H(){return{maximum:J(),scrollTop:t.scrollTop}}function _(e=H()){return e.scrollTop!==e.maximum&&(t.scrollTop=e.maximum),{maximum:e.maximum,scrollTop:e.maximum}}function G(e=H()){return e.maximum-e.scrollTop<=g}function x(e=H()){const n=Math.max(0,e.maximum-e.scrollTop),i=n<=g;E?.distanceFromBottom===n&&E.isAtBottom===i&&E.isFollowing===o||(E={distanceFromBottom:n,isAtBottom:i,isFollowing:o},v?.({distanceFromBottom:n,isAtBottom:i,isFollowing:o}))}function Q(e){F=e,w===null&&(w=requestAnimationFrame(()=>{w=null;const n=F;F=void 0,!(h||!l)&&(n&&(y?.event!==n||n.defaultPrevented||performance.now()>=y.expiresAt)||(G()?z.followAndScroll():x()))}))}function D(e,n=!0){if(y=null,!l){o=e;return}const i=o!==e;i&&(o=e,a(e)),i&&n&&p?.(e),e||ne(),x()}function Z(e,n=!0){if(!S.delete(e))return;const i=(q.get(e.element)??1)-1;i>0?q.set(e.element,i):(q.delete(e.element),V.has(e.element)||T?.unobserve?.(e.element)),M=0,n&&U()}function ee(e=!0){if(S.size===0)return;const n=performance.now();for(const i of S)(!t.contains(i.element)||n>=i.expiresAt)&&Z(i,e)}function te(){if(A=null,h||!l||!o)return;if(ee(!1),S.size>0){A=requestAnimationFrame(te);return}const e=_(),{maximum:n}=e;x(e),n===N?M+=1:(M=0,N=n),M<Ne&&(A=requestAnimationFrame(te))}function U(){h||!l||!o||A!==null||(A=requestAnimationFrame(te))}function W(e=!0){if(h||!l||!o)return;const n=_(),{maximum:i}=n;x(n),M=0,N=i,e&&U()}function oe(){R===null&&(R=requestAnimationFrame(()=>{R=null,!(h||!l)&&x()}))}function Ae(){if(C=null,h||!l)return;let e=H();const n=e.scrollTop!==e.maximum;e=_(e),(n||e.maximum!==N||S.size>0)&&(M=0,N=e.maximum,U()),x(e)}function xe(){if(!(h||!l)){if(o){if(A!==null||C!==null)return;C=requestAnimationFrame(Ae);return}oe()}}function Fe(){if(!(h||!l)){if(o){W(C===null);return}oe()}}const z={followAndScroll(){D(!0),W()},isFollowing:()=>o,isNativeScrollAnchoringActive:()=>!o&&getComputedStyle(t).overflowAnchor!=="none",hasActiveMutation:()=>o?(ee(),S.size>0):!1,beforeMutation(e,n){if(h||!l||!o)return ve;const i={element:e,expiresAt:performance.now()+(n.maxHoldMs??ke)};S.add(i);const f=q.get(e)??0;return q.set(e,f+1),f===0&&!V.has(e)&&T?.observe(e),M=0,U(),{request(){!S.has(i)||h||(X()?U():W())},settle(){if(!(h||!S.has(i))){if(X()){Z(i);return}Z(i,!1),W()}}}}};function re(e){e.deltaY<0?D(!1):e.deltaY>0&&(y={event:e,expiresAt:performance.now()+1e3},Q(e))}function le(e){const n=y;y=null,e.target===t&&n&&!n.event.defaultPrevented&&performance.now()<n.expiresAt&&G()&&z.followAndScroll()}let ie=0;function se(e){y=null,ie=e.touches[0]?.clientY??0}function ae(e){const n=e.touches[0]?.clientY??0;ie-n<0&&D(!1)}function ue(){Q()}function ce(e){y=null,["ArrowUp","PageUp","Home"].includes(e.key)?D(!1):["ArrowDown","PageDown","End"].includes(e.key)&&Q()}function Se(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 i=t.getBoundingClientRect(),f=t.offsetWidth>0?n*(i.width/t.offsetWidth):n;return getComputedStyle(t).direction==="rtl"?e.clientX<=i.left+f:e.clientX>=i.right-f}function fe(){if(!d){if(o&&A!==null)return;let f=H();o&&(f=_(f)),x(f);return}const e=J(),n=Math.max(0,e-t.scrollTop);if(e!==m){m=e,s=n,c=!1,x();return}const i=n-s;s=n,i>0?(c=!1,D(!1)):i<0?(c=!0,G()?z.followAndScroll():x()):x()}function me(e){y=null,d=Se(e),m=J(),s=Math.max(0,m-t.scrollTop),c=!1}function j(){d&&(d=!1,c&&G()?z.followAndScroll():x())}function Le(){if(!L){L=new MutationObserver(e=>{let n=!1;for(const i of e)if(i.type==="childList"){for(const f of i.removedNodes)n=!0,f instanceof HTMLElement&&Y(f);for(const f of i.addedNodes)f instanceof HTMLElement&&f!==u&&T&&(K(f),o&&f.parentElement===t&&I(f))}n&&ee(),a(o),xe()}),L.observe(t,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),T=new ResizeObserver(Fe),K(t);for(const e of t.children)e instanceof HTMLElement&&e!==u&&K(e)}}function Te(){L?.disconnect(),L=null,T?.disconnect(),T=null}function de(e=!1){if(!l||h)return;if(k.set(t,z),t.addEventListener("scroll",fe,{passive:!0}),t.addEventListener("scrollend",le,{passive:!0,capture:!0}),t.addEventListener("wheel",re,{passive:!0}),t.addEventListener("touchstart",se,{passive:!0}),t.addEventListener("touchmove",ae,{passive:!0}),t.addEventListener("touchend",ue,{passive:!0}),t.addEventListener("keydown",ce),t.addEventListener("pointerdown",me,{passive:!0}),window.addEventListener("pointerup",j,{passive:!0}),window.addEventListener("pointercancel",j,{passive:!0}),$(),Le(),e){O=requestAnimationFrame(()=>{O=null,!(h||!l)&&(X(),o?W():x())});return}X();let n=H();o&&(n=_(n),N=n.maximum),x(n)}function he(){y=null,F=void 0,S.clear(),q.clear(),d=!1,ne(),w!==null&&cancelAnimationFrame(w),w=null,O!==null&&cancelAnimationFrame(O),O=null,R!==null&&cancelAnimationFrame(R),R=null,E=null,P=null,k.get(t)===z&&k.delete(t),Te(),ye(),t.removeEventListener("scroll",fe),t.removeEventListener("scrollend",le,!0),t.removeEventListener("wheel",re),t.removeEventListener("touchstart",se),t.removeEventListener("touchmove",ae),t.removeEventListener("touchend",ue),t.removeEventListener("keydown",ce),t.removeEventListener("pointerdown",me),window.removeEventListener("pointerup",j),window.removeEventListener("pointercancel",j)}return de(!0),{update(e){p=e.onFollowChange,v=e.onScrollStateChange,g=e.threshold??100;const n=e.enabled??!0;if(l!==n&&(n||he(),l=n,l)){o=e.follow,de(!0);return}l?e.follow&&!o?(D(!0,!1),W()):!e.follow&&o?D(!1,!1):O===null&&oe():o=e.follow},destroy(){h=!0,he()}}}function Ye(t){return k.get(t)?.isFollowing()??!1}function _e(t){return k.get(t)?.isNativeScrollAnchoringActive()??!1}function Ue(t){return k.get(t)?.hasActiveMutation()??!1}function ge(t,r={}){let l=t;for(;l;){const o=k.get(l);if(o)return o.beforeMutation(t,r);l=l.parentElement}return ve}function Oe(t){const{scrollTop:r,scrollHeight:l,clientHeight:o}=t;return l-r-o}function qe(t,r=100){return Oe(t)<=r}function De(t,r=!1){t.scrollTo({top:t.scrollHeight,behavior:r?"smooth":"auto"})}function Ie(t){const r=k.get(t);if(r){r.followAndScroll();return}De(t)}function Xe(t,r,l=150,o){const p=t();if(!p)return;const v=p.scrollTop,g=performance.now();function d(s){return 1-Math.pow(1-s,3)}function m(s){const c=t();if(!c)return;const w=s-g,F=Math.min(w/l,1),y=typeof r=="function"?r(c):r;c.scrollTop=v+(y-v)*d(F),F<1?requestAnimationFrame(m):o?.(c)}requestAnimationFrame(m)}function Ge(t,r="[data-message-id], [data-lazy-turn-key]"){const l=t.scrollTop,o=t.getBoundingClientRect(),p=qe(t,100);if(p&&k.get(t)?.isFollowing()!==!1)return{element:null,offsetFromViewport:0,scrollTop:l,isNearBottom:p};const v=t.querySelectorAll(r);let g=null,d=0,m;for(const s of v){const c=s.getBoundingClientRect();if(c.top>=o.bottom)break;if(c.top>=o.top){g||(g=s,d=c.top-o.top);const w=s.getAttribute("data-message-id");if(w){m={id:w,offsetFromViewport:c.top-o.top};break}}}return{element:g,offsetFromViewport:d,scrollTop:l,isNearBottom:p,...m?{message:m}:{}}}function we(t,r){if(r.message){const l=t.querySelector(`[data-message-id="${CSS.escape(r.message.id)}"]`);if(l)return{element:l,offsetFromViewport:r.message.offsetFromViewport}}return r.element?.isConnected?{element:r.element,offsetFromViewport:r.offsetFromViewport}:null}function je(t,r){return we(t,r)!==null}function Ke(t,r){const l=we(t,r);if(l){const{element:o,offsetFromViewport:p}=l,v=t.getBoundingClientRect(),m=o.getBoundingClientRect().top-v.top-p;Math.abs(m)>5&&(t.scrollTop+=m)}}function b(t,r){const l=Number.parseFloat(String(t[r]));return Number.isFinite(l)?l:0}function Je(t,r={},l={}){const o=t,v={maxHoldMs:pe[r.tier??"moderate"].settleMs*2+500};let g=ge(o,v);const d=()=>{g?.settle(),g=null},m=()=>{g??=ge(o,v)};if(!Ce()||Be())return d(),{duration:0};const s=getComputedStyle(o),c=r.axis??"y",w=o.getBoundingClientRect(),F=c==="y"?b(s,"height")||w.height:b(s,"width")||w.width;if(!Number.isFinite(F)||F<=0)return d(),{duration:0};const y=b(s,"opacity")||1,E=r.tier??"moderate",L=pe[E],T=l.direction==="out",A=typeof s.getPropertyValue=="function"?T?Me(o,{tier:E}):Ee(o,{tier:E}):{duration:T?L.exit.duration:L.settleMs,easing:L.exit.easing},O=A.duration??(T?L.exit.duration:L.settleMs),R=r.y??-4,C=b(s,"paddingTop"),M=b(s,"paddingBottom"),N=b(s,"marginTop"),h=b(s,"marginBottom"),P=b(s,"paddingLeft"),S=b(s,"paddingRight"),q=b(s,"marginLeft"),V=b(s,"marginRight");let B=null,u=l.direction==="out"?"outro":l.direction==="in"?"intro":"idle";const I=(a,$)=>{o.style.overflow="hidden",c==="y"?(o.style.height=`${a*F}px`,o.style.paddingTop=`${a*C}px`,o.style.paddingBottom=`${a*M}px`,o.style.marginTop=`${a*N}px`,o.style.marginBottom=`${a*h}px`):(o.style.width=`${a*F}px`,o.style.paddingLeft=`${a*P}px`,o.style.paddingRight=`${a*S}px`,o.style.marginLeft=`${a*q}px`,o.style.marginRight=`${a*V}px`),o.style.opacity=`${a*y}`,o.style.transform=c==="y"?`translateY(${R*$}px)`:`translateX(${R*$}px)`},Y=()=>{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:O,easing:A.easing,tick:(a,$)=>{if(l.direction==="both"&&(B===null?a<1&&(u="outro"):a<B?(m(),u="outro"):a>B&&(m(),u="intro")),B=a,a===1&&u!=="outro"){Y(),d(),u="idle";return}I(a,$),g?.request(),a===0&&u==="outro"&&(d(),u="idle")}}}export{Xe as a,Ce as b,ge as c,je as d,Ge as e,Ve as f,Ie as g,Ue as h,Ye as i,_e as j,Pe as k,De as l,Ke as r,Je as s};
|
|
1
|
+
import"./DYhIMPy1.js";import{s as Be}from"./XNWMykPO.js";import{D as be,E as pe,c as Me,F as Ee}from"./1cW9cCot.js";import{s as Re}from"./BX3vzTpn.js";function Pe(t,r={}){const l=(r.axis??"y")==="y"?"height":"width",o=parseFloat(getComputedStyle(t)[l]);if(!Number.isFinite(o))return{duration:0};const p=r.duration??160,v=p<=80?"fast":p<=160?"moderate":"slow";return be(t,{axis:r.axis,tier:v},{direction:"in"})}function Ce(){return Re.get("enableComponentTransitions")}const ve={request(){},settle(){}},k=new WeakMap,Ne=2,ke=2e3;function Ve(t,r){let l=r.enabled??!0,o=r.follow,p=r.onFollowChange,v=r.onScrollStateChange,g=r.threshold??100,d=!1,m=0,s=0,c=!1,w=null,F,y=null,E=null,L=null,T=null,A=null,O=null,R=null,C=null,M=0,N=null,h=!1,P=null;const S=new Set,q=new Map,V=new WeakSet,B=new Map,u=document.createElement("div");u.dataset.followBottomAnchor="",u.setAttribute("aria-hidden","true"),u.style.cssText=`height:1px;${r.layoutNeutralBottomAnchor?"margin-top:-1px;":""}overflow-anchor:auto;pointer-events:none;flex:0 0 auto;`;function I(e){e===u||B.has(e)||(B.set(e,e.style.overflowAnchor),e.style.overflowAnchor="none")}function Y(e){const n=B.get(e);n!==void 0&&(e.style.overflowAnchor=n,B.delete(e))}function a(e){if(e)for(const i of t.children)i instanceof HTMLElement&&I(i);else for(const i of B.keys())Y(i);const n=e?"auto":"none";u.style.overflowAnchor!==n&&(u.style.overflowAnchor=n),e?(u.parentElement!==t||u.nextSibling)&&t.append(u):u.remove()}function $(){a(o)}function ye(){u.remove();for(const e of B.keys())Y(e)}function K(e){V.add(e),T?.observe(e)}function ne(){A!==null&&cancelAnimationFrame(A),C!==null&&cancelAnimationFrame(C),A=null,C=null,M=0,N=null}function J(){return Math.max(0,t.scrollHeight-t.clientHeight)}function X(){return P??=getComputedStyle(t).overflowAnchor!=="none",P}function H(){return{maximum:J(),scrollTop:t.scrollTop}}function _(e=H()){return e.scrollTop!==e.maximum&&(t.scrollTop=e.maximum),{maximum:e.maximum,scrollTop:e.maximum}}function G(e=H()){return e.maximum-e.scrollTop<=g}function x(e=H()){const n=Math.max(0,e.maximum-e.scrollTop),i=n<=g;E?.distanceFromBottom===n&&E.isAtBottom===i&&E.isFollowing===o||(E={distanceFromBottom:n,isAtBottom:i,isFollowing:o},v?.({distanceFromBottom:n,isAtBottom:i,isFollowing:o}))}function Q(e){F=e,w===null&&(w=requestAnimationFrame(()=>{w=null;const n=F;F=void 0,!(h||!l)&&(n&&(y?.event!==n||n.defaultPrevented||performance.now()>=y.expiresAt)||(G()?z.followAndScroll():x()))}))}function D(e,n=!0){if(y=null,!l){o=e;return}const i=o!==e;i&&(o=e,a(e)),i&&n&&p?.(e),e||ne(),x()}function Z(e,n=!0){if(!S.delete(e))return;const i=(q.get(e.element)??1)-1;i>0?q.set(e.element,i):(q.delete(e.element),V.has(e.element)||T?.unobserve?.(e.element)),M=0,n&&U()}function ee(e=!0){if(S.size===0)return;const n=performance.now();for(const i of S)(!t.contains(i.element)||n>=i.expiresAt)&&Z(i,e)}function te(){if(A=null,h||!l||!o)return;if(ee(!1),S.size>0){A=requestAnimationFrame(te);return}const e=_(),{maximum:n}=e;x(e),n===N?M+=1:(M=0,N=n),M<Ne&&(A=requestAnimationFrame(te))}function U(){h||!l||!o||A!==null||(A=requestAnimationFrame(te))}function W(e=!0){if(h||!l||!o)return;const n=_(),{maximum:i}=n;x(n),M=0,N=i,e&&U()}function oe(){R===null&&(R=requestAnimationFrame(()=>{R=null,!(h||!l)&&x()}))}function Ae(){if(C=null,h||!l)return;let e=H();const n=e.scrollTop!==e.maximum;e=_(e),(n||e.maximum!==N||S.size>0)&&(M=0,N=e.maximum,U()),x(e)}function xe(){if(!(h||!l)){if(o){if(A!==null||C!==null)return;C=requestAnimationFrame(Ae);return}oe()}}function Fe(){if(!(h||!l)){if(o){W(C===null);return}oe()}}const z={followAndScroll(){D(!0),W()},isFollowing:()=>o,isNativeScrollAnchoringActive:()=>!o&&getComputedStyle(t).overflowAnchor!=="none",hasActiveMutation:()=>o?(ee(),S.size>0):!1,beforeMutation(e,n){if(h||!l||!o)return ve;const i={element:e,expiresAt:performance.now()+(n.maxHoldMs??ke)};S.add(i);const f=q.get(e)??0;return q.set(e,f+1),f===0&&!V.has(e)&&T?.observe(e),M=0,U(),{request(){!S.has(i)||h||(X()?U():W())},settle(){if(!(h||!S.has(i))){if(X()){Z(i);return}Z(i,!1),W()}}}}};function re(e){e.deltaY<0?D(!1):e.deltaY>0&&(y={event:e,expiresAt:performance.now()+1e3},Q(e))}function le(e){const n=y;y=null,e.target===t&&n&&!n.event.defaultPrevented&&performance.now()<n.expiresAt&&G()&&z.followAndScroll()}let ie=0;function se(e){y=null,ie=e.touches[0]?.clientY??0}function ae(e){const n=e.touches[0]?.clientY??0;ie-n<0&&D(!1)}function ue(){Q()}function ce(e){y=null,["ArrowUp","PageUp","Home"].includes(e.key)?D(!1):["ArrowDown","PageDown","End"].includes(e.key)&&Q()}function Se(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 i=t.getBoundingClientRect(),f=t.offsetWidth>0?n*(i.width/t.offsetWidth):n;return getComputedStyle(t).direction==="rtl"?e.clientX<=i.left+f:e.clientX>=i.right-f}function fe(){if(!d){if(o&&A!==null)return;let f=H();o&&(f=_(f)),x(f);return}const e=J(),n=Math.max(0,e-t.scrollTop);if(e!==m){m=e,s=n,c=!1,x();return}const i=n-s;s=n,i>0?(c=!1,D(!1)):i<0?(c=!0,G()?z.followAndScroll():x()):x()}function me(e){y=null,d=Se(e),m=J(),s=Math.max(0,m-t.scrollTop),c=!1}function j(){d&&(d=!1,c&&G()?z.followAndScroll():x())}function Le(){if(!L){L=new MutationObserver(e=>{let n=!1;for(const i of e)if(i.type==="childList"){for(const f of i.removedNodes)n=!0,f instanceof HTMLElement&&Y(f);for(const f of i.addedNodes)f instanceof HTMLElement&&f!==u&&T&&(K(f),o&&f.parentElement===t&&I(f))}n&&ee(),a(o),xe()}),L.observe(t,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),T=new ResizeObserver(Fe),K(t);for(const e of t.children)e instanceof HTMLElement&&e!==u&&K(e)}}function Te(){L?.disconnect(),L=null,T?.disconnect(),T=null}function de(e=!1){if(!l||h)return;if(k.set(t,z),t.addEventListener("scroll",fe,{passive:!0}),t.addEventListener("scrollend",le,{passive:!0,capture:!0}),t.addEventListener("wheel",re,{passive:!0}),t.addEventListener("touchstart",se,{passive:!0}),t.addEventListener("touchmove",ae,{passive:!0}),t.addEventListener("touchend",ue,{passive:!0}),t.addEventListener("keydown",ce),t.addEventListener("pointerdown",me,{passive:!0}),window.addEventListener("pointerup",j,{passive:!0}),window.addEventListener("pointercancel",j,{passive:!0}),$(),Le(),e){O=requestAnimationFrame(()=>{O=null,!(h||!l)&&(X(),o?W():x())});return}X();let n=H();o&&(n=_(n),N=n.maximum),x(n)}function he(){y=null,F=void 0,S.clear(),q.clear(),d=!1,ne(),w!==null&&cancelAnimationFrame(w),w=null,O!==null&&cancelAnimationFrame(O),O=null,R!==null&&cancelAnimationFrame(R),R=null,E=null,P=null,k.get(t)===z&&k.delete(t),Te(),ye(),t.removeEventListener("scroll",fe),t.removeEventListener("scrollend",le,!0),t.removeEventListener("wheel",re),t.removeEventListener("touchstart",se),t.removeEventListener("touchmove",ae),t.removeEventListener("touchend",ue),t.removeEventListener("keydown",ce),t.removeEventListener("pointerdown",me),window.removeEventListener("pointerup",j),window.removeEventListener("pointercancel",j)}return de(!0),{update(e){p=e.onFollowChange,v=e.onScrollStateChange,g=e.threshold??100;const n=e.enabled??!0;if(l!==n&&(n||he(),l=n,l)){o=e.follow,de(!0);return}l?e.follow&&!o?(D(!0,!1),W()):!e.follow&&o?D(!1,!1):O===null&&oe():o=e.follow},destroy(){h=!0,he()}}}function Ye(t){return k.get(t)?.isFollowing()??!1}function _e(t){return k.get(t)?.isNativeScrollAnchoringActive()??!1}function Ue(t){return k.get(t)?.hasActiveMutation()??!1}function ge(t,r={}){let l=t;for(;l;){const o=k.get(l);if(o)return o.beforeMutation(t,r);l=l.parentElement}return ve}function Oe(t){const{scrollTop:r,scrollHeight:l,clientHeight:o}=t;return l-r-o}function qe(t,r=100){return Oe(t)<=r}function De(t,r=!1){t.scrollTo({top:t.scrollHeight,behavior:r?"smooth":"auto"})}function Ie(t){const r=k.get(t);if(r){r.followAndScroll();return}De(t)}function Xe(t,r,l=150,o){const p=t();if(!p)return;const v=p.scrollTop,g=performance.now();function d(s){return 1-Math.pow(1-s,3)}function m(s){const c=t();if(!c)return;const w=s-g,F=Math.min(w/l,1),y=typeof r=="function"?r(c):r;c.scrollTop=v+(y-v)*d(F),F<1?requestAnimationFrame(m):o?.(c)}requestAnimationFrame(m)}function Ge(t,r="[data-message-id], [data-lazy-turn-key]"){const l=t.scrollTop,o=t.getBoundingClientRect(),p=qe(t,100);if(p&&k.get(t)?.isFollowing()!==!1)return{element:null,offsetFromViewport:0,scrollTop:l,isNearBottom:p};const v=t.querySelectorAll(r);let g=null,d=0,m;for(const s of v){const c=s.getBoundingClientRect();if(c.top>=o.bottom)break;if(c.top>=o.top){g||(g=s,d=c.top-o.top);const w=s.getAttribute("data-message-id");if(w){m={id:w,offsetFromViewport:c.top-o.top};break}}}return{element:g,offsetFromViewport:d,scrollTop:l,isNearBottom:p,...m?{message:m}:{}}}function we(t,r){if(r.message){const l=t.querySelector(`[data-message-id="${CSS.escape(r.message.id)}"]`);if(l)return{element:l,offsetFromViewport:r.message.offsetFromViewport}}return r.element?.isConnected?{element:r.element,offsetFromViewport:r.offsetFromViewport}:null}function je(t,r){return we(t,r)!==null}function Ke(t,r){const l=we(t,r);if(l){const{element:o,offsetFromViewport:p}=l,v=t.getBoundingClientRect(),m=o.getBoundingClientRect().top-v.top-p;Math.abs(m)>5&&(t.scrollTop+=m)}}function b(t,r){const l=Number.parseFloat(String(t[r]));return Number.isFinite(l)?l:0}function Je(t,r={},l={}){const o=t,v={maxHoldMs:pe[r.tier??"moderate"].settleMs*2+500};let g=ge(o,v);const d=()=>{g?.settle(),g=null},m=()=>{g??=ge(o,v)};if(!Ce()||Be())return d(),{duration:0};const s=getComputedStyle(o),c=r.axis??"y",w=o.getBoundingClientRect(),F=c==="y"?b(s,"height")||w.height:b(s,"width")||w.width;if(!Number.isFinite(F)||F<=0)return d(),{duration:0};const y=b(s,"opacity")||1,E=r.tier??"moderate",L=pe[E],T=l.direction==="out",A=typeof s.getPropertyValue=="function"?T?Me(o,{tier:E}):Ee(o,{tier:E}):{duration:T?L.exit.duration:L.settleMs,easing:L.exit.easing},O=A.duration??(T?L.exit.duration:L.settleMs),R=r.y??-4,C=b(s,"paddingTop"),M=b(s,"paddingBottom"),N=b(s,"marginTop"),h=b(s,"marginBottom"),P=b(s,"paddingLeft"),S=b(s,"paddingRight"),q=b(s,"marginLeft"),V=b(s,"marginRight");let B=null,u=l.direction==="out"?"outro":l.direction==="in"?"intro":"idle";const I=(a,$)=>{o.style.overflow="hidden",c==="y"?(o.style.height=`${a*F}px`,o.style.paddingTop=`${a*C}px`,o.style.paddingBottom=`${a*M}px`,o.style.marginTop=`${a*N}px`,o.style.marginBottom=`${a*h}px`):(o.style.width=`${a*F}px`,o.style.paddingLeft=`${a*P}px`,o.style.paddingRight=`${a*S}px`,o.style.marginLeft=`${a*q}px`,o.style.marginRight=`${a*V}px`),o.style.opacity=`${a*y}`,o.style.transform=c==="y"?`translateY(${R*$}px)`:`translateX(${R*$}px)`},Y=()=>{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:O,easing:A.easing,tick:(a,$)=>{if(l.direction==="both"&&(B===null?a<1&&(u="outro"):a<B?(m(),u="outro"):a>B&&(m(),u="intro")),B=a,a===1&&u!=="outro"){Y(),d(),u="idle";return}I(a,$),g?.request(),a===0&&u==="outro"&&(d(),u="idle")}}}export{Xe as a,Ce as b,ge as c,je as d,Ge as e,Ve as f,Ie as g,Ue as h,Ye as i,_e as j,Pe as k,De as l,Ke as r,Je as s};
|