@xyd-js/storybook 0.0.1-xyd.5 → 0.0.1-xyd.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.
- package/.storybook/preview.ts +1 -3
- package/CHANGELOG.md +18 -0
- package/LICENSE +21 -0
- package/package.json +7 -6
- package/src/docs/components/writer/Badge.stories.tsx +48 -39
- package/storybook-static/index.html +1 -1
- package/storybook-static/index.json +1 -1
- package/storybook-static/project.json +1 -1
- package/storybook-static/assets/Atlas.stories-D9DS7hl-.js +0 -252
- package/storybook-static/assets/AtlasIndex.stories-D_Oxkfvi.js +0 -41
- package/storybook-static/assets/Badge.stories-D8HrQDwV.js +0 -31
- package/storybook-static/assets/Breadcrumbs.stories-tNKyphmn.js +0 -21
- package/storybook-static/assets/Button.stories-C9qt61OR.js +0 -21
- package/storybook-static/assets/CTABanner-XQNnnpUx-DwYWZ4fP.js +0 -4
- package/storybook-static/assets/CTABanner.stories-BiQXR4rl.js +0 -22
- package/storybook-static/assets/Callout.stories-CGC_uVON.js +0 -16
- package/storybook-static/assets/CodeSample-DxPp80ID-C5AHaCBx-D2i_bX1Z.js +0 -9
- package/storybook-static/assets/CodeSample.stories-DTrUVe_s.js +0 -22
- package/storybook-static/assets/CodeSample.stories-npLtCIKw.js +0 -8
- package/storybook-static/assets/Color-YHDXOIA2-jdiJ8nLV.js +0 -1
- package/storybook-static/assets/DocsRenderer-CFRXHY34-Dx8J2UZ2.js +0 -575
- package/storybook-static/assets/GuideCard.stories-DNNHeSGK.js +0 -65
- package/storybook-static/assets/Heading.stories-PDwVi1FA.js +0 -40
- package/storybook-static/assets/Nav.stories-DDu5T02Y.js +0 -13
- package/storybook-static/assets/NavLinks.stories-DNOvI3bZ.js +0 -19
- package/storybook-static/assets/Pre.stories-BHVX2jFF.js +0 -11
- package/storybook-static/assets/Sidebar.stories-CtYcwtfR.js +0 -9
- package/storybook-static/assets/Steps.stories-lNmlIaIJ.js +0 -16
- package/storybook-static/assets/SubNav.stories-DH8b0a7D.js +0 -19
- package/storybook-static/assets/Table.stories-B6GQYi2j.js +0 -72
- package/storybook-static/assets/UnderlineNav-C2aEVraN-9GpY15Jh.js +0 -46
- package/storybook-static/assets/_rollupPluginBabelHelpers-DsEzE6Ab-CerVq3GU.js +0 -4
- package/storybook-static/assets/chevron-right-MQoc73cD.js +0 -31
- package/storybook-static/assets/chunk-K6AXKMTT-CzEIZnfC.js +0 -12
- package/storybook-static/assets/chunk-XP5HYGXS-BpfKkqn7.js +0 -1
- package/storybook-static/assets/content-B1kn5ITj.js +0 -22
- package/storybook-static/assets/copy-DNsBvoDT.js +0 -20
- package/storybook-static/assets/entry-preview-PtW0VFtQ.js +0 -2
- package/storybook-static/assets/entry-preview-docs-D4yhrvjB.js +0 -46
- package/storybook-static/assets/entry-preview-rsc-56ExrKd2.js +0 -1
- package/storybook-static/assets/iframe-20rzKf4k.js +0 -211
- package/storybook-static/assets/index-BPIV5q2-.js +0 -18
- package/storybook-static/assets/index-BdGwgT04.js +0 -9
- package/storybook-static/assets/index-C3_PYvTT.js +0 -1
- package/storybook-static/assets/index-C7VnYWJ0.js +0 -9
- package/storybook-static/assets/index-CGqnQ2T-.js +0 -8
- package/storybook-static/assets/index-Ci6h_Amb.js +0 -240
- package/storybook-static/assets/index-DXayMMq-.js +0 -1
- package/storybook-static/assets/index-DrFu-skq.js +0 -6
- package/storybook-static/assets/jsx-runtime-BjG_zV1W.js +0 -9
- package/storybook-static/assets/layouts-BwYpnzso.js +0 -32
- package/storybook-static/assets/preview-B8lJiyuQ.js +0 -34
- package/storybook-static/assets/preview-BBWR9nbA.js +0 -1
- package/storybook-static/assets/preview-BWzBA1C2.js +0 -396
- package/storybook-static/assets/preview-CoMWgYGQ.css +0 -1
- package/storybook-static/assets/preview-CvbIS5ZJ.js +0 -1
- package/storybook-static/assets/preview-DD_OYowb.js +0 -1
- package/storybook-static/assets/preview-DGUiP6tS.js +0 -7
- package/storybook-static/assets/preview-DHQbi4pV.js +0 -1
- package/storybook-static/assets/preview-DQn0GC_k.js +0 -1
- package/storybook-static/assets/preview-ik5anPOD.js +0 -1
- package/storybook-static/assets/preview-jqfvLFBB.js +0 -2
- package/storybook-static/assets/react-18-DQs0uuxx.js +0 -25
- package/storybook-static/assets/test-utils-Di69x3Vj.js +0 -9
- package/storybook-static/assets/themes-designsystem.stories-DJ0jz3mR.js +0 -11
- package/storybook-static/assets/themes.stories-BEC7n9_k.js +0 -41
- package/storybook-static/assets/writer-kuuIP814.js +0 -4
- package/storybook-static/iframe.html +0 -666
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,e as N,R as Ce}from"./index-BdGwgT04.js";import{j as g}from"./jsx-runtime-BjG_zV1W.js";import"./index-C7VnYWJ0.js";function S(e,t,{checkForDefaultPrevented:o=!0}={}){return function(r){if(e==null||e(r),o===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}function U(e,t=[]){let o=[];function n(c,i){const u=s.createContext(i),l=o.length;o=[...o,i];const a=f=>{var b;const{scope:p,children:v,...d}=f,C=((b=p==null?void 0:p[e])==null?void 0:b[l])||u,I=s.useMemo(()=>d,Object.values(d));return g.jsx(C.Provider,{value:I,children:v})};a.displayName=c+"Provider";function m(f,p){var C;const v=((C=p==null?void 0:p[e])==null?void 0:C[l])||u,d=s.useContext(v);if(d)return d;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${c}\``)}return[a,m]}const r=()=>{const c=o.map(i=>s.createContext(i));return function(u){const l=(u==null?void 0:u[e])||c;return s.useMemo(()=>({[`__scope${e}`]:{...u,[e]:l}}),[u,l])}};return r.scopeName=e,[n,be(r,...t)]}function be(...e){const t=e[0];if(e.length===1)return t;const o=()=>{const n=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(c){const i=n.reduce((u,{useScope:l,scopeName:a})=>{const f=l(c)[`__scope${a}`];return{...u,...f}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return o.scopeName=t.scopeName,o}function W(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function B(...e){return t=>{let o=!1;const n=e.map(r=>{const c=W(r,t);return!o&&typeof c=="function"&&(o=!0),c});if(o)return()=>{for(let r=0;r<n.length;r++){const c=n[r];typeof c=="function"?c():W(e[r],null)}}}}function M(...e){return s.useCallback(B(...e),e)}var P=s.forwardRef((e,t)=>{const{children:o,...n}=e,r=s.Children.toArray(o),c=r.find(Ie);if(c){const i=c.props.children,u=r.map(l=>l===c?s.Children.count(i)>1?s.Children.only(null):s.isValidElement(i)?i.props.children:null:l);return g.jsx(D,{...n,ref:t,children:s.isValidElement(i)?s.cloneElement(i,void 0,u):null})}return g.jsx(D,{...n,ref:t,children:o})});P.displayName="Slot";var D=s.forwardRef((e,t)=>{const{children:o,...n}=e;if(s.isValidElement(o)){const r=Se(o),c=Te(n,o.props);return o.type!==s.Fragment&&(c.ref=t?B(t,r):r),s.cloneElement(o,c)}return s.Children.count(o)>1?s.Children.only(null):null});D.displayName="SlotClone";var Re=({children:e})=>g.jsx(g.Fragment,{children:e});function Ie(e){return s.isValidElement(e)&&e.type===Re}function Te(e,t){const o={...t};for(const n in t){const r=e[n],c=t[n];/^on[A-Z]/.test(n)?r&&c?o[n]=(...u)=>{c(...u),r(...u)}:r&&(o[n]=r):n==="style"?o[n]={...r,...c}:n==="className"&&(o[n]=[r,c].filter(Boolean).join(" "))}return{...e,...o}}function Se(e){var n,r;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}function he(e){const t=e+"CollectionProvider",[o,n]=U(t),[r,c]=o(t,{collectionRef:{current:null},itemMap:new Map}),i=v=>{const{scope:d,children:C}=v,I=N.useRef(null),b=N.useRef(new Map).current;return g.jsx(r,{scope:d,itemMap:b,collectionRef:I,children:C})};i.displayName=t;const u=e+"CollectionSlot",l=N.forwardRef((v,d)=>{const{scope:C,children:I}=v,b=c(u,C),R=M(d,b.collectionRef);return g.jsx(P,{ref:R,children:I})});l.displayName=u;const a=e+"CollectionItemSlot",m="data-radix-collection-item",f=N.forwardRef((v,d)=>{const{scope:C,children:I,...b}=v,R=N.useRef(null),x=M(d,R),y=c(a,C);return N.useEffect(()=>(y.itemMap.set(R,{ref:R,...b}),()=>void y.itemMap.delete(R))),g.jsx(P,{[m]:"",ref:x,children:I})});f.displayName=a;function p(v){const d=c(e+"CollectionConsumer",v);return N.useCallback(()=>{const I=d.collectionRef.current;if(!I)return[];const b=Array.from(I.querySelectorAll(`[${m}]`));return Array.from(d.itemMap.values()).sort((y,A)=>b.indexOf(y.ref.current)-b.indexOf(A.ref.current))},[d.collectionRef,d.itemMap])}return[{Provider:i,Slot:l,ItemSlot:f},p,n]}var j=globalThis!=null&&globalThis.document?s.useLayoutEffect:()=>{},Ne=Ce.useId||(()=>{}),xe=0;function Y(e){const[t,o]=s.useState(Ne());return j(()=>{o(n=>n??String(xe++))},[e]),e||(t?`radix-${t}`:"")}var ye=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],E=ye.reduce((e,t)=>{const o=s.forwardRef((n,r)=>{const{asChild:c,...i}=n,u=c?P:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),g.jsx(u,{...i,ref:r})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function G(e){const t=s.useRef(e);return s.useEffect(()=>{t.current=e}),s.useMemo(()=>(...o)=>{var n;return(n=t.current)==null?void 0:n.call(t,...o)},[])}function q({prop:e,defaultProp:t,onChange:o=()=>{}}){const[n,r]=Ee({defaultProp:t,onChange:o}),c=e!==void 0,i=c?e:n,u=G(o),l=s.useCallback(a=>{if(c){const f=typeof a=="function"?a(e):a;f!==e&&u(f)}else r(a)},[c,e,r,u]);return[i,l]}function Ee({defaultProp:e,onChange:t}){const o=s.useState(e),[n]=o,r=s.useRef(n),c=G(t);return s.useEffect(()=>{r.current!==n&&(c(n),r.current=n)},[n,r,c]),o}var Ae=s.createContext(void 0);function z(e){const t=s.useContext(Ae);return e||t||"ltr"}var O="rovingFocusGroup.onEntryFocus",we={bubbles:!1,cancelable:!0},F="RovingFocusGroup",[L,Z,Me]=he(F),[Pe,J]=U(F,[Me]),[Fe,_e]=Pe(F),Q=s.forwardRef((e,t)=>g.jsx(L.Provider,{scope:e.__scopeRovingFocusGroup,children:g.jsx(L.Slot,{scope:e.__scopeRovingFocusGroup,children:g.jsx(Oe,{...e,ref:t})})}));Q.displayName=F;var Oe=s.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:o,orientation:n,loop:r=!1,dir:c,currentTabStopId:i,defaultCurrentTabStopId:u,onCurrentTabStopIdChange:l,onEntryFocus:a,preventScrollOnEntryFocus:m=!1,...f}=e,p=s.useRef(null),v=M(t,p),d=z(c),[C=null,I]=q({prop:i,defaultProp:u,onChange:l}),[b,R]=s.useState(!1),x=G(a),y=Z(o),A=s.useRef(!1),[de,K]=s.useState(0);return s.useEffect(()=>{const T=p.current;if(T)return T.addEventListener(O,x),()=>T.removeEventListener(O,x)},[x]),g.jsx(Fe,{scope:o,orientation:n,dir:d,loop:r,currentTabStopId:C,onItemFocus:s.useCallback(T=>I(T),[I]),onItemShiftTab:s.useCallback(()=>R(!0),[]),onFocusableItemAdd:s.useCallback(()=>K(T=>T+1),[]),onFocusableItemRemove:s.useCallback(()=>K(T=>T-1),[]),children:g.jsx(E.div,{tabIndex:b||de===0?-1:0,"data-orientation":n,...f,ref:v,style:{outline:"none",...e.style},onMouseDown:S(e.onMouseDown,()=>{A.current=!0}),onFocus:S(e.onFocus,T=>{const me=!A.current;if(T.target===T.currentTarget&&me&&!b){const $=new CustomEvent(O,we);if(T.currentTarget.dispatchEvent($),!$.defaultPrevented){const _=y().filter(h=>h.focusable),pe=_.find(h=>h.active),ve=_.find(h=>h.id===C),ge=[pe,ve,..._].filter(Boolean).map(h=>h.ref.current);ee(ge,m)}}A.current=!1}),onBlur:S(e.onBlur,()=>R(!1))})})}),X="RovingFocusGroupItem",H=s.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:o,focusable:n=!0,active:r=!1,tabStopId:c,...i}=e,u=Y(),l=c||u,a=_e(X,o),m=a.currentTabStopId===l,f=Z(o),{onFocusableItemAdd:p,onFocusableItemRemove:v}=a;return s.useEffect(()=>{if(n)return p(),()=>v()},[n,p,v]),g.jsx(L.ItemSlot,{scope:o,id:l,focusable:n,active:r,children:g.jsx(E.span,{tabIndex:m?0:-1,"data-orientation":a.orientation,...i,ref:t,onMouseDown:S(e.onMouseDown,d=>{n?a.onItemFocus(l):d.preventDefault()}),onFocus:S(e.onFocus,()=>a.onItemFocus(l)),onKeyDown:S(e.onKeyDown,d=>{if(d.key==="Tab"&&d.shiftKey){a.onItemShiftTab();return}if(d.target!==d.currentTarget)return;const C=Le(d,a.orientation,a.dir);if(C!==void 0){if(d.metaKey||d.ctrlKey||d.altKey||d.shiftKey)return;d.preventDefault();let b=f().filter(R=>R.focusable).map(R=>R.ref.current);if(C==="last")b.reverse();else if(C==="prev"||C==="next"){C==="prev"&&b.reverse();const R=b.indexOf(d.currentTarget);b=a.loop?Ue(b,R+1):b.slice(R+1)}setTimeout(()=>ee(b))}})})})});H.displayName=X;var De={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function je(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Le(e,t,o){const n=je(e.key,o);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return De[n]}function ee(e,t=!1){const o=document.activeElement;for(const n of e)if(n===o||(n.focus({preventScroll:t}),document.activeElement!==o))return}function Ue(e,t){return e.map((o,n)=>e[(t+n)%e.length])}var Ge=Q,Ve=H;function ke(e,t){return s.useReducer((o,n)=>t[o][n]??o,e)}var te=e=>{const{present:t,children:o}=e,n=Ke(t),r=typeof o=="function"?o({present:n.isPresent}):s.Children.only(o),c=M(n.ref,$e(r));return typeof o=="function"||n.isPresent?s.cloneElement(r,{ref:c}):null};te.displayName="Presence";function Ke(e){const[t,o]=s.useState(),n=s.useRef({}),r=s.useRef(e),c=s.useRef("none"),i=e?"mounted":"unmounted",[u,l]=ke(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return s.useEffect(()=>{const a=w(n.current);c.current=u==="mounted"?a:"none"},[u]),j(()=>{const a=n.current,m=r.current;if(m!==e){const p=c.current,v=w(a);e?l("MOUNT"):v==="none"||(a==null?void 0:a.display)==="none"?l("UNMOUNT"):l(m&&p!==v?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,l]),j(()=>{if(t){let a;const m=t.ownerDocument.defaultView??window,f=v=>{const C=w(n.current).includes(v.animationName);if(v.target===t&&C&&(l("ANIMATION_END"),!r.current)){const I=t.style.animationFillMode;t.style.animationFillMode="forwards",a=m.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=I)})}},p=v=>{v.target===t&&(c.current=w(n.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{m.clearTimeout(a),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:s.useCallback(a=>{a&&(n.current=getComputedStyle(a)),o(a)},[])}}function w(e){return(e==null?void 0:e.animationName)||"none"}function $e(e){var n,r;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var V="Tabs",[We,Je]=U(V,[J]),ne=J(),[Be,k]=We(V),oe=s.forwardRef((e,t)=>{const{__scopeTabs:o,value:n,onValueChange:r,defaultValue:c,orientation:i="horizontal",dir:u,activationMode:l="automatic",...a}=e,m=z(u),[f,p]=q({prop:n,onChange:r,defaultProp:c});return g.jsx(Be,{scope:o,baseId:Y(),value:f,onValueChange:p,orientation:i,dir:m,activationMode:l,children:g.jsx(E.div,{dir:m,"data-orientation":i,...a,ref:t})})});oe.displayName=V;var re="TabsList",se=s.forwardRef((e,t)=>{const{__scopeTabs:o,loop:n=!0,...r}=e,c=k(re,o),i=ne(o);return g.jsx(Ge,{asChild:!0,...i,orientation:c.orientation,dir:c.dir,loop:n,children:g.jsx(E.div,{role:"tablist","aria-orientation":c.orientation,...r,ref:t})})});se.displayName=re;var ce="TabsTrigger",ie=s.forwardRef((e,t)=>{const{__scopeTabs:o,value:n,disabled:r=!1,...c}=e,i=k(ce,o),u=ne(o),l=le(i.baseId,n),a=fe(i.baseId,n),m=n===i.value;return g.jsx(Ve,{asChild:!0,...u,focusable:!r,active:m,children:g.jsx(E.button,{type:"button",role:"tab","aria-selected":m,"aria-controls":a,"data-state":m?"active":"inactive","data-disabled":r?"":void 0,disabled:r,id:l,...c,ref:t,onMouseDown:S(e.onMouseDown,f=>{!r&&f.button===0&&f.ctrlKey===!1?i.onValueChange(n):f.preventDefault()}),onKeyDown:S(e.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&i.onValueChange(n)}),onFocus:S(e.onFocus,()=>{const f=i.activationMode!=="manual";!m&&!r&&f&&i.onValueChange(n)})})})});ie.displayName=ce;var ae="TabsContent",ue=s.forwardRef((e,t)=>{const{__scopeTabs:o,value:n,forceMount:r,children:c,...i}=e,u=k(ae,o),l=le(u.baseId,n),a=fe(u.baseId,n),m=n===u.value,f=s.useRef(m);return s.useEffect(()=>{const p=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(p)},[]),g.jsx(te,{present:r||m,children:({present:p})=>g.jsx(E.div,{"data-state":m?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":l,hidden:!p,id:a,tabIndex:0,...i,ref:t,style:{...e.style,animationDuration:f.current?"0s":void 0},children:p&&c})})});ue.displayName=ae;function le(e,t){return`${e}-trigger-${t}`}function fe(e,t){return`${e}-content-${t}`}var Qe=oe,Xe=se,He=ie,et=ue;export{et as C,Xe as L,Qe as R,He as T};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
function l(o){for(var f=[],i=1;i<arguments.length;i++)f[i-1]=arguments[i];var n=Array.from(typeof o=="string"?[o]:o);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var s=n.reduce(function(t,g){var a=g.match(/\n([\t ]+|(?!\s).)/g);return a?t.concat(a.map(function(u){var r,e;return(e=(r=u.match(/[\t ]/g))===null||r===void 0?void 0:r.length)!==null&&e!==void 0?e:0})):t},[]);if(s.length){var d=new RegExp(`
|
|
2
|
-
[ ]{`+Math.min.apply(Math,s)+"}","g");n=n.map(function(t){return t.replace(d,`
|
|
3
|
-
`)})}n[0]=n[0].replace(/^\r?\n/,"");var c=n[0];return f.forEach(function(t,g){var a=c.match(/(?:^|\n)( *)$/),u=a?a[1]:"",r=t;typeof t=="string"&&t.includes(`
|
|
4
|
-
`)&&(r=String(t).split(`
|
|
5
|
-
`).map(function(e,h){return h===0?e:""+u+e}).join(`
|
|
6
|
-
`)),c+=r+n[g+1]}),c}export{l as d};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
var o={exports:{}},s={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react-jsx-runtime.production.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var E=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function l(v,r,t){var e=null;if(t!==void 0&&(e=""+t),r.key!==void 0&&(e=""+r.key),"key"in r){t={};for(var x in r)x!=="key"&&(t[x]=r[x])}else t=r;return r=t.ref,{$$typeof:E,type:v,key:e,ref:r!==void 0?r:null,props:t}}s.Fragment=n;s.jsx=l;s.jsxs=l;o.exports=s;var u=o.exports;export{u as j};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import{h as u}from"./_rollupPluginBabelHelpers-DsEzE6Ab-CerVq3GU.js";import{r as l,e}from"./index-BdGwgT04.js";var I="46px",_="hbl2zih",A="h115et6c",B="pqur9bs",P="h1ca28gw",D="h1wej3bq",F="h10slvux",G="hs9zvag",w="hwo9ypt",H="hx2yh06",J="m1tsopzt",K="mrptvy0",O="s15p97dz",Q="m1g98ss5",R="m12tfx9",U="s1l70vy0",V="c1xrwn4u",W="c1k5z9a4",X="o2vyfys",Y="o3fargz",Z="h178wvkm",b="s56lisa",$="cr72phr",j="cjrmmxf",ee="aqmdmmp",ae="h1scre76",te="cw4g864",ne="nj90fwq";function ce(a){var h=l.useState(!1),m=u(h,2),o=m[0],v=m[1],L=a.subheader?function(){var f=l.useState(!1),S=u(f,2),z=S[0],p=S[1],E=l.useState(0),q=u(E,2),i=q[0],x=q[1],n=l.useState(0),t=u(n,2),r=t[0],g=t[1];function M(s){var c;if(s.target instanceof HTMLElement){var d=(c=s.target)===null||c===void 0?void 0:c.scrollTop;x(d)}}function T(s){var c;s.target instanceof HTMLElement&&g((c=s.target)===null||c===void 0?void 0:c.scrollTop)}return l.useEffect(function(){if(i!==r){var s=parseInt(I,10)/2,c=i-r,d=Math.abs(i-r);c>s?p(!0):d>s&&p(!1)}},[i,r]),l.useEffect(function(){var s,c;return(s=document.querySelector(".".concat(b)))===null||s===void 0||s.addEventListener("scroll",M),(c=document.querySelector(".".concat(b)))===null||c===void 0||c.addEventListener("scrollend",T),function(){var d,k;(d=document.querySelector(".".concat(b)))===null||d===void 0||d.removeEventListener("scroll",M),(k=document.querySelector(".".concat(b)))===null||k===void 0||k.removeEventListener("scrollend",T)}},[]),{hideMainHeader:z}}():{hideMainHeader:!1},N=L.hideMainHeader;return e.createElement("div",{className:_},e.createElement("header",{className:`
|
|
2
|
-
`.concat(A,`
|
|
3
|
-
`).concat(a.subheader&&P,`
|
|
4
|
-
`).concat(N&&D,`
|
|
5
|
-
`)},e.createElement("div",{className:B},a.header,e.createElement("button",{className:F,onClick:function(){return v(!o)},"aria-label":"Toggle navigation menu"},e.createElement("div",{className:G},e.createElement("span",{className:"".concat(w," ").concat(o?H:"")}),e.createElement("span",{className:"".concat(w," ").concat(o?H:"")}),e.createElement("span",{className:"".concat(w," ").concat(o?H:"")})))),a.subheader),e.createElement("div",{className:"".concat(X," ").concat(o?Y:""),onClick:function(){return v(!1)}}),e.createElement("aside",{className:`
|
|
6
|
-
`.concat(Q,`
|
|
7
|
-
`).concat(o?R:"",`
|
|
8
|
-
`)},e.createElement("div",{className:U},a.aside),e.createElement("button",{className:V,onClick:function(){return v(!1)},"aria-label":"Close navigation menu"},e.createElement("div",{className:W}))),e.createElement("main",{className:`
|
|
9
|
-
`.concat(J,`
|
|
10
|
-
`).concat(!N&&a.subheader&&K,`
|
|
11
|
-
`)},e.createElement("aside",{className:O},a.aside),e.createElement("div",{className:Z},e.createElement("div",{className:b},e.createElement("div",{className:`
|
|
12
|
-
`.concat($,`
|
|
13
|
-
`).concat(a.layoutSize=="large"&&j,`
|
|
14
|
-
`)},e.createElement("div",{className:`
|
|
15
|
-
`.concat(ee,`
|
|
16
|
-
`)},e.createElement("article",{className:ae},e.createElement("section",{className:te},a.content),a.contentNav&&e.createElement("nav",{className:`
|
|
17
|
-
`.concat(ne,`
|
|
18
|
-
`)},a.contentNav))))))))}var re="h8dr7e",se="h1ezaz84",le="h17wz13c",oe="h1bgh3rd",me="mxu2emt",ie="mslox5x",de="s1i19hnd",ue="h13sn67b",y="s1k9r3in",ve="c1t0msup",fe="apqkghd",Ee="a10qws06",he="h3zl32q",Ne="c1cmkhbs",pe="n1rrfk2r";function C(a){var h=l.useState(!1),m=u(h,2),o=m[0],v=m[1],L=l.useState(0),N=u(L,2),f=N[0],S=N[1],z=l.useState(0),p=u(z,2),E=p[0],q=p[1];function i(n){var t;if(n.target instanceof HTMLElement){var r=(t=n.target)===null||t===void 0?void 0:t.scrollTop;S(r)}}function x(n){var t;n.target instanceof HTMLElement&&q((t=n.target)===null||t===void 0?void 0:t.scrollTop)}return l.useEffect(function(){if(f!==E){var n=parseInt("46px",10)/2,t=f-E,r=Math.abs(f-E);t>n?v(!0):r>n&&v(!1)}},[f,E]),l.useEffect(function(){var n,t;if(a.subheader)return(n=document.querySelector(".".concat(y)))===null||n===void 0||n.addEventListener("scroll",i),(t=document.querySelector(".".concat(y)))===null||t===void 0||t.addEventListener("scrollend",x),function(){var r,g;(r=document.querySelector(".".concat(y)))===null||r===void 0||r.removeEventListener("scroll",i),(g=document.querySelector(".".concat(y)))===null||g===void 0||g.removeEventListener("scrollend",x)}},[]),e.createElement("div",{className:re},e.createElement(C.Header,{className:`
|
|
19
|
-
`.concat(a.subheader&&le,`
|
|
20
|
-
`).concat(o&&oe,`
|
|
21
|
-
`)},a.header),e.createElement("main",{className:`
|
|
22
|
-
`.concat(me,`
|
|
23
|
-
`).concat(!o&&a.subheader&&ie,`
|
|
24
|
-
`)},e.createElement("aside",{className:de},a.aside),e.createElement("div",{className:ue},e.createElement("div",{className:y},e.createElement("div",{className:ve},e.createElement("div",{className:`
|
|
25
|
-
`.concat(fe,`
|
|
26
|
-
`).concat(a.kind=="fullwidth"&&Ee,`
|
|
27
|
-
`)},e.createElement("article",{className:he},e.createElement("section",{className:Ne},a.content),a.contentNav&&e.createElement("nav",{className:`
|
|
28
|
-
`.concat(pe,`
|
|
29
|
-
`)},a.contentNav))))))))}C.Header=function(a){var h=a.className,m=a.children;return e.createElement("header",{className:`
|
|
30
|
-
`.concat(se,`
|
|
31
|
-
`).concat(h,`
|
|
32
|
-
`)},m)};ce.__docgenInfo={description:"",methods:[],displayName:"j"};export{C as V,ce as j};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import{d as P}from"./index-DrFu-skq.js";const{useEffect:_,useMemo:h}=__STORYBOOK_MODULE_PREVIEW_API__,{global:j}=__STORYBOOK_MODULE_GLOBAL__,{logger:X}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var p="backgrounds",U={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},{document:b,window:O}=j,D=()=>{var r;return!!((r=O==null?void 0:O.matchMedia("(prefers-reduced-motion: reduce)"))!=null&&r.matches)},A=r=>{(Array.isArray(r)?r:[r]).forEach(N)},N=r=>{var t;let e=b.getElementById(r);e&&((t=e.parentElement)==null||t.removeChild(e))},F=(r,e)=>{let t=b.getElementById(r);if(t)t.innerHTML!==e&&(t.innerHTML=e);else{let o=b.createElement("style");o.setAttribute("id",r),o.innerHTML=e,b.head.appendChild(o)}},Y=(r,e,t)=>{var a;let o=b.getElementById(r);if(o)o.innerHTML!==e&&(o.innerHTML=e);else{let d=b.createElement("style");d.setAttribute("id",r),d.innerHTML=e;let i=`addon-backgrounds-grid${t?`-docs-${t}`:""}`,n=b.getElementById(i);n?(a=n.parentElement)==null||a.insertBefore(d,n):b.head.appendChild(d)}},W={cellSize:100,cellAmount:10,opacity:.8},w="addon-backgrounds",R="addon-backgrounds-grid",q=D()?"":"transition: background-color 0.3s;",J=(r,e)=>{let{globals:t,parameters:o,viewMode:a,id:d}=e,{options:i=U,disable:n,grid:s=W}=o[p]||{},c=t[p]||{},u=c.value,l=u?i[u]:void 0,$=(l==null?void 0:l.value)||"transparent",f=c.grid||!1,y=!!l&&!n,m=a==="docs"?`#anchor--${d} .docs-story`:".sb-show-main",E=a==="docs"?`#anchor--${d} .docs-story`:".sb-show-main",H=o.layout===void 0||o.layout==="padded",L=a==="docs"?20:H?16:0,{cellAmount:k,cellSize:g,opacity:x,offsetX:v=L,offsetY:S=L}=s,B=a==="docs"?`${w}-docs-${d}`:`${w}-color`,G=a==="docs"?d:null;_(()=>{let M=`
|
|
2
|
-
${m} {
|
|
3
|
-
background: ${$} !important;
|
|
4
|
-
${q}
|
|
5
|
-
}`;if(!y){A(B);return}Y(B,M,G)},[m,B,G,y,$]);let T=a==="docs"?`${R}-docs-${d}`:`${R}`;return _(()=>{if(!f){A(T);return}let M=[`${g*k}px ${g*k}px`,`${g*k}px ${g*k}px`,`${g}px ${g}px`,`${g}px ${g}px`].join(", "),K=`
|
|
6
|
-
${E} {
|
|
7
|
-
background-size: ${M} !important;
|
|
8
|
-
background-position: ${v}px ${S}px, ${v}px ${S}px, ${v}px ${S}px, ${v}px ${S}px !important;
|
|
9
|
-
background-blend-mode: difference !important;
|
|
10
|
-
background-image: linear-gradient(rgba(130, 130, 130, ${x}) 1px, transparent 1px),
|
|
11
|
-
linear-gradient(90deg, rgba(130, 130, 130, ${x}) 1px, transparent 1px),
|
|
12
|
-
linear-gradient(rgba(130, 130, 130, ${x/2}) 1px, transparent 1px),
|
|
13
|
-
linear-gradient(90deg, rgba(130, 130, 130, ${x/2}) 1px, transparent 1px) !important;
|
|
14
|
-
}
|
|
15
|
-
`;F(T,K)},[k,g,E,T,f,v,S,x]),r()},Q=(r,e=[],t)=>{if(r==="transparent")return"transparent";if(e.find(a=>a.value===r)||r)return r;let o=e.find(a=>a.name===t);if(o)return o.value;if(t){let a=e.map(d=>d.name).join(", ");X.warn(P`
|
|
16
|
-
Backgrounds Addon: could not find the default color "${t}".
|
|
17
|
-
These are the available colors for your story based on your configuration:
|
|
18
|
-
${a}.
|
|
19
|
-
`)}return"transparent"},Z=(r,e)=>{var u;let{globals:t,parameters:o}=e,a=(u=t[p])==null?void 0:u.value,d=o[p],i=h(()=>d.disable?"transparent":Q(a,d.values,d.default),[d,a]),n=h(()=>i&&i!=="transparent",[i]),s=e.viewMode==="docs"?`#anchor--${e.id} .docs-story`:".sb-show-main",c=h(()=>`
|
|
20
|
-
${s} {
|
|
21
|
-
background: ${i} !important;
|
|
22
|
-
${D()?"":"transition: background-color 0.3s;"}
|
|
23
|
-
}
|
|
24
|
-
`,[i,s]);return _(()=>{let l=e.viewMode==="docs"?`addon-backgrounds-docs-${e.id}`:"addon-backgrounds-color";if(!n){A(l);return}Y(l,c,e.viewMode==="docs"?e.id:null)},[n,c,e]),r()},V=(r,e)=>{var y;let{globals:t,parameters:o}=e,a=o[p].grid,d=((y=t[p])==null?void 0:y.grid)===!0&&a.disable!==!0,{cellAmount:i,cellSize:n,opacity:s}=a,c=e.viewMode==="docs",u=o.layout===void 0||o.layout==="padded"?16:0,l=a.offsetX??(c?20:u),$=a.offsetY??(c?20:u),f=h(()=>{let m=e.viewMode==="docs"?`#anchor--${e.id} .docs-story`:".sb-show-main",E=[`${n*i}px ${n*i}px`,`${n*i}px ${n*i}px`,`${n}px ${n}px`,`${n}px ${n}px`].join(", ");return`
|
|
25
|
-
${m} {
|
|
26
|
-
background-size: ${E} !important;
|
|
27
|
-
background-position: ${l}px ${$}px, ${l}px ${$}px, ${l}px ${$}px, ${l}px ${$}px !important;
|
|
28
|
-
background-blend-mode: difference !important;
|
|
29
|
-
background-image: linear-gradient(rgba(130, 130, 130, ${s}) 1px, transparent 1px),
|
|
30
|
-
linear-gradient(90deg, rgba(130, 130, 130, ${s}) 1px, transparent 1px),
|
|
31
|
-
linear-gradient(rgba(130, 130, 130, ${s/2}) 1px, transparent 1px),
|
|
32
|
-
linear-gradient(90deg, rgba(130, 130, 130, ${s/2}) 1px, transparent 1px) !important;
|
|
33
|
-
}
|
|
34
|
-
`},[n]);return _(()=>{let m=e.viewMode==="docs"?`addon-backgrounds-grid-docs-${e.id}`:"addon-backgrounds-grid";if(!d){A(m);return}F(m,f)},[d,f,e]),r()},C,ae=(C=globalThis.FEATURES)!=null&&C.backgroundsStoryGlobals?[J]:[V,Z],I,oe={[p]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1,...!((I=globalThis.FEATURES)!=null&&I.backgroundsStoryGlobals)&&{values:Object.values(U)}}},ee={[p]:{value:void 0,grid:!1}},z,de=(z=globalThis.FEATURES)!=null&&z.backgroundsStoryGlobals?ee:{[p]:null};export{ae as decorators,de as initialGlobals,oe as parameters};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var j="Invariant failed";function S(e,t){if(!e)throw new Error(j)}const{useEffect:T}=__STORYBOOK_MODULE_PREVIEW_API__,{global:d}=__STORYBOOK_MODULE_GLOBAL__;var K="measureEnabled";function Y(){let e=d.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}function G(){let e=d.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");S(t!=null);let{width:o,height:l}=Y();return A(e,t,{width:o,height:l}),e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.zIndex="2147483647",e.style.pointerEvents="none",d.document.body.appendChild(e),{canvas:e,context:t,width:o,height:l}}function A(e,t,{width:o,height:l}){e.style.width=`${o}px`,e.style.height=`${l}px`;let i=d.window.devicePixelRatio;e.width=Math.floor(o*i),e.height=Math.floor(l*i),t.scale(i,i)}var h={};function U(){h.canvas||(h=G())}function H(){h.context&&h.context.clearRect(0,0,h.width??0,h.height??0)}function V(e){H(),e(h.context)}function Z(){S(h.canvas),S(h.context),A(h.canvas,h.context,{width:0,height:0});let{width:e,height:t}=Y();A(h.canvas,h.context,{width:e,height:t}),h.width=e,h.height=t}function J(){var e;h.canvas&&(H(),(e=h.canvas.parentNode)==null||e.removeChild(h.canvas),h={})}var w={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},c=6;function W(e,{x:t,y:o,w:l,h:i,r:n}){t=t-l/2,o=o-i/2,l<2*n&&(n=l/2),i<2*n&&(n=i/2),e.beginPath(),e.moveTo(t+n,o),e.arcTo(t+l,o,t+l,o+i,n),e.arcTo(t+l,o+i,t,o+i,n),e.arcTo(t,o+i,t,o,n),e.arcTo(t,o,t+l,o,n),e.closePath()}function Q(e,{padding:t,border:o,width:l,height:i,top:n,left:r}){let f=l-o.left-o.right-t.left-t.right,a=i-t.top-t.bottom-o.top-o.bottom,s=r+o.left+t.left,u=n+o.top+t.top;return e==="top"?s+=f/2:e==="right"?(s+=f,u+=a/2):e==="bottom"?(s+=f/2,u+=a):e==="left"?u+=a/2:e==="center"&&(s+=f/2,u+=a/2),{x:s,y:u}}function x(e,t,{margin:o,border:l,padding:i},n,r){let f=m=>0,a=0,s=0,u=r?1:.5,g=r?n*2:0;return e==="padding"?f=m=>i[m]*u+g:e==="border"?f=m=>i[m]+l[m]*u+g:e==="margin"&&(f=m=>i[m]+l[m]+o[m]*u+g),t==="top"?s=-f("top"):t==="right"?a=f("right"):t==="bottom"?s=f("bottom"):t==="left"&&(a=-f("left")),{offsetX:a,offsetY:s}}function tt(e,t){return Math.abs(e.x-t.x)<Math.abs(e.w+t.w)/2&&Math.abs(e.y-t.y)<Math.abs(e.h+t.h)/2}function et(e,t,o){return e==="top"?t.y=o.y-o.h-c:e==="right"?t.x=o.x+o.w/2+c+t.w/2:e==="bottom"?t.y=o.y+o.h+c:e==="left"&&(t.x=o.x-o.w/2-c-t.w/2),{x:t.x,y:t.y}}function X(e,t,{x:o,y:l,w:i,h:n},r){return W(e,{x:o,y:l,w:i,h:n,r:3}),e.fillStyle=`${w[t]}dd`,e.fill(),e.strokeStyle=w[t],e.stroke(),e.fillStyle=w.text,e.fillText(r,o,l),W(e,{x:o,y:l,w:i,h:n,r:3}),e.fillStyle=`${w[t]}dd`,e.fill(),e.strokeStyle=w[t],e.stroke(),e.fillStyle=w.text,e.fillText(r,o,l),{x:o,y:l,w:i,h:n}}function C(e,t){e.font="600 12px monospace",e.textBaseline="middle",e.textAlign="center";let o=e.measureText(t),l=o.actualBoundingBoxAscent+o.actualBoundingBoxDescent,i=o.width+c*2,n=l+c*2;return{w:i,h:n}}function ot(e,t,{type:o,position:l="center",text:i},n,r=!1){let{x:f,y:a}=Q(l,t),{offsetX:s,offsetY:u}=x(o,l,t,c+1,r);f+=s,a+=u;let{w:g,h:m}=C(e,i);if(n&&tt({x:f,y:a,w:g,h:m},n)){let v=et(l,{x:f,y:a,w:g},n);f=v.x,a=v.y}return X(e,o,{x:f,y:a,w:g,h:m},i)}function it(e,{w:t,h:o}){let l=t*.5+c,i=o*.5+c;return{offsetX:(e.x==="left"?-1:1)*l,offsetY:(e.y==="top"?-1:1)*i}}function lt(e,t,{type:o,text:l}){let{floatingAlignment:i,extremities:n}=t,r=n[i.x],f=n[i.y],{w:a,h:s}=C(e,l),{offsetX:u,offsetY:g}=it(i,{w:a,h:s});return r+=u,f+=g,X(e,o,{x:r,y:f,w:a,h:s},l)}function E(e,t,o,l){let i=[];o.forEach((n,r)=>{let f=l&&n.position==="center"?lt(e,t,n):ot(e,t,n,i[r-1],l);i[r]=f})}function nt(e,t,o,l){let i=o.reduce((n,r)=>{var f;return Object.prototype.hasOwnProperty.call(n,r.position)||(n[r.position]=[]),(f=n[r.position])==null||f.push(r),n},{});i.top&&E(e,t,i.top,l),i.right&&E(e,t,i.right,l),i.bottom&&E(e,t,i.bottom,l),i.left&&E(e,t,i.left,l),i.center&&E(e,t,i.center,l)}var L={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},B=30;function p(e){return parseInt(e.replace("px",""),10)}function b(e){return Number.isInteger(e)?e:e.toFixed(2)}function P(e){return e.filter(t=>t.text!==0&&t.text!=="0")}function ft(e){let t={top:d.window.scrollY,bottom:d.window.scrollY+d.window.innerHeight,left:d.window.scrollX,right:d.window.scrollX+d.window.innerWidth},o={top:Math.abs(t.top-e.top),bottom:Math.abs(t.bottom-e.bottom),left:Math.abs(t.left-e.left),right:Math.abs(t.right-e.right)};return{x:o.left>o.right?"left":"right",y:o.top>o.bottom?"top":"bottom"}}function rt(e){let t=d.getComputedStyle(e),{top:o,left:l,right:i,bottom:n,width:r,height:f}=e.getBoundingClientRect(),{marginTop:a,marginBottom:s,marginLeft:u,marginRight:g,paddingTop:m,paddingBottom:v,paddingLeft:k,paddingRight:F,borderBottomWidth:I,borderTopWidth:D,borderLeftWidth:$,borderRightWidth:N}=t;o=o+d.window.scrollY,l=l+d.window.scrollX,n=n+d.window.scrollY,i=i+d.window.scrollX;let y={top:p(a),bottom:p(s),left:p(u),right:p(g)},q={top:p(m),bottom:p(v),left:p(k),right:p(F)},z={top:p(D),bottom:p(I),left:p($),right:p(N)},_={top:o-y.top,bottom:n+y.bottom,left:l-y.left,right:i+y.right};return{margin:y,padding:q,border:z,top:o,left:l,bottom:n,right:i,width:r,height:f,extremities:_,floatingAlignment:ft(_)}}function at(e,{margin:t,width:o,height:l,top:i,left:n,bottom:r,right:f}){let a=l+t.bottom+t.top;e.fillStyle=L.margin,e.fillRect(n,i-t.top,o,t.top),e.fillRect(f,i-t.top,t.right,a),e.fillRect(n,r,o,t.bottom),e.fillRect(n-t.left,i-t.top,t.left,a);let s=[{type:"margin",text:b(t.top),position:"top"},{type:"margin",text:b(t.right),position:"right"},{type:"margin",text:b(t.bottom),position:"bottom"},{type:"margin",text:b(t.left),position:"left"}];return P(s)}function st(e,{padding:t,border:o,width:l,height:i,top:n,left:r,bottom:f,right:a}){let s=l-o.left-o.right,u=i-t.top-t.bottom-o.top-o.bottom;e.fillStyle=L.padding,e.fillRect(r+o.left,n+o.top,s,t.top),e.fillRect(a-t.right-o.right,n+t.top+o.top,t.right,u),e.fillRect(r+o.left,f-t.bottom-o.bottom,s,t.bottom),e.fillRect(r+o.left,n+t.top+o.top,t.left,u);let g=[{type:"padding",text:t.top,position:"top"},{type:"padding",text:t.right,position:"right"},{type:"padding",text:t.bottom,position:"bottom"},{type:"padding",text:t.left,position:"left"}];return P(g)}function ht(e,{border:t,width:o,height:l,top:i,left:n,bottom:r,right:f}){let a=l-t.top-t.bottom;e.fillStyle=L.border,e.fillRect(n,i,o,t.top),e.fillRect(n,r-t.bottom,o,t.bottom),e.fillRect(n,i+t.top,t.left,a),e.fillRect(f-t.right,i+t.top,t.right,a);let s=[{type:"border",text:t.top,position:"top"},{type:"border",text:t.right,position:"right"},{type:"border",text:t.bottom,position:"bottom"},{type:"border",text:t.left,position:"left"}];return P(s)}function ut(e,{padding:t,border:o,width:l,height:i,top:n,left:r}){let f=l-o.left-o.right-t.left-t.right,a=i-t.top-t.bottom-o.top-o.bottom;return e.fillStyle=L.content,e.fillRect(r+o.left+t.left,n+o.top+t.top,f,a),[{type:"content",position:"center",text:`${b(f)} x ${b(a)}`}]}function dt(e){return t=>{if(e&&t){let o=rt(e),l=at(t,o),i=st(t,o),n=ht(t,o),r=ut(t,o),f=o.width<=B*3||o.height<=B;nt(t,o,[...r,...i,...n,...l],f)}}}function mt(e){V(dt(e))}var gt=(e,t)=>{let o=d.document.elementFromPoint(e,t),l=i=>{if(i&&i.shadowRoot){let n=i.shadowRoot.elementFromPoint(e,t);return i.isEqualNode(n)?i:n.shadowRoot?l(n):n}return i};return l(o)||o},O,M={x:0,y:0};function R(e,t){O=gt(e,t),mt(O)}var pt=(e,t)=>{let{measureEnabled:o}=t.globals;return T(()=>{let l=i=>{window.requestAnimationFrame(()=>{i.stopPropagation(),M.x=i.clientX,M.y=i.clientY})};return document.addEventListener("pointermove",l),()=>{document.removeEventListener("pointermove",l)}},[]),T(()=>{let l=n=>{window.requestAnimationFrame(()=>{n.stopPropagation(),R(n.clientX,n.clientY)})},i=()=>{window.requestAnimationFrame(()=>{Z()})};return t.viewMode==="story"&&o&&(document.addEventListener("pointerover",l),U(),window.addEventListener("resize",i),R(M.x,M.y)),()=>{window.removeEventListener("resize",i),J()}},[o,t.viewMode]),e()},ct=[pt],wt={[K]:!1};export{ct as decorators,wt as initialGlobals};
|
|
@@ -1,396 +0,0 @@
|
|
|
1
|
-
import{d as $}from"./index-DrFu-skq.js";const{useMemo:x,useEffect:f}=__STORYBOOK_MODULE_PREVIEW_API__,{global:p}=__STORYBOOK_MODULE_GLOBAL__;var m="outline",u=i=>{(Array.isArray(i)?i:[i]).forEach(r)},r=i=>{let t=typeof i=="string"?i:i.join(""),o=p.document.getElementById(t);o&&o.parentElement&&o.parentElement.removeChild(o)},b=(i,t)=>{let o=p.document.getElementById(i);if(o)o.innerHTML!==t&&(o.innerHTML=t);else{let n=p.document.createElement("style");n.setAttribute("id",i),n.innerHTML=t,p.document.head.appendChild(n)}};function s(i){return $`
|
|
2
|
-
${i} body {
|
|
3
|
-
outline: 1px solid #2980b9 !important;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
${i} article {
|
|
7
|
-
outline: 1px solid #3498db !important;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
${i} nav {
|
|
11
|
-
outline: 1px solid #0088c3 !important;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
${i} aside {
|
|
15
|
-
outline: 1px solid #33a0ce !important;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
${i} section {
|
|
19
|
-
outline: 1px solid #66b8da !important;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
${i} header {
|
|
23
|
-
outline: 1px solid #99cfe7 !important;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
${i} footer {
|
|
27
|
-
outline: 1px solid #cce7f3 !important;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
${i} h1 {
|
|
31
|
-
outline: 1px solid #162544 !important;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
${i} h2 {
|
|
35
|
-
outline: 1px solid #314e6e !important;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
${i} h3 {
|
|
39
|
-
outline: 1px solid #3e5e85 !important;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
${i} h4 {
|
|
43
|
-
outline: 1px solid #449baf !important;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
${i} h5 {
|
|
47
|
-
outline: 1px solid #c7d1cb !important;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
${i} h6 {
|
|
51
|
-
outline: 1px solid #4371d0 !important;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
${i} main {
|
|
55
|
-
outline: 1px solid #2f4f90 !important;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
${i} address {
|
|
59
|
-
outline: 1px solid #1a2c51 !important;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
${i} div {
|
|
63
|
-
outline: 1px solid #036cdb !important;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
${i} p {
|
|
67
|
-
outline: 1px solid #ac050b !important;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
${i} hr {
|
|
71
|
-
outline: 1px solid #ff063f !important;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
${i} pre {
|
|
75
|
-
outline: 1px solid #850440 !important;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
${i} blockquote {
|
|
79
|
-
outline: 1px solid #f1b8e7 !important;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
${i} ol {
|
|
83
|
-
outline: 1px solid #ff050c !important;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
${i} ul {
|
|
87
|
-
outline: 1px solid #d90416 !important;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
${i} li {
|
|
91
|
-
outline: 1px solid #d90416 !important;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
${i} dl {
|
|
95
|
-
outline: 1px solid #fd3427 !important;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
${i} dt {
|
|
99
|
-
outline: 1px solid #ff0043 !important;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
${i} dd {
|
|
103
|
-
outline: 1px solid #e80174 !important;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
${i} figure {
|
|
107
|
-
outline: 1px solid #ff00bb !important;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
${i} figcaption {
|
|
111
|
-
outline: 1px solid #bf0032 !important;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
${i} table {
|
|
115
|
-
outline: 1px solid #00cc99 !important;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
${i} caption {
|
|
119
|
-
outline: 1px solid #37ffc4 !important;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
${i} thead {
|
|
123
|
-
outline: 1px solid #98daca !important;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
${i} tbody {
|
|
127
|
-
outline: 1px solid #64a7a0 !important;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
${i} tfoot {
|
|
131
|
-
outline: 1px solid #22746b !important;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
${i} tr {
|
|
135
|
-
outline: 1px solid #86c0b2 !important;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
${i} th {
|
|
139
|
-
outline: 1px solid #a1e7d6 !important;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
${i} td {
|
|
143
|
-
outline: 1px solid #3f5a54 !important;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
${i} col {
|
|
147
|
-
outline: 1px solid #6c9a8f !important;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
${i} colgroup {
|
|
151
|
-
outline: 1px solid #6c9a9d !important;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
${i} button {
|
|
155
|
-
outline: 1px solid #da8301 !important;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
${i} datalist {
|
|
159
|
-
outline: 1px solid #c06000 !important;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
${i} fieldset {
|
|
163
|
-
outline: 1px solid #d95100 !important;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
${i} form {
|
|
167
|
-
outline: 1px solid #d23600 !important;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
${i} input {
|
|
171
|
-
outline: 1px solid #fca600 !important;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
${i} keygen {
|
|
175
|
-
outline: 1px solid #b31e00 !important;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
${i} label {
|
|
179
|
-
outline: 1px solid #ee8900 !important;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
${i} legend {
|
|
183
|
-
outline: 1px solid #de6d00 !important;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
${i} meter {
|
|
187
|
-
outline: 1px solid #e8630c !important;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
${i} optgroup {
|
|
191
|
-
outline: 1px solid #b33600 !important;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
${i} option {
|
|
195
|
-
outline: 1px solid #ff8a00 !important;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
${i} output {
|
|
199
|
-
outline: 1px solid #ff9619 !important;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
${i} progress {
|
|
203
|
-
outline: 1px solid #e57c00 !important;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
${i} select {
|
|
207
|
-
outline: 1px solid #e26e0f !important;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
${i} textarea {
|
|
211
|
-
outline: 1px solid #cc5400 !important;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
${i} details {
|
|
215
|
-
outline: 1px solid #33848f !important;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
${i} summary {
|
|
219
|
-
outline: 1px solid #60a1a6 !important;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
${i} command {
|
|
223
|
-
outline: 1px solid #438da1 !important;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
${i} menu {
|
|
227
|
-
outline: 1px solid #449da6 !important;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
${i} del {
|
|
231
|
-
outline: 1px solid #bf0000 !important;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
${i} ins {
|
|
235
|
-
outline: 1px solid #400000 !important;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
${i} img {
|
|
239
|
-
outline: 1px solid #22746b !important;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
${i} iframe {
|
|
243
|
-
outline: 1px solid #64a7a0 !important;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
${i} embed {
|
|
247
|
-
outline: 1px solid #98daca !important;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
${i} object {
|
|
251
|
-
outline: 1px solid #00cc99 !important;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
${i} param {
|
|
255
|
-
outline: 1px solid #37ffc4 !important;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
${i} video {
|
|
259
|
-
outline: 1px solid #6ee866 !important;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
${i} audio {
|
|
263
|
-
outline: 1px solid #027353 !important;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
${i} source {
|
|
267
|
-
outline: 1px solid #012426 !important;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
${i} canvas {
|
|
271
|
-
outline: 1px solid #a2f570 !important;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
${i} track {
|
|
275
|
-
outline: 1px solid #59a600 !important;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
${i} map {
|
|
279
|
-
outline: 1px solid #7be500 !important;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
${i} area {
|
|
283
|
-
outline: 1px solid #305900 !important;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
${i} a {
|
|
287
|
-
outline: 1px solid #ff62ab !important;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
${i} em {
|
|
291
|
-
outline: 1px solid #800b41 !important;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
${i} strong {
|
|
295
|
-
outline: 1px solid #ff1583 !important;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
${i} i {
|
|
299
|
-
outline: 1px solid #803156 !important;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
${i} b {
|
|
303
|
-
outline: 1px solid #cc1169 !important;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
${i} u {
|
|
307
|
-
outline: 1px solid #ff0430 !important;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
${i} s {
|
|
311
|
-
outline: 1px solid #f805e3 !important;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
${i} small {
|
|
315
|
-
outline: 1px solid #d107b2 !important;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
${i} abbr {
|
|
319
|
-
outline: 1px solid #4a0263 !important;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
${i} q {
|
|
323
|
-
outline: 1px solid #240018 !important;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
${i} cite {
|
|
327
|
-
outline: 1px solid #64003c !important;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
${i} dfn {
|
|
331
|
-
outline: 1px solid #b4005a !important;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
${i} sub {
|
|
335
|
-
outline: 1px solid #dba0c8 !important;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
${i} sup {
|
|
339
|
-
outline: 1px solid #cc0256 !important;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
${i} time {
|
|
343
|
-
outline: 1px solid #d6606d !important;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
${i} code {
|
|
347
|
-
outline: 1px solid #e04251 !important;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
${i} kbd {
|
|
351
|
-
outline: 1px solid #5e001f !important;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
${i} samp {
|
|
355
|
-
outline: 1px solid #9c0033 !important;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
${i} var {
|
|
359
|
-
outline: 1px solid #d90047 !important;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
${i} mark {
|
|
363
|
-
outline: 1px solid #ff0053 !important;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
${i} bdi {
|
|
367
|
-
outline: 1px solid #bf3668 !important;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
${i} bdo {
|
|
371
|
-
outline: 1px solid #6f1400 !important;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
${i} ruby {
|
|
375
|
-
outline: 1px solid #ff7b93 !important;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
${i} rt {
|
|
379
|
-
outline: 1px solid #ff2f54 !important;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
${i} rp {
|
|
383
|
-
outline: 1px solid #803e49 !important;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
${i} span {
|
|
387
|
-
outline: 1px solid #cc2643 !important;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
${i} br {
|
|
391
|
-
outline: 1px solid #db687d !important;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
${i} wbr {
|
|
395
|
-
outline: 1px solid #db175b !important;
|
|
396
|
-
}`}var e=(i,t)=>{let{globals:o}=t,n=[!0,"true"].includes(o[m]),d=t.viewMode==="docs",l=x(()=>s(d?'[data-story-block="true"]':".sb-show-main"),[t]);return f(()=>{let a=d?`addon-outline-docs-${t.id}`:"addon-outline";return n?b(a,l):u(a),()=>{u(a)}},[n,l,t]),i()},h=[e],g={[m]:!1};export{h as decorators,g as initialGlobals};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.XydAtlas-Component-ApiRef-ApiRefItem__host_h9tkkeg{font-size:30px;font-weight:400}.XydAtlas-Component-ApiRef-ApiRefItem__container_c1q2rf33{background:linear-gradient(45deg,#f7f7f8,#f7f7f8);padding:8px;border:1px solid var(--XydAtlas-Component-ApiRef-Item__color-border);border-radius:8px;font-size:13px}.XydAtlas-Component-ApiRef-ApiRefItem__label_lhk53ap{color:var(--XydAtlas-Component-ApiRef-Item__color-navbar);margin-right:4px}.XydAtlas-Component-ApiRef-ApiRefItem__host_h1t46rpg{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:16px;padding-bottom:25px}.XydAtlas-Component-ApiRef-ApiRefItem__grid_gq5m3p7{display:-ms-grid;display:grid;-ms-grid-columns:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr));-webkit-align-items:normal;-webkit-box-align:normal;-ms-flex-align:normal;align-items:normal;gap:100px}.XydAtlas-Component-ApiRef-ApiRefItem__item_i1lmmgv6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:25px;margin-bottom:25px}.XydAtlas-Component-ApiRef-ApiRefItem__host_hpmrvhc{font-size:15px;font-weight:600}.XydAtlas-Component-ApiRef-ApiRefItem__link_l8q9wny{-webkit-text-decoration:none;text-decoration:none}.XydAtlas-Component-ApiRef-ApiRefProperties__host_h1b8wz9m{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex-wrap:wrap;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:16px;padding:0;margin:0;list-style:none;border:none}.XydAtlas-Component-ApiRef-ApiRefProperties__host_h1ayic9k{margin:0;padding:0}.XydAtlas-Component-ApiRef-ApiRefProperties__host_h1ayic9k:first-child{padding-top:0}.XydAtlas-Component-ApiRef-ApiRefProperties__host_h1ayic9k:last-child{padding-bottom:0}.XydAtlas-Component-ApiRef-ApiRefProperties__host_hkisad5{font-size:14px;line-height:22px;color:var(--XydAtlas-Component-ApiRef-Properties__color-description)}.XydAtlas-Component-ApiRef-ApiRefProperties__host_h159tzrk{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;-webkit-box-flex-wrap:wrap;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:10px;margin:8px 0}.XydAtlas-Component-ApiRef-ApiRefProperties__host_h159tzrk dd{-webkit-margin-start:0px;margin-inline-start:0px}.XydAtlas-Component-ApiRef-ApiRefProperties__host_ht6ukcw{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;padding:4px 0;font-weight:600;font-size:13px;color:var(--XydAtlas-Component-ApiRef-Properties__color-propName)}.XydAtlas-Component-ApiRef-ApiRefProperties__host_h1hhb1ak{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;padding:4px 0;border-radius:4px;font-size:10px;color:var(--XydAtlas-Component-ApiRef-Properties__color-propType)}.XydAtlas-Component-ApiRef-ApiRefProperties__link_l1ud1m37{color:var(--XydAtlas-Component-ApiRef-Properties__color--active);-webkit-text-decoration:underline;text-decoration:underline}.XydAtlas-Component-ApiRef-ApiRefProperties__link_l1ud1m37:hover{-webkit-text-decoration:none;text-decoration:none;color:var(--XydAtlas-Sys-Color-Primary--hover)}.XydAtlas-Component-ApiRef-ApiRefProperties__host_h1fjyrqx{padding:8px;border-style:none;display:none}.XydAtlas-Component-ApiRef-ApiRefProperties__host__expanded_h12sxrry{display:unset}.XydAtlas-Component-ApiRef-ApiRefProperties__ul_u1ofrsp8{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex-wrap:wrap;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:16px;padding:0;margin:0;list-style:none;border:none;border-left:1px solid var(--XydAtlas-Component-ApiRef-Properties__color-border)}.XydAtlas-Component-ApiRef-ApiRefProperties__li_lmjvvs5{padding:0 16px}.XydAtlas-Component-ApiRef-ApiRefProperties__host_h9u79h5{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0;margin-top:16px;background:none;outline:inherit;border:none;cursor:pointer;color:inherit;font-size:13px}.XydAtlas-Component-ApiRef-ApiRefProperties__host_h9u79h5 svg{font-size:13px}.XydAtlas-Component-ApiRef-ApiRefProperties__host_h9u79h5:hover svg{-webkit-transition:all ease-in .1s;transition:all ease-in .1s;color:var(--XydAtlas-Component-ApiRef-Properties__color--active)}.XydAtlas-Component-ApiRef-ApiRefProperties__link_l16o3qrr{-webkit-text-decoration:none;text-decoration:none;cursor:pointer;margin-left:4px}.XydAtlas-Component-ApiRef-ApiRefProperties__link_l16o3qrr:hover{-webkit-transition:all ease-in .1s;transition:all ease-in .1s;color:var(--XydAtlas-Component-ApiRef-Properties__color--active)}.XydAtlas-Component-Code-CodeCopy-CodeCopy_style_tsx__host_h47igvr{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;padding:8px;border-radius:6px;cursor:pointer}.XydAtlas-Component-Code-CodeCopy-CodeCopy_style_tsx__host_h47igvr:hover{background:var(--XydAtlas-Component-Code-Copy__color-background--active)}.XydAtlas-Component-Code-CodeSample__host_h1ur68ey{-webkit-flex:1 1 0;-ms-flex:1 1 0;flex:1 1 0;overflow:hidden;min-width:0;max-width:512px;border:1px solid var(--XydAtlas-Component-Code-Sample__color-border);border-radius:16px}.XydAtlas-Component-Code-CodeSample__host_hp2fg9q{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1 1 0%;-ms-flex:1 1 0%;flex:1 1 0%;padding:8px 0;background:linear-gradient(45deg,#f7f7f8,#f7f7f8)!important;border-top-right-radius:10px;border-top-left-radius:10px;border-bottom:0px;min-width:0}.XydAtlas-Component-Code-CodeSample__list_l1u5q09{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-pack:end;-ms-flex-pack:end;-webkit-justify-content:end;justify-content:end;gap:8px;padding:0 10px}.XydAtlas-Component-Code-CodeSample__button_b1g5l43{all:unset;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;border-radius:6px;padding:6px;font-size:14px;color:var(--XydAtlas-Component-Code-Sample__color)}.XydAtlas-Component-Code-CodeSample__button_b1g5l43[data-state=active]{color:var(--XydAtlas-Component-Code-Sample__color--active);border-bottom:1px solid var(--XydAtlas-Component-Code-Sample__color--active);border-bottom-left-radius:0;border-bottom-right-radius:0}.XydAtlas-Component-Code-CodeSample__button_b1g5l43:hover{-webkit-transition:ease-in .1s;transition:ease-in .1s;background:var(--XydAtlas-Component-Code-Sample__color-background)}.XydAtlas-Component-Code-CodeSample__description_d1x4vxzj{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:4px;font-size:14px;color:var(--XydAtlas-Component-Code-Sample__color);margin-left:4px;margin-right:4px}.XydAtlas-Component-Code-CodeSample__description_item_d1n1kybx{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding-left:16px;padding-right:16px;-webkit-flex:1 1 0%;-ms-flex:1 1 0%;flex:1 1 0%;gap:16px;border-radius:4px}.XydAtlas-Component-Code-CodeSample__copy_c1qxxuld{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding-left:8px;padding-right:8px;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.XydAtlas-Component-Code-CodeSample__host_h1gfddng{max-height:400px;background:linear-gradient(45deg,#f7f7f8,#f7f7f8)!important;margin:0;padding:8px 16px;border-top:1px solid var(--XydAtlas-Component-Code-Sample__color-border);border-bottom-left-radius:10px;border-bottom-right-radius:10px;font-size:14px;line-height:20px;white-space:pre-wrap;word-break:break-all;overflow-y:scroll}.XydAtlas-Component-Code-CodeSample__host_h1h0n8u6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;border-left-width:4px;border-color:transparent;margin:4px 0}.XydAtlas-Component-Code-CodeSample__line_l12klvp{-webkit-flex:1 1 0%;-ms-flex:1 1 0%;flex:1 1 0%}.XydAtlas-Component-Code-CodeSample___annotated__4uqa3m{border-color:var(--XydAtlas-Component-Code-Sample__color-markBorder--active);background-color:var(--XydAtlas-Component-Code-Sample__color-markBackground--active)}.XydAtlas-Component-Code-CodeSample__host_h18n51vi{margin:0 4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:.5}.XydAtlas-Component-Code-CodeSampleButtons__host_h1de1isv{position:relative;max-width:100%}.XydAtlas-Component-Code-CodeSampleButtons__container_c174knag{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:8px;background-color:var(--XydAtlas-Component-Code-SampleButtons__color-containerBackground)}.XydAtlas-Component-Code-CodeSampleButtons__host_hdr58em{padding:8px;background-color:#fff;box-shadow:0 1px 2px #0000000d}.XydAtlas-Component-Code-CodeSampleButtons__icon_izmf263{width:16px;height:16px}.XydAtlas-Component-Code-CodeSampleButtons__host_h1olbpn1{overflow-x:auto;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.XydAtlas-Component-Code-CodeSampleButtons__container_c1dubejs{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;gap:4px;padding:4px;margin-left:4px}.XydAtlas-Component-Code-CodeSampleButtons__host_he063xp{padding:.5rem 1rem;border-radius:.375rem;font-size:.875rem;line-height:1.25rem;font-weight:500;white-space:nowrap;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s;color:var(--XydAtlas-Component-Code-SampleButtons__color)}.XydAtlas-Component-Code-CodeSampleButtons__host_he063xp:hover{color:var(--XydAtlas-Component-Code-SampleButtons__color--active)}.XydAtlas-Component-Code-CodeSampleButtons___active__lt697q{color:var(--XydAtlas-Component-Code-SampleButtons__color--active);background-color:var(--XydAtlas-Component-Code-SampleButtons__color-background--active);box-shadow:0 1px 2px #0000000d}.XydAtlas-Component-ApiRef-ApiRefSamples__host_hskauww{position:-webkit-sticky;position:sticky;top:6rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:32px;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.XydAtlas-Component-ApiRef-ApiRefSamples__host_hskauww:first-child{margin-top:0}.XydAtlas-Component-ApiRef-ApiRefSamples__host_hskauww:last-child{margin-bottom:0}.XydAtlas-Component-ApiRef-ApiRefSamples__host_h1nkbfqz{gap:10px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.XydAtlas-Component-Atlas__host_h5edgc7{width:100%}.XydAtlas-Component-Atlas-AtlasLazy__host_h12vpet9{padding:16px 0}.XydAtlas-Component-Atlas-AtlasLazy___first__18e99ku{padding:4px 0}:root{--XydAtlas-Ref-Palette-Primary-60: #7051d4;--XydAtlas-Ref-Palette-Primary-70: #6045b9;--XydAtlas-Ref-Palette-Primary-80: #4f399e;--XydAtlas-Ref-Palette-Neutral-10: #F8F9FA;--XydAtlas-Ref-Palette-Neutral-20: #F1F3F5;--XydAtlas-Ref-Palette-Neutral-30: #E9ECEF;--XydAtlas-Ref-Palette-Neutral-40: #DEE2E6;--XydAtlas-Ref-Palette-Neutral-70: #6C757D;--XydAtlas-Ref-Palette-Neutral-80: #495057;--XydAtlas-Ref-Palette-Neutral-100: #212529;--XydAtlas-Sys-Color-Primary: var(--XydAtlas-Ref-Palette-Primary-60);--XydAtlas-Sys-Color-Primary--hover: var(--XydAtlas-Ref-Palette-Primary-70);--XydAtlas-Sys-Color-Primary--active: var(--XydAtlas-Ref-Palette-Primary-80);--XydAtlas-Sys-Color-Surface: var(--XydAtlas-Ref-Palette-Neutral-10);--XydAtlas-Sys-Color-Surface--hover: var(--XydAtlas-Ref-Palette-Neutral-20);--XydAtlas-Sys-Color-Surface--active: var(--XydAtlas-Ref-Palette-Neutral-30);--XydAtlas-Sys-Color-Text-Primary: var(--XydAtlas-Ref-Palette-Neutral-100);--XydAtlas-Sys-Color-Text-Secondary: var(--XydAtlas-Ref-Palette-Neutral-80);--XydAtlas-Sys-Color-Text-Tertiary: var(--XydAtlas-Ref-Palette-Neutral-70);--XydAtlas-Sys-Color-Border: var(--XydAtlas-Ref-Palette-Neutral-30);--XydAtlas-Sys-Color-Border--hover: var(--XydAtlas-Ref-Palette-Neutral-40);--XydAtlas-Sys-Color-Border--active: var(--XydAtlas-Ref-Palette-Primary-60);--XydAtlas-Component-ApiRef-Properties__color-description: var(--XydAtlas-Sys-Color-Text-Secondary);--XydAtlas-Component-ApiRef-Properties__color-propName: var(--XydAtlas-Sys-Color-Text-Primary);--XydAtlas-Component-ApiRef-Properties__color-propType: var(--XydAtlas-Sys-Color-Text-Tertiary);--XydAtlas-Component-ApiRef-Properties__color--active: var(--XydAtlas-Sys-Color-Primary);--XydAtlas-Component-ApiRef-Properties__color-border: var(--XydAtlas-Sys-Color-Border);--XydAtlas-Component-ApiRef-Item__color-border: var(--XydAtlas-Sys-Color-Border);--XydAtlas-Component-ApiRef-Item__color-navbar: var(--XydAtlas-Sys-Color-Text-Secondary);--XydAtlas-Component-Code-Sample__color-border: var(--XydAtlas-Sys-Color-Border);--XydAtlas-Component-Code-Sample__color: var(--XydAtlas-Sys-Color-Text-Secondary);--XydAtlas-Component-Code-Sample__color--active: var(--XydAtlas-Sys-Color-Primary);--XydAtlas-Component-Code-Sample__color-background: var(--XydAtlas-Sys-Color-Surface--hover);--XydAtlas-Component-Code-Sample__color-markBorder--active: var(--XydAtlas-Sys-Color-Primary);--XydAtlas-Component-Code-Sample__color-markBackground--active: var(--XydAtlas-Sys-Color-Surface--hover);--XydAtlas-Component-Code-SampleButtons__color-containerBackground: var(--XydAtlas-Sys-Color-Surface);--XydAtlas-Component-Code-SampleButtons__color-background--active: var(--XydAtlas-Sys-Color-Surface--active);--XydAtlas-Component-Code-SampleButtons__color: var(--XydAtlas-Sys-Color-Text-Secondary);--XydAtlas-Component-Code-SampleButtons__color--active: var(--XydAtlas-Sys-Color-Text-Primary)}.h1vu90xp{background:transparent;display:flex;position:sticky;top:0;width:100%;z-index:20}.s1i2i14o{background-color:#fff;height:100%;pointer-events:none;position:absolute;width:100%;z-index:-1}.n1oemxra{align-items:center;display:flex;gap:8px;height:var(--xyd-navbar-height);justify-content:flex-end;padding-left:max(env(safe-area-inset-left),16px);padding-right:max(env(safe-area-inset-right),16px);width:100%}.ny6xn1c{align-items:center;display:grid;grid-template-columns:1fr 1fr 1fr}.hj2rxb1{gap:8px}.hcz0c13,.hj2rxb1{align-items:center;display:flex;justify-content:center}.hcz0c13{color:#4b5563;font-size:14px;padding:6px 16px;position:relative;white-space:nowrap}.hcz0c13:hover{color:#1f2937}.hcz0c13[data-state=active]{background:#f9f9f9;border-radius:8px;font-weight:700}.t1lsj05a{align-items:center;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;position:absolute;text-align:center}.t138ur9z{font-weight:500;visibility:hidden}.hso30gp{align-items:center;display:flex;margin-right:auto}.hptag3l{background:#f9f9f9;border-radius:.5rem;display:flex;flex-direction:column;height:100%}.uead4fo{height:100%;overflow-x:hidden;overflow-y:auto;padding:1rem}.h1hrlfak{border-top:1px solid #ededed;box-shadow:0 -2px 10px #ededed1a;padding:1rem}.i1btwdcv{color:#6e6e80;padding:2px}.i1801o7t,.i1btwdcv{display:flex;width:100%}.i1801o7t{align-items:center;font-size:14px;gap:7px;padding:4px 8px}.i1801o7t:hover{background:#ececf1;border-radius:4px;color:#111827}.i1801o7t:hover svg{fill:#111827}.i1801o7t svg{fill:#6e6e80;font-size:18px;height:18px;width:18px}.hs1gieu{color:#6e6e80;font-size:14px}.l1s9ffav{display:flex;font-weight:500;padding:2px;width:100%}.l1041tva{background:#fff;border-radius:4px;color:#111827;position:relative}.l1041tva:before{background:#7051d4;border-radius:10px;bottom:7px;content:"";left:1px;position:absolute;top:7px;width:4px}.l1hsy03l{background:transparent;color:#111827;font-weight:600}.lz6cy9y{background:unset;color:#111827;font-weight:500}.lnhdi2c{display:flex;font-size:15px;padding:8px 12px;position:relative;width:100%}.lnhdi2c:hover{background:#ececf1;border-radius:4px;color:#111827}.hj0z21i{margin-left:12px}.h12ipj9g{color:#111827;font-size:13px;font-weight:600;letter-spacing:.5px;line-height:16px;margin-bottom:8px;margin-top:24px;padding-left:12px;text-transform:uppercase}.c12fwmxc{overflow:hidden;transform:translateZ(0);transition:width .3s cubic-bezier(.4,0,.2,1),height .3s cubic-bezier(.4,0,.2,1);will-change:width,height}@media (prefers-reduced-motion:reduce){.c12fwmxc{transition:none}}.bfe0v98{opacity:0;transition:opacity .3s cubic-bezier(.4,0,.2,1);will-change:opacity}@media (prefers-reduced-motion:reduce){.bfe0v98{transition:none}}.oza7km2{opacity:1}.h4ah3ok{align-items:center;background-color:#f6f6f7;border-radius:.5rem;display:flex;flex-direction:row;height:44px;margin-top:3px;padding:0 .25rem;width:100%}.p1ncaln9{color:#44474a;font-size:12px;font-weight:600;padding-left:.5rem;padding-right:1.5rem;position:relative;text-transform:uppercase}.p1ncaln9:after{background:#d2d5d8;border-radius:1px;content:" ";height:.75rem;position:absolute;right:.5rem;top:50%;transform:translateY(-50%);width:2px}.u3wpqhn{flex-direction:row}.lc3ej8u,.u3wpqhn{display:flex;height:100%}.lc3ej8u{align-items:center;position:relative}.lc3ej8u[data-state=active]{font-weight:500}.lc3ej8u[data-state=active] a{color:#202223}.lc3ej8u[data-state=active] a:after{background-color:#7051d4;border-radius:1px;bottom:0;content:" ";height:2px;left:0;position:absolute;width:100%}.l1taqsnk{color:#4b5563;display:block;height:100%;line-height:2.75rem;padding:0 .5rem}.l1taqsnk:hover{color:#202223}.h19g75q2{padding-left:16px;position:relative}.ueg7kxf{list-style:none;margin:0;padding:0}.lagigsw{line-height:1.5;margin:0 0 10px;padding:0;position:relative}.lylqcp3{text-wrap:pretty;color:#6e6e80;display:inline-block;font-size:14px;line-height:1.4;transition:color .15s ease}.l16swvpi{color:#353740;font-weight:500}.ht0m6aa{background-color:#ececf1;bottom:0}.ht0m6aa,.sfp1vxs{left:0;position:absolute;top:0;width:2px}.sfp1vxs{background-color:#353740;height:var(--active-track-height);transform:translateY(var(--active-track-top));transition:height .4s cubic-bezier(.19,1,.22,1),transform .4s cubic-bezier(.19,1,.22,1)}.hfzpnxu{display:flex;flex-direction:column;min-height:100vh}.h1k4ds7x{-webkit-backdrop-filter:sepia(10%);backdrop-filter:sepia(10%);background:radial-gradient(circle,hsla(0,0%,9%,.3) 1px,transparent 0);background-size:30px 30px;flex:1;padding:60px}.h1x4dha7{background:repeating-linear-gradient(90deg,hsla(0,0%,9%,.1),hsla(0,0%,9%,.1) 1px,transparent 0,transparent 50px),repeating-linear-gradient(180deg,hsla(0,0%,9%,.1),hsla(0,0%,9%,.1) 1px,transparent 0,transparent 50px)}.broqp2l{display:flex;flex-direction:column;gap:80px;margin:0 auto;width:1200px}@media (max-width:1200px){.broqp2l{padding:0 20px;width:100%}}@media (max-width:768px){.broqp2l{padding:0 10px;width:100%}}.h1vbgqbd{padding:20px}.c1qluffv{align-items:center;display:flex;gap:80px;justify-content:center}.h7zyorj{gap:40px}.h10nnuqu,.h7zyorj{align-items:center;display:flex;flex-direction:column;justify-content:center}.h10nnuqu{-webkit-text-fill-color:transparent;animation:wave-h10nnuqu 5s infinite;background:-webkit-linear-gradient(120deg,var(--headingEffect-color-tertiary) 20%,var(--headingEffect-color-tertiary) 30%,var(--headingEffect-color-secondary) 60%,var(--headingEffect-color-primary) 75%,var(--headingEffect-color-primary) 85%);-webkit-background-clip:text;background-clip:text;-webkit-background-position:50% 50%;background-position:50% 50%;background-size:200% 200%}@keyframes wave-h10nnuqu{0%{-webkit-background-position:50% 50%;background-position:50% 50%}50%{-webkit-background-position:0 50%;background-position:0 50%}to{-webkit-background-position:50% 50%;background-position:50% 50%}}.h1xgyvqe{align-items:center;display:flex;flex-direction:column;justify-content:center}.t1rx1fna{font-size:76px;font-weight:900;letter-spacing:3px;margin:0;text-align:center}.s9nduqh{color:#3c3c43;font-size:46px;font-weight:600;text-align:center}.hth6on8{align-items:center;display:flex;gap:10px;justify-content:center}.h1vf00q{background-color:#fff;border-top:1px solid #f0f0f0;padding:32px;position:relative}.c1ny3ybl{margin:0 auto;max-width:1200px;text-align:center}.t1ahtzu3{color:#3c3c43c7;font-size:14px;font-weight:500;line-height:24px}.hfe0p8m{display:grid;gap:30px;grid-template-columns:repeat(2,500px);justify-content:center}@media (max-width:1200px){.hfe0p8m{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.hfe0p8m{grid-template-columns:1fr}}.hn2r3b2{background-color:#f7f7f8;border:1px solid transparent;border-radius:20px;color:#3c3c43;display:inline-block;font-size:14px;font-weight:600;line-height:38px;padding:0 20px;text-align:center;transition:color .25s,border-color .25s,background-color .25s;white-space:nowrap}.hn2r3b2:hover{background:#e3e3e6}.hgvnekf{background-color:#7051d4;color:#fff}.hgvnekf:hover{background-color:#5f3bd3}.hutvd2b{align-items:center;display:inline-flex;font-style:normal;font-weight:500;letter-spacing:normal;line-height:1rem;text-transform:none;white-space:nowrap}.hg9oorb{background-color:#ffffe1;color:#434e4e}.h6jev6x{background-color:#1971a8;color:#fff}.h1uvewli{border-radius:6px;font-size:12px;gap:3px;height:18px;padding:0 6px}.i1mcrm8o{position:relative}.h1wifk81{border-color:#d1d5db;color:#374151;font-style:italic;margin:0}.hwmojve{border-top:1px solid #ececf1}.hwmojve[open] summary svg[data-icon=true]{transform:rotate(90deg)}.h1an07j0{background-color:#f7f7f8;border:1px solid #ececf1;border-radius:8px}.sbneplt{align-items:center;cursor:pointer;display:flex;flex-direction:row;font-size:18px;font-variant-numeric:tabular-nums;font-weight:500;justify-content:flex-start;line-height:1.4;list-style:none;padding:16px 14px 16px 0;transition:color .3s}.sbneplt:hover{color:#565869}.s1d31n8s{align-items:center;cursor:pointer;display:flex;justify-content:space-between;padding:20px 24px}.s2p0kpw{padding:10px 24px}.snk81qf{align-items:center;display:flex;margin-bottom:8px}.syq3zec{color:#6e6e80;font-size:12px;font-weight:700;letter-spacing:.08em;line-height:16px;margin-left:8px;text-transform:uppercase}.sq0a0s6{text-transform:none}.sq0a0s6 code{background:#fff}.l1ligx2c{flex:1 1 auto}.l89yndk{padding:10px}.iynkbu3{align-items:center;display:flex;flex:0 0 auto;font-size:16px;justify-content:center;padding-right:6px}.c16kc3w3{padding:0 24px 20px}.c15ahw9d code,.cw7uaxe{background:#fff}.cw7uaxe{padding-top:20px}.h1w59zdn{background:linear-gradient(45deg,#f7f7f8,#f7f7f8);border:.5px solid #ececf1;border-radius:6px;display:inline-block;font-size:14px;font-weight:500;line-height:1.6em;margin:0 3px;padding:0 .3em}.h3kfd8c{counter-reset:ordered-listitem;display:flex;flex-direction:column;gap:6px;list-style:none;padding-left:0}.l1et872q{line-height:1.5;padding-left:32px;position:relative}.l1et872q:after{background:#ececf1;border-radius:12px;color:#353740;content:counter(ordered-listitem);counter-increment:ordered-listitem;font-size:12px;font-weight:500;height:24px;left:0;line-height:24px;position:absolute;text-align:center;top:0;width:24px}.h1tn40xd{scroll-snap-margin-top:30px;color:#202123;cursor:pointer;display:inline-block;font-weight:300;line-height:40px;margin:0;padding:0 24px 0 0;position:relative;scroll-margin-top:30px}.h1tn40xd:hover svg{opacity:1}.hnf4kng{font-size:36px}.h1vdtsi8,.hnf4kng code{font-size:30px}.h1vdtsi8 code{font-size:24px}.hz5xehg{font-size:26px}.hptgzam,.hz5xehg code{font-size:22px}.h11bbv2f,.hptgzam code{font-size:18px}.h11bbv2f code{font-size:14px}.hcoksa6{font-size:16px}.hcoksa6 code{font-size:12px}.l17d6dy1{color:#7051d4;margin-top:-6px;opacity:0;position:absolute;right:0;top:50%;transition:opacity .15s ease}.hhnegou{align-items:center;border:1px solid #ececf1;border-radius:8px;display:inline-flex;min-width:275px;padding:8px 12px;position:relative;text-align:center;width:100%}._1ja9964{background-color:#f7f7f8;border-color:#ececf1}.h1lyih3m{align-self:flex-start;color:#6e6e80;display:inline-flex;flex:0 0 auto;font-size:20px;margin-right:14px;margin-top:2px}.h1gzjc3x{color:#353740;flex:1 1 auto;text-align:left}.boe1v8p{font-size:14px;line-height:20px}.h161qd82{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.t15ayd0k{border:1px solid #ececf1;border-collapse:separate;border-radius:8px;border-spacing:0;display:table;font-size:.875rem;line-height:1.25rem;margin-top:1rem;min-width:640px;overflow:hidden;width:100%}.ttmbsix{background:#f7f7f8}.t1pid2qp{border-bottom:1px solid #ececf1;color:#353740;font-weight:500;padding:.5rem 1rem;text-align:left;vertical-align:middle;white-space:nowrap}.t1pid2qp:first-child{border-right:1px solid #ececf1;max-width:40%;width:24rem}@media (max-width:768px){.t1pid2qp:first-child{min-width:12rem;width:auto}}.t1pid2qp.numeric{font-weight:400;min-width:5rem;text-align:right}@media (max-width:768px){.t1pid2qp.numeric{min-width:4rem}}.t1bzojtj:not(:last-child){border-bottom:1px solid #ececf1}.t1qcq3w1{border-top:1px solid #ececf1;padding:.5rem 1rem;vertical-align:middle}.t1qcq3w1:first-child{border-right:1px solid #ececf1}.t1qcq3w1.numeric{text-align:right}.t1qcq3w1.muted{color:#6e6e80}@media (max-width:768px){.t1qcq3w1{padding:.5rem}}.cz9thgl{align-items:baseline;display:flex;gap:.5rem;width:100%}.coblcjj{flex:1;text-align:right}.mrvy6t5{align-items:center;color:#202123;display:flex;gap:.5rem;white-space:nowrap}@media (max-width:768px){.mrvy6t5{font-size:.8125rem}}.hilz89t{background:linear-gradient(238deg,#f7f7f880,#f7f7f8);border:.5px solid #ececf1;border-radius:8px;display:flex;overflow:hidden;padding:16px 20px 20px;position:relative;transition:box-shadow .2s ease-in-out,background-image .2s ease;z-index:0}.hilz89t:hover{background:linear-gradient(238deg,#ffffff80,#fafafa)}.h1rnhmpa{padding:21px 25px 25px}.lajci2p{height:100%;width:100%}.iezrce7{align-items:flex-start;border-radius:8px;cursor:pointer;display:flex;transition:opacity .15s}.iezrce7:hover [data-pointer=true]{opacity:1;transform:translate(0)}.i1vhi0b8{height:100%;width:100%}.i1m2lps9{align-items:center;background:linear-gradient(238deg,#ffffff80,#fafafa);border:1px solid #ececf1;border-radius:8px;box-sizing:border-box;color:#353740;display:flex;flex-shrink:0;font-size:24px;height:48px;justify-content:center;line-height:0px;transition:background .2s ease;width:48px}.r1new93p{display:flex;flex-direction:column;gap:4px;padding-left:16px}.t1u3d3ty{align-items:center;color:#202123;display:flex;font-weight:400;transition:color .15s}.t4udf3g{font-size:16px;line-height:20px}.t1icpluq{font-size:18px}.badgd67{color:#6e6e80;font-size:14px;font-weight:400;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:normal}.bcjznmh{font-size:16px}.p13ekkiz{display:flex;opacity:0;transform:translate(-4px);transition:opacity .15s ease-in-out,transform .15s ease-in-out}.h15733ml,.p13ekkiz{justify-content:center}.h15733ml{display:grid;gap:30px;grid-template-columns:1fr 1fr}.hwgsk4h{align-items:center;color:#6b7280;display:flex;font-size:.875rem;gap:.25rem;line-height:1.25rem;margin-top:.375rem;overflow:hidden}.i1b95bxl{shrink:0;width:.875rem}.i1a3fa93{transition-duration:.3s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);white-space:nowrap}.i1dl7ywj{color:#000;font-weight:700}.h1ej4n95{border-color:#e6e6e6b3}.h1vb39qj{background-color:#f6f8fa;border:0;border-radius:6px;margin-top:0;overflow:auto;padding:16px}.h1bta36o{align-items:center;background-color:#fff;border-bottom:1px solid hsl(212,15%,84%);display:flex;height:42px;z-index:99}.uxs4bf1{color:#68798d;display:flex;gap:10px;list-style:none;padding:0;white-space:nowrap}.ifn7ecb,.uxs4bf1{height:100%}.ifn7ecb[data-state=active] a{border-bottom-color:#7051d4}.i441kmn{border-bottom:3px solid transparent;display:inline-flex;height:100%;padding:10px;-webkit-text-decoration:none;text-decoration:none}.h1xhrk1{border-color:#ececf1;border-top-width:1px;justify-content:space-between;margin-bottom:2rem;margin-top:2rem;padding-top:2rem}.h1xhrk1,.l1elq7ab{align-items:center;display:flex}.l1elq7ab{font-size:1rem;font-weight:500;gap:.25rem;line-height:1.5rem;max-width:50%;padding-bottom:1rem;padding-top:1rem;transition-duration:.3s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.i1mmatje{display:inline;flex-shrink:0;height:1.25rem}.h14vj3ri{border-collapse:collapse;border-radius:3px;display:block;overflow-x:scroll}.t1l6tz9b{background:#eaeef280;border-color:#d1d5db;border-width:1px;font-weight:600;margin:0;padding:.5rem 1rem}.thzxr0l{border-color:#d1d5db;border-top-width:1px;margin:0;padding:0}.t1g1altt{border-color:#d1d5db;border-width:1px;margin:0;padding:.5rem 1rem}.hh8vcxa{max-width:100%;position:relative}.b2p5907{align-items:center;display:flex}.coeb6fw{margin-top:16px}.h196u2m6{background-color:#fff;box-shadow:0 1px 2px #0000000d;padding:8px}.i1hlflsk{height:16px;width:16px}.hownbu8{flex-grow:1;overflow-x:auto}.cuwerl2{background-color:#f3f4f6;border-radius:8px;display:inline-flex;gap:4px;margin-left:4px;padding:4px}.hlivi01{border-radius:.375rem;color:#6b7280;font-size:.875rem;font-weight:500;line-height:1.25rem;padding:.5rem 1rem;transition-duration:.3s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);white-space:nowrap}.hlivi01:hover{color:#111827}._5m9mpz,.hlivi01[data-state=active]{background-color:#fff;box-shadow:0 1px 2px #0000000d;color:#111827}.h8dr7e{width:100%}.h1ezaz84{align-items:center;display:flex;height:46px;justify-content:space-between;left:8px;position:fixed;right:8px;top:0}.h17wz13c{flex-direction:column;height:90px;transition:transform .2s}.h1bgh3rd{transform:translateY(-43px)}.mxu2emt{bottom:8px;left:8px;position:fixed;right:8px;top:46px}.mslox5x{top:90px;transition:top .2s}.s1i19hnd{background:none;border:0;border-radius:0;flex-direction:column;left:0;opacity:1;overflow:visible;padding:12px 0 0;top:0;visibility:visible;width:210px;z-index:101}.h13sn67b,.s1i19hnd{bottom:0;position:absolute;right:0;transition:opacity .3s cubic-bezier(.65,0,.35,1)}.h13sn67b{background:#fff;left:210px;overflow:hidden;top:12px;z-index:201}.s1k9r3in{height:100%;overflow:scroll}.c1t0msup{font-size:15px;line-height:24px;min-height:100%;padding:0;width:100%}.apqkghd,.c1t0msup{margin:0 auto;max-width:100%}.apqkghd{padding:20px 56px 40px;width:980px}.a10qws06{width:1200px}.h3zl32q{align-items:flex-start;display:flex;gap:30px;width:100%}.c1cmkhbs{flex:1 1 0;overflow:hidden}.n1rrfk2r{flex:none;margin-left:50px;margin-top:0;padding-left:16px;position:sticky;top:30px;width:180px}:root{--xyd-navbar-height:46px;--xyd-global-page-gutter:8px;--xyd-sidebar-width:300px}.hbl2zih{background:#fff;overflow-x:hidden;width:100%}.h115et6c{align-items:center;background:#fff;display:flex;height:46px;justify-content:space-between;left:8px;position:fixed;right:8px;top:0;z-index:20}@media (max-width:768px){.h115et6c{padding:0}}.pqur9bs{align-items:center;display:flex;width:100%}.h1ca28gw{flex-direction:column;height:90px;transition:transform .2s}.h1wej3bq{transform:translateY(-43px)}.h10slvux{display:none}@media (max-width:768px){.h10slvux{align-items:center;background:none;border:none;cursor:pointer;display:flex;height:40px;justify-content:center;padding:0;width:40px}}.hs9zvag{display:flex;flex-direction:column;height:24px;justify-content:space-between;position:relative;width:24px}.hwo9ypt{background:#000;height:2px;transition:transform .3s cubic-bezier(.65,0,.35,1);width:100%}.hx2yh06:first-child{transform:translateY(11px) rotate(45deg)}.hx2yh06:nth-child(2){opacity:0}.hx2yh06:last-child{transform:translateY(-11px) rotate(-45deg)}.m1tsopzt{bottom:8px;display:flex;left:8px;margin-top:8px;position:fixed;right:8px;top:46px}.mrptvy0{top:90px;transition:top .2s}.s15p97dz{background:#fff;display:flex;flex:none;flex-direction:column;overflow:hidden;position:relative;width:300px}@media (max-width:768px){.s15p97dz{display:none}}.m1g98ss5{display:none}@media (max-width:768px){.m1g98ss5{background:#fff;bottom:0;box-shadow:4px 0 8px #0000001a;display:flex;flex-direction:column;left:0;overflow:hidden;position:fixed;top:0;transform:translate(-100%);transition:transform .3s cubic-bezier(.65,0,.35,1);width:300px;z-index:50}}.m12tfx9{transform:translate(0)}.s1l70vy0{flex:1;overflow-y:auto}.c1xrwn4u{align-items:center;background:none;border:none;cursor:pointer;display:flex;height:32px;justify-content:center;padding:0;position:absolute;right:12px;top:12px;width:32px}.sx6vufc{border:1px solid #eaeaea;border-radius:6px;font-size:14px;height:40px;outline:none;padding:0 12px;transition:border-color .2s;width:100%}.sx6vufc:focus{border-color:#666}.c1k5z9a4{height:20px;position:relative;width:20px}.c1k5z9a4:after,.c1k5z9a4:before{background:#666;content:"";height:2px;left:0;position:absolute;top:50%;transform-origin:center;width:100%}.c1k5z9a4:before{transform:rotate(45deg)}.c1k5z9a4:after{transform:rotate(-45deg)}.o2vyfys{display:none}@media (max-width:768px){.o2vyfys{background:#0009;bottom:0;display:block;left:0;opacity:0;pointer-events:none;position:fixed;right:0;top:0;transition:opacity .3s;z-index:40}}.o3fargz{opacity:1;pointer-events:auto}.h178wvkm{background:#fff;flex:1;min-width:0;overflow:hidden;position:relative;top:12px}.s56lisa{-webkit-overflow-scrolling:touch;height:100%;overflow-y:auto;padding:0 48px}@media (max-width:1024px){.s56lisa{padding:0 32px}}@media (max-width:768px){.s56lisa{padding:0 24px}}.cr72phr{font-size:15px;line-height:24px;margin:0 auto;max-width:965px;padding:40px 0;width:100%}@media (max-width:768px){.cr72phr{padding:24px 0}}.cjrmmxf{max-width:1200px}.aqmdmmp{margin:0 auto;max-width:100%}.aqmdmmp,.h1scre76{box-sizing:border-box;width:100%}.h1scre76{align-items:flex-start;display:flex;gap:64px}@media (max-width:1024px){.h1scre76{gap:48px}}@media (max-width:768px){.h1scre76{flex-direction:column;gap:32px}}.cw4g864{flex:1;max-width:100%;min-width:0}.nj90fwq{flex:none;min-width:200px;padding-left:24px;position:sticky;top:24px;width:200px}@media (max-width:1024px){.nj90fwq{display:none;min-width:180px;padding-left:16px;width:180px}}@media (max-width:768px){.nj90fwq{border-top:1px solid #eaeaea;display:block;min-width:100%;padding-left:0;padding-top:24px;position:static;width:100%}}.hmi9h9e{color:#6e6e80;font-size:18px;font-weight:300;margin-top:-18px}.h1seqss5{display:flex;flex-direction:column;gap:24px}.htyux6{color:#7051d4}.h1dmvxug{border:1px solid #ececf1;border-radius:16px;min-width:0;overflow:hidden}.p1pb9ov9{border:none!important}.haeqccf{background:linear-gradient(45deg,#f7f7f8,#f7f7f8)!important;border-bottom:0;border-top-left-radius:10px;border-top-right-radius:10px;display:flex;flex:1 1 0%;min-width:0}.hrmq4h0{height:0}.lht44{display:flex;flex-grow:1;gap:8px;justify-content:end;padding:0 10px}.b3qz0ka{all:unset;align-items:center;border-radius:6px;color:#353740;cursor:pointer;display:flex;font-size:14px;justify-content:center;padding:6px}.b3qz0ka[data-state=active]{border-bottom:1px solid #7051d4;border-bottom-left-radius:0;border-bottom-right-radius:0;color:#7051d4}.b3qz0ka:hover{background:#e3e3eb;transition:.1s ease-in}.djcdygz{align-items:center;color:#353740;display:flex;font-size:14px;gap:4px;margin-left:4px;margin-right:4px}.dng3elc{border-radius:4px;display:flex;flex:1 1 0%;gap:16px;padding-left:16px;padding-right:16px}.c1kyo2f4{align-items:center;display:flex;padding-left:8px;padding-right:8px}.ccv4xf3{position:relative;right:5px;top:17px}.hyawwu4{border-color:transparent;border-left-width:4px;display:flex;margin:4px 0}.l1i5ism5{flex:1 1 0%}._1fnx2sm{background-color:#eef2ff;border-color:#60a5fa}.h83ezas{margin:0 12px 0 4px;opacity:.5;-webkit-user-select:none;-moz-user-select:none;user-select:none}.hwih9s3{background:linear-gradient(45deg,#f7f7f8,#f7f7f8)!important;border-bottom-left-radius:10px;border-bottom-right-radius:10px;border-top:1px solid #ececf1;font-size:12px;line-height:20px;margin:0;max-height:400px;overflow-y:scroll;padding:8px 16px;white-space:pre-wrap;word-break:break-all}.h1sbwmbs{max-height:100%}.h1q2kcy0{align-items:center;display:inline-flex;justify-content:center}.dse1ken{display:flex;gap:4px}.d38bb27{animation:pulse-d38bb27 1.4s ease-in-out infinite;background-color:currentColor;border-radius:50%;height:8px;opacity:.6;width:8px}.d38bb27:nth-of-type(2){animation-delay:.2s}.d38bb27:nth-of-type(3){animation-delay:.4s}@keyframes pulse-d38bb27{0%,80%,to{opacity:.4;transform:scale(.6)}40%{opacity:1;transform:scale(1)}}._8rdt3l .d38bb27{height:6px;width:6px}._1f7km1o .d38bb27{height:12px;width:12px}.h1hvsyfb{all:unset;align-items:center;border-radius:6px;cursor:pointer;display:flex;justify-content:center;padding:6px}.h1hvsyfb:hover{background:#e3e3eb;transition:.1s ease-in}:root{--atlas-ref-palette-white100:#fff;--atlas-ref-palette-dark100:#000;--atlas-ref-palette-dark60:#201d1d;--atlas-ref-palette-grey60:#6e6e80;--atlas-ref-palette-grey40:#ececf1;--atlas-ref-palette-purple60:#7051d4;--atlas-ref-palette-blue60:#60a5fa;--atlas-ref-palette-blue20:#eef2ff;--atlas-sys-color-primary-text:var(--atlas-ref-palette-dark60);--atlas-sys-color-secondary-text:var(--atlas-ref-palette-grey60);--atlas-sys-color-tertiary-text:var(--atlas-ref-palette-purple60);--atlas-sys-color-primary-border:var(--atlas-ref-palette-grey40);--atlas-sys-color-primary-background:var(--atlas-ref-palette-grey40);--atlas-comp-apiref-item-border-color:var(--atlas-sys-color-primary-border);--atlas-comp-apiref-item-navbar-color:var(--atlas-sys-color-secondary-text);--atlas-comp-apiref-properties-border-color:var(--atlas-sys-color-primary-border);--atlas-comp-apiref-properties-description-color:var(--atlas-sys-color-secondary-text);--atlas-comp-apiref-properties-prop__name-color:var(--atlas-ref-palette-dark100);--atlas-comp-apiref-properties-prop__type-color:var(--atlas-sys-color-secondary-text);--atlas-comp-apiref-properties-color--active:var(--atlas-sys-color-tertiary-text);--atlas-comp-code-sample__buttons-color:var(--atlas-sys-color-secondary-text);--atlas-comp-code-sample__buttons-container-background:var(--atlas-sys-color-primary-background);--atlas-comp-code-sample__buttons-color--active:var(--atlas-sys-color-primary-text);--atlas-comp-code-sample__buttons-background--active:var(--atlas-ref-palette-white100);--atlas-comp-code-copy-background--active:var(--atlas-sys-color-primary-background);--atlas-comp-code-sample-background:var(--atlas-sys-color-primary-background);--atlas-comp-code-sample-color:var(--atlas-sys-color-primary-text);--atlas-comp-code-sample-border-color:var(--atlas-sys-color-primary-background);--atlas-comp-code-sample-color--active:var(--atlas-sys-color-tertiary-text);--atlas-comp-code-sample-mark-border--active:var(--atlas-ref-palette-blue60);--atlas-comp-code-sample-mark-background--active:var(--atlas-ref-palette-blue20)}@font-face{font-family:Fustat;font-style:normal;font-weight:400;src:url(../../public/fonts/fustat-regular.woff2) format("woff2")}@font-face{font-family:Fustat;font-style:normal;font-weight:500;src:url(../../public/fonts/fustat-ext-500.woff2) format("woff2")}@font-face{font-family:Fustat;font-style:normal;font-weight:600;src:url(../../public/fonts/fustat-ext-600.woff2) format("woff2")}@font-face{font-family:Fustat;font-style:normal;font-weight:700;src:url(../../public/fonts/fustat-ext-700.woff2) format("woff2")}body{font-family:Fustat,sans-serif}menu,ol,ul{list-style:none;margin:0;padding:0}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}[role=button],button{cursor:pointer}button,select{text-transform:none}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}a{color:inherit;text-decoration:inherit}*,:after,:before{border-style:solid;border-width:0;box-sizing:border-box}p{margin:0;padding:0}:root{--headingEffect-color-tertiary: rgba(23, 119, 184, .5);--headingEffect-color-secondary: rgb(121, 85, 241);--headingEffect-color-primary: rgb(255, 105, 180)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var o="viewport",a={[o]:{value:void 0,isRotated:!1}},t={viewport:"reset",viewportRotated:!1},e,l=(e=globalThis.FEATURES)!=null&&e.viewportStoryGlobals?a:t;export{l as initialGlobals};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
let p;const S=new Uint8Array(16);function A(){if(!p&&(p=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!p))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return p(S)}const o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));function D(e,t=0){return o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]}const I=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),h={randomUUID:I};function f(e,t,r){if(h.randomUUID&&!e)return h.randomUUID();e=e||{};const n=e.random||(e.rng||A)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,D(n)}const{addons:v}=__STORYBOOK_MODULE_PREVIEW_API__,{ImplicitActionsDuringRendering:U}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{global:d}=__STORYBOOK_MODULE_GLOBAL__;var w="storybook/actions",j=`${w}/action-event`,V={depth:10,clearOnStoryChange:!0,limit:50},E=(e,t)=>{let r=Object.getPrototypeOf(e);return!r||t(r)?r:E(r,t)},C=e=>!!(typeof e=="object"&&e&&E(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),K=e=>{if(C(e)){let t=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));t.persist();let r=Object.getOwnPropertyDescriptor(t,"view"),n=r==null?void 0:r.value;return typeof n=="object"&&(n==null?void 0:n.constructor.name)==="Window"&&Object.defineProperty(t,"view",{...r,value:Object.create(n.constructor.prototype)}),t}return e},L=()=>typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?f():Date.now().toString(36)+Math.random().toString(36).substring(2);function _(e,t={}){let r={...V,...t},n=function(...s){var g,O;if(t.implicit){let y=(g="__STORYBOOK_PREVIEW__"in d?d.__STORYBOOK_PREVIEW__:void 0)==null?void 0:g.storyRenders.find(l=>l.phase==="playing"||l.phase==="rendering");if(y){let l=!((O=globalThis==null?void 0:globalThis.FEATURES)!=null&&O.disallowImplicitActionsInRenderV8),R=new U({phase:y.phase,name:e,deprecated:l});if(l)console.warn(R);else throw R}}let i=v.getChannel(),c=L(),a=5,u=s.map(K),b=s.length>1?u:u[0],x={id:c,count:0,data:{name:e,args:b},options:{...r,maxDepth:a+(r.depth||3),allowFunction:r.allowFunction||!1}};i.emit(j,x)};return n.isAction=!0,n.implicit=t.implicit,n}var T=(e,t)=>typeof t[e]>"u"&&!(e in t),B=e=>{let{initialArgs:t,argTypes:r,id:n,parameters:{actions:s}}=e;if(!s||s.disable||!s.argTypesRegex||!r)return{};let i=new RegExp(s.argTypesRegex);return Object.entries(r).filter(([c])=>!!i.test(c)).reduce((c,[a,u])=>(T(a,t)&&(c[a]=_(a,{implicit:!0,id:n})),c),{})},M=e=>{let{initialArgs:t,argTypes:r,parameters:{actions:n}}=e;return n!=null&&n.disable||!r?{}:Object.entries(r).filter(([s,i])=>!!i.action).reduce((s,[i,c])=>(T(i,t)&&(s[i]=_(typeof c.action=="string"?c.action:i)),s),{})},Y=[M,B],m=!1,P=e=>{let{parameters:{actions:t}}=e;if(!(t!=null&&t.disable)&&!m&&"__STORYBOOK_TEST_ON_MOCK_CALL__"in d&&typeof d.__STORYBOOK_TEST_ON_MOCK_CALL__=="function"){let r=d.__STORYBOOK_TEST_ON_MOCK_CALL__;r((n,s)=>{let i=n.getMockName();i!=="spy"&&(!/^next\/.*::/.test(i)||["next/router::useRouter()","next/navigation::useRouter()","next/navigation::redirect","next/cache::","next/headers::cookies().set","next/headers::cookies().delete","next/headers::headers().set","next/headers::headers().delete"].some(c=>i.startsWith(c)))&&_(i)(s)}),m=!0}},N=[P];export{Y as argsEnhancers,N as loaders};
|