@intent-hq/web 2.310.6 → 2.310.7

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.
Files changed (144) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{BB4j9Fb3.js → 0IbnTVi3.js} +1 -1
  3. package/web/app/immutable/chunks/{CZpXOwbI.js → 1uV4oBN6.js} +1 -1
  4. package/web/app/immutable/chunks/{DZU5Ec54.js → 4IQDFcmZ.js} +1 -1
  5. package/web/app/immutable/chunks/{Bu907aJ3.js → B5DBl17j.js} +1 -1
  6. package/web/app/immutable/chunks/{CU-cp1-3.js → B5O-y_vT.js} +1 -1
  7. package/web/app/immutable/chunks/{NQR4Rtl-.js → B627sAM3.js} +1 -1
  8. package/web/app/immutable/chunks/{BHOvgD_T.js → B6d7WH3a.js} +1 -1
  9. package/web/app/immutable/chunks/{BC170iYM.js → B6hAV-3_.js} +1 -1
  10. package/web/app/immutable/chunks/{Ca7ZWcCL.js → B8IgCEZ2.js} +1 -1
  11. package/web/app/immutable/chunks/{DOMqdgRE.js → B94wLtZQ.js} +4 -4
  12. package/web/app/immutable/chunks/{eHEzcDxQ.js → BH1SxV_2.js} +3 -3
  13. package/web/app/immutable/chunks/{D1ql1-Ot.js → BISBCwMC.js} +6 -6
  14. package/web/app/immutable/chunks/{CZQE0fCl.js → BJKw3_Gy.js} +4 -4
  15. package/web/app/immutable/chunks/{C24GhPLp.js → BKln6ySu.js} +1 -1
  16. package/web/app/immutable/chunks/{CdC4vBhZ.js → BMTN06ur.js} +1 -1
  17. package/web/app/immutable/chunks/{0jDATEDE.js → BNHblkkM.js} +1 -1
  18. package/web/app/immutable/chunks/{D87WGhFs.js → BOJ5O9H2.js} +1 -1
  19. package/web/app/immutable/chunks/{BxJpkaly.js → BOnyvPIZ.js} +1 -1
  20. package/web/app/immutable/chunks/{BEQzssyf.js → BS_nCvzt.js} +1 -1
  21. package/web/app/immutable/chunks/{C3xacgdt.js → BSlvZ1Pu.js} +1 -1
  22. package/web/app/immutable/chunks/{xmvqwXSU.js → BSoWspCN.js} +1 -1
  23. package/web/app/immutable/chunks/{CjElZ3lc.js → BWqkBrJW.js} +1 -1
  24. package/web/app/immutable/chunks/{6RF5p0iy.js → Ba301HJa.js} +1 -1
  25. package/web/app/immutable/chunks/{BRBjcvke.js → BduWsSAL.js} +1 -1
  26. package/web/app/immutable/chunks/{7xcKpZfY.js → Bg5DclCa.js} +1 -1
  27. package/web/app/immutable/chunks/{TqobeaKN.js → BiY-h9kY.js} +2 -2
  28. package/web/app/immutable/chunks/{I33KgjfP.js → BlyjH817.js} +1 -1
  29. package/web/app/immutable/chunks/{DRdYhSaN.js → Bmki0WV1.js} +1 -1
  30. package/web/app/immutable/chunks/{ydTv8hP4.js → Bu5C-ibM.js} +1 -1
  31. package/web/app/immutable/chunks/{B9O62qGQ.js → BuqI9VVg.js} +1 -1
  32. package/web/app/immutable/chunks/{DGdCOBVa.js → ButtropH.js} +1 -1
  33. package/web/app/immutable/chunks/{D-f6mjGZ.js → BxEFXoFC.js} +1 -1
  34. package/web/app/immutable/chunks/{DqU1-JZ_.js → BxdVgQf2.js} +1 -1
  35. package/web/app/immutable/chunks/{BQDa2gyZ.js → BxhdIybK.js} +1 -1
  36. package/web/app/immutable/chunks/{DUn0rqAw.js → BymhBeY6.js} +1 -1
  37. package/web/app/immutable/chunks/{BDC7YvSa.js → C0-0zRzI.js} +1 -1
  38. package/web/app/immutable/chunks/{C-Vm3RVN.js → C0ZZiD0Y.js} +1 -1
  39. package/web/app/immutable/chunks/{CApNVCrD.js → C1XmCQw9.js} +1 -1
  40. package/web/app/immutable/chunks/{_oyhUelP.js → C1ip5nta.js} +1 -1
  41. package/web/app/immutable/chunks/{B-Khv5XV.js → C1nNf4DC.js} +1 -1
  42. package/web/app/immutable/chunks/{BWVti_Nk.js → C7c7TpyB.js} +2 -2
  43. package/web/app/immutable/chunks/{DRQ9zI1S.js → C8doll76.js} +3 -3
  44. package/web/app/immutable/chunks/{BLn9xuQY.js → C8n44PAS.js} +1 -1
  45. package/web/app/immutable/chunks/{MZv_SjOU.js → CCGcTh5y.js} +1 -1
  46. package/web/app/immutable/chunks/{GzTByeyS.js → CF6hnD7N.js} +1 -1
  47. package/web/app/immutable/chunks/{fG9yUC43.js → CFFVSsMY.js} +1 -1
  48. package/web/app/immutable/chunks/{BG0DaRQl.js → CFbPUloi.js} +1 -1
  49. package/web/app/immutable/chunks/{DXA1CeMO.js → CGmjE2tO.js} +1 -1
  50. package/web/app/immutable/chunks/{jIXr-yrN.js → CJbMz0Qj.js} +1 -1
  51. package/web/app/immutable/chunks/{D6r6uGxi.js → CRHpusV-.js} +2 -2
  52. package/web/app/immutable/chunks/{KcO1jrt5.js → CSBYy3qm.js} +1 -1
  53. package/web/app/immutable/chunks/{BTx1PNmI.js → CSWOZxwi.js} +1 -1
  54. package/web/app/immutable/chunks/{CyEmrqLG.js → CSe0a_gp.js} +6 -6
  55. package/web/app/immutable/chunks/{d1BTRZJ5.js → CT4J1qez.js} +1 -1
  56. package/web/app/immutable/chunks/{CPxGL-vK.js → CTwTlU9O.js} +1 -1
  57. package/web/app/immutable/chunks/{BH2-uOEx.js → CUb-D5kZ.js} +1 -1
  58. package/web/app/immutable/chunks/{Ce0vNDu0.js → CV3kTmo2.js} +1 -1
  59. package/web/app/immutable/chunks/{DqGjlSqL.js → CVOHGP15.js} +1 -1
  60. package/web/app/immutable/chunks/{AuRYSJHT.js → CVWxDRwx.js} +1 -1
  61. package/web/app/immutable/chunks/{D_kg7ncr.js → CWSiIrrw.js} +1 -1
  62. package/web/app/immutable/chunks/{DWENia9K.js → CeSJjfFD.js} +1 -1
  63. package/web/app/immutable/chunks/{BxYt32aR.js → CfP0Q3kH.js} +1 -1
  64. package/web/app/immutable/chunks/{CQtryL4A.js → ChCucwzs.js} +1 -1
  65. package/web/app/immutable/chunks/{jistWp6M.js → Ci8EJdlD.js} +2 -2
  66. package/web/app/immutable/chunks/{BL5Ktj_P.js → Cic8W2IQ.js} +1 -1
  67. package/web/app/immutable/chunks/{CUmMl0ei.js → CltLkQkg.js} +1 -1
  68. package/web/app/immutable/chunks/{DFncNHLE.js → CnFuBkml.js} +3 -3
  69. package/web/app/immutable/chunks/{Bv369Fgp.js → Cr9Jr3Rh.js} +1 -1
  70. package/web/app/immutable/chunks/{eQpVVjDk.js → Ctaia1ht.js} +1 -1
  71. package/web/app/immutable/chunks/{C2BsxlP1.js → CuMCyXJN.js} +1 -1
  72. package/web/app/immutable/chunks/{Dq6bjX8b.js → CvuiLD35.js} +1 -1
  73. package/web/app/immutable/chunks/{q4PAra-4.js → CyOwuVac.js} +1 -1
  74. package/web/app/immutable/chunks/{ONISXbk7.js → Cz2CkvTz.js} +1 -1
  75. package/web/app/immutable/chunks/{BIEE8y-3.js → D2k1oX-7.js} +1 -1
  76. package/web/app/immutable/chunks/{znHwp1JG.js → D8E4HiBw.js} +1 -1
  77. package/web/app/immutable/chunks/{DUbleqOB.js → D9aG2BAy.js} +2 -2
  78. package/web/app/immutable/chunks/{BqZD4qTh.js → DA08KSLP.js} +1 -1
  79. package/web/app/immutable/chunks/{DTVbSjN4.js → DDLqK_9u.js} +1 -1
  80. package/web/app/immutable/chunks/{DK3CBKUN.js → DDMlxBb0.js} +1 -1
  81. package/web/app/immutable/chunks/{DuCyxfNq.js → DGsMFsVB.js} +1 -1
  82. package/web/app/immutable/chunks/{DgNQoDvv.js → DINU7fIU.js} +1 -1
  83. package/web/app/immutable/chunks/{C9NVsajY.js → DITq3qBf.js} +1 -1
  84. package/web/app/immutable/chunks/{BfLg2v80.js → DLTNp3FK.js} +1 -1
  85. package/web/app/immutable/chunks/{BsdCiHQ-.js → DNU5WraJ.js} +1 -1
  86. package/web/app/immutable/chunks/{Cqqq8mIc.js → DQmFXUaY.js} +1 -1
  87. package/web/app/immutable/chunks/{CMkW2qBI.js → DRv3iZwc.js} +1 -1
  88. package/web/app/immutable/chunks/{DNCIusTh.js → DUrozooX.js} +1 -1
  89. package/web/app/immutable/chunks/{Dvsh5lor.js → DVxSWSOE.js} +1 -1
  90. package/web/app/immutable/chunks/{Brcgaepz.js → DWvcbUR_.js} +1 -1
  91. package/web/app/immutable/chunks/{C-GB-Z6I.js → DbB70R5Q.js} +1 -1
  92. package/web/app/immutable/chunks/{C-4ShLJi.js → DdPrgwW5.js} +1 -1
  93. package/web/app/immutable/chunks/{CQVaOZY1.js → De-45CAR.js} +1 -1
  94. package/web/app/immutable/chunks/{vUrJyrIE.js → DeqYmcpN.js} +1 -1
  95. package/web/app/immutable/chunks/{L56tV_N2.js → Dg7h9PTJ.js} +1 -1
  96. package/web/app/immutable/chunks/{p739qN7s.js → Dh8GTU9l.js} +1 -1
  97. package/web/app/immutable/chunks/{CAmAoxYX.js → DlJtR458.js} +1 -1
  98. package/web/app/immutable/chunks/{BhIRSq6M.js → DncYDPhg.js} +1 -1
  99. package/web/app/immutable/chunks/{C0RNiIuq.js → DoC44D05.js} +1 -1
  100. package/web/app/immutable/chunks/{c8q78QgI.js → DoTEWwoM.js} +2 -2
  101. package/web/app/immutable/chunks/{DyYWryOl.js → Drnh0HUi.js} +1 -1
  102. package/web/app/immutable/chunks/{_FAxd-kZ.js → DvFBioTN.js} +1 -1
  103. package/web/app/immutable/chunks/{OkVm0RnL.js → Dw8wjCFA.js} +1 -1
  104. package/web/app/immutable/chunks/{BXr0vKP3.js → DxuSNTqP.js} +1 -1
  105. package/web/app/immutable/chunks/{T2aU8GFD.js → DzpZirN8.js} +2 -2
  106. package/web/app/immutable/chunks/{ogbNGF-F.js → EgCkbRSO.js} +1 -1
  107. package/web/app/immutable/chunks/{BTYd6VGo.js → FZ16LJPZ.js} +1 -1
  108. package/web/app/immutable/chunks/{BKJctaAU.js → NZrSEdiO.js} +1 -1
  109. package/web/app/immutable/chunks/{CYrnvlgo.js → QOYIahoY.js} +1 -1
  110. package/web/app/immutable/chunks/{CdCnBpS4.js → Tb5rK7gc.js} +1 -1
  111. package/web/app/immutable/chunks/{Doin14cn.js → UHJrSKo1.js} +1 -1
  112. package/web/app/immutable/chunks/{BpXY-crN.js → W1jDgpAw.js} +1 -1
  113. package/web/app/immutable/chunks/{Dncl9PxC.js → W5X3qSTv.js} +1 -1
  114. package/web/app/immutable/chunks/{D7f5atmP.js → ZNF532zw.js} +2 -2
  115. package/web/app/immutable/chunks/{DeilQvAa.js → bZwhZrF-.js} +1 -1
  116. package/web/app/immutable/chunks/{Bq6TDTLx.js → h-tvQldb.js} +4 -4
  117. package/web/app/immutable/chunks/{xBwnlBIV.js → hx08oi2S.js} +4 -4
  118. package/web/app/immutable/chunks/{CuKYj_RQ.js → i4qtW-EG.js} +1 -1
  119. package/web/app/immutable/chunks/{e482Ipo2.js → lZediTeU.js} +1 -1
  120. package/web/app/immutable/chunks/{BXhbkOGM.js → oxcaJnV7.js} +1 -1
  121. package/web/app/immutable/chunks/{Dlx6LZvK.js → pJ691TlN.js} +1 -1
  122. package/web/app/immutable/chunks/{CYaLJD38.js → qrP7sQ48.js} +1 -1
  123. package/web/app/immutable/chunks/{CZ5TYBms.js → seBL-i_2.js} +1 -1
  124. package/web/app/immutable/chunks/{D5HgD2US.js → vDxxvgta.js} +1 -1
  125. package/web/app/immutable/chunks/{C2y_Z0v3.js → y3UoYTlz.js} +1 -1
  126. package/web/app/immutable/chunks/{CXlrbOrv.js → zxsNMED7.js} +1 -1
  127. package/web/app/immutable/entry/{app.3Hj6MPQj.js → app.CVivJiRG.js} +2 -2
  128. package/web/app/immutable/entry/start.CWhJ-RH4.js +1 -0
  129. package/web/app/immutable/nodes/{0.DNOHwo2G.js → 0.DDHhcD95.js} +1 -1
  130. package/web/app/immutable/nodes/{1.CDmFo1PB.js → 1.DDEB5bsr.js} +1 -1
  131. package/web/app/immutable/nodes/{10.1h4BaBgN.js → 10.BbQrj_0t.js} +1 -1
  132. package/web/app/immutable/nodes/{14.BKRcAoe7.js → 14.D1VvoAbN.js} +1 -1
  133. package/web/app/immutable/nodes/{16.Dm4Hv-LT.js → 16.TeXYsGfO.js} +2 -2
  134. package/web/app/immutable/nodes/{2.ARrvrXbU.js → 2.BTlREJS4.js} +3 -3
  135. package/web/app/immutable/nodes/{3.Dhev1Kbs.js → 3.Cy9znMS9.js} +1 -1
  136. package/web/app/immutable/nodes/{4.aYCmPCda.js → 4.C8MbAzvd.js} +1 -1
  137. package/web/app/immutable/nodes/{5.DGf1XEgh.js → 5.DFTfEmUX.js} +1 -1
  138. package/web/app/immutable/nodes/{6.bePoWWAr.js → 6.CFVx9uI2.js} +1 -1
  139. package/web/app/immutable/nodes/{7.CvmFcfbA.js → 7.CFUPKK1H.js} +1 -1
  140. package/web/app/immutable/nodes/{8.D-xiTVKb.js → 8.CVn10BHb.js} +2 -2
  141. package/web/app/immutable/nodes/{9.ksCPcL-7.js → 9.BYecLYIR.js} +1 -1
  142. package/web/app/version.json +1 -1
  143. package/web/index.html +9 -9
  144. package/web/app/immutable/entry/start.t5mygpC6.js +0 -1
@@ -1 +1 @@
1
- import"./DYhIMPy1.js";import{j as Be}from"./C9Jx2NNX.js";import{C as be,D as pe,c as Me,E as Ee}from"./BLz71Hhe.js";import{s as Re}from"./0jDATEDE.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{j as Be}from"./C9Jx2NNX.js";import{C as be,D as pe,c as Me,E as Ee}from"./BLz71Hhe.js";import{s as Re}from"./BNHblkkM.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};