@xyd-js/components 0.0.0-build-11974d8-20251130234931 → 0.0.0-build-aebf977-20251203155725

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 (29) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/dist/{Button-CG8Q7awC.js → Button-DsQ-CpNa.js} +2 -2
  3. package/dist/{Button-CG8Q7awC.js.map → Button-DsQ-CpNa.js.map} +1 -1
  4. package/dist/{CodeSample-1pn4FZCr.js → CodeSample-C3DnZZbq.js} +2 -2
  5. package/dist/{CodeSample-1pn4FZCr.js.map → CodeSample-C3DnZZbq.js.map} +1 -1
  6. package/dist/{Icon-DrAAu-zQ.js → Icon-Bsw2j9bV.js} +1 -1
  7. package/dist/{Icon-DrAAu-zQ.js.map → Icon-Bsw2j9bV.js.map} +1 -1
  8. package/dist/{PageFirstSlide-DkoY7ayy.js → PageFirstSlide-a-LXqB8m.js} +2 -2
  9. package/dist/{PageFirstSlide-DkoY7ayy.js.map → PageFirstSlide-a-LXqB8m.js.map} +1 -1
  10. package/dist/{TabsAnalytics-BjvVuc1c.js → TabsAnalytics-CZdY7fWP.js} +1 -1
  11. package/dist/{TabsAnalytics-BjvVuc1c.js.map → TabsAnalytics-CZdY7fWP.js.map} +1 -1
  12. package/dist/{Update-CrEHP_L_.js → Update-BZAgVqnP.js} +2 -2
  13. package/dist/{Update-CrEHP_L_.js.map → Update-BZAgVqnP.js.map} +1 -1
  14. package/dist/{VideoGuide-DUZuqELv.js → VideoGuide-BbIalYlR.js} +2 -2
  15. package/dist/{VideoGuide-DUZuqELv.js.map → VideoGuide-BbIalYlR.js.map} +1 -1
  16. package/dist/coder.js +1 -1
  17. package/dist/content.js +1 -1
  18. package/dist/index.css +32 -32
  19. package/dist/pages.js +1 -1
  20. package/dist/system.js +1 -1
  21. package/dist/{useUXClick-C7wJ6Im4.js → useUXClick-5-G3e-3G.js} +1 -1
  22. package/dist/{useUXClick-C7wJ6Im4.js.map → useUXClick-5-G3e-3G.js.map} +1 -1
  23. package/dist/{useUXEvents-Bg-8rc0-.js → useUXEvents-Dii3DU11.js} +1 -1
  24. package/dist/{useUXEvents-Bg-8rc0-.js.map → useUXEvents-Dii3DU11.js.map} +1 -1
  25. package/dist/{useUXScrollDepth-Cvu92iXM.js → useUXScrollDepth-8_Y9CETh.js} +1 -1
  26. package/dist/{useUXScrollDepth-Cvu92iXM.js.map → useUXScrollDepth-8_Y9CETh.js.map} +1 -1
  27. package/dist/uxsdk.js +1 -1
  28. package/dist/writer.js +1 -1
  29. package/package.json +2 -2
@@ -1,2 +1,2 @@
1
- import e,{forwardRef as t,useState as r,useEffect as n,useRef as l,createContext as c,useContext as a}from"react";import{B as i}from"./Button-CG8Q7awC.js";import{E as o}from"./useUXEvents-Bg-8rc0-.js";import{I as s}from"./Icon-DrAAu-zQ.js";import{u as d,a as m}from"./TabsAnalytics-BjvVuc1c.js";import{Tabs as u}from"radix-ui";import{ChevronLeft as h,ChevronRight as v}from"lucide-react";const E="a1cbq3a5",f=t(function({href:t="",children:r,newWindow:n,as:l,...c},a){const i=l||p;return n?e.createElement(i,{ref:a,href:t,target:"_blank",rel:"noreferrer",className:E,...c},r):e.createElement(i,{ref:a,className:E,href:t||void 0,...c},r)});function p({children:t,...r}){return e.createElement("a",r,t)}f.displayName="Anchor";function w({className:t,children:r,size:n="sm",kind:l="default",pre:c=!1}){return e.createElement("xyd-badge",{className:`butvd2b ${t||""}`,"data-size":n,"data-kind":l,"data-pre":c?"true":void 0},e.createElement("span",{part:"child"},r))}function g(t){const{isVisible:r,handleClose:n}=C(t.store,t.label),l=()=>{n(),t.onClose?.()};if(!r)return null;if("secondary"===t.kind)return e.createElement(g.Secondary,{...t,onClose:l});let c=null;return t.icon&&(c="string"==typeof t.icon?e.createElement(s,{name:t.icon,size:16}):t.icon),e.createElement("xyd-banner",{className:"bacjk89"},e.createElement("div",{part:"content"},e.createElement("a",{href:t.href,target:"_blank"},c,t.children,t.label?e.createElement("span",{part:"info"},t.label):null,t.href?e.createElement("svg",{viewBox:"0 0 20 20",style:{width:20,height:20}},e.createElement("path",{fillRule:"evenodd",d:"M3.5 10a.75.75 0 0 1 .75-.75h9.69l-2.72-2.72a.75.75 0 1 1 1.06-1.06l4 4a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 0 1-1.06-1.06l2.72-2.72h-9.69a.75.75 0 0 1-.75-.75Z"})):null)),t.store?e.createElement("div",{part:"close"},e.createElement(y,{onClick:l})):null)}function C(e,t){const[l,c]=r(!0);n(()=>{if(e){const e=`xyd-banner-closed-${t||"default"}`,r=localStorage.getItem(e);if(r){const e=Date.now(),t=parseInt(r)<=e;c(t)}}},[e,t]);return{isVisible:l,handleClose:()=>{if(e){const r=`xyd-banner-closed-${t||"default"}`,n=Date.now()+1e3*e;localStorage.setItem(r,n.toString())}c(!1)}}}function y(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",onClick:t.onClick},e.createElement("path",{d:"M18 6 6 18"}),e.createElement("path",{d:"m6 6 12 12"}))}g.Secondary=function(t){const{isVisible:r,handleClose:n}=C(t.store,t.label);if(!r)return null;let l=null;return t.label&&(l=e.createElement(i,{size:"sm",kind:"secondary"},t.label)),e.createElement("xyd-banner",{"data-kind":"secondary",className:"b1wuahng"},t.children,l,e.createElement("div",{part:"close"},e.createElement(y,{onClick:()=>{n(),t.onClose?.()}})))};function b({children:t,href:r,icon:n,title:l,kind:c,size:a,className:i,as:o}){const d=o||k,m=n&&"string"==typeof n?e.createElement(s,{name:n}):n;return e.createElement("xyd-guidecard",{className:`gh34a3o ${i||""}`,"data-kind":c,"data-size":a},e.createElement(d,{part:"link",href:r},e.createElement("div",{part:"item"},m&&e.createElement("div",{part:"icon"},m),e.createElement("div",{part:"content"},l&&e.createElement(b.Title,null,l),e.createElement("div",{part:"body"},t)))))}function x(){return e.createElement("div",{part:"pointer"},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor",viewBox:"0 0 24 24"},e.createElement("path",{fillRule:"evenodd",d:"M9.293 7.293a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1 0 1.414l-4 4a1 1 0 0 1-1.414-1.414L12.586 12 9.293 8.707a1 1 0 0 1 0-1.414Z",clipRule:"evenodd"})))}function k({href:t,children:r,...n}){return e.createElement("a",{href:t,...n},r)}b.Title=function({children:t}){return e.createElement("div",{part:"title"},e.createElement("div",{part:"title-body"},t),e.createElement(x,null))},b.List=function({children:t}){return e.createElement("xyd-guidecard-list",{className:"gilz89t"},t)};function z(t){const{children:r,size:n=1,as:l,id:c,onClick:a,className:i,kind:o,active:s,label:d,subtitle:m,noanchor:u,ref:h,style:v}=t;let E=l||`h${n}`;return e.createElement(e.Fragment,null,e.createElement(E,{style:v||void 0,className:` h1tn40xd ${i||""}`,"data-size":n,"data-kind":o,"data-has-label":String(d?"true":"false"),"data-noanchor":String(u||"false"),"data-active":String(s||"false"),onClick:u?void 0:a,id:c,ref:h},r,d&&e.createElement(w,{size:"sm"},d),c&&!u&&e.createElement(N,null)),m?e.createElement(z,{...t,size:4,kind:"muted",subtitle:void 0,label:void 0},m):null)}function N(){return e.createElement("svg",{part:"icon",xmlns:"http://www.w3.org/2000/svg",width:15,height:15,fill:"currentColor",viewBox:"0 0 24 24",role:"presentation"},e.createElement("path",{fillRule:"evenodd",d:"M18.293 5.707a4.657 4.657 0 0 0-6.586 0l-1 1a1 1 0 1 1-1.414-1.414l1-1a6.657 6.657 0 1 1 9.414 9.414l-1 1a1 1 0 0 1-1.414-1.414l1-1a4.657 4.657 0 0 0 0-6.586Zm-2.586 2.586a1 1 0 0 1 0 1.414l-6 6a1 1 0 0 1-1.414-1.414l6-6a1 1 0 0 1 1.414 0Zm-9 1a1 1 0 0 1 0 1.414l-1 1a4.657 4.657 0 0 0 6.586 6.586l1-1a1 1 0 0 1 1.414 1.414l-1 1a6.657 6.657 0 1 1-9.414-9.414l1-1a1 1 0 0 1 1.414 0Z",clipRule:"evenodd"}))}function V({kind:t,...r}){switch(t){case"x":return e.createElement(V.Twitter,r);case"facebook":return e.createElement(V.Facebook,r);case"youtube":return e.createElement(V.Youtube,r);case"discord":return e.createElement(V.Discord,r);case"slack":return e.createElement(V.Slack,r);case"github":return e.createElement(V.Github,r);case"linkedin":return e.createElement(V.Linkedin,r);case"instagram":return e.createElement(V.Intagram,r);case"hackernews":return e.createElement(V.HackerNews,r);case"medium":return e.createElement(V.Medium,r);case"telegram":return e.createElement(V.Telegram,r);case"bluesky":return e.createElement(V.Bluesky,r);case"reddit":return e.createElement(V.Reddit,r)}return null}V.Twitter=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 512 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"}))},V.Facebook=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 512 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256C0 376 82.7 476.8 194.2 504.5V334.2H141.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H287V510.1C413.8 494.8 512 386.9 512 256h0z"}))},V.Youtube=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 576 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"}))},V.Discord=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 640 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"}))},V.Slack=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 448 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M94.12 315.1c0 25.9-21.16 47.06-47.06 47.06S0 341 0 315.1c0-25.9 21.16-47.06 47.06-47.06h47.06v47.06zm23.72 0c0-25.9 21.16-47.06 47.06-47.06s47.06 21.16 47.06 47.06v117.84c0 25.9-21.16 47.06-47.06 47.06s-47.06-21.16-47.06-47.06V315.1zm47.06-188.98c-25.9 0-47.06-21.16-47.06-47.06S139 32 164.9 32s47.06 21.16 47.06 47.06v47.06H164.9zm0 23.72c25.9 0 47.06 21.16 47.06 47.06s-21.16 47.06-47.06 47.06H47.06C21.16 243.96 0 222.8 0 196.9s21.16-47.06 47.06-47.06H164.9zm188.98 47.06c0-25.9 21.16-47.06 47.06-47.06 25.9 0 47.06 21.16 47.06 47.06s-21.16 47.06-47.06 47.06h-47.06V196.9zm-23.72 0c0 25.9-21.16 47.06-47.06 47.06-25.9 0-47.06-21.16-47.06-47.06V79.06c0-25.9 21.16-47.06 47.06-47.06 25.9 0 47.06 21.16 47.06 47.06V196.9zM283.1 385.88c25.9 0 47.06 21.16 47.06 47.06 0 25.9-21.16 47.06-47.06 47.06-25.9 0-47.06-21.16-47.06-47.06v-47.06h47.06zm0-23.72c-25.9 0-47.06-21.16-47.06-47.06 0-25.9 21.16-47.06 47.06-47.06h117.84c25.9 0 47.06 21.16 47.06 47.06 0 25.9-21.16 47.06-47.06 47.06H283.1z"}))},V.Github=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 496 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}))},V.Linkedin=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 448 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"}))},V.Intagram=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 448 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"}))},V.HackerNews=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 448 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M0 32v448h448V32H0zm21.2 197.2H21c.1-.1.2-.3.3-.4 0 .1 0 .3-.1.4zm218 53.9V384h-31.4V281.3L128 128h37.3c52.5 98.3 49.2 101.2 59.3 125.6 12.3-27 5.8-24.4 60.6-125.6H320l-80.8 155.1z"}))},V.Medium=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 640 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M180.5,74.262C80.813,74.262,0,155.633,0,256S80.819,437.738,180.5,437.738,361,356.373,361,256,280.191,74.262,180.5,74.262Zm288.25,10.646c-49.845,0-90.245,76.619-90.245,171.095s40.406,171.1,90.251,171.1,90.251-76.619,90.251-171.1H559C559,161.5,518.6,84.908,468.752,84.908Zm139.506,17.821c-17.526,0-31.735,68.628-31.735,153.274s14.2,153.274,31.735,153.274S640,340.631,640,256C640,171.351,625.785,102.729,608.258,102.729Z"}))},V.Telegram=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 496 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M248,8C111.033,8,0,119.033,0,256S111.033,504,248,504,496,392.967,496,256,384.967,8,248,8ZM362.952,176.66c-3.732,39.215-19.881,134.378-28.1,178.3-3.476,18.584-10.322,24.816-16.948,25.425-14.4,1.326-25.338-9.517-39.287-18.661-21.827-14.308-34.158-23.215-55.346-37.177-24.485-16.135-8.612-25,5.342-39.5,3.652-3.793,67.107-61.51,68.335-66.746.153-.655.3-3.1-1.154-4.384s-3.59-.849-5.135-.5q-3.283.746-104.608,69.142-14.845,10.194-26.894,9.934c-8.855-.191-25.888-5.006-38.551-9.123-15.531-5.048-27.875-7.717-26.8-16.291q.84-6.7,18.45-13.7,108.446-47.248,144.628-62.3c68.872-28.647,83.183-33.623,92.511-33.789,2.052-.034,6.639.474,9.61,2.885a10.452,10.452,0,0,1,3.53,6.716A43.765,43.765,0,0,1,362.952,176.66Z"}))},V.Bluesky=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 576 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M407.8 294.7c-3.3-.4-6.7-.8-10-1.3c3.4 .4 6.7 .9 10 1.3zM288 227.1C261.9 176.4 190.9 81.9 124.9 35.3C61.6-9.4 37.5-1.7 21.6 5.5C3.3 13.8 0 41.9 0 58.4S9.1 194 15 213.9c19.5 65.7 89.1 87.9 153.2 80.7c3.3-.5 6.6-.9 10-1.4c-3.3 .5-6.6 1-10 1.4C74.3 308.6-9.1 342.8 100.3 464.5C220.6 589.1 265.1 437.8 288 361.1c22.9 76.7 49.2 222.5 185.6 103.4c102.4-103.4 28.1-156-65.8-169.9c-3.3-.4-6.7-.8-10-1.3c3.4 .4 6.7 .9 10 1.3c64.1 7.1 133.6-15.1 153.2-80.7C566.9 194 576 75 576 58.4s-3.3-44.7-21.6-52.9c-15.8-7.1-40-14.9-103.2 29.8C385.1 81.9 314.1 176.4 288 227.1z"}))},V.Reddit=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 512 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M0 256C0 114.6 114.6 0 256 0S512 114.6 512 256s-114.6 256-256 256L37.1 512c-13.7 0-20.5-16.5-10.9-26.2L75 437C28.7 390.7 0 326.7 0 256zM349.6 153.6c23.6 0 42.7-19.1 42.7-42.7s-19.1-42.7-42.7-42.7c-20.6 0-37.8 14.6-41.8 34c-34.5 3.7-61.4 33-61.4 68.4l0 .2c-37.5 1.6-71.8 12.3-99 29.1c-10.1-7.8-22.8-12.5-36.5-12.5c-33 0-59.8 26.8-59.8 59.8c0 24 14.1 44.6 34.4 54.1c2 69.4 77.6 125.2 170.6 125.2s168.7-55.9 170.6-125.3c20.2-9.6 34.1-30.2 34.1-54c0-33-26.8-59.8-59.8-59.8c-13.7 0-26.3 4.6-36.4 12.4c-27.4-17-62.1-27.7-100-29.1l0-.2c0-25.4 18.9-46.5 43.4-49.9l0 0c4.4 18.8 21.3 32.8 41.5 32.8zM177.1 246.9c16.7 0 29.5 17.6 28.5 39.3s-13.5 29.6-30.3 29.6s-31.4-8.8-30.4-30.5s15.4-38.3 32.1-38.3zm190.1 38.3c1 21.7-13.7 30.5-30.4 30.5s-29.3-7.9-30.3-29.6c-1-21.7 11.8-39.3 28.5-39.3s31.2 16.6 32.1 38.3zm-48.1 56.7c-10.3 24.6-34.6 41.9-63 41.9s-52.7-17.3-63-41.9c-1.2-2.9 .8-6.2 3.9-6.5c18.4-1.9 38.3-2.9 59.1-2.9s40.7 1 59.1 2.9c3.1 .3 5.1 3.6 3.9 6.5z"}))};var M="labae1k",L="i13ytyvq";function B({children:t}){return e.createElement("ul",{className:M},t)}function I({children:t}){return e.createElement("ol",{className:M},t)}B.Item=function({children:t}){return e.createElement("li",{className:L},t)};function S(t){const r=t.as||H;return e.createElement("xyd-navlinks",{className:`n1xhrk1 ${t.className||""}`},e.Children.count(t.children)>0?e.createElement("div",{part:"children-slot"},t.children):null,e.createElement("div",{part:"links"},t.prev?e.createElement(r,{href:t.prev.href,title:t.prev.title,part:"link"},e.createElement($,{part:"icon"}),t.prev.title):e.createElement("div",null),t.next&&e.createElement(r,{href:t.next.href,title:t.next.title,part:"link"},t.next.title,e.createElement(T,{part:"icon"}))))}function H({children:t,...r}){return e.createElement("a",r,t)}function T(t){return e.createElement("svg",{width:15,height:15,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M8.14645 3.14645C8.34171 2.95118 8.65829 2.95118 8.85355 3.14645L12.8536 7.14645C13.0488 7.34171 13.0488 7.65829 12.8536 7.85355L8.85355 11.8536C8.65829 12.0488 8.34171 12.0488 8.14645 11.8536C7.95118 11.6583 7.95118 11.3417 8.14645 11.1464L11.2929 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H11.2929L8.14645 3.85355C7.95118 3.65829 7.95118 3.34171 8.14645 3.14645Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}function $(t){return e.createElement("svg",{width:15,height:15,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355L3.70711 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H3.70711L6.85355 11.1464C7.04882 11.3417 7.04882 11.6583 6.85355 11.8536C6.65829 12.0488 6.34171 12.0488 6.14645 11.8536L2.14645 7.85355C1.95118 7.65829 1.95118 7.34171 2.14645 7.14645L6.14645 3.14645C6.34171 2.95118 6.65829 2.95118 6.85355 3.14645Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}function R({children:t,className:r,kind:n}){return e.createElement("xyd-steps",{"data-kind":n,className:`s3kfd8c ${r||""}`},e.createElement("ol",null,t))}R.Item=function({children:t,icon:r,title:n,className:l}){const c="string"==typeof r?e.createElement(s,{name:r}):r;return e.createElement("xyd-steps-item",{className:`s1et872q ${l||""}`,"data-numeric":r?void 0:"true"},e.createElement("li",null,n&&e.createElement("span",{part:"title"},n),t,c&&e.createElement("span",{part:"step"},c)))};var Z="h14vj3ri",A="t1l6tz9b",j="thzxr0l",q="t1g1altt",W="tdsg57t",_="th2d3qd",D="c8pe5i8";function G({children:t,kind:r,className:n}){return e.createElement("table",{"data-kind":r||void 0,className:`${Z} ${n||""}`},t)}G.Head=function({children:t}){return e.createElement("thead",{className:A},t)},G.Th=function({children:t,numeric:r}){return e.createElement("th",{className:`${q} ${r?"numeric":""}`},t)},G.Tr=function({children:t}){return e.createElement("tr",{className:W},t)},G.Body=function({children:t}){return e.createElement("tbody",{className:j},t)},G.Td=function({children:t,numeric:r,muted:n}){return e.createElement("td",{className:`${_} ${r?"numeric":""} ${n?"muted":""}`},t)},G.Cell=function({children:t}){return e.createElement("xyd-table-cell",{className:D},e.createElement("div",{part:"child"},t))};function P(t,n,c){const a=d().tabsRef,i=void 0!==t&&void 0!==n,[s,m]=r(c.length>0&&e.isValidElement(c[0])?c[0].props.value:""),u=i?t:s,h=l(u),[v,E]=r("forward");return[v,u,t=>{const r=c.findIndex(t=>e.isValidElement(t)&&t.props.value===h.current),l=c.findIndex(r=>e.isValidElement(r)&&r.props.value===t)>r?"forward":"backward";if(E(l),h.current=t,i||m(t),n&&n(t),a?.current){const e={value:t,previousValue:h.current,direction:l},r=new CustomEvent(o,{detail:e,bubbles:!0});a.current.dispatchEvent(r)}}]}const F=c({direction:"forward"});function Y({children:t,value:r,onChange:l,slide:c=!0,className:a}){const i=d(),o=e.Children.toArray(t),s=o.filter(t=>e.isValidElement(t)&&(t.type===Y.Item||"function"==typeof t.type&&"displayName"in t.type&&"Tabs.Item"===t.type.displayName)),m=o.filter(t=>!e.isValidElement(t)||t.type!==Y.Item&&!("function"==typeof t.type&&"displayName"in t.type&&"Tabs.Item"===t.type.displayName)),[h,v,E]=P(r,l,s);return n(()=>{i.setValue(v)},[v]),e.createElement(F.Provider,{value:{direction:h}},e.createElement(u.Root,{value:v,onValueChange:E},e.createElement("xyd-tabs",{ref:i.tabsRef,className:`tk0mvkq ${a||""}`},e.createElement("nav",{part:"nav"},e.createElement(u.List,{asChild:!0},e.createElement("ul",{part:"list"},s))),e.createElement("div",{part:"content","data-slide":c?"true":"false"},m))))}function U({...t}){return e.createElement("a",t,t.children)}Y.Item=function({children:t,value:l,href:c,as:a,defaultActive:i}){const o=a||U,s="boolean"==typeof i,[d,m]=r(s?i?"active":"inactive":void 0);let h=s&&null!=d?{"data-state":d}:void 0;return n(()=>{s&&m(void 0)},[]),e.createElement(u.Trigger,{value:l,asChild:!0,...h},e.createElement("li",{part:"item"},e.createElement(o,{part:"link",href:c},t)))},Y.Content=function({children:t,value:l,defaultActive:c}){const{direction:i}=a(F),o="boolean"==typeof c,[s,d]=r(o?c?"active":"inactive":void 0);let m=o&&null!=s?{"data-state":s}:void 0;return n(()=>{o&&d(void 0)},[]),e.createElement(u.Content,{value:l,forceMount:!0,asChild:!0,...m},e.createElement("div",{className:"t1o9m54","data-direction":i},e.createElement("div",{part:"child"},t)))};function X({children:t,value:c,onChange:a,className:i}){const o=d(),[s,m]=r(!1),[E,f]=r(!1),p=l(null),w=e.Children.toArray(t),g=w.filter(t=>e.isValidElement(t)&&(t.type===X.Item||"function"==typeof t.type&&"displayName"in t.type&&"Tabs.Item"===t.type.displayName)),C=w.filter(t=>!e.isValidElement(t)||t.type!==X.Item&&!("function"==typeof t.type&&"displayName"in t.type&&"Tabs.Item"===t.type.displayName)),[y,b,x]=P(c,a,g);n(()=>{o.setValue(b)},[b]);const k=()=>{if(p.current){const{scrollLeft:e,scrollWidth:t,clientWidth:r}=p.current;m(e>0),f(e<t-r)}};n(()=>(k(),window.addEventListener("resize",k),()=>window.removeEventListener("resize",k)),[]);const z=e=>{if(p.current){const t="left"===e?-200:200;p.current.scrollBy({left:t,behavior:"smooth"})}};return e.createElement(u.Root,{asChild:!0,value:b,onValueChange:x},e.createElement("xyd-tabs",{ref:o.tabsRef,"data-kind":"secondary",className:`t1gurlv3 ${i||""}`},e.createElement("div",{part:"buttons"},s&&e.createElement("button",{onClick:()=>z("left"),part:"arrow"},e.createElement(h,{part:"arrow-icon"})),e.createElement("div",{ref:p,onScroll:k,part:"scroller"},e.createElement("div",{part:"scroller-container"},e.createElement(u.List,null,g))),E&&e.createElement("button",{onClick:()=>z("right"),part:"arrow"},e.createElement(v,{part:"arrow-icon"}))),e.createElement("div",{part:"content"},C)))}function J({...t}){return e.createElement("a",t,t.children)}X.Item=function({children:t,value:l,href:c,as:a,defaultActive:i}){const o=a||J,s="boolean"==typeof i,[d,m]=r(s?i?"active":"inactive":void 0);let h=s&&null!=d?{"data-state":d}:void 0;return n(()=>{s&&m(void 0)},[]),e.createElement(u.Trigger,{className:"tulm1r6",value:l,asChild:!0,...h},e.createElement("div",null,e.createElement(o,{href:c},t)))},X.Content=function({children:t,value:r}){return e.createElement(u.Content,{asChild:!0,value:r},e.createElement("div",null,t))};const K=c({kind:null});function O(t){let r;return r="secondary"===t.kind?e.createElement(K.Provider,{value:{kind:"secondary"}},e.createElement(X,t)):e.createElement(K.Provider,{value:{kind:null}},e.createElement(Y,t)),e.createElement(m,null,r)}O.Item=function(t){const{kind:r}=a(K);return"secondary"===r?e.createElement(X.Item,t):e.createElement(Y.Item,t)},O.Item.displayName="Tabs.Item",O.Content=function(t){const{kind:r}=a(K);return"secondary"===r?e.createElement(X.Content,t):e.createElement(Y.Content,t)},O.Content.displayName="Tabs.Content";var Q="VideoGuide-module_VideoPlayerHost__wcML-";function ee(){return null}function te(){return e.createElement("svg",{"aria-hidden":"true",height:32,width:32,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 14.25A6.25 6.25 0 0 0 14.25 8 6.242 6.242 0 0 0 8 1.75 6.25 6.25 0 0 0 1.75 8 6.25 6.25 0 0 0 8 14.25ZM8 16a8 8 0 0 0 8-8c0-4.419-3.57-8-8-8a8 8 0 0 0-8 8 8 8 0 0 0 8 8Z"}),e.createElement("path",{d:"M10.817 7.659A.415.415 0 0 1 11 8a.415.415 0 0 1-.183.341L7.242 10.91c-.305.218-.742.02-.742-.34V5.431c0-.36.437-.56.742-.341l3.575 2.568Z"}))}ee.Miniature=function(t){const{videoSrc:r,description:n="Watch the video guide"}=t;return e.createElement("xyd-videoguide-miniature",{className:`${Q} ${t.className||""}`},e.createElement("div",{part:"shape"},e.createElement("div",{part:"frame"},e.createElement("iframe",{width:"100%",height:"100%",allow:"autoplay; fullscreen",src:r}),e.createElement("div",{part:"thumbnail"})),e.createElement("div",{part:"cover"},e.createElement("div",{part:"controls"},e.createElement("button",{part:"button",type:"button"},e.createElement("div",{"aria-hidden":"true",part:"icon"},e.createElement(te,null)),e.createElement("div",{part:"description-container"},e.createElement("span",{part:"description"},n)))))))};export{f as A,w as B,b as G,z as H,V as I,B as L,S as N,R as S,G as T,ee as V,I as a,O as b,g as c};
2
- //# sourceMappingURL=VideoGuide-DUZuqELv.js.map
1
+ import e,{forwardRef as t,useState as r,useEffect as n,useRef as l,createContext as c,useContext as a}from"react";import{B as i}from"./Button-DsQ-CpNa.js";import{E as o}from"./useUXEvents-Dii3DU11.js";import{I as s}from"./Icon-Bsw2j9bV.js";import{u as d,a as m}from"./TabsAnalytics-CZdY7fWP.js";import{Tabs as u}from"radix-ui";import{ChevronLeft as h,ChevronRight as v}from"lucide-react";const E="a1cbq3a5",f=t(function({href:t="",children:r,newWindow:n,as:l,...c},a){const i=l||p;return n?e.createElement(i,{ref:a,href:t,target:"_blank",rel:"noreferrer",className:E,...c},r):e.createElement(i,{ref:a,className:E,href:t||void 0,...c},r)});function p({children:t,...r}){return e.createElement("a",r,t)}f.displayName="Anchor";function w({className:t,children:r,size:n="sm",kind:l="default",pre:c=!1}){return e.createElement("xyd-badge",{className:`butvd2b ${t||""}`,"data-size":n,"data-kind":l,"data-pre":c?"true":void 0},e.createElement("span",{part:"child"},r))}function g(t){const{isVisible:r,handleClose:n}=C(t.store,t.label),l=()=>{n(),t.onClose?.()};if(!r)return null;if("secondary"===t.kind)return e.createElement(g.Secondary,{...t,onClose:l});let c=null;return t.icon&&(c="string"==typeof t.icon?e.createElement(s,{name:t.icon,size:16}):t.icon),e.createElement("xyd-banner",{className:"bacjk89"},e.createElement("div",{part:"content"},e.createElement("a",{href:t.href,target:"_blank"},c,t.children,t.label?e.createElement("span",{part:"info"},t.label):null,t.href?e.createElement("svg",{viewBox:"0 0 20 20",style:{width:20,height:20}},e.createElement("path",{fillRule:"evenodd",d:"M3.5 10a.75.75 0 0 1 .75-.75h9.69l-2.72-2.72a.75.75 0 1 1 1.06-1.06l4 4a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 0 1-1.06-1.06l2.72-2.72h-9.69a.75.75 0 0 1-.75-.75Z"})):null)),t.store?e.createElement("div",{part:"close"},e.createElement(y,{onClick:l})):null)}function C(e,t){const[l,c]=r(!0);n(()=>{if(e){const e=`xyd-banner-closed-${t||"default"}`,r=localStorage.getItem(e);if(r){const e=Date.now(),t=parseInt(r)<=e;c(t)}}},[e,t]);return{isVisible:l,handleClose:()=>{if(e){const r=`xyd-banner-closed-${t||"default"}`,n=Date.now()+1e3*e;localStorage.setItem(r,n.toString())}c(!1)}}}function y(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",onClick:t.onClick},e.createElement("path",{d:"M18 6 6 18"}),e.createElement("path",{d:"m6 6 12 12"}))}g.Secondary=function(t){const{isVisible:r,handleClose:n}=C(t.store,t.label);if(!r)return null;let l=null;return t.label&&(l=e.createElement(i,{size:"sm",kind:"secondary"},t.label)),e.createElement("xyd-banner",{"data-kind":"secondary",className:"b1wuahng"},t.children,l,e.createElement("div",{part:"close"},e.createElement(y,{onClick:()=>{n(),t.onClose?.()}})))};function b({children:t,href:r,icon:n,title:l,kind:c,size:a,className:i,as:o}){const d=o||k,m=n&&"string"==typeof n?e.createElement(s,{name:n}):n;return e.createElement("xyd-guidecard",{className:`gh34a3o ${i||""}`,"data-kind":c,"data-size":a},e.createElement(d,{part:"link",href:r},e.createElement("div",{part:"item"},m&&e.createElement("div",{part:"icon"},m),e.createElement("div",{part:"content"},l&&e.createElement(b.Title,null,l),e.createElement("div",{part:"body"},t)))))}function x(){return e.createElement("div",{part:"pointer"},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor",viewBox:"0 0 24 24"},e.createElement("path",{fillRule:"evenodd",d:"M9.293 7.293a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1 0 1.414l-4 4a1 1 0 0 1-1.414-1.414L12.586 12 9.293 8.707a1 1 0 0 1 0-1.414Z",clipRule:"evenodd"})))}function k({href:t,children:r,...n}){return e.createElement("a",{href:t,...n},r)}b.Title=function({children:t}){return e.createElement("div",{part:"title"},e.createElement("div",{part:"title-body"},t),e.createElement(x,null))},b.List=function({children:t}){return e.createElement("xyd-guidecard-list",{className:"gilz89t"},t)};function z(t){const{children:r,size:n=1,as:l,id:c,onClick:a,className:i,kind:o,active:s,label:d,subtitle:m,noanchor:u,ref:h,style:v}=t;let E=l||`h${n}`;return e.createElement(e.Fragment,null,e.createElement(E,{style:v||void 0,className:` h1tn40xd ${i||""}`,"data-size":n,"data-kind":o,"data-has-label":String(d?"true":"false"),"data-noanchor":String(u||"false"),"data-active":String(s||"false"),onClick:u?void 0:a,id:c,ref:h},r,d&&e.createElement(w,{size:"sm"},d),c&&!u&&e.createElement(N,null)),m?e.createElement(z,{...t,size:4,kind:"muted",subtitle:void 0,label:void 0},m):null)}function N(){return e.createElement("svg",{part:"icon",xmlns:"http://www.w3.org/2000/svg",width:15,height:15,fill:"currentColor",viewBox:"0 0 24 24",role:"presentation"},e.createElement("path",{fillRule:"evenodd",d:"M18.293 5.707a4.657 4.657 0 0 0-6.586 0l-1 1a1 1 0 1 1-1.414-1.414l1-1a6.657 6.657 0 1 1 9.414 9.414l-1 1a1 1 0 0 1-1.414-1.414l1-1a4.657 4.657 0 0 0 0-6.586Zm-2.586 2.586a1 1 0 0 1 0 1.414l-6 6a1 1 0 0 1-1.414-1.414l6-6a1 1 0 0 1 1.414 0Zm-9 1a1 1 0 0 1 0 1.414l-1 1a4.657 4.657 0 0 0 6.586 6.586l1-1a1 1 0 0 1 1.414 1.414l-1 1a6.657 6.657 0 1 1-9.414-9.414l1-1a1 1 0 0 1 1.414 0Z",clipRule:"evenodd"}))}function V({kind:t,...r}){switch(t){case"x":return e.createElement(V.Twitter,r);case"facebook":return e.createElement(V.Facebook,r);case"youtube":return e.createElement(V.Youtube,r);case"discord":return e.createElement(V.Discord,r);case"slack":return e.createElement(V.Slack,r);case"github":return e.createElement(V.Github,r);case"linkedin":return e.createElement(V.Linkedin,r);case"instagram":return e.createElement(V.Intagram,r);case"hackernews":return e.createElement(V.HackerNews,r);case"medium":return e.createElement(V.Medium,r);case"telegram":return e.createElement(V.Telegram,r);case"bluesky":return e.createElement(V.Bluesky,r);case"reddit":return e.createElement(V.Reddit,r)}return null}V.Twitter=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 512 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"}))},V.Facebook=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 512 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256C0 376 82.7 476.8 194.2 504.5V334.2H141.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H287V510.1C413.8 494.8 512 386.9 512 256h0z"}))},V.Youtube=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 576 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"}))},V.Discord=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 640 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"}))},V.Slack=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 448 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M94.12 315.1c0 25.9-21.16 47.06-47.06 47.06S0 341 0 315.1c0-25.9 21.16-47.06 47.06-47.06h47.06v47.06zm23.72 0c0-25.9 21.16-47.06 47.06-47.06s47.06 21.16 47.06 47.06v117.84c0 25.9-21.16 47.06-47.06 47.06s-47.06-21.16-47.06-47.06V315.1zm47.06-188.98c-25.9 0-47.06-21.16-47.06-47.06S139 32 164.9 32s47.06 21.16 47.06 47.06v47.06H164.9zm0 23.72c25.9 0 47.06 21.16 47.06 47.06s-21.16 47.06-47.06 47.06H47.06C21.16 243.96 0 222.8 0 196.9s21.16-47.06 47.06-47.06H164.9zm188.98 47.06c0-25.9 21.16-47.06 47.06-47.06 25.9 0 47.06 21.16 47.06 47.06s-21.16 47.06-47.06 47.06h-47.06V196.9zm-23.72 0c0 25.9-21.16 47.06-47.06 47.06-25.9 0-47.06-21.16-47.06-47.06V79.06c0-25.9 21.16-47.06 47.06-47.06 25.9 0 47.06 21.16 47.06 47.06V196.9zM283.1 385.88c25.9 0 47.06 21.16 47.06 47.06 0 25.9-21.16 47.06-47.06 47.06-25.9 0-47.06-21.16-47.06-47.06v-47.06h47.06zm0-23.72c-25.9 0-47.06-21.16-47.06-47.06 0-25.9 21.16-47.06 47.06-47.06h117.84c25.9 0 47.06 21.16 47.06 47.06 0 25.9-21.16 47.06-47.06 47.06H283.1z"}))},V.Github=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 496 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}))},V.Linkedin=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 448 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"}))},V.Intagram=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 448 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"}))},V.HackerNews=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 448 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M0 32v448h448V32H0zm21.2 197.2H21c.1-.1.2-.3.3-.4 0 .1 0 .3-.1.4zm218 53.9V384h-31.4V281.3L128 128h37.3c52.5 98.3 49.2 101.2 59.3 125.6 12.3-27 5.8-24.4 60.6-125.6H320l-80.8 155.1z"}))},V.Medium=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 640 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M180.5,74.262C80.813,74.262,0,155.633,0,256S80.819,437.738,180.5,437.738,361,356.373,361,256,280.191,74.262,180.5,74.262Zm288.25,10.646c-49.845,0-90.245,76.619-90.245,171.095s40.406,171.1,90.251,171.1,90.251-76.619,90.251-171.1H559C559,161.5,518.6,84.908,468.752,84.908Zm139.506,17.821c-17.526,0-31.735,68.628-31.735,153.274s14.2,153.274,31.735,153.274S640,340.631,640,256C640,171.351,625.785,102.729,608.258,102.729Z"}))},V.Telegram=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 496 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M248,8C111.033,8,0,119.033,0,256S111.033,504,248,504,496,392.967,496,256,384.967,8,248,8ZM362.952,176.66c-3.732,39.215-19.881,134.378-28.1,178.3-3.476,18.584-10.322,24.816-16.948,25.425-14.4,1.326-25.338-9.517-39.287-18.661-21.827-14.308-34.158-23.215-55.346-37.177-24.485-16.135-8.612-25,5.342-39.5,3.652-3.793,67.107-61.51,68.335-66.746.153-.655.3-3.1-1.154-4.384s-3.59-.849-5.135-.5q-3.283.746-104.608,69.142-14.845,10.194-26.894,9.934c-8.855-.191-25.888-5.006-38.551-9.123-15.531-5.048-27.875-7.717-26.8-16.291q.84-6.7,18.45-13.7,108.446-47.248,144.628-62.3c68.872-28.647,83.183-33.623,92.511-33.789,2.052-.034,6.639.474,9.61,2.885a10.452,10.452,0,0,1,3.53,6.716A43.765,43.765,0,0,1,362.952,176.66Z"}))},V.Bluesky=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 576 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M407.8 294.7c-3.3-.4-6.7-.8-10-1.3c3.4 .4 6.7 .9 10 1.3zM288 227.1C261.9 176.4 190.9 81.9 124.9 35.3C61.6-9.4 37.5-1.7 21.6 5.5C3.3 13.8 0 41.9 0 58.4S9.1 194 15 213.9c19.5 65.7 89.1 87.9 153.2 80.7c3.3-.5 6.6-.9 10-1.4c-3.3 .5-6.6 1-10 1.4C74.3 308.6-9.1 342.8 100.3 464.5C220.6 589.1 265.1 437.8 288 361.1c22.9 76.7 49.2 222.5 185.6 103.4c102.4-103.4 28.1-156-65.8-169.9c-3.3-.4-6.7-.8-10-1.3c3.4 .4 6.7 .9 10 1.3c64.1 7.1 133.6-15.1 153.2-80.7C566.9 194 576 75 576 58.4s-3.3-44.7-21.6-52.9c-15.8-7.1-40-14.9-103.2 29.8C385.1 81.9 314.1 176.4 288 227.1z"}))},V.Reddit=function(t){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",color:"currentColor",width:"24",height:"24",viewBox:"0 0 512 512",style:{color:"currentcolor",fill:"currentcolor"},...t},e.createElement("path",{d:"M0 256C0 114.6 114.6 0 256 0S512 114.6 512 256s-114.6 256-256 256L37.1 512c-13.7 0-20.5-16.5-10.9-26.2L75 437C28.7 390.7 0 326.7 0 256zM349.6 153.6c23.6 0 42.7-19.1 42.7-42.7s-19.1-42.7-42.7-42.7c-20.6 0-37.8 14.6-41.8 34c-34.5 3.7-61.4 33-61.4 68.4l0 .2c-37.5 1.6-71.8 12.3-99 29.1c-10.1-7.8-22.8-12.5-36.5-12.5c-33 0-59.8 26.8-59.8 59.8c0 24 14.1 44.6 34.4 54.1c2 69.4 77.6 125.2 170.6 125.2s168.7-55.9 170.6-125.3c20.2-9.6 34.1-30.2 34.1-54c0-33-26.8-59.8-59.8-59.8c-13.7 0-26.3 4.6-36.4 12.4c-27.4-17-62.1-27.7-100-29.1l0-.2c0-25.4 18.9-46.5 43.4-49.9l0 0c4.4 18.8 21.3 32.8 41.5 32.8zM177.1 246.9c16.7 0 29.5 17.6 28.5 39.3s-13.5 29.6-30.3 29.6s-31.4-8.8-30.4-30.5s15.4-38.3 32.1-38.3zm190.1 38.3c1 21.7-13.7 30.5-30.4 30.5s-29.3-7.9-30.3-29.6c-1-21.7 11.8-39.3 28.5-39.3s31.2 16.6 32.1 38.3zm-48.1 56.7c-10.3 24.6-34.6 41.9-63 41.9s-52.7-17.3-63-41.9c-1.2-2.9 .8-6.2 3.9-6.5c18.4-1.9 38.3-2.9 59.1-2.9s40.7 1 59.1 2.9c3.1 .3 5.1 3.6 3.9 6.5z"}))};var M="labae1k",L="i13ytyvq";function B({children:t}){return e.createElement("ul",{className:M},t)}function I({children:t}){return e.createElement("ol",{className:M},t)}B.Item=function({children:t}){return e.createElement("li",{className:L},t)};function S(t){const r=t.as||H;return e.createElement("xyd-navlinks",{className:`n1xhrk1 ${t.className||""}`},e.Children.count(t.children)>0?e.createElement("div",{part:"children-slot"},t.children):null,e.createElement("div",{part:"links"},t.prev?e.createElement(r,{href:t.prev.href,title:t.prev.title,part:"link"},e.createElement($,{part:"icon"}),t.prev.title):e.createElement("div",null),t.next&&e.createElement(r,{href:t.next.href,title:t.next.title,part:"link"},t.next.title,e.createElement(T,{part:"icon"}))))}function H({children:t,...r}){return e.createElement("a",r,t)}function T(t){return e.createElement("svg",{width:15,height:15,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M8.14645 3.14645C8.34171 2.95118 8.65829 2.95118 8.85355 3.14645L12.8536 7.14645C13.0488 7.34171 13.0488 7.65829 12.8536 7.85355L8.85355 11.8536C8.65829 12.0488 8.34171 12.0488 8.14645 11.8536C7.95118 11.6583 7.95118 11.3417 8.14645 11.1464L11.2929 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H11.2929L8.14645 3.85355C7.95118 3.65829 7.95118 3.34171 8.14645 3.14645Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}function $(t){return e.createElement("svg",{width:15,height:15,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355L3.70711 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H3.70711L6.85355 11.1464C7.04882 11.3417 7.04882 11.6583 6.85355 11.8536C6.65829 12.0488 6.34171 12.0488 6.14645 11.8536L2.14645 7.85355C1.95118 7.65829 1.95118 7.34171 2.14645 7.14645L6.14645 3.14645C6.34171 2.95118 6.65829 2.95118 6.85355 3.14645Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}function R({children:t,className:r,kind:n}){return e.createElement("xyd-steps",{"data-kind":n,className:`s3kfd8c ${r||""}`},e.createElement("ol",null,t))}R.Item=function({children:t,icon:r,title:n,className:l}){const c="string"==typeof r?e.createElement(s,{name:r}):r;return e.createElement("xyd-steps-item",{className:`s1et872q ${l||""}`,"data-numeric":r?void 0:"true"},e.createElement("li",null,n&&e.createElement("span",{part:"title"},n),t,c&&e.createElement("span",{part:"step"},c)))};var Z="h14vj3ri",A="t1l6tz9b",j="thzxr0l",q="t1g1altt",W="tdsg57t",_="th2d3qd",D="c8pe5i8";function G({children:t,kind:r,className:n}){return e.createElement("table",{"data-kind":r||void 0,className:`${Z} ${n||""}`},t)}G.Head=function({children:t}){return e.createElement("thead",{className:A},t)},G.Th=function({children:t,numeric:r}){return e.createElement("th",{className:`${q} ${r?"numeric":""}`},t)},G.Tr=function({children:t}){return e.createElement("tr",{className:W},t)},G.Body=function({children:t}){return e.createElement("tbody",{className:j},t)},G.Td=function({children:t,numeric:r,muted:n}){return e.createElement("td",{className:`${_} ${r?"numeric":""} ${n?"muted":""}`},t)},G.Cell=function({children:t}){return e.createElement("xyd-table-cell",{className:D},e.createElement("div",{part:"child"},t))};function P(t,n,c){const a=d().tabsRef,i=void 0!==t&&void 0!==n,[s,m]=r(c.length>0&&e.isValidElement(c[0])?c[0].props.value:""),u=i?t:s,h=l(u),[v,E]=r("forward");return[v,u,t=>{const r=c.findIndex(t=>e.isValidElement(t)&&t.props.value===h.current),l=c.findIndex(r=>e.isValidElement(r)&&r.props.value===t)>r?"forward":"backward";if(E(l),h.current=t,i||m(t),n&&n(t),a?.current){const e={value:t,previousValue:h.current,direction:l},r=new CustomEvent(o,{detail:e,bubbles:!0});a.current.dispatchEvent(r)}}]}const F=c({direction:"forward"});function Y({children:t,value:r,onChange:l,slide:c=!0,className:a}){const i=d(),o=e.Children.toArray(t),s=o.filter(t=>e.isValidElement(t)&&(t.type===Y.Item||"function"==typeof t.type&&"displayName"in t.type&&"Tabs.Item"===t.type.displayName)),m=o.filter(t=>!e.isValidElement(t)||t.type!==Y.Item&&!("function"==typeof t.type&&"displayName"in t.type&&"Tabs.Item"===t.type.displayName)),[h,v,E]=P(r,l,s);return n(()=>{i.setValue(v)},[v]),e.createElement(F.Provider,{value:{direction:h}},e.createElement(u.Root,{value:v,onValueChange:E},e.createElement("xyd-tabs",{ref:i.tabsRef,className:`tk0mvkq ${a||""}`},e.createElement("nav",{part:"nav"},e.createElement(u.List,{asChild:!0},e.createElement("ul",{part:"list"},s))),e.createElement("div",{part:"content","data-slide":c?"true":"false"},m))))}function U({...t}){return e.createElement("a",t,t.children)}Y.Item=function({children:t,value:l,href:c,as:a,defaultActive:i}){const o=a||U,s="boolean"==typeof i,[d,m]=r(s?i?"active":"inactive":void 0);let h=s&&null!=d?{"data-state":d}:void 0;return n(()=>{s&&m(void 0)},[]),e.createElement(u.Trigger,{value:l,asChild:!0,...h},e.createElement("li",{part:"item"},e.createElement(o,{part:"link",href:c},t)))},Y.Content=function({children:t,value:l,defaultActive:c}){const{direction:i}=a(F),o="boolean"==typeof c,[s,d]=r(o?c?"active":"inactive":void 0);let m=o&&null!=s?{"data-state":s}:void 0;return n(()=>{o&&d(void 0)},[]),e.createElement(u.Content,{value:l,forceMount:!0,asChild:!0,...m},e.createElement("div",{className:"t1o9m54","data-direction":i},e.createElement("div",{part:"child"},t)))};function X({children:t,value:c,onChange:a,className:i}){const o=d(),[s,m]=r(!1),[E,f]=r(!1),p=l(null),w=e.Children.toArray(t),g=w.filter(t=>e.isValidElement(t)&&(t.type===X.Item||"function"==typeof t.type&&"displayName"in t.type&&"Tabs.Item"===t.type.displayName)),C=w.filter(t=>!e.isValidElement(t)||t.type!==X.Item&&!("function"==typeof t.type&&"displayName"in t.type&&"Tabs.Item"===t.type.displayName)),[y,b,x]=P(c,a,g);n(()=>{o.setValue(b)},[b]);const k=()=>{if(p.current){const{scrollLeft:e,scrollWidth:t,clientWidth:r}=p.current;m(e>0),f(e<t-r)}};n(()=>(k(),window.addEventListener("resize",k),()=>window.removeEventListener("resize",k)),[]);const z=e=>{if(p.current){const t="left"===e?-200:200;p.current.scrollBy({left:t,behavior:"smooth"})}};return e.createElement(u.Root,{asChild:!0,value:b,onValueChange:x},e.createElement("xyd-tabs",{ref:o.tabsRef,"data-kind":"secondary",className:`t1gurlv3 ${i||""}`},e.createElement("div",{part:"buttons"},s&&e.createElement("button",{onClick:()=>z("left"),part:"arrow"},e.createElement(h,{part:"arrow-icon"})),e.createElement("div",{ref:p,onScroll:k,part:"scroller"},e.createElement("div",{part:"scroller-container"},e.createElement(u.List,null,g))),E&&e.createElement("button",{onClick:()=>z("right"),part:"arrow"},e.createElement(v,{part:"arrow-icon"}))),e.createElement("div",{part:"content"},C)))}function J({...t}){return e.createElement("a",t,t.children)}X.Item=function({children:t,value:l,href:c,as:a,defaultActive:i}){const o=a||J,s="boolean"==typeof i,[d,m]=r(s?i?"active":"inactive":void 0);let h=s&&null!=d?{"data-state":d}:void 0;return n(()=>{s&&m(void 0)},[]),e.createElement(u.Trigger,{className:"tulm1r6",value:l,asChild:!0,...h},e.createElement("div",null,e.createElement(o,{href:c},t)))},X.Content=function({children:t,value:r}){return e.createElement(u.Content,{asChild:!0,value:r},e.createElement("div",null,t))};const K=c({kind:null});function O(t){let r;return r="secondary"===t.kind?e.createElement(K.Provider,{value:{kind:"secondary"}},e.createElement(X,t)):e.createElement(K.Provider,{value:{kind:null}},e.createElement(Y,t)),e.createElement(m,null,r)}O.Item=function(t){const{kind:r}=a(K);return"secondary"===r?e.createElement(X.Item,t):e.createElement(Y.Item,t)},O.Item.displayName="Tabs.Item",O.Content=function(t){const{kind:r}=a(K);return"secondary"===r?e.createElement(X.Content,t):e.createElement(Y.Content,t)},O.Content.displayName="Tabs.Content";var Q="VideoGuide-module_VideoPlayerHost__wcML-";function ee(){return null}function te(){return e.createElement("svg",{"aria-hidden":"true",height:32,width:32,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 14.25A6.25 6.25 0 0 0 14.25 8 6.242 6.242 0 0 0 8 1.75 6.25 6.25 0 0 0 1.75 8 6.25 6.25 0 0 0 8 14.25ZM8 16a8 8 0 0 0 8-8c0-4.419-3.57-8-8-8a8 8 0 0 0-8 8 8 8 0 0 0 8 8Z"}),e.createElement("path",{d:"M10.817 7.659A.415.415 0 0 1 11 8a.415.415 0 0 1-.183.341L7.242 10.91c-.305.218-.742.02-.742-.34V5.431c0-.36.437-.56.742-.341l3.575 2.568Z"}))}ee.Miniature=function(t){const{videoSrc:r,description:n="Watch the video guide"}=t;return e.createElement("xyd-videoguide-miniature",{className:`${Q} ${t.className||""}`},e.createElement("div",{part:"shape"},e.createElement("div",{part:"frame"},e.createElement("iframe",{width:"100%",height:"100%",allow:"autoplay; fullscreen",src:r}),e.createElement("div",{part:"thumbnail"})),e.createElement("div",{part:"cover"},e.createElement("div",{part:"controls"},e.createElement("button",{part:"button",type:"button"},e.createElement("div",{"aria-hidden":"true",part:"icon"},e.createElement(te,null)),e.createElement("div",{part:"description-container"},e.createElement("span",{part:"description"},n)))))))};export{f as A,w as B,b as G,z as H,V as I,B as L,S as N,R as S,G as T,ee as V,I as a,O as b,g as c};
2
+ //# sourceMappingURL=VideoGuide-BbIalYlR.js.map