axp-ui/docs/sb-addons/essentials-controls-1/manager-bundle.js

115 lines
372 KiB
JavaScript
Raw Normal View History

2023-10-11 10:17:11 +03:00
try{
var Hy=Object.create;var ya=Object.defineProperty;var zy=Object.getOwnPropertyDescriptor;var Wy=Object.getOwnPropertyNames;var Gy=Object.getPrototypeOf,Vy=Object.prototype.hasOwnProperty;var dr=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Ze=(e,t)=>()=>(e&&(t=e(e=0)),t);var S=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),mu=(e,t)=>{for(var r in t)ya(e,r,{get:t[r],enumerable:!0})},Ky=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Wy(t))!Vy.call(e,a)&&a!==r&&ya(e,a,{get:()=>t[a],enumerable:!(n=zy(t,a))||n.enumerable});return e};var fe=(e,t,r)=>(r=e!=null?Hy(Gy(e)):{},Ky(t||!e||!e.__esModule?ya(r,"default",{value:e,enumerable:!0}):r,e));var l=Ze(()=>{});var c=Ze(()=>{});var d=Ze(()=>{});var h,Jr,et,gu,FI,SI,wI,yu,BI,me,pr,Aa,TI,_I,OI,RI,Eu,PI,ge,qe,II,he,kI,bu,ot,NI,Fe,ne,MI,Ot=Ze(()=>{l();c();d();h=__REACT__,{Children:Jr,Component:et,Fragment:gu,Profiler:FI,PureComponent:SI,StrictMode:wI,Suspense:yu,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:BI,cloneElement:me,createContext:pr,createElement:Aa,createFactory:TI,createRef:_I,forwardRef:OI,isValidElement:RI,lazy:Eu,memo:PI,useCallback:ge,useContext:qe,useDebugValue:II,useEffect:he,useImperativeHandle:kI,useLayoutEffect:bu,useMemo:ot,useReducer:NI,useRef:Fe,useState:ne,version:MI}=__REACT__});var Fu={};mu(Fu,{A:()=>Jy,ActionBar:()=>Ca,AddonPanel:()=>xa,Badge:()=>Fa,Bar:()=>Qy,Blockquote:()=>Zy,Button:()=>e2,ClipboardCode:()=>t2,Code:()=>Sa,DL:()=>r2,Div:()=>n2,DocumentWrapper:()=>a2,ErrorFormatter:()=>wa,FlexBar:()=>Ba,Form:()=>Re,H1:()=>o2,H2:()=>Ta,H3:()=>_a,H4:()=>i2,H5:()=>u2,H6:()=>s2,HR:()=>l2,IconButton:()=>yt,IconButtonSkeleton:()=>Oa,Icons:()=>Oe,Img:()=>c2,LI:()=>d2,Link:()=>Et,ListItem:()=>p2,Loader:()=>Ra,OL:()=>f2,P:()=>h2,Placeholder:()=>m2,Pre:()=>g2,ResetWrapper:()=>Pa,ScrollArea:()=>y2,Separator:()=>E2,Spaced:()=>Ia,Span:()=>b2,StorybookIcon:()=>A2,StorybookLogo:()=>v2,Symbols:()=>D2,SyntaxHighlighter:()=>Qr,TT:()=>C2,TabBar:()=>x2,TabButton:()=>F2,TabWrapper:()=>S2,Table:()=>w2,Tabs:()=>B2,TabsState:()=>ka,TooltipLinkList:()=>T2,TooltipMessage:()=>_2,TooltipNote:()=>Na,UL:()=>O2,WithTooltip:()=>Zr,WithTooltipPure:()=>Ma,Zoom:()=>La,codeCommon:()=>Rt,components:()=>ja,createCopyToClipboardFunction:()=>R2,default:()=>Xy,getStoryHref:()=>qa,icons:()=>P2,interleaveSeparators:()=>I2,nameSpaceClassNames:()=>$a,resetComponents:()=>k2,withReset:()=>Pt});var Xy,Jy,Ca,xa,Fa,Qy,Zy,e2,t2,Sa,r2,n2,a2,wa,Ba,Re,o2,Ta,_a,i2,u2,s2,l2,yt,Oa,Oe,c2,d2,Et,p2,Ra,f2,h2,m2,g2,Pa,y2,E2,Ia,b2,A2,v2,D2,Qr,C2,x2,F2,S2,w2,B2,ka,T2,_2,Na,O2,Zr,Ma,La,Rt,ja,R2,qa,P2,I2,$a,k2,Pt,fr=Ze(()=>{l();c();d();Xy=__STORYBOOKCOMPONENTS__,{A:Jy,ActionBar:Ca,AddonPanel:xa,Badge:Fa,Bar:Qy,Blockquote:Zy,Button:e2,ClipboardCode:t2,Code:Sa,DL:r2,Div:n2,DocumentWrapper:a2,ErrorFormatter:wa,FlexBar:Ba,Form:Re,H1:o2,H2:Ta,H3:_a,H4:i2,H5:u2,H6:s2,HR:l2,IconButton:yt,IconButtonSkeleton:Oa,Icons:Oe,Img:c2,LI:d2,Link:Et,ListItem:p2,Loader:Ra,OL:f2,P:h2,Placeholder:m2,Pre:g2,ResetWrapper:Pa,ScrollArea:y2,Separator:E2,Spaced:Ia,Span:b2,StorybookIcon:A2,StorybookLogo:v2,Symbols:D2,SyntaxHighlighter:Qr,TT:C2,TabBar:x2,TabButton:F2,TabWrapper:S2,Table:w2,Tabs:B2,TabsState:ka,TooltipLinkList:T2,TooltipMessage:_2,TooltipNote:Na,UL:O2,WithTooltip:Zr,WithTooltipPure:Ma,Zoom:La,codeCommon:Rt,components:ja,createCopyToClipboardFunction:R2,getStoryHref:qa,icons:P2,interleaveSeparators:I2,nameSpaceClassNames:$a,resetComponents:k2,withReset:Pt}=__STORYBOOKCOMPONENTS__});var Pe,hr,Ua=Ze(()=>{l();c();d();Pe=e=>`control-${e.replace(/\s+/g,"-")}`,hr=e=>`set-${e.replace(/\s+/g,"-")}`});var Dk,Ck,xk,Fk,Su,Sk,wk,wu,Bk,Tk,_k,Ok,Rk,Pk,N2,Bu,Ik,kk,Nk,Mk,j,Ha,Lk,Tu,jk,za=Ze(()=>{l();c();d();Dk=__STORYBOOKTHEMING__,{CacheProvider:Ck,ClassNames:xk,Global:Fk,ThemeProvider:Su,background:Sk,color:wk,convert:wu,create:Bk,createCache:Tk,createGlobal:_k,createReset:Ok,css:Rk,darken:Pk,ensure:N2,ignoreSsrW
`)>=0)return!1;return!0}function ZT(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Ye.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Ye.call(Array(t+1),r)}}function gi(e,t){if(e.length===0)return"";var r=`
`+t.prev+t.base;return r+Ye.call(e,","+r)+`
`+t.prev}function Gn(e,t){var r=mi(e),n=[];if(r){n.length=e.length;for(var a=0;a<e.length;a++)n[a]=pt(e,a)?t(e[a],e):""}var o=typeof ci=="function"?ci(e):[],i;if(er){i={};for(var u=0;u<o.length;u++)i["$"+o[u]]=o[u]}for(var s in e)pt(e,s)&&(r&&String(Number(s))===s&&s<e.length||er&&i["$"+s]instanceof Symbol||($h.call(/[^\w$]/,s)?n.push(t(s,e)+": "+t(e[s],e)):n.push(s+": "+t(e[s],e))));if(typeof ci=="function")for(var p=0;p<o.length;p++)Uh.call(e,o[p])&&n.push("["+t(o[p])+"]: "+t(e[o[p]],e));return n}});var Xh=S((zJ,Yh)=>{"use strict";l();c();d();var Ai=zn(),tr=wh(),e_=Kh(),t_=Ai("%TypeError%"),Yn=Ai("%WeakMap%",!0),Xn=Ai("%Map%",!0),r_=tr("WeakMap.prototype.get",!0),n_=tr("WeakMap.prototype.set",!0),a_=tr("WeakMap.prototype.has",!0),o_=tr("Map.prototype.get",!0),i_=tr("Map.prototype.set",!0),u_=tr("Map.prototype.has",!0),vi=function(e,t){for(var r=e,n;(n=r.next)!==null;r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},s_=function(e,t){var r=vi(e,t);return r&&r.value},l_=function(e,t,r){var n=vi(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},c_=function(e,t){return!!vi(e,t)};Yh.exports=function(){var t,r,n,a={assert:function(o){if(!a.has(o))throw new t_("Side channel does not contain "+e_(o))},get:function(o){if(Yn&&o&&(typeof o=="object"||typeof o=="function")){if(t)return r_(t,o)}else if(Xn){if(r)return o_(r,o)}else if(n)return s_(n,o)},has:function(o){if(Yn&&o&&(typeof o=="object"||typeof o=="function")){if(t)return a_(t,o)}else if(Xn){if(r)return u_(r,o)}else if(n)return c_(n,o);return!1},set:function(o,i){Yn&&o&&(typeof o=="object"||typeof o=="function")?(t||(t=new Yn),n_(t,o,i)):Xn?(r||(r=new Xn),i_(r,o,i)):(n||(n={key:{},next:null}),l_(n,o,i))}};return a}});var Jn=S((KJ,Jh)=>{"use strict";l();c();d();var d_=String.prototype.replace,p_=/%20/g,Di={RFC1738:"RFC1738",RFC3986:"RFC3986"};Jh.exports={default:Di.RFC3986,formatters:{RFC1738:function(e){return d_.call(e,p_,"+")},RFC3986:function(e){return String(e)}},RFC1738:Di.RFC1738,RFC3986:Di.RFC3986}});var xi=S((QJ,Zh)=>{"use strict";l();c();d();var f_=Jn(),Ci=Object.prototype.hasOwnProperty,Bt=Array.isArray,Xe=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),h_=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(Bt(n)){for(var a=[],o=0;o<n.length;++o)typeof n[o]<"u"&&a.push(n[o]);r.obj[r.prop]=a}}},Qh=function(t,r){for(var n=r&&r.plainObjects?Object.create(null):{},a=0;a<t.length;++a)typeof t[a]<"u"&&(n[a]=t[a]);return n},m_=function e(t,r,n){if(!r)return t;if(typeof r!="object"){if(Bt(t))t.push(r);else if(t&&typeof t=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Ci.call(Object.prototype,r))&&(t[r]=!0);else return[t,r];return t}if(!t||typeof t!="object")return[t].concat(r);var a=t;return Bt(t)&&!Bt(r)&&(a=Qh(t,n)),Bt(t)&&Bt(r)?(r.forEach(function(o,i){if(Ci.call(t,i)){var u=t[i];u&&typeof u=="object"&&o&&typeof o=="object"?t[i]=e(u,o,n):t.push(o)}else t[i]=o}),t):Object.keys(r).reduce(function(o,i){var u=r[i];return Ci.call(o,i)?o[i]=e(o[i],u,n):o[i]=u,o},a)},g_=function(t,r){return Object.keys(r).reduce(function(n,a){return n[a]=r[a],n},t)},y_=function(e,t,r){var n=e.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},E_=function(t,r,n,a,o){if(t.length===0)return t;var i=t;if(typeof t=="symbol"?i=Symbol.prototype.toString.call(t):typeof t!="string"&&(i=String(t)),n==="iso-8859-1")return escape(i).replace(/%u[0-9a-f]{4}/gi,function(y){return"%26%23"+parseInt(y.slice(2),16)+"%3B"});for(var u="",s=0;s<i.length;++s){var p=i.charCodeAt(s);if(p===45||p===46||p===95||p===126||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||o===f_.RFC1738&&(p===40||p===41)){u+=i.charAt(s);continue}if(p<128){u=u+Xe[p];continue}if(p<2048){u=u+(Xe[192|p>>6]+Xe[128|p&63]);continue}if(p<55296||p>=57344){u=u+(Xe[224|p>>12]+Xe[128|p>>6&63]+Xe[128|p&63]);continue}s+=1,p=65536+((p&1023)<<10|i.charCodeAt(s)&1023),u+=Xe[240|p>>18]+Xe[128|p>>12&63]+Xe[128|p>>6&63]+Xe[128|p&63]}return u},b_=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=
`;break;case"r":T+="\r";break;case"t":T+=" ";break;case"u":case"x":z=a,$=x(M),$?T+=$:(a=z,T+=M);break;case"b":T+="\b";break;case"f":T+="\f";break;case"v":T+="\v";break;default:s.code.isOctalDigit(M.charCodeAt(0))?(O="01234567".indexOf(M),a<n&&s.code.isOctalDigit(r.charCodeAt(a))&&(O=O*8+"01234567".indexOf(E()),"0123".indexOf(M)>=0&&a<n&&s.code.isOctalDigit(r.charCodeAt(a))&&(O=O*8+"01234567".indexOf(E()))),T+=String.fromCharCode(O)):T+=M;break}else{if(s.code.isLineTerminator(M.charCodeAt(0)))break;T+=M}return P!==""&&p.throwError("unexpected quote"),u=T,t.STRING}function B(){var T,P;if(T="",P=r.charCodeAt(a),P!==46){if(T=E(),P=r.charCodeAt(a),T==="0"){if(P===120||P===88){for(T+=E();a<n&&(P=r.charCodeAt(a),!!s.code.isHexDigit(P));)T+=E();return T.length<=2&&p.throwError("unexpected token"),a<n&&(P=r.charCodeAt(a),s.code.isIdentifierStartES5(P)&&p.throwError("unexpected token")),u=parseInt(T,16),t.NUMBER}if(s.code.isOctalDigit(P)){for(T+=E();a<n&&(P=r.charCodeAt(a),!!s.code.isOctalDigit(P));)T+=E();return a<n&&(P=r.charCodeAt(a),(s.code.isIdentifierStartES5(P)||s.code.isDecimalDigit(P))&&p.throwError("unexpected token")),u=parseInt(T,8),t.NUMBER}s.code.isDecimalDigit(P)&&p.throwError("unexpected token")}for(;a<n&&(P=r.charCodeAt(a),!!s.code.isDecimalDigit(P));)T+=E()}if(P===46)for(T+=E();a<n&&(P=r.charCodeAt(a),!!s.code.isDecimalDigit(P));)T+=E();if(P===101||P===69)if(T+=E(),P=r.charCodeAt(a),(P===43||P===45)&&(T+=E()),P=r.charCodeAt(a),s.code.isDecimalDigit(P))for(T+=E();a<n&&(P=r.charCodeAt(a),!!s.code.isDecimalDigit(P));)T+=E();else p.throwError("unexpected token");return a<n&&(P=r.charCodeAt(a),s.code.isIdentifierStartES5(P)&&p.throwError("unexpected token")),u=parseFloat(T),t.NUMBER}function I(){var T,P;for(u=E();a<n&&m(r.charCodeAt(a));){if(T=r.charCodeAt(a),T===46){if(a+1>=n)return t.ILLEGAL;if(P=r.charCodeAt(a+1),P===60)break}u+=E()}return t.NAME}function L(){var T;for(o=a;a<n&&s.code.isWhiteSpace(r.charCodeAt(a));)E();if(a>=n)return i=t.EOF,i;switch(T=r.charCodeAt(a),T){case 39:case 34:return i=F(),i;case 58:return E(),i=t.COLON,i;case 44:return E(),i=t.COMMA,i;case 40:return E(),i=t.LPAREN,i;case 41:return E(),i=t.RPAREN,i;case 91:return E(),i=t.LBRACK,i;case 93:return E(),i=t.RBRACK,i;case 123:return E(),i=t.LBRACE,i;case 125:return E(),i=t.RBRACE,i;case 46:if(a+1<n){if(T=r.charCodeAt(a+1),T===60)return E(),E(),i=t.DOT_LT,i;if(T===46&&a+2<n&&r.charCodeAt(a+2)===46)return E(),E(),E(),i=t.REST,i;if(s.code.isDecimalDigit(T))return i=B(),i}return i=t.ILLEGAL,i;case 60:return E(),i=t.LT,i;case 62:return E(),i=t.GT,i;case 42:return E(),i=t.STAR,i;case 124:return E(),i=t.PIPE,i;case 63:return E(),i=t.QUESTION,i;case 33:return E(),i=t.BANG,i;case 61:return E(),i=t.EQUAL,i;case 45:return i=B(),i;default:return s.code.isDecimalDigit(T)?(i=B(),i):(p.assert(m(T)),i=I(),i)}}function w(T,P){p.assert(i===T,P||"consumed token not matched"),L()}function k(T,P){i!==T&&p.throwError(P||"unexpected token"),L()}function N(){var T,P=a-1;if(w(t.LPAREN,"UnionType should start with ("),T=[],i!==t.RPAREN)for(;T.push(K()),i!==t.RPAREN;)k(t.PIPE);return w(t.RPAREN,"UnionType should end with )"),A({type:e.UnionType,elements:T},[P,o])}function U(){var T,P=a-1,M;for(w(t.LBRACK,"ArrayType should start with ["),T=[];i!==t.RBRACK;){if(i===t.REST){M=a-3,w(t.REST),T.push(A({type:e.RestType,expression:K()},[M,o]));break}else T.push(K());i!==t.RBRACK&&k(t.COMMA)}return k(t.RBRACK),A({type:e.ArrayType,elements:T},[P,o])}function V(){var T=u;if(i===t.NAME||i===t.STRING)return L(),T;if(i===t.NUMBER)return w(t.NUMBER),String(T);p.throwError("unexpected token")}function H(){var T,P=o;return T=V(),i===t.COLON?(w(t.COLON),A({type:e.FieldType,key:T,value:K()},[P,o])):A({type:e.FieldType,key:T,value:null},[P,o])}function ee(){var T,P=a-1,M;if(w(t.LBRACE,"RecordType should start with {"),T=[],i===t.COMMA)w(t.COMMA);else for(;i!==t.RBRACE;)T.push(H()),i!==t.RBRACE&&k(t.COMMA);return M=a,k(t.RBRACE),A({type:e.RecordType,fields:T},[P,M])}function Q(){var T=u,P=a-T.length;return k(t.NAME),i===t.COLON&&(T==="module"||T==="external"||T==="event")&&(w(t.COLON),T+=":
\u2028\u2029])`;function I(w){return w.replace(/^\/\*\*?/,"").replace(/\*\/$/,"").replace(new RegExp(B,"g"),"$2").replace(/\s*$/,"")}function L(w,k){for(var N=w.replace(/^\/\*\*?/,""),U=0,V=new RegExp(B,"g"),H;H=V.exec(N);)if(U+=H[1].length,H.index+H[0].length>k+U)return k+U+w.length-N.length;return w.replace(/\*\/$/,"").replace(/\s*$/,"").length}(function(w){var k,N,U,V,H,ee,Q,Y,R;function _(){var M=H.charCodeAt(N);return N+=1,n.code.isLineTerminator(M)&&!(M===13&&H.charCodeAt(N)===10)&&(U+=1),String.fromCharCode(M)}function q(){var M="";for(_();N<V&&u(H.charCodeAt(N));)M+=_();return M}function W(){var M,O,$=N;for(O=!1;$<V;){if(M=H.charCodeAt($),n.code.isLineTerminator(M)&&!(M===13&&H.charCodeAt($+1)===10))O=!0;else if(O){if(M===64)break;n.code.isWhiteSpace(M)||(O=!1)}$+=1}return $}function X(M,O,$){for(var z,pe,oe,ie,Ae=!1;N<O;)if(z=H.charCodeAt(N),n.code.isWhiteSpace(z))_();else if(z===123){_();break}else{Ae=!0;break}if(Ae)return null;for(pe=1,oe="";N<O;)if(z=H.charCodeAt(N),n.code.isLineTerminator(z))_();else{if(z===125){if(pe-=1,pe===0){_();break}}else z===123&&(pe+=1);oe===""&&(ie=N),oe+=_()}return pe!==0?t.throwError("Braces are not balanced"):A(M)?e.parseParamType(oe,{startIndex:Ne(ie),range:$}):e.parseType(oe,{startIndex:Ne(ie),range:$})}function K(M){var O;if(!n.code.isIdentifierStartES5(H.charCodeAt(N))&&!H[N].match(/[0-9]/))return null;for(O=_();N<M&&n.code.isIdentifierPartES5(H.charCodeAt(N));)O+=_();return O}function Z(M){for(;N<M&&(n.code.isWhiteSpace(H.charCodeAt(N))||n.code.isLineTerminator(H.charCodeAt(N)));)_()}function se(M,O,$){var z="",pe,oe;if(Z(M),N>=M)return null;if(H.charCodeAt(N)===91)if(O)pe=!0,z=_();else return null;if(z+=K(M),$)for(H.charCodeAt(N)===58&&(z==="module"||z==="external"||z==="event")&&(z+=_(),z+=K(M)),H.charCodeAt(N)===91&&H.charCodeAt(N+1)===93&&(z+=_(),z+=_());H.charCodeAt(N)===46||H.charCodeAt(N)===47||H.charCodeAt(N)===35||H.charCodeAt(N)===45||H.charCodeAt(N)===126;)z+=_(),z+=K(M);if(pe){if(Z(M),H.charCodeAt(N)===61){z+=_(),Z(M);for(var ie,Ae=1;N<M;){if(ie=H.charCodeAt(N),n.code.isWhiteSpace(ie)&&(oe||(Z(M),ie=H.charCodeAt(N))),ie===39&&(oe?oe==="'"&&(oe=""):oe="'"),ie===34&&(oe?oe==='"'&&(oe=""):oe='"'),ie===91)Ae++;else if(ie===93&&--Ae===0)break;z+=_()}}if(Z(M),N>=M||H.charCodeAt(N)!==93)return null;z+=_()}return z}function ke(){for(;N<V&&H.charCodeAt(N)!==64;)_();return N>=V?!1:(t.assert(H.charCodeAt(N)===64),!0)}function Ne(M){return H===ee?M:L(ee,M)}function J(M,O){this._options=M,this._title=O.toLowerCase(),this._tag={title:O,description:null},this._options.lineNumbers&&(this._tag.lineNumber=U),this._first=N-O.length-1,this._last=0,this._extra={}}J.prototype.addError=function(O){var $=Array.prototype.slice.call(arguments,1),z=O.replace(/%(\d)/g,function(pe,oe){return t.assert(oe<$.length,"Message reference must be in range"),$[oe]});return this._tag.errors||(this._tag.errors=[]),R&&t.throwError(z),this._tag.errors.push(z),Q},J.prototype.parseType=function(){if(E(this._title))try{if(this._tag.type=X(this._title,this._last,this._options.range),!this._tag.type&&!s(this._title)&&!p(this._title)&&!this.addError("Missing or invalid tag type"))return!1}catch(M){if(this._tag.type=null,!this.addError(M.message))return!1}else if(x(this._title))try{this._tag.type=X(this._title,this._last,this._options.range)}catch{}return!0},J.prototype._parseNamePath=function(M){var O;return O=se(this._last,Y&&A(this._title),!0),!O&&!M&&!this.addError("Missing or invalid tag name")?!1:(this._tag.name=O,!0)},J.prototype.parseNamePath=function(){return this._parseNamePath(!1)},J.prototype.parseNamePathOptional=function(){return this._parseNamePath(!0)},J.prototype.parseName=function(){var M,O;if(m(this._title))if(this._tag.name=se(this._last,Y&&A(this._title),g(this._title)),this._tag.name)O=this._tag.name,O.charAt(0)==="["&&O.charAt(O.length-1)==="]"&&(M=O.substring(1,O.length-1).split("="),M.length>1&&(this._tag.default=M.slice(1).join("=")),this._tag.name=M[0],this._tag.type&&this._tag.type.type!=="OptionalType"&&(this._tag.type={type:"OptionalType",expression:this._tag.type}));else{if(!b(th
`).match(a),b=!1;return{p:y.map(function(m,g){let A=o.exec(m)[0].length,E=new RegExp("^ {1,"+A+"}","gm"),x=m.replace(E,"").replace(o,""),F=g===y.length-1,B=x.indexOf(`
`)!==-1||F&&b;b=B;let I=s._,L=s.o,w;s.o=!0,B?(s._=!1,w=x.replace(Zd,`
`)):(s._=!0,w=x.replace(Zd,""));let k=u(w,s);return s._=I,s.o=L,k}),m:r,g:p}},h:(i,u,s)=>e(i.m?"ol":"ul",{key:s.k,start:i.g},i.p.map(function(p,y){return e("li",{key:y},u(p,s))}))}}var fS=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,hS=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,Dp=[ap,op,ip,up,lp,sp,cp,dp,yp,Ap,Ep,vp],mS=[...Dp,/^[^\n]+(?: \n|\n{2,})/,Ho,zo];function gS(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function yS(e){return eS.test(e)?"right":QF.test(e)?"center":ZF.test(e)?"left":null}function tp(e,t,r){let n=r.$;r.$=!0;let a=t(e.trim(),r);r.$=n;let o=[[]];return a.forEach(function(i,u){i.type==="tableSeparator"?u!==0&&u!==a.length-1&&o.push([]):(i.type!=="text"||a[u+1]!=null&&a[u+1].type!=="tableSeparator"||(i.v=i.v.replace(JF,"")),o[o.length-1].push(i))}),o}function ES(e,t,r){r._=!0;let n=tp(e[1],t,r),a=e[2].replace(XF,"").split("|").map(yS),o=function(i,u,s){return i.trim().split(`
`).map(function(p){return tp(p,u,s)})}(e[3],t,r);return r._=!1,{S:a,A:o,L:n,type:"table"}}function rp(e,t){return e.S[t]==null?{}:{textAlign:e.S[t]}}function ct(e){return function(t,r){return r._?e.exec(t):null}}function dt(e){return function(t,r){return r._||r.u?e.exec(t):null}}function nt(e){return function(t,r){return r._||r.u?null:e.exec(t)}}function _r(e){return function(t){return e.exec(t)}}function bS(e,t,r){if(t._||t.u||r&&!r.endsWith(`
`))return null;let n="";e.split(`
`).every(o=>!Dp.some(i=>i.test(o))&&(n+=o+`
`,o.trim()));let a=n.trimEnd();return a==""?null:[n,a]}function Gt(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function np(e){return e.replace(lS,"$1")}function Fn(e,t,r){let n=r._||!1,a=r.u||!1;r._=!0,r.u=!0;let o=e(t,r);return r._=n,r.u=a,o}function AS(e,t,r){let n=r._||!1,a=r.u||!1;r._=!1,r.u=!0;let o=e(t,r);return r._=n,r.u=a,o}function vS(e,t,r){return r._=!1,e(t,r)}var jo=(e,t,r)=>({v:Fn(t,e[1],r)});function qo(){return{}}function $o(){return null}function DS(...e){return e.filter(Boolean).join(" ")}function Uo(e,t,r){let n=e,a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}var re;function CS(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||gS,t.namedCodesToUnicode=t.namedCodesToUnicode?Ct({},Qd,t.namedCodesToUnicode):Qd;let r=t.createElement||Aa;function n(g,A,...E){let x=Uo(t.overrides,`${g}.props`,{});return r(function(F,B){let I=Uo(B,F);return I?typeof I=="function"||typeof I=="object"&&"render"in I?I:Uo(B,`${F}.component`,F):F}(g,t.overrides),Ct({},A,x,{className:DS(A?.className,x.className)||void 0}),...E)}function a(g){let A=!1;t.forceInline?A=!0:t.forceBlock||(A=VF.test(g)===!1);let E=y(p(A?g:`${g.trimEnd().replace(uS,"")}
`,{_:A}));for(;typeof E[E.length-1]=="string"&&!E[E.length-1].trim();)E.pop();if(t.wrapper===null)return E;let x=t.wrapper||(A?"span":"div"),F;if(E.length>1||t.forceWrapper)F=E;else{if(E.length===1)return F=E[0],typeof F=="string"?n("span",{key:"outer"},F):F;F=null}return Aa(x,{key:"outer"},F)}function o(g){let A=g.match(CF);return A?A.reduce(function(E,x,F){let B=x.indexOf("=");if(B!==-1){let I=function(N){return N.indexOf("-")!==-1&&N.match(MF)===null&&(N=N.replace(UF,function(U,V){return V.toUpperCase()})),N}(x.slice(0,B)).trim(),L=function(N){let U=N[0];return(U==='"'||U==="'")&&N.length>=2&&N[N.length-1]===U?N.slice(1,-1):N}(x.slice(B+1).trim()),w=Jd[I]||I,k=E[w]=function(N,U){return N==="style"?U.split(/;\s?/).reduce(function(V,H){let ee=H.slice(0,H.indexOf(":"));return V[ee.replace(/(-[a-z])/g,Q=>Q[1].toUpperCase())]=H.slice(ee.length+1).trim(),V},{}):N==="href"?Gt(U):(U.match(LF)&&(U=U.slice(1,U.length-1)),U==="true"||U!=="false"&&U)}(I,L);typeof k=="string"&&(Ho.test(k)||zo.test(k))&&(E[w]=me(a(k.trim()),{key:F}))}else x!=="style"&&(E[Jd[x]||x]=!0);return E},{}):null}let i=[],u={},s={blockQuote:{t:nt(ap),i:re.HIGH,l:(g,A,E)=>({v:A(g[0].replace(SF,""),E)}),h:(g,A,E)=>n("blockquote",{key:E.k},A(g.v,E))},breakLine:{t:_r(wF),i:re.HIGH,l:qo,h:(g,A,E)=>n("br",{key:E.k})},breakThematic:{t:nt(BF),i:re.HIGH,l:qo,h:(g,A,E)=>n("hr",{key:E.k})},codeBlock:{t:nt(ip),i:re.MAX,l:g=>({v:g[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(g,A,E)=>n("pre",{key:E.k},n("code",Ct({},g.O,{className:g.M?`lang-${g.M}`:""}),g.v))},codeFenced:{t:nt(op),i:re.MAX,l:g=>({O:o(g[3]||""),v:g[4],M:g[2]||void 0,type:"codeBlock"})},codeInline:{t:dt(TF),i:re.LOW,l:g=>({v:g[2]}),h:(g,A,E)=>n("code",{key:E.k},g.v)},footnote:{t:nt(RF),i:re.MAX,l:g=>(i.push({I:g[2],j:g[1]}),{}),h:$o},footnoteReference:{t:ct(PF),i:re.HIGH,l:g=>({v:g[1],B:`#${t.slugify(g[1])}`}),h:(g,A,E)=>n("a",{key:E.k,href:Gt(g.B)},n("sup",{key:E.k},g.v))},gfmTask:{t:ct(kF),i:re.HIGH,l:g=>({R:g[1].toLowerCase()==="x"}),h:(g,A,E)=>n("input",{checked:g.R,key:E.k,readOnly:!0,type:"checkbox"})},heading:{t:nt(t.enforceAtxHeadings?sp:up),i:re.HIGH,l:(g,A,E)=>({v:Fn(A,g[2],E),T:t.slugify(g[2]),C:g[1].length}),h:(g,A,E)=>n(`h${g.C}`,{id:g.T,key:E.k},A(g.v,E))},headingSetext:{t:nt(lp),i:re.MAX,l:(g,A,E)=>({v:Fn(A,g[1],E),C:g[2]==="="?1:2,type:"heading"})},htmlComment:{t:_r(cp),i:re.HIGH,l:()=>({}),h:$o},image:{t:dt(hS),i:re.HIGH,l:g=>({D:g[1],B:np(g[2]),F:g[3]}),h:(g,A,E)=>n("img",{key:E.k,alt:g.D||void 0,title:g.F||void 0,src:Gt(g.B)})},link:{t:ct(fS),i:re.LOW,l:(g,A,E)=>({v:AS(A,g[1],E),B:np(g[2]),F:g[3]}),h:(g,A,E)=>n("a",{key:E.k,href:Gt(g.B),title:g.F},A(g.v,E))},linkAngleBraceStyleDetector:{t:ct($F),i:re.MAX,l:g=>({v:[{v:g[1],type:"text"}],B:g[1],type:"link"})},linkBareUrlDetector:{t:(g,A)=>A.N?null:ct(jF)(g,A),i:re.MAX,l:g=>({v:[{v:g[1],type:"text"}],B:g[1],F:void 0,type:"link"})},linkMailtoDetector:{t:ct(qF),i:re.MAX,l(g){let A=g[1],E=g[1];return xF.test(E)||(E="mailto:"+E),{v:[{v:A.replace("mailto:",""),type:"text"}],B:E,type:"link"}}},orderedList:ep(n,1),unorderedList:ep(n,2),newlineCoalescer:{t:nt(_F),i:re.LOW,l:qo,h:()=>`
`},paragraph:{t:bS,i:re.LOW,l:jo,h:(g,A,E)=>n("p",{key:E.k},A(g.v,E))},ref:{t:ct(HF),i:re.MAX,l:g=>(u[g[1]]={B:g[2],F:g[4]},{}),h:$o},refImage:{t:dt(zF),i:re.MAX,l:g=>({D:g[1]||void 0,P:g[2]}),h:(g,A,E)=>n("img",{key:E.k,alt:g.D,src:Gt(u[g.P].B),title:u[g.P].F})},refLink:{t:ct(WF),i:re.MAX,l:(g,A,E)=>({v:A(g[1],E),Z:A(g[0].replace(GF,"\\$1"),E),P:g[2]}),h:(g,A,E)=>u[g.P]?n("a",{key:E.k,href:Gt(u[g.P].B),title:u[g.P].F},A(g.v,E)):n("span",{key:E.k},A(g.Z,E))},table:{t:nt(dp),i:re.HIGH,l:ES,h:(g,A,E)=>n("table",{key:E.k},n("thead",null,n("tr",null,g.L.map(function(x,F){return n("th",{key:F,style:rp(g,F)},A(x,E))}))),n("tbody",null,g.A.map(function(x,F){return n("tr",{key:F},x.map(function(B,I){return n("td",{key:I,style:rp(g,I)},A(B,E))}))})))},tableSeparator:{t:function(g,A){return A.$?(A._=!0,YF.exec(g)):null},i:re.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:_r(iS),i:re.MIN,l:g=>({v:g[0].replace(NF,(A,E)=>t.namedCodesToUnicode[E]?t.namedCodesToUnicode[E]:A)}),h:g=>g.v},textBolded:{t:dt(tS),i:re.MED,l:(g,A,E)=>({v:A(g[2],E)}),h:(g,A,E)=>n("strong",{key:E.k},A(g.v,E))},textEmphasized:{t:dt(rS),i:re.LOW,l:(g,A,E)=>({v:A(g[2],E)}),h:(g,A,E)=>n("em",{key:E.k},A(g.v,E))},textEscaped:{t:dt(oS),i:re.HIGH,l:g=>({v:g[1],type:"text"})},textMarked:{t:dt(nS),i:re.LOW,l:jo,h:(g,A,E)=>n("mark",{key:E.k},A(g.v,E))},textStrikethroughed:{t:dt(aS),i:re.LOW,l:jo,h:(g,A,E)=>n("del",{key:E.k},A(g.v,E))}};t.disableParsingRawHTML!==!0&&(s.htmlBlock={t:_r(Ho),i:re.HIGH,l(g,A,E){let[,x]=g[3].match(sS),F=new RegExp(`^${x}`,"gm"),B=g[3].replace(F,""),I=(L=B,mS.some(U=>U.test(L))?vS:Fn);var L;let w=g[1].toLowerCase(),k=DF.indexOf(w)!==-1;E.N=E.N||w==="a";let N=k?g[3]:I(A,B,E);return E.N=!1,{O:o(g[2]),v:N,G:k,H:k?w:g[1]}},h:(g,A,E)=>n(g.H,Ct({key:E.k},g.O),g.G?g.v:A(g.v,E))},s.htmlSelfClosing={t:_r(zo),i:re.HIGH,l:g=>({O:o(g[2]||""),H:g[1]}),h:(g,A,E)=>n(g.H,Ct({},g.O,{key:E.k}))});let p=function(g){let A=Object.keys(g);function E(x,F){let B=[],I="";for(;x;){let L=0;for(;L<A.length;){let w=A[L],k=g[w],N=k.t(x,F,I);if(N){let U=N[0];x=x.substring(U.length);let V=k.l(N,E,F);V.type==null&&(V.type=w),B.push(V),I=U;break}L++}}return B}return A.sort(function(x,F){let B=g[x].i,I=g[F].i;return B!==I?B-I:x<F?-1:1}),function(x,F){return E(function(B){return B.replace(OF,`
`).replace(IF,"").replace(KF," ")}(x),F)}}(s),y=(b=function(g){return function(A,E,x){return g[A.type].h(A,E,x)}}(s),function g(A,E={}){if(Array.isArray(A)){let x=E.k,F=[],B=!1;for(let I=0;I<A.length;I++){E.k=I;let L=g(A[I],E),w=typeof L=="string";w&&B?F[F.length-1]+=L:L!==null&&F.push(L),B=w}return E.k=x,F}return b(A,g,E)});var b;let m=a(e);return i.length?n("div",null,m,n("footer",{key:"footer"},i.map(function(g){return n("div",{id:t.slugify(g.j),key:g.j},g.j,y(p(g.I,{_:!0})))}))):m}(function(e){e[e.MAX=0]="MAX",e[e.HIGH=1]="HIGH",e[e.MED=2]="MED",e[e.LOW=3]="LOW",e[e.MIN=4]="MIN"})(re||(re={}));var Vo=e=>{let{children:t,options:r}=e,n=function(a,o){if(a==null)return{};var i,u,s={},p=Object.keys(a);for(u=0;u<p.length;u++)o.indexOf(i=p[u])>=0||(s[i]=a[i]);return s}(e,vF);return me(CS(t,r),n)};var fy=fe(Sn(),1),hy=fe(Hp(),1),my=fe(Yf(),1);l();c();d();l();c();d();l();c();d();l();c();d();l();c();d();l();c();d();var cK=__STORYBOOKCHANNELS__,{Channel:Xo,PostMessageTransport:dK,WebsocketTransport:pK,createBrowserChannel:m3,createPostMessageChannel:fK,createWebSocketChannel:hK}=__STORYBOOKCHANNELS__;l();c();d();var bK=__STORYBOOKCOREEVENTS__,{CHANNEL_CREATED:AK,CONFIG_ERROR:g3,CURRENT_STORY_WAS_SET:y3,DOCS_PREPARED:E3,DOCS_RENDERED:b3,FORCE_REMOUNT:A3,FORCE_RE_RENDER:Jo,GLOBALS_UPDATED:Tn,IGNORED_EXCEPTION:vK,NAVIGATE_URL:Xf,PLAY_FUNCTION_THREW_EXCEPTION:v3,PRELOAD_ENTRIES:D3,PREVIEW_BUILDER_PROGRESS:DK,PREVIEW_KEYDOWN:C3,REGISTER_SUBSCRIPTION:CK,REQUEST_WHATS_NEW_DATA:xK,RESET_STORY_ARGS:_n,RESULT_WHATS_NEW_DATA:FK,SELECT_STORY:SK,SET_CONFIG:wK,SET_CURRENT_STORY:x3,SET_GLOBALS:F3,SET_INDEX:S3,SET_STORIES:BK,SET_WHATS_NEW_CACHE:TK,SHARED_STATE_CHANGED:w3,SHARED_STATE_SET:B3,STORIES_COLLAPSE_ALL:_K,STORIES_EXPAND_ALL:OK,STORY_ARGS_UPDATED:On,STORY_CHANGED:T3,STORY_ERRORED:_3,STORY_INDEX_INVALIDATED:O3,STORY_MISSING:R3,STORY_PREPARED:P3,STORY_RENDERED:Jf,STORY_RENDER_PHASE_CHANGED:I3,STORY_SPECIFIED:k3,STORY_THREW_EXCEPTION:N3,STORY_UNCHANGED:M3,TELEMETRY_ERROR:RK,TOGGLE_WHATS_NEW_NOTIFICATIONS:PK,UPDATE_GLOBALS:Qf,UPDATE_QUERY_PARAMS:L3,UPDATE_STORY_ARGS:Rn}=__STORYBOOKCOREEVENTS__;var j3=Object.create,Zf=Object.defineProperty,q3=Object.getOwnPropertyDescriptor,e0=Object.getOwnPropertyNames,$3=Object.getPrototypeOf,U3=Object.prototype.hasOwnProperty,Ke=(e,t)=>function(){return t||(0,e[e0(e)[0]])((t={exports:{}}).exports,t),t.exports},H3=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of e0(t))!U3.call(e,a)&&a!==r&&Zf(e,a,{get:()=>t[a],enumerable:!(n=q3(t,a))||n.enumerable});return e},t0=(e,t,r)=>(r=e!=null?j3($3(e)):{},H3(t||!e||!e.__esModule?Zf(r,"default",{value:e,enumerable:!0}):r,e));function r0(){let e={setHandler:()=>{},send:()=>{}};return new Xo({transport:e})}var z3=class{constructor(){this.getChannel=()=>{if(!this.channel){let e=r0();return this.setChannel(e),e}return this.channel},this.getServerChannel=()=>{if(!this.serverChannel)throw new Error("Accessing non-existent serverChannel");return this.serverChannel},this.ready=()=>this.promise,this.hasChannel=()=>!!this.channel,this.hasServerChannel=()=>!!this.serverChannel,this.setChannel=e=>{this.channel=e,this.resolve()},this.setServerChannel=e=>{this.serverChannel=e},this.promise=new Promise(e=>{this.resolve=()=>e(this.getChannel())})}},Qo="__STORYBOOK_ADDONS_PREVIEW";function W3(){return ue[Qo]||(ue[Qo]=new z3),ue[Qo]}var Pn=W3();var X0=fe(Sn(),1),Ir=fe(In(),1),rT=fe(L0(),1),nT=fe(Nn(),1);l();c();d();l();c();d();l();c();d();function Kt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var a=n.reduce(function(u,s){var p=s.match(/\n([\t ]+|(?!\s).)/g);return p?u.concat(p.map(function(y){var b,m;return(m=(b=y.match(/[\t ]/g))===null||b===void 0?void 0:b.length)!==null&&m!==void 0?m:0})):u},[]);if(a.length){var o=new RegExp(`
[ ]{`+Math.min.apply(Math,a)+"}","g");n=n.map(function(u){return u.replace(o,`
`)})}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(u,s){var p=i.match(/(?:^|\n)( *)$/),y=p?p[1]:"",b=u;typeof u=="string"&&u.includes(`
`)&&(b=String(u).split(`
`).map(function(m,g){return g===0?m:""+y+m}).join(`
`)),i+=b+n[s+1]}),i}var ve=Kt;var kB=(e=>(e.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",e.PREVIEW_CHANNELS="PREVIEW_CHANNELS",e.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",e.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",e.PREVIEW_API="PREVIEW_API",e.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",e.PREVIEW_ROUTER="PREVIEW_ROUTER",e.PREVIEW_THEMING="PREVIEW_THEMING",e.FRAMEWORK_ANGULAR="FRAMEWORK_ANGULAR",e.FRAMEWORK_EMBER="FRAMEWORK_EMBER",e.FRAMEWORK_HTML_VITE="FRAMEWORK_HTML-VITE",e.FRAMEWORK_HTML_WEBPACK5="FRAMEWORK_HTML-WEBPACK5",e.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",e.FRAMEWORK_PREACT_VITE="FRAMEWORK_PREACT-VITE",e.FRAMEWORK_PREACT_WEBPACK5="FRAMEWORK_PREACT-WEBPACK5",e.FRAMEWORK_REACT_VITE="FRAMEWORK_REACT-VITE",e.FRAMEWORK_REACT_WEBPACK5="FRAMEWORK_REACT-WEBPACK5",e.FRAMEWORK_SERVER_WEBPACK5="FRAMEWORK_SERVER-WEBPACK5",e.FRAMEWORK_SVELTE_VITE="FRAMEWORK_SVELTE-VITE",e.FRAMEWORK_SVELTE_WEBPACK5="FRAMEWORK_SVELTE-WEBPACK5",e.FRAMEWORK_SVELTEKIT="FRAMEWORK_SVELTEKIT",e.FRAMEWORK_VUE_VITE="FRAMEWORK_VUE-VITE",e.FRAMEWORK_VUE_WEBPACK5="FRAMEWORK_VUE-WEBPACK5",e.FRAMEWORK_VUE3_VITE="FRAMEWORK_VUE3-VITE",e.FRAMEWORK_VUE3_WEBPACK5="FRAMEWORK_VUE3-WEBPACK5",e.FRAMEWORK_WEB_COMPONENTS_VITE="FRAMEWORK_WEB-COMPONENTS-VITE",e.FRAMEWORK_WEB_COMPONENTS_WEBPACK5="FRAMEWORK_WEB-COMPONENTS-WEBPACK5",e.RENDERER_HTML="RENDERER_HTML",e.RENDERER_PREACT="RENDERER_PREACT",e.RENDERER_REACT="RENDERER_REACT",e.RENDERER_SERVER="RENDERER_SERVER",e.RENDERER_SVELTE="RENDERER_SVELTE",e.RENDERER_VUE="RENDERER_VUE",e.RENDERER_VUE3="RENDERER_VUE3",e.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",e))(kB||{});l();c();d();var qn=fe(Zo(),1);var J0=fe(K0(),1);var Q0=fe(Mo(),1);var zX=(0,X0.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{}));var WX=Symbol("incompatible");var GX=Symbol("Deeply equal");var aT=Kt`
CSF .story annotations deprecated; annotate story functions directly:
- StoryFn.story.name => StoryFn.storyName
- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
`,VX=(0,J0.default)(()=>{},aT);var xt=(...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((a,o)=>(Object.entries(o).forEach(([i,u])=>{let s=a[i];Array.isArray(u)||typeof s>"u"?a[i]=u:(0,qn.default)(u)&&(0,qn.default)(s)?t[i]=!0:typeof u<"u"&&(a[i]=u)}),a),{});return Object.keys(t).forEach(a=>{let o=r.filter(Boolean).map(i=>i[a]).filter(i=>typeof i<"u");o.every(i=>(0,qn.default)(i))?n[a]=xt(...o):n[a]=o[o.length-1]}),n};var ti=(e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n}}return e?r.has(e)?(Ve.warn(Kt`
We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
Consider using the mapping feature or fully custom args:
- Mapping: https://storybook.js.org/docs/react/writing-stories/args#mapping-to-complex-arg-values
- Custom args: https://storybook.js.org/docs/react/essentials/controls#fully-custom-args
`),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?ti(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:(0,Ir.default)(e,a=>ti(a,t,new Set(r)))}):{name:"object",value:{}}},oT=e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,a=(0,Ir.default)(n,(i,u)=>({name:u,type:ti(i,`${t}.${u}`,new Set)})),o=(0,Ir.default)(r,(i,u)=>({name:u}));return xt(a,o,r)};oT.secondPass=!0;var Y0=(e,t)=>Array.isArray(t)?t.includes(e):e.match(t),Nr=(e,t,r)=>!t&&!r?e:e&&(0,Q0.default)(e,(n,a)=>{let o=n.name||a;return(!t||Y0(o,t))&&(!r||!Y0(o,r))}),iT=(e,t,r)=>{let{type:n,options:a}=e;if(n){if(r.color&&r.color.test(t)){let o=n.name;if(o==="string")return{control:{type:"color"}};o!=="enum"&&Ve.warn(`Addon controls: Control of type color only supports string, received "${o}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:o}=n;return{control:{type:o?.length<=5?"radio":"select"},options:o}}case"function":case"symbol":return null;default:return{control:{type:a?"select":"object"}}}}},Z0=e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:a=null,matchers:o={}}={}}}=e;if(!r)return t;let i=Nr(t,n,a),u=(0,Ir.default)(i,(s,p)=>s?.type&&iT(s,p,o));return xt(u,i)};Z0.secondPass=!0;function ri(e){return async(t,r,n)=>{await e.reduceRight((a,o)=>async()=>o(t,a,n),async()=>r(n))()}}function kr(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}function Mn(e,t,r={}){return kr(e,t).reduce((n,a)=>r.reverseFileOrder?[...a,...n]:[...n,...a],[])}function Ln(e,t){return Object.assign({},...kr(e,t))}function jn(e,t){return kr(e,t).pop()}function ni(e){let t=Mn(e,"argTypesEnhancers"),r=kr(e,"runStep");return{parameters:xt(...kr(e,"parameters")),decorators:Mn(e,"decorators",{reverseFileOrder:!(ue.FEATURES?.legacyDecoratorFileOrder??!1)}),args:Ln(e,"args"),argsEnhancers:Mn(e,"argsEnhancers"),argTypes:Ln(e,"argTypes"),argTypesEnhancers:[...t.filter(n=>!n.secondPass),...t.filter(n=>n.secondPass)],globals:Ln(e,"globals"),globalTypes:Ln(e,"globalTypes"),loaders:Mn(e,"loaders"),render:jn(e,"render"),renderToCanvas:jn(e,"renderToCanvas"),renderToDOM:jn(e,"renderToDOM"),applyDecorators:jn(e,"applyDecorators"),runStep:ri(r)}}var KX=ni([]);var U_=fe(Nn(),1),H_=fe(wi(),1);l();c();d();var W_=fe(Nn(),1);var G_=fe(wi(),1),V_=fe(Zo(),1),pm=Ke({"../../node_modules/entities/lib/maps/entities.json"(e,t){t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u22
`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u01
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var W,X=!0,K=!1,Z;return{s:function(){W=R[Symbol.iterator]()},n:function(){var se=W.next();return X=se.done,se},e:function(se){K=!0,Z=se},f:function(){try{!X&&W.return!=null&&W.return()}finally{if(K)throw Z}}}}function i(R,_){if(R){if(typeof R=="string")return u(R,_);var q=Object.prototype.toString.call(R).slice(8,-1);if(q==="Object"&&R.constructor&&(q=R.constructor.name),q==="Map"||q==="Set")return Array.from(q);if(q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(q))return u(R,_)}}function u(R,_){(_==null||_>R.length)&&(_=R.length);for(var q=0,W=new Array(_);q<_;q++)W[q]=R[q];return W}var s=J_(),p={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:y()};function y(){var R={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return B(0,5).forEach(function(_){B(0,5).forEach(function(q){B(0,5).forEach(function(W){return b(_,q,W,R)})})}),B(0,23).forEach(function(_){var q=_+232,W=m(_*10+8);R[q]="#"+W+W+W}),R}function b(R,_,q,W){var X=16+R*36+_*6+q,K=R>0?R*40+55:0,Z=_>0?_*40+55:0,se=q>0?q*40+55:0;W[X]=g([K,Z,se])}function m(R){for(var _=R.toString(16);_.length<2;)_="0"+_;return _}function g(R){var _=[],q=o(R),W;try{for(q.s();!(W=q.n()).done;){var X=W.value;_.push(m(X))}}catch(K){q.e(K)}finally{q.f()}return"#"+_.join("")}function A(R,_,q,W){var X;return _==="text"?X=w(q,W):_==="display"?X=x(R,q,W):_==="xterm256"?X=U(R,W.colors[q]):_==="rgb"&&(X=E(R,q)),X}function E(R,_){_=_.substring(2).slice(0,-1);var q=+_.substr(0,2),W=_.substring(5).split(";"),X=W.map(function(K){return("0"+Number(K).toString(16)).substr(-2)}).join("");return N(R,(q===38?"color:#":"background-color:#")+X)}function x(R,_,q){_=parseInt(_,10);var W={"-1":function(){return"<br/>"},0:function(){return R.length&&F(R)},1:function(){return k(R,"b")},3:function(){return k(R,"i")},4:function(){return k(R,"u")},8:function(){return N(R,"display:none")},9:function(){return k(R,"strike")},22:function(){return N(R,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return H(R,"i")},24:function(){return H(R,"u")},39:function(){return U(R,q.fg)},49:function(){return V(R,q.bg)},53:function(){return N(R,"text-decoration:overline")}},X;return W[_]?X=W[_]():4<_&&_<7?X=k(R,"blink"):29<_&&_<38?X=U(R,q.colors[_-30]):39<_&&_<48?X=V(R,q.colors[_-40]):89<_&&_<98?X=U(R,q.colors[8+(_-90)]):99<_&&_<108&&(X=V(R,q.colors[8+(_-100)])),X}function F(R){var _=R.slice(0);return R.length=0,_.reverse().map(function(q){return"</"+q+">"}).join("")}function B(R,_){for(var q=[],W=R;W<=_;W++)q.push(W);return q}function I(R){return function(_){return(R===null||_.category!==R)&&R!=="all"}}function L(R){R=parseInt(R,10);var _=null;return R===0?_="all":R===1?_="bold":2<R&&R<5?_="underline":4<R&&R<7?_="blink":R===8?_="hide":R===9?_="strike":29<R&&R<38||R===39||89<R&&R<98?_="foreground-color":(39<R&&R<48||R===49||99<R&&R<108)&&(_="background-color"),_}function w(R,_){return _.escapeXML?s.encodeXML(R):R}function k(R,_,q){return q||(q=""),R.push(_),"<".concat(_).concat(q?' style="'.concat(q,'"'):"",">")}function N(R,_){return k(R,"span",_)}function U(R,_){return k(R,"span","color:"+_)}function V(R,_){return k(R,"span","background-color:"+_)}function H(R,_){var q;if(R.slice(-1)[0]===_&&(q=R.pop()),q)return"</"+_+">"}function ee(R,_,q){var W=!1,X=3;function K(){return""}function Z(ie,Ae){return q("xterm256",Ae),""}function se(ie){return _.newline?q("display",-1):q("text",ie),""}function ke(ie,Ae){W=!0,Ae.trim().length===0&&(Ae="0"),Ae=Ae.trimRight(";").split(";");var Xr=o(Ae),hu;try{for(Xr.s();!(hu=Xr.n()).done;){var $y=hu.value;q("display",$y)}}catch(Uy){Xr.e(Uy)}finally{Xr.f()}return""}function Ne(ie){return q("text",ie),""}function J(ie){return q("rgb",ie),""}var Ue=[{pattern:/^\x08+/,sub:K},{pattern:/^\x1b\[[012]?K/,sub:K},{pattern:/^\x1b\[\(B/,sub:K},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:J},{pattern:/^\x1b\[38;5;(\d+)m/,sub:Z},{pattern:/^\n/,sub:se},{pattern:/^\r+\n/,su
`&&t!=="`")&&(t=null),a&&(e[i]==="/"&&e[i-1]!=="\\"||e[i]===`
`)&&(a=!1),r&&e[i-1]==="/"&&e[i-2]==="*"&&(r=!1),n&&e[i]===`
`&&(n=!1)),!r&&!n&&(o+=e[i]);else o=e;return o},G6=(0,Um.default)(1e4)(e=>W6(e).replace(/\n\s*/g,"").trim()),V6=function(t,r){let n=r.slice(0,r.indexOf("{")),a=r.slice(r.indexOf("{"));if(n.includes("=>")||n.includes("function"))return r;let o=n;return o=o.replace(t,"function"),o+a},K6=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,Y6=e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/);function Hm(e){if(!ra(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=wm(t),r=!0),t=Object.keys(t).reduce((n,a)=>{try{t[a]&&t[a].toJSON,n[a]=t[a]}catch{r=!0}return n},{}),r?t:e}var X6=function(t){let r,n,a,o;return function(u,s){try{if(u==="")return o=[],r=new Map([[s,"[]"]]),n=new Map,a=[],s;let p=n.get(this)||this;for(;a.length&&p!==a[0];)a.shift(),o.pop();if(typeof s=="boolean")return s;if(s===void 0)return t.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===-1/0?"_-Infinity_":s===1/0?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return K6.test(s)?t.allowDate?`_date_${s}`:void 0:s;if((0,S8.default)(s))return t.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,w8.default)(s)){if(!t.allowFunction)return;let{name:b}=s,m=s.toString();return m.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${b}|${(()=>{}).toString()}`:`_function_${b}|${G6(V6(u,m))}`}if((0,B8.default)(s)){if(!t.allowSymbol)return;let b=Symbol.keyFor(s);return b!==void 0?`_gsymbol_${b}`:`_symbol_${s.toString().slice(7,-1)}`}if(a.length>=t.maxDepth)return Array.isArray(s)?`[Array(${s.length})]`:"[Object]";if(s===this)return`_duplicate_${JSON.stringify(o)}`;if(s instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&!t.allowClass)return;let y=r.get(s);if(!y){let b=Array.isArray(s)?s:Hm(s);if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&t.allowClass)try{Object.assign(b,{"_constructor-name_":s.constructor.name})}catch{}return o.push(u),a.unshift(b),r.set(s,JSON.stringify(o)),s!==b&&n.set(s,b),b}return`_duplicate_${y}`}catch{return}}},J6=function reviver(options){let refs=[],root;return function revive(key,value){if(key===""&&(root=value,refs.forEach(({target:e,container:t,replacement:r})=>{let n=Y6(r)?JSON.parse(r):r.split(".");n.length===0?t[e]=root:t[e]=z6(root,n)})),key==="_constructor-name_")return value;if(ra(value)&&value.__isConvertedError__){let{message:e,...t}=value.errorProperties,r=new Error(e);return Object.assign(r,t),r}if(ra(value)&&value["_constructor-name_"]&&options.allowFunction){let e=value["_constructor-name_"];if(e!=="Object"){let t=new Function(`return function ${e.replace(/[^a-zA-Z0-9$_]+/g,"")}(){}`)();Object.setPrototypeOf(value,new t)}return delete value["_constructor-name_"],value}if(typeof value=="string"&&value.startsWith("_function_")&&options.allowFunction){let[,name,source]=value.match(/_function_([^|]*)\|(.*)/)||[],sourceSanitized=source.replace(/[(\(\))|\\| |\]|`]*$/,"");if(!options.lazyEval)return eval(`(${sourceSanitized})`);let result=(...args)=>{let f=eval(`(${sourceSanitized})`);return f(...args)};return Object.defineProperty(result,"toString",{value:()=>sourceSanitized}),Object.defineProperty(result,"name",{value:name}),result}if(typeof value=="string"&&value.startsWith("_regexp_")&&options.allowRegExp){let[,e,t]=value.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(t,e)}return typeof value=="string"&&value.startsWith("_date_")&&options.allowDate?new Date(value.replace("_date_","")):typeof value=="string"&&value.startsWith("_duplicate_")?(refs.push({target:key,container:this,replacement:value.replace(/^_duplicate_/,"")}),null):typeof value=="string"&&value.startsWith("_symbol_")&&options.allowSymbol?Symbol(value.replace("_symbol_","")):typeof value=="string"&&value.startsWith("_gsymb
${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%,
${ze(.02,e.input.background)} ${(n-t)/(r-t)*100}%,
${ze(.02,e.input.background)} 100%)`:`linear-gradient(to right,
${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%,
${st(.02,e.input.background)} ${(n-t)/(r-t)*100}%,
${st(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${He(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${He(e.appBorderColor,.2)}`,cursor:"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${ze(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:He(e.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:e.color.secondary,boxShadow:`0 0px 5px 0px ${e.color.secondary}`}},"&::-moz-range-track":{background:e.base==="light"?`linear-gradient(to right,
${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%,
${ze(.02,e.input.background)} ${(n-t)/(r-t)*100}%,
${ze(.02,e.input.background)} 100%)`:`linear-gradient(to right,
${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%,
${st(.02,e.input.background)} ${(n-t)/(r-t)*100}%,
${st(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${He(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${He(e.appBorderColor,.2)}`,cursor:"grab",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${ze(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:e.base==="light"?`linear-gradient(to right,
${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%,
${ze(.02,e.input.background)} ${(n-t)/(r-t)*100}%,
${ze(.02,e.input.background)} 100%)`:`linear-gradient(to right,
${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%,
${st(.02,e.input.background)} ${(n-t)/(r-t)*100}%,
${st(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${He(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),Ry=j.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),$9=j(Ry)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),U9=j.div({display:"flex",alignItems:"center",width:"100%"});function H9(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var z9=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:u})=>{let s=b=>{r(n9(b.target.value))},p=t!==void 0,y=ot(()=>H9(o),[o]);return h.createElement(U9,null,h.createElement(Ry,null,n),h.createElement(q9,{id:Pe(e),type:"range",onChange:s,name:e,value:t,min:n,max:a,step:o,onFocus:u,onBlur:i}),h.createElement($9,{numberOFDecimalsPlaces:y,max:a},p?t.toFixed(y):"--"," / ",a))},W9=j.label({display:"flex"}),G9=j.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),V9=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o})=>{let i=b=>{r(b.target.value)},[u,s]=ne(!1),p=ge(()=>{r(""),s(!0)},[s]);if(t===void 0)return h.createElement(Re.Button,{id:hr(e),onClick:p},"Set string");let y=typeof t=="string";return h.createElement(W9,null,h.createElement(Re.Textarea,{id:Pe(e),maxLength:o,onChange:i,size:"flex",placeholder:"Edit string...",autoFocus:u,valid:y?null:"error",name:e,value:y?t:"",onFocus:n,onBlur:a}),o&&h.createElement(G9,{isMaxed:t?.length===o},t?.length??0," / ",o))},K9=j(Re.Input)({padding:10});function Y9(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var X9=({onChange:e,name:t,accept:r="image/*",value:n})=>{let a=Fe(null);function o(i){if(!i.target.files)return;let u=Array.from(i.target.files).map(s=>URL.createObjectURL(s));e(u),Y9(n)}return he(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),h.createElement(K9,{ref:a,id:Pe(t),type:"file",name:t,multiple:!0,onChange:o,accept:r,size:"flex"})},J9=Eu(()=>Promise.resolve().then(()=>(Jg(),Xg))),Q9=e=>h.createElement(yu,{fallback:h.createElement("div",null)},h.createElement(J9,{...e})),Z9={array:uy,object:uy,boolean:Y4,color:Q9,date:t9,number:a9,check:cr,"inline-check":cr,radio:cr,"inline-radio":cr,select:cr,"multi-select":cr,range:z9,text:V9,file:X9},sy=()=>h.createElement(h.Fragment,null,"-"),eP=({row:e,arg:t,updateArgs:r,isHovered:n})=>{let{key:a,control:o}=e,[i,u]=ne(!1),[s,p]=ne({value:t});he(()=>{i||p({value:t})},[i,t]);let y=ge(E=>(p({value:E}),r({[a]:E}),E),[r,a]),b=ge(()=>u(!1),[]),m=ge(()=>u(!0),[]);if(!o||o.disable)return n?h.createElement(Et,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):h.createElement(sy,null);let g={name:a,argType:e,value:s.value,onChange:y,onBlur:b,onFocus:m},A=Z9[o.type]||sy;return h.createElement(A,{...g,...o,controlType:o.type})},tP=j.span({fontWeight:"bold"}),rP=j.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),nP=j.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Rt({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),aP=j.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?de(.1,e.color.defaultText):de(.2,e.color.defaultText),marginTop:t?4:0})),oP=j.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?de(.1,e.color.defaultText):de(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),iP=j.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),pa=e=>{let[t,r]=ne(!1),{row:n
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#argstable-block
`);let t=qe(Qe),r,n,a;try{({parameters:r,component:n,subcomponents:a}=t.storyById())}catch{let{of:g}=e;if("of"in e&&g===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");({projectAnnotations:{parameters:r}}=t.resolveOf(g,["component"]))}let{include:o,exclude:i,components:u,sort:s}=e,{story:p}=e,y=s||r.controls?.sort,b=RP(e,n);if(p)return h.createElement(PP,{...e,component:b,subcomponents:a,sort:y});if(!u&&!a){let g;try{g={rows:Ny(b,r,o,i)}}catch(A){g={error:A.message}}return h.createElement(_t,{...g,sort:y})}if(u)return h.createElement(dy,{...e,components:u,sort:y,parameters:r});let m=Iy(b);return h.createElement(dy,{...e,components:{[m]:b,...a},sort:y,parameters:r})};IP.defaultProps={of:cu};function kP(e){return Wm(e)}var NP=pr({sources:{}}),MP="--unknown--";var LP=(e=>(e.OPEN="open",e.CLOSED="closed",e.NONE="none",e))(LP||{}),jP=e=>{let t=e.map(r=>r.parameters.docs?.source?.state).filter(Boolean);return t.length===0?"closed":t[0]},qP=(e,t,r)=>{let{sources:n}=r,a=n?.[e];return a?.[kP(t)]||a?.[MP]||{code:""}},$P=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{let{__isArgsStory:a}=t.parameters,o=t.parameters.docs?.source||{},i=r||o.type||zr.AUTO;if(o.code!==void 0)return o.code;let u=i===zr.DYNAMIC||i===zr.AUTO&&e&&a?e:o.originalSource||"";return o.transformSource&&ye(ve`The \`transformSource\` parameter at \`parameters.docs.source.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block
`),t.parameters.docs?.transformSource&&ye(ve`The \`transformSource\` parameter at \`parameters.docs.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block
`),t.parameters.jsx?.transformSource&&ye(ve`The \`transformSource\` parameter at \`parameters.jsx.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block
`),(n??o.transform??o.transformSource??t.parameters.docs?.transformSource??t.parameters.jsx?.transformSource)?.(u,t)||u},My=(e,t,r)=>{let n=e.ids||(e.id?[e.id]:[]),a=du(n,t),o=a,{of:i}=e;if("of"in e&&i===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(i)o=[t.resolveOf(i,["story"]).story];else if(o.length===0)try{o=[t.storyById()]}catch{}if(!a.every(Boolean))return{error:"Oh no! The source is not available.",state:"none"};let u=o[0]?.parameters?.docs?.source||{},{code:s}=e,p=e.format??u.format,y=e.language??u.language??"jsx",b=e.dark??u.dark??!1;s||(s=o.map((g,A)=>{if(!g)return"";let E=t.getStoryContext(g),x=e.__forceInitialArgs?E.initialArgs:E.unmappedArgs,F=qP(g.id,x,r);return A===0&&(p=F.format??g.parameters.docs?.source?.format??!1),$P({snippet:F.code,storyContext:{...E,args:x},typeFromProps:e.type,transformFromProps:e.transform})}).join(`
`));let m=jP(o);return s?{code:s,format:p,language:y,dark:b,state:m}:{error:"Oh no! The source is not available.",state:m}};var Ly=(e,t)=>{let{id:r,of:n,meta:a,story:o}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(r)return ye(ve`Referencing stories by \`id\` is deprecated, please use \`of\` instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),r;let{name:i}=e;return i?(ye(ve`Referencing stories by \`name\` is deprecated, please use \`of\` instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),t.storyIdByName(i)):(o&&ye(ve`The \`story\` prop is deprecated, please export your stories from CSF files and reference them with \`of={}\`.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),a&&t.referenceMeta(a,!1),t.resolveOf(n||o||"story",["story"]).story.id)},UP=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,o=a.story||{};if(a.disable)return null;let{inlineStories:i,iframeHeight:u}=a;typeof i<"u"&&ye(ve`The \`docs.inlineStories\` parameter is deprecated, use \`docs.story.inline\` instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs-changes'
`);let s=e.inline??o.inline??i??!1;if(typeof u<"u"&&ye(ve`The \`docs.iframeHeight\` parameter is deprecated, use \`docs.story.iframeHeight\` instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs-changes'
`),s){let y=e.height??o.height,b=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:y,autoplay:b,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let p=e.height??o.height??o.iframeHeight??u??"100px";return{story:t,inline:!1,height:p,primary:!!e.__primary}},HP=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=qe(Qe),r=Ly(e,t),n=ky(r,t);if(!n)return h.createElement(iu,null);let a=UP(e,n,t);return a?h.createElement(w4,{...a}):null},zP=({withSource:e,mdxSource:t,children:r,layout:n,...a},o,i)=>{let u=Jr.toArray(r).filter(m=>m.props&&(m.props.id||m.props.name||m.props.of)).map(m=>Ly(m.props,o)),s=du(u,o),p=s.some(m=>!m),y=My({...t?{code:decodeURI(t)}:{ids:u},...a.of&&{of:a.of}},o,i);if(e==="none")return{isLoading:p,previewProps:a};let b=n;return Jr.forEach(r,m=>{b||(b=m?.props?.parameters?.layout)}),s.forEach(m=>{b||!m||(b=m?.parameters.layout??m.parameters.docs?.canvas?.layout)}),{isLoading:p,previewProps:{...a,layout:b??"padded",withSource:y,isExpanded:(e||y.state)==="open"}}},WP=e=>{let t=qe(Qe),r=qe(NP),{children:n,of:a,source:o}=e;if("of"in e&&a===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{isLoading:i,previewProps:u}=zP(e,t,r),s,p,y;try{({story:s}=lu(a||"story",["story"]))}catch(x){n||(y=x)}try{p=My({...o,...a&&{of:a}},t,r)}catch(x){n||(y=x)}if(y)throw y;if(e.withSource&&ye(ve`Setting source state with \`withSource\` is deprecated, please use \`sourceState\` with 'hidden', 'shown' or 'none' instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block
`),e.mdxSource&&ye(ve`Setting source code with \`mdxSource\` is deprecated, please use source={{code: '...'}} instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block
`),(e.isColumn!==void 0||e.columns!==void 0)&&ye(ve`\`isColumn\` and \`columns\` props are deprecated as the Canvas block now only supports showing a single story.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block
`),n)return ye(ve`Passing children to Canvas is deprecated, please use the \`of\` prop instead to reference a story.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block
`),i?h.createElement(k4,null):h.createElement(Qi,{...u},n);let b=e.layout??s.parameters.layout??s.parameters.docs?.canvas?.layout??"padded",m=e.withToolbar??s.parameters.docs?.canvas?.withToolbar??!1,g=e.additionalActions??s.parameters.docs?.canvas?.additionalActions,A=e.sourceState??s.parameters.docs?.canvas?.sourceState??"hidden",E=e.className??s.parameters.docs?.canvas?.className;return h.createElement(Qi,{withSource:A==="none"?void 0:p,isExpanded:A==="shown",withToolbar:m,additionalActions:g,className:E,layout:b},h.createElement(HP,{of:a||s.moduleExport,meta:e.meta,...e.story}))};var{document:jy}=ue;var GP=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return h.createElement(Sa,null,t);let n=e&&e.split("-");return h.createElement(au,{language:n&&n[1]||"plaintext",format:!1,code:t,...r})};function pu(e,t){e.channel.emit(Xf,t)}var nu=ja.a,VP=({hash:e,children:t})=>{let r=qe(Qe);return h.createElement(nu,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);jy.getElementById(a)&&pu(r,e)}},t)},KP=e=>{let{href:t,target:r,children:n,...a}=e,o=qe(Qe);if(t){if(t.startsWith("#"))return h.createElement(VP,{hash:t},n);if(r!=="_blank"&&!t.startsWith("https://"))return h.createElement(nu,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),pu(o,i.currentTarget.getAttribute("href")))},target:r,...a},n)}return h.createElement(nu,{...e})},qy=["h1","h2","h3","h4","h5","h6"],YP=qy.reduce((e,t)=>({...e,[t]:j(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),XP=j.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),JP=({as:e,id:t,children:r,...n})=>{let a=qe(Qe),o=YP[e],i=`#${t}`;return h.createElement(o,{id:t,...n},h.createElement(XP,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:u=>{jy.getElementById(t)&&pu(a,i)}},h.createElement(Oe,{icon:"link"})),r)},fu=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return h.createElement(JP,{as:t,id:r,...a},n);let o=t,{as:i,...u}=e;return h.createElement(o,{...$a(u,t)})},QP=qy.reduce((e,t)=>({...e,[t]:r=>h.createElement(fu,{as:t,...r})}),{}),ZP=e=>{if(!e.children)return null;if(typeof e.children!="string")throw new Error(ve`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}'
This is often caused by not wrapping the child in a template string.
This is invalid:
<Markdown>
# Some heading
A paragraph
</Markdown>
Instead do:
<Markdown>
{\`
# Some heading
A paragraph
\`}
</Markdown>
`);return h.createElement(Vo,{...e,options:{forceBlock:!0,overrides:{code:GP,a:KP,...QP,...e?.options?.overrides},...e?.options}})},eI=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(eI||{}),ha="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#description-block-parametersnotes-and-parametersinfo",tI=e=>e&&(typeof e=="string"?e:ea(e.markdown)||ea(e.text)),rI=e=>e&&(typeof e=="string"?e:ea(e.text)),nI=e=>null,aI=e=>{switch(e.type){case"story":return e.story.parameters.docs?.description?.story||null;case"meta":{let{parameters:t,component:r}=e.preparedMeta;return t.docs?.description?.component||t.docs?.extractComponentDescription?.(r,{component:r,parameters:t})||null}case"component":{let{component:t,projectAnnotations:{parameters:r}}=e;return r.docs?.extractComponentDescription?.(t,{component:t,parameters:r})||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},oI=({type:e,markdown:t,children:r},{storyById:n})=>{let{component:a,parameters:o}=n();if(r||t)return r||t;let{notes:i,info:u,docs:s}=o;(i||u)&&ye(`Using 'parameters.notes' or 'parameters.info' properties to describe stories is deprecated. See ${ha}`);let{extractComponentDescription:p=nI,description:y}=s||{},b=y?.component;if(b)return b;switch(e){case"info":return rI(u);case"notes":return tI(i);case"docgen":case"auto":default:return p(a,{component:a,...o})}},iI=e=>{let{of:t,type:r,markdown:n,children:a}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let o=qe(Qe),i=lu(t||"meta"),u;return r||n||a?u=oI(e,o):u=aI(i),r&&ye(`Manually specifying description type is deprecated. See ${ha}`),n&&ye(`The 'markdown' prop on the Description block is deprecated. See ${ha}`),a&&ye(`The 'children' prop on the Description block is deprecated. See ${ha}`),u?h.createElement(ZP,null,u):null},Zre=j.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),ene=j.div(({theme:e})=>({position:"fixed",top:0,width:"10rem",paddingTop:"4rem",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}})),tne=j.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10}));var{document:rne,window:nne}=ue;var uI=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return h.createElement(_a,null,e);let r=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return h.createElement(fu,{as:"h3",id:r},e)},sI=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:a=!1})=>{let{story:o}=lu(e||"story",["story"]),i=o.parameters.docs?.canvas?.withToolbar??r;return h.createElement(BP,{storyId:o.id},t&&h.createElement(h.Fragment,null,h.createElement(uI,null,o.name),h.createElement(iI,{of:e})),h.createElement(WP,{of:e,withToolbar:i,story:{__forceInitialArgs:n,__primary:a},source:{__forceInitialArgs:n}}))};var lI=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return h.createElement(Ta,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return h.createElement(fu,{as:"h2",id:n,...r},e)},cI=j(lI)(({theme:e})=>({fontSize:`$
}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); }